Add chat tip to open the Sessions Window#306611
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/3f6cb57a-adec-4f66-81b5-8897c495f961 Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add top-level entry point from VS Code into Sessions
Add chat tip to open the Sessions Window
Mar 31, 2026
bpasero
approved these changes
Mar 31, 2026
Member
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Chat Tip entry that promotes the Sessions Window as a top-level entry point from within VS Code chat, intended to help users discover multi-agent workflows and sessions management.
Changes:
- Adds
tip.openSessionsWindowtoTIP_CATALOGwith a command link toworkbench.action.openSessionsWindow. - Gates tip visibility via context keys (non-stable product quality, not already in Sessions Window, Agent mode).
- Ensures the tip is excluded/dismissed after the Sessions Window command is executed/clicked.
Comment on lines
+426
to
+432
| when: ContextKeyExpr.and( | ||
| ProductQualityContext.notEqualsTo('stable'), | ||
| IsSessionsWindowContext.negate(), | ||
| ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Agent), | ||
| ), | ||
| excludeWhenCommandsExecuted: ['workbench.action.openSessionsWindow'], | ||
| dismissWhenCommandsClicked: ['workbench.action.openSessionsWindow'], |
There was a problem hiding this comment.
workbench.action.openSessionsWindow appears to be registered only in the electron-browser contribution (search shows no browser/web registration). Since this tip is in the shared browser tip catalog, it can surface in web builds and render a command link that does nothing. Consider gating the tip with IsWebContext.negate() (or moving this tip to an electron-only catalog) so it only appears where the command is available.
lszomoru
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a top-level entry point from VS Code into the Sessions window via the chat tip system.
New
tip.openSessionsWindowentry inTIP_CATALOGthat renders a clickable command link:ProductQualityContext), non-sessions windows (IsSessionsWindowContext), and agent mode onlydismissWhenCommandsClickedworkbench.action.openSessionsWindowhas been executedWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
redirector.gvt1.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=7141 --enable-crash-reporter=7e777c04-de5c-4838-ba46-0780714f3424,no_channel --user-data-dir=/tmp/vscode-tests-1774937841435 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,10101467747417854436,3149208591223126436,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041(dns block).build/electron/code-oss .build/electron/code-oss test/unit/electron/index.js --crash-reporter-directory=/tmp/vscodecrash --run src/vs/workbench/contrib/chat/test/browser/chatTipService.test.ts(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=7287 --enable-crash-reporter=7e777c04-de5c-4838-ba46-0780714f3424,no_channel --user-data-dir=/tmp/vscode-tests-1774937863098 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,3054058367138632310,3362019481948340825,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041(dns block)If you need me to access, download, or install something from one of these locations, you can either: