Skip to content

Eject to terminal (and back): resume a thread in the raw CLI inside its worktree #554

Closed

Description

@currentbits

What the leaders ship

Anthropic — teleport, both directions.

  • Web → local: from a cloud session, /teleport prints "the exact claude --teleport command for that session, ready to run from a checkout of the repository" (docs).
  • Local → elsewhere: the Continue in menu pushes your branch, generates a conversation summary, and creates a cloud session with the full context — or just opens the project in your IDE at the current working directory (docs).

OpenAI — imports from Claude Code, Claude Cowork and Cursor, kept in sync (Aug 11 desktop release).

Why Solenta needs the escape hatch specifically

Solenta is a wrapper. Its most dangerous failure mode is a thread the wrapper cannot finish — a permission mode that silently downgrades (#177), an MCP elicitation it auto-errors (#173), a provider feature not plumbed (#174). Today the only way out is to abandon the thread and start over in a terminal, losing the session.

Solenta already stores the provider session id per thread and owns the worktree. That makes the escape hatch nearly free, and it is a local-first feature the cloud products can only approximate: no branch push, no summary round-trip, no server — just cd and --resume.

Scope suggestion

  1. Eject: a thread menu item that copies (and optionally runs in $TERMINAL) the exact command to continue this thread in the raw CLI — cd <worktree> && claude --resume <sessionId>, codex resume <id>, etc. Per-provider command template alongside the existing spawn args; providers without resume get cd <worktree> plus a note.
  2. Mark the thread ejected so the UI stops claiming ownership of a session someone else is driving, and Solenta does not fight over the session file.
  3. Re-absorb: on return, re-read the provider's session transcript and append the turns that happened outside — the same reader Import existing CLI agent sessions as Solenta threads, with dedup sync #433 needs for import, pointed at one known session instead of a directory scan.

Ship 1 alone if 3 is too much; the copyable command is most of the value.

Related

#433 (import CLI sessions — shares the transcript reader), #237 (provider handoff), #492 (open paths in the worktree), #177/#173/#174 (the fidelity gaps that make ejecting necessary), #245 (SSH/remote).

Sources: Claude Code on the web, Claude Code desktop docs, Codex updates Aug 2026

Activity

  1. added
    enhancement
    plan:todo
    on Aug 19, 2026
  2. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Sep 6, 2026
  3. currentbits commented on Sep 6, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "Fork: Fork: Do not auto-continue a Codex lead while another ". Closed on merge.

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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions