Commit Graph

26 Commits

Author SHA1 Message Date
Rob Lourens dd6e06a8f2 Add onDidDisposeChatSession to enable closing chat terminals when a chat session ends (#244030) 2025-03-19 20:22:38 +01:00
Rob Lourens 2c7a028381 Fix inline chat after updating to use "edit2" in the extension (#243507)
Bump API version because these have to be aligned
2025-03-13 20:34:27 -07:00
Logan Ramos bea6e1ff1b Add id to chat request (#243239)
* Add id to chat request

* Support proposed api check

* Do some casting
2025-03-11 19:27:03 +00:00
Logan Ramos fddc71e69f Pass through chatInteractionId to tool calls (#242915) 2025-03-07 11:44:55 -08:00
Rob Lourens cfe8020e4e Add ChatErrorLevel to ChatErrorDetails (#242139)
We need this so that the error when the rate limit is exceeded can show as 'info' without having to set `responseIsFiltered`
2025-02-27 03:48:19 +01:00
Rob Lourens 45f744af6c Custom tool invocation renderer for terminal tool (#241768)
* Custom tool invocation renderer for terminal tool
Enable editing the terminal command

* Fix issues
2025-02-24 14:35:06 -08:00
Rob Lourens 2e6b2792b9 Move edit_file tool to extension (#241657)
Core contributes a tool which is the real implementation of file editing, but the extension gets to control the tool result
2025-02-24 12:19:12 -08:00
Rob Lourens 0b111a9a74 Remove PreparedToolInvocation#tooltip (#241549)
No longer used
2025-02-21 19:57:45 -08:00
Rob Lourens b4b0191e53 Enable rendering tool progress/confirmation messages with codeblocks (#241545)
* Render terminal commands in an editor

* Use editors for tool confirmation message codeblocks

* Remove unused getContent

* Always wrap tool editors
2025-02-22 02:47:26 +00:00
Rob Lourens 574218a101 Better API for hiding tool invocations (#241132) 2025-02-19 00:29:08 +01:00
Rob Lourens 0233903285 Support collapsible list of tool results (#240842) 2025-02-14 13:03:16 -08:00
Rob Lourens e6f3e3a874 Support dynamic tool message after tool runs (#240586) 2025-02-13 00:08:21 +01:00
Rob Lourens df5a7f807c Refactor, reduce IChatVariablesService to the bare minimum (#240035)
* Implement "toolIds" on chat open action

* Start deleting IChatVariableService

* Delete references to ChatRequestVariablePart

* More

* Simplify resolveVariables

* More

* Remove supportsSlowReferences

* Remove 'isDynamic'

* Remove todo

* Remove todo

* Fix up tests

* clean up snapshots
2025-02-08 02:01:49 +01:00
Rob Lourens 94da87e5c9 Remove vscode-dts-region-comments (#239868)
This is from how the old vscode.proposed.d.ts was managed, and is no longer relevant
2025-02-06 17:45:08 -08:00
Rob Lourens 4aa863ca56 Move chat participant detection to private.d.ts (#239754) 2025-02-05 17:34:43 -08:00
Rob Lourens cd52101a4b Register terminal variables from vscode (#239653)
* Register terminal variables from vscode

* Simplify terminalLastCommand

* Bump chatParticipantPrivate version just to ensure that moving variables from the extension to core doesn't lead to dupes or missing vars
2025-02-05 20:09:18 +01:00
Rob Lourens 720f2eb1fb Implement past tense invocation message and tooltip for tool calls (#238635)
* Implement past tense invocation message and tooltip for tool calls

* Fix

* Clean up
2025-01-24 18:59:58 +01:00
Rob Lourens d6d62da51b Plumb a requestID and location through the tool invocation to the codemapper request (#238429)
To drive codemapper telemetry
2025-01-22 08:07:01 +01:00
Rob Lourens 28aa076b09 Enable nice quota button for chat extensions (#235349) 2024-12-05 00:55:57 +01:00
Rob Lourens 7d778c0aa4 Add nicer message/button when quota exceeded (#235199)
* Basic quotaExceededDetails API

* Rerun last request instead of resending

* Clean up

* Clean up
2024-12-03 20:51:17 +00:00
Rob Lourens bcf6a6af1c Add LanguageModelIgnoredFileProvider (#231696) 2024-10-18 14:05:43 -07:00
Joyce Er 0d7a2e1d72 feat: add a dedicated chat editing view 2024-09-26 15:52:05 -07:00
Joyce Er bd98667390 fix: allow chat participant handlers to determine whether they were invoked via participant detection (#226213) 2024-08-22 00:57:01 +02: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 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
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