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
Christof Marti
2fd6a33c04
Surface power API
2026-02-05 16:57:40 +01:00
Sandeep Somavarapu
d4d37b83e0
Add proposed API support for agent sessions workspace ( #290385 )
...
* Add proposed API support for agent sessions workspace
* add access to agentSessionsWorkspace proposed api
2026-01-26 16:05:36 +00:00
Dmitriy Vasyura
aa19df565f
Portable mode improvements and bug fixes ( #287063 )
...
Disabled protocol handlers and registry updates on Windows in portable mode.
Added API proposal to detect if VS Code is running in portable mode from extensions.
Skipped protocol redirect in GitHub authentication in portable mode.
2026-01-24 13:22:53 +01:00
Don Jayamanne
2fd8c70fa1
mcp: expose MCP server definitions to ext host ( #288798 )
...
* Expose MCP server definitions to ext host
* Fixes
* Update src/vs/workbench/api/common/extHostTypeConverters.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/vs/workbench/api/browser/mainThreadMcp.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address review comments
* address review comments
* Reuse McpServerDefinition.Serialized instead of custom DTOs (#289165 )
* Initial plan
* Reuse McpServerDefinition.Serialized instead of custom DTO interfaces
Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-01-20 14:45:55 -08:00
Dmitriy Vasyura
fa6c146385
Finalize quickInputButtonLocation API proposal
2026-01-07 17:35:45 +01:00
Tyler James Leonhardt
cbc91ee43b
Revert "Finalize quickPickButtonLocation API proposal" ( #285984 )
2026-01-05 11:29:58 -08:00
Dmitriy Vasyura
d9835cfa08
Finalize quickInputButtonLocation API proposal
2025-12-18 19:36:56 -08:00
Dmitriy Vasyura
56555a8bf1
Finalize quickPickItemResource API proposal ( #283877 )
2025-12-16 19:11:02 +00:00
dependabot[bot]
7971753268
Bump node-forge from 1.3.1 to 1.3.2 in /extensions/vscode-api-tests ( #279673 )
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-version: 1.3.2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 18:40:24 +00:00
Matt Bierner
723aa849c9
Convert gulpfiles to modules
...
Makes a pass through our top level gulpfiles to convert them to modules
2025-11-11 15:28:50 -08:00
Dmitriy Vasyura
bfba6b040c
Add toggle support for QuickInput/QuickPick, resourceUri support for QuickPickItem ( #271598 )
...
* Add quickPickItemResource API proposal
* Transfer resourceUri from extension host to main thread.
* Make proposed API checks consistent.
* Process resourceUri
* Fix up resourceUri mapping logic
* API proposal
* Transfer toggles from extension host to main thread
* Support Folder icon, refactor label/description derivation.
* Update
* Update API proposal per API review
* Update transfer logic per API changes
* Move toggles to the base input interface
* Handle toggle button type
* Fix up
* Updates
* Propagate checked state, dispose removed toggles.
* Nit
* Expand icons
* Feedback/updates
* Added comments, PR feedback
* Updates
* Revert some change, add typings and unit-tests to converters.
* Add a quick pick test for resourceUri
* Test updates
2025-10-18 15:57:07 -07:00
Rob Lourens
ec8586ef25
Add isModelProxyAvailable ( #271872 )
...
* Add isModelProxyAvailable
* tests
2025-10-16 21:11:11 -07:00
Matt Bierner
98b069c041
Work towards getting isolated built-in extension compiles
...
For #271167
This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Benjamin Pasero
8a48ecc72b
chat - towards experimental anonymous access ( #265806 )
2025-09-09 14:15:50 +00:00
Alexandru Dima
2617e6ca16
Add proposed API for code and model inline completions unification ( #265101 )
...
* Add proposed API for code and model inline completions unification
* Remove the assertion from the event
* Allow api tests to use new API
2025-09-04 11:23:57 +02:00
Logan Ramos
a18d41e90a
Finalize LM API ( #263415 )
...
* Finalize BYOK API
* More byok
* Fix compile errors
* Feedback
* Fix fat fingering
* Fix capabilities
* Bump version
* Rename contrib point + activation events
* Update test
* Add proposed api check to require authorization
* Change comment
2025-08-27 17:25:34 +00:00
Ross Wollman
58c4c3bf4b
Wait for agent loop to finish in automation ( #262370 )
...
* add `workbench.action.chat.open::waitForComplete`
* s/waitForCompletion/blockOnResponse
* cleanup tests
* remove unused comment
* Apply suggestion from @connor4312
Co-authored-by: Connor Peet <connor@peet.io >
* fixup tests
* don't block test loop on invokeTool
* Revert "don't block test loop on invokeTool"
This reverts commit d8d16dbe79 .
* fix tool confirmation test
* attempt to account for the flip of isPendingConfirmation
* [DEBUG] debug CI flake
* register tool so it exists in all test envs
* finish configuring custom tool
* run test in seperate chat windows
* revert debug changes
* remove timeout dep
* fix assertion
* cleaup tests by examining output of command directly
---------
Co-authored-by: Connor Peet <connor@peet.io >
2025-08-20 10:13:48 -07:00
Rob Lourens
d8af289890
Support chat participants in agent mode ( #256113 )
...
* Allow participants in any mode
Fix #255921
* Get rid of unneeded context keys
* Preserve modes for default agents
* Fix tests
* Fix test
2025-07-16 00:37:20 +02:00
Ladislau Szomoru
78bf07b5ce
Engineering - remove unused proposal ( #248729 )
2025-05-12 07:51:50 -07:00
Robo
12326f9906
chore: update to Electron 35 ( #245423 )
...
* chore: bump electron@35.0.1
* chore: update types/node@22.x
* chore: update web types for node v22.x
* chore: bump electron@35.1.2
* chore: update node.js build
* chore: update app.dock usage
Refs 71f3ff6bf2
* chore: bump electron@35.1.4
* chore: bump electron@35.1.5
* ci: bump sysroot to glibc 2.28 and gcc 10.5.0
* ci: enable timeout for smoketests
* chore: bump min glibcxx to 3.4.26 for server
* Revert "ci: enable timeout for smoketests"
This reverts commit afb637e85d .
* chore: update debian dependencies
* fix: workaround npm.ps1 argument parsing with powershell
* chore: update rpm dependencies
* test: partially revert changes from 242535
* test: remove redudant keybinding dispatch for selectTab
* test: fix test failure from running configured tasks
* test: focus settings editor for preferences.test.ts
* node - adopt compile cache (#246835 )
* node - adopt compile cache
* adopt for utility process
* tweaks
* log state of compilation cache
* Revert "log state of compilation cache"
This reverts commit f3840387a583013834762e2c44f6e8424929297f.
* Revert "node - adopt compile cache (#246835 )"
This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.
* chore: update builds
* chore: bump electron@35.2.0
* chore: bump electron@35.2.1
* chore: bump electron@35.2.2
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2025-05-09 19:03:36 +09:00
Benjamin Pasero
f0ee501c7f
API: Finalise text document encoding ( fix #241449 ) ( #246016 )
...
* API: Finalise text document encoding (fix #241449 )
* address feedback
2025-04-10 18:28:21 +00:00
Tyler James Leonhardt
c244b199e2
Delete Unused API ( #244529 )
...
ref https://github.com/microsoft/vscode/issues/243615
2025-03-25 01:48:56 +01:00
Tyler James Leonhardt
558d5df792
Add proposed API for trusted domains and for web page extraction ( #243811 )
...
* Add proposed API for trusted domains and for web page extraction
I don't love the shape of this API but I'm going with this for now to play with it.
This will help Chat provide contents of web pages as context but also allow it full control of the tool.
ref https://github.com/microsoft/vscode/issues/243615
* use a different url
* delete the test until we have a good way to mock
2025-03-17 22:26:13 +01:00
Benjamin Pasero
a870e67290
documents - expose encoding as proposed API (part of #824 ) ( #240790 )
2025-02-14 15:31:51 +01:00
Ladislau Szomoru
428eb0cc55
API - cleanup API proposals ( #240418 )
2025-02-11 20:30:32 +01:00
Martin Aeschlimann
37a00332c7
remove old MappedEditsProvider
2025-01-15 21:21:58 +01:00
Matt Bierner
4daea74ba9
Finalize paste api and drop api tweaks
...
Fixes #30066
This finalizes the documentPaste api. This api allows extensions to attach metadata on text copy and change how content is pasted. Some examples:
- Updating imports for pasted code
- Inserting an image as an attachment in notebooks
- Pasting files converts them to relative text paths
2025-01-07 14:57:16 -08:00
Tyler James Leonhardt
15333a70d8
Implement a handle property that is a string ( #233267 )
...
* Implement a `handle` property that is a string
For Microsoft auth
* fix integration tests
2024-11-07 09:44:37 -08:00
Rob Lourens
f50c72f404
Don't throw when adding an implementation to agents with a disabled when clause ( #232094 )
...
Fix microsoft/vscode-copilot#9658
2024-10-23 14:46:06 -07:00
Daniel Imms
929eba4808
Finalize shellIntegration API
...
Fixes #145234
2024-08-04 09:27:32 -07:00
Christof Marti
125c83df26
Test basic auth for proxy ( #220034 )
2024-07-08 16:39:26 +02:00
Johannes Rieken
feae5bf5d6
make sure errors are recreated when making LM requests ( #216807 )
...
* add integration tests for LanguageModelChat#sendRequest
* make sure errors are recreated when making LM requests
* disable test with a note for later
* fix remote integration tests
2024-06-24 09:50:48 +02:00
Christof Marti
e0a7112fd5
Test custom root certificate ( microsoft/vscode-copilot-release#1294 )
2024-06-21 10:39:28 +02:00
Rob Lourens
ee173b0e65
Tools API tweaks, merge into lmTools ( #216750 )
...
* Tools API tweaks, merge into lmTools
* Rename more id -> name
* Fix
* Add lmTools API version
2024-06-20 18:54:00 -07:00
Rob Lourens
7abff3e641
Fix vscode-api-tests in stable ( #213733 )
2024-05-28 15:29:20 -07:00
Rob Lourens
b9d35d9145
Don't register chat participants in stable ( #213244 )
...
* Don't register chat participants in stable
And fork some Additions APIs into chatParticipantPrivate
* Remove stale proposals
* Move more API out of Additions
2024-05-22 21:07:40 +02:00
Robo
5216c04428
chore: update to electron 29 ( #209818 )
...
* chore: update electron@29.1.0
* chore: update typings to 20.x
* chore: bump electron@29.1.5
* ci: fix crash in compiling extensions-ci
* chore: disable .d.ts check for build/
$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/@types/chokidar/index.d.ts:21
1 node_modules/chokidar/types/index.d.ts:8
Refs a0f9e09f64
* chore: update core types
* temp: fix layer validation
* chore: update nodejs checksums
* ci: use latest v20 LTS for missing node-gyp
Refs eacec5f490
* ci: define LIBCPP_HARDENING_MODE
* ci: fix crash in vscode-web-min-ci
* chore: update rpm deps-list
* chore: bump tree-sitter-typescript@0.20 .5
* chore: bump electron@29.3.0
* chore: bump electron@29.3.1
* chore: update rpm deps-list for x86_64
* ci: disable io_uring UV backend on linux
* ci: disable io_uring backend for oss as well
* chore: update typings to 20.x
* ci: add TODO for io_uring workaround
* chore: bump distro
* chore: update preinstall node version checks
* chore: update @types/gulp
Refs https://github.com/microsoft/vscode/issues/212442
* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Johannes Rieken
6874fc7394
Joh/ministerial-swan ( #212096 )
...
* first cut of embeddings API
https://github.com/microsoft/vscode/issues/212083
* add event
* fix tests
2024-05-06 16:50:13 +02:00
Daniel Imms
4080745f7e
Merge remote-tracking branch 'origin/main' into tyriar/si_integration_tests
2024-04-16 13:56:38 -07:00
Connor Peet
97df4dad38
api: finalize windowActivity ( #210491 )
...
Closes #181569
2024-04-16 11:03:14 -07:00
Daniel Imms
6162e457e3
Add shellIntegration ext api integration tests
...
Part of #145234
2024-04-12 12:21:09 -07:00
Rob Lourens
eb736c18c2
Limit chat history to messages with the current participant ( #209898 )
...
* Limit chat history to messages with the current participant
* Fix build error
* Fix build for real
2024-04-09 08:56:52 -07:00
Rob Lourens
042c0893d9
Handle duplicate chat participant names ( #208142 )
...
* Enable duplicate chat participant names
#208103
* Register participants with an ID
* Update participant history in API
* Changes to dupe chat suggest widget, and fix serialize/deserialize
* Tweaks
* Test fixes
* Fix tests
* Test fixes
* Fix integration test
2024-03-20 16:44:03 -07:00
Connor Peet
2aa0f1c40b
testing: finalize test coverage ( #208115 )
...
Closes #123713
2024-03-19 19:46:17 +01:00
Rob Lourens
00abefa3e2
Add chatParticipant contribution point ( #206474 )
...
* Add package.json registration for chat agents
* Update for tests
* Separate static and dynamic chat agent parts
* Handle participant registration correctly
* Fix tests
* Fix test
* Remove commented code
* Fix more tests
* Pluralize
* Pluralize test contribution
2024-02-29 06:52:12 -08:00
Rob Lourens
efc04b885e
New proposal for chat variable resolver ( #205572 )
...
* Tweak ChatFollowup
* Remove API TODOs
* New proposal for chat variable resolver
* Bump distro
* Enforce same-extension followup
* Add participant proposal to integration test folder
* Allow no participant for a followup
2024-02-19 20:52:19 +01:00
Rob Lourens
05bf957b31
Rename the chat agent API to "participant" ( #205477 )
...
* Start renaming chat API from "agent" to "participant"
* Rename the rest of the API
* Rename in integration test
* Update integration test api proposals
* Bump distro
2024-02-19 14:53:58 +01:00
Johannes Rieken
4c06e3f867
rename proposal from chatRequestAccess to languageModels, move into new lm namespace ( #205272 )
...
* rename proposal from `chatRequestAccess` to `languageModels`, move into new `lm` namespace
https://github.com/microsoft/vscode/issues/199908
* fix itests
2024-02-15 12:02:08 +01:00
Andrea Mah
20d18171b3
introduce findFiles2 API ( #203844 )
...
* introduce first version of FindFiles2 API
2024-02-07 14:23:46 -08:00