Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 4
🧹 Nitpick comments: 1
src/renderer/src/components/native-chat/use-native-chat-session-children.ts: 1
84-89:Trivial · Performance & Scalability Consider bounding the 3-second
orchestration.sessionChildrenpoll.
NativeChatStructuredSessionmountsNativeChatSessionChildrenfor every visible structured chat. Each instance polls every 3 seconds until it unmounts. Polling continues when the session has no workers and when every worker has settled.
NativeChatChildTranscriptFramepassesisVisibleand notisVisible && activeto its nestedNativeChatSessionChildren. As a result, hidden ancestor frames in the child stack also keep polling. TheirWorkerTranscriptinstances also keep polling for the same parent while a child is open.For remote environment targets, each poll is a network round trip. Many open chats multiply this cost.
Options:
- Slow down or stop polling when the last snapshot is empty or has no
working/startingchildren. Resume polling on host contact or a session feed event.- Gate the frame-level
NativeChatSessionChildrenonisVisible && active. KeepWorkerTranscriptenabled, because disabling it would unmount the retainedJournalTranscript.

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
793ef4e9-a3e4-4920-8fce-890de134f35a
Files ignored due to path filters: 1-
src/shared/rpc-contract/rpc-params-catalog.generated.tsis excluded by!**/*.generated.*
Files selected for processing: 103-
src/main/ai-vault/runtime-session-scanner.tssrc/main/ai-vault/session-list-result-validation.tssrc/main/ai-vault/structured-conversation-navigation.test.tssrc/main/ai-vault/structured-conversation-navigation.tssrc/main/ai-vault/structured-session-ownership.tssrc/main/ipc/ai-vault-runtime-scan.tssrc/main/ipc/ai-vault.test.tssrc/main/ipc/ai-vault.tssrc/main/ipc/register-core-handlers/register-core-handlers.tssrc/main/native-chat/agent-session-wire/structured-agent-session-background-task-channel.test.tssrc/main/native-chat/agent-session-wire/structured-agent-session-background-task-channel.tssrc/main/persistence/applying-settings/persistence-settings-ui-defaults.test.tssrc/main/persistence/applying-settings/persistence-settings-update.test.tssrc/main/persistence/applying-settings/persistence-source-control-ai-migration.test.tssrc/main/runtime/orchestration/orchestration-party.tssrc/main/runtime/orchestration/structured-session-child-metadata.test.tssrc/main/runtime/orchestration/structured-session-child-metadata.tssrc/main/runtime/orchestration/structured-session-child-workers.test.tssrc/main/runtime/orchestration/structured-session-child-workers.tssrc/main/runtime/rpc/methods/ai-vault.tssrc/main/runtime/rpc/methods/orchestration.tssrc/main/runtime/rpc/methods/orchestration/session-children.test.tssrc/main/runtime/rpc/methods/orchestration/session-children.tssrc/main/runtime/rpc/orchestration-session-caller.test.tssrc/renderer/src/components/native-chat/NativeChatBackgroundTasksStatus.tsxsrc/renderer/src/components/native-chat/NativeChatChildMetadata.tsxsrc/renderer/src/components/native-chat/NativeChatChildTranscript.tsxsrc/renderer/src/components/native-chat/NativeChatChildTranscriptFrame.tsxsrc/renderer/src/components/native-chat/NativeChatMessageList.tsxsrc/renderer/src/components/native-chat/NativeChatResolvedView.tsxsrc/renderer/src/components/native-chat/NativeChatSessionChildren.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredChildTranscript.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredPromptSlot.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredSession.children.test.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredSession.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredTranscript.tsxsrc/renderer/src/components/native-chat/NativeChatSubagentRun.test.tsxsrc/renderer/src/components/native-chat/NativeChatSubagentRun.tsxsrc/renderer/src/components/native-chat/NativeChatSubagentSectionHead.tsxsrc/renderer/src/components/native-chat/native-chat-child-agent-id.tssrc/renderer/src/components/native-chat/native-chat-child-navigation.test.tsxsrc/renderer/src/components/native-chat/native-chat-child-navigation.tssrc/renderer/src/components/native-chat/native-chat-child-transcript.test.tssrc/renderer/src/components/native-chat/native-chat-child-transcript.tssrc/renderer/src/components/native-chat/native-chat-context-menu-target.tssrc/renderer/src/components/native-chat/native-chat-paste-routing.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-context-menu.targets.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-paste-bridge.tssrc/renderer/src/components/native-chat/use-native-chat-session-children.tssrc/renderer/src/components/native-chat/use-native-chat-terminal-transcript.tssrc/renderer/src/components/right-sidebar/AiVaultPanel.tsxsrc/renderer/src/components/right-sidebar/AiVaultPanelHeader.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionRow.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionUnsavedNotice.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionVirtualList.keyboard.test.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionVirtualList.tsxsrc/renderer/src/components/right-sidebar/AiVaultVirtualRow.test.tsxsrc/renderer/src/components/right-sidebar/AiVaultVirtualRow.tsxsrc/renderer/src/components/right-sidebar/ai-vault-agent-session-refresh-key.tssrc/renderer/src/components/right-sidebar/ai-vault-conversation-refresh.test.tsxsrc/renderer/src/components/right-sidebar/ai-vault-conversation-refresh.tssrc/renderer/src/components/right-sidebar/ai-vault-panel-handle.tssrc/renderer/src/components/right-sidebar/ai-vault-session-filters.tssrc/renderer/src/components/right-sidebar/ai-vault-session-list-request.tssrc/renderer/src/components/right-sidebar/ai-vault-session-projects.test.tssrc/renderer/src/components/right-sidebar/ai-vault-session-projects.tssrc/renderer/src/components/right-sidebar/ai-vault-session-refresh.tssrc/renderer/src/components/right-sidebar/ai-vault-session-result-cache.tssrc/renderer/src/components/right-sidebar/ai-vault-session-worktree.test.tssrc/renderer/src/components/right-sidebar/ai-vault-session-worktree.tssrc/renderer/src/components/right-sidebar/ai-vault-structured-session-project.tssrc/renderer/src/components/sidebar/SidebarConversationStart.tsxsrc/renderer/src/components/sidebar/SidebarHeader.test.tsxsrc/renderer/src/components/sidebar/SidebarHeader.tsxsrc/renderer/src/components/sidebar/index.tsxsrc/renderer/src/components/sidebar/project-added-default-checkout.test.tssrc/renderer/src/components/sidebar/project-added-default-checkout.tssrc/renderer/src/components/sidebar/sidebar-header-actions.tsxsrc/renderer/src/components/sidebar/useCreateRepo.default-checkout.test.tssrc/renderer/src/components/sidebar/useCreateRepo.tssrc/renderer/src/components/tab-bar/tab-bar-surface.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/activate-ai-vault-structured-session.test.tssrc/renderer/src/lib/activate-ai-vault-structured-session.tssrc/renderer/src/lib/onboarding-folder-agent-launch.tssrc/renderer/src/store/slices/repos-onboarding-folder-startup.test.tssrc/renderer/src/store/slices/ui-hydration-view-layout.test.tssrc/renderer/src/store/slices/ui/ui-slice-contract-preferences.tssrc/renderer/src/store/slices/ui/ui-slice-hydration-actions.tssrc/renderer/src/store/slices/ui/ui-slice-preference-actions.tssrc/renderer/src/store/slices/ui/ui-slice-surface-actions.tssrc/renderer/src/web/preload-api/web-ai-vault-api.tssrc/shared/agent-child-work-listing.tssrc/shared/ai-vault-session-filters.tssrc/shared/ai-vault-types.tssrc/shared/constants.tssrc/shared/default-global-settings.tssrc/shared/orchestration-runtime-capabilities.tssrc/shared/orchestration-session-children.tssrc/shared/rpc-contract/ai-vault-params.tssrc/shared/rpc-contract/orchestration-params.tssrc/shared/structured-session-background-tasks-view.test.tssrc/shared/structured-session-background-tasks-view.ts
Files with no reviewable changes: 1-
- src/main/runtime/rpc/orchestration-session-caller.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
49c109a6-b0ef-4193-a909-d3bd1dad9044
Files selected for processing: 8-
src/main/ai-vault/structured-conversation-navigation.test.tssrc/main/ai-vault/structured-conversation-navigation.tssrc/main/ai-vault/structured-session-ownership.test-support.tssrc/main/ai-vault/structured-session-ownership.test.tssrc/main/ai-vault/structured-session-ownership.tssrc/renderer/src/components/sidebar/SidebarHeader.test.tsxsrc/renderer/src/components/sidebar/SidebarHeader.tsxsrc/renderer/src/components/tab-bar/tab-bar-surface.tsx
Files skipped from review as they are similar to previous changes: 4-
- src/renderer/src/components/sidebar/SidebarHeader.test.tsx
- src/renderer/src/components/tab-bar/tab-bar-surface.tsx
- src/main/ai-vault/structured-conversation-navigation.test.ts
- src/renderer/src/components/sidebar/SidebarHeader.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-
|
Response to the optional polling note in review 5641364725: addressed the hidden-ancestor part in 0f6c95c. The nested The visible-view fallback remains a 3-second, single-in-flight, capability-gated snapshot read against the selected execution host. Local validation with |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Gate the parent roster on child selection. · NativeChatStructuredSession.tsx:295-299
src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx:295-299
🚀 Performance & Scalability | 🟡 Minor | ⚡ Quick winGate the parent roster on child selection.
When
childNavigator.child !== null, the parent content is hidden, butNativeChatSessionChildrenremains enabled because it receives onlyprops.isVisible. It can continue callingorchestration.sessionChildrenevery three seconds. Each call runs the dispatch query and per-row lookups instructuredSessionChildWorkers, wasting RPC and database resources while the parent is unavailable.Suggested fix
sessionId={props.sessionId} target={props.target} - isVisible={props.isVisible} + isVisible={props.isVisible && childNavigator.child === null}

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2270c110-155f-4d1c-b17b-586968a4e79f
Files selected for processing: 1-
src/renderer/src/components/right-sidebar/AiVaultPanel.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
-
|
Addressed the outside-diff parent-roster polling note from review 5642158141 in c26c4da. The parent roster now pauses while its child transcript is selected and refreshes when returning to the parent. The visible worker's identity lookup remains active. Validation: all 21 existing child-navigation tests pass, including the extended fake-timer case for pausing the parent roster and refreshing on Back. This follow-up changes polling ownership only; the rendered layout is unchanged. |
Apply the exact authorized PR stablyai#33361 followup diff from c26c4da, whose parent is cd33cbe. Preserve the visible worker identity refresh and existing hidden child-frame behavior, and refresh the parent roster again when returning to its conversation.
|
@coderabbitai resume Please resume incremental review of the current head b0ecc59. The previously reported inline findings are addressed; current full upstream validation is still pending maintainer workflow approval. |
|
Full upstream validation remains pending maintainer workflow approval, as you noted. This request does not change the PR’s approval status. ✅ Action performed
|
There was a problem hiding this comment.
🧹 Nitpick comments: 1
src/main/runtime/structured-child-records-switch.test.ts: 1
98-104:Trivial · Functional Correctness · Quick win Assert that settled children are absent from both summary fields.
The settlement assertions only reject
summary.children. The renderer useschildren ?? summary.backgroundTasks, so a regression that serializes the settled agent into legacybackgroundTaskswould pass these assertions while still exposing it in the session summary.Suggested fix
expect(summaries.at(-1)).not.toHaveProperty('children') + expect(summaries.at(-1)).not.toHaveProperty('backgroundTasks') ... expect(summaries.at(-1)).not.toHaveProperty('children') + expect(summaries.at(-1)).not.toHaveProperty('backgroundTasks')

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
b873fbbd-d370-4889-a2f0-b778c68b7016
Files selected for processing: 2-
src/main/native-chat/agent-session-wire/structured-agent-session-claude-subagent-row.test.tssrc/main/runtime/structured-child-records-switch.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
-
|
Addressed the legacy-field test gap from review 5642883824 in 904f6d4: both command settlement and scripted provider exit now assert that neither children nor legacy backgroundTasks remains in the session summary. The full navigation/host selection passed 2,997 tests with one existing skip; actual four-project Bun CI typechecking, scoped quality and normal hooks passed. The branch also includes an ordinary merge of pinned upstream 7d6603a; full upstream workflow execution still requires maintainer approval. |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments: 1
src/renderer/src/components/native-chat/native-chat-paste-routing.test.tsx: 1
468-468:Trivial · Maintainability & Code Quality · Quick win Assert that the paste reached the answer input before hiding the parent.
The test passes if the paste never starts. For example,
requestNativeChatCoverPastecould route the request elsewhere. In that case,answer.valuestays''andmocks.terminalClipboardstays uncalled for the wrong reason.Assert that the clipboard read started. Add the assertion after
pasteTerminalPaneMenuClipboardand before thehiddenorinertattribute is set. Then the test proves that the post-readcanContinuecheck blocks the write.Proposed change
await pasteTerminalPaneMenuClipboard(menuContext(), menuPane(f.pane), 'context-menu') + expect(mocks.readClipboardText).toHaveBeenCalledTimes(1) const parentContent = document.createElement('section')

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
5b1f2ac2-7f87-4beb-b33c-c0fc3e399b8a
Files ignored due to path filters: 1-
src/shared/rpc-contract/rpc-params-catalog.generated.tsis excluded by!**/*.generated.*
Files selected for processing: 46-
src/main/runtime/orchestration/orchestration-party.tssrc/main/runtime/rpc/methods/ai-vault.tssrc/main/runtime/structured-child-records-switch.test.tssrc/renderer/src/components/native-chat/NativeChatBackgroundTasksStatus.tsxsrc/renderer/src/components/native-chat/NativeChatMessageList.tsxsrc/renderer/src/components/native-chat/NativeChatResolvedView.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredSession.tsxsrc/renderer/src/components/native-chat/NativeChatSubagentRun.tsxsrc/renderer/src/components/native-chat/NativeChatSubagentSectionHead.tsxsrc/renderer/src/components/native-chat/native-chat-context-menu-target.tssrc/renderer/src/components/native-chat/native-chat-paste-routing.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-context-menu.targets.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-paste-bridge.tssrc/renderer/src/components/right-sidebar/AiVaultPanel.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionRow.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionUnsavedNotice.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionVirtualList.keyboard.test.tsxsrc/renderer/src/components/right-sidebar/AiVaultSessionVirtualList.tsxsrc/renderer/src/components/right-sidebar/AiVaultVirtualRow.tsxsrc/renderer/src/components/right-sidebar/ai-vault-agent-session-refresh-key.tssrc/renderer/src/components/right-sidebar/ai-vault-panel-handle.tssrc/renderer/src/components/right-sidebar/ai-vault-session-filters.tssrc/renderer/src/components/right-sidebar/ai-vault-session-list-request.tssrc/renderer/src/components/right-sidebar/ai-vault-session-projects.tssrc/renderer/src/components/right-sidebar/ai-vault-session-refresh.tssrc/renderer/src/components/right-sidebar/ai-vault-session-worktree.tssrc/renderer/src/components/sidebar/SidebarHeader.tsxsrc/renderer/src/components/sidebar/index.tsxsrc/renderer/src/components/sidebar/project-added-default-checkout.tssrc/renderer/src/components/sidebar/sidebar-header-actions.tsxsrc/renderer/src/components/sidebar/useCreateRepo.tssrc/renderer/src/components/tab-bar/tab-bar-surface.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/activate-ai-vault-structured-session.tssrc/renderer/src/lib/onboarding-folder-agent-launch.tssrc/renderer/src/store/slices/ui/ui-slice-surface-actions.tssrc/renderer/src/web/preload-api/web-ai-vault-api.tssrc/shared/agent-child-work-listing.tssrc/shared/ai-vault-session-filters.tssrc/shared/ai-vault-types.tssrc/shared/constants.tssrc/shared/default-global-settings.tssrc/shared/rpc-contract/ai-vault-params.tssrc/shared/rpc-contract/orchestration-params.tssrc/shared/structured-session-background-tasks-view.test.tssrc/shared/structured-session-background-tasks-view.ts
Files skipped from review as they are similar to previous changes: 1-
- src/renderer/src/i18n/locales/en.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
-
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Preserve executionHostId when reopening structured… · ai-vault-session-resume-here.ts:161-177
src/renderer/src/components/right-sidebar/ai-vault-session-resume-here.ts:161-177
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winPreserve
executionHostIdwhen reopening structured sessions.
/resumecan select a structured row from a remote runtime, but the current calls omit itsexecutionHostId. Activation then targets the current worktree owner instead. This can reopen the wrong session or fail to open the selected session. Passsession.executionHostIdthrough both the normal and owner-recovery paths.Suggested fix
- replace = () => revealInPlaceOf(here, structured) + replace = () => revealInPlaceOf(here, structured, session.executionHostId) ... ownerShown = elsewhere - ? activateAiVaultStructuredSession({ structuredSession: owner }) - : revealInPlaceOf(here, owner) + ? activateAiVaultStructuredSession({ + structuredSession: owner, + executionHostId: session.executionHostId + }) + : revealInPlaceOf(here, owner, session.executionHostId) ... function revealInPlaceOf( here: AiVaultResumeHere, - structured: NonNullable<AiVaultSession['structuredSession']> + structured: NonNullable<AiVaultSession['structuredSession']>, + executionHostId: AiVaultSession['executionHostId'] ): Promise<void> { - return activateAiVaultStructuredSession({ structuredSession: structured }).then(() => { + return activateAiVaultStructuredSession({ structuredSession: structured, executionHostId }).then(() => {

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
8b5e0b7a-6cf4-4790-8153-a5beb9661155
Files selected for processing: 5-
src/main/ai-vault/structured-conversation-navigation.test.tssrc/main/ai-vault/structured-conversation-navigation.tssrc/renderer/src/components/native-chat/native-chat-paste-routing.test.tsxsrc/renderer/src/components/sidebar/SidebarHeader.test.tsxsrc/renderer/src/components/sidebar/SidebarHeader.tsx
Files with no reviewable changes: 1-
- src/main/ai-vault/structured-conversation-navigation.ts
Files skipped from review as they are similar to previous changes: 3-
- src/renderer/src/components/sidebar/SidebarHeader.tsx
- src/renderer/src/components/sidebar/SidebarHeader.test.tsx
- src/main/ai-vault/structured-conversation-navigation.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-
|
Fixed the outside-diff finding from review 5643194884 in 1da5ffc. Three remote-owner keyboard cases failed before the correction. All 41 whole affected resume/activation/owner suites then passed 396 tests with zero unhandled/teardown errors; the four Bun CI typechecks, scoped quality, formatting, catalogs and normal hooks passed. The actual host-scoped activation test also covers a selected-session host. A separate test-only commit settles the pending rename import before teardown and resets launch fixtures before every case; no production lifecycle or assertion was weakened. The sibling #33383 is receiving a narrow adaptation to its existing explicit-target activation API. Full upstream CI remains pending maintainer approval. |
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Projects replaced Workspaces as the first-run sidebar list, so upstream specs that wait for worktree cards in paired web and desktop clients timed out. Workspaces is the default again. A pick from the sidebar title menu or the Activity toggle is saved as the pairing-local UI field sidebarBody and restored at startup only, so redirects such as revealing a workspace do not overwrite it and another window's pick does not switch this one. Older hosts never receive the key, and old builds ignore it in the profile. The e2e fixtures that pinned the Workspaces view are no longer needed and return to their upstream form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conversation navigation does not need new profiles to start with compact worktree cards or with the Tasks, Automations and Mobile buttons hidden. Compact cards hide inline agent rows, which the Pi EOF agent-row spec reads, and the hidden buttons change the sidebar geometry that the folder keyboard-navigation spec scrolls against. Existing profiles keep whatever they saved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conversation navigation does not need new profiles to start with the right sidebar closed. New profiles open it again, as upstream, and the two upstream specs that opened Explorer only to cope with the closed default return to their upstream form. Profiles that saved a choice keep it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Creation seeds a default terminal on this branch, as upstream does. The explicit New tab path looked for a New Terminal menu item that the current create row no longer renders, so the packaged serve-switch check timed out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ions module Conversation navigation took AiVaultSessionVirtualList.tsx to 416 lines on current main, over the 400-line limit. The row chat-action resolution, which the open repeated verbatim from the resume-here pick, and the direct conversation open now live in ai-vault-session-row-chat.ts. Both callers use the same resolver, so behavior is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the Conversations view inside upstream's reorderable Projects section, and key the first-render cached scan by structured sessions so the conversation list does not reuse the right panel's cached list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sidebar's session list was titled Projects, the word upstream now uses for its worktree list, so it was easy to miss. Title it Sessions and keep upstream's own Projects or Workspaces title for the worktree list. Settings > Appearance > Window & sidebar gains a Sidebar view control. It and the title menu read and write one remembered field, sidebarView, which defaults to upstream's list. Activity stays a temporary overlay, as upstream, and turning it off returns to the chosen view. The title menu now opens when the header can fold beside Bots, and the session list sits in the Projects list slot with the left sidebar's surface. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ELI5
Adds an optional Sessions view to the left sidebar. It lists your agent sessions (Claude, Codex, Gemini and others), grouped by project. It includes saved provider transcripts and record-only chats, and opens each one on the host that owns it. Upstream's Projects list of workspaces and branches stays the default. You switch views from the sidebar title menu, or from a new setting at Settings → Appearance → Window & sidebar → Sidebar view.
What Changed
sidebarView('workspaces' | 'conversations'). Changing either one updates the other immediately. If the field is absent or unknown, Orca uses upstream's list, so the default for new and existing profiles is unchanged.sidebarViewis local to each paired client, likesidebarOpen. Web clients keep it in their own storage and never send it to a host. Older hosts therefore never see the new key, and no protocol version change is needed. The mobile app has its own conversation list and is unaffected.This PR does not change any other first-run default. New profiles keep upstream's Projects list, right sidebar, worktree card density and toolbar buttons.
Why
People who navigate by agent session need a stable list of sessions per project, with the correct host owner, so recoverable chats stay visible and actions reach the host that owns them. Upstream keeps its worktree list, so the sessions view is an explicit, discoverable choice, not a replacement.
Linked Issue
Fixes #39515, the desktop project-based conversation navigation request. It absorbs #35983 and #35932, which were found while testing this PR. The unlimited-forwarding subset was accepted separately in #36507.
Visual Proof
Component fixtures in the dark theme with synthetic projects (
Acme,Example). The title menu captures press the title where a pointer lands, with the header foldable as it is beside Bots.sidebar/SidebarHeader:ProjectsViewMenu)sidebar/SidebarHeader:SessionsViewMenu)sidebar/SidebarViews:projects)sidebar/SidebarViews:sessions)settings/appearance/SidebarViewSetting:sessionsPicked)Earlier loading-state captures (
6927b42ddfd) still describe the pending-scan behaviour. They predate the Sessions name.Testing
Head
7d0f620fc8e42b480b81c9f8ecc16752128f0e4eincludes an ordinary forward merge of upstream main75339dcf434f37145016d938209dc5741d14bc78. That merge keeps the Sessions view inside upstream's reorderable Projects section, and keys the first-render cached scan by structured sessions.SidebarViewSetting.test.tsxcovers Appearance → sidebar, title menu → Appearance, and an Activity round trip that persists nothing.ui-slice-sidebar-view-hydration.test.tscovers restore at startup and that a sync does not switch this window.pnpm tcpasses.ORCA_CODE_QUALITY_BASE=upstream/main pnpm lint: all 49 steps pass.verify:localization-catalogs,-catalog,-runtime-catalog,-protected-copy,-extractionand-coverage.pnpm test:changed --maxWorkers=2: 761 files and 3214 tests pass, 6 files skipped.No installed-app, SSH, authenticated-provider or physical-device acceptance is claimed.
Risk
Level: Medium
If a session is attributed to the wrong project, a chat could be hidden or opened on the wrong host. The existing ownership checks, selected-host routing, generation fences and additive capabilities remain in place. The view choice is a client-local UI field. Reverting returns to upstream's sidebar, and provider transcripts and structured records are kept.
AI Disclosure
Implemented and checked with OpenAI Codex and Claude Code assistance. The contributor owns the change and its validation.
🤖 Generated with Claude Code