(blockId: string)
| 35 | } from '@/lib/execution/event-buffer' |
| 36 | |
| 37 | function makeEvent(blockId: string): ExecutionEvent { |
| 38 | return { |
| 39 | type: 'block:started', |
| 40 | timestamp: new Date().toISOString(), |
| 41 | executionId: 'exec-1', |
| 42 | workflowId: 'wf-1', |
| 43 | data: { |
| 44 | blockId, |
| 45 | blockName: blockId, |
| 46 | blockType: 'function', |
| 47 | executionOrder: 1, |
| 48 | }, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | function parseFlushEvalArgs(args: unknown[]): { |
| 53 | terminalStatus: string |