Commit Graph

145339 Commits

Author SHA1 Message Date
Johannes 2b8a35bb03 Merge branch 'main' into joh/esbuild-the-things 2026-02-04 09:11:45 +01:00
Christof Marti 519788fbcb @vscode/proxy-agent 0.38.0 (#289736) 2026-02-04 08:49:34 +01:00
Joaquín Ruales d3dbc037c0 Prepopulate the Find in Page search text with the currently selected text in the page (#291800)
* Prepopulate Find textbox

* Add warning taken from preload.ts

* Small changes

* Refactor preload script comments for clarity and security emphasis

* Small comment change

* Small comment change

* Update comment

* Use isolated world instead of main world

* Comment update

* Update comment

* Update comment

* PR Feedback

* Small comment
2026-02-03 22:48:14 -08:00
Connor Peet 7d015abeb4 Merge pull request #292775 from microsoft/connor4312/queuing-polishes
chat: polishes for steering/queued messages
2026-02-03 22:41:49 -08:00
Johannes ed6fcf28c2 feat: add esbuild transpile task with support for excluding test files and customizable output directory 2026-02-04 07:38:05 +01:00
Connor Peet 0f6461f9a1 chat: polishes for steering/queued messages
Steering messages are not quite wired up in the extension but I'm happy
with the UX. Quick runthrough of various states: https://memes.peet.io/img/26-02-81ac36ef-1319-46b2-9093-3c05628291dc.mp4

Incidentally fixes #278614 since I ran into that same bug here.

Refs #260330
2026-02-03 22:17:50 -08:00
Rob Lourens 7914379935 Restructure hook execution to always go through the renderer process (#292763)
* Restructure hook execution to always go through the renderer process
Add output channel

* cleanup

* Fixes
2026-02-04 05:03:06 +00:00
Dmitriy Vasyura 6976ad0b78 Fix product icon not rendering in updates status bar entry (#292759) 2026-02-03 20:31:16 -08:00
Matt Bierner bc72d94dc2 Merge pull request #292757 from mjbvz/dev/mjbvz/lonely-felidae
Fix source maps for extensions after tsgo
2026-02-03 20:21:57 -08:00
Copilot 9140aa3deb Fix redundant "Checkbox for Step" in walkthrough step aria-labels (#292645) 2026-02-03 21:38:28 -06:00
Matt Bierner 3cd367d42a Fix source maps for extensions after tsgo
Overlooked that these aren't generated anymore
2026-02-03 19:21:35 -08:00
Paul dd69bcaa41 Add initial hooks support (#292699) 2026-02-04 01:32:57 +00:00
Raymond Zhao f4ce567e5d Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-language-features" (#292712)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-l…"

This reverts commit 371cab2e9f.
2026-02-04 01:29:07 +00:00
Raymond Zhao f0a58da7a9 Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-language-features" (#292714)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-…"

This reverts commit b9e4c0b6f3.
2026-02-03 17:12:53 -08:00
Raymond Zhao 02df3fbaa3 Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-language-features" (#292713)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-…"

This reverts commit 24ece11e9f.
2026-02-03 17:12:32 -08:00
Dmitriy Vasyura d158e4e0cf Update status bar item with hovers (#292136)
* Update status bar item with hovers

* PR feedback, revert test change

* Added setting to control update status bar visibility

* Rename 'onAction' to 'actionable' for update status bar setting

* Bug fixes

* Fix flaky tests
2026-02-04 00:50:05 +00:00
Justin Chen ce9651315f fix selection, accessibility, and keyboard bug (#292709) 2026-02-03 16:07:08 -08:00
Rob Lourens 68e1b20ce9 Fix quick chat layout (#292705)
* Fix quick chat layout
Fix #292545

* Simplify
2026-02-03 23:35:26 +00:00
Matt Bierner dba5f79770 Merge pull request #292704 from mjbvz/dev/mjbvz/isolated-quokka
Switch to standard import in build file
2026-02-03 15:24:25 -08:00
Sandeep Somavarapu eeed26e53b fix uninstalling deprecated extensions in all profiles (#292694)
* fix uninstalling deprecated extensions in all profiles

* fix tests
2026-02-03 23:20:23 +00:00
Matt Bierner 2c03cf9542 Merge pull request #292461 from microsoft/dev/mjbvz/ext-ts-go
Use ts-go for building our extensions
2026-02-03 14:58:55 -08:00
Connor Peet 4f19550a0a Merge pull request #292667 from microsoft/connor4312/292174
sessions: prevent transferring a disposed editing session
2026-02-03 14:55:19 -08:00
Logan Ramos e2e8686a96 Fix double focus (#292691)
Fix double hover
2026-02-03 14:50:44 -08:00
Robo d0e516655a fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS

* chore: update test/automation/src/electron.ts

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

* chore: update test/automation/src/electron.ts

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

* chore: rename in additional places

* chore: rename in code-perf.js

* chore: create symlink for backwards compatibility

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 14:50:21 -08:00
Matt Bierner a80927010b Switch to standard import in build file
Weird destructing artifact from js -> ts rewrite was messing up references
2026-02-03 14:44:24 -08:00
Copilot 1296bc9947 Gate Simple Browser "Add element to chat" overlay on AI feature settings with immediate toggling (#292679)
* Initial plan

* Add ChatContextKeys.enabled check to Simple Browser overlay

- Import ChatContextKeys and observableContextKey
- Add IContextKeyService injection to SimpleBrowserOverlayController
- Check ChatContextKeys.enabled in constructor (early exit if disabled)
- Observe chatEnabled state reactively in autorun to hide overlay when AI features are disabled
- Hide overlay when either chat is disabled or no active editor

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Remove trailing whitespace

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Fix overlay reappearing when AI features are re-enabled

Remove early exit check for ChatContextKeys.enabled in constructor.
The reactive autorun already handles showing/hiding based on chat
enabled state, so the controller should always initialize to allow
dynamic toggling of AI features without requiring VS Code restart.

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Make chat.sendElementsToChat.enabled reactive for immediate toggling

- Import observableConfigValue utility
- Remove early exit check for sendElementsToChat.enabled
- Create observable for chat.sendElementsToChat.enabled configuration
- Update autorun to also check isSendElementsEnabled
- Overlay now shows/hides immediately when toggling both chat.disableAIFeatures and chat.sendElementsToChat.enabled

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Fix default

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>
2026-02-03 22:19:42 +00:00
Anthony Kim a7f6a57c18 Update distro (#292681)
Update distro for env extension taskExecution
2026-02-03 21:45:48 +00:00
Megan Rogge 80e6a921e8 add aria label for todo clear button, fix a11y smoketest violation (#292671)
fixes #292665
2026-02-03 13:10:06 -08:00
Osvaldo Ortega 74859618a1 Merge pull request #292568 from microsoft/osortega/inner-squid
Fix for agent sessions welcome close telemetry
2026-02-03 22:07:52 +01:00
Connor Peet 878ef9c524 chat: initial rough draft of request queuing (#292619)
* chat: initial wip on request queuing

* make it work reasonably
2026-02-03 13:01:29 -08:00
Matt Bierner 236d448b6a Merge pull request #292635 from mjbvz/dev/mjbvz/light-lamprey
Remove default formatter workspace setting for js/ts
2026-02-03 13:00:33 -08:00
dependabot[bot] b9e4c0b6f3 Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-language-features (#292656)
Bump @isaacs/brace-expansion in /extensions/html-language-features

Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1.

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 20:22:19 +00:00
dependabot[bot] 24ece11e9f Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-language-features (#292651)
Bump @isaacs/brace-expansion in /extensions/json-language-features

Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1.

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 20:21:46 +00:00
Connor Peet 1cf3239362 sessions: prevent transferring a disposed editing session
Since https://github.com/microsoft/vscode/commit/ebaa450e15ddf03d2350a7264a3e931dce0eeb4b the following sequence can happen:

0. User triggers and then closes UI for a new background session
1. An agent makes edits to files in a background chat session
2. The files are modified in the session, and then kept automatically
3. The untitled chat completes. Because there is now no active UI and
   newly no modified files in the session (so the self-refs in ChatModel
	 constructor/startEditingSession are not being maintained) the session
	 is disposed.
4. Migration from the untitled->titled session happens. However as the
   session is now disposed, when the edit session is transferred, the
	 text models used to drive the edit session is gone and the migration
	 fails.
5. This leaves the world in a torn state and causes #292174.

Fix was to address the underlying issue and hold a reference to the
untitled session while the migration happened to avoid transferring
disposed model.
2026-02-03 12:18:40 -08:00
dependabot[bot] 371cab2e9f Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-language-features (#292649)
Bump @isaacs/brace-expansion in /extensions/css-language-features

Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1.

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 20:11:05 +00:00
Matt Bierner bc109e54db Merge pull request #292646 from mjbvz/dev/mjbvz/junior-hedgehog
Don't return providers in `IChatSessionsService` methods
2026-02-03 11:55:26 -08:00
Matt Bierner d8e3c0dfd1 Merge pull request #292638 from mjbvz/dev/mjbvz/embarrassing-monkey
Update monaco to target lib es2024
2026-02-03 11:43:46 -08:00
Matt Bierner 8a88f5e295 Merge pull request #292642 from mjbvz/dev/mjbvz/fancy-badger
Remove `notifySessionItemsChanged`
2026-02-03 11:43:21 -08:00
Johannes cacf5f84fc feat: enhance finalizeNLS to support writing to multiple output directories for backwards compatibility 2026-02-03 20:36:55 +01:00
Matt Bierner 23bc47dbab Don't return providers in IChatSessionsService
Further trying to clean up interface so that `IChatSessionsService` consumers don't know about providers directly
2026-02-03 11:28:59 -08:00
Copilot e88024b4a3 Fix model name overflow in chat footer with ellipsis (#292616)
* Initial plan

* Add text-overflow ellipsis to chat footer details

Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
Co-authored-by: Logan Ramos <lramos15@gmail.com>
2026-02-03 14:24:28 -05:00
Matt Bierner c6c320ff64 Remove notifySessionItemsChanged
afaik `notifySessionItemsChanged` is only used in tests and the tests it is used in seem to be testing `notifySessionItemsChanged` 🙃
2026-02-03 11:23:17 -08:00
Matt Bierner c2fdbaa74e Merge pull request #292626 from mjbvz/dev/mjbvz/consistent-scallop
Reduce exposure of `IChatSessionItemProvider`
2026-02-03 11:21:46 -08:00
Matt Bierner 89e6741fdb Update monaco to target lib es2024
Follow up on #271145

This aligns monaco with our main tsconfig target. Tries adopting `findLastIndex` to verify
2026-02-03 11:11:15 -08:00
Matt Bierner d3bcb12f2f Merge pull request #292604 from microsoft/dev/mjbvz/solar-whippet
Use better uri checking for webview resource roots
2026-02-03 11:08:16 -08:00
Megan Rogge 2f87e3fa5d add chat response tests, discover and fix a11y issues (#286622) 2026-02-03 11:06:14 -08:00
Matt Bierner cf4611570b Remove default formatter workspace setting for js/ts
This is needed so that we can switch between the ts6 and ts-go without having to change any settings. Longer term the plan is to make ts-go reuse the same formatter id. We will make that change once we ship tsgo builtin
2026-02-03 11:05:24 -08:00
Matt Bierner 5a76a426cd Merge branch 'main' into dev/mjbvz/ext-ts-go 2026-02-03 11:02:05 -08:00
Kyle Cutler 1d64e1e1d0 Browser: clean up command visibility (#292627) 2026-02-03 18:48:29 +00:00
Matt Bierner 19f4d8d2ef Update MockChatSessionsService too 2026-02-03 10:32:54 -08:00