Skip to content

refactor agent command center and projection code#288163

Merged
joshspicer merged 7 commits intomainfrom
joshspicer/agentSessionsProjection2
Jan 15, 2026
Merged

refactor agent command center and projection code#288163
joshspicer merged 7 commits intomainfrom
joshspicer/agentSessionsProjection2

Conversation

@joshspicer
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 20:05
@joshspicer joshspicer changed the title Joshspicer/agent sessions projection2 refactor agent command center and projection code Jan 15, 2026
@vs-code-engineering
Copy link
Copy Markdown
Contributor

vs-code-engineering bot commented Jan 15, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionActions.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionService.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusService.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusWidget.ts
  • src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionProjection.css
  • src/vs/workbench/contrib/chat/browser/agentSessions/media/agentStatusWidget.css

…entSessionsProjection2

# Conflicts:
#	.vscode/settings.json
#	src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionService.ts
#	src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusWidget.ts
#	src/vs/workbench/contrib/chat/browser/agentSessions/media/agentStatusWidget.css
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 pull request refactors the "Focus View" feature to be renamed as "Agent Session Projection" and introduces a separate "Agent Status" widget. The changes split the previous "Agents Control" implementation into two distinct features with separate configuration options and clearer naming.

Changes:

  • Renamed "Focus View" terminology to "Agent Session Projection" throughout the codebase
  • Introduced a new AgentStatusService to manage the agent status widget state independently
  • Split configuration into AgentStatusEnabled and AgentSessionProjectionEnabled settings
  • Updated CSS class names from agents-control-* to agent-status-* for consistency
  • Created separate CSS files for agent status widget and projection mode styling

Reviewed changes

Copilot reviewed 13 out of 13 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 new AgentStatusEnabled configuration constant
src/vs/workbench/contrib/chat/common/actions/chatContextKeys.ts Renamed inFocusViewMode to inAgentSessionProjection and added agentStatusEnabled context key
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Added configuration registration for AgentStatusEnabled setting
src/vs/workbench/contrib/chat/browser/agentSessions/media/agentStatusWidget.css Renamed CSS classes from agents-control-* to agent-status-*, removed focus view border styling
src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionProjection.css New file containing agent session projection visual styling (borders, tabs, glow animation)
src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusWidget.ts Renamed from AgentsControlViewItem to AgentStatusWidget, refactored to use IAgentStatusService
src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusService.ts New service to manage agent status widget state and modes
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.ts Updated to use renamed IAgentSessionProjectionService
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.ts Updated service registrations and configuration references
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionService.ts Renamed from FocusViewService to AgentSessionProjectionService
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionActions.ts Renamed actions from FocusView to AgentSessionProjection
src/vs/workbench/contrib/chat/browser/actions/chatNewActions.ts Updated to use renamed projection service
src/vs/workbench/contrib/chat/browser/actions/chatActions.ts Updated configuration reference in menu registration
.vscode/settings.json Changed chat.tools.terminal.outputLocation setting (unrelated to main feature)
Comments suppressed due to low confidence (1)

src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionProjectionActions.ts:157

  • The action title 'Agent Session Projection' is somewhat technical and may not be immediately clear to users. Consider a more user-friendly name like 'Focused Session Review' or 'Session Review Mode' that better describes what the feature does for end users.

Comment thread src/vs/workbench/contrib/chat/common/actions/chatContextKeys.ts Outdated
DonJayamanne
DonJayamanne previously approved these changes Jan 15, 2026
@joshspicer joshspicer enabled auto-merge (squash) January 15, 2026 21:15
@joshspicer joshspicer merged commit ccdcaa2 into main Jan 15, 2026
22 checks passed
@joshspicer joshspicer deleted the joshspicer/agentSessionsProjection2 branch January 15, 2026 21:36
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants