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
Johannes Rieken
57f5f81edd
api - rename: ChatAccess -> LanguageModelAccess ( #204583 )
...
* rename - ChatAccess -> LanguageModelAccess
* fix tests
2024-02-07 13:39:34 +01:00
Alex Ross
f8546bc73f
API to find the active comment thread ( #204486 )
...
* API to find the active comment thread
Fixes #204484
* Add issue ref
* Add activeComment proposal to api tests
* Add settimeout to blur event
2024-02-07 08:59:24 +01:00
Rob Lourens
5e3a912d7f
Move welcome message to chat agent ( #204163 )
...
* Move welcome message provider to default agent
* Remove welcome message/sample questions from interactive provider
* Remove provider display name and icon
* Add default agent for tests
* And proposal
2024-02-02 18:41:13 +01:00
Benjamin Pasero
3b5ae15f95
perf - registerWorkbenchContribution2 and some adoptions ( #203802 )
...
* perf - first cut workbench contributions 2
* log warning
* add tests
* tests
* fix tests
* .
* adopt a bit and add access to times
* adopt for some
* adopt for some
* .
* fix tests
* .
2024-01-31 11:04:30 +01:00
Rob Lourens
c15e48bc27
Reenable chat test ( #203706 )
...
I think this isn't an issue with the test- every time it fails, we see "The Web Worker Extension Host did not start in 60s". The chat tests are the first tests, and so they just time out due to being affected by the slow startup. That EH timeout issue looks old.
Fix #203429
2024-01-29 16:51:06 +01:00
Benjamin Pasero
d5307c5afa
Have workspace.save and workspace.saveAs methods that return the URI ( fix #178713 ) ( #200222 )
2023-12-07 17:38:11 +01:00
Rob Lourens
ada980d563
Merge interactiveUserActions proposal into chatAgents2Additions, and get rid of the old global event ( #199916 )
...
Towards #197687
2023-12-04 05:58:17 +01:00
Connor Peet
2749de3808
testing: implement proposed active profiles api ( #197664 )
...
testing: implement proposed active profiles api
For https://github.com/microsoft/vscode/issues/193160
2023-11-07 10:37:37 -08:00
Connor Peet
d2b1eb8a36
testing: finalize TestMessage.contextValue ( #195706 )
...
Closes #190277
2023-10-16 20:37:37 +02:00
Rob Lourens
6c02f61149
Fix variables in chatAgents2 API requests, add tests ( #195529 )
...
* Fix variables in chatAgents2 API requests
* Enable file references and the 'used references' section by default in Insiders
* Add integration tests for chat
* Fix equality
* fix test
2023-10-13 06:27:30 +02:00
Benjamin Pasero
29b69437ab
watcher - correlate events to their requesting source ( #194776 )
...
* watcher - emit `URI` instead of `string` for faster `fsPath` compute (for #194341 )
* wip
* more
* adopt
* some cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* implement correlation
* cleanup
* add correlation
* undo, leave for later
* tests
* tests
* tests
* tests
* tests
* log cId
* simpler correlation id
* 💄
* tests
* runs
* skip normalization
* fix tests
* tests
* fix tests
* add `createWatcher` API
* partition events in ext host
* allow custom excludes
* remove disk file change
* 💄
* 💄
* 💄
* wire in
* wire in
2023-10-10 10:27:18 +02:00
Johannes Rieken
a383c1601d
add proposed API for short and long variant of LanguageStatusItem#text ( #195141 )
...
* add proposed API for short and long variant of `LanguageStatusItem#text`
https://github.com/microsoft/vscode/issues/192880
* add new proposal to allow list
2023-10-09 16:22:49 +02:00
Benjamin Pasero
6404e3dbd1
tests - remove envShellEvent from package.json ( #193982 )
2023-09-25 17:07:23 +01:00
Logan Ramos
6bb64ab400
Fix indentation ( #191918 )
2023-09-12 09:16:11 -07:00
Daniel Imms
8d76882313
Merge branch 'main' into tyriar/finalize_179476
2023-08-24 05:58:18 -07:00
Kartik Raj
5257764dea
Merge pull request #191016 from microsoft/kartik/fluttering-pony
...
Finalize proposed env workspace collection API
2023-08-23 11:13:41 -07:00
Alex Ross
bd67b50dfd
Remove tree item checkbox proposal from tests ( #191084 )
...
Fixes #191081
2023-08-23 19:28:19 +02:00
Daniel Imms
1461c7d382
Finalize EnvironmentVariableMutatorOptions API
...
Fixes #179476
2023-08-23 07:54:24 -07:00
Kartik Raj
b1d5542cfd
Finalize proposed env workspace collection API
2023-08-22 20:22:32 +00:00
Ulugbek Abdullaev
fe52b50e41
add mappedEditsProvider proposed API ID to integration tests' package.json
2023-08-22 15:57:40 +02:00
Connor Peet
2d9cc42045
testing: menu contribution points around messages ( #190298 )
...
- Implements the proposal in #190277 by adding a `contextValue` to
TestMessages added to test runs.
- Make the `FloatingClickMenu` reusable outside the editor, and uses
it to implement a `testing/message/content` contribution point.
With this extensions can do things like:

2023-08-12 08:03:01 -07:00
Robo
ea490e5545
chore: update to Electron 25 ( #188268 )
...
* chore: update electron@25.3.0
* ci: update NodeTool version
* chore: update @types/node
* add more common types to layers checker
* chore: update debian dependencies
* chore: update rpm dependencies
* fix: use legacy dns result order of Node.js
* ci: remove deprecated always-auth npm config
Refs npm/cli@72a7eeb
* chore: update deb and rpm dependencies
* chore: update armhf rpm dependencies
* chore: update x64 debian dependencies
* chore: update x64 rpm dependencies
* chore: update electron@25.3.1
* chore: update electron@25.4.0
* chore: bump distro
* chore: bump distro
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2023-08-07 21:46:27 +09:00
Connor Peet
f82185934a
testing: finalize testInvalidateResults ( #188180 )
...
Also sends the tests as a bulk to the renderer, and implements a
prefix tree for doing invalidation checks (which I plan to adopt
elsewhere later on, perhaps in debt week.)
2023-07-18 20:14:25 +02:00
Ehab Younes
6a152ca523
Expose the focused element and change event in the TreeView API ( #184268 )
...
* Expose the focused element and event in the TreeView API
* Exposed active TreeItem through extension proposal
* Add proposal to test extension
* Merge change selection and focus events
* Finish selection+focus change in treeview
* Clean up
* Clean up
* Add checkProposedApiEnabled back in
---------
Co-authored-by: Ehab Younes <ehab.younes@sigasi.com >
Co-authored-by: Alex Ross <alros@microsoft.com >
2023-07-14 08:49:15 +00:00
Alex Ross
1a4e466fc0
Set a read-only message from an extension ( #185216 )
...
* wip
* Allow extensions to provide a readonly message
Part of #166971
* Address feedback
* Further address feedback
* Fix some nits
* Add test
* Improve tests and respond to feedback
* Don't render editor.readOnlyMessage in the settings UI
* No need to validate the IMarkdownString
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
Co-authored-by: Alex Dima <alexdima@microsoft.com >
2023-06-21 10:55:00 +02:00
Johannes Rieken
2798d7bf41
joh/rainy weasel ( #184582 )
...
* add tooltip (plain text) to static items,
re https://github.com/microsoft/vscode/issues/183772
* support accessibilityInformation for static static bar contribs,
https://github.com/microsoft/vscode/issues/183772
2023-06-08 12:33:24 +02:00
Johannes
c106fbe627
add some integration tests for static status bar items
2023-06-05 16:39:59 +02:00
Connor Peet
21ec2519ef
testing: add proposed testInvalidateResults API ( #183370 )
...
* testing: add proposed testInvalidateResults API
For #134970
* fix tests
2023-05-24 22:57:07 -07:00
Kartik Raj
b4a853bac9
Update package.json for vscode-api-tests
2023-05-23 19:40:55 +00:00
Rob Lourens
05c0ca95ed
Add new API proposal for chat onDidPerformUserAction event ( #183140 )
...
* Add new API proposal for chat onDidPerformUserAction event
* Enable API for tests that incidentally touch the getter
2023-05-22 11:52:19 -07:00