{
  "deltaKinds": [
    "session.reset",
    "turn.open",
    "input.accepted",
    "item.textClose",
    "item.textDelta",
    "item.textClose",
    "item.textClose",
    "turn.boundary",
    "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": "dae0ade8ed-t1"
      }
    },
    {
      "type": "turn/input/accepted",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "dae0ade8ed-t1"
      },
      "clientRequestId": "creq_abcdefghjk"
    },
    {
      "type": "item/started",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "dae0ade8ed-t1"
      },
      "item": {
        "type": "agentMessage",
        "id": "dae0ade8ed-i1",
        "text": ""
      }
    },
    {
      "type": "item/agentMessage/delta",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "dae0ade8ed-t1"
      },
      "itemId": "dae0ade8ed-i1",
      "delta": "PROMPTED: started bg_4"
    },
    {
      "type": "item/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "dae0ade8ed-t1"
      },
      "item": {
        "type": "agentMessage",
        "id": "dae0ade8ed-i1",
        "text": "PROMPTED: started bg_4"
      }
    },
    {
      "type": "turn/completed",
      "threadId": "",
      "providerThreadId": "",
      "scope": {
        "kind": "turn",
        "turnId": "dae0ade8ed-t1"
      },
      "status": "completed"
    },
    {
      "type": "provider/unhandled",
      "threadId": "",
      "providerThreadId": "",
      "providerId": "acp",
      "rawType": "acp/update:agent_message_chunk",
      "rawEvent": {
        "jsonrpc": "2.0",
        "method": "acp/update",
        "params": {
          "threadId": "thread-2122",
          "update": {
            "sessionUpdate": "agent_message_chunk",
            "content": {
              "type": "text",
              "text": "UNPROMPTED: job bg_4 finished, "
            }
          }
        }
      },
      "scope": {
        "kind": "thread"
      }
    },
    {
      "type": "provider/unhandled",
      "threadId": "",
      "providerThreadId": "",
      "providerId": "acp",
      "rawType": "acp/update:tool_call",
      "rawEvent": {
        "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"
          }
        }
      },
      "scope": {
        "kind": "thread"
      }
    },
    {
      "type": "provider/unhandled",
      "threadId": "",
      "providerThreadId": "",
      "providerId": "acp",
      "rawType": "acp/update:tool_call_update",
      "rawEvent": {
        "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"
          }
        }
      },
      "scope": {
        "kind": "thread"
      }
    },
    {
      "type": "provider/unhandled",
      "threadId": "",
      "providerThreadId": "",
      "providerId": "acp",
      "rawType": "acp/update:agent_message_chunk",
      "rawEvent": {
        "jsonrpc": "2.0",
        "method": "acp/update",
        "params": {
          "threadId": "thread-2122",
          "update": {
            "sessionUpdate": "agent_message_chunk",
            "content": {
              "type": "text",
              "text": "the answer is 42."
            }
          }
        }
      },
      "scope": {
        "kind": "thread"
      }
    }
  ],
  "bridgeOutput": [
    {
      "jsonrpc": "2.0",
      "method": "thread/identity",
      "params": {
        "threadId": "thread-2122",
        "providerThreadId": "unprompted-1026",
        "sessionRestorable": false
      }
    },
    {
      "jsonrpc": "2.0",
      "method": "thread/delta",
      "params": {
        "threadId": "thread-2122",
        "deltas": [
          {
            "kind": "session.reset"
          }
        ]
      }
    },
    {
      "jsonrpc": "2.0",
      "id": 101,
      "result": {
        "providerThreadId": "unprompted-1026",
        "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": "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"
            }
          }
        ]
      }
    }
  ]
}