(event: Record<string, unknown>, time?: number)
| 9 | return { lineNo: line, data: { ...data, time }, raw: data } as unknown as WireEntry; |
| 10 | } |
| 11 | function loop(event: Record<string, unknown>, time?: number): WireEntry { |
| 12 | return e({ type: 'context.append_loop_event', event }, time); |
| 13 | } |
| 14 | |
| 15 | describe('analyzeWire', () => { |
| 16 | it('folds a session into turns/steps/tools with derived metrics', () => { |