Skip to content

Remove "Local" label from new agent host sessions#319222

Merged
roblourens merged 3 commits into
mainfrom
roblou/splendid-koi
Jun 1, 2026
Merged

Remove "Local" label from new agent host sessions#319222
roblourens merged 3 commits into
mainfrom
roblou/splendid-koi

Conversation

@roblourens
Copy link
Copy Markdown
Member

New agent host sessions no longer display the "Local" label, addressing the issue where local sessions incorrectly showed this designation.
Fixes #314278

roblourens and others added 2 commits May 31, 2026 15:03
Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings May 31, 2026 22:06
@roblourens roblourens enabled auto-merge (squash) May 31, 2026 22:06
@roblourens roblourens self-assigned this May 31, 2026
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 removes the static “Local”/host label from agent host session descriptions so the sessions list no longer shows an incorrect detail label for local sessions.

Changes:

  • Removes provider-static description from agent host adapter options.
  • Leaves session descriptions driven only by active activity text.
  • Cleans up now-unused Markdown description fields/imports in local and remote providers.
Show a summary per file
File Description
src/vs/sessions/contrib/providers/agentHost/browser/baseAgentHostSessionsProvider.ts Removes adapter description fallback and narrows adapter options.
src/vs/sessions/contrib/providers/agentHost/browser/localAgentHostSessionsProvider.ts Removes the local “Local” description wiring.
src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostSessionsProvider.ts Removes the remote host label description wiring.

Copilot's findings

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

@@ -95,7 +95,6 @@ export const CopilotCLISessionType: ISessionType = {
*/
export interface IAgentHostAdapterOptions {
@roblourens roblourens merged commit 24c1ef8 into main Jun 1, 2026
25 checks passed
@roblourens roblourens deleted the roblou/splendid-koi branch June 1, 2026 00:04
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone Jun 1, 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.

AgentHost: Local sessions show "Local" in the list detail for some reason

3 participants