Merge pull request #533 from rowboatlabs/coding2

Coding2
This commit is contained in:
Ramnique Singh 2026-05-07 16:37:43 +05:30 committed by GitHub
commit 4709e6eb89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 578 additions and 14 deletions

View file

@ -63,6 +63,13 @@ export const ToolResultEvent = BaseRunEvent.extend({
result: z.any(),
});
export const ToolOutputStreamEvent = BaseRunEvent.extend({
type: z.literal("tool-output-stream"),
toolCallId: z.string(),
toolName: z.string(),
output: z.string(),
});
export const AskHumanRequestEvent = BaseRunEvent.extend({
type: z.literal("ask-human-request"),
toolCallId: z.string(),
@ -106,6 +113,7 @@ export const RunEvent = z.union([
MessageEvent,
ToolInvocationEvent,
ToolResultEvent,
ToolOutputStreamEvent,
AskHumanRequestEvent,
AskHumanResponseEvent,
ToolPermissionRequestEvent,