@saturn-universe/storage 0.1.2-dev.4 → 0.1.2-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.js +2 -2
- package/dist/worker.js +1 -1
- package/package.json +3 -3
package/dist/schema.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated by scripts/generate-validation.mjs.
|
|
2
|
-
export const schemas = [{ "object": { "commandId": { "type": 1, "optional": false }, "commandHash": { "type": 2, "optional": false }, "correlationId": { "type": 2, "optional": false }, "actor": { "type": 3, "optional": false }, "expected": { "type": 9, "optional": false }, "events": { "type": 18, "optional": false }, "hostEpoch": { "type": 17, "optional": false } } }, { "kind": "string" }, { "kind": "string" }, { "object": { "kind": { "type": 4, "optional": false }, "id": { "type": 2, "optional": false } } }, { "union": [5, 6, 7, 8] }, { "literal": "user" }, { "literal": "runtime" }, { "literal": "agent" }, { "literal": "recovery" }, { "array": 10 }, { "object": { "stream": { "type": 11, "optional": false }, "lastSeq": { "type": 17, "optional": false } } }, { "object": { "kind": { "type": 12, "optional": false }, "id": { "type": 2, "optional": false } } }, { "union": [13, 14, 15, 16] }, { "literal": "workspace" }, { "literal": "session" }, { "literal": "run" }, { "literal": "agent_session" }, { "kind": "number" }, { "array": 19 }, { "union": [20, 33, 36, 47, 53, 60, 63, 77, 84, 91, 202, 208, 211, 214, 218, 229, 236, 242, 245, 253, 258, 264, 267, 274, 288, 293, 297, 300, 303, 306, 309, 312, 319, 332, 335, 338, 341, 355, 369, 403, 443, 478, 482, 486, 491, 495, 500, 515, 519, 523, 526, 535, 539] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 22, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 28, "optional": false } } }, { "kind": "string" }, { "literal": "workspace.created" }, { "literal": 1 }, { "object": { "kind": { "type": 13, "optional": false }, "workspaceId": { "type": 25, "optional": false } } }, { "kind": "string" }, { "union": [27, 21] }, { "literal": null }, { "object": { "workspace": { "type": 29, "optional": false } } }, { "object": { "id": { "type": 25, "optional": false }, "rootUri": { "type": 2, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "union": [31, 32] }, { "literal": "open" }, { "literal": "archived" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 34, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 35, "optional": false } } }, { "literal": "workspace.archived" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 37, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 38, "optional": false } } }, { "literal": "agent.created" }, { "object": { "agent": { "type": 39, "optional": false } } }, { "object": { "id": { "type": 40, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "role": { "type": 41, "optional": false }, "defaultScope": { "type": 45, "optional": false }, "modeRef": { "type": 2, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "union": [42, 43, 44] }, { "literal": "main" }, { "literal": "worker" }, { "literal": "specialist" }, { "union": [14, 15, 46] }, { "literal": "project" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 48, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 51, "optional": false } } }, { "literal": "session.created" }, { "object": { "kind": { "type": 14, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "sessionId": { "type": 50, "optional": false } } }, { "kind": "string" }, { "object": { "session": { "type": 52, "optional": false } } }, { "object": { "id": { "type": 50, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "title": { "type": 2, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 54, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 55, "optional": false } } }, { "literal": "session.agent.bound" }, { "object": { "binding": { "type": 56, "optional": false } } }, { "object": { "sessionId": { "type": 50, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "role": { "type": 58, "optional": false } } }, { "kind": "string" }, { "union": [42, 59] }, { "literal": "participant" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 61, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 62, "optional": false } } }, { "literal": "session.archived" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 64, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 71, "optional": false } } }, { "literal": "agent_session.created" }, { "union": [66, 68, 69] }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 67, "optional": true }, "runId": { "type": 67, "optional": true } } }, { "kind": "undefined" }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 67, "optional": true } } }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "kind": "string" }, { "object": { "agentSession": { "type": 72, "optional": false } } }, { "object": { "id": { "type": 57, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "owner": { "type": 73, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "union": [74, 75, 76] }, { "object": { "scope": { "type": 15, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "scope": { "type": 14, "optional": false }, "sessionId": { "type": 50, "optional": false } } }, { "object": { "scope": { "type": 46, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 78, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 79, "optional": false } } }, { "literal": "agent_session.archived" }, { "object": { "reason": { "type": 80, "optional": false } } }, { "union": [81, 82, 83] }, { "literal": "run_ended" }, { "literal": "session_archived" }, { "literal": "explicit" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 85, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 87, "optional": false } } }, { "literal": "run.created" }, { "object": { "kind": { "type": 15, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "runId": { "type": 70, "optional": false }, "inputMessageId": { "type": 88, "optional": false }, "workingDirectoryUri": { "type": 2, "optional": false }, "submissionIdentityVersion": { "type": 89, "optional": true } } }, { "kind": "string" }, { "union": [67, 90] }, { "literal": 2 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 92, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 93, "optional": false } } }, { "literal": "run.agent.attached" }, { "object": { "membership": { "type": 94, "optional": false } } }, { "object": { "runId": { "type": 70, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "agentId": { "type": 40, "optional": false }, "role": { "type": 95, "optional": false }, "teamMemberId": { "type": 96, "optional": true }, "searchBranchId": { "type": 96, "optional": true }, "branchWorkingDirectoryUri": { "type": 96, "optional": true }, "config": { "type": 97, "optional": false } } }, { "union": [42, 43] }, { "union": [67, 2] }, { "object": { "modeRef": { "type": 2, "optional": false }, "team": { "type": 98, "optional": true }, "teamMaxDepth": { "type": 106, "optional": true }, "agentDepth": { "type": 106, "optional": true }, "teamAsyncCoordinator": { "type": 107, "optional": true }, "coordinatorPollIntervalMs": { "type": 106, "optional": true }, "workerSoftCheckpointMs": { "type": 106, "optional": true }, "teamMaxActiveDepth1": { "type": 106, "optional": true }, "teamMaxConcurrency": { "type": 106, "optional": true }, "teamHint": { "type": 110, "optional": true }, "planner": { "type": 112, "optional": true }, "contextExtensions": { "type": 131, "optional": true }, "model": { "type": 141, "optional": false }, "providerBinding": { "type": 142, "optional": true }, "toolSnapshot": { "type": 144, "optional": true }, "pluginBindings": { "type": 171, "optional": true }, "policyVersion": { "type": 2, "optional": false }, "toolSetVersion": { "type": 2, "optional": false }, "streamText": { "type": 107, "optional": true }, "workerReasoningEffort": { "type": 96, "optional": true }, "disabledSkills": { "type": 135, "optional": true }, "limits": { "type": 188, "optional": false }, "retry": { "type": 189, "optional": false }, "responses": { "type": 190, "optional": false }, "continuation": { "type": 198, "optional": true }, "search": { "type": 117, "optional": true }, "checkpoint": { "type": 200, "optional": true } } }, { "union": [67, 99] }, { "object": { "members": { "type": 100, "optional": false }, "concurrency": { "type": 106, "optional": true }, "rootId": { "type": 96, "optional": true } } }, { "array": 101 }, { "object": { "id": { "type": 2, "optional": false }, "parent": { "type": 2, "optional": false }, "task": { "type": 2, "optional": false }, "sandboxProfile": { "type": 102, "optional": true }, "workSubpath": { "type": 96, "optional": true } } }, { "union": [67, 103, 104, 105] }, { "literal": "default" }, { "literal": "readonly" }, { "literal": "build" }, { "union": [67, 17] }, { "union": [67, 108, 109] }, { "literal": false }, { "literal": true }, { "union": [67, 111] }, { "object": { "force": { "type": 107, "optional": true }, "concurrency": { "type": 106, "optional": true }, "maxMembers": { "type": 106, "optional": true } } }, { "union": [67, 113] }, { "object": { "mode": { "type": 114, "optional": false }, "maxMembers": { "type": 106, "optional": true }, "concurrency": { "type": 106, "optional": true }, "search": { "type": 117, "optional": true } } }, { "union": [115, 116] }, { "literal": "auto" }, { "literal": "force_team" }, { "union": [67, 118] }, { "object": { "mode": { "type": 119, "optional": false }, "triggers": { "type": 122, "optional": true }, "branchFactor": { "type": 106, "optional": true }, "maxRollouts": { "type": 106, "optional": true }, "maxDepth": { "type": 106, "optional": true }, "concurrency": { "type": 106, "optional": true }, "maxBudgetRatio": { "type": 106, "optional": true }, "maxBranchSteps": { "type": 106, "optional": true }, "isolation": { "type": 129, "optional": true }, "maxCopyBytes": { "type": 106, "optional": true } } }, { "union": [120, 121] }, { "literal": "off" }, { "literal": "selective" }, { "union": [67, 123] }, { "array": 124 }, { "union": [125, 126, 127, 128] }, { "literal": "planning_phase" }, { "literal": "consecutive_failures" }, { "literal": "stagnation" }, { "literal": "model_fork" }, { "union": [67, 104, 130] }, { "literal": "isolated" }, { "union": [67, 132] }, { "object": { "mode": { "type": 133, "optional": true }, "skills": { "type": 137, "optional": false } } }, { "union": [67, 134] }, { "object": { "ref": { "type": 2, "optional": false }, "instructions": { "type": 2, "optional": false }, "allowedTools": { "type": 135, "optional": true }, "deniedTools": { "type": 135, "optional": true } } }, { "union": [67, 136] }, { "array": 2 }, { "array": 138 }, { "object": { "ref": { "type": 2, "optional": false }, "instructions": { "type": 2, "optional": false }, "resources": { "type": 139, "optional": false } } }, { "array": 140 }, { "object": { "path": { "type": 2, "optional": false }, "text": { "type": 2, "optional": false } } }, { "object": { "providerId": { "type": 2, "optional": false }, "modelId": { "type": 2, "optional": false }, "profileRef": { "type": 2, "optional": false } } }, { "union": [67, 143] }, { "object": { "profileId": { "type": 2, "optional": false }, "profileRevision": { "type": 2, "optional": false }, "endpointFingerprint": { "type": 2, "optional": false }, "credentialScopeRef": { "type": 2, "optional": false }, "modelId": { "type": 2, "optional": false }, "codecId": { "type": 2, "optional": false }, "codecVersion": { "type": 17, "optional": false }, "compatibilityKey": { "type": 2, "optional": false }, "capabilityDigest": { "type": 2, "optional": false } } }, { "union": [67, 145] }, { "object": { "version": { "type": 2, "optional": false }, "definitions": { "type": 146, "optional": false } } }, { "array": 147 }, { "object": { "scopeKey": { "type": 96, "optional": true }, "name": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "description": { "type": 2, "optional": false }, "inputSchema": { "type": 148, "optional": false }, "outputSchema": { "type": 152, "optional": true }, "source": { "type": 153, "optional": false }, "effects": { "type": 163, "optional": false }, "supportsIdempotencyKey": { "type": 167, "optional": false }, "supportsReconcile": { "type": 167, "optional": false }, "concurrency": { "type": 168, "optional": false }, "timeoutMs": { "type": 17, "optional": false }, "abortGraceMs": { "type": 106, "optional": true } } }, { "object": {}, "index": 149 }, { "union": [27, 2, 17, 108, 109, 150, 151] }, { "array": 149 }, { "object": {}, "index": 149 }, { "union": [67, 148] }, { "union": [154, 156, 161] }, { "object": { "kind": { "type": 155, "optional": false } } }, { "literal": "builtin" }, { "object": { "kind": { "type": 157, "optional": false }, "sourceId": { "type": 2, "optional": false } } }, { "union": [158, 159, 160] }, { "literal": "custom" }, { "literal": "plugin" }, { "literal": "script" }, { "object": { "kind": { "type": 162, "optional": false }, "serverId": { "type": 2, "optional": false }, "remoteName": { "type": 2, "optional": false } } }, { "literal": "mcp" }, { "union": [164, 165, 166] }, { "literal": "read" }, { "literal": "idempotent_write" }, { "literal": "non_idempotent_write" }, { "union": [108, 109] }, { "union": [169, 170] }, { "literal": "parallel" }, { "literal": "serial_per_run" }, { "union": [67, 172] }, { "object": { "modelProvider": { "type": 173, "optional": true }, "derived": { "type": 175, "optional": true }, "tools": { "type": 182, "optional": false }, "contextProviders": { "type": 184, "optional": false }, "hooks": { "type": 186, "optional": false } } }, { "union": [67, 174] }, { "object": { "profileRef": { "type": 2, "optional": false }, "providerId": { "type": 2, "optional": false }, "revision": { "type": 2, "optional": false }, "compatibilityKey": { "type": 96, "optional": true } } }, { "union": [67, 176] }, { "array": 177 }, { "object": { "role": { "type": 178, "optional": false }, "agentSessionId": { "type": 180, "optional": true }, "bindings": { "type": 181, "optional": false }, "toolSnapshot": { "type": 144, "optional": true } } }, { "union": [43, 179] }, { "literal": "search" }, { "union": [67, 57] }, { "object": { "tools": { "type": 182, "optional": false }, "contextProviders": { "type": 184, "optional": false }, "hooks": { "type": 186, "optional": false } } }, { "array": 183 }, { "object": { "name": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "source": { "type": 153, "optional": false }, "scopeKey": { "type": 96, "optional": true }, "definitionDigest": { "type": 96, "optional": true } } }, { "array": 185 }, { "object": { "id": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "scopeKey": { "type": 96, "optional": true } } }, { "array": 187 }, { "object": { "id": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "scopeKey": { "type": 96, "optional": true } } }, { "object": { "maxModelAttempts": { "type": 17, "optional": false }, "maxToolCalls": { "type": 17, "optional": false }, "maxSteps": { "type": 17, "optional": false }, "maxTotalTokens": { "type": 17, "optional": false }, "subagentMaxModelAttempts": { "type": 106, "optional": true }, "wallTimeMs": { "type": 106, "optional": true }, "subagentWallTimeMs": { "type": 106, "optional": true }, "modelTimeoutMs": { "type": 17, "optional": false }, "streamIdleTimeoutMs": { "type": 106, "optional": true }, "requestTotalTimeoutMs": { "type": 106, "optional": true }, "toolTimeoutMs": { "type": 17, "optional": false }, "shellTimeoutMs": { "type": 106, "optional": true }, "maxParallelTools": { "type": 17, "optional": false } } }, { "object": { "modelMaxAttemptsPerCall": { "type": 17, "optional": false }, "toolMaxAttemptsPerCall": { "type": 17, "optional": false }, "baseDelayMs": { "type": 17, "optional": false }, "maxDelayMs": { "type": 17, "optional": false } } }, { "object": { "storage": { "type": 191, "optional": false }, "reasoning": { "type": 192, "optional": true }, "parallelToolCalls": { "type": 107, "optional": true }, "metadata": { "type": 194, "optional": true }, "extensionOptions": { "type": 196, "optional": true } } }, { "literal": "local_stateless" }, { "union": [67, 193] }, { "object": { "effort": { "type": 96, "optional": true }, "summary": { "type": 96, "optional": true }, "context": { "type": 96, "optional": true } } }, { "union": [67, 195] }, { "object": {}, "index": 2 }, { "union": [67, 197] }, { "object": {}, "index": 149 }, { "union": [67, 199] }, { "object": { "enabled": { "type": 107, "optional": true }, "maxTurns": { "type": 106, "optional": true } } }, { "union": [67, 201] }, { "object": { "sourceRunId": { "type": 70, "optional": false }, "originalInputId": { "type": 88, "optional": false }, "summary": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 203, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 204, "optional": false } } }, { "literal": "run.team.planned" }, { "object": { "plannerAgentSessionId": { "type": 57, "optional": false }, "decision": { "type": 205, "optional": false }, "reason": { "type": 2, "optional": false }, "summary": { "type": 96, "optional": true }, "fallback": { "type": 107, "optional": true }, "evidence": { "type": 135, "optional": true }, "executionSteps": { "type": 135, "optional": true }, "verificationCriteria": { "type": 135, "optional": true }, "team": { "type": 98, "optional": true } } }, { "union": [206, 207] }, { "literal": "single" }, { "literal": "team" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 209, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 210, "optional": false } } }, { "literal": "run.team.message.sent" }, { "object": { "messageId": { "type": 2, "optional": false }, "from": { "type": 2, "optional": false }, "to": { "type": 2, "optional": false }, "text": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 212, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 213, "optional": false } } }, { "literal": "run.team.message.read" }, { "object": { "messageId": { "type": 2, "optional": false }, "memberId": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 215, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 216, "optional": false } } }, { "literal": "run.search.started" }, { "object": { "searchId": { "type": 2, "optional": false }, "trigger": { "type": 124, "optional": false }, "anchorAgentSessionId": { "type": 57, "optional": false }, "goal": { "type": 2, "optional": false }, "isolation": { "type": 217, "optional": false }, "maxRollouts": { "type": 17, "optional": false }, "branchFactor": { "type": 17, "optional": false }, "maxDepth": { "type": 17, "optional": false }, "concurrency": { "type": 17, "optional": false } } }, { "union": [104, 130] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 219, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 220, "optional": false } } }, { "literal": "run.search.branch.created" }, { "object": { "searchId": { "type": 2, "optional": false }, "branchId": { "type": 2, "optional": false }, "parentBranchId": { "type": 221, "optional": false }, "depth": { "type": 17, "optional": false }, "mode": { "type": 222, "optional": false }, "hypothesis": { "type": 2, "optional": false }, "strategy": { "type": 2, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "workspaceKind": { "type": 225, "optional": false }, "degradedToReadonly": { "type": 107, "optional": true } } }, { "union": [27, 2] }, { "union": [223, 224] }, { "literal": "wider" }, { "literal": "deeper" }, { "union": [226, 227, 228] }, { "literal": "shared_readonly" }, { "literal": "git_worktree" }, { "literal": "shallow_copy" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 230, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 231, "optional": false } } }, { "literal": "run.search.branch.evaluated" }, { "object": { "searchId": { "type": 2, "optional": false }, "branchId": { "type": 2, "optional": false }, "hardScore": { "type": 106, "optional": true }, "softScore": { "type": 17, "optional": false }, "combinedScore": { "type": 17, "optional": false }, "verdict": { "type": 232, "optional": false }, "summary": { "type": 2, "optional": false }, "reflection": { "type": 96, "optional": true } } }, { "union": [233, 234, 235] }, { "literal": "solved" }, { "literal": "promising" }, { "literal": "pruned" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 237, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 238, "optional": false } } }, { "literal": "run.search.converged" }, { "object": { "searchId": { "type": 2, "optional": false }, "winnerBranchId": { "type": 221, "optional": false }, "outcome": { "type": 239, "optional": false }, "winnerSummary": { "type": 2, "optional": false }, "mergedReflections": { "type": 136, "optional": false }, "mergedFiles": { "type": 135, "optional": true } } }, { "union": [233, 240, 241] }, { "literal": "best_candidate" }, { "literal": "exhausted" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 243, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 244, "optional": false } } }, { "literal": "run.started" }, { "object": { "startedAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 246, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 247, "optional": false } } }, { "literal": "run.paused" }, { "object": { "reason": { "type": 248, "optional": false }, "blockedTurnId": { "type": 252, "optional": false } } }, { "union": [249, 250, 251] }, { "literal": "approval" }, { "literal": "tool_outcome_unknown" }, { "literal": "recovery_review" }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 254, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 255, "optional": false } } }, { "literal": "run.resumed" }, { "object": { "reason": { "type": 256, "optional": false } } }, { "union": [5, 8, 249, 257] }, { "literal": "reconciled" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 259, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 260, "optional": false } } }, { "literal": "run.plugin.availability" }, { "object": { "block": { "type": 261, "optional": false } } }, { "union": [27, 262] }, { "object": { "code": { "type": 263, "optional": false }, "message": { "type": 2, "optional": false } } }, { "literal": "PLUGIN_VERSION_UNAVAILABLE" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 265, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 266, "optional": false } } }, { "literal": "run.cancel_requested" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 268, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 269, "optional": false } } }, { "literal": "run.completed" }, { "object": { "resultMessageId": { "type": 88, "optional": false }, "usage": { "type": 270, "optional": false } } }, { "object": { "inputTokens": { "type": 17, "optional": false }, "outputTokens": { "type": 17, "optional": false }, "cachedInputTokens": { "type": 106, "optional": true }, "reasoningTokens": { "type": 106, "optional": true }, "accuracy": { "type": 271, "optional": false } } }, { "union": [272, 273] }, { "literal": "reported" }, { "literal": "estimated" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 275, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 276, "optional": false } } }, { "literal": "run.failed" }, { "object": { "error": { "type": 277, "optional": false }, "usage": { "type": 270, "optional": false } } }, { "object": { "code": { "type": 2, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false }, "budget": { "type": 278, "optional": true }, "checkpoint": { "type": 200, "optional": true } } }, { "union": [67, 279] }, { "object": { "resource": { "type": 280, "optional": false }, "used": { "type": 17, "optional": false }, "max": { "type": 17, "optional": false }, "required": { "type": 106, "optional": true }, "unknownUsageTokens": { "type": 106, "optional": true }, "triggeredByUnknownUsage": { "type": 107, "optional": true } } }, { "union": [281, 282, 283, 284, 285, 286, 287] }, { "literal": "modelAttempts" }, { "literal": "toolCalls" }, { "literal": "steps" }, { "literal": "tokens" }, { "literal": "context" }, { "literal": "timeMs" }, { "literal": "modelOutput" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 289, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 290, "optional": false } } }, { "literal": "run.cancelled" }, { "object": { "reason": { "type": 2, "optional": false }, "unresolvedCallIds": { "type": 291, "optional": false } } }, { "array": 292 }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 294, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 296, "optional": false } } }, { "literal": "turn.queued" }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "turnId": { "type": 252, "optional": false }, "ordinal": { "type": 17, "optional": false }, "inputMessageId": { "type": 88, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 298, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 299, "optional": false } } }, { "literal": "turn.started" }, { "object": { "turnId": { "type": 252, "optional": false }, "startedAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 301, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 302, "optional": false } } }, { "literal": "turn.paused" }, { "object": { "turnId": { "type": 252, "optional": false }, "reason": { "type": 248, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 304, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 305, "optional": false } } }, { "literal": "turn.resumed" }, { "object": { "turnId": { "type": 252, "optional": false }, "reason": { "type": 2, "optional": false }, "deadlineAt": { "type": 96, "optional": true } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 307, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 308, "optional": false } } }, { "literal": "turn.completed" }, { "object": { "turnId": { "type": 252, "optional": false }, "finalMessageId": { "type": 88, "optional": false }, "usage": { "type": 270, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 310, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 311, "optional": false } } }, { "literal": "turn.failed" }, { "object": { "turnId": { "type": 252, "optional": false }, "error": { "type": 277, "optional": false }, "usage": { "type": 270, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 313, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 314, "optional": false } } }, { "literal": "turn.interrupted" }, { "object": { "turnId": { "type": 252, "optional": false }, "reason": { "type": 315, "optional": false }, "usage": { "type": 270, "optional": false }, "unresolvedCallIds": { "type": 291, "optional": false }, "budget": { "type": 278, "optional": true } } }, { "union": [316, 317, 318] }, { "literal": "cancelled" }, { "literal": "timeout" }, { "literal": "limit" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 320, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 321, "optional": false } } }, { "literal": "step.started" }, { "object": { "step": { "type": 322, "optional": false } } }, { "object": { "id": { "type": 323, "optional": false }, "turnId": { "type": 252, "optional": false }, "ordinal": { "type": 17, "optional": false }, "kind": { "type": 324, "optional": false }, "status": { "type": 327, "optional": false } } }, { "kind": "string" }, { "union": [6, 325, 326] }, { "literal": "model" }, { "literal": "tool" }, { "union": [328, 329, 330, 331] }, { "literal": "completed" }, { "literal": "failed" }, { "literal": "running" }, { "literal": "interrupted" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 333, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 334, "optional": false } } }, { "literal": "step.completed" }, { "object": { "stepId": { "type": 323, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 336, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 337, "optional": false } } }, { "literal": "step.failed" }, { "object": { "stepId": { "type": 323, "optional": false }, "error": { "type": 277, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 339, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 340, "optional": false } } }, { "literal": "step.interrupted" }, { "object": { "stepId": { "type": 323, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 342, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 343, "optional": false } } }, { "literal": "message.user.added" }, { "object": { "message": { "type": 344, "optional": false }, "steering": { "type": 354, "optional": true } } }, { "object": { "role": { "type": 5, "optional": false }, "content": { "type": 345, "optional": false }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 252, "optional": false } } }, { "array": 346 }, { "union": [347, 349, 352] }, { "object": { "type": { "type": 348, "optional": false }, "text": { "type": 2, "optional": false } } }, { "literal": "text" }, { "object": { "type": { "type": 350, "optional": false }, "artifact": { "type": 351, "optional": false }, "alt": { "type": 96, "optional": true } } }, { "literal": "image" }, { "object": { "artifactId": { "type": 2, "optional": false }, "sha256": { "type": 2, "optional": false }, "mediaType": { "type": 2, "optional": false }, "byteLength": { "type": 17, "optional": false } } }, { "object": { "type": { "type": 353, "optional": false }, "artifact": { "type": 351, "optional": false }, "name": { "type": 2, "optional": false } } }, { "literal": "file" }, { "union": [67, 109] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 356, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 357, "optional": false } } }, { "literal": "message.assistant.added" }, { "object": { "message": { "type": 358, "optional": false }, "requestId": { "type": 368, "optional": false } } }, { "object": { "role": { "type": 359, "optional": false }, "content": { "type": 345, "optional": false }, "toolCalls": { "type": 360, "optional": false }, "structuredOutput": { "type": 367, "optional": true }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 252, "optional": false } } }, { "literal": "assistant" }, { "array": 361 }, { "object": { "id": { "type": 292, "optional": false }, "assistantMessageId": { "type": 88, "optional": false }, "providerCallId": { "type": 2, "optional": false }, "callIndex": { "type": 17, "optional": false }, "toolName": { "type": 2, "optional": false }, "toolVersion": { "type": 2, "optional": false }, "arguments": { "type": 362, "optional": false } } }, { "union": [363, 365] }, { "object": { "kind": { "type": 364, "optional": false }, "value": { "type": 149, "optional": false } } }, { "literal": "json" }, { "object": { "kind": { "type": 366, "optional": false }, "raw": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "literal": "invalid" }, { "union": [67, 27, 2, 17, 108, 109, 150, 151] }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 370, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 371, "optional": false } } }, { "literal": "model.requested" }, { "object": { "stepId": { "type": 323, "optional": false }, "request": { "type": 372, "optional": false } } }, { "object": { "id": { "type": 368, "optional": false }, "callGroupId": { "type": 2, "optional": false }, "attempt": { "type": 17, "optional": false }, "retryOf": { "type": 373, "optional": true }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 252, "optional": false }, "model": { "type": 141, "optional": false }, "binding": { "type": 143, "optional": false }, "responses": { "type": 374, "optional": false }, "responsesOptions": { "type": 190, "optional": false }, "output": { "type": 394, "optional": false }, "maxOutputTokens": { "type": 17, "optional": false }, "budget": { "type": 397, "optional": false }, "temperature": { "type": 106, "optional": true }, "context": { "type": 401, "optional": false } } }, { "union": [67, 368] }, { "object": { "version": { "type": 23, "optional": false }, "binding": { "type": 143, "optional": false }, "epochId": { "type": 2, "optional": false }, "decision": { "type": 375, "optional": false }, "initialSystemPrompt": { "type": 96, "optional": true }, "initialBackground": { "type": 387, "optional": true }, "prunedToolResults": { "type": 107, "optional": true }, "fullInputDigest": { "type": 2, "optional": false }, "configurationDigest": { "type": 2, "optional": false }, "backgroundDigest": { "type": 96, "optional": true }, "replaySources": { "type": 390, "optional": false }, "transport": { "type": 392, "optional": false } } }, { "union": [376, 378, 380] }, { "object": { "kind": { "type": 377, "optional": false } } }, { "literal": "new" }, { "object": { "kind": { "type": 379, "optional": false }, "previousResponseEventId": { "type": 21, "optional": false } } }, { "literal": "append" }, { "object": { "kind": { "type": 381, "optional": false }, "atTurnId": { "type": 252, "optional": false }, "reason": { "type": 382, "optional": false } } }, { "literal": "reset" }, { "union": [383, 384, 385, 386] }, { "literal": "history_trimmed" }, { "literal": "compacted" }, { "literal": "prefix_changed" }, { "literal": "binding_changed" }, { "union": [67, 388] }, { "array": 389 }, { "object": { "role": { "type": 5, "optional": false }, "content": { "type": 345, "optional": false }, "sourceBackgroundId": { "type": 2, "optional": false } } }, { "array": 391 }, { "object": { "responseEventId": { "type": 21, "optional": false }, "outputDigest": { "type": 2, "optional": false }, "inputStart": { "type": 17, "optional": false }, "inputCount": { "type": 17, "optional": false }, "removedOutputOnlyPaths": { "type": 136, "optional": false } } }, { "object": { "kind": { "type": 393, "optional": false } } }, { "literal": "local_replay" }, { "union": [395, 396] }, { "object": { "kind": { "type": 348, "optional": false } } }, { "object": { "kind": { "type": 364, "optional": false }, "schema": { "type": 148, "optional": false }, "name": { "type": 2, "optional": false } } }, { "object": { "estimatedInputTokens": { "type": 17, "optional": false }, "reservedTotalTokens": { "type": 17, "optional": false }, "accuracy": { "type": 398, "optional": false } } }, { "union": [399, 400] }, { "literal": "tokenizer" }, { "literal": "conservative_estimate" }, { "object": { "surfaceSeq": { "type": 17, "optional": false }, "selectedMessageIds": { "type": 402, "optional": false }, "assemblyHash": { "type": 2, "optional": false }, "providerVersions": { "type": 195, "optional": false } } }, { "array": 88 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 404, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 405, "optional": false } } }, { "literal": "model.responded" }, { "object": { "stepId": { "type": 323, "optional": false }, "response": { "type": 406, "optional": false }, "reasoningSummary": { "type": 96, "optional": true } } }, { "object": { "requestId": { "type": 368, "optional": false }, "providerResponseId": { "type": 2, "optional": false }, "content": { "type": 345, "optional": false }, "toolCalls": { "type": 407, "optional": false }, "structuredOutput": { "type": 367, "optional": true }, "continuation": { "type": 409, "optional": false }, "turnDisposition": { "type": 435, "optional": false }, "finishReason": { "type": 439, "optional": false }, "usage": { "type": 270, "optional": false } } }, { "array": 408 }, { "object": { "outputIndex": { "type": 17, "optional": false }, "providerCallId": { "type": 2, "optional": false }, "toolName": { "type": 2, "optional": false }, "arguments": { "type": 362, "optional": false } } }, { "object": { "version": { "type": 23, "optional": false }, "protocol": { "type": 410, "optional": false }, "binding": { "type": 143, "optional": false }, "epochId": { "type": 2, "optional": false }, "responseId": { "type": 2, "optional": false }, "sourceRequestId": { "type": 368, "optional": false }, "requestInputDigest": { "type": 2, "optional": false }, "configurationDigest": { "type": 2, "optional": false }, "outputItems": { "type": 415, "optional": false }, "outputDigest": { "type": 2, "optional": false }, "providerMetadata": { "type": 197, "optional": false }, "capture": { "type": 430, "optional": false } } }, { "union": [411, 412, 413, 414] }, { "literal": "openai-responses" }, { "literal": "openai-chat" }, { "literal": "anthropic" }, { "literal": "gemini" }, { "array": 416 }, { "union": [417, 422, 425, 428] }, { "object": { "kind": { "type": 418, "optional": false }, "value": { "type": 419, "optional": false } } }, { "literal": "message" }, { "object": { "type": { "type": 418, "optional": false }, "role": { "type": 359, "optional": false }, "id": { "type": 2, "optional": false }, "content": { "type": 420, "optional": false }, "phase": { "type": 421, "optional": true } }, "index": 149 }, { "array": 197 }, { "union": [67, 27, 2] }, { "object": { "kind": { "type": 423, "optional": false }, "value": { "type": 424, "optional": false } } }, { "literal": "reasoning" }, { "object": { "type": { "type": 423, "optional": false }, "id": { "type": 2, "optional": false }, "summary": { "type": 420, "optional": false }, "encrypted_content": { "type": 421, "optional": true } }, "index": 149 }, { "object": { "kind": { "type": 426, "optional": false }, "value": { "type": 427, "optional": false } } }, { "literal": "function_call" }, { "object": { "type": { "type": 426, "optional": false }, "id": { "type": 2, "optional": false }, "call_id": { "type": 2, "optional": false }, "name": { "type": 2, "optional": false }, "arguments": { "type": 2, "optional": false } }, "index": 149 }, { "object": { "kind": { "type": 429, "optional": false }, "codecId": { "type": 2, "optional": false }, "codecVersion": { "type": 17, "optional": false }, "value": { "type": 197, "optional": false } } }, { "literal": "extension" }, { "object": { "source": { "type": 431, "optional": false }, "complete": { "type": 109, "optional": false } } }, { "union": [432, 433, 434] }, { "literal": "wire_json" }, { "literal": "wire_sse" }, { "literal": "sdk" }, { "union": [436, 437, 438] }, { "literal": "final" }, { "literal": "tool_calls" }, { "literal": "continue" }, { "union": [437, 440, 441, 442] }, { "literal": "stop" }, { "literal": "length" }, { "literal": "content_filter" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 444, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 445, "optional": false } } }, { "literal": "model.failed" }, { "object": { "stepId": { "type": 323, "optional": false }, "requestId": { "type": 368, "optional": false }, "error": { "type": 446, "optional": false }, "chargedUsage": { "type": 464, "optional": true }, "reasoningSummary": { "type": 96, "optional": true }, "retryAt": { "type": 96, "optional": true } } }, { "object": { "code": { "type": 447, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false }, "retryAfterMs": { "type": 106, "optional": true }, "providerCode": { "type": 96, "optional": true }, "outcomeUnknown": { "type": 167, "optional": false }, "usage": { "type": 464, "optional": true }, "details": { "type": 465, "optional": true } } }, { "union": [316, 317, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463] }, { "literal": "auth" }, { "literal": "rate_limit" }, { "literal": "transport" }, { "literal": "context_overflow" }, { "literal": "invalid_request" }, { "literal": "unsupported_capability" }, { "literal": "invalid_output" }, { "literal": "protocol" }, { "literal": "provider_internal" }, { "literal": "response_not_committed" }, { "literal": "steered" }, { "literal": "continuation_unavailable" }, { "literal": "continuation_mismatch" }, { "literal": "unsupported_item" }, { "literal": "native_capture_incomplete" }, { "literal": "profile_mismatch" }, { "union": [67, 270] }, { "union": [67, 466] }, { "object": { "phase": { "type": 467, "optional": false }, "elapsedMs": { "type": 17, "optional": false }, "timeoutKind": { "type": 471, "optional": true }, "underlyingCode": { "type": 96, "optional": true }, "causes": { "type": 475, "optional": true } } }, { "union": [468, 469, 470] }, { "literal": "awaiting_headers" }, { "literal": "awaiting_first_frame" }, { "literal": "stream_idle" }, { "union": [67, 472, 473, 474] }, { "literal": "idle" }, { "literal": "total" }, { "literal": "deadline" }, { "union": [67, 476] }, { "array": 477 }, { "object": { "code": { "type": 96, "optional": true }, "message": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 479, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 480, "optional": false } } }, { "literal": "tool.call.requested" }, { "object": { "turnId": { "type": 252, "optional": false }, "call": { "type": 361, "optional": false }, "executionKey": { "type": 2, "optional": false }, "policyVersion": { "type": 2, "optional": false }, "definition": { "type": 481, "optional": false } } }, { "union": [27, 147] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 483, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 484, "optional": false } } }, { "literal": "tool.call.rejected" }, { "object": { "toolCallId": { "type": 292, "optional": false }, "error": { "type": 485, "optional": false } } }, { "object": { "code": { "type": 2, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 487, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 488, "optional": false } } }, { "literal": "tool.approval.requested" }, { "object": { "request": { "type": 489, "optional": false } } }, { "object": { "approvalId": { "type": 490, "optional": false }, "toolCallId": { "type": 292, "optional": false }, "argumentsHash": { "type": 2, "optional": false }, "toolVersion": { "type": 2, "optional": false }, "policyVersion": { "type": 2, "optional": false }, "resources": { "type": 136, "optional": false }, "reason": { "type": 2, "optional": false }, "expiresAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 492, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 493, "optional": false } } }, { "literal": "tool.approval.resolved" }, { "object": { "decision": { "type": 494, "optional": false }, "deferResume": { "type": 354, "optional": true } } }, { "object": { "approvalId": { "type": 490, "optional": false }, "toolCallId": { "type": 292, "optional": false }, "approved": { "type": 167, "optional": false }, "decidedBy": { "type": 2, "optional": false }, "decidedAt": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 496, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 497, "optional": false } } }, { "literal": "tool.call.started" }, { "object": { "attempt": { "type": 498, "optional": false } } }, { "object": { "id": { "type": 499, "optional": false }, "toolCallId": { "type": 292, "optional": false }, "stepId": { "type": 323, "optional": false }, "number": { "type": 17, "optional": false }, "executionKey": { "type": 2, "optional": false }, "executorInstanceId": { "type": 2, "optional": false }, "hostEpoch": { "type": 17, "optional": false }, "startedAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 501, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 502, "optional": false } } }, { "literal": "tool.call.completed" }, { "object": { "attemptId": { "type": 499, "optional": false }, "result": { "type": 503, "optional": false } } }, { "object": { "toolCallId": { "type": 292, "optional": false }, "outcome": { "type": 504, "optional": false }, "effect": { "type": 511, "optional": false }, "evidenceRef": { "type": 96, "optional": true } } }, { "union": [505, 507] }, { "object": { "status": { "type": 506, "optional": false }, "content": { "type": 345, "optional": false }, "data": { "type": 367, "optional": true } } }, { "literal": "success" }, { "object": { "status": { "type": 508, "optional": false }, "error": { "type": 485, "optional": false }, "data": { "type": 367, "optional": true } } }, { "union": [316, 509, 510] }, { "literal": "error" }, { "literal": "denied" }, { "union": [512, 513, 514] }, { "literal": "none" }, { "literal": "applied" }, { "literal": "unknown" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 516, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 517, "optional": false } } }, { "literal": "tool.call.failed" }, { "object": { "attemptId": { "type": 499, "optional": false }, "toolCallId": { "type": 292, "optional": false }, "error": { "type": 485, "optional": false }, "effect": { "type": 518, "optional": false }, "retryAt": { "type": 96, "optional": true } } }, { "union": [512, 513] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 520, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 521, "optional": false } } }, { "literal": "tool.call.denied" }, { "object": { "toolCallId": { "type": 292, "optional": false }, "approvalId": { "type": 522, "optional": true }, "reason": { "type": 2, "optional": false } } }, { "union": [67, 490] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 524, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 525, "optional": false } } }, { "literal": "tool.call.outcome_unknown" }, { "object": { "toolCallId": { "type": 292, "optional": false }, "attemptId": { "type": 499, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 527, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 528, "optional": false } } }, { "literal": "tool.call.reconciled" }, { "object": { "toolCallId": { "type": 292, "optional": false }, "attemptId": { "type": 499, "optional": false }, "decision": { "type": 529, "optional": false } } }, { "union": [530, 531, 533] }, { "object": { "kind": { "type": 328, "optional": false }, "result": { "type": 503, "optional": false }, "evidenceRef": { "type": 2, "optional": false } } }, { "object": { "kind": { "type": 532, "optional": false }, "evidenceRef": { "type": 2, "optional": false } } }, { "literal": "not_applied" }, { "object": { "kind": { "type": 534, "optional": false }, "acceptedBy": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "literal": "abandon_unknown" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 536, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 537, "optional": false } } }, { "literal": "tool.call.settled" }, { "object": { "message": { "type": 538, "optional": false } } }, { "object": { "role": { "type": 326, "optional": false }, "result": { "type": 503, "optional": false }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 252, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 540, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 541, "optional": false } } }, { "literal": "surface.compacted" }, { "object": { "compaction": { "type": 542, "optional": false } } }, { "object": { "id": { "type": 2, "optional": false }, "expectedSurfaceSeq": { "type": 17, "optional": false }, "replacedMessageIds": { "type": 402, "optional": false }, "replacement": { "type": 344, "optional": false }, "sourceDigest": { "type": 2, "optional": false }, "summaryModelRef": { "type": 96, "optional": true }, "boundary": { "type": 543, "optional": true } } }, { "union": [67, 544, 545] }, { "literal": "turn" }, { "literal": "step_prefix" }, { "union": [547, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 22, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 28, "optional": false } } }, { "kind": "string" }, { "object": { "actor": { "type": 3, "optional": false }, "correlationId": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "commandId": { "type": 1, "optional": false }, "commandHash": { "type": 2, "optional": false }, "commandEventIndex": { "type": 17, "optional": false }, "commandEventCount": { "type": 17, "optional": false }, "traceparent": { "type": 96, "optional": true }, "links": { "type": 550, "optional": true } } }, { "union": [67, 551] }, { "array": 21 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 34, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 35, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 37, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 38, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 48, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 51, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 54, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 55, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 61, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 62, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 64, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 71, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 78, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 79, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 85, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 87, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 92, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 93, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 203, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 204, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 209, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 210, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 212, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 213, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 215, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 216, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 219, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 220, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 230, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 231, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 237, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 238, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 243, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 244, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 246, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 247, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 254, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 255, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 259, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 260, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 265, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 266, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 268, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 269, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 275, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 276, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 289, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 290, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 294, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 296, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 298, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 299, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 301, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 302, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 304, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 305, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 307, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 308, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 310, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 311, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 313, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 314, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 320, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 321, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 333, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 334, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 336, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 337, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 339, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 340, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 342, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 343, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 356, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 357, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 370, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 371, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 404, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 405, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 444, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 445, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 479, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 480, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 483, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 484, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 487, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 488, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 492, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 493, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 496, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 497, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 501, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 502, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 516, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 517, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 520, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 521, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 524, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 525, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 527, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 528, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 536, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 295, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 537, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 540, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 548, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 549, "optional": false }, "payload": { "type": 541, "optional": false } } }];
|
|
3
|
-
export const roots = { "CommitRequest": 0, "V1RuntimeEvent":
|
|
2
|
+
export const schemas = [{ "object": { "commandId": { "type": 1, "optional": false }, "commandHash": { "type": 2, "optional": false }, "correlationId": { "type": 2, "optional": false }, "actor": { "type": 3, "optional": false }, "expected": { "type": 9, "optional": false }, "events": { "type": 18, "optional": false }, "hostEpoch": { "type": 17, "optional": false } } }, { "kind": "string" }, { "kind": "string" }, { "object": { "kind": { "type": 4, "optional": false }, "id": { "type": 2, "optional": false } } }, { "union": [5, 6, 7, 8] }, { "literal": "user" }, { "literal": "runtime" }, { "literal": "agent" }, { "literal": "recovery" }, { "array": 10 }, { "object": { "stream": { "type": 11, "optional": false }, "lastSeq": { "type": 17, "optional": false } } }, { "object": { "kind": { "type": 12, "optional": false }, "id": { "type": 2, "optional": false } } }, { "union": [13, 14, 15, 16] }, { "literal": "workspace" }, { "literal": "session" }, { "literal": "run" }, { "literal": "agent_session" }, { "kind": "number" }, { "array": 19 }, { "union": [20, 33, 36, 47, 53, 60, 63, 77, 84, 91, 202, 208, 212, 215, 218, 222, 233, 240, 246, 249, 256, 261, 267, 270, 277, 291, 296, 300, 303, 306, 309, 312, 315, 323, 336, 339, 342, 345, 359, 373, 407, 447, 482, 486, 490, 495, 499, 504, 519, 523, 527, 530, 539, 543] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 22, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 28, "optional": false } } }, { "kind": "string" }, { "literal": "workspace.created" }, { "literal": 1 }, { "object": { "kind": { "type": 13, "optional": false }, "workspaceId": { "type": 25, "optional": false } } }, { "kind": "string" }, { "union": [27, 21] }, { "literal": null }, { "object": { "workspace": { "type": 29, "optional": false } } }, { "object": { "id": { "type": 25, "optional": false }, "rootUri": { "type": 2, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "union": [31, 32] }, { "literal": "open" }, { "literal": "archived" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 34, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 35, "optional": false } } }, { "literal": "workspace.archived" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 37, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 38, "optional": false } } }, { "literal": "agent.created" }, { "object": { "agent": { "type": 39, "optional": false } } }, { "object": { "id": { "type": 40, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "role": { "type": 41, "optional": false }, "defaultScope": { "type": 45, "optional": false }, "modeRef": { "type": 2, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "union": [42, 43, 44] }, { "literal": "main" }, { "literal": "worker" }, { "literal": "specialist" }, { "union": [14, 15, 46] }, { "literal": "project" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 48, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 51, "optional": false } } }, { "literal": "session.created" }, { "object": { "kind": { "type": 14, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "sessionId": { "type": 50, "optional": false } } }, { "kind": "string" }, { "object": { "session": { "type": 52, "optional": false } } }, { "object": { "id": { "type": 50, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "title": { "type": 2, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 54, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 55, "optional": false } } }, { "literal": "session.agent.bound" }, { "object": { "binding": { "type": 56, "optional": false } } }, { "object": { "sessionId": { "type": 50, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "role": { "type": 58, "optional": false } } }, { "kind": "string" }, { "union": [42, 59] }, { "literal": "participant" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 61, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 62, "optional": false } } }, { "literal": "session.archived" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 64, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 71, "optional": false } } }, { "literal": "agent_session.created" }, { "union": [66, 68, 69] }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 67, "optional": true }, "runId": { "type": 67, "optional": true } } }, { "kind": "undefined" }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 67, "optional": true } } }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "kind": "string" }, { "object": { "agentSession": { "type": 72, "optional": false } } }, { "object": { "id": { "type": 57, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "owner": { "type": 73, "optional": false }, "status": { "type": 30, "optional": false }, "createdAt": { "type": 2, "optional": false } } }, { "union": [74, 75, 76] }, { "object": { "scope": { "type": 15, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "scope": { "type": 14, "optional": false }, "sessionId": { "type": 50, "optional": false } } }, { "object": { "scope": { "type": 46, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 78, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 79, "optional": false } } }, { "literal": "agent_session.archived" }, { "object": { "reason": { "type": 80, "optional": false } } }, { "union": [81, 82, 83] }, { "literal": "run_ended" }, { "literal": "session_archived" }, { "literal": "explicit" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 85, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 87, "optional": false } } }, { "literal": "run.created" }, { "object": { "kind": { "type": 15, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "runId": { "type": 70, "optional": false }, "inputMessageId": { "type": 88, "optional": false }, "workingDirectoryUri": { "type": 2, "optional": false }, "submissionIdentityVersion": { "type": 89, "optional": true } } }, { "kind": "string" }, { "union": [67, 90] }, { "literal": 2 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 92, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 93, "optional": false } } }, { "literal": "run.agent.attached" }, { "object": { "membership": { "type": 94, "optional": false } } }, { "object": { "runId": { "type": 70, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "agentId": { "type": 40, "optional": false }, "role": { "type": 95, "optional": false }, "teamMemberId": { "type": 96, "optional": true }, "searchBranchId": { "type": 96, "optional": true }, "branchWorkingDirectoryUri": { "type": 96, "optional": true }, "config": { "type": 97, "optional": false } } }, { "union": [42, 43] }, { "union": [67, 2] }, { "object": { "modeRef": { "type": 2, "optional": false }, "team": { "type": 98, "optional": true }, "teamMaxDepth": { "type": 106, "optional": true }, "agentDepth": { "type": 106, "optional": true }, "teamAsyncCoordinator": { "type": 107, "optional": true }, "coordinatorPollIntervalMs": { "type": 106, "optional": true }, "workerSoftCheckpointMs": { "type": 106, "optional": true }, "teamMaxActiveDepth1": { "type": 106, "optional": true }, "teamMaxConcurrency": { "type": 106, "optional": true }, "teamHint": { "type": 110, "optional": true }, "planner": { "type": 112, "optional": true }, "contextExtensions": { "type": 131, "optional": true }, "model": { "type": 141, "optional": false }, "providerBinding": { "type": 142, "optional": true }, "toolSnapshot": { "type": 144, "optional": true }, "pluginBindings": { "type": 171, "optional": true }, "policyVersion": { "type": 2, "optional": false }, "toolSetVersion": { "type": 2, "optional": false }, "streamText": { "type": 107, "optional": true }, "workerReasoningEffort": { "type": 96, "optional": true }, "disabledSkills": { "type": 135, "optional": true }, "limits": { "type": 188, "optional": false }, "retry": { "type": 189, "optional": false }, "responses": { "type": 190, "optional": false }, "continuation": { "type": 198, "optional": true }, "search": { "type": 117, "optional": true }, "checkpoint": { "type": 200, "optional": true } } }, { "union": [67, 99] }, { "object": { "members": { "type": 100, "optional": false }, "concurrency": { "type": 106, "optional": true }, "rootId": { "type": 96, "optional": true } } }, { "array": 101 }, { "object": { "id": { "type": 2, "optional": false }, "parent": { "type": 2, "optional": false }, "task": { "type": 2, "optional": false }, "sandboxProfile": { "type": 102, "optional": true }, "workSubpath": { "type": 96, "optional": true } } }, { "union": [67, 103, 104, 105] }, { "literal": "default" }, { "literal": "readonly" }, { "literal": "build" }, { "union": [67, 17] }, { "union": [67, 108, 109] }, { "literal": false }, { "literal": true }, { "union": [67, 111] }, { "object": { "force": { "type": 107, "optional": true }, "concurrency": { "type": 106, "optional": true }, "maxMembers": { "type": 106, "optional": true } } }, { "union": [67, 113] }, { "object": { "mode": { "type": 114, "optional": false }, "maxMembers": { "type": 106, "optional": true }, "concurrency": { "type": 106, "optional": true }, "search": { "type": 117, "optional": true } } }, { "union": [115, 116] }, { "literal": "auto" }, { "literal": "force_team" }, { "union": [67, 118] }, { "object": { "mode": { "type": 119, "optional": false }, "triggers": { "type": 122, "optional": true }, "branchFactor": { "type": 106, "optional": true }, "maxRollouts": { "type": 106, "optional": true }, "maxDepth": { "type": 106, "optional": true }, "concurrency": { "type": 106, "optional": true }, "maxBudgetRatio": { "type": 106, "optional": true }, "maxBranchSteps": { "type": 106, "optional": true }, "isolation": { "type": 129, "optional": true }, "maxCopyBytes": { "type": 106, "optional": true } } }, { "union": [120, 121] }, { "literal": "off" }, { "literal": "selective" }, { "union": [67, 123] }, { "array": 124 }, { "union": [125, 126, 127, 128] }, { "literal": "planning_phase" }, { "literal": "consecutive_failures" }, { "literal": "stagnation" }, { "literal": "model_fork" }, { "union": [67, 104, 130] }, { "literal": "isolated" }, { "union": [67, 132] }, { "object": { "mode": { "type": 133, "optional": true }, "skills": { "type": 137, "optional": false } } }, { "union": [67, 134] }, { "object": { "ref": { "type": 2, "optional": false }, "instructions": { "type": 2, "optional": false }, "allowedTools": { "type": 135, "optional": true }, "deniedTools": { "type": 135, "optional": true } } }, { "union": [67, 136] }, { "array": 2 }, { "array": 138 }, { "object": { "ref": { "type": 2, "optional": false }, "instructions": { "type": 2, "optional": false }, "resources": { "type": 139, "optional": false } } }, { "array": 140 }, { "object": { "path": { "type": 2, "optional": false }, "text": { "type": 2, "optional": false } } }, { "object": { "providerId": { "type": 2, "optional": false }, "modelId": { "type": 2, "optional": false }, "profileRef": { "type": 2, "optional": false } } }, { "union": [67, 143] }, { "object": { "profileId": { "type": 2, "optional": false }, "profileRevision": { "type": 2, "optional": false }, "endpointFingerprint": { "type": 2, "optional": false }, "credentialScopeRef": { "type": 2, "optional": false }, "modelId": { "type": 2, "optional": false }, "codecId": { "type": 2, "optional": false }, "codecVersion": { "type": 17, "optional": false }, "compatibilityKey": { "type": 2, "optional": false }, "capabilityDigest": { "type": 2, "optional": false } } }, { "union": [67, 145] }, { "object": { "version": { "type": 2, "optional": false }, "definitions": { "type": 146, "optional": false } } }, { "array": 147 }, { "object": { "scopeKey": { "type": 96, "optional": true }, "name": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "description": { "type": 2, "optional": false }, "inputSchema": { "type": 148, "optional": false }, "outputSchema": { "type": 152, "optional": true }, "source": { "type": 153, "optional": false }, "effects": { "type": 163, "optional": false }, "supportsIdempotencyKey": { "type": 167, "optional": false }, "supportsReconcile": { "type": 167, "optional": false }, "concurrency": { "type": 168, "optional": false }, "timeoutMs": { "type": 17, "optional": false }, "abortGraceMs": { "type": 106, "optional": true } } }, { "object": {}, "index": 149 }, { "union": [27, 2, 17, 108, 109, 150, 151] }, { "array": 149 }, { "object": {}, "index": 149 }, { "union": [67, 148] }, { "union": [154, 156, 161] }, { "object": { "kind": { "type": 155, "optional": false } } }, { "literal": "builtin" }, { "object": { "kind": { "type": 157, "optional": false }, "sourceId": { "type": 2, "optional": false } } }, { "union": [158, 159, 160] }, { "literal": "custom" }, { "literal": "plugin" }, { "literal": "script" }, { "object": { "kind": { "type": 162, "optional": false }, "serverId": { "type": 2, "optional": false }, "remoteName": { "type": 2, "optional": false } } }, { "literal": "mcp" }, { "union": [164, 165, 166] }, { "literal": "read" }, { "literal": "idempotent_write" }, { "literal": "non_idempotent_write" }, { "union": [108, 109] }, { "union": [169, 170] }, { "literal": "parallel" }, { "literal": "serial_per_run" }, { "union": [67, 172] }, { "object": { "modelProvider": { "type": 173, "optional": true }, "derived": { "type": 175, "optional": true }, "tools": { "type": 182, "optional": false }, "contextProviders": { "type": 184, "optional": false }, "hooks": { "type": 186, "optional": false } } }, { "union": [67, 174] }, { "object": { "profileRef": { "type": 2, "optional": false }, "providerId": { "type": 2, "optional": false }, "revision": { "type": 2, "optional": false }, "compatibilityKey": { "type": 96, "optional": true } } }, { "union": [67, 176] }, { "array": 177 }, { "object": { "role": { "type": 178, "optional": false }, "agentSessionId": { "type": 180, "optional": true }, "bindings": { "type": 181, "optional": false }, "toolSnapshot": { "type": 144, "optional": true } } }, { "union": [43, 179] }, { "literal": "search" }, { "union": [67, 57] }, { "object": { "tools": { "type": 182, "optional": false }, "contextProviders": { "type": 184, "optional": false }, "hooks": { "type": 186, "optional": false } } }, { "array": 183 }, { "object": { "name": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "source": { "type": 153, "optional": false }, "scopeKey": { "type": 96, "optional": true }, "definitionDigest": { "type": 96, "optional": true } } }, { "array": 185 }, { "object": { "id": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "scopeKey": { "type": 96, "optional": true } } }, { "array": 187 }, { "object": { "id": { "type": 2, "optional": false }, "version": { "type": 2, "optional": false }, "scopeKey": { "type": 96, "optional": true } } }, { "object": { "maxModelAttempts": { "type": 17, "optional": false }, "maxToolCalls": { "type": 17, "optional": false }, "maxSteps": { "type": 17, "optional": false }, "maxTotalTokens": { "type": 17, "optional": false }, "subagentMaxModelAttempts": { "type": 106, "optional": true }, "wallTimeMs": { "type": 106, "optional": true }, "subagentWallTimeMs": { "type": 106, "optional": true }, "modelTimeoutMs": { "type": 17, "optional": false }, "streamIdleTimeoutMs": { "type": 106, "optional": true }, "requestTotalTimeoutMs": { "type": 106, "optional": true }, "toolTimeoutMs": { "type": 17, "optional": false }, "shellTimeoutMs": { "type": 106, "optional": true }, "maxParallelTools": { "type": 17, "optional": false } } }, { "object": { "modelMaxAttemptsPerCall": { "type": 17, "optional": false }, "toolMaxAttemptsPerCall": { "type": 17, "optional": false }, "baseDelayMs": { "type": 17, "optional": false }, "maxDelayMs": { "type": 17, "optional": false } } }, { "object": { "storage": { "type": 191, "optional": false }, "reasoning": { "type": 192, "optional": true }, "parallelToolCalls": { "type": 107, "optional": true }, "metadata": { "type": 194, "optional": true }, "extensionOptions": { "type": 196, "optional": true } } }, { "literal": "local_stateless" }, { "union": [67, 193] }, { "object": { "effort": { "type": 96, "optional": true }, "summary": { "type": 96, "optional": true }, "context": { "type": 96, "optional": true } } }, { "union": [67, 195] }, { "object": {}, "index": 2 }, { "union": [67, 197] }, { "object": {}, "index": 149 }, { "union": [67, 199] }, { "object": { "enabled": { "type": 107, "optional": true }, "maxTurns": { "type": 106, "optional": true } } }, { "union": [67, 201] }, { "object": { "sourceRunId": { "type": 70, "optional": false }, "originalInputId": { "type": 88, "optional": false }, "summary": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 203, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 204, "optional": false } } }, { "literal": "run.team.planned" }, { "object": { "plannerAgentSessionId": { "type": 57, "optional": false }, "decision": { "type": 205, "optional": false }, "reason": { "type": 2, "optional": false }, "summary": { "type": 96, "optional": true }, "fallback": { "type": 107, "optional": true }, "evidence": { "type": 135, "optional": true }, "executionSteps": { "type": 135, "optional": true }, "verificationCriteria": { "type": 135, "optional": true }, "team": { "type": 98, "optional": true } } }, { "union": [206, 207] }, { "literal": "single" }, { "literal": "team" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 209, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 210, "optional": false } } }, { "literal": "run.team.member.stop_requested" }, { "object": { "memberId": { "type": 2, "optional": false }, "turnId": { "type": 211, "optional": false }, "requesterAgentSessionId": { "type": 57, "optional": false }, "requestedBy": { "type": 42, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 213, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 214, "optional": false } } }, { "literal": "run.team.message.sent" }, { "object": { "messageId": { "type": 2, "optional": false }, "from": { "type": 2, "optional": false }, "to": { "type": 2, "optional": false }, "text": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 216, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 217, "optional": false } } }, { "literal": "run.team.message.read" }, { "object": { "messageId": { "type": 2, "optional": false }, "memberId": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 219, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 220, "optional": false } } }, { "literal": "run.search.started" }, { "object": { "searchId": { "type": 2, "optional": false }, "trigger": { "type": 124, "optional": false }, "anchorAgentSessionId": { "type": 57, "optional": false }, "goal": { "type": 2, "optional": false }, "isolation": { "type": 221, "optional": false }, "maxRollouts": { "type": 17, "optional": false }, "branchFactor": { "type": 17, "optional": false }, "maxDepth": { "type": 17, "optional": false }, "concurrency": { "type": 17, "optional": false } } }, { "union": [104, 130] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 223, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 224, "optional": false } } }, { "literal": "run.search.branch.created" }, { "object": { "searchId": { "type": 2, "optional": false }, "branchId": { "type": 2, "optional": false }, "parentBranchId": { "type": 225, "optional": false }, "depth": { "type": 17, "optional": false }, "mode": { "type": 226, "optional": false }, "hypothesis": { "type": 2, "optional": false }, "strategy": { "type": 2, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "workspaceKind": { "type": 229, "optional": false }, "degradedToReadonly": { "type": 107, "optional": true } } }, { "union": [27, 2] }, { "union": [227, 228] }, { "literal": "wider" }, { "literal": "deeper" }, { "union": [230, 231, 232] }, { "literal": "shared_readonly" }, { "literal": "git_worktree" }, { "literal": "shallow_copy" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 234, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 235, "optional": false } } }, { "literal": "run.search.branch.evaluated" }, { "object": { "searchId": { "type": 2, "optional": false }, "branchId": { "type": 2, "optional": false }, "hardScore": { "type": 106, "optional": true }, "softScore": { "type": 17, "optional": false }, "combinedScore": { "type": 17, "optional": false }, "verdict": { "type": 236, "optional": false }, "summary": { "type": 2, "optional": false }, "reflection": { "type": 96, "optional": true } } }, { "union": [237, 238, 239] }, { "literal": "solved" }, { "literal": "promising" }, { "literal": "pruned" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 241, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 242, "optional": false } } }, { "literal": "run.search.converged" }, { "object": { "searchId": { "type": 2, "optional": false }, "winnerBranchId": { "type": 225, "optional": false }, "outcome": { "type": 243, "optional": false }, "winnerSummary": { "type": 2, "optional": false }, "mergedReflections": { "type": 136, "optional": false }, "mergedFiles": { "type": 135, "optional": true } } }, { "union": [237, 244, 245] }, { "literal": "best_candidate" }, { "literal": "exhausted" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 247, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 248, "optional": false } } }, { "literal": "run.started" }, { "object": { "startedAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 250, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 251, "optional": false } } }, { "literal": "run.paused" }, { "object": { "reason": { "type": 252, "optional": false }, "blockedTurnId": { "type": 211, "optional": false } } }, { "union": [253, 254, 255] }, { "literal": "approval" }, { "literal": "tool_outcome_unknown" }, { "literal": "recovery_review" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 257, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 258, "optional": false } } }, { "literal": "run.resumed" }, { "object": { "reason": { "type": 259, "optional": false } } }, { "union": [5, 8, 253, 260] }, { "literal": "reconciled" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 262, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 263, "optional": false } } }, { "literal": "run.plugin.availability" }, { "object": { "block": { "type": 264, "optional": false } } }, { "union": [27, 265] }, { "object": { "code": { "type": 266, "optional": false }, "message": { "type": 2, "optional": false } } }, { "literal": "PLUGIN_VERSION_UNAVAILABLE" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 268, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 269, "optional": false } } }, { "literal": "run.cancel_requested" }, { "object": { "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 271, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 272, "optional": false } } }, { "literal": "run.completed" }, { "object": { "resultMessageId": { "type": 88, "optional": false }, "usage": { "type": 273, "optional": false } } }, { "object": { "inputTokens": { "type": 17, "optional": false }, "outputTokens": { "type": 17, "optional": false }, "cachedInputTokens": { "type": 106, "optional": true }, "reasoningTokens": { "type": 106, "optional": true }, "accuracy": { "type": 274, "optional": false } } }, { "union": [275, 276] }, { "literal": "reported" }, { "literal": "estimated" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 278, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 279, "optional": false } } }, { "literal": "run.failed" }, { "object": { "error": { "type": 280, "optional": false }, "usage": { "type": 273, "optional": false } } }, { "object": { "code": { "type": 2, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false }, "budget": { "type": 281, "optional": true }, "checkpoint": { "type": 200, "optional": true } } }, { "union": [67, 282] }, { "object": { "resource": { "type": 283, "optional": false }, "used": { "type": 17, "optional": false }, "max": { "type": 17, "optional": false }, "required": { "type": 106, "optional": true }, "unknownUsageTokens": { "type": 106, "optional": true }, "triggeredByUnknownUsage": { "type": 107, "optional": true } } }, { "union": [284, 285, 286, 287, 288, 289, 290] }, { "literal": "modelAttempts" }, { "literal": "toolCalls" }, { "literal": "steps" }, { "literal": "tokens" }, { "literal": "context" }, { "literal": "timeMs" }, { "literal": "modelOutput" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 292, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 293, "optional": false } } }, { "literal": "run.cancelled" }, { "object": { "reason": { "type": 2, "optional": false }, "unresolvedCallIds": { "type": 294, "optional": false } } }, { "array": 295 }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 297, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 299, "optional": false } } }, { "literal": "turn.queued" }, { "object": { "kind": { "type": 16, "optional": false }, "workspaceId": { "type": 25, "optional": false }, "agentId": { "type": 40, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "sessionId": { "type": 50, "optional": false }, "runId": { "type": 70, "optional": false } } }, { "object": { "turnId": { "type": 211, "optional": false }, "ordinal": { "type": 17, "optional": false }, "inputMessageId": { "type": 88, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 301, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 302, "optional": false } } }, { "literal": "turn.started" }, { "object": { "turnId": { "type": 211, "optional": false }, "startedAt": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 304, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 305, "optional": false } } }, { "literal": "turn.paused" }, { "object": { "turnId": { "type": 211, "optional": false }, "reason": { "type": 252, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 307, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 308, "optional": false } } }, { "literal": "turn.resumed" }, { "object": { "turnId": { "type": 211, "optional": false }, "reason": { "type": 2, "optional": false }, "deadlineAt": { "type": 96, "optional": true } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 310, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 311, "optional": false } } }, { "literal": "turn.completed" }, { "object": { "turnId": { "type": 211, "optional": false }, "finalMessageId": { "type": 88, "optional": false }, "usage": { "type": 273, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 313, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 314, "optional": false } } }, { "literal": "turn.failed" }, { "object": { "turnId": { "type": 211, "optional": false }, "error": { "type": 280, "optional": false }, "usage": { "type": 273, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 316, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 317, "optional": false } } }, { "literal": "turn.interrupted" }, { "object": { "turnId": { "type": 211, "optional": false }, "stoppedByMain": { "type": 318, "optional": true }, "reason": { "type": 319, "optional": false }, "usage": { "type": 273, "optional": false }, "unresolvedCallIds": { "type": 294, "optional": false }, "budget": { "type": 281, "optional": true } } }, { "union": [67, 109] }, { "union": [320, 321, 322] }, { "literal": "cancelled" }, { "literal": "timeout" }, { "literal": "limit" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 324, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 325, "optional": false } } }, { "literal": "step.started" }, { "object": { "step": { "type": 326, "optional": false } } }, { "object": { "id": { "type": 327, "optional": false }, "turnId": { "type": 211, "optional": false }, "ordinal": { "type": 17, "optional": false }, "kind": { "type": 328, "optional": false }, "status": { "type": 331, "optional": false } } }, { "kind": "string" }, { "union": [6, 329, 330] }, { "literal": "model" }, { "literal": "tool" }, { "union": [332, 333, 334, 335] }, { "literal": "completed" }, { "literal": "failed" }, { "literal": "running" }, { "literal": "interrupted" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 337, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 338, "optional": false } } }, { "literal": "step.completed" }, { "object": { "stepId": { "type": 327, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 340, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 341, "optional": false } } }, { "literal": "step.failed" }, { "object": { "stepId": { "type": 327, "optional": false }, "error": { "type": 280, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 343, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 344, "optional": false } } }, { "literal": "step.interrupted" }, { "object": { "stepId": { "type": 327, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 346, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 347, "optional": false } } }, { "literal": "message.user.added" }, { "object": { "message": { "type": 348, "optional": false }, "steering": { "type": 318, "optional": true }, "steeringSource": { "type": 358, "optional": true } } }, { "object": { "role": { "type": 5, "optional": false }, "content": { "type": 349, "optional": false }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 211, "optional": false } } }, { "array": 350 }, { "union": [351, 353, 356] }, { "object": { "type": { "type": 352, "optional": false }, "text": { "type": 2, "optional": false } } }, { "literal": "text" }, { "object": { "type": { "type": 354, "optional": false }, "artifact": { "type": 355, "optional": false }, "alt": { "type": 96, "optional": true } } }, { "literal": "image" }, { "object": { "artifactId": { "type": 2, "optional": false }, "sha256": { "type": 2, "optional": false }, "mediaType": { "type": 2, "optional": false }, "byteLength": { "type": 17, "optional": false } } }, { "object": { "type": { "type": 357, "optional": false }, "artifact": { "type": 355, "optional": false }, "name": { "type": 2, "optional": false } } }, { "literal": "file" }, { "union": [67, 42] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 360, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 361, "optional": false } } }, { "literal": "message.assistant.added" }, { "object": { "message": { "type": 362, "optional": false }, "requestId": { "type": 372, "optional": false } } }, { "object": { "role": { "type": 363, "optional": false }, "content": { "type": 349, "optional": false }, "toolCalls": { "type": 364, "optional": false }, "structuredOutput": { "type": 371, "optional": true }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 211, "optional": false } } }, { "literal": "assistant" }, { "array": 365 }, { "object": { "id": { "type": 295, "optional": false }, "assistantMessageId": { "type": 88, "optional": false }, "providerCallId": { "type": 2, "optional": false }, "callIndex": { "type": 17, "optional": false }, "toolName": { "type": 2, "optional": false }, "toolVersion": { "type": 2, "optional": false }, "arguments": { "type": 366, "optional": false } } }, { "union": [367, 369] }, { "object": { "kind": { "type": 368, "optional": false }, "value": { "type": 149, "optional": false } } }, { "literal": "json" }, { "object": { "kind": { "type": 370, "optional": false }, "raw": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "literal": "invalid" }, { "union": [67, 27, 2, 17, 108, 109, 150, 151] }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 374, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 375, "optional": false } } }, { "literal": "model.requested" }, { "object": { "stepId": { "type": 327, "optional": false }, "request": { "type": 376, "optional": false } } }, { "object": { "id": { "type": 372, "optional": false }, "callGroupId": { "type": 2, "optional": false }, "attempt": { "type": 17, "optional": false }, "retryOf": { "type": 377, "optional": true }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 211, "optional": false }, "model": { "type": 141, "optional": false }, "binding": { "type": 143, "optional": false }, "responses": { "type": 378, "optional": false }, "responsesOptions": { "type": 190, "optional": false }, "output": { "type": 398, "optional": false }, "maxOutputTokens": { "type": 17, "optional": false }, "budget": { "type": 401, "optional": false }, "temperature": { "type": 106, "optional": true }, "context": { "type": 405, "optional": false } } }, { "union": [67, 372] }, { "object": { "version": { "type": 23, "optional": false }, "binding": { "type": 143, "optional": false }, "epochId": { "type": 2, "optional": false }, "decision": { "type": 379, "optional": false }, "initialSystemPrompt": { "type": 96, "optional": true }, "initialBackground": { "type": 391, "optional": true }, "prunedToolResults": { "type": 107, "optional": true }, "fullInputDigest": { "type": 2, "optional": false }, "configurationDigest": { "type": 2, "optional": false }, "backgroundDigest": { "type": 96, "optional": true }, "replaySources": { "type": 394, "optional": false }, "transport": { "type": 396, "optional": false } } }, { "union": [380, 382, 384] }, { "object": { "kind": { "type": 381, "optional": false } } }, { "literal": "new" }, { "object": { "kind": { "type": 383, "optional": false }, "previousResponseEventId": { "type": 21, "optional": false } } }, { "literal": "append" }, { "object": { "kind": { "type": 385, "optional": false }, "atTurnId": { "type": 211, "optional": false }, "reason": { "type": 386, "optional": false } } }, { "literal": "reset" }, { "union": [387, 388, 389, 390] }, { "literal": "history_trimmed" }, { "literal": "compacted" }, { "literal": "prefix_changed" }, { "literal": "binding_changed" }, { "union": [67, 392] }, { "array": 393 }, { "object": { "role": { "type": 5, "optional": false }, "content": { "type": 349, "optional": false }, "sourceBackgroundId": { "type": 2, "optional": false } } }, { "array": 395 }, { "object": { "responseEventId": { "type": 21, "optional": false }, "outputDigest": { "type": 2, "optional": false }, "inputStart": { "type": 17, "optional": false }, "inputCount": { "type": 17, "optional": false }, "removedOutputOnlyPaths": { "type": 136, "optional": false } } }, { "object": { "kind": { "type": 397, "optional": false } } }, { "literal": "local_replay" }, { "union": [399, 400] }, { "object": { "kind": { "type": 352, "optional": false } } }, { "object": { "kind": { "type": 368, "optional": false }, "schema": { "type": 148, "optional": false }, "name": { "type": 2, "optional": false } } }, { "object": { "estimatedInputTokens": { "type": 17, "optional": false }, "reservedTotalTokens": { "type": 17, "optional": false }, "accuracy": { "type": 402, "optional": false } } }, { "union": [403, 404] }, { "literal": "tokenizer" }, { "literal": "conservative_estimate" }, { "object": { "surfaceSeq": { "type": 17, "optional": false }, "selectedMessageIds": { "type": 406, "optional": false }, "assemblyHash": { "type": 2, "optional": false }, "providerVersions": { "type": 195, "optional": false } } }, { "array": 88 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 408, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 409, "optional": false } } }, { "literal": "model.responded" }, { "object": { "stepId": { "type": 327, "optional": false }, "response": { "type": 410, "optional": false }, "reasoningSummary": { "type": 96, "optional": true } } }, { "object": { "requestId": { "type": 372, "optional": false }, "providerResponseId": { "type": 2, "optional": false }, "content": { "type": 349, "optional": false }, "toolCalls": { "type": 411, "optional": false }, "structuredOutput": { "type": 371, "optional": true }, "continuation": { "type": 413, "optional": false }, "turnDisposition": { "type": 439, "optional": false }, "finishReason": { "type": 443, "optional": false }, "usage": { "type": 273, "optional": false } } }, { "array": 412 }, { "object": { "outputIndex": { "type": 17, "optional": false }, "providerCallId": { "type": 2, "optional": false }, "toolName": { "type": 2, "optional": false }, "arguments": { "type": 366, "optional": false } } }, { "object": { "version": { "type": 23, "optional": false }, "protocol": { "type": 414, "optional": false }, "binding": { "type": 143, "optional": false }, "epochId": { "type": 2, "optional": false }, "responseId": { "type": 2, "optional": false }, "sourceRequestId": { "type": 372, "optional": false }, "requestInputDigest": { "type": 2, "optional": false }, "configurationDigest": { "type": 2, "optional": false }, "outputItems": { "type": 419, "optional": false }, "outputDigest": { "type": 2, "optional": false }, "providerMetadata": { "type": 197, "optional": false }, "capture": { "type": 434, "optional": false } } }, { "union": [415, 416, 417, 418] }, { "literal": "openai-responses" }, { "literal": "openai-chat" }, { "literal": "anthropic" }, { "literal": "gemini" }, { "array": 420 }, { "union": [421, 426, 429, 432] }, { "object": { "kind": { "type": 422, "optional": false }, "value": { "type": 423, "optional": false } } }, { "literal": "message" }, { "object": { "type": { "type": 422, "optional": false }, "role": { "type": 363, "optional": false }, "id": { "type": 2, "optional": false }, "content": { "type": 424, "optional": false }, "phase": { "type": 425, "optional": true } }, "index": 149 }, { "array": 197 }, { "union": [67, 27, 2] }, { "object": { "kind": { "type": 427, "optional": false }, "value": { "type": 428, "optional": false } } }, { "literal": "reasoning" }, { "object": { "type": { "type": 427, "optional": false }, "id": { "type": 2, "optional": false }, "summary": { "type": 424, "optional": false }, "encrypted_content": { "type": 425, "optional": true } }, "index": 149 }, { "object": { "kind": { "type": 430, "optional": false }, "value": { "type": 431, "optional": false } } }, { "literal": "function_call" }, { "object": { "type": { "type": 430, "optional": false }, "id": { "type": 2, "optional": false }, "call_id": { "type": 2, "optional": false }, "name": { "type": 2, "optional": false }, "arguments": { "type": 2, "optional": false } }, "index": 149 }, { "object": { "kind": { "type": 433, "optional": false }, "codecId": { "type": 2, "optional": false }, "codecVersion": { "type": 17, "optional": false }, "value": { "type": 197, "optional": false } } }, { "literal": "extension" }, { "object": { "source": { "type": 435, "optional": false }, "complete": { "type": 109, "optional": false } } }, { "union": [436, 437, 438] }, { "literal": "wire_json" }, { "literal": "wire_sse" }, { "literal": "sdk" }, { "union": [440, 441, 442] }, { "literal": "final" }, { "literal": "tool_calls" }, { "literal": "continue" }, { "union": [441, 444, 445, 446] }, { "literal": "stop" }, { "literal": "length" }, { "literal": "content_filter" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 448, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 449, "optional": false } } }, { "literal": "model.failed" }, { "object": { "stepId": { "type": 327, "optional": false }, "requestId": { "type": 372, "optional": false }, "error": { "type": 450, "optional": false }, "chargedUsage": { "type": 468, "optional": true }, "reasoningSummary": { "type": 96, "optional": true }, "retryAt": { "type": 96, "optional": true } } }, { "object": { "code": { "type": 451, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false }, "retryAfterMs": { "type": 106, "optional": true }, "providerCode": { "type": 96, "optional": true }, "outcomeUnknown": { "type": 167, "optional": false }, "usage": { "type": 468, "optional": true }, "details": { "type": 469, "optional": true } } }, { "union": [320, 321, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467] }, { "literal": "auth" }, { "literal": "rate_limit" }, { "literal": "transport" }, { "literal": "context_overflow" }, { "literal": "invalid_request" }, { "literal": "unsupported_capability" }, { "literal": "invalid_output" }, { "literal": "protocol" }, { "literal": "provider_internal" }, { "literal": "response_not_committed" }, { "literal": "steered" }, { "literal": "continuation_unavailable" }, { "literal": "continuation_mismatch" }, { "literal": "unsupported_item" }, { "literal": "native_capture_incomplete" }, { "literal": "profile_mismatch" }, { "union": [67, 273] }, { "union": [67, 470] }, { "object": { "phase": { "type": 471, "optional": false }, "elapsedMs": { "type": 17, "optional": false }, "timeoutKind": { "type": 475, "optional": true }, "underlyingCode": { "type": 96, "optional": true }, "causes": { "type": 479, "optional": true } } }, { "union": [472, 473, 474] }, { "literal": "awaiting_headers" }, { "literal": "awaiting_first_frame" }, { "literal": "stream_idle" }, { "union": [67, 476, 477, 478] }, { "literal": "idle" }, { "literal": "total" }, { "literal": "deadline" }, { "union": [67, 480] }, { "array": 481 }, { "object": { "code": { "type": 96, "optional": true }, "message": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 483, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 484, "optional": false } } }, { "literal": "tool.call.requested" }, { "object": { "turnId": { "type": 211, "optional": false }, "call": { "type": 365, "optional": false }, "executionKey": { "type": 2, "optional": false }, "policyVersion": { "type": 2, "optional": false }, "definition": { "type": 485, "optional": false } } }, { "union": [27, 147] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 487, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 488, "optional": false } } }, { "literal": "tool.call.rejected" }, { "object": { "toolCallId": { "type": 295, "optional": false }, "error": { "type": 489, "optional": false } } }, { "object": { "code": { "type": 2, "optional": false }, "message": { "type": 2, "optional": false }, "retryable": { "type": 167, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 491, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 492, "optional": false } } }, { "literal": "tool.approval.requested" }, { "object": { "request": { "type": 493, "optional": false } } }, { "object": { "approvalId": { "type": 494, "optional": false }, "toolCallId": { "type": 295, "optional": false }, "argumentsHash": { "type": 2, "optional": false }, "toolVersion": { "type": 2, "optional": false }, "policyVersion": { "type": 2, "optional": false }, "resources": { "type": 136, "optional": false }, "reason": { "type": 2, "optional": false }, "expiresAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 496, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 497, "optional": false } } }, { "literal": "tool.approval.resolved" }, { "object": { "decision": { "type": 498, "optional": false }, "deferResume": { "type": 318, "optional": true } } }, { "object": { "approvalId": { "type": 494, "optional": false }, "toolCallId": { "type": 295, "optional": false }, "approved": { "type": 167, "optional": false }, "decidedBy": { "type": 2, "optional": false }, "decidedAt": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 500, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 501, "optional": false } } }, { "literal": "tool.call.started" }, { "object": { "attempt": { "type": 502, "optional": false } } }, { "object": { "id": { "type": 503, "optional": false }, "toolCallId": { "type": 295, "optional": false }, "stepId": { "type": 327, "optional": false }, "number": { "type": 17, "optional": false }, "executionKey": { "type": 2, "optional": false }, "executorInstanceId": { "type": 2, "optional": false }, "hostEpoch": { "type": 17, "optional": false }, "startedAt": { "type": 2, "optional": false } } }, { "kind": "string" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 505, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 506, "optional": false } } }, { "literal": "tool.call.completed" }, { "object": { "attemptId": { "type": 503, "optional": false }, "result": { "type": 507, "optional": false } } }, { "object": { "toolCallId": { "type": 295, "optional": false }, "outcome": { "type": 508, "optional": false }, "effect": { "type": 515, "optional": false }, "evidenceRef": { "type": 96, "optional": true } } }, { "union": [509, 511] }, { "object": { "status": { "type": 510, "optional": false }, "content": { "type": 349, "optional": false }, "data": { "type": 371, "optional": true } } }, { "literal": "success" }, { "object": { "status": { "type": 512, "optional": false }, "error": { "type": 489, "optional": false }, "data": { "type": 371, "optional": true } } }, { "union": [320, 513, 514] }, { "literal": "error" }, { "literal": "denied" }, { "union": [516, 517, 518] }, { "literal": "none" }, { "literal": "applied" }, { "literal": "unknown" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 520, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 521, "optional": false } } }, { "literal": "tool.call.failed" }, { "object": { "attemptId": { "type": 503, "optional": false }, "toolCallId": { "type": 295, "optional": false }, "error": { "type": 489, "optional": false }, "effect": { "type": 522, "optional": false }, "retryAt": { "type": 96, "optional": true } } }, { "union": [516, 517] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 524, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 525, "optional": false } } }, { "literal": "tool.call.denied" }, { "object": { "toolCallId": { "type": 295, "optional": false }, "approvalId": { "type": 526, "optional": true }, "reason": { "type": 2, "optional": false } } }, { "union": [67, 494] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 528, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 529, "optional": false } } }, { "literal": "tool.call.outcome_unknown" }, { "object": { "toolCallId": { "type": 295, "optional": false }, "attemptId": { "type": 503, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 531, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 532, "optional": false } } }, { "literal": "tool.call.reconciled" }, { "object": { "toolCallId": { "type": 295, "optional": false }, "attemptId": { "type": 503, "optional": false }, "decision": { "type": 533, "optional": false } } }, { "union": [534, 535, 537] }, { "object": { "kind": { "type": 332, "optional": false }, "result": { "type": 507, "optional": false }, "evidenceRef": { "type": 2, "optional": false } } }, { "object": { "kind": { "type": 536, "optional": false }, "evidenceRef": { "type": 2, "optional": false } } }, { "literal": "not_applied" }, { "object": { "kind": { "type": 538, "optional": false }, "acceptedBy": { "type": 2, "optional": false }, "reason": { "type": 2, "optional": false } } }, { "literal": "abandon_unknown" }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 540, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 541, "optional": false } } }, { "literal": "tool.call.settled" }, { "object": { "message": { "type": 542, "optional": false } } }, { "object": { "role": { "type": 330, "optional": false }, "result": { "type": 507, "optional": false }, "id": { "type": 88, "optional": false }, "agentSessionId": { "type": 57, "optional": false }, "runId": { "type": 70, "optional": false }, "turnId": { "type": 211, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 544, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "payload": { "type": 545, "optional": false } } }, { "literal": "surface.compacted" }, { "object": { "compaction": { "type": 546, "optional": false } } }, { "object": { "id": { "type": 2, "optional": false }, "expectedSurfaceSeq": { "type": 17, "optional": false }, "replacedMessageIds": { "type": 406, "optional": false }, "replacement": { "type": 348, "optional": false }, "sourceDigest": { "type": 2, "optional": false }, "summaryModelRef": { "type": 96, "optional": true }, "boundary": { "type": 547, "optional": true } } }, { "union": [67, 548, 549] }, { "literal": "turn" }, { "literal": "step_prefix" }, { "union": [551, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608] }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 22, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 28, "optional": false } } }, { "kind": "string" }, { "object": { "actor": { "type": 3, "optional": false }, "correlationId": { "type": 2, "optional": false }, "causationId": { "type": 26, "optional": false }, "commandId": { "type": 1, "optional": false }, "commandHash": { "type": 2, "optional": false }, "commandEventIndex": { "type": 17, "optional": false }, "commandEventCount": { "type": 17, "optional": false }, "traceparent": { "type": 96, "optional": true }, "links": { "type": 554, "optional": true } } }, { "union": [67, 555] }, { "array": 21 }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 34, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 35, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 37, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 24, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 38, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 48, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 51, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 54, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 55, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 61, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 49, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 62, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 64, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 71, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 78, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 79, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 85, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 87, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 92, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 93, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 203, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 204, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 209, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 210, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 213, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 214, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 216, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 217, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 219, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 220, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 223, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 224, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 234, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 235, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 241, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 242, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 247, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 248, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 250, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 251, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 257, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 258, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 262, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 263, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 268, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 269, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 271, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 272, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 278, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 279, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 292, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 86, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 293, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 297, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 299, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 301, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 302, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 304, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 305, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 307, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 308, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 310, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 311, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 313, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 314, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 316, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 317, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 324, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 325, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 337, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 338, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 340, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 341, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 343, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 344, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 346, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 347, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 360, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 361, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 374, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 375, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 408, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 409, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 448, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 449, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 483, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 484, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 487, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 488, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 491, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 492, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 496, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 497, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 500, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 501, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 505, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 506, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 520, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 521, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 524, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 525, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 528, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 529, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 531, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 532, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 540, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 298, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 541, "optional": false } } }, { "object": { "id": { "type": 21, "optional": false }, "type": { "type": 544, "optional": false }, "envelopeVersion": { "type": 23, "optional": false }, "eventVersion": { "type": 23, "optional": false }, "scope": { "type": 65, "optional": false }, "stream": { "type": 11, "optional": false }, "streamSeq": { "type": 17, "optional": false }, "position": { "type": 552, "optional": false }, "occurredAt": { "type": 2, "optional": false }, "recordedAt": { "type": 2, "optional": false }, "metadata": { "type": 553, "optional": false }, "payload": { "type": 545, "optional": false } } }];
|
|
3
|
+
export const roots = { "CommitRequest": 0, "V1RuntimeEvent": 550 };
|
package/dist/worker.js
CHANGED
|
@@ -82,7 +82,7 @@ const commands = {
|
|
|
82
82
|
return db
|
|
83
83
|
.prepare(`SELECT * FROM events WHERE run_id=? AND position>? AND position<=? AND (
|
|
84
84
|
event_type IN ('run.started','run.paused','run.resumed',${terminalEventParameters},'run.plugin.availability',
|
|
85
|
-
'run.team.planned','run.team.message.sent','run.search.started','run.search.branch.created',
|
|
85
|
+
'run.team.planned','run.team.member.stop_requested','run.team.message.sent','run.search.started','run.search.branch.created',
|
|
86
86
|
'run.search.branch.evaluated','run.search.converged','model.failed')
|
|
87
87
|
OR (event_type='tool.call.settled' AND json_extract(payload_json,'$.message.result.outcome.data.kind') IN ('todo_write','review_numeric_data'))
|
|
88
88
|
) ORDER BY position LIMIT ?`)
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saturn-universe/storage",
|
|
3
|
-
"version": "0.1.2-dev.
|
|
3
|
+
"version": "0.1.2-dev.6",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@saturn-universe/core": "0.1.2-dev.
|
|
11
|
-
"@saturn-universe/projections": "0.1.2-dev.
|
|
10
|
+
"@saturn-universe/core": "0.1.2-dev.6",
|
|
11
|
+
"@saturn-universe/projections": "0.1.2-dev.6",
|
|
12
12
|
"better-sqlite3": "13.0.3"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|