Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Agents web: drop [hostname] from remote agent host session labels#312257

Draft
osortega wants to merge 1 commit intomainfrom
agents/right-now-for-agent-host-server-sessions-in-574bf81e
Draft

Agents web: drop [hostname] from remote agent host session labels#312257
osortega wants to merge 1 commit intomainfrom
agents/right-now-for-agent-host-server-sessions-in-574bf81e

Conversation

@osortega
Copy link
Copy Markdown
Contributor

On web the titlebar host filter dropdown already scopes sessions to a single host, which makes the [<hostname>] suffix in session group headers and the host label in the session card description redundant.

Changes (web only)

  • Omit providerLabel from remote agent host session workspace labels, so group headers render as <reponame> instead of <reponame> [<hostname>].
  • Skip the host label on session card descriptions. Active sessions fall back to the existing Working... / Input needed / Failed status text; completed sessions were already not rendering the description.

Native desktop behaviour is unchanged — the [<hostname>] still appears there since the host filter dropdown is web-only. Local agent host sessions are untouched since they don't run on web.

Copilot AI review requested due to automatic review settings April 23, 2026 23:15
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

Removes redundant remote host labeling in the Agents web sessions UI, relying on the web-only host filter dropdown to provide host context while keeping native desktop behavior unchanged.

Changes:

  • On web, omit the remote host label from session card descriptions so active sessions use the existing “Working… / Input needed / Failed” status text.
  • On web, omit providerLabel when building remote-agent-host workspaces so workspace/group headers don’t render [hostname].
  • Update the shared adapter options type to allow description to be undefined.
Show a summary per file
File Description
src/vs/sessions/contrib/remoteAgentHost/browser/remoteAgentHostSessionsProvider.ts Gates remote host description/workspace label decoration behind isWeb to remove host suffixes on web only.
src/vs/sessions/contrib/agentHost/browser/baseAgentHostSessionsProvider.ts Allows adapter description to be optional so web can intentionally omit it.

Copilot's findings

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

@osortega osortega force-pushed the agents/right-now-for-agent-host-server-sessions-in-574bf81e branch from c722e78 to f599c01 Compare April 23, 2026 23:20
@osortega osortega force-pushed the agents/right-now-for-agent-host-server-sessions-in-574bf81e branch 2 times, most recently from 74b4266 to b5f12d9 Compare April 23, 2026 23:38
On web the titlebar host filter dropdown already scopes sessions to a
single host, making the '[<hostname>]' suffix in the session workspace
label and the host label in the session card description redundant.

On web only:
- Omit the providerLabel from remote agent host session workspace labels
  so group headers show just '<reponame>' instead of '<reponame> [<host>]'.
- Skip the host description on session cards (active sessions fall back
  to 'Working...' / 'Input needed' / 'Failed' status text).

Co-authored-by: Copilot <[email protected]>
@osortega osortega force-pushed the agents/right-now-for-agent-host-server-sessions-in-574bf81e branch from b5f12d9 to d12a963 Compare April 24, 2026 00:39
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.

2 participants