Skip to content

Sessions: Different history and options depending on how launched (fix #303022)#303089

Merged
bpasero merged 1 commit intomainfrom
ben/soft-mink
Mar 19, 2026
Merged

Sessions: Different history and options depending on how launched (fix #303022)#303089
bpasero merged 1 commit intomainfrom
ben/soft-mink

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Mar 19, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 06:44
@bpasero bpasero enabled auto-merge (squash) March 19, 2026 06:44
@bpasero bpasero self-assigned this Mar 19, 2026
@vs-code-engineering
Copy link
Contributor

vs-code-engineering bot commented Mar 19, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@deepak1556

Matched files:

  • src/vs/code/electron-main/app.ts

@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 19, 2026
Copy link
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 aims to make the Sessions experience consistent by ensuring that invoking “Open Sessions Window” launches the dedicated Sessions app/protocol route (where available), so that history/options match regardless of how Sessions is launched.

Changes:

  • Update the “Open Sessions Window” command to open the Sessions app via a vscode-sessions*: protocol on Windows/macOS.
  • Adjust protocol URL handling in the embedded (Sessions) app to open a Sessions window when invoked via protocol.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/chat/electron-browser/agentSessions/agentSessionsActions.ts Opens Sessions via external vscode-sessions*: protocol on Windows/macOS instead of nativeHostService.openSessionsWindow().
src/vs/code/electron-main/app.ts Adds an embedded-app protocol handling shortcut to open a Sessions window.

@bpasero bpasero marked this pull request as draft March 19, 2026 06:53
auto-merge was automatically disabled March 19, 2026 06:53

Pull request was converted to draft

@bpasero bpasero marked this pull request as ready for review March 19, 2026 08:15
@bpasero bpasero enabled auto-merge (squash) March 19, 2026 08:15
@bpasero bpasero merged commit 270e729 into main Mar 19, 2026
23 checks passed
@bpasero bpasero deleted the ben/soft-mink branch March 19, 2026 08:20
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