Skip to content

product: session deep-links — make session/workspace selection URL-addressable #41

Description

@anantheparty

Proposal (from a zero-context external scan)

Make session/workspace selection addressable in the URL (?s=<sessionId> via history.replaceState, plus restore-on-load).

Why

  • The product's core pitch is supervising parallel background turns, but selection lives only in sessionStorage (apps/web/src/app/App.tsx:143-182) — two windows cannot watch two sessions, a watched session cannot be bookmarked, and closing the tab loses the place entirely (README L73-80 acknowledges this).
  • Multi-window/multi-agent supervision is the direction the ecosystem is converging on (OpenAI Codex app, Cursor 2.0 multi-agent views).
  • AGENTS.md already scopes browser state to "drafts, focus, selection, expansion, and connection preferences" — the URL is the natural navigation-reference layer for selection, without moving any server-owned state.

Scope sketch

  • App.tsx:805 (activeSessionKey) as the source; history.replaceState on selection change, parse-on-boot to restore.
  • Encoding only (session id), no tokens/origin in the URL — connection credentials stay tab-scoped per the existing security posture.
  • Deliberately replaceState (no history spam); bookmarking one session is the goal.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions