( callId: string, timestamp: number, )
| 80 | } |
| 81 | |
| 82 | function toolResultMsg( |
| 83 | callId: string, |
| 84 | timestamp: number, |
| 85 | ): Record<string, unknown> { |
| 86 | return { |
| 87 | role: "toolResult", |
| 88 | toolCallId: `${callId}|fc_${callId}`, |
| 89 | toolName: "read", |
| 90 | content: [{ type: "text", text: "ok" }], |
| 91 | timestamp, |
| 92 | }; |
| 93 | } |
| 94 | |
| 95 | describe("injectSyntheticTodowriteForPi", () => { |
| 96 | it("skips defer replay when the persisted anchor is outside the visible window", () => { |
no outgoing calls
no test coverage detected