Commit Graph

924 Commits

Author SHA1 Message Date
Johannes Rieken
13d3452a5c chore - rename chatProvider-files to languageModel (#206054)
chore - rename chatProvider-file to languageModel
2024-02-23 11:33:58 +01:00
Rob Lourens
01ce8d869e More chat participant API comments (#205617)
More docs
2024-02-19 17:02:24 -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
Henning Dieterichs
ad35b73352 Inline Edits (#204158)
* implementation of inline edits

---------

Co-authored-by: Krzysztof Cieslak <krzysztof_cieslak@windowslive.com>
Co-authored-by: Andrew Rice <acr31@github.com>
2024-02-16 16:16:05 +01:00
Johannes Rieken
b28c2debc5 fix https://github.com/microsoft/vscode/issues/202232 (#205351) 2024-02-16 11:02:03 +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
Johannes Rieken
20501b7a4e Chat API updates (#205184)
* api - remove unused types, add jsdoc, make request handler setable (for consistency), more readonly usage

https://github.com/microsoft/vscode/issues/199908

* remove ChatMessage and Role

* fix a ton of compile errors...

* jsdoc
2024-02-14 12:19:03 +01:00
Tyler James Leonhardt
702a1ffd58 Access tweaks for requestLanguageModelAccess (#205156)
1. remove the requirement that it has to be done during agent invocation
2. don't ask for auth when the model provider and the model requester are the same extension
3. since we don't have "language model activation events" start with a simple 3*2s timeout poll to wait for the language model registration to happen. (scenario: an extension activates before the extension that registers the model activates)
2024-02-13 16:15:48 -08:00
Ulugbek Abdullaev
8bec045945 rename suggestions: migrate to using list widget 2024-02-14 00:48:29 +01:00
Connor Peet
a2c91f1f28 debug: update visualizers tree proposal, some initial implementation (#204877) 2024-02-13 18:22:06 +01:00
Johannes
72d1ad1be8 remove ChatMessage and add types LanguageModelMessage types so that they can evolve at their own pace
https://github.com/microsoft/vscode/issues/199908
2024-02-13 15:42:19 +01:00
Tyler James Leonhardt
656e26c80f One auth provider per-extension (#205049)
This way we don't complicate the user's experience who doesn't need to know anything about models.
2024-02-13 09:27:11 +01:00
Johannes Rieken
4eb07edec2 api - change history into turns (#204992)
https://github.com/microsoft/vscode/issues/199908
2024-02-12 15:20:58 +01:00
Tyler James Leonhardt
f10f059a54 Leverage AuthenticationProviders for gating Language Model Access (#204859)
* Leverage AuthenticationProviders for gating Language Model Access

Since we already have the Auth Stack which has a concept of "Managing Trusted Extensions" we can initially use that for gating Language Model Access so that when an extension asks for Language Model Access, they have to see a dialog first.

* Support multiple models and create AuthProviders on Core side
2024-02-09 13:19:16 -07:00
Rob Lourens
808582dad0 Bring back command buttons, remove command followups (#204548)
* Revert "Revert "Replace chat "command followups" with command button content (#204512)""

This reverts commit e822ae92ea.

* Also add ChatResponseCommandButtonPart class

* Fix

* dts comments
2024-02-09 05:32:27 -08:00
Sandeep Somavarapu
56f9e01216 Improvements to extensions features
* - show all runtime information in runtime status feature
- show runtime feature information in runtime extensions editor
- filter extensions by feature in view
2024-02-08 21:05:19 +01:00
Ulugbek Abdullaev
14770d1197 feat: add proposed API newSymbolNamesProvider that allows extensions to suggest new names for symbols that are being renamed 2024-02-08 12:16:36 +01:00
Johannes Rieken
7b0e5303dd add proposed API check (#204705)
fyi @andreamah
2024-02-08 11:41:49 +01:00
Connor Peet
2eb66826bd testing: rename FunctionCoverage -> DeclarationCoverage for finalization (#204667) 2024-02-07 16:24:33 -08:00
Andrea Mah
20d18171b3 introduce findFiles2 API (#203844)
* introduce first version of FindFiles2 API
2024-02-07 14:23:46 -08:00
Johannes Rieken
c6be170d98 api - polish ChatResponseFileTreePart (#204630)
https://github.com/microsoft/vscode/issues/199908
2024-02-07 17:53:48 +01:00
Sandeep Somavarapu
c9235bf40b Introuduce extension features (#204607)
Introduce features with access control
2024-02-07 15:41:47 +01:00
Johannes Rieken
7c16d665f9 api - refine filetree-part (name and structure), add push method to stream (#204595)
https://github.com/microsoft/vscode/issues/199908
2024-02-07 13:51:18 +01:00
Johannes Rieken
57f5f81edd api - rename: ChatAccess -> LanguageModelAccess (#204583)
* rename - ChatAccess -> LanguageModelAccess

* fix tests
2024-02-07 13:39:34 +01:00
Rob Lourens
780192a30b Revert "Replace chat "command followups" with command button content (#204512)" (#204546)
This reverts commit cda51f6ab4.

Have to revert this because I can't get the vscode-copilot change to work. I might try again tomorrow in a back-compatible way.
2024-02-07 00:54:17 +01:00
Rob Lourens
cda51f6ab4 Replace chat "command followups" with command button content (#204512)
* Delete CommandFollowups and make inline chat use its own types for command followups

* Add command button, render it properly

* Manage the lifecycle of commands from chat command buttons

* Handle stale session command in type converter

* Fix
2024-02-06 18:37:22 +01:00
Johannes Rieken
1e53f20631 Add classes for chat response parts (#204483)
* add classes for each content type that can be streamed, make history contains those

* refine types, add converters
2024-02-06 14:25:17 +01:00
Benjamin Pasero
5f25b9a240 debt - ensure to include error in error message for extension (#204141) 2024-02-02 15:05:01 +01:00
Benjamin Pasero
88f74b7713 ext host - log error when attempting to open/show a document of invalid remote URI (#199844) (#203594)
* ext host - log error when attempting to open/show a document of invalid remote URI (#199844)

* use `extHostApiDeprecation`
2024-01-29 16:54:22 +01:00
Connor Peet
76e1ccf4c0 debug: initial visualization extension points (#202775)
wip
2024-01-18 15:31:44 -08:00
Benjamin Pasero
04f554b0af speech - scaffold keyword activation (#202643)
* speech - scaffold keyword activation

* first cut settting for keyword activation

* handle lifecycle better

* .

* .

* .

* tweaks

* show a status bar entry

* add in context option

* cleanup
2024-01-18 14:59:47 +01:00
Rob Lourens
4aca61d43b Fix 2024-01-10 19:20:29 -03:00
zWing
2443fd1613 fix registerProfileContentHandler typos (#183197) 2024-01-08 11:06:09 +01:00
Connor Peet
027aa0ff19 testing: avoid console log in unit tests (#201141)
Fixes #192468
2023-12-18 18:39:13 +01:00
Johannes Rieken
04c01c089d wrap API-events per extension so that blaming and telemetry-ignoring/redirecting is possible (#200657)
fixes https://github.com/microsoft/vscode/issues/184132
2023-12-12 16:33:18 +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
Yesterday17
c7be45d50f fix ExtHostLabelService typo (#198855) 2023-12-05 14:06:09 +00: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
Ladislau Szomoru
c5874782c5 SCM - delete scmInputBoxValueProvider proposal (#199778) 2023-12-01 08:54:59 -08:00
Ladislau Szomoru
a776d5fe0a SCM - input box value provider rendering (#198923)
* Initial implementation

* Remove debug messages

* Implementation using a custom ActionViewItem

* Switched to using a custom action along with the custom action view item

* Switch to using arrays

* Refactored code (single provider is working)

* Add ActionRunner to options

* WIP - saving my work

* Refactor things to support one provider

* Add setting to enable/disable input action button

* Add sourceControlId to the proposed API

* Fix issue related to enablement

* Remove code that is not in scope

* Have the old action bar work with the setting

* Remove code that was commented out

* Add extension API changes

* Update extensions/git/src/commitMessageProvider.ts

Co-authored-by: João Moreno <joao.moreno@microsoft.com>

* Fix compilation errors

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-11-23 16:39:53 +01:00
Rob Lourens
94265f5a19 Implement chat agent variable provider (#198899)
* Add API for custom completions for agents

* Fix tests

* Better completions labels

* Renames

* Remove TODO

* Add variable kind
2023-11-23 07:51:06 +01:00
Michael Lively
e33219dde3 Add multi-document highlight provider feature (#198467)
* multi-doc api + text provider editor feature + extHost hookup + typescript semantic multi-doc

* fix disposable leak, wasn't setting providers to the disposableMap

* filter unnecessary models to fix errors with typescript provider

* fix nits (todo - doc filter)

* fix typo from merge conflict

* expose LanguageSelector in multi-doc provider, filter out 0 score models
2023-11-22 10:07:20 -08:00
Megan Rogge
8af169e554 Merge pull request #197668 from microsoft/merogge/quick-fix-api
`addNewLine` -> `shouldExecute`, expose this in quick fix API
2023-11-21 10:23:27 -06:00
Matt Bierner
8a6f44ef3c Move matchesScheme out of opener service (#198366)
Move matchesScheme out of opener service

This was creating extra deps on opener service
2023-11-20 18:26:45 +01:00
Aaron Munger
8bc4783e37 Notebook Variable view follow-up (#198555)
* PR feedback follow-up

* fix API type issues
2023-11-17 12:41:09 -08:00
rebornix
bed797335d 💄 better handling optional 2023-11-14 22:17:15 -08:00
Peng Lyu
44488fc1ad allow metadata label to be optional (#198238) 2023-11-14 20:44:15 +01:00
Ladislau Szomoru
e121560310 SCM - add input box value provider proposal (#198232)
* Initial implementation

* Remove new toolbar widget

* Remove TestCommitMessageProvider2

* Remove more changes
2023-11-14 19:59:05 +01:00
rebornix
6dd6275d2a move off menu 2023-11-13 12:12:22 -08:00