@devries-cameron20 / t3code-1 / commits / df9826f080
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

feat(web): agents working banner links to the Agents panel (#13572)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Theo Browne committed Sep 24, 2026 at 22:06 UTC df9826f0806cc4874cd79f24a42a1e9e506030c2
1 file changed +21 -8
apps/web/src/components/ChatView.tsx
+21 -8
@@ -6299,6 +6299,9 @@ export default function ChatView(props: ChatViewProps) {
6299 }
6300 const working = activeBackgroundLiveness === "working";
6301 const liveCount = agentPanelModel.liveCount;
6302 + // Hidden once the Agents surface is on screen; the link would point at nothing.
6303 + const showViewAgents =
6304 + liveCount > 0 && !(rightPanelOpen && activeRightPanelSurface?.kind === "agents");
6305 return {
6306 id: `background-liveness:${activeThread.id}`,
6307 variant: "default",
@@ -6315,22 +6318,32 @@ export default function ChatView(props: ChatViewProps) {
6318 : "Background work"
6319 : "Monitoring",
6320 actions: (
6318 - <Button
6319 - size="xs"
6320 - variant="ghost"
6321 - disabled={isStoppingBackgroundWork}
6322 - onClick={() => void handleStopBackgroundWork()}
6323 - >
6324 - {isStoppingBackgroundWork ? "Stopping..." : "Stop"}
6325 - </Button>
6321 + <>
6322 + {showViewAgents ? (
6323 + <Button size="xs" variant="ghost" aria-label="View agents" onClick={addAgentsSurface}>
6324 + View
6325 + </Button>
6326 + ) : null}
6327 + <Button
6328 + size="xs"
6329 + variant="ghost"
6330 + disabled={isStoppingBackgroundWork}
6331 + onClick={() => void handleStopBackgroundWork()}
6332 + >
6333 + {isStoppingBackgroundWork ? "Stopping..." : "Stop"}
6334 + </Button>
6335 + </>
6336 ),
6337 };
6338 }, [
6339 activeBackgroundLiveness,
6340 + activeRightPanelSurface?.kind,
6341 activeThread,
6342 + addAgentsSurface,
6343 agentPanelModel.liveCount,
6344 handleStopBackgroundWork,
6345 isStoppingBackgroundWork,
6346 + rightPanelOpen,
6347 ]);
6348 // A woken thread announces itself in the open view, not just the sidebar
6349 // pill. Dismissing marks the wake as seen (same acknowledgment as the