Commit Graph

2004 Commits

Author SHA1 Message Date
Jimmy Leung
e7cfb10cb8 vscode-dts: Add LineCommentConfig interface & update lineComment (#289457)
* vscode-dts: Add LineCommentConfig interface & update lineComment

* rename config to rule

---------

Co-authored-by: Aiday Marlen Kyzy <aidaymarlenkyzy@gmail.com>
2026-02-05 09:21:27 +00:00
Don Jayamanne
c35bf16a13 Support serialized tool call results for generic tools (similar to MCP, display input and outupt) (#292773)
* Support serialized tool call results for generic tools (similar to MCP, display input and outupt)

* Updates

* Updates
2026-02-04 16:26:02 -08:00
Rob Lourens
704095a158 Add common output hook types and reorganize related code (#292961)
* Add common output hook types, reorganize a bit more

* test fixes
2026-02-05 10:43:51 +11:00
Paul
38398d6453 Hooks format cleanup (#292928) 2026-02-04 21:01:13 +00:00
Don Jayamanne
b5f1376218 Support serialized tool call results that return resources (e.g. rg, glob, etc) (#292768)
* Support serialized tool call results that return resources (e.g. rg, glob, etc)

* Fixes

* add tests

* Fixes
2026-02-04 19:46:24 +00:00
Paul
dd69bcaa41 Add initial hooks support (#292699) 2026-02-04 01:32:57 +00:00
Connor Peet
878ef9c524 chat: initial rough draft of request queuing (#292619)
* chat: initial wip on request queuing

* make it work reasonably
2026-02-03 13:01:29 -08:00
Don Jayamanne
df57568c74 Support rendering serialized todo information from background agents (#292212)
* Support rendering serialized todo information from background agents

* Update src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/workbench/api/common/extHostTypeConverters.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Updates

* updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 16:57:06 +11:00
Rob Lourens
079eb4e3cf Add parentRequestId for telemetry (#292463) 2026-02-03 05:18:51 +00:00
Logan Ramos
c733d2c421 Adopt api versioning on chat participant addition (#292318) 2026-02-02 14:50:03 +00:00
Alex Ross
369d7bf9ba Add resourceUri to chat context provider (#292295)
Part of #271104
2026-02-02 15:19:15 +01:00
Logan Ramos
481b139199 Have usage be on the stream rather than on result (#291944)
* Have usage be on the stream rather than on result

* Better lookup
2026-01-30 18:29:31 +00:00
Ladislau Szomoru
748751e9f5 Workspace trust - update proposed APIs (#291408)
Workspace trust - add proposed API to check whether a URI is trusted and an event for when the list of trusted folders/workspaces change
2026-01-28 20:06:58 -08:00
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
e41a3a88c7 Polish mermaid chat previews
- Updates api so extensions can track lifecycles of webviews
- Caches heights across reloads
- Improve rendering of loading indicator
- Use codicons for icons
2026-01-27 21:14:38 -08: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
Rob Lourens
f520d705ae Deleted 'related files' context attachment feature (#290189)
* Deleted 'related files' context attachment feature

* Delete leftover css

* Bump distro
2026-01-26 19:26:50 +00:00
Sandeep Somavarapu
d4d37b83e0 Add proposed API support for agent sessions workspace (#290385)
* Add proposed API support for agent sessions workspace

* add access to agentSessionsWorkspace proposed api
2026-01-26 16:05:36 +00:00
Ladislau Szomoru
b962957183 Workspace Trust - add support to request trust for a resource (#290404)
* Initial implementation

* Pull request feedback
2026-01-26 15:59:55 +00:00
Alex Ross
b5a77387ee Break chat context provider into 3 different providers (#289951)
* Break chat context provider into 3 different providers

* Keep backwards compatibility
2026-01-26 11:01:35 +01:00
Dmitriy Vasyura
aa19df565f Portable mode improvements and bug fixes (#287063)
Disabled protocol handlers and registry updates on Windows in portable mode.
Added API proposal to detect if VS Code is running in portable mode from extensions.
Skipped protocol redirect in GitHub authentication in portable mode.
2026-01-24 13:22:53 +01:00
Karthik Nadig
f7dc7a5d16 Add question feature (#289568)
* Initial commit of the question carousel

* some cleanup

* .

* .

* .

* .

* remove chat blocking on tool call

* refactor: update question carousel handling and remove blocking behavior

* feat: implement question carousel handling and response resolution

* feat: enhance question carousel with logging and auto-skip functionality

* refactor: remove question carousel data from various interfaces and implementations

* feat: enhance chat question carousel with answer restoration and default value handling

* feat: add ignore functionality to chat question carousel with appropriate handling

* yolo-mode support
2026-01-23 15:03:11 -08: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
Alex Ross
74665f30a6 Contributed context for text editors (#289349)
* Contributed context for text editors

* Clean up

* Copilot feedback

* More copilot code review feedback

* Fix selection context
2026-01-23 13:28:42 +01:00
Matt Bierner
66c5578627 Merge pull request #289269 from mjbvz/dev/mjbvz/teenage-gibbon
Add more `{@links} in webview and custom editor vscode.d.ts docs
2026-01-23 04:13:39 -08:00
Alexandru Dima
c3992ef338 Add the possibility that extensions can declare their runtime affinity towards other extensions (#289684)
Add the possibility that extensions can declare their affinity towards other extensions (they would like to execute together)
2026-01-23 11:41:40 +00:00
Don Jayamanne
735afe80ef Display terminal tool results for bg sessions (#289845) 2026-01-23 10:31:37 +01: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
Connor Peet
2963db6f22 Merge remote-tracking branch 'origin/main' into dev/bhavyau/tools-model 2026-01-22 09:57:31 -08:00
Logan Ramos
e824922b6e Refine context usage widget (#289677)
* Add usage data to chat result api

* Start prototyping status icon

* Cleanup old context widget

* Cleanup widget

* Grow outwards

* Some cleanups and refacotors

* Make actions contributable

* Add action header

* Cleanup action rendering

* Add sub categories of token usage

* cleanup diff

* Handle copilot feedback
2026-01-22 17:55:37 +00:00
Connor Peet
f917cd9185 Merge remote-tracking branch 'origin/main' into dev/bhavyau/tools-model 2026-01-22 09:36:14 -08: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
Don Jayamanne
0ffdfb45f4 Improved MCP tool call rendering for non-local agents (#289505)
* Improved MCP tool call rendering for non-local agents

* Update src/vs/workbench/api/common/extHostTypeConverters.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-21 19:01:01 -08:00
Connor Peet
72bacda9f3 Merge remote-tracking branch 'origin/main' into dev/bhavyau/tools-model 2026-01-21 16:02:36 -08:00
Connor Peet
7f028225fe tools: allow contributing runtime tools to toolsets 2026-01-21 15:39:17 -08:00
Paul
f5aa2ad720 Update prompt file provider interface for API discussion (#289441) 2026-01-21 14:53:01 -08:00
Matt Bierner
51bf072b2c Merge pull request #289492 from mjbvz/dev/mjbvz/inner-bobcat
Hook up archive state change notifications for extensions
2026-01-21 14:10:47 -08:00
Matt Bierner
2970892bf3 Hook up archive state change notifications for extensions
For #280422
2026-01-21 13:23:37 -08:00
Connor Peet
d042844bd5 Merge remote-tracking branch 'origin/main' into dev/bhavyau/tools-model 2026-01-21 12:59:52 -08:00
Connor Peet
4c5bbc5c2b chat: support representing file deletions in edit sessions (#289270)
* chat: support representing file deletions in edit sessions

Add support for file deletion operations in chat editing sessions through
new ChatResponseWorkspaceEditPart. This allows agents to represent file-level
operations (deletions, creations, renames) alongside text and notebook edits.

- Adds ChatEditingDeletedFileEntry class to represent deleted files with
  proper diff display and restoration functionality
- Introduces ChatResponseWorkspaceEditPart and IChatWorkspaceEdit interfaces
  for file-level operations at the workspace level
- Implements workspace edit streaming through chat editing sessions with
  proper undo/redo support
- Adds ChatWorkspaceEditContentPart for UI rendering of file operations
- Extends chat session storage to serialize deleted file entries
- Supports both acceptance and rejection of file deletions with proper state
  management and snapshotting

Ref https://github.com/microsoft/vscode/issues/275705

(Commit message generated by Copilot)

* fix test
2026-01-21 16:37:20 +00:00
Sandeep Somavarapu
a831cc9f3d Fix #275134 (#289347) 2026-01-21 11:54:09 +01:00
Paul
0ab69cd73d Use proper virtual file system for prompt files provider extension API (#289234) 2026-01-21 11:47:28 +11:00
Matt Bierner
8a633618d7 Add more links in webview and custom editor docs
Makes a pass through to make sure the docs use `@link` in more places
2026-01-20 16:24:07 -08:00
Matt Bierner
7dc2938029 Merge pull request #289071 from hkleungai/update-typedoc-for-WebviewPanel-dispose
vscode-dts: Fix typedoc for WebviewPanel.dispose()
2026-01-20 15:57:29 -08:00
Matt Bierner
ac06186ae1 Add sessionResource to proposed apis
For #274403

Replacing chatSessionId in a few API proposals. Keeping around the old fields for now until we can adopt this everywhere
2026-01-20 15:09:30 -08:00
Don Jayamanne
2fd8c70fa1 mcp: expose MCP server definitions to ext host (#288798)
* Expose MCP server definitions to ext host

* Fixes

* Update src/vs/workbench/api/common/extHostTypeConverters.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/workbench/api/browser/mainThreadMcp.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Address review comments

* address review comments

* Reuse McpServerDefinition.Serialized instead of custom DTOs (#289165)

* Initial plan

* Reuse McpServerDefinition.Serialized instead of custom DTO interfaces

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-01-20 14:45:55 -08:00
Alex Ross
b7b1562421 Better activation info for chat context provider (#289069)
Fixes #280643
2026-01-20 10:55:27 +00:00