Skip to content

feat(chat): update session type for AgentHostCopilot to 'agent-host-copilotcli' and enhance slash command handling#317725

Merged
DonJayamanne merged 1 commit into
mainfrom
don/robust-parakeet
May 21, 2026
Merged

feat(chat): update session type for AgentHostCopilot to 'agent-host-copilotcli' and enhance slash command handling#317725
DonJayamanne merged 1 commit into
mainfrom
don/robust-parakeet

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

@DonJayamanne DonJayamanne commented May 21, 2026

Fixes #317289

…opilotcli' and enhance slash command handling
Copilot AI review requested due to automatic review settings May 21, 2026 08:22
@DonJayamanne DonJayamanne self-assigned this May 21, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review May 21, 2026 08:23
@DonJayamanne DonJayamanne enabled auto-merge (squash) May 21, 2026 08:23
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 PR updates the well-known chat session type identifier for the local Agent Host Copilot integration and adjusts several chat slash commands so they behave appropriately when invoked inside an Agent Host Copilot session.

Changes:

  • Update SessionType.AgentHostCopilot from agent-host-copilot to agent-host-copilotcli.
  • Allow /hooks, /agents, /skills, /instructions, and /prompts to run in both Local and Agent Host Copilot sessions, routing Agent Host invocations to the AI Customizations Management editor.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/common/chatSessionsService.ts Updates the canonical session type string for Agent Host Copilot.
src/vs/workbench/contrib/chat/browser/chatSlashCommands.ts Expands supported session types for several slash commands and routes Agent Host sessions to the customizations management editor.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

export const Codex = 'openai-codex';
export const Growth = 'copilot-growth';
export const AgentHostCopilot = 'agent-host-copilot';
export const AgentHostCopilot = 'agent-host-copilotcli';
silent: true,
locations: [ChatAgentLocation.Chat],
}, async () => {
}, async (_promp) => {
@DonJayamanne DonJayamanne merged commit 2bc22d6 into main May 21, 2026
29 checks passed
@DonJayamanne DonJayamanne deleted the don/robust-parakeet branch May 21, 2026 10:38
@vs-code-engineering vs-code-engineering Bot added this to the 1.122.0 milestone May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent Host Slash Commands: Client UI Commands

3 participants