summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/tools.ts
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-05-30 00:02:30 -0700
committerGitHub <[email protected]>2025-05-30 00:02:30 -0700
commitb0aeeb53b101ed73dfebbff74197efdc4e18b142 (patch)
tree3eed5731b4244766cbd4e1b770eb7f869a73a90d /packages/server/src/tools/tools.ts
parent2582c20e2a541b0a90d9f62754c7008af13c194f (diff)
update shell output at an interval to reduce flicker (#614)
Diffstat (limited to 'packages/server/src/tools/tools.ts')
-rw-r--r--packages/server/src/tools/tools.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/tools/tools.ts b/packages/server/src/tools/tools.ts
index 8ec11bf0..eb1da248 100644
--- a/packages/server/src/tools/tools.ts
+++ b/packages/server/src/tools/tools.ts
@@ -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>;
}