Commit Graph

58 Commits

Author SHA1 Message Date
Ladislau Szomoru
dca1daf99d Chat - add metadata to ChatSessionItem (#290000)
* Chat - add metadata to `ChatSessionItem`

* Pull request feedback

* Update src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts

Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com>

* Switch to a deep equal check

---------

Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com>
2026-01-28 12:07:33 +00:00
Matt Bierner
e5eebce6d0 Merge pull request #290640 from mjbvz/dev/mjbvz/fundamental-koi
Document token in controller refresh handler
2026-01-26 18:10:04 -08:00
Matt Bierner
1acbf8acc1 Document token in controller refresh handler 2026-01-26 16:34:19 -08:00
Connor Peet
507d83a7b1 sessions: remove old diff representation from ext api (#290592)
Remove the old diff format for simplification in #289936. Old usage is
still present in the IAgentSession as local sessions still use internally,
for future cleanup in debt week.

Refs #289936

(Commit message generated by Copilot)
2026-01-26 23:14:40 +00:00
Matt Bierner
d45ea17477 Merge pull request #289999 from mjbvz/dev/mjbvz/tart-giraffe
Cleaner implementation of chat session controllers
2026-01-23 11:46:07 -08:00
Matt Bierner
fab6cbb8e2 Cleaner implementation of chat session controllers 2026-01-23 11:09:38 -08:00
Don Jayamanne
49106db757 Add commands to chat agent input group options (#289787)
Add comments to chat agent input group options
2026-01-23 00:03:51 +00:00
Ladislau Szomoru
401c155660 Chat - add new API to be able to represent a file that was deleted in a session (#289620)
* Chat - add new API to be able to represent a file that was deleted in a session

* More fixes
2026-01-22 12:48:03 +01:00
Matt Bierner
2970892bf3 Hook up archive state change notifications for extensions
For #280422
2026-01-21 13:23:37 -08:00
Matt Bierner
a7de96819c Reapply timing and chat session changes
This reverts commit 17523c000e

Skips the api version bump this time since it's not needed

Breaking API change since `created` is now required but won't actually break at runtime
2026-01-14 13:04:18 -08:00
Alex Ross
17523c000e Revert recent merges affecting chat session functionality (#287734)
* Revert "Merge pull request #287668 from mjbvz/dev/mjbvz/eventual-sparrow"

This reverts commit 81f7af4b9f, reversing
changes made to 85a14f966c.

* Revert "Merge pull request #286642 from microsoft/dev/mjbvz/chat-session-item-controller"

This reverts commit b39ecc3960, reversing
changes made to 45aced5935.
2026-01-14 10:18:42 +00:00
Matt Bierner
7b7243f1d0 Add better timing info to chat sessions
Fixes #278567

Resubmission of #278858
2026-01-13 16:18:32 -08:00
Matt Bierner
b39ecc3960 Merge pull request #286642 from microsoft/dev/mjbvz/chat-session-item-controller
Explore a controller based chat session item API
2026-01-13 15:35:48 -08:00
Osvaldo Ortega
b6e3885294 Making chat session repo quick pick searchable 2026-01-13 10:53:18 -08:00
Osvaldo Ortega
cc7d35069f feat: add searchable option groups and related functionality for chat sessions 2026-01-12 15:55:14 -08:00
Matt Bierner
bfd6eed65b Bump api version 2026-01-12 15:41:16 -08:00
Matt Bierner
242baf74bc Add archived property 2026-01-12 15:34:17 -08:00
Matt Bierner
25bdc74f90 Cleanup 2026-01-12 13:44:43 -08:00
Matt Bierner
e45ac30b90 Hookup basic proxy impl 2026-01-12 11:46:29 -08:00
Josh Spicer
0a2c5f1714 context keys for chatInputPart optionGroups (#286814) 2026-01-09 13:15:22 -08:00
Matt Bierner
3f197a6583 Initial sketch of a controller based chat session item API
For #276243

Explores moving the chat session item api to use a controller instead of a provider
2026-01-08 16:23:58 -08:00
Matt Bierner
dfba89f602 Remove provideNewChatSessionItem
Fixes #282763
2026-01-07 09:32:04 -08:00
Don Jayamanne
c561232a0a Support refreshing Chat Session Provider Options (#284815) 2025-12-23 16:45:33 +08:00
Benjamin Pasero
9ba40f8204 Agent sessions: special rendering of PR links (fix #281643) (#283037) 2025-12-12 15:16:32 +01:00
Osvaldo Ortega
1eea41f3b8 Apply and file changes part for worktree (#281410)
* api idea

* iterate

* start hacking

* wip

* use the right menu

* update

* update

* Fixes

* Fix test and override

---------

Co-authored-by: Connor Peet <connor@peet.io>
2025-12-05 02:55:35 +00:00
Don Jayamanne
428308c7a9 Support triggering complex Chat Session Options (#281324)
* Support triggering complex Chat Session Options

* Updates

* Updates
2025-12-05 07:24:30 +11:00
Peng Lyu
2f13ac253c support description for agent session quick picks 2025-12-03 17:05:09 -08:00
Don Jayamanne
519faabdb8 Extension API to notify changes to chat session options (#281028)
* Extension API to notify changes to chat session options

* UpdatesÏ

* Fix tests

* Updates
2025-12-04 06:14:16 +11:00
Peng Lyu
c3e98889d9 support theme icon for ChatSessionProviderOptionItem 2025-11-20 20:30:17 -08:00
Peng Lyu
3bec25a527 Support locking agent session option item 2025-11-19 20:54:42 -08:00
Josh Spicer
0f481e0707 remove chat summary (#278388) 2025-11-19 09:25:23 -08:00
Ladislau Szomoru
91b31240fb Chat - add files to session statistics (#276250)
* Chat - add `files` to session statistics

* Fix test
2025-11-08 08:43:08 +00: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
Josh Spicer
c6277d5d8d Chat sessions generalized option pickers (#272167)
* generalize chat session options prototype

* dynamically generate a menu per option group

* fix bugs

* polish

* polish
2025-10-19 10:03:45 -07:00
Josh Spicer
820f258920 ChatSessions: Select Model (#271728)
* fix merge conflicts

* Modify LanguageModelsService to manage Chat Session "contributed" model identifiers

* refactor to sessionModelPickerActionItem

* add missed file

* rename to IChatSessionProviderOptions

* change to provideChatSessionProviderOptions
2025-10-16 20:20:13 -07:00
Matt Bierner
a1a256617f Add resource to chat session, replacing id 2025-10-16 10:45:00 -07:00
Josh Spicer
a50d3d2492 Forward chat summaries for cloud button v2 impl (#269583)
* merge

* refactor and movie magic to hide fake progress chat req
2025-10-03 09:26:48 -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
Rob Lourens
30237b4907 Send a real ChatRequest to provideNewChatSessionItem (#264089)
* Send a real ChatRequest to provideNewChatSessionItem
Fix #264076
This is a bit wrong. Because a ChatRequest has a toolInvocationToken tied to a particular chat session, but the real vscode chat session doesn't exist yet!

* this
2025-08-29 21:59:56 +00:00
Peng Lyu
2117e4a348 Experiment chat session entry with file change stats (#263878) 2025-08-28 12:05:17 -07:00
Josh Spicer
509d9f4ab1 chatSessions supportHotReload (#263701)
chatSessions supportHotReload (https://github.com/microsoft/vscode/issues/259967)
2025-08-27 23:59:17 +00:00
Osvaldo Ortega
5689f439c2 Adding timing to chat sessions API and grouping (#263350)
* Adding timing to chat sessions API and grouping

* Adding timestamp details
2025-08-25 17:15:39 -07:00
Josh Spicer
1019562b22 Entrypoint in chat session view to create a new, agent-backed chat (#262537)
* dynamically add menu item to create new chat against coding agent

* register command

* hack: pass history through to request handler
2025-08-20 11:48:43 -07:00
Josh Spicer
8cdd16be19 Add provideNewChatSessionItem API (#262369)
add provideNewChatSessionItem API
2025-08-19 19:02:06 +00: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
Osvaldo Ortega
27549c5de5 Removing chat session provider label 2025-07-28 14:46:11 -07:00
Matt Bierner
f42c8758f5 Small cleanup/tweaks to chat session API
- In contribution, rename `id` -> `type`
- Cleaning up JSDoc
- Moving todos out of main comments
2025-07-28 13:57:27 -07:00
Peng Lyu
83b58065d6 Merge remote-tracking branch 'origin/main' into joshbot 2025-07-24 12:58:17 -07:00
Matt Bierner
94083de0be Start hooking up using uri for opening custom chat sessions 2025-07-23 13:43:27 -07:00
Josh Spicer
80e302776e add chatSessions contribution 2025-07-22 16:03:51 -07:00