Paul
00a718eb5c
Add incremental chat rendering experiment ( #310801 )
2026-04-17 19:25:09 +00:00
Osvaldo Ortega
ea6aac971b
Agents tunnels: auto-reconnect with backoff and wake-triggered retry ( #310868 )
...
* Agents tunnels: auto-reconnect with backoff and wake-triggered retry
Tunnel-backed remote agent hosts previously had no auto-reconnect
behavior — on laptop sleep / network drop the tunnel would flip to
Disconnected and stay there until the user manually retried.
This adds a reconnect loop inside TunnelAgentHostContribution:
- Detect Connected→Disconnected transitions for still-cached tunnels
and schedule an immediate reconnect. Only fires when the entry is
explicitly Disconnected — if the entry has been removed (e.g. user
clicked "Remove Remote"), we honour the removal and do not reconnect.
- Exponential backoff on consecutive failures: 1s → 30s cap, up to
10 attempts, then pause.
- Wake-triggered retry: on browser `online` or tab
`visibilitychange` → visible, resume any paused reconnects.
Rate-limited to one resume per 10s so rapid tab toggling can't
hammer a permanently broken endpoint with unbounded attempt bursts.
- Prune all reconnect state when a tunnel is uncached or the
contribution is disposed.
* Review comment
Co-authored-by: Copilot <copilot@github.com >
* Telemetry
Co-authored-by: Copilot <copilot@github.com >
* Clean up
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 19:07:05 +00:00
Connor Peet
99c9ee1a5b
agentHost: fix bugs around message handling ( #311054 )
...
* agentHost: fix bugs around message handling
- Fix a bug where a sessions were not restored correctly because they
had in-progress data (that is the move of the `providedSession.isCompleteObs?.get()`)
- Fix a bug where sessions that supported progress streaming would not
have sendable messages if they were already complete (that is the
addition of `this._pendingRequests.deleteAndDispose(model.sessionResource);`)
- Fix a bug in the agent host where we didn't provide `onDidStartServerRequest`
consistently which often prevented multi-client messaging from working
- DRY up some logic and add tests
* comments
2026-04-17 12:06:11 -07:00
Maruthan G
8dac599754
fix(terminal-chat): dedupe terminal tool-session registrations to prevent listener leak ( #309906 ) ( #310740 )
2026-04-17 18:54:41 +00:00
vs-code-engineering[bot]
99a3906d67
Update distro commit (main) ( #311059 )
...
Update distro commit to cccc9754
Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
2026-04-17 18:51:23 +00:00
Kyle Cutler
3704d95c91
Support frames / workers in browser CDP ( #311049 )
...
* Support frames / workers in browser CDP
Co-authored-by: Copilot <copilot@github.com >
* path fix
Co-authored-by: Copilot <copilot@github.com >
* feedback
* Normalize blank URLs
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 11:47:17 -07:00
Josh Spicer
5027dde858
Add back button to AI customization section screens ( #310881 )
...
* Add back button to AI customization section screens
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Move back button to left of search box
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Align editor/detail back button position with section back arrow
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Top-align section back arrow with editor header back button
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Add fixtures for editor/detail views to verify back-button alignment
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Top-align editor/detail back button to match section arrow
The .editor-header has align-items: center and contains a multi-line title
(name + filename), causing the 26px back button to drift down when centered
in the taller row. Pin it to flex-start so it sits at top of the padding
box, exactly where the section back arrow sits.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 11:31:48 -07:00
Josh Spicer
960abe8998
Always open overview from sidebar customization entrypoints ( #311050 )
...
Follow-up to #310871 : the sidebar entrypoint actions (Agents, Skills,
Instructions, Hooks, MCP Servers, Plugins) still called
selectSectionById after opening the editor, which deep-linked into
the section instead of showing the overview.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 18:23:35 +00:00
Bhavya U
c78e004e28
Warm-cache gate for inline background summarization ( #311047 )
...
Adds a pure helper shouldKickOffBackgroundSummarization that gates the
post-render background compaction trigger based on prompt-cache warmth:
- inline + warm cache (toolCallRounds.length > 0): jittered threshold in
[0.78, 0.82) straddling the historical 0.80 edge.
- inline + cold cache: emergency kick-off at >= 0.90 to keep long-running
sessions from hitting sync foreground compaction.
- non-inline: unchanged >= 0.80.
The rng is injected via a private field so tests are deterministic and
the warm-only jitter path is exercised without touching Math.random.
2026-04-17 14:14:51 -04:00
Courtney Webster
15248d52dd
Merge pull request #311042 from microsoft/remove-onboarding-extensions-step
...
Remove extensions step from onboarding
2026-04-17 13:10:25 -05:00
Courtney Webster
0e3e05d98a
Merge pull request #310169 from microsoft/respectable-aardwolf
...
Disabling walkthrough for web
2026-04-17 13:03:48 -05:00
Connor Peet
8c03967ae9
Merge pull request #311025 from microsoft/connor4312/readfile-diffs
...
agentHost: show rich diffs when requesting write confirmations
2026-04-17 13:57:59 -04:00
Josh Spicer
377feb62b4
chat customizations: splash when MCP/plugins disabled ( #310847 )
...
Block the MCP servers and Plugins tabs in the chat customizations editor
when their respective access settings are disabled, including via
enterprise policy.
- McpListWidget watches `chat.mcp.access`; shows splash when value is
`none`. If `policyValue === 'none'`, shows policy-locked message and
hides the "Open Setting" button.
- PluginListWidget watches `chat.plugins.enabled` with the same
user/policy distinction.
- Reuse `.mcp-list-widget` root class so the new `.mcp-disabled-state`
CSS applies to both widgets via a single `.access-disabled` modifier.
- Add Dark/Light fixtures for both widgets in user-disabled and
policy-locked states (8 new screenshots).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 17:49:27 +00:00
dependabot[bot]
7d224d9546
build(deps): bump rand from 0.8.5 to 0.9.3 in /cli ( #309689 )
...
* build(deps): bump rand from 0.8.5 to 0.9.3 in /cli
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.5 to 0.9.3.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.3 )
---
updated-dependencies:
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix clippy lint warnings after rand 0.8.5 → 0.9.3 upgrade
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/8e6151a9-d6c4-42c0-9e9e-e8e384b8ce48
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com >
2026-04-17 10:31:19 -07:00
Megan Rogge
251d09925e
Fix unescaped icon and undefined text in terminal tool confirmations ( #311037 )
...
fix some issues
2026-04-17 13:21:13 -04:00
Connor Peet
1830427c43
more build
2026-04-17 10:03:38 -07:00
cwebster-99
7c2a50c979
Remove extensions step from onboarding
2026-04-17 11:44:15 -05:00
Rob Lourens
e44fc34055
Remove noisy log ( #311034 )
2026-04-17 16:39:59 +00:00
Hawk Ticehurst
b82b1848fe
sessions: add subtle border to GH profile image ( #311036 )
...
sessions: add subtle account avatar border
Use the existing command center border tokens for the GitHub profile image so the avatar reads cleanly against active and inactive titlebar chrome.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 12:37:38 -04:00
Ladislau Szomoru
20298ed3a8
Background - use merge-base commit for the left hand side of the diff editor ( #311026 )
...
* Background - use merge-base commit for the left hand side of the diff editor
2026-04-17 16:36:58 +00:00
Connor Peet
6476a36e10
build and tests:
2026-04-17 09:30:34 -07:00
Henning Dieterichs
2cc8b21a3a
Updates component explorer
2026-04-17 18:29:29 +02:00
Martin Aeschlimann
9677ab2714
Use 'sessionTypes' to filter chat customizations in UI, 'when' only in promptsService ( #310999 )
...
* Use 'sessionTypes' to filter chat customizations in UI, 'when' only in promptsService
Co-authored-by: Copilot <copilot@github.com >
* update
* correctly handle when from providers
Co-authored-by: Copilot <copilot@github.com >
* fix compile error
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 16:25:48 +00:00
Connor Peet
a1427eeb1a
Merge remote-tracking branch 'origin/main' into connor4312/readfile-diffs
2026-04-17 09:14:21 -07:00
Maruthan G
27bc1e2593
fix(chat): cancel in-flight streaming tool invocations when response is cancelled ( #288701 ) ( #310979 )
2026-04-17 16:11:58 +00:00
Megan Rogge
7d58583b70
Fix run_in_terminal wedging when cached terminal is disposed ( #311019 )
...
fix issues with disposed terminal
2026-04-17 09:06:27 -07:00
Connor Peet
32162cfcae
agentHost: fix client-provided tool weirdness ( #310870 )
...
* agentHost: fix client-provided tool weirdness
There was a few weird stuff with client-provided tools still, especially
those that needed confirmations. These would generally just hang.
Now they don't.
* tests
2026-04-17 16:00:42 +00:00
Connor Peet
b6453f2d02
comments
2026-04-17 08:54:55 -07:00
Connor Peet
70eb8cf48a
Merge remote-tracking branch 'origin/main' into connor4312/readfile-diffs
2026-04-17 08:52:03 -07:00
dependabot[bot]
8a9f429548
Bump protobufjs from 7.5.4 to 7.5.5 in /extensions/copilot ( #311017 )
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 7.5.4 to 7.5.5.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.4...protobufjs-v7.5.5 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-version: 7.5.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 15:49:36 +00:00
Connor Peet
a2437aa47e
agentHost: show rich diffs when requesting write confirmations
2026-04-17 08:46:44 -07:00
Megan Rogge
b5e65eb70f
add hover to ask questions tool ( #311015 )
...
fixes #310886
2026-04-17 08:46:14 -07:00
Lee Murray
55c09886c7
Merge pull request #310943 from microsoft/mrleemurray/agents-multi-diff-polish
...
Enhance appearance of editor and multiDiffEntry in agent sessions workbench
2026-04-17 16:31:30 +01:00
Rob Lourens
af59b1399f
Fix shell tool 'Running' message to render as Markdown ( #311013 )
...
The invocation message for shell tools (e.g. 'Running `command`') was
returned as a plain string, so backtick formatting was not rendered in the
chat UI. The past-tense 'Ran `command`' message already used the md()
wrapper and rendered correctly.
Wrap the shell invocation message with md() so the renderer treats it as
Markdown, matching the past-tense case.
(Written by Copilot)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 17:23:12 +02:00
dependabot[bot]
db40a9e19d
Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http in /extensions/copilot ( #310874 )
...
Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) to 7.5.5 and updates ancestor dependencies [protobufjs](https://github.com/protobufjs/protobuf.js ), [@opentelemetry/exporter-logs-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js ), [@opentelemetry/exporter-logs-otlp-http](https://github.com/open-telemetry/opentelemetry-js ), [@opentelemetry/exporter-metrics-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js ), [@opentelemetry/exporter-metrics-otlp-http](https://github.com/open-telemetry/opentelemetry-js ), [@opentelemetry/exporter-trace-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js ) and [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js ). These dependencies need to be updated together.
Updates `protobufjs` from 8.0.0 to 7.5.5
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v8.0.0...protobufjs-v7.5.5 )
Updates `@opentelemetry/exporter-logs-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
Updates `@opentelemetry/exporter-logs-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
Updates `@opentelemetry/exporter-metrics-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
Updates `@opentelemetry/exporter-metrics-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
Updates `@opentelemetry/exporter-trace-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
Updates `@opentelemetry/exporter-trace-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-version: 7.5.5
dependency-type: indirect
- dependency-name: "@opentelemetry/exporter-logs-otlp-grpc"
dependency-version: 0.214.0
dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-logs-otlp-http"
dependency-version: 0.214.0
dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-grpc"
dependency-version: 0.214.0
dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-http"
dependency-version: 0.214.0
dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-grpc"
dependency-version: 0.214.0
dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
dependency-version: 0.214.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 08:14:41 -07:00
Megan Rogge
7ff56b6101
Do not move fg terminal to the bg when it needs input, fix regression ( #311011 )
2026-04-17 15:10:59 +00:00
Johannes Rieken
f9dee7642c
inlineChat: improve zone menu tests to evaluate when-clauses against context keys ( #311004 )
2026-04-17 11:09:10 -04:00
Logan Ramos
ace385c3f4
Improve Chat quota rendering ( #310997 )
...
* Work on overage display
Co-authored-by: Copilot <copilot@github.com >
* Improve chat quota rendering
Co-authored-by: Copilot <copilot@github.com >
* Update comment
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 07:00:41 -07:00
Lee Murray
bdab91719b
Merge branch 'main' into mrleemurray/agents-multi-diff-polish
2026-04-17 14:50:09 +01:00
Ladislau Szomoru
557c83176b
Agents - tweak diff editor settings for better experience ( #310995 )
2026-04-17 13:26:17 +00:00
Lee Murray
57d9b71457
Agents: Enhance scrollbar appearance in agents app ( #310978 )
...
* style: enhance scrollbar appearance in agents app with rounded sliders
Co-authored-by: Copilot <copilot@github.com >
* Update src/vs/sessions/browser/media/style.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/vs/sessions/browser/media/style.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com >
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-17 15:03:01 +02:00
Ladislau Szomoru
98a463d592
Agents - add maximize/restore actions to the editor part ( #310980 )
...
* Agents - add maximize/restore actions to the editor part
* Update src/vs/sessions/browser/parts/media/editorPart.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Layout fixes
* Pull request feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-17 12:59:20 +00:00
Ladislau Szomoru
ae83cd9be9
Agents - fix regression with working sets when switching to a new session ( #310968 )
...
* Agents - fix regression with working sets when switching to a new session
* Pull request feedback
2026-04-17 13:52:39 +02:00
Johannes Rieken
34567bcd2f
Merge pull request #309159 from maruthang/fix/issue-309042-listener-leak-language-status
...
fix: prevent listener leak from duplicate status IDs in language status (#309042 )
2026-04-17 13:13:27 +02:00
Lee Murray
732e0ca3de
Agents: Update AI customization input styles for agents chat ( #310964 )
...
* style: update AI customization input styles for agents chat
Co-authored-by: Copilot <copilot@github.com >
* Update src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com >
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-17 11:10:35 +00:00
Alex Ross
6cda49d9db
Allow list commands for the run command tool ( #310959 )
...
Part of #302411
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 10:33:52 +00:00
Johannes Rieken
24f16738b8
chat: have register*Actions return DisposableStore ( #310956 )
...
* chat: have register*Actions return DisposableStore
Allows tests to register and dispose chat actions per suite, avoiding "Cannot register two commands with the same id" errors when multiple test files contribute the same actions.
Also adds inlineChatZoneMenus.test.ts as a snapshot guard for the four MenuIds the inline chat zone widget hosts.
* feat(chat): add inline chat zone widget fixture and menu item registrations
2026-04-17 12:15:53 +02:00
mrleemurray
4f7497aaa9
style: enable header click-to-collapse functionality with keyboard support and ARIA semantics
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 10:50:07 +01:00
mrleemurray
4b41501646
style: refine multiDiffEntry header focus styles and remove bottom border for improved aesthetics
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-17 10:42:40 +01:00
Lee Murray
5ede732082
Merge pull request #310711 from microsoft/mrleemurray/conventional-blue-flea
...
Agents: Refactor AI customization welcome prompts styles
2026-04-17 10:41:34 +01:00