Support streaming of partial tool data (#278640)

* Start work on handling tool stream

* Start working on rendering tool progress

* Handle complete better

* Inovcation message

* Revert "Inovcation message"

This reverts commit f502d22d9a.

* Reapply "Inovcation message"

This reverts commit 855668653f.

* Revert "Reapply "Inovcation message""

This reverts commit 4c4db3ac36.

* Handle updating progress

* Better messages

* Have progress re-render if content changes

* Fix import

* Move prepare to view layer

* Clean up diff

* Pass tool call id through

* Pin it

* Modify the progress tool flow to use the same part + observables

* Some more debug logs

* Address feedback

* Plumb tool call id through to invoke

* Address connor's typing feedback

* Fix import

* Fix session operation log

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

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

* Remove debug logging

* fix wrong enums

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Logan Ramos
2026-01-14 13:27:49 -05:00
committed by GitHub
parent 8fae6fe4f3
commit 6b31b753c7
30 changed files with 724 additions and 120 deletions

View File

@@ -1906,7 +1906,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatResponseExtensionsPart: extHostTypes.ChatResponseExtensionsPart,
ChatResponseExternalEditPart: extHostTypes.ChatResponseExternalEditPart,
ChatResponsePullRequestPart: extHostTypes.ChatResponsePullRequestPart,
ChatPrepareToolInvocationPart: extHostTypes.ChatPrepareToolInvocationPart,
ChatResponseMultiDiffPart: extHostTypes.ChatResponseMultiDiffPart,
ChatResponseReferencePartStatusKind: extHostTypes.ChatResponseReferencePartStatusKind,
ChatResponseClearToPreviousToolInvocationReason: extHostTypes.ChatResponseClearToPreviousToolInvocationReason,