| 16 | const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); |
| 17 | |
| 18 | interface CallMsg { type: 'call'; id: number; toolName: string; args: Record<string, unknown> } |
| 19 | type Action = { result: ToolResult } | { crash: true } | { hang: true } | { wait: Promise<ToolResult> }; |
| 20 | |
| 21 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected