Commit Graph

944 Commits

Author SHA1 Message Date
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
Connor Peet
5250661ed9 Merge pull request #213190 from microsoft/connor4312/testing-followup-actions
testing: exploratory UI for followup actions
2024-05-21 16:40:54 -07:00
Connor Peet
e1dfc911ce testing: exploratory UI for followup actions
This adds an API that extensions can use to contribute 'followup'
actions around test messages. Here just a dummy hello world using
copilot, but extensions could have any action here, such as actions to
update snapshots if a test failed:

![](https://memes.peet.io/img/24-05-c1f3e073-a2da-4f16-a033-c8f7e5cd4864.png)

Implemented using a simple provider API.
2024-05-21 16:09:08 -07:00
Aaron Munger
5328a3f143 Save on EH diagnostics (#213171)
* added trace logs

* another trace message

* fix test ctors
2024-05-21 15:23:34 -07:00
Joyce Er
f2f4adc806 feat: allow extensions to attach chat context (#213172)
* feat: allow extensions to attach chat context

* fix: allow attaching different ranges from same file

* fix: restore accepting files from picker
2024-05-21 12:34:09 -07:00
Joyce Er
5d6671dacb feat: support static chat variables in Attach Context picker (#212993) 2024-05-18 01:06:22 +02:00
Johannes Rieken
88f27ceb0c disable vscode.lm-API for stable (#212890)
https://github.com/microsoft/vscode/issues/206265
2024-05-16 16:18:23 +02:00
Rob Lourens
14ebfdc345 Add variable 'isSlow' (#212657)
* Add variable 'isSlow'
Since 'codebase' doesn't really work as a reference, I'm only making accessible to our agents for now

* fix

* Check for slow variables in parser as well
2024-05-15 17:40:21 -07:00
Rob Lourens
afcb0ebb4e Finalize chatParticipant and languageModels API (#212829)
* Finalize chatParticipants proposal

* Finalize languageModels API
2024-05-15 14:21:47 -07:00
Rob Lourens
6643db734a Add chat variable id and rename to 'references' (#212480)
* Add chat variable id

* Rename 'variables' to 'references'

* Replace other 'variables' usages

* Fix tests
2024-05-13 14:30:14 -07:00
Rob Lourens
3aaf39db08 Keep Copilot Chat compatibility for one more build (#212460) 2024-05-10 20:11:48 +02:00
Rob Lourens
ef54c4eb7b Get rid of bad Copilot Chat warning, add a proper API version (#212453) 2024-05-10 10:24:14 -07:00
Rob Lourens
d1555a7b21 Get rid of "GitHub Copilot" header and add a participant "fullName" 2024-05-09 16:05:08 -07:00
Joyce Er
9cb0df2a02 feat: support concurrent chat progress messages (#212300)
* feat: support concurrent chat progress messages
2024-05-09 00:50:57 +02:00
Connor Peet
269aa6c29b Merge pull request #212212 from microsoft/connor4312/212196-1
testing: initial attributable test coverage API
2024-05-08 09:02:30 -07:00
Connor Peet
6e24e5f2bd fix compile error 2024-05-08 08:10:08 -07:00
Johannes
69a80f9f1d use a composted, semi-random identifier for language model and leave metadata#id for model selection only 2024-05-08 16:48:21 +02:00
Johannes
6990923699 spell-out selector type, allow to select/filter on specific extensions 2024-05-08 12:04:21 +02:00
Johannes
0d55bb645f add LanguageModelChat as explict object and add a select-function as the only way of getting to them 2024-05-08 11:44:47 +02:00
Rob Lourens
60468916e4 Implement chat confirmations (#212140)
* Add API proposal for chat confirmations

* Update

* Fix up chatParticipantAdditions check

* And copy warning content

* Redundant

* Implement chat confirmation widget

* Implement sending chat confirmation data in the request

* Styling

* Fix button titles

* Fix build
2024-05-07 18:14:33 -07:00
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