Add Agents Window taskbar shortcut and icons - #335333
Conversation
Add an Agents Window task to the Windows jump list using the existing --agents launch mode and branded icon.\n\nRefs #335321 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The task uses the existing launch path, and the packaged icon path and frames are valid.
Review tier: Balanced
Findings: None
What changed in this PR
Adds direct Agents Window access from the Windows taskbar jump list.
Changes:
- Adds a localized Agents Window task using
--agents. - Packages a validated multi-resolution Agents icon.
| File | Description |
|---|---|
workspacesHistoryMainService.ts |
Registers the jump-list task. |
gulpfile.vscode.ts |
Packages the icon on Windows. |
resources/win32/agents.ico |
Provides the branded task icon. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Give the Windows taskbar button the same visual identity as the jump-list task. Refs #335321 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the branded Agents icon for Agents Window entries while preserving existing file and workspace icons for other windows. Fixes #315734 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Carry the authoritative Agents window flag into the window picker instead of comparing incompatible native and renderer workspace URI schemes. Reuse the distro-mixed sessions.ico path so native Windows icons match each product quality. Fixes #315734 Refs #335321 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The Switch Window implementation introduces a prohibited dependency from vs/workbench onto the higher vs/sessions layer.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
src/vs/workbench/electron-browser/actions/windowActions.ts — This makes the lower vs/workbench layer resolve an asset owned by vs/sessions, contrary to the… |
|
Base:
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The Windows integration, icon packaging, metadata propagation, and fallback behavior are consistent and complete.
Review tier: Balanced
Findings: None
Issues resolved since last review (1)
| Severity | Finding |
|---|---|
src/vs/workbench/electron-browser/actions/windowActions.ts — This makes the lower vs/workbench layer resolve an asset owned by vs/sessions, contrary to the… View resolved comment |
Keep the internal Agents workspace in shared recent history while omitting it from the Windows jump list now that a dedicated task is available. Refresh the CI-provided component fixture hashes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose native icon metadata only for the explicit Agents Window override so regular workspace, folder, and file entries continue using their resource icons. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

--agentsmodesessions.icoasset for the jump-list task and resulting Windows taskbar button, so Stable, Insiders, and Exploration receive matching product-quality brandingCodeWindowicon path through generic opened-window metadataScreenshots
Related issues
Fixes #335321
Fixes #315734
Fixes #315935