Fixes for missing handler to enable streaming for terminal output.
This commit is contained in:
parent
6718832aa8
commit
97ba89eae4
2 changed files with 12 additions and 0 deletions
|
|
@ -734,6 +734,14 @@ export class Core {
|
|||
this.send("process/isBackgroundedResponse", { isBackgrounded }, messageId);
|
||||
return true; // Return true to indicate the message was handled successfully
|
||||
});
|
||||
|
||||
// Handle partial output updates from tool calls
|
||||
on("toolCallPartialOutput", ({ data }) => {
|
||||
// This handler simply forwards the message to the webview
|
||||
// The actual data processing happens in the Chat component's useWebviewListener
|
||||
this.send("toolCallPartialOutput", data);
|
||||
return;
|
||||
});
|
||||
}
|
||||
|
||||
private async isItemTooBig(item: ContextItemWithId) {
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ export type ToCoreFromIdeOrWebviewProtocol = {
|
|||
// Special
|
||||
ping: [string, string];
|
||||
abort: [undefined, void];
|
||||
toolCallPartialOutput: [
|
||||
{ toolCallId: string; contextItems: any[] },
|
||||
void,
|
||||
];
|
||||
|
||||
// History
|
||||
"history/list": [ListHistoryOptions, SessionMetadata[]];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue