-
Notifications
You must be signed in to change notification settings - Fork 37.5k
'Agent Status' widget tweaks #289251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Agent Status' widget tweaks #289251
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @bpaseroMatched files:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a "Unified Agents Bar" feature that provides an enhanced Agent Status widget in the VS Code title bar command center. The changes add a new configuration option (chat.unifiedAgentsBar.enabled) that works alongside the existing chat.agentsControl.enabled setting to provide two distinct display modes: a badge-only mode (compact indicator) and an enhanced mode (full-width pill replacing the search box).
Changes:
- Added
UnifiedAgentsBarconfiguration constant and setting (Insiders-only, experimental) - Refactored widget to support two rendering modes: badge-only (default) and enhanced/unified (when both settings enabled)
- Changed service interface from
sessionId: stringtosessionResource: URIfor better type safety - Added sparkle icon dropdown with chat menu actions and visual filter state indicators
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/common/constants.ts | Added UnifiedAgentsBar configuration enum constant |
| src/vs/workbench/contrib/chat/browser/chat.contribution.ts | Registered new UnifiedAgentsBar configuration with description and experimental tag |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css | Added CSS for unified vs badge-only layouts, sparkle dropdown animations, and filter state highlighting |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.ts | Implemented badge-only mode, sparkle dropdown, filter state management, and re-rendering guard |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusService.ts | Changed interface from sessionId: string to sessionResource: URI |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.ts | Added menu item for toggling Unified Agents Bar (Insiders only) |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.ts | Updated call site to pass URI instead of string |
| src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.ts | Added ToggleUnifiedAgentsBarAction action class |
src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.ts
Outdated
Show resolved
Hide resolved
…s/agentTitleBarStatusWidget.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.