{
  "formatVersion": 1,
  "roots": [
    {
      "key": "event:assistant/chunk",
      "kind": "event",
      "event": "assistant/chunk",
      "surface": false,
      "digest": "de04e4ae000cc4422a15fb86dce7c398c8a9970ac963b6f7f785e2276a939e62",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "data",
                "type": 1,
                "optional": false
              },
              {
                "name": "ignorable",
                "type": 55,
                "optional": true
              },
              {
                "name": "seq",
                "type": 5,
                "optional": false
              },
              {
                "name": "time",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 56,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "chunk",
                "type": 2,
                "optional": false
              },
              {
                "name": "step",
                "type": 5,
                "optional": false
              },
              {
                "name": "turn",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              3,
              7,
              28,
              31,
              33,
              35,
              52
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "argumentsDelta",
                "type": 4,
                "optional": false
              },
              {
                "name": "id",
                "type": 4,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": true
              },
              {
                "name": "type",
                "type": 6,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "tool-call-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "block",
                "type": 8,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 27,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              9,
              11,
              19,
              23,
              25
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 4,
                "optional": false
              },
              {
                "name": "id",
                "type": 4,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 10,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 12,
                "optional": false
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 4,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 5,
                "optional": false
              },
              {
                "name": "height",
                "type": 5,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 13,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": true
              },
              {
                "name": "width",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              14,
              15,
              16,
              17
            ]
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 20,
                "optional": false
              },
              {
                "name": "isError",
                "type": 21,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 22,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 8
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 24,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 26,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "block-end"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blockType",
                "type": 29,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 30,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              10,
              18,
              22,
              24,
              26
            ]
          },
          {
            "kind": "literal",
            "value": "block-start"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 32,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 34,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "reason",
                "type": 36,
                "optional": false
              },
              {
                "name": "replayState",
                "type": 48,
                "optional": true
              },
              {
                "name": "type",
                "type": 51,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              37,
              40,
              42,
              44,
              46
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 38,
                "optional": false
              },
              {
                "name": "kind",
                "type": 39,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 4,
                "optional": false
              },
              {
                "name": "message",
                "type": 4,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 5,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 4,
                "optional": true
              },
              {
                "name": "status",
                "type": 5,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 38,
                "optional": false
              },
              {
                "name": "kind",
                "type": 41,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 43,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 45,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 47,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 49,
                "optional": true
              },
              {
                "name": "response",
                "type": 50,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 50
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          },
          {
            "kind": "literal",
            "value": "finish"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "type",
                "type": 53,
                "optional": false
              },
              {
                "name": "usage",
                "type": 54,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "usage"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 5,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 5,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 5,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 5,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 5,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": true
          },
          {
            "kind": "literal",
            "value": "assistant/chunk"
          }
        ]
      }
    }
  ],
  "types": [
    {
      "digest": "0657d3ca5ac4e7bf79b00bcf860b1c7159d01a9da137497221ec2f1776e365f7",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "primitive",
            "type": "number"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "0a0993cbd901036cad53c427c104c2e9f830362d92cc73676fd363053a958d92",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "type",
                "type": 1,
                "optional": false
              },
              {
                "name": "usage",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "usage"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 3,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 3,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 3,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 3,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 3,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[5]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "0acd94fe8794574c9ae72c7855ee16d29c546096d4af760d16d1225385764555",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 1,
                "optional": true
              },
              {
                "name": "response",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 2
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ReplayEnvelope"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "0bdaf9cb63594be4ef034b68901fffe792fe09d6d5f6bac42d7f56f6e7834fb9",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "usage"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "199849cb9767b1df5f2048ef0bbb542987cacb44352bc22e6584418d72822554",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "array",
            "element": 1
          },
          {
            "kind": "union",
            "types": [
              2,
              5,
              14,
              17,
              19
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 3,
                "optional": false
              },
              {
                "name": "id",
                "type": 3,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 6,
                "optional": false
              },
              {
                "name": "type",
                "type": 13,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 3,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 7,
                "optional": false
              },
              {
                "name": "height",
                "type": 7,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 8,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": true
              },
              {
                "name": "width",
                "type": 7,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              9,
              10,
              11,
              12
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 0,
                "optional": false
              },
              {
                "name": "isError",
                "type": 15,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 16,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 20,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          }
        ]
      },
      "names": [
        "event:agent/inbox/spliced[0].data.inserted[0].content",
        "event:agent/inbox/spliced[0].data.inserted[0].content[0][4].content",
        "event:assistant/message.data.message.content",
        "event:compaction/summary[0].data[0].rawOutput",
        "event:compaction/summary[0].data[0].summary",
        "event:compaction/summary[0].data[1].rawOutput",
        "event:compaction/summary[0].data[1].summary",
        "event:session/title-llm-request[0].data.messages[0].content",
        "event:tool/code-dispatch[0].data.content"
      ],
      "sources": []
    },
    {
      "digest": "1b12378f91b6dda1e2fe82d74563f5e0893b71fd2104d60a4eee94a8a09a2877",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 1,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 1,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 1,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 1,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 1,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#TokenUsage"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "1d76406cbb2ddadb0dbbb51e9d8bc6cf678fed455cf8eb512f36f7c86d37a62f",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 1,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].reason[3]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "1e0b0b66b6f0c53fc72e52289d06b4708d776f1ca9df4c86a22bff621d403cf0",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "aborted"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "1f0133217eeeffd8d387baf1ec8ed9856e719bcd999dc08e48624cba96d75fd7",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "tool-call"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "1f2180253053d07f60260c081d2d721f04ebb1f2691fbf00237dc7a01c7c0812",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "union",
            "types": [
              1,
              2,
              3,
              4,
              5
            ]
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ContentBlockType"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "27cd736e794a0f8703a155fb697820cede894d10776586dd3df24d24c9465c0e",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 1,
                "optional": false
              },
              {
                "name": "message",
                "type": 1,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 2,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 1,
                "optional": true
              },
              {
                "name": "status",
                "type": 2,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#LlmFailure"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "287211846beea1eccb5f9acee00d20388a38fcb2e95858fa2332d6f58529379a",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 1,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].reason[4]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "2abb711460e6238d851c30f3e4bdd87a2aa1887ee70575b3d3b7b25610673095",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 1,
                "optional": false
              },
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "reasoning-delta"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[2]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "2d011306fd384c442f80bf510f523c2db9b40216f9994ee18c9c0e01be764d4f",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "assistant/chunk"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "2f1e6a7ebace43d727ae138ddcd352eb3813960009e5805b8c5ac84300c97716",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "union",
            "types": [
              1,
              2,
              3,
              4
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          }
        ]
      },
      "names": [
        "packages/attachment/attachment/src/types.ts#ImageMediaType"
      ],
      "sources": [
        "packages/attachment/attachment/src/types.ts"
      ]
    },
    {
      "digest": "3c2535ca0a2062f172f15344f8040755002b5ac506cf94fc4ebaa822b15feb8c",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "reasoning"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "3f74ba74acd10644c1ed6947a411d8088bd2cfac74f61bb8540f96d68e31f004",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "image/jpeg"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "4cd48f3e5108bd6ebedf7301c3638839b8b2b9db8dbd493974177fbdeb91a01b",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "primitive",
            "type": "string"
          }
        ]
      },
      "names": [
        "packages/attachment/attachment/src/brand.ts#AttachmentId",
        "packages/compaction/compaction/src/brand.ts#CompactionId",
        "packages/core/session/src/types.ts#SessionId",
        "packages/goal/goal/src/types.ts#GoalId",
        "packages/host/apiproxy/src/api/rpc.ts#RpcId",
        "packages/interaction/commands/src/brand.ts#CommandId",
        "packages/interaction/user-approval/src/types.ts#ApprovalRequestId",
        "packages/llm/llm-retry/src/brand.ts#RetryId",
        "packages/llm/llm/src/brand.ts#CallId",
        "packages/llm/llm/src/brand.ts#MessageId",
        "packages/llm/llm/src/brand.ts#ProviderRequestId",
        "packages/llm/llm/src/brand.ts#ReasoningEffortId",
        "packages/schedule/schedule/src/types.ts#ScheduleId",
        "packages/session/session-title/src/index.ts#SessionTitleProviderId",
        "packages/workflow/workflow/src/types.ts#WorkflowRunId"
      ],
      "sources": [
        "packages/attachment/attachment/src/brand.ts",
        "packages/compaction/compaction/src/brand.ts",
        "packages/core/session/src/types.ts",
        "packages/goal/goal/src/types.ts",
        "packages/host/apiproxy/src/api/rpc.ts",
        "packages/interaction/commands/src/brand.ts",
        "packages/interaction/user-approval/src/types.ts",
        "packages/llm/llm-retry/src/brand.ts",
        "packages/llm/llm/src/brand.ts",
        "packages/schedule/schedule/src/types.ts",
        "packages/session/session-title/src/index.ts",
        "packages/workflow/workflow/src/types.ts"
      ]
    },
    {
      "digest": "4e44c9118152f6829634bfd508e47669ab0497caffa380c94b4be91f9390d35d",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "text"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "4e887768586528565381dadbddee6cef555874148089f4579e0b4b1ad096fc9c",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 1,
                "optional": false
              },
              {
                "name": "type",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "text"
          }
        ]
      },
      "names": [
        "event:web/deepseek-search-llm-request[0].data.body.messages[0].content[0]",
        "packages/llm/llm/src/types.ts#TextBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts",
        "packages/web/web-search-deepseek/src/provider.ts"
      ]
    },
    {
      "digest": "57f3f606ff8b6c84d9c443faace9d1dd10cca0354f37a4f515ef075f7c351b90",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "stop"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "58f94390b982f8a5ac1f4f235ba612557f4a1dc4a995d8b1cec63ce7639decb0",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "image/png"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "5abab3a27fd2736660ecddd94b28d6bbf114986dd894880153bd1be3ccacb563",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "text-delta"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "5ed158429dfa6a8633e6ba94b8c81190616c24b65c1777bf1c60cde9dd499a2f",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "union",
            "types": [
              1,
              3,
              5,
              10,
              12
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 6,
                "optional": false
              },
              {
                "name": "kind",
                "type": 9,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 7,
                "optional": false
              },
              {
                "name": "message",
                "type": 7,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 8,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 7,
                "optional": true
              },
              {
                "name": "status",
                "type": 8,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 6,
                "optional": false
              },
              {
                "name": "kind",
                "type": 11,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 13,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#FinishReason"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "64cfc4dbd3739f0ee040689482cb27058890f1d6113abb1de756836318aeebbc",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 1,
                "optional": false
              },
              {
                "name": "kind",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 2,
                "optional": false
              },
              {
                "name": "message",
                "type": 2,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 3,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 2,
                "optional": true
              },
              {
                "name": "status",
                "type": 3,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "aborted"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].reason[0]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "68141cbe3994a5ffcd064c07c75996538437fd9dbf77ce8a2927e89ec577fabe",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "max-tokens"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "69ff80f4793bad2db0775d2a2d68976346e1e59abac92e6e67ad81c386cdc0b4",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "block",
                "type": 1,
                "optional": false
              },
              {
                "name": "index",
                "type": 7,
                "optional": false
              },
              {
                "name": "type",
                "type": 22,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              2,
              5,
              14,
              18,
              20
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 3,
                "optional": false
              },
              {
                "name": "id",
                "type": 3,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 6,
                "optional": false
              },
              {
                "name": "type",
                "type": 13,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 3,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 7,
                "optional": false
              },
              {
                "name": "height",
                "type": 7,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 8,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": true
              },
              {
                "name": "width",
                "type": 7,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              9,
              10,
              11,
              12
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 15,
                "optional": false
              },
              {
                "name": "isError",
                "type": 16,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 17,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 1
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 19,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 21,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "block-end"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[4]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "6c1cccb433ddc153facb380c7dda956237ba5c31f8a532a69142dc277890cc9b",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "tool-calls"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "6f091fe32ab24407236090ca9d710bbaf59bb57466e9f3b8f1f6e4862bc863c6",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "reasoning-delta"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "814d9434e1ddf9078612b3b34322f26e9363b469213335007f7e9ba7fee9464e",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 1,
                "optional": false
              },
              {
                "name": "type",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "reasoning"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ReasoningBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "8729c8ebb6f8241bfc13ff68228be6bbac9818394e95a734fb6543ecf8061af5",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "union",
            "types": [
              1,
              4,
              13,
              17,
              19
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 2,
                "optional": false
              },
              {
                "name": "id",
                "type": 2,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 12,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 2,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 6,
                "optional": false
              },
              {
                "name": "height",
                "type": 6,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 7,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": true
              },
              {
                "name": "width",
                "type": 6,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              8,
              9,
              10,
              11
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 14,
                "optional": false
              },
              {
                "name": "isError",
                "type": 15,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 16,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 0
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 20,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ContentBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "88a610b831be6d92612a464be5c7d0b88ec24d97bd299837bf74bf7672183c9a",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "argumentsDelta",
                "type": 1,
                "optional": false
              },
              {
                "name": "id",
                "type": 1,
                "optional": false
              },
              {
                "name": "index",
                "type": 2,
                "optional": false
              },
              {
                "name": "name",
                "type": 1,
                "optional": true
              },
              {
                "name": "type",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "tool-call-delta"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[3]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "95080295115fbd83544520ba247b68a03790131f6a2eac323d388758cb542f65",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 1,
                "optional": false
              },
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "text-delta"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[1]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "9b4fd974c124c83743efe030ba4e1250e087505f3f74588716a521fb8d453267",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "tool-call-delta"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "a2be0f0cb59f0d4a06557d45847d1938aced238baa77a6da416e590b8b958553",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "error"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "a4ed3446d32625902170fce527fb64a0283d6f4817930f54a16fdce3a482b36a",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "reason",
                "type": 1,
                "optional": false
              },
              {
                "name": "replayState",
                "type": 15,
                "optional": true
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              2,
              7,
              9,
              11,
              13
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 3,
                "optional": false
              },
              {
                "name": "kind",
                "type": 6,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 4,
                "optional": false
              },
              {
                "name": "message",
                "type": 4,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 5,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 4,
                "optional": true
              },
              {
                "name": "status",
                "type": 5,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 3,
                "optional": false
              },
              {
                "name": "kind",
                "type": 8,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 10,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 12,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 14,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 16,
                "optional": true
              },
              {
                "name": "response",
                "type": 17,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 17
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          },
          {
            "kind": "literal",
            "value": "finish"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "a681bf8e6eed8af50ad0da0efbf233c59215d7221fbbf9ee0a36e542a5c5f814",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "blockType",
                "type": 1,
                "optional": false
              },
              {
                "name": "index",
                "type": 7,
                "optional": false
              },
              {
                "name": "type",
                "type": 8,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              2,
              3,
              4,
              5,
              6
            ]
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "block-start"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[0]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "a89bb378903fc55509a40031397e8a1dc3091700f4806ef19a3270c88536b58f",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 1,
                "optional": false
              },
              {
                "name": "type",
                "type": 9,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 2,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 3,
                "optional": false
              },
              {
                "name": "height",
                "type": 3,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 4,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": true
              },
              {
                "name": "width",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              5,
              6,
              7,
              8
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ImageBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "aa93010d0e521ad7c42273f58d5c9b8bf1dfc94edf1b805a3971b364a35c1877",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "primitive",
            "type": "boolean"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "ab7ec5f9eb2c6dfacca5da4c37cf7ba85d04172053ee6b1ebf1709ffcd99c1a7",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 1,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].reason[2]",
        "event:turn/end[0].data.reason[4]"
      ],
      "sources": [
        "packages/core/session/src/types.ts",
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "b14ed9d0940f30765ddd59b7fd792c0c60ac0297d7c67318ad7bead8013e047c",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 1,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 2,
                "optional": false
              },
              {
                "name": "height",
                "type": 2,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 3,
                "optional": false
              },
              {
                "name": "name",
                "type": 1,
                "optional": true
              },
              {
                "name": "width",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              4,
              5,
              6,
              7
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          }
        ]
      },
      "names": [
        "packages/attachment/attachment/src/types.ts#ImageAttachmentRef"
      ],
      "sources": [
        "packages/attachment/attachment/src/types.ts"
      ]
    },
    {
      "digest": "b1664fa89f8eab49a14e7e3168d8bc4da4aa9fd76332f6c4a053d839e5276ae7",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "array",
            "element": 1
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].replayState.blocks"
      ],
      "sources": []
    },
    {
      "digest": "b58c061065b245f6f2bad9abfc4829d4c732c02af0dded0cc88c9e90940267c6",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "chunk",
                "type": 1,
                "optional": false
              },
              {
                "name": "step",
                "type": 4,
                "optional": false
              },
              {
                "name": "turn",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              2,
              6,
              27,
              30,
              32,
              34,
              51
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "argumentsDelta",
                "type": 3,
                "optional": false
              },
              {
                "name": "id",
                "type": 3,
                "optional": false
              },
              {
                "name": "index",
                "type": 4,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": true
              },
              {
                "name": "type",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "tool-call-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "block",
                "type": 7,
                "optional": false
              },
              {
                "name": "index",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 26,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              8,
              10,
              18,
              22,
              24
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 3,
                "optional": false
              },
              {
                "name": "id",
                "type": 3,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 9,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 11,
                "optional": false
              },
              {
                "name": "type",
                "type": 17,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 3,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 4,
                "optional": false
              },
              {
                "name": "height",
                "type": 4,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 12,
                "optional": false
              },
              {
                "name": "name",
                "type": 3,
                "optional": true
              },
              {
                "name": "width",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              13,
              14,
              15,
              16
            ]
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 19,
                "optional": false
              },
              {
                "name": "isError",
                "type": 20,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 21,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 7
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 23,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 25,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "block-end"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blockType",
                "type": 28,
                "optional": false
              },
              {
                "name": "index",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 29,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              9,
              17,
              21,
              23,
              25
            ]
          },
          {
            "kind": "literal",
            "value": "block-start"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 4,
                "optional": false
              },
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 31,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 4,
                "optional": false
              },
              {
                "name": "text",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 33,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "reason",
                "type": 35,
                "optional": false
              },
              {
                "name": "replayState",
                "type": 47,
                "optional": true
              },
              {
                "name": "type",
                "type": 50,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              36,
              39,
              41,
              43,
              45
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 37,
                "optional": false
              },
              {
                "name": "kind",
                "type": 38,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 3,
                "optional": false
              },
              {
                "name": "message",
                "type": 3,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 4,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 3,
                "optional": true
              },
              {
                "name": "status",
                "type": 4,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 37,
                "optional": false
              },
              {
                "name": "kind",
                "type": 40,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 42,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 44,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 46,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 48,
                "optional": true
              },
              {
                "name": "response",
                "type": 49,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 49
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          },
          {
            "kind": "literal",
            "value": "finish"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "type",
                "type": 52,
                "optional": false
              },
              {
                "name": "usage",
                "type": 53,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "usage"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 4,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 4,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 4,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 4,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 4,
                "optional": true
              }
            ],
            "indices": []
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data"
      ],
      "sources": [
        "packages/core/session/src/types.ts"
      ]
    },
    {
      "digest": "bbc5696e3f13c758237b316e3cf08cda0b9fd51ffe672539883457769faa185d",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "opaque",
            "reason": "unknown"
          }
        ]
      },
      "names": [
        "event:agent/inbox/spliced[0].data.inserted[0].source[8].replayState",
        "event:assistant/chunk[0].data.chunk[6].replayState.blocks[0]",
        "event:assistant/chunk[0].data.chunk[6].replayState.response",
        "event:request/header[0].data.header.tools[0].parameters.[value]",
        "event:tool/code-dispatch-start[0].data.arguments",
        "event:tool/code-dispatch[0].data.arguments"
      ],
      "sources": []
    },
    {
      "digest": "bd499eac047efe091a4df7382eadd06d25cf0cb31fee3981e8b24d85762841cd",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "finish"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "c1f0f17b6493b85db6453bb30e01b208d703731b25bc1e68e5d4fc72eea9cdea",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 1,
                "optional": false
              },
              {
                "name": "id",
                "type": 1,
                "optional": false
              },
              {
                "name": "name",
                "type": 1,
                "optional": false
              },
              {
                "name": "type",
                "type": 2,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ToolCallBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "c76b1e39b5c16f66431a3eb26d8fe56aff693cd4710047cbd2e5f71290be89af",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "union",
            "types": [
              1,
              5,
              26,
              29,
              31,
              33,
              50
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "argumentsDelta",
                "type": 2,
                "optional": false
              },
              {
                "name": "id",
                "type": 2,
                "optional": false
              },
              {
                "name": "index",
                "type": 3,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": true
              },
              {
                "name": "type",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "tool-call-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "block",
                "type": 6,
                "optional": false
              },
              {
                "name": "index",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 25,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              7,
              9,
              17,
              21,
              23
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 2,
                "optional": false
              },
              {
                "name": "id",
                "type": 2,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 8,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 10,
                "optional": false
              },
              {
                "name": "type",
                "type": 16,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 2,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 3,
                "optional": false
              },
              {
                "name": "height",
                "type": 3,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 11,
                "optional": false
              },
              {
                "name": "name",
                "type": 2,
                "optional": true
              },
              {
                "name": "width",
                "type": 3,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              12,
              13,
              14,
              15
            ]
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 18,
                "optional": false
              },
              {
                "name": "isError",
                "type": 19,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 20,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 6
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 22,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 24,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "block-end"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blockType",
                "type": 27,
                "optional": false
              },
              {
                "name": "index",
                "type": 3,
                "optional": false
              },
              {
                "name": "type",
                "type": 28,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              8,
              16,
              20,
              22,
              24
            ]
          },
          {
            "kind": "literal",
            "value": "block-start"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 3,
                "optional": false
              },
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 30,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 3,
                "optional": false
              },
              {
                "name": "text",
                "type": 2,
                "optional": false
              },
              {
                "name": "type",
                "type": 32,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "reason",
                "type": 34,
                "optional": false
              },
              {
                "name": "replayState",
                "type": 46,
                "optional": true
              },
              {
                "name": "type",
                "type": 49,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              35,
              38,
              40,
              42,
              44
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 36,
                "optional": false
              },
              {
                "name": "kind",
                "type": 37,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 2,
                "optional": false
              },
              {
                "name": "message",
                "type": 2,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 3,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 2,
                "optional": true
              },
              {
                "name": "status",
                "type": 3,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 36,
                "optional": false
              },
              {
                "name": "kind",
                "type": 39,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 41,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 43,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 45,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 47,
                "optional": true
              },
              {
                "name": "response",
                "type": 48,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 48
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          },
          {
            "kind": "literal",
            "value": "finish"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "type",
                "type": 51,
                "optional": false
              },
              {
                "name": "usage",
                "type": 52,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "usage"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 3,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 3,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 3,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 3,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 3,
                "optional": true
              }
            ],
            "indices": []
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#StreamChunk"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "ca13866102dfc53a503fccddeebc9caf667b8a06ef27217dd65de29f0495e65d",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 1,
                "optional": false
              },
              {
                "name": "kind",
                "type": 4,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 2,
                "optional": false
              },
              {
                "name": "message",
                "type": 2,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 3,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 2,
                "optional": true
              },
              {
                "name": "status",
                "type": 3,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "error"
          }
        ]
      },
      "names": [
        "event:assistant/chunk[0].data.chunk[6].reason[1]"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "cbca49bde16b656d5b8fbe4a8a507769f7b594c6287782b809c03814941bc5e3",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "block-start"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "dacf3d5f3e4ff619c1320e64a48dec5e7ecd7870bece65fbd449a0e63adfa521",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": true
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "de04e4ae000cc4422a15fb86dce7c398c8a9970ac963b6f7f785e2276a939e62",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "data",
                "type": 1,
                "optional": false
              },
              {
                "name": "ignorable",
                "type": 55,
                "optional": true
              },
              {
                "name": "seq",
                "type": 5,
                "optional": false
              },
              {
                "name": "time",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 56,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "chunk",
                "type": 2,
                "optional": false
              },
              {
                "name": "step",
                "type": 5,
                "optional": false
              },
              {
                "name": "turn",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              3,
              7,
              28,
              31,
              33,
              35,
              52
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "argumentsDelta",
                "type": 4,
                "optional": false
              },
              {
                "name": "id",
                "type": 4,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": true
              },
              {
                "name": "type",
                "type": 6,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "literal",
            "value": "tool-call-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "block",
                "type": 8,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 27,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              9,
              11,
              19,
              23,
              25
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 4,
                "optional": false
              },
              {
                "name": "id",
                "type": 4,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 10,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 12,
                "optional": false
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 4,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 5,
                "optional": false
              },
              {
                "name": "height",
                "type": 5,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 13,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": true
              },
              {
                "name": "width",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              14,
              15,
              16,
              17
            ]
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 20,
                "optional": false
              },
              {
                "name": "isError",
                "type": 21,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 22,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 8
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 24,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 26,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "literal",
            "value": "block-end"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blockType",
                "type": 29,
                "optional": false
              },
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "type",
                "type": 30,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              10,
              18,
              22,
              24,
              26
            ]
          },
          {
            "kind": "literal",
            "value": "block-start"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 32,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "index",
                "type": 5,
                "optional": false
              },
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 34,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text-delta"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "reason",
                "type": 36,
                "optional": false
              },
              {
                "name": "replayState",
                "type": 48,
                "optional": true
              },
              {
                "name": "type",
                "type": 51,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "union",
            "types": [
              37,
              40,
              42,
              44,
              46
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 38,
                "optional": false
              },
              {
                "name": "kind",
                "type": 39,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "code",
                "type": 4,
                "optional": false
              },
              {
                "name": "message",
                "type": 4,
                "optional": false
              },
              {
                "name": "providerRetryAfterMs",
                "type": 5,
                "optional": true
              },
              {
                "name": "requestId",
                "type": 4,
                "optional": true
              },
              {
                "name": "status",
                "type": 5,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "aborted"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "failure",
                "type": 38,
                "optional": false
              },
              {
                "name": "kind",
                "type": 41,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "error"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 43,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "max-tokens"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 45,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "stop"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "kind",
                "type": 47,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "tool-calls"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "blocks",
                "type": 49,
                "optional": true
              },
              {
                "name": "response",
                "type": 50,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 50
          },
          {
            "kind": "opaque",
            "reason": "unknown"
          },
          {
            "kind": "literal",
            "value": "finish"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "type",
                "type": 53,
                "optional": false
              },
              {
                "name": "usage",
                "type": 54,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "usage"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "cacheReadTokens",
                "type": 5,
                "optional": true
              },
              {
                "name": "cacheWriteTokens",
                "type": 5,
                "optional": true
              },
              {
                "name": "inputTokens",
                "type": 5,
                "optional": false
              },
              {
                "name": "outputTokens",
                "type": 5,
                "optional": false
              },
              {
                "name": "reasoningTokens",
                "type": 5,
                "optional": true
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": true
          },
          {
            "kind": "literal",
            "value": "assistant/chunk"
          }
        ]
      },
      "names": [
        "event:assistant/chunk",
        "event:assistant/chunk[0]"
      ],
      "sources": [
        "packages/core/session/src/types.ts"
      ]
    },
    {
      "digest": "de30b1fa12c75f81df6aa4096e1595296d2d04e2be14a7c29849cf8028b79048",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "image/gif"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "e5244812c495a80c2e78ba2c2690dca5f6b58ea8d3fe5531ff94a6f9ac5e5d66",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "tool-result"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "ebb768d85ec87fb68e42fc14fd7d8535b5ac11791b14d04c6770180f0a719bf8",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "image/webp"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "eefbea819caeeea91ccb02dfafc16c68dd7f961cf9c1b2be25a2084509cf5c5a",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "block-end"
          }
        ]
      },
      "names": [],
      "sources": []
    },
    {
      "digest": "f775d23a0394f62d86df1e78fae43af4cfaee02926c3cae4fdd0c648036755f3",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "object",
            "properties": [
              {
                "name": "content",
                "type": 1,
                "optional": false
              },
              {
                "name": "isError",
                "type": 19,
                "optional": true
              },
              {
                "name": "toolCallId",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 20,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "array",
            "element": 2
          },
          {
            "kind": "union",
            "types": [
              0,
              3,
              6,
              15,
              17
            ]
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "arguments",
                "type": 4,
                "optional": false
              },
              {
                "name": "id",
                "type": 4,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 5,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "string"
          },
          {
            "kind": "literal",
            "value": "tool-call"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachment",
                "type": 7,
                "optional": false
              },
              {
                "name": "type",
                "type": 14,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "attachmentId",
                "type": 4,
                "optional": false
              },
              {
                "name": "bytes",
                "type": 8,
                "optional": false
              },
              {
                "name": "height",
                "type": 8,
                "optional": false
              },
              {
                "name": "mediaType",
                "type": 9,
                "optional": false
              },
              {
                "name": "name",
                "type": 4,
                "optional": true
              },
              {
                "name": "width",
                "type": 8,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "primitive",
            "type": "number"
          },
          {
            "kind": "union",
            "types": [
              10,
              11,
              12,
              13
            ]
          },
          {
            "kind": "literal",
            "value": "image/gif"
          },
          {
            "kind": "literal",
            "value": "image/jpeg"
          },
          {
            "kind": "literal",
            "value": "image/png"
          },
          {
            "kind": "literal",
            "value": "image/webp"
          },
          {
            "kind": "literal",
            "value": "image"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 16,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "reasoning"
          },
          {
            "kind": "object",
            "properties": [
              {
                "name": "text",
                "type": 4,
                "optional": false
              },
              {
                "name": "type",
                "type": 18,
                "optional": false
              }
            ],
            "indices": []
          },
          {
            "kind": "literal",
            "value": "text"
          },
          {
            "kind": "primitive",
            "type": "boolean"
          },
          {
            "kind": "literal",
            "value": "tool-result"
          }
        ]
      },
      "names": [
        "packages/llm/llm/src/types.ts#ToolResultBlock"
      ],
      "sources": [
        "packages/llm/llm/src/types.ts"
      ]
    },
    {
      "digest": "fb8b6a2e53cb9cf44c551176de0fb77d1ddc60037b99a891ff8a860b6d5c29a0",
      "schema": {
        "root": 0,
        "nodes": [
          {
            "kind": "literal",
            "value": "image"
          }
        ]
      },
      "names": [],
      "sources": []
    }
  ]
}
