Commit Graph

927 Commits

Author SHA1 Message Date
Rob Lourens
61f447b79a More small chat API fixes (#205901)
* Fix #205811

* Fix #205807

* Make description optional

* Fix

* fix test
2024-02-21 12:57:18 -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
Rob Lourens
4ba66bf35e Chat API: add 'command' to response history (#205377) 2024-02-16 09:09:04 -07:00
Rob Lourens
c2316194e2 Get rid of history2, variables2 (#205124)
* Get rid of history2

* Remove prompt2 and variables2

* Clean up variables2/prompt2

* Fix tests

* Fix ranges

* Fix test
2024-02-13 11:33:21 -08:00
Rob Lourens
b2f1748501 Rename "subcommand" to "command" (#204911)
* Rename "subcommand" to "command"

* Fix build
2024-02-10 13:58:18 -08:00
Rob Lourens
b49c1c1170 Add ChatAgentResult2#metadata (#204851)
* Support serializable metadata on 'result' object from chat agent

* Fix 'errorDetails' on the VM

* Fix acceptAction, get rid of generic parameter on ChatAgent

* Use result metadata for followups

* Use serialized result for history

* Don't share metadata between agents

* Add a test for result metadata

* Fix build
2024-02-10 05:40:01 -08:00
Andrea Mah
90cebfaeb2 Fix fuzzy searching for findFiles2 (#204768)
* progress on making fuzzy option
* finish connection to findfiles API
2024-02-08 13:17:58 -08:00
Andrea Mah
20d18171b3 introduce findFiles2 API (#203844)
* introduce first version of FindFiles2 API
2024-02-07 14:23:46 -08:00
Aaron Munger
fe6db4073f allow time to scroll (#204646) 2024-02-07 11:08:03 -08: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
Rob Lourens
b637950b4b Reenable debug integration test (#203733) 2024-01-29 20:21:19 +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
Johannes Rieken
290a1153b8 disable frequently failing chat-suite (#203430)
https://github.com/microsoft/vscode/issues/203429
2024-01-25 11:52:51 +01:00
Rob Lourens
63349889d9 Avoid "slash command" name in agent API (#202729)
* Avoid "slash command" name in agent API

* Fix reference

* Fix
2024-01-18 21:05:28 +01:00
Rob Lourens
7cbff1919e Chat code cleanup (#198022)
* Clean up some obsolete chat API
Start deleting the interactive session provider, use agents only

* Delete old chat agents API

* Remove providerRequestId

* Remove unused stuff from interactive.d.ts

* Get rid of chat session state saving

* Fix test

* I guess this type was in use
2023-11-12 06:44:14 +01: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
Rob Lourens
4935438c42 Disable failing test (#194681)
#194680
2023-10-03 05:39:16 +02:00
Ulugbek Abdullaev
39dc875c4e Merge branch 'main' into ulugbekna/implement-code-mappers-context 2023-09-22 14:43:25 +02:00
Ulugbek Abdullaev
5547de51db mapped edits: update code around the command _executeMappedEditsProvider 2023-09-22 11:54:58 +02:00
Aaron Munger
150d09b37b skip flaky test 2023-09-21 12:57:28 -07:00
Tyler James Leonhardt
5134662139 Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Johannes Rieken
bee68cee69 allow workspace edit to "create" untitled files (#191779)
https://github.com/microsoft/vscode-copilot/issues/1261
2023-08-30 15:24:37 +02: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
Ulugbek Abdullaev
e4bfe48d92 Merge pull request #190649 from microsoft/ulugbekna/insert-at-cursor-api
MappedEditsProvider API
2023-08-23 12:28:24 +02:00
Kartik Raj
b1d5542cfd Finalize proposed env workspace collection API 2023-08-22 20:22:32 +00:00
Ulugbek Abdullaev
c3a4fbbe8f add vscode.executeMappedEditsProvider command & use it to have integration tests for mapped-edits service 2023-08-21 13:00:50 +02:00
Kartik Raj
7c577637e8 Fix test 2023-08-15 23:31:07 +00:00
Matt Bierner
8c7747252e Move drop/paste ids onto providers (#189961)
For #179430, #30066

This lets us call just the provider we are interested in
2023-08-08 14:44:03 -07:00
Daniel Imms
fa4b3238c9 Re-enable unit test with retries
Fixes #188375
2023-08-02 07:09:26 -07:00
Kartik Raj
1ca9aa71bb Merge pull request #188982 from microsoft/kartik/detailed-tahr
Fix for each in scope env collection
2023-07-26 14:32:34 -07:00
Kartik Raj
68d22e586d Fix for each in scope env collection 2023-07-26 20:58:53 +00:00
Sandeep Somavarapu
dc00865687 skip flaky test #188375 2023-07-21 09:34:18 +02:00
Daniel Imms
31b9e9aa9b Wait for terminal data before using terminal.selection APIs 2023-07-19 11:14:31 -07:00
Daniel Imms
49df64f6ac Remove unused import 2023-07-18 10:17:00 -07:00
Daniel Imms
775102bd82 Implement tests 2023-07-18 09:58:47 -07:00
Daniel Imms
99e31ae297 Add terminal selection API
Part of #188173
2023-07-18 09:47:46 -07:00
Rob Lourens
448d14e907 Make breakpoint data available in EH immediately, not after a call to debug API (#186796)
Fix #169699
2023-06-30 15:04:59 -07:00
Daniel Imms
cf247472ec Loosen test to allow for shell output 2023-06-24 08:50:41 -07:00
Benjamin Pasero
052ac9ca4c files - allow more file operations to run in the extension host (#172345) (#185988)
* files - allow more file operations to run in the extension host (#172345)

* fix tests

* tests

* tests

* tests
2023-06-23 17:18:44 +02: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
Daniel Imms
d1be423950 Fix scope test 2023-05-25 04:53:50 -07:00
Daniel Imms
37ad81ccd9 Ensure options are filled with defaults, fix equality check
Fixes #183236
2023-05-24 15:03:22 -07:00
Kartik Raj
d3ffc565ea Correctly show descriptions for each scope 2023-05-23 17:38:56 +00:00
Daniel Imms
438eb68ef6 Actually fix the tests, options is an empty object not undefined 2023-05-23 09:02:42 -07:00
Daniel Imms
27293f19d2 Fix env var collection api tests 2023-05-23 08:34:06 -07:00
Matt Bierner
b11a3f7f87 Disable flaky test (#182814)
Fixes #182489
2023-05-18 13:17:51 -07:00