Commit Graph

1020 Commits

Author SHA1 Message Date
Connor Peet
ef72141fd1 testing: finalize test message stack trace API (#225517)
Closes #214488
2024-08-13 13:56:29 -07:00
Daniel Imms
cf347edc08 Merge pull request #224744 from microsoft/tyriar/145234_2
Finalize shellIntegration API
2024-08-07 06:55:30 -07:00
Alex Ross
775e1e9bdf Trace log openTextDocument (#224962)
Part of #6109
2024-08-06 09:58:32 -07:00
Tyler James Leonhardt
02b638ae27 Finalize getAccounts API (#224877)
Fixes https://github.com/microsoft/vscode/issues/152399
2024-08-05 11:59:33 -07:00
Daniel Imms
929eba4808 Finalize shellIntegration API
Fixes #145234
2024-08-04 09:27:32 -07:00
Joyce Er
d4c164e7b8 feat: chat participation detection api (#224651)
* feat: chat participation detection api
2024-08-02 16:35:14 -07:00
Andrea Mah
00374b8a5d feedback from search api finder TPI (#223950)
* add documentation for includes and excludes as arrays.
Fixes https://github.com/microsoft/vscode/issues/223286

* Tweaks to ExcludeSettingOptions
Fixes https://github.com/microsoft/vscode/issues/223384
Fixes https://github.com/microsoft/vscode/issues/223385
Fixes https://github.com/microsoft/vscode/issues/223387

* `UseIgnoreFiles` cleanup and other tweaks
Fixes https://github.com/microsoft/vscode/issues/223396
Fixes https://github.com/microsoft/vscode/issues/223394
Fixes https://github.com/microsoft/vscode/issues/223391

* document default value of maxResults
Fixes https://github.com/microsoft/vscode/issues/223395

* clarify matchLines
Fixes https://github.com/microsoft/vscode/issues/223324
2024-07-26 11:35:47 -07:00
Matt Bierner
d4bb523d43 Fix a few more type assertions (#223138)
For #211878
2024-07-23 12:19:43 -07:00
Andrea Mah
3931440c47 connections for findTextInFilesNew and FindFiles2New to function (#223151)
* connections for findTextInFilesNew and FindFiles2New to function

* remove log and fix typos
2024-07-22 18:03:32 -07:00
Joyce Er
1c7fa5ef1e feat: render warnings for partial or omitted references (#222292)
* feat: render warnings for partial or omitted references

* feat: apply warning foreground color to label for omitted reference

* feat: render omitted warning in request attachment widget

* feat: allow clicking to open chat attachment
2024-07-20 13:39:05 -07:00
Andrea Mah
61b242c67f add new versions of search APIs (#222231)
* add new versions of search APIs in separate proposed files
2024-07-19 14:28:10 -07:00
Rob Lourens
65a6a2f783 Support "code citations" in chat API (#221996)
* Support "code citations" in chat API

* Update tests
2024-07-17 18:24:27 -07:00
Tyler James Leonhardt
b07596a8aa Polish QuickInputButtonLocation (#221403)
* Fix a bug where the buttons would show up when they shouldn't by clearing them on show like the other ActionBars
* Introduce Proposed API (changed the core shape to reflect)
* Adopted in Git extension

ref https://github.com/microsoft/vscode/issues/221397
2024-07-10 11:39:24 -07:00
Alex Ross
065459e6e6 API feedback for comment thread reveal/hide (#221338)
Part of #167253
2024-07-10 12:15:20 +02:00
Connor Peet
b2af4e7d34 testing: add stack trace proposal and split out test results view
The test results view was 2k+ lines, time to split it up a bit.
2024-07-08 15:27:24 -07:00
Johannes Rieken
ea03089bee fixup ChatRequestNotebookData (#219331)
re https://github.com/microsoft/vscode/issues/218363
2024-07-01 10:29:54 +02:00
Johannes Rieken
dd7d9376fb remove dead types from old proposal versions (#219120) 2024-06-28 17:03:26 +02:00
Johannes Rieken
ecf818849d add location specific data along when making chat request (#219114)
with this PR the implicit variables tricks aren't needed anymore
2024-06-28 16:27:08 +02:00
Tyler James Leonhardt
6e345d4606 Remove getSessions API in favor of getAccounts (#218238)
Azure folks (the only ones using this proposed API) have not depended on getSessions yet so it's safe to delete.
2024-06-26 07:34:31 +02:00
Rob Lourens
125f3581c3 Unleash the chat API (#216850)
* Unleash the chat API

* Fix

* Fix
2024-06-21 16:16:04 -07: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
88b4dc75bd Chat Tools API (#213273)
* Implement a chat skills API

* Move around

* Rename to 'tools' and make variables part of it

* Updates

* value

* Differentiate 'tool invocation' and 'reference'

* Just one interface, ChatReference

* dts updates

* Rename "skills" to "tools"

* Fix up

* Add static registration of tools

* string

* Updates

* Fix

* Rename 'chat' in API

* Rename "chatTool"
2024-06-18 16:38:20 -07:00
Tyler James Leonhardt
5d7157cb03 Implement getAccounts API over getSessions (#215874)
And plumb that through to the Microsoft auth provider
2024-06-16 18:12:37 -07:00
Connor Peet
e2bf3453f5 debug: correlate debug sessions to testing, delegate restarts (#214537)
Implements #214486
2024-06-07 06:15:59 +02:00
Johannes Rieken
ab9a1286f2 sketch up lm-extention that allows for function calling (#214334) 2024-06-05 16:32:08 +02:00
Joyce Er
438ea79aa1 refactor: move Add Context... actions to core (#214167) 2024-06-03 20:36:49 +02: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
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