{
  "turns": [
    [
      { "method": "turn/started", "params": { "threadId": "T", "turn": { "id": "turn-X", "status": "inProgress" } } },
      { "method": "item/started", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "agentMessage", "id": "msg-1", "text": "" } } },
      { "method": "item/agentMessage/delta", "params": { "threadId": "T", "turnId": "turn-X", "itemId": "msg-1", "delta": "Done with the first pass." } },
      { "method": "item/completed", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "agentMessage", "id": "msg-1", "text": "Done with the first pass." } } },
      { "method": "turn/completed", "params": { "threadId": "T", "turn": { "id": "turn-X", "status": "completed" } } },

      { "sleepMs": 12000 },

      { "method": "item/started", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "reasoning", "id": "reason-1", "summary": ["Actually, let me keep going and run the tests."], "content": [] } } },
      { "method": "item/completed", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "reasoning", "id": "reason-1", "summary": ["Actually, let me keep going and run the tests."], "content": [] } } },
      { "method": "item/started", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "commandExecution", "id": "cmd-1", "command": "npm test", "cwd": "/tmp/bb-1646-repo", "status": "inProgress", "aggregatedOutput": null, "exitCode": null, "durationMs": null } } },
      { "method": "item/commandExecution/outputDelta", "params": { "threadId": "T", "turnId": "turn-X", "itemId": "cmd-1", "delta": "> qa@1.0.0 test\n> vitest run\n\n RUN  v4.1.1\n" } },

      { "sleepMs": 45000 },

      { "method": "item/completed", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "commandExecution", "id": "cmd-1", "command": "npm test", "cwd": "/tmp/bb-1646-repo", "status": "completed", "aggregatedOutput": "> qa@1.0.0 test\n> vitest run\n\n RUN  v4.1.1\n Test Files  3 passed (3)\n", "exitCode": 0, "durationMs": 45000 } } },
      { "method": "item/started", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "agentMessage", "id": "msg-2", "text": "" } } },
      { "method": "item/agentMessage/delta", "params": { "threadId": "T", "turnId": "turn-X", "itemId": "msg-2", "delta": "Tests pass. Really done now." } },
      { "method": "item/completed", "params": { "threadId": "T", "turnId": "turn-X", "item": { "type": "agentMessage", "id": "msg-2", "text": "Tests pass. Really done now." } } },
      { "method": "turn/completed", "params": { "threadId": "T", "turn": { "id": "turn-X", "status": "completed" } } }
    ]
  ]
}
