Skip to content

sessions: add SSH entry to workspace picker alongside Tunnels#309893

Merged
roblourens merged 1 commit intomainfrom
agents/mysterious-hookworm
Apr 14, 2026
Merged

sessions: add SSH entry to workspace picker alongside Tunnels#309893
roblourens merged 1 commit intomainfrom
agents/mysterious-hookworm

Conversation

@roblourens
Copy link
Copy Markdown
Member

Add an "SSH..." entry to the workspace picker (session picker / new chat view page) that runs the connectViaSSH command, giving SSH the same entry point that Tunnels already has. The SSH entry is gated behind isNative since the SSH remote agent host service is only available on desktop.

Also refactors the item type from separate boolean flags (tunnelAction) to a generic commandId string, simplifying the pattern for both Tunnel and SSH entries and making it easy to add more connection types in the future.

(Written by Copilot)

Add an "SSH..." entry to the workspace picker that executes the
connectViaSSH command, gated behind isNative since the SSH service
is desktop-only. Refactor the item type to use a generic commandId
instead of separate boolean flags for each connection type.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 14, 2026 16:24
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

Note

Copilot was unable to run its full agentic suite in this review.

Adds an SSH entry point to the session workspace picker to match the existing Tunnels entry, and generalizes “special action” items to run arbitrary commands.

Changes:

  • Introduces a commandId-based action item model (replacing the tunnelAction boolean).
  • Adds a “SSH…” workspace picker entry (desktop/native only) next to “Tunnels…”.
  • Updates selection handler to execute the configured command for action items.
Show a summary per file
File Description
src/vs/sessions/contrib/chat/browser/sessionWorkspacePicker.ts Adds SSH action item and refactors action execution to a generic commandId pattern.

Copilot's findings

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

Comment thread src/vs/sessions/contrib/chat/browser/sessionWorkspacePicker.ts
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: d87671df Current: 6939bdf1

Changed (2)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

@roblourens roblourens enabled auto-merge (squash) April 14, 2026 16:48
@roblourens roblourens merged commit 107a051 into main Apr 14, 2026
30 checks passed
@roblourens roblourens deleted the agents/mysterious-hookworm branch April 14, 2026 17:01
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 14, 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