Commit Graph

148279 Commits

Author SHA1 Message Date
Megan Rogge
84c404c3d0 improve question carousel accessibility (#293538) 2026-02-06 15:01:35 -08:00
Dmitriy Vasyura
fa6cfe12c6 Metered network connections support (#288919)
Includes public API, user setting, status bar icon and a new service to support metered network connections.
Updates code in various areas performing automated actions using network to delay/pause network operations while network connection is being metered.
2026-02-06 14:52:14 -08:00
Connor Peet
44f6dd4a6d chat: cleanup action states around pending requests 2026-02-06 14:27:26 -08:00
Matt Bierner
acab057679 Merge pull request #283432 from remcohaszing/npm-enable-scripts
Enable npm scripts
2026-02-06 14:05:47 -08:00
dependabot[bot]
aea8c3f92d Bump tar and dmg-builder in /build (#293531)
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.7 and updates ancestor dependency [dmg-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/dmg-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.7
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.7)

Updates `dmg-builder` from 26.5.0 to 26.7.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/dmg-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.7.0/packages/dmg-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
- dependency-name: dmg-builder
  dependency-version: 26.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 21:31:33 +00:00
Don Jayamanne
e0b1c265c4 Support for confirmation with custom buttons via toolcall (#293402)
* Support for confirmation with custom buttons via toolcall

* Updated tests
2026-02-06 13:25:33 -08:00
Connor Peet
806463c51a chat: add drag-and-drop reordering for pending messages (#293512)
Implements drag-and-drop functionality to reorder steering and queued
pending messages within their respective groups. When more than one
message of the same kind is pending, a gripper handle appears on hover
that enables dragging to reorder.

- Adds ChatPendingDragController to manage drag state, insertion
  indicators, and reorder logic via event delegation on the list
  container, keeping logic cleanly isolated from the renderer
- Attaches drag handles to pending request rows via the renderer
  with one-way binding; reorder operations call chatService.setPendingRequests
  which automatically triggers the full refresh chain
- Prevents cross-group reordering: steering messages stay within steering,
  queued messages stay within queued
- Adds CSS for drag handle visibility on hover, dragging state opacity,
  and insertion indicator positioning
- All changes compile cleanly with no layering violations

Fixes https://github.com/microsoft/vscode/issues/293473

(Commit message generated by Copilot)
2026-02-06 12:52:35 -08:00
Henning Dieterichs
5424fce48a Adopts user interaction service in inline completions 2026-02-06 21:52:05 +01:00
Megan Rogge
e0fb0708d3 fix auto reply, ensure default option is provided (#293525) 2026-02-06 12:50:17 -08:00
Courtney Webster
4103069e15 feat: add vision policy handling for image attachments (#292586)
* feat: add vision policy handling for image attachments

* Initial plan

* Make IDefaultAccountService optional in image attachment widgets

Made IDefaultAccountService optional in ImageAttachmentWidget and NotebookCellOutputChatAttachmentWidget to prevent test failures when the service is not stubbed. This follows the existing pattern with ITerminalService and treats missing policy data as "enabled" (vision allowed).

Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>

* add service stub to workbenchTestServices

* use entitlements service

* Update warning message and remove unused imports

* hygeine

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: justschen <justchen@microsoft.com>
Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>
2026-02-06 12:43:26 -08:00
Rob Lourens
94df4cd604 Handle multiple post/preToolUse hooks more correctly (#293517)
* Improve tests

* Handle multiple post/preToolUse hooks more correctly
2026-02-06 20:14:51 +00:00
Rob Lourens
a0b0650767 Add onDidExecuteHook event to HooksExecutionService (#293279)
* Add onDidExecuteHook event to HooksExecutionService

* Fix MockHooksExecutionService to include onDidExecuteHook event

* Extend Disposable instead of using DisposableStore

* Fire onDidExecuteHook event even when no hooks are registered

* Fixes
2026-02-06 20:14:24 +00:00
Megan Rogge
ce2bb21b71 rm any from task files (#293508)
task part of #274723
2026-02-06 12:01:41 -08:00
Benjamin Pasero
107a52d8fa Improve chat setup when extension has error condition (fix #293326) (#293462) 2026-02-06 11:50:32 -08:00
Benjamin Pasero
663d4b3a7d chat / sessions - adopt max-width rule for session title and sessions list when stacked (#293506)
* chat / sessions - adopt `max-width` rule for session title and sessions list when stacked

* Update src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 19:29:22 +00:00
dependabot[bot]
fee2867942 Bump @modelcontextprotocol/sdk from 1.25.2 to 1.26.0 in /test/mcp (#292929)
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.25.2 to 1.26.0.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.2...v1.26.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.26.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-02-06 18:54:04 +00:00
Henning Dieterichs
b80d7d296e Fixes CI 2026-02-06 19:45:25 +01:00
Henning Dieterichs
744f0f3ebe Fixes esbuild issues 2026-02-06 19:45:25 +01:00
dependabot[bot]
527178c097 Bump ghcr.io/devcontainers/features/rust from 1.3.3 to 1.5.0 (#292849)
Bumps ghcr.io/devcontainers/features/rust from 1.3.3 to 1.5.0.

---
updated-dependencies:
- dependency-name: ghcr.io/devcontainers/features/rust
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 10:36:01 -08:00
dependabot[bot]
1de769f5d5 Bump webpack from 5.100.0 to 5.105.0 (#293210)
Bumps [webpack](https://github.com/webpack/webpack) from 5.100.0 to 5.105.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.100.0...v5.105.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.105.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 10:28:09 -08:00
dependabot[bot]
c959e6409e Bump bytes from 1.6.0 to 1.11.1 in /cli (#292663)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.0 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.11.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-version: 1.11.1
  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-02-06 10:27:20 -08:00
Raymond Zhao
35672d1daf feat: move experimental extension settings to the end (#293499) 2026-02-06 18:24:12 +00:00
Rob Lourens
17cc1851bd PostToolUse hook (#293282) 2026-02-06 18:23:45 +00:00
Megan Rogge
1139e72a8d improve accessible view cursor position save/restore reliability (#293493) 2026-02-06 10:18:06 -08:00
Megan Rogge
53149f8a55 retain cursor position per provider so it remains stable while streaming (#293483)
fix #293257
2026-02-06 17:43:32 +00:00
Lee Murray
8bd4f154a0 Merge pull request #293463 from microsoft/mrleemurray/sore-silver-tuna
Adjust z-index values for UI elements
2026-02-06 17:33:52 +00:00
Lee Murray
1c59d61fd0 Merge pull request #293470 from microsoft/mrleemurray/unacceptable-gray-chickadee
Restore box-shadow for activity bar in nosidebar layout
2026-02-06 17:33:18 +00:00
Benjamin Pasero
230e74d24d modal editor - tweak for settings and multi editor support (#293460) 2026-02-06 09:16:57 -08:00
mrleemurray
a20e879af9 fix: restore box-shadow for activity bar in nosidebar layout 2026-02-06 16:38:55 +00:00
copilot-swe-agent[bot]
c308cc9f87 perf: check sentiment before state to avoid unnecessary computation
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2026-02-06 17:36:56 +01:00
copilot-swe-agent[bot]
7704adeb3e refactor: make sentiment check reactive in inline completion status
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2026-02-06 17:36:56 +01:00
copilot-swe-agent[bot]
343885d284 fix: gate inline completion language status on AI features disabled setting
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2026-02-06 17:36:56 +01:00
mrleemurray
e2c000658b Adjust z-index values for UI elements in styles.css 2026-02-06 16:19:15 +00:00
Copilot
7244160219 Use MODAL_GROUP for agent session projection editors (#293390)
* Initial plan

* Update session projection to use MODAL_GROUP for editors

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Simplify chatEditingSession to always use editorService with ACTIVE_GROUP default

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Revert unneeded changes to chatEditingSession and chatEditingService

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2026-02-06 17:06:53 +01:00
Johannes Rieken
a95abce2b3 fix leaking disposables (#293155)
* fix leaking disposables in event handler registrations

Fixes memory leaks caused by using this._register() inside callbacks
that fire multiple times. Each call added entries to the disposable
store that were never cleaned up.

Fixes:
- problemCollectors: register inside onModelRemoved handler
- loadedScriptsView: session listeners without per-session cleanup
- debugActionViewItems: existing sessions not tracked for cleanup
- terminalTaskSystem: register inside terminate() method
- textAreaEditContextInput: register inside runAndSubscribe callback
- terminal.history.contribution: register inside onDidAddCapability
- terminalInstance: nested register in capability handler
- storageMainService: per-profile listeners accumulating

* fix leaking disposables in storage test
2026-02-06 10:06:29 -06:00
Harald Kirschner
5dcb935e32 Add accessibility instructions for AI coding agents (#293290) 2026-02-06 10:05:47 -06:00
Copilot
f493ad389b Fix text/uri-list transformation in tree view drag for remote environments (#292818)
* Initial plan

* Fix text/uri-list transformation in tree view drag and drop for remote environments

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Improve variable naming in handleDrag test

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2026-02-06 15:58:21 +00:00
Alex Ross
fdfcc5f037 Fix some leaks (#293406)
* Fix some leaks
Part of #293200

* Copilot PR feedback
2026-02-06 15:52:22 +00:00
Osvaldo Ortega
b83d48d126 Use cache for welcome view 2026-02-06 16:42:36 +01:00
Lee Murray
f00d9a6204 Merge pull request #293433 from microsoft/mrleemurray/normal-maroon-hippopotamus
Update extension button styles and improve button hierarchy in extension detail view
2026-02-06 15:23:51 +00:00
Benjamin Pasero
a319065e92 modal editor tweaks (#293434)
* modal dailog tweaks

* .
2026-02-06 15:21:10 +00:00
Lee Murray
820b0f8a43 Merge pull request #293437 from microsoft/mrleemurray/comfortable-amber-gibbon
Update button and badge colors in 2026 Dark theme for better visibility
2026-02-06 15:13:16 +00:00
mrleemurray
11eabe1e23 Update button and badge colors in 2026 Dark theme for better visibility 2026-02-06 14:46:58 +00:00
mrleemurray
599949677a Update extension button styles and improve button hierarchy in extension detail view 2026-02-06 14:33:30 +00:00
Alex Ross
70c1d6422d Fix leak in simple file dialog (#293411)
Part of #293200
2026-02-06 13:55:46 +00:00
Remco Haszing
c9586c2b48 Enable npm scripts
Due to recent attacks on the JavaScript ecosystem I decided to add
`ignore-scripts=true` to `~/.npmrc`. However, the VSCode repository
depends on npm scripts for local development. To support this situation,
I added `ignore-scripts=false` to `.npmrc` in the repo.
2026-02-06 14:43:52 +01:00
Alex Ross
ec6a15b42c Fix leaks in port auto forwarding (#293409)
Part of #293200
2026-02-06 13:37:41 +00:00
Dmitriy Vasyura
5bbc012796 Render update action button in release notes webview (#293211)
* Render update action button in release notes webview

* PR feedback
2026-02-06 14:33:45 +01:00
Dmitriy Vasyura
58f24e2fa2 Remove extra parentheses from ShouldUpdateShortcut checks in code.iss (#293385) 2026-02-06 14:33:13 +01:00
Henning Dieterichs
78715f5792 Fixes CI 2026-02-06 14:04:23 +01:00