Gallery: a subagent's own pane, read only (covers SubagentPaneFooter; fixes gallery-coverage on base)

Merged
TE
17d ago
+16-1

gallery-coverage fails on feat-cmux-next for every PR that touches webviews: #22986 added subagents/SubagentPaneFooter.tsx#SubagentPaneFooter without a gallery entry.

  • subagents.gallery.ts covers it and adds an own-pane variant: the pane gets a subagent: reveal (as when the app opens a subagent's pane), shows that subagent's view under the Subagent of pill, and draws the read-only footer line naming the chat instead of the composer. The play fails if the composer is drawn.

Agent session: cosmic-gray

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes gallery-coverage on feat-cmux-next by covering SubagentPaneFooter, which #22986 added without a gallery entry.

Adds an own-pane variant to the subagents gallery that opens a subagent's view read-only via a subagent: reveal, verifies the footer line naming the chat appears in place of the composer, and fails if the composer is drawn.