{
  "deltaKinds": [
    "session.reset",
    "turn.open",
    "input.accepted",
    "item.textClose",
    "item.textDelta",
    "item.textClose",
    "item.textClose",
    "turn.boundary",
    "turn.open",
    "item.textClose",
    "item.textDelta",
    "item.textClose",
    "item.textClose",
    "item.open",
    "item.close",
    "item.textClose",
    "item.textDelta"
  ],
  "events": [
    {
      "type": "turn/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      }
    },
    {
      "type": "turn/input/accepted",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      },
      "clientRequestId": "creq_abcdefghjk"
    },
    {
      "type": "item/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      },
      "item": {
        "type": "agentMessage",
        "id": "da6ddf942b-i1",
        "text": ""
      }
    },
    {
      "type": "item/agentMessage/delta",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      },
      "itemId": "da6ddf942b-i1",
      "delta": "PROMPTED: started bg_4"
    },
    {
      "type": "item/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      },
      "item": {
        "type": "agentMessage",
        "id": "da6ddf942b-i1",
        "text": "PROMPTED: started bg_4"
      }
    },
    {
      "type": "turn/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t1"
      },
      "status": "completed"
    },
    {
      "type": "turn/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      }
    },
    {
      "type": "item/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "item": {
        "type": "agentMessage",
        "id": "da6ddf942b-i2",
        "text": ""
      }
    },
    {
      "type": "item/agentMessage/delta",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "itemId": "da6ddf942b-i2",
      "delta": "UNPROMPTED: job bg_4 finished, "
    },
    {
      "type": "item/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "item": {
        "type": "agentMessage",
        "id": "da6ddf942b-i2",
        "text": "UNPROMPTED: job bg_4 finished, "
      }
    },
    {
      "type": "item/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "item": {
        "type": "fileRead",
        "id": "da6ddf942b-i3",
        "path": "result.txt",
        "status": "pending",
        "presentation": {
          "label": {
            "pending": "Reading file",
            "completed": "Read file"
          },
          "icon": {
            "glyph": "FileText"
          },
          "title": "result.txt"
        }
      }
    },
    {
      "type": "item/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "item": {
        "type": "fileRead",
        "id": "da6ddf942b-i3",
        "path": "result.txt",
        "status": "completed",
        "presentation": {
          "label": {
            "pending": "Reading file",
            "completed": "Read file"
          },
          "icon": {
            "glyph": "FileText"
          },
          "title": "result.txt"
        }
      }
    },
    {
      "type": "item/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "item": {
        "type": "agentMessage",
        "id": "da6ddf942b-i4",
        "text": ""
      }
    },
    {
      "type": "item/agentMessage/delta",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "da6ddf942b-t2"
      },
      "itemId": "da6ddf942b-i4",
      "delta": "the answer is 42."
    }
  ],
  "bridgeOutput": [
    {
      "jsonrpc": "2.0",
      "method": "thread/identity",
      "params": {
        "threadId": "thread-2122",
        "providerThreadId": "unprompted-30778",
        "sessionRestorable": false
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "session.reset"
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "id": 101,
      "result": {
        "providerThreadId": "unprompted-30778",
        "sessionRestorable": false
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "turn.open"
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "input.accepted",
            "clientRequestId": "creq_abcdefghjk"
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "id": 102,
      "result": {
        "threadId": "thread-2122"
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.textClose",
            "key": {
              "channel": "thought"
            },
            "channel": "reasoningText"
          },
          {
            "kind": "item.textDelta",
            "key": {
              "channel": "assistant"
            },
            "channel": "agentMessage",
            "text": "PROMPTED: started bg_4",
            "noTurnFallback": {
              "raw": {
                "jsonrpc": "2.0",
                "method": "acp/update",
                "params": {
                  "threadId": "thread-2122",
                  "update": {
                    "sessionUpdate": "agent_message_chunk",
                    "content": {
                      "type": "text",
                      "text": "PROMPTED: started bg_4"
                    }
                  }
                }
              },
              "rawType": "acp/update:agent_message_chunk"
            }
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.textClose",
            "key": {
              "channel": "thought"
            },
            "channel": "reasoningText"
          },
          {
            "kind": "item.textClose",
            "key": {
              "channel": "assistant"
            },
            "channel": "agentMessage"
          },
          {
            "kind": "turn.boundary",
            "status": "completed",
            "claimIfIdle": true
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "turn.open"
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.textClose",
            "key": {
              "channel": "thought"
            },
            "channel": "reasoningText"
          },
          {
            "kind": "item.textDelta",
            "key": {
              "channel": "assistant"
            },
            "channel": "agentMessage",
            "text": "UNPROMPTED: job bg_4 finished, ",
            "noTurnFallback": {
              "raw": {
                "jsonrpc": "2.0",
                "method": "acp/update",
                "params": {
                  "threadId": "thread-2122",
                  "update": {
                    "sessionUpdate": "agent_message_chunk",
                    "content": {
                      "type": "text",
                      "text": "UNPROMPTED: job bg_4 finished, "
                    }
                  }
                }
              },
              "rawType": "acp/update:agent_message_chunk"
            }
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.textClose",
            "key": {
              "channel": "thought"
            },
            "channel": "reasoningText"
          },
          {
            "kind": "item.textClose",
            "key": {
              "channel": "assistant"
            },
            "channel": "agentMessage"
          },
          {
            "kind": "item.open",
            "key": {
              "providerItemId": "unprompted-tool-1"
            },
            "item": {
              "type": "fileRead",
              "path": "result.txt"
            },
            "presentation": {
              "label": {
                "pending": "Reading file",
                "completed": "Read file"
              },
              "icon": {
                "glyph": "FileText"
              },
              "title": "result.txt"
            },
            "noTurnFallback": {
              "raw": {
                "jsonrpc": "2.0",
                "method": "acp/update",
                "params": {
                  "threadId": "thread-2122",
                  "update": {
                    "toolCallId": "unprompted-tool-1",
                    "title": "cat result.txt",
                    "kind": "read",
                    "status": "pending",
                    "rawInput": {
                      "path": "result.txt"
                    },
                    "sessionUpdate": "tool_call"
                  }
                }
              },
              "rawType": "acp/update:tool_call"
            }
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.close",
            "key": {
              "providerItemId": "unprompted-tool-1"
            },
            "status": "completed",
            "resultText": "42",
            "aggregatedOutput": "42",
            "exitCode": 0,
            "item": {
              "type": "fileRead",
              "path": "result.txt"
            },
            "presentation": {
              "label": {
                "pending": "Reading file",
                "completed": "Read file"
              },
              "icon": {
                "glyph": "FileText"
              },
              "title": "result.txt"
            },
            "noTurnFallback": {
              "raw": {
                "jsonrpc": "2.0",
                "method": "acp/update",
                "params": {
                  "threadId": "thread-2122",
                  "update": {
                    "toolCallId": "unprompted-tool-1",
                    "status": "completed",
                    "content": [
                      {
                        "type": "content",
                        "content": {
                          "type": "text",
                          "text": "42"
                        }
                      }
                    ],
                    "sessionUpdate": "tool_call_update"
                  }
                }
              },
              "rawType": "acp/update:tool_call_update"
            }
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "item.textClose",
            "key": {
              "channel": "thought"
            },
            "channel": "reasoningText"
          },
          {
            "kind": "item.textDelta",
            "key": {
              "channel": "assistant"
            },
            "channel": "agentMessage",
            "text": "the answer is 42.",
            "noTurnFallback": {
              "raw": {
                "jsonrpc": "2.0",
                "method": "acp/update",
                "params": {
                  "threadId": "thread-2122",
                  "update": {
                    "sessionUpdate": "agent_message_chunk",
                    "content": {
                      "type": "text",
                      "text": "the answer is 42."
                    }
                  }
                }
              },
              "rawType": "acp/update:agent_message_chunk"
            }
          }
        ]
      }
    }
  ]
}