Commit Graph

924 Commits

Author SHA1 Message Date
Connor Peet
6e009e0537 debug: finalize debugFocus API (#212190)
Closes #63943
2024-05-07 19:30:08 +02:00
Connor Peet
3455bd54fe testing: finalize TestRunRequest.preserveFocus API (#212177)
Closes #209491
2024-05-07 09:45:43 -07:00
Johannes Rieken
f8d3bd3909 remove old chat message types (#212148) 2024-05-07 10:31:23 +02:00
Johannes Rieken
252c964087 Merge pull request #212082 from microsoft/joh/lmAPi
Language model API tweaks
2024-05-06 16:58:40 +02: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
Johannes
1ca4972d82 make token and options optional when calling sendChatRequest 2024-05-06 11:21:00 +02:00
Johannes
22efbdf96c * return LanguageModelChatMessageRole and the simple chat message LanguageModelChatMessage2 because all types became same, same
* deprecate the other types and prepare deletion
* move System-role into its own proposal because of API and RAI concerns
* more API notes
2024-05-06 11:00:17 +02:00
Rob Lourens
aed4230a89 Fix chat agent hover for dynamic agents (#211990)
* Fix chat agent hover for dynamic agents

* Fix tests
2024-05-03 15:51:42 -07:00
Johannes Rieken
3982027f02 debt - remove old inline chat API (#211902) 2024-05-03 08:20:00 +02:00
Joyce Er
9a1b9a7498 feat: support warnings in chat response stream (#211793)
* feat: support warnings in chat response stream

* Fix leak, rename CSS
2024-05-01 19:44:53 +02:00
Benjamin Pasero
c1f470ad5a voice - allow for text to speech (#211006) 2024-04-26 09:33:23 +02:00
Ulugbek Abdullaev
abc8279c11 rename suggestions: add trigger-kind to proposed API 2024-04-22 20:29:53 +02:00
Connor Peet
5ae5a741bd testing: implement testPreserveFocus API (#210796)
* testing: implement testPreserveFocus API

* fix tests
2024-04-21 07:44:00 +02:00
Connor Peet
f09f068bc5 debug: update debugFocus class names (#210788) 2024-04-19 23:03:55 +02:00
Aiday Marlen Kyzy
b8eba5da20 Adding the possibility to enrich hovers with additional data (#210472)
Adding the possibility to enrich hovers with additional data
2024-04-19 19:17:21 +02:00
Connor Peet
97df4dad38 api: finalize windowActivity (#210491)
Closes #181569
2024-04-16 11:03:14 -07:00
Johannes Rieken
e700ece8e3 Joh/languageModelInformation (#210490)
* add `LanguageModelInformation` interface

* tweaks to the language models metadata API

* update docs

* 💄

* add removal comments
2024-04-16 19:22:06 +02:00
Rob Lourens
50a6f4f200 Delete deprecated chat API (#210199)
* Add Chat content 'vulnerabilities' to chat response stream

* Remove 'report' chat progress API and more cleanup

* Remove ChatProgress entirely

* Get participant detection into the new stream as well
2024-04-11 18:53:15 -07:00
Rob Lourens
ea3d0c410f Clean up InteractiveSessionProvider stub
now that vscode-copilot has adopted it
2024-04-09 18:49:35 -07:00
Daniel Imms
f4909e054f Implement most of command line confidence API
Part of #145234
2024-04-09 05:25:47 -07:00
Rob Lourens
ed6c6d3f28 Kill "interactive session provider" DEAD (#209700)
* Reduce chat provider usage

* Clear out IChat props

* Delete interactive session provider API

* Totally remove static chat provider registration

* Clean up onDidRegisterProvider events

* Remove provider ID references from model

* Eliminate many 'providerId' references

* Simplify view registration

* Clean up participant-specific actions

* Delete getProviderInfos

* Rename context key

* Fix tests

* Fix action label

* Fix view title

* Fix test

* Fix test

* Fix integration test

* Remove more providerId

* Add API stub to make this compatible with the existing Copilot Chat
2024-04-07 21:06:43 -07:00
Matt Bierner
8c363b460b Merge and cleanup drop and paste proposal (#209591)
These two proposals overlap a lot and will be finalized together
2024-04-05 13:03:10 -07:00
Connor Peet
3c28146797 testing: remove back compat shims for coverage API (#209559)
Now that the API is finalized, remove the back compat shims that were in place
2024-04-04 19:46:32 +02:00
Johannes Rieken
a52d0d95df Merge pull request #209529 from microsoft/joh/overseas-cougar
Add support for `ChatResponseTextEditPart`
2024-04-04 15:39:39 +02:00
Justin Chen
140f3b2694 removing issue reporter API (#209125)
* first snap

* sent the comments to the shadow realm

* one comment we forgot to remove :(
2024-04-04 04:23:23 -07:00
Johannes
cf0038479e support vscode.ChatResponseTextEditPart and support rendering of text edits in chat widget (using the diff editor) 2024-04-03 18:19:22 +02:00
Rob Lourens
5bb0f37c27 Remove 'session' from transfer API (#209204) 2024-03-31 21:39:41 +02:00
Daniel Imms
733b8aa6c0 Merge pull request #208257 from microsoft/tyriar/145234
Terminal shell integration proposed api
2024-03-21 12:40:59 -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
Daniel Imms
c5930297cf Hook up most of shell execution 2024-03-20 15:30:29 -07:00
Daniel Imms
765f113293 Create shell integration ext host service 2024-03-20 15:01:58 -07:00
Daniel Imms
b07b0ac2ba Compiling with terminalShellIntegration proposal
Part of #145234
2024-03-20 12:23:25 -07:00
Connor Peet
11865e1367 testing: rename coveredcount->testcoveragecount, fix file hierarchy (#208110)
Fixes #208056
2024-03-19 18:58:10 +01:00
Logan Ramos
98968c0b0a Introduce text multi diff (#207747) 2024-03-14 19:37:34 +01:00
Alex Ross
3c1caff66c Display outdated comments differently in the Comments view (#207410) 2024-03-13 14:37:46 +01:00
Johannes
ff2eec9859 Merge branch 'main' into joh/honest-cephalopod 2024-03-12 16:03:11 +01:00
Matt Bierner
091987d943 Update paste and drop proposals (#206496)
* Update paste and drop proposals

Reworks the document paste and drop API proposals. Main highlights:

- Align more with code action api
- Allow a single paste provider to return multiple edits
- Allow resolving applied edits lazily
- Switch from using ids to scoped kinds like used for code actions

* Adding paste context

* Add context

* Update test
2024-03-07 16:04:36 -08:00
Johannes
e4bae6cad6 Merge branch 'main' into joh/honest-cephalopod 2024-03-07 12:10:55 +01:00
Connor Peet
5cbe2b9646 debug: tighten down debugFocus API proposal (#207006)
* debug: tighten down debugFocus API proposal

Some bug fixes and reworking to align better with our APIs

* fix getter error
2024-03-06 22:58:09 +01:00
Johannes
85af13471d add ChatLocation so that chat participants can contribute to terminal chat 2024-03-06 19:12:11 +01:00
Marcus Revaj
0bfc1dbb62 # Add partial accept kind to inline completion handle (#202668)
* # Add partial accept kind to inline completion handle

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-03-04 16:05:28 +00:00
Johannes Rieken
595efea648 use document object identity and not uri equality when checking if a document belongs to a notebook (#206778)
https://github.com/microsoft/vscode/issues/206487
2024-03-04 12:28:36 +01:00
Rob Lourens
2752932c07 Remove sendInteractiveRequestToProvider from interactive API (#206623)
* Remove `sendInteractiveRequestToProvider` from interactive API

* Fixes
2024-03-01 07:41:22 -08:00
Tyler James Leonhardt
be59ec51ee Add learnMore proposed API to forceNewSession (#206588)
ref https://github.com/microsoft/vscode/issues/206587
2024-03-01 05:02:41 -08:00
Johannes Rieken
763df0e037 add ExtensionContent#languageModelAccessInformation (#206420)
* makes ExtHostAuth and ExtHostLM injectable
* (hack) makes silents auth requests for all extension upon LM registration

https://github.com/microsoft/vscode/issues/206265
2024-02-28 11:55:19 +01:00
Johannes Rieken
8fd15a8634 add LanguageModelError-type (#206361)
https://github.com/microsoft/vscode/issues/206265
2024-02-27 18:50:12 +01:00
Johannes Rieken
4f0e2a843f refine language model (#206358)
* api - use `LanguageModelChat` prefix for messages and response, add todos

* update todos, tweak how `chatRequest` errors, remove `LanguageModelChatResponse#result`

* api - refine language model access

removes `requestLanguageModelAccess`,
removes `LanguageModelChatResponse#result`,
adds `LanguageModelChatRequestOptions`,
refines how errors happen when making a chat request

* use `throw` over Promise.reject

* don't error from `_getAuthAccess`, polish error messages

* rename to `sendChatRequest`
2024-02-27 18:14:05 +01:00
Andrea Mah
8950c52e08 progress on AI TextSearchProvider (#205319)
These are the initial steps to having an API to contribute AI text results.
2024-02-27 08:10:08 -08:00
Johannes Rieken
20f1afb291 api - update todos, rename makeChatRequest (#206240) 2024-02-26 14:40:58 +01:00
Johannes Rieken
529e73d71b api - sketch up vscode.lm.makeChatRequest alternative to requesting chat access (#206088)
re https://github.com/microsoft/vscode/issues/205800
2024-02-23 15:15:06 +01:00