Repository navigation
Description
What happened
After #27184 replaced the pane header's "Show chat view" with "Resume in New Native Chat", a macOS desktop client connected to a remote orca serve shows no chat button on Claude terminal panes, even though Claude is running in the active pane and agent status reports agentType: claude with a provider session. Combined with the removal of the old view switch, a desktop client on a remote server now has no way to bring an existing terminal conversation into Chat UI.
Setup
- Server:
orca serve1.4.227 (official.deb, Ubuntu 24.04 x64), run under systemd, paired over Tailscale - Client: Orca desktop on macOS, connected to that server as a runtime environment
- Agent: Claude Code, launched in a terminal tab inside a worktree hosted on the server
Repro
- Pair a macOS desktop with a headless
orca serveon another machine. - Open a worktree on that server and start Claude in a terminal tab.
- Focus the pane while Claude is running → no "Resume in New Native Chat" button in the pane header.
Cause (from source at 7005af3)
canPaneOfferResumeInNewChat gates the button on canHostOfferTabSessionMove('cli', hostScope):
orca/src/renderer/src/components/tab-bar/tab-session-history-switch.ts
Lines 82 to 106 in 7005af3
| export function canPaneOfferResumeInNewChat( | |
| state: AppState, | |
| pane: { worktreeId: string; paneKey: string } | |
| ): boolean { | |
| const conversation = resolvePaneAgentConversation(state, pane, adoptsCliConversations) | |
| if (!conversation) { | |
| return false | |
| } | |
| const hostScope = resolveAiVaultHostScopeDefaults( | |
| getAiVaultResumeWorkspaceExecutionHostId(state, conversation.worktreeId), | |
| conversation.worktreeId | |
| ).defaultExecutionHostScope | |
| // The row gate's launch-route half, so a project the chat route refuses (WSL, repair) hides it. | |
| return ( | |
| canHostOfferTabSessionMove('cli', hostScope) && | |
| structuredAgentSessionLaunchFeasible(state, { | |
| agent: CLI_CONVERSATION_ADOPTING_AGENTS[conversation.agent], | |
| workspace: { | |
| kind: workspaceKindForWorktreeId(conversation.worktreeId), | |
| worktreeId: conversation.worktreeId | |
| }, | |
| settings: state.settings | |
| }) | |
| ) | |
| } |
if (hostScope === LOCAL_EXECUTION_HOST_ID) return true
// Resume-in-chat refuses any row not recorded on this machine. ...
return kind === 'chat' && parseExecutionHostId(hostScope)?.kind === 'runtime'| function canHostOfferTabSessionMove( | |
| kind: TabSessionHistorySubject['kind'], | |
| hostScope: ExecutionHostScope | |
| ): boolean { | |
| if (hostScope === LOCAL_EXECUTION_HOST_ID) { | |
| return true | |
| } | |
| // Resume-in-chat refuses any row not recorded on this machine. A chat's row is owned only where an | |
| // Orca host projects chat ownership: this machine or a runtime server, never an SSH relay. | |
| return kind === 'chat' && parseExecutionHostId(hostScope)?.kind === 'runtime' | |
| } |
For a worktree on a runtime server, the host resolves to runtime:<env> (getAiVaultResumeWorkspaceExecutionHostId → resolveAiVaultHostScopeDefaults), so the 'cli' case always returns false. That makes the remote-runtime case unreachable by design, not by a transient state.
Expected
Either offer terminal → native chat on runtime servers (the server already advertises agent-session.structured.* and owns the transcript), or keep a working terminal/chat switch for remote runtimes until that exists.
Possibly the same underlying report as #29256 (remote server, desktop can't switch; mobile can).
Activity
AmethystLiang commentedon Oct 18, 2026
looking into it
Ceasy commentedon Oct 19, 2026
Same here on orca serve 1.4.230 (deb, Ubuntu, systemd) with a desktop client 1.4.230.
It is not only the pane header: Agent Session History rows for sessions on the runtime
server never offer "Resume in New Native Chat" either.
resolveAiVaultSessionResumeInChatEligibilityreturns
'remote'for anyexecutionHostId !== 'local'(
src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat.ts).So with all agents on a paired server there is no way to continue an existing
conversation in Chat UI: no header button, no history action, no /resume in chat.
nwparker commentedon Oct 26, 2026
Thanks for the request, @zhibisora. Shipped in #33954, building on a community contribution in #33590: you can now continue a CLI conversation running on a paired Orca server in the Chat UI, from the terminal pane header, the tab menu, or Agent Session History. If the server is too old to support it, the button stays visible but disabled, with a note to update Orca on that server.