Repository navigation
feat(web): bring back the Agents sidebar panel alongside Lineage - #162
Merged
adampeterhiggins merged 1 commit intoOct 5, 2026
Merged
adampeterhiggins merged 1 commit into
adampeterhiggins merged 1 commit into
Conversation
The orchestrator-v2 sync removed the fork's right-panel Agents surface (upstream's v14 store migration drops persisted "agents" tabs) and left subagents only in thread-details Lineage. Restore the Agents panel as a right-panel surface over v2 child threads, beside Lineage rather than instead of it: - agentFleet.ts derives the thread's whole fleet, including agents spawned by agents (found through child-thread lineage in shells, no extra subscriptions), arranges it as a tree under the shared filter/sort, and summarises it. - AgentsPanel.tsx: compact rows with the latest tool call or error, hover previews (prompt, outcome, latest tool calls, usage), click to open the agent tab, right-click agent menu, status/token footer, paging. - Lineage and the panel share agentListViewStore; Lineage gets an "Open in Agents panel" button and the panel a "Show in Lineage" button. - Entry points: launcher/+ menu (with live badge), command palette, agent tab, background-work banner, "Show in Agents panel" in the agent menu. - rightPanelStore v15 keeps the agents surface across restarts. - Agent tabs and the agent menu resolve a nested agent's record from the thread that spawned it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
adampeterhiggins
added a commit
that referenced
this pull request
Oct 5, 2026
…spect feat(web): inspect a running agent in the sidebar (includes #162, Agents sidebar panel)
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The orchestrator-v2 sync removed the fork's right-panel Agents surface. Upstream's v14 right-panel migration drops persisted
agentstabs, and every subagent is now a child thread listed only under Lineage. #160 rebuilt the list UX and agent tabs inside Lineage, but the panel itself was gone: there was no fleet view beside the chat, no hover previews, and no view of agents that subagents start.How
The Agents panel is a right-panel surface again on web and desktop. It sits next to Lineage and reuses #160's pieces instead of copying them.
packages/client-runtime/src/state/agentFleet.ts(new, tested) builds the thread's whole fleet:lineage.parentThreadIdin thread shells. Listing them never subscribes to another projection.It arranges the fleet as a tree under the shared view and adds a status/token summary.
liveSubagentandedgeAgentStatusmoved here from Lineage.agentListView.tsgainsmatchesAgentListView. Lineage and the panel both use these.agentListViewStore, so search, status filter, and sort match when you switch between them. I chose this so the two views never disagree.chat/AgentsPanel.tsx).SubagentActivityLine, now shared with Lineage). Failed agents get their error instead.ToolCallList), and usage.rightPanelStoreis now v15. It keepsagentssurfaces instead of dropping them. State persisted at the fork's v13 keeps its Agents tab. State the upstream v14 migration already rewrote has no Agents tab left to restore.docs/fork-differences.mdand "Inspect agent work" indocs/user/thread-sidebar.md.Verification
npx vp test run src/state/agentFleet.test.ts src/state/agentListView.test.ts(client-runtime): 22 passednpx vp test run src/components/chat/ThreadRelationshipsControl.agents.test.tsx src/components/chat/ThreadRelationshipsControl.test.tsx src/components/RightPanelTabs.test.tsx src/rightPanelStore.test.ts src/components/chat/ThreadDetailsPanel.test.tsx(web): 105 passed. This includes new store tests: the agents surface and agent tabs survive the migration, and opening the panel next to agent tabs.npx tsc --noEmitinapps/webandpackages/client-runtime: clean.npx vp check --fixon the changed files: no new warnings. The ones that remain inChatView.tsxandCommandPalette.tsxwere already there.Not restored
getSubagentTranscript, saved copies): v2 has no equivalent. The child thread holds the whole conversation.Done by Claude Opus 5.5 in Claude Code (via T3 Code).
🤖 Generated with Claude Code