Alex Ross
005cfa9290
Move chat context provider into chat namespace ( #274794 )
2025-11-03 16:35:36 +00:00
Alex Ross
70de2c9318
Contributable chat context ( #273736 )
...
* Contributable chat context
* Copilot feedback
* Matt and Ben feedback
* Also resolve for resources
* Clean up API
* More polish
* Fix double context
2025-11-03 16:49:32 +01:00
Connor Peet
7516634330
fixup
2025-10-29 16:26:42 -07:00
Matt Bierner
fb6055cb58
Use URIs to identify sessions ( #272013 )
...
* Start work on using URIs to identify sessions
This starts switching us from id+types to use uris to identify chat sessions. I already added very basic support for this but in this next step I think we need a breaking change so that we can avoid adding more and more hacks and complexity to support this
* More work
* Add docs
* Fix indent
* Bump api
* Fix quotes
* Fix tests
* fix compile errors for mockChatSessionService
* Fix mockChatSessionService
* Update getChatSessionType
* Make sure resolver also registers any initial schemes
* add ChatSessionService.hasAnySessionOptions()
---------
Co-authored-by: Peng Lyu <penn.lv@gmail.com >
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com >
2025-10-23 15:16:46 -07:00
Megan Rogge
a1b4ecaa32
finalize terminal completion provider API ( #271338 )
2025-10-23 08:57:05 -07:00
Connor Peet
c8f6138825
tools: initial proposal for static mcp tool definitions ( #271716 )
...
* tools: initial proposal for static mcp tool definitions
* finish implementation
* up distro
2025-10-17 15:04:50 -07:00
Rob Lourens
ec8586ef25
Add isModelProxyAvailable ( #271872 )
...
* Add isModelProxyAvailable
* tests
2025-10-16 21:11:11 -07:00
Rob Lourens
aa462d08c7
Add languageModelProxy proposal ( #271436 )
2025-10-15 04:26:27 +00:00
Justin Chen
9116007eee
finalize languageModelDataPart and tools api ( #265537 )
...
* finalize datapart and tools api
* remove test fo languagemodel part 2
* delete languagemodeldata part, move to thinking for now
* bump version of chatprovider
* update api comments
* add aliases for languyagemodelToolresult and part
* Add to impl
* fix some finalization commentx
* remove extra instance check
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @mjbvz
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
* Apply suggestion from @mjbvz
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
* Apply suggestion from @mjbvz
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
* Apply suggestion from @mjbvz
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
* Apply suggestion from @mjbvz
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com >
2025-10-14 15:12:05 -07:00
Megan Rogge
75ff485ed9
rm ID from terminal completion provider ( #270094 )
2025-10-06 13:44:25 -07:00
Matt Bierner
360c9fd134
Add lint rule for as any and bulk ignore all existing breaks
...
For #269213
This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks
Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Josh Spicer
fc4d4d8ee5
chatSessions API redesign/experiment ( #268089 )
...
* adapt API to provide a chatParticipant
* initial tidy up to support agent in extension
* untitled prototype
* onDidCreateChatSessionIte
* tidy
* tidy
* names
* onDidCommitChatSessionItemEmitter and bump proposed api version
* deprecated note
* untitled with uuid to prevent collision
* pick correct editor group
2025-09-25 20:14:51 -07:00
Tyler James Leonhardt
b4c1eaa7c8
Finalize Auth Challenges caller API ( #268006 )
...
Fixes https://github.com/microsoft/vscode/issues/260156
2025-09-23 10:21:21 -07:00
Megan Rogge
5e4fa79ff8
address API feedback for terminal completion provider ( #266073 )
2025-09-11 15:17:31 -07:00
Alex Ross
9562ac0f24
Only do forwarding for local extension host if there's a tunnel provider ( #266014 )
2025-09-10 09:43:15 +00:00
Tyler James Leonhardt
3e2f34ebe8
Address API sync feedback for challenges API ( #265921 )
...
* Address API sync feedback for challenges API
* use `fallbackScopes` instead of `scopes`
* `WWW`-> `Www`
ref https://github.com/microsoft/vscode/issues/260156
* adopt the change
2025-09-09 17:05:43 -04:00
Benjamin Pasero
8a48ecc72b
chat - towards experimental anonymous access ( #265806 )
2025-09-09 14:15:50 +00:00
Alexandru Dima
2617e6ca16
Add proposed API for code and model inline completions unification ( #265101 )
...
* Add proposed API for code and model inline completions unification
* Remove the assertion from the event
* Allow api tests to use new API
2025-09-04 11:23:57 +02:00
Josh Spicer
509d9f4ab1
chatSessions supportHotReload ( #263701 )
...
chatSessions supportHotReload (https://github.com/microsoft/vscode/issues/259967 )
2025-08-27 23:59:17 +00:00
Logan Ramos
a18d41e90a
Finalize LM API ( #263415 )
...
* Finalize BYOK API
* More byok
* Fix compile errors
* Feedback
* Fix fat fingering
* Fix capabilities
* Bump version
* Rename contrib point + activation events
* Update test
* Add proposed api check to require authorization
* Change comment
2025-08-27 17:25:34 +00:00
Tyler James Leonhardt
5eaa23c2a9
Update challenges proposal shape ( #263484 )
...
ref https://github.com/microsoft/vscode/issues/260156
2025-08-26 15:40:35 -07:00
Don Jayamanne
296ca9c6fa
Support next edits suggestions for different text documents ( #261714 )
2025-08-18 11:07:14 +02:00
Tyler James Leonhardt
cf433b58e5
Ability to pass down WWW-Authenticate challenges down to Auth Providers ( #261717 )
...
* Initial plan
* Implement authentication challenges support for mandatory MFA
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com >
* Add documentation and integration test for authentication challenges
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com >
* Add validation script and finalize implementation
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com >
* Update authentication challenges API to use AuthenticationConstraint interface
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com >
* Get it compiling... who knows if it works
* New parseWWWAuthenticateHeader behavior
* works
* let's go with this for now
* Good shape
* bye
* final polish
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2025-08-14 18:10:05 -07:00
Logan Ramos
f6b2bec410
Modify LM api based on feedback ( #261645 )
...
* API feedback
* Some further API cleanup
* Some API stuff
* Try more cleanup
* CI please pass
* READONLY
2025-08-14 16:59:44 -04:00
Copilot
533e889ea9
Add description and status properties to ChatSessionItem interface ( #261292 )
...
* Initial plan
* Add description and status properties to ChatSessionItem interface
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com >
* Update extHostChatSessions to pass through new description and status properties
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com >
* Two line
* Support for tooltip
* API update
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com >
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com >
2025-08-13 23:02:19 +00:00
Justin Chen
43a9dc0df3
chain of thought API ( #259939 )
...
* cot api and rendering
* working progress streaminig
* streaming working
* collapsable thinking block
* some better styling
* fix merge conflict
* some cleaned up styling, removing copilot css
* label updates
* some vibe coded timer work
* fix anotha merge conflict
* thinking part with timer better
* render tools inside thinking container
* render markdown in container
* revert and remove majority ui changes
* fix some merge conflicts
* some cleanup
* hygiene
2025-08-06 00:47:36 -07:00
Connor Peet
929f67b87d
api: generalize ToolResultAudience->LanguageModelTextPart ( #259273 )
...
- Generalize as these parts are used in chat responses as well as tool
results.
- Add a new 'extension' type for internal-only use.
2025-08-04 11:25:47 +02:00
Rob Lourens
67212013a4
Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed ( #257271 ) ( #259370 )
...
* Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed
* Changing ChatResponseStream.clear to ChatResponseStream.clearToPreviousToolInvocation and only clearing up to the last tool invocation
* Remove unnecessary code block
Co-authored-by: James Wang <120431051+jwangxx@users.noreply.github.com >
2025-08-04 02:37:35 +02:00
Peng Lyu
9b64bd6376
Support contributed file changes/diff part
2025-07-25 14:43:31 -07:00
Matt Bierner
f82ba78af1
Better align chat output renders api with existing apis
...
Change to register with a `viewType` that is mapped to mime types by the contributions. This better matches other apis such as custom documents and also would enable having multiple possible renderers for a given output item
2025-07-25 12:49:53 -07:00
Alex Ross
1155663cc7
Add ToolResultAudience and ChatResponsePullRequestPart ( #257806 )
...
* Add ToolResultAudience and ChatResponsePullRequestPart
Part of #255383
* Clean up
2025-07-25 08:26:56 -07:00
Peng Lyu
b37e65e5e3
request handler hook
2025-07-23 17:37:56 -07:00
Peng Lyu
606e495c4d
Merge remote-tracking branch 'origin/main' into joshbot
2025-07-23 14:31:12 -07:00
Matt Bierner
94083de0be
Start hooking up using uri for opening custom chat sessions
2025-07-23 13:43:27 -07:00
Peng Lyu
11242c9512
chat session ongoing progress
2025-07-22 21:15:40 -07:00
Daniel Imms
5accc605ce
Merge remote-tracking branch 'origin/main' into tyriar/256552
2025-07-22 18:25:22 -07:00
Peng Lyu
ca4dfaa25f
chat session content provider
2025-07-22 15:38:30 -07:00
Matt Bierner
e74e451644
Merge branch 'main' into quiet-leopon
2025-07-22 15:11:05 -07:00
Peng Lyu
eb405c8828
handle tool calls additional data
2025-07-22 13:31:14 -07:00
Peng Lyu
94acf00b15
integrate with conversation list
2025-07-22 10:00:07 -07:00
Daniel Imms
9e6770eee7
Remove IChatTerminalToolInvocationData
...
Fixes #256552
2025-07-22 09:12:32 -07:00
Matt Bierner
eb082b948b
Reshape chat session api
...
Name and shape cleanup
2025-07-21 15:51:07 -07:00
Matt Bierner
abda8a2df3
Merge branch 'main' into quiet-leopon
2025-07-18 14:04:32 -07:00
Ladislau Szomoru
e7be6e9cff
SCM - add proposed API to specify source control provider icons ( #256762 )
2025-07-18 12:54:18 -07:00
Logan Ramos
8551a1d51d
Finalize the bring your own key api ( #255892 )
...
* Start small
* start on new byok api
* Some more api work
* Hook up more of the API
* A single file with no errors yay!
* Some cleanup
* Slow and steady progress
* More code
* Add resolve
* Hate everything
* More progress on rewriting id
* Some error fixing
* Fix null service
* Use claude to fix tests
* Fix tests
* Fix tests
* More test fixing
* Some setup
* Some model picker stuff
* Fix model picker with new BYOK api
* Remove support for contirbuting to mdel picker action bar
* Adjust to allow for user prompting
* Add event
* Fix conflicts
2025-07-18 13:42:55 -04:00
Osvaldo Ortega
714d1f5e90
Chat menu e2e
2025-07-17 23:19:40 -07:00
Osvaldo Ortega
abfecf5279
Merge pull request #256378 from microsoft/osortega/session-provider
...
Chat session provider
2025-07-17 14:53:12 -07:00
Connor Peet
25d003bcf6
tools: surface tool source in chat additions api ( #256558 )
...
For MCP I can already kind of get this from the tool name, but for
extension tools we previously had no way to know which extension
provided the tool.
This PR adds a `LanguageModelToolInformation.source` containing details
about where the tool came from. I also use this to include the MCP
server instructions which is needed for #250017 .
cc @aeschli @roblourens
2025-07-17 22:25:25 +02:00
Osvaldo Ortega
dafcae737f
Rename
2025-07-17 09:22:29 -07:00
Ladislau Szomoru
faa9f0afcc
SCM - proposed API to represent parent/child relationship ( #256242 )
...
* Add plumbing for parent/child relationship
* Fix selected and view height
* More clean-up
* More fixes related to view height
* Dispose submodules and worktrees
* Add onDidDisposeParent event
2025-07-17 14:54:32 +00:00