feat(chat): update session type for AgentHostCopilot to 'agent-host-copilotcli' and enhance slash command handling#317725
Merged
Merged
Conversation
…opilotcli' and enhance slash command handling
Contributor
There was a problem hiding this comment.
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.AgentHostCopilotfromagent-host-copilottoagent-host-copilotcli. - Allow
/hooks,/agents,/skills,/instructions, and/promptsto 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) => { |
aiday-mar
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #317289