Skip to content

Distinguish local agent host harness in customizations view#312064

Merged
roblourens merged 2 commits intomainfrom
roblou/agents/fix-local-agent-display-name
Apr 23, 2026
Merged

Distinguish local agent host harness in customizations view#312064
roblourens merged 2 commits intomainfrom
roblou/agents/fix-local-agent-display-name

Conversation

@roblourens
Copy link
Copy Markdown
Member

The local agent host registered its customizations harness with the bare agent displayName (e.g. Copilot CLI), making it visually indistinguishable from the extension-host Copilot CLI harness in the AI Customizations view.

Append [Local] to the harness label so it renders as Copilot CLI [Local], matching the existing convention used by:

  • buildAgentHostSessionWorkspace (workspace labels show ${folder} [Local])
  • getAgentSessionProviderName(AgentHostCopilot) (returns Copilot CLI [Local])

(Written by Copilot)

The local agent host registered its customizations harness with the bare
agent displayName ('Copilot CLI'), making it visually identical to the
extension-host Copilot CLI harness. Append '[Local]' to match the
existing convention used by workspace labels and agent session provider
names.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 02:33
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 local agent host’s AI Customizations “harness” label so it’s visually distinguishable from the extension-host harness when both share the same agent displayName (e.g., “Copilot CLI”).

Changes:

  • Append a [Local] suffix to the local agent host harness label (e.g., Copilot CLI [Local]).
  • Add inline comments explaining the rationale and referencing similar existing labeling conventions.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.ts Updates the external customization harness label for local agent host agents to include a [Local] suffix for UI disambiguation.

Copilot's findings

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@roblourens roblourens marked this pull request as ready for review April 23, 2026 02:48
@roblourens roblourens enabled auto-merge (squash) April 23, 2026 02:48
@roblourens roblourens merged commit 1a25e30 into main Apr 23, 2026
26 checks passed
@roblourens roblourens deleted the roblou/agents/fix-local-agent-display-name branch April 23, 2026 03:29
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 23, 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.

3 participants