Revert "refactor(desktop): remove the sidebar workspace agents chip (#7870)"
Merged
AV
2mo ago+820+820+012345678901234567890123456789-18-18-01234567890123456789
Summary
- Reverts #7870, restoring the agents chip under sidebar workspace rows, its hover card, and the Workspace agents toggle in Settings → Experimental.
Why
#7870 removed more than the count. The chip's hover card is the sidebar's only way to jump to a specific agent's terminal or open a subagent's live transcript, and the Sep 13 changelog points users to it. Open PRs #7496 and #7143 also build on the chip.
Notes
- Exact inverse of 804cc3a261: the tree is identical to the commit before it (
ef00bb7db3), andmainhad no later commits touching these files. - Any build that included #7870 ran its boot sweep and deleted the
workspace-agents-rowkey, so anyone who had switched the toggle off in that build gets the default (on) back.
Testing
- CI on this PR. The restored code is byte-identical to what passed CI on
mainbefore #7870.
Summary by cubic
Reverts #7870, restoring the sidebar's agents chip under workspace rows so users can still jump to a specific agent's terminal or open a subagent's live transcript from the sidebar.
Bug Fixes
- Restores the agents chip, its hover card, and the Workspace agents toggle in Settings → Experimental.
- Re-registers the
workspace-agents-rowpersisted key; anyone who switched the toggle off in a build that included #7870 gets the default (on) back.
Summary by CodeRabbit
- New Features
- Workspace sidebars can show a running-agents chip with an agent avatar, live status, and counts for agents and subagents.
- Open the chip to view agent details and select an agent or subagent to navigate to its workspace session.
- Control the display from the experimental Workspace agents setting.
- Localization
- Added translated labels and descriptions for the new agent controls and setting.