update shell output at an interval to reduce flicker (#614)

This commit is contained in:
Olcan
2025-05-30 00:02:30 -07:00
committed by GitHub
parent 2582c20e2a
commit b0aeeb53b1
4 changed files with 35 additions and 22 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ export interface Tool<
execute(
params: TParams,
signal: AbortSignal,
onOutputChunk?: (chunk: string) => void,
updateOutput?: (output: string) => void,
): Promise<TResult>;
}
@@ -154,7 +154,7 @@ export abstract class BaseTool<
abstract execute(
params: TParams,
signal: AbortSignal,
onOutputChunk?: (chunk: string) => void,
updateOutput?: (output: string) => void,
): Promise<TResult>;
}