coding with acpx

This commit is contained in:
Arjun 2026-05-06 19:03:27 +05:30
parent d6651c4bf8
commit a18f5dc3dd
12 changed files with 545 additions and 13 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,