Repository navigation
Show branch and worktree under inspector agent rows, like the sidebar - #903
Merged
pondorasti merged 1 commit intoOct 29, 2026
Merged
Conversation
The inspector's Agents section now renders each child agent with the sidebar's row label: the title on the first line and the sidebar's subtitle (branch · worktree, following the user's sidebar properties and grouping) on the second, keeping the status indicator. Co-Authored-By: Claude Opus 5.5 <[email protected]>
pondorasti
deleted the
codevisor/inspector-agent-rows-sidebar-attributes
branch
October 29, 2026 06:12
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 inspector's Agents section showed each child agent as one middle-truncated line. Each row now uses the sidebar's
SidebarWorkspaceRowLabel: the title on the first line and the sidebar subtitle under it, e.g.codevisor/butter · butter, or justcodevisor/bonitowhen the worktree matches the title. The status indicator is unchanged.There is no new formatting code.
WorkspaceInspectorPresentationalready built aSidebarRowContentfor the agent icons, but it passedrowDetails: []. It now passes the user's sidebar properties and grouping, and gets the subtitle fromSidebarRowContent.subtitle, which callsSidebarRowSubtitle.make. The two surfaces share every rule, so they can't drift.On the data side, branch comes from
gitLookups.branch(for:):workspace.gitfirst, then the sidebar's branch lookups. The sidebar refreshes those lookups for every listed item, child agents included, so the inspector needs no extra fetch.Tophat in the macOS dev app with a parent workspace and three child agents in worktrees, two of them renamed:
branch · worktree. The row whose title matches its worktree collapses to the branch.Before/after screenshots are in the review thread.
🤖 Generated with Claude Code