@claudexor/schema 5.0.1 → 5.1.0
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/account-routing-evidence.d.ts +256 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +27 -2
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +3 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +6 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +103 -6
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +32 -6
- package/dist/attachment.js.map +1 -1
- package/dist/browser-evidence.d.ts +85 -0
- package/dist/browser-evidence.d.ts.map +1 -0
- package/dist/browser-evidence.js +72 -0
- package/dist/browser-evidence.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +30 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +438 -36
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +11 -2
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-process-scope.d.ts +34 -0
- package/dist/control-process-scope.d.ts.map +1 -1
- package/dist/control-process-scope.js +13 -0
- package/dist/control-process-scope.js.map +1 -1
- package/dist/control-run-detail.d.ts +785 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-failure.d.ts +29 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +28 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-trust.d.ts +8 -0
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +4 -0
- package/dist/control-trust.js.map +1 -1
- package/dist/control-web-evidence.d.ts +125 -0
- package/dist/control-web-evidence.d.ts.map +1 -0
- package/dist/control-web-evidence.js +109 -0
- package/dist/control-web-evidence.js.map +1 -0
- package/dist/control.d.ts +292 -98
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -49
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +4 -3
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +4 -3
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -0
- package/dist/decision.js.map +1 -1
- package/dist/deferred-message.d.ts +646 -0
- package/dist/deferred-message.d.ts.map +1 -1
- package/dist/deferred-message.js +16 -2
- package/dist/deferred-message.js.map +1 -1
- package/dist/events.d.ts +10 -10
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.js +1 -1
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +12 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +11 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-interaction.d.ts +20 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +36 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness.d.ts +95 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +16 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +363 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -7
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/operation.d.ts +1 -1
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/process-scope.d.ts +154 -0
- package/dist/process-scope.d.ts.map +1 -1
- package/dist/process-scope.js +16 -1
- package/dist/process-scope.js.map +1 -1
- package/dist/quota.d.ts +14 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +4 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +11 -5
- package/dist/raw.js.map +1 -1
- package/dist/route-controls.d.ts +49 -0
- package/dist/route-controls.d.ts.map +1 -0
- package/dist/route-controls.js +53 -0
- package/dist/route-controls.js.map +1 -0
- package/dist/route-health.d.ts +23 -23
- package/dist/route-health.js +1 -1
- package/dist/route-health.js.map +1 -1
- package/dist/run-continuation.d.ts +6 -6
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.js +1 -1
- package/dist/run-facts.js.map +1 -1
- package/dist/status-projection.d.ts +3 -2
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +5 -2
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group.d.ts +3 -0
- package/dist/task-group.d.ts.map +1 -1
- package/dist/task-group.js +11 -1
- package/dist/task-group.js.map +1 -1
- package/dist/task.d.ts +2 -2
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +4 -4
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +602 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +17 -88
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-export.d.ts +847 -0
- package/dist/thread-export.d.ts.map +1 -0
- package/dist/thread-export.js +238 -0
- package/dist/thread-export.js.map +1 -0
- package/dist/thread-history.d.ts +248 -132
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread.d.ts +72 -6
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +19 -3
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +172 -21
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +114 -29
- package/dist/tool-ref.js.map +1 -1
- package/dist/web-evidence.d.ts +91 -0
- package/dist/web-evidence.d.ts.map +1 -0
- package/dist/web-evidence.js +77 -0
- package/dist/web-evidence.js.map +1 -0
- package/dist/workspace-preparation.d.ts +54 -0
- package/dist/workspace-preparation.d.ts.map +1 -0
- package/dist/workspace-preparation.js +59 -0
- package/dist/workspace-preparation.js.map +1 -0
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessListResponse.schema.json +2 -2
- package/generated/ControlQueuedRunInfo.schema.json +1 -1
- package/generated/ControlResource.schema.json +5 -0
- package/generated/ControlResourceRelease.schema.json +44 -0
- package/generated/ControlResourceReleaseRequest.schema.json +27 -0
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRouteHealth.schema.json +13 -1
- package/generated/ControlRunControlResponse.schema.json +41 -3
- package/generated/ControlRunDecisionRequest.schema.json +8 -2
- package/generated/ControlRunDecisionResponse.schema.json +4 -3
- package/generated/ControlRunDetail.schema.json +337 -10
- package/generated/ControlRunEventPart.schema.json +1 -0
- package/generated/ControlRunListResponse.schema.json +296 -7
- package/generated/ControlRunRetryResponse.schema.json +1 -1
- package/generated/ControlRunStartInfo.schema.json +1 -1
- package/generated/ControlRunStartResponse.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +296 -7
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/ControlThreadTurnResponse.schema.json +9 -0
- package/generated/ControlTrustListResponse.schema.json +8 -0
- package/generated/ControlTrustState.schema.json +8 -0
- package/generated/ControlUploadImport.schema.json +12 -2
- package/generated/ControlUploadImportRequest.schema.json +5 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/DeferredMessageDetail.schema.json +43 -7
- package/generated/DeferredMessageProjection.schema.json +41 -3
- package/generated/DeferredMessageReadResult.schema.json +42 -4
- package/generated/DeferredMessageReceipt.schema.json +41 -3
- package/generated/EnvelopeCustody.schema.json +3 -2
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +140 -4
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +62 -2
- package/generated/McpRunHandleResult.schema.json +90 -6
- package/generated/McpRunToolResult.schema.json +89 -6
- package/generated/McpRunWaitResult.schema.json +42 -3
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/RawContextPacket.schema.json +6 -4
- package/generated/RawGitPatchEnvelope.schema.json +1 -1
- package/generated/RoutePoolDegradedPayload.schema.json +2 -1
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +46 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +288 -7
- package/generated/TaskContract.schema.json +3 -3
- package/generated/TaskGroupReceipt.schema.json +1 -1
- package/generated/Thread.schema.json +41 -0
- package/generated/ThreadExportManifest.schema.json +461 -0
- package/generated/ThreadExportReceipt.schema.json +94 -0
- package/generated/ThreadHistoryPage.schema.json +47 -2
- package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
- package/generated/ThreadRetireRequest.schema.json +41 -0
- package/generated/ThreadRetirement.schema.json +175 -0
- package/generated/ThreadTurn.schema.json +1 -1
- package/generated/WorkspaceEnvelope.schema.json +1 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ThreadExportManifest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ThreadExportManifest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"storeId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
14
|
+
},
|
|
15
|
+
"threadId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"description": "Non-empty identifier string."
|
|
19
|
+
},
|
|
20
|
+
"exportId": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^sha256:[0-9a-f]{64}$",
|
|
23
|
+
"description": "Identity of this closure, inventory and gap list."
|
|
24
|
+
},
|
|
25
|
+
"closureDigest": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^sha256:[0-9a-f]{64}$",
|
|
28
|
+
"description": "Identity of the closure's engine records alone."
|
|
29
|
+
},
|
|
30
|
+
"threadState": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"active",
|
|
34
|
+
"closed",
|
|
35
|
+
"trashed",
|
|
36
|
+
"purged"
|
|
37
|
+
],
|
|
38
|
+
"description": "Thread lifecycle state: active, closed, trashed for recovery, or terminally purged."
|
|
39
|
+
},
|
|
40
|
+
"headRevision": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": 0
|
|
43
|
+
},
|
|
44
|
+
"workspaceMode": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"in_place",
|
|
48
|
+
"isolated",
|
|
49
|
+
"delegated"
|
|
50
|
+
],
|
|
51
|
+
"description": "Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project; delegated runs every turn in one caller-owned workspace bound at creation, which Claudexor never applies to the project or deletes."
|
|
52
|
+
},
|
|
53
|
+
"coverage": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"complete",
|
|
57
|
+
"partial"
|
|
58
|
+
],
|
|
59
|
+
"description": "complete exactly when gaps is empty."
|
|
60
|
+
},
|
|
61
|
+
"retirable": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "Retirement can be requested for this manifest."
|
|
64
|
+
},
|
|
65
|
+
"gaps": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"code": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enum": [
|
|
73
|
+
"closure_not_quiescent",
|
|
74
|
+
"closure_awaiting_decision",
|
|
75
|
+
"closure_partition_unavailable",
|
|
76
|
+
"command_record_not_retained",
|
|
77
|
+
"run_directory_missing",
|
|
78
|
+
"run_files_expired",
|
|
79
|
+
"run_tree_unreadable",
|
|
80
|
+
"run_observations_unreadable",
|
|
81
|
+
"attachment_unavailable",
|
|
82
|
+
"native_session_unattributed",
|
|
83
|
+
"native_session_unsupported",
|
|
84
|
+
"native_format_unqualified",
|
|
85
|
+
"native_session_missing",
|
|
86
|
+
"native_session_unreadable",
|
|
87
|
+
"native_projection_failed",
|
|
88
|
+
"lane_unreadable",
|
|
89
|
+
"lane_credentials_undeclared",
|
|
90
|
+
"isolated_worktree_present"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"subject": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1,
|
|
96
|
+
"description": "The exact run, session, path or lane this gap names."
|
|
97
|
+
},
|
|
98
|
+
"message": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"minLength": 1
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": [
|
|
104
|
+
"code",
|
|
105
|
+
"subject",
|
|
106
|
+
"message"
|
|
107
|
+
],
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"disclosures": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"items": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"harness": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"minLength": 1
|
|
119
|
+
},
|
|
120
|
+
"source": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"minLength": 1
|
|
123
|
+
},
|
|
124
|
+
"reason": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": [
|
|
130
|
+
"harness",
|
|
131
|
+
"source",
|
|
132
|
+
"reason"
|
|
133
|
+
],
|
|
134
|
+
"additionalProperties": false
|
|
135
|
+
},
|
|
136
|
+
"description": "Known vendor state outside this export because no record binds it to these sessions. Named so it is never mistaken for covered; it does not block retirement."
|
|
137
|
+
},
|
|
138
|
+
"closure": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"turns": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"turnId": {
|
|
147
|
+
"$ref": "#/definitions/ThreadExportManifest/properties/threadId"
|
|
148
|
+
},
|
|
149
|
+
"ordinal": {
|
|
150
|
+
"$ref": "#/definitions/ThreadExportManifest/properties/headRevision"
|
|
151
|
+
},
|
|
152
|
+
"runId": {
|
|
153
|
+
"type": [
|
|
154
|
+
"string",
|
|
155
|
+
"null"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"promptSha256": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"turnId",
|
|
164
|
+
"ordinal",
|
|
165
|
+
"runId",
|
|
166
|
+
"promptSha256"
|
|
167
|
+
],
|
|
168
|
+
"additionalProperties": false
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"runs": {
|
|
172
|
+
"type": "array",
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"jobId": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"runId": {
|
|
180
|
+
"type": [
|
|
181
|
+
"string",
|
|
182
|
+
"null"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"state": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"kind": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"threadId": {
|
|
192
|
+
"type": [
|
|
193
|
+
"string",
|
|
194
|
+
"null"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"turnId": {
|
|
198
|
+
"type": [
|
|
199
|
+
"string",
|
|
200
|
+
"null"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"continueFrom": {
|
|
204
|
+
"type": [
|
|
205
|
+
"string",
|
|
206
|
+
"null"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"delegatedFrom": {
|
|
210
|
+
"type": [
|
|
211
|
+
"string",
|
|
212
|
+
"null"
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"required": [
|
|
217
|
+
"jobId",
|
|
218
|
+
"runId",
|
|
219
|
+
"state",
|
|
220
|
+
"kind",
|
|
221
|
+
"threadId",
|
|
222
|
+
"turnId",
|
|
223
|
+
"continueFrom",
|
|
224
|
+
"delegatedFrom"
|
|
225
|
+
],
|
|
226
|
+
"additionalProperties": false
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"required": [
|
|
231
|
+
"turns",
|
|
232
|
+
"runs"
|
|
233
|
+
],
|
|
234
|
+
"additionalProperties": false
|
|
235
|
+
},
|
|
236
|
+
"sessions": {
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"harness": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"minLength": 1
|
|
244
|
+
},
|
|
245
|
+
"nativeSessionId": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"minLength": 1
|
|
248
|
+
},
|
|
249
|
+
"status": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"enum": [
|
|
252
|
+
"exported",
|
|
253
|
+
"missing",
|
|
254
|
+
"unsupported",
|
|
255
|
+
"unqualified",
|
|
256
|
+
"unreadable"
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
"provenance": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"source": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"enum": [
|
|
267
|
+
"attempt_event",
|
|
268
|
+
"run_event",
|
|
269
|
+
"reviewer_stream",
|
|
270
|
+
"session_capsule",
|
|
271
|
+
"run_resumable",
|
|
272
|
+
"thread_session"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
"runId": {
|
|
276
|
+
"type": [
|
|
277
|
+
"string",
|
|
278
|
+
"null"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
"attemptId": {
|
|
282
|
+
"type": [
|
|
283
|
+
"string",
|
|
284
|
+
"null"
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"profileId": {
|
|
288
|
+
"type": [
|
|
289
|
+
"string",
|
|
290
|
+
"null"
|
|
291
|
+
],
|
|
292
|
+
"description": "Null when the record names no profile."
|
|
293
|
+
},
|
|
294
|
+
"cwd": {
|
|
295
|
+
"type": [
|
|
296
|
+
"string",
|
|
297
|
+
"null"
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"required": [
|
|
302
|
+
"source",
|
|
303
|
+
"runId",
|
|
304
|
+
"attemptId",
|
|
305
|
+
"profileId",
|
|
306
|
+
"cwd"
|
|
307
|
+
],
|
|
308
|
+
"additionalProperties": false
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"copies": {
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"properties": {
|
|
316
|
+
"storeKey": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"minLength": 1
|
|
319
|
+
},
|
|
320
|
+
"profileId": {
|
|
321
|
+
"type": [
|
|
322
|
+
"string",
|
|
323
|
+
"null"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"required": [
|
|
328
|
+
"storeKey",
|
|
329
|
+
"profileId"
|
|
330
|
+
],
|
|
331
|
+
"additionalProperties": false
|
|
332
|
+
},
|
|
333
|
+
"description": "Every store holding material of this exact session."
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"required": [
|
|
337
|
+
"harness",
|
|
338
|
+
"nativeSessionId",
|
|
339
|
+
"status",
|
|
340
|
+
"provenance",
|
|
341
|
+
"copies"
|
|
342
|
+
],
|
|
343
|
+
"additionalProperties": false
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"items": {
|
|
347
|
+
"type": "array",
|
|
348
|
+
"items": {
|
|
349
|
+
"type": "object",
|
|
350
|
+
"properties": {
|
|
351
|
+
"itemId": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"pattern": "^i[0-9a-f]{32}$"
|
|
354
|
+
},
|
|
355
|
+
"plane": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"enum": [
|
|
358
|
+
"sql",
|
|
359
|
+
"run",
|
|
360
|
+
"native",
|
|
361
|
+
"lane",
|
|
362
|
+
"resource",
|
|
363
|
+
"projection"
|
|
364
|
+
],
|
|
365
|
+
"description": "sql: engine records; run: the run tree; native: vendor session material; lane: the thread's lane directory (what retirement deletes); resource: attachment bytes; projection: decoded text of a compressed original, kept beside it."
|
|
366
|
+
},
|
|
367
|
+
"path": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"minLength": 1,
|
|
370
|
+
"description": "Relative POSIX path: the item's complete name and, with its plane, its identity; distinct copies stay distinct. A volume may be unable to name it, so a consumer may keep the bytes elsewhere and record that place."
|
|
371
|
+
},
|
|
372
|
+
"kind": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"enum": [
|
|
375
|
+
"file",
|
|
376
|
+
"symlink",
|
|
377
|
+
"special",
|
|
378
|
+
"credential_store"
|
|
379
|
+
],
|
|
380
|
+
"description": "file: exact bytes to transfer. symlink: recorded, never followed. special: a FIFO or socket, recorded. credential_store: an exact engine or vendor credential path, never opened or exported."
|
|
381
|
+
},
|
|
382
|
+
"sizeBytes": {
|
|
383
|
+
"anyOf": [
|
|
384
|
+
{
|
|
385
|
+
"$ref": "#/definitions/ThreadExportManifest/properties/headRevision"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "null"
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
"mtimeMs": {
|
|
393
|
+
"type": [
|
|
394
|
+
"number",
|
|
395
|
+
"null"
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
"sha256": {
|
|
399
|
+
"anyOf": [
|
|
400
|
+
{
|
|
401
|
+
"type": "string",
|
|
402
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "null"
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"description": "Known before transfer for engine records, attachments, projections and symlink text; otherwise the transfer's ETag."
|
|
409
|
+
},
|
|
410
|
+
"projectionOf": {
|
|
411
|
+
"type": [
|
|
412
|
+
"string",
|
|
413
|
+
"null"
|
|
414
|
+
],
|
|
415
|
+
"description": "The itemId this projection decodes."
|
|
416
|
+
},
|
|
417
|
+
"linkTarget": {
|
|
418
|
+
"type": [
|
|
419
|
+
"string",
|
|
420
|
+
"null"
|
|
421
|
+
],
|
|
422
|
+
"description": "A symlink's own text; its target is never read."
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"required": [
|
|
426
|
+
"itemId",
|
|
427
|
+
"plane",
|
|
428
|
+
"path",
|
|
429
|
+
"kind",
|
|
430
|
+
"sizeBytes",
|
|
431
|
+
"mtimeMs",
|
|
432
|
+
"sha256",
|
|
433
|
+
"projectionOf",
|
|
434
|
+
"linkTarget"
|
|
435
|
+
],
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"required": [
|
|
441
|
+
"schemaVersion",
|
|
442
|
+
"storeId",
|
|
443
|
+
"threadId",
|
|
444
|
+
"exportId",
|
|
445
|
+
"closureDigest",
|
|
446
|
+
"threadState",
|
|
447
|
+
"headRevision",
|
|
448
|
+
"workspaceMode",
|
|
449
|
+
"coverage",
|
|
450
|
+
"retirable",
|
|
451
|
+
"gaps",
|
|
452
|
+
"disclosures",
|
|
453
|
+
"closure",
|
|
454
|
+
"sessions",
|
|
455
|
+
"items"
|
|
456
|
+
],
|
|
457
|
+
"additionalProperties": false
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
461
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ThreadExportReceipt",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ThreadExportReceipt": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"storeId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
14
|
+
},
|
|
15
|
+
"threadId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"description": "Non-empty identifier string."
|
|
19
|
+
},
|
|
20
|
+
"exportId": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
23
|
+
},
|
|
24
|
+
"closureDigest": {
|
|
25
|
+
"$ref": "#/definitions/ThreadExportReceipt/properties/exportId"
|
|
26
|
+
},
|
|
27
|
+
"contentDigest": {
|
|
28
|
+
"$ref": "#/definitions/ThreadExportReceipt/properties/exportId"
|
|
29
|
+
},
|
|
30
|
+
"laneDigest": {
|
|
31
|
+
"$ref": "#/definitions/ThreadExportReceipt/properties/exportId"
|
|
32
|
+
},
|
|
33
|
+
"coverage": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"complete",
|
|
37
|
+
"partial"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"retirable": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"transferred": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"itemId": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"path": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "The item's complete manifest path."
|
|
54
|
+
},
|
|
55
|
+
"placedAt": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"minLength": 1,
|
|
58
|
+
"description": "Where in this bundle the bytes are, when its volume cannot name `path`. Absent: at `path`."
|
|
59
|
+
},
|
|
60
|
+
"sizeBytes": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"minimum": 0
|
|
63
|
+
},
|
|
64
|
+
"sha256": {
|
|
65
|
+
"$ref": "#/definitions/ThreadExportReceipt/properties/exportId"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"itemId",
|
|
70
|
+
"path",
|
|
71
|
+
"sizeBytes",
|
|
72
|
+
"sha256"
|
|
73
|
+
],
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": [
|
|
79
|
+
"schemaVersion",
|
|
80
|
+
"storeId",
|
|
81
|
+
"threadId",
|
|
82
|
+
"exportId",
|
|
83
|
+
"closureDigest",
|
|
84
|
+
"contentDigest",
|
|
85
|
+
"laneDigest",
|
|
86
|
+
"coverage",
|
|
87
|
+
"retirable",
|
|
88
|
+
"transferred"
|
|
89
|
+
],
|
|
90
|
+
"additionalProperties": false
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
94
|
+
}
|
|
@@ -601,6 +601,7 @@
|
|
|
601
601
|
"input_required",
|
|
602
602
|
"work_incomplete",
|
|
603
603
|
"context_capacity_exhausted",
|
|
604
|
+
"turn_limit_reached",
|
|
604
605
|
"work_report_contract"
|
|
605
606
|
],
|
|
606
607
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
@@ -1609,9 +1610,41 @@
|
|
|
1609
1610
|
"reported_source"
|
|
1610
1611
|
],
|
|
1611
1612
|
"additionalProperties": false
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"type": "object",
|
|
1616
|
+
"properties": {
|
|
1617
|
+
"kind": {
|
|
1618
|
+
"type": "string",
|
|
1619
|
+
"const": "vendor_not_retryable"
|
|
1620
|
+
},
|
|
1621
|
+
"source": {
|
|
1622
|
+
"type": "string",
|
|
1623
|
+
"const": "agy_stderr"
|
|
1624
|
+
},
|
|
1625
|
+
"error_id": {
|
|
1626
|
+
"anyOf": [
|
|
1627
|
+
{
|
|
1628
|
+
"type": "string",
|
|
1629
|
+
"minLength": 1,
|
|
1630
|
+
"maxLength": 128
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"type": "null"
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1636
|
+
"description": "The vendor's own error id from the same record, verbatim; null when absent."
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
"required": [
|
|
1640
|
+
"kind",
|
|
1641
|
+
"source",
|
|
1642
|
+
"error_id"
|
|
1643
|
+
],
|
|
1644
|
+
"additionalProperties": false
|
|
1612
1645
|
}
|
|
1613
1646
|
],
|
|
1614
|
-
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
1647
|
+
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes and an explicit vendor not-retryable verdict carry their own evidence."
|
|
1615
1648
|
},
|
|
1616
1649
|
"rawContextShortfall": {
|
|
1617
1650
|
"type": "object",
|
|
@@ -1862,8 +1895,20 @@
|
|
|
1862
1895
|
"raw_context_mandatory_unavailable",
|
|
1863
1896
|
"raw_context_exceeds_window",
|
|
1864
1897
|
"model_catalog_unavailable",
|
|
1898
|
+
"model_selection_required",
|
|
1899
|
+
"raw_patch_requires_isolation",
|
|
1900
|
+
"raw_patch_missing_evidence",
|
|
1901
|
+
"raw_patch_digest_mismatch",
|
|
1902
|
+
"raw_patch_base_mismatch",
|
|
1903
|
+
"raw_patch_path_traversal",
|
|
1904
|
+
"raw_patch_outside_scope",
|
|
1905
|
+
"raw_patch_stale_preimage",
|
|
1906
|
+
"raw_patch_binary_unsupported",
|
|
1907
|
+
"raw_patch_truncated",
|
|
1908
|
+
"raw_patch_apply_failed",
|
|
1865
1909
|
"vendor_cli_too_old",
|
|
1866
1910
|
"credential_source_unconfirmed",
|
|
1911
|
+
"vendor_not_retryable",
|
|
1867
1912
|
"delegated_home_unavailable",
|
|
1868
1913
|
"delegated_confinement_unavailable",
|
|
1869
1914
|
"delegated_evidence_incomplete",
|
|
@@ -1992,7 +2037,7 @@
|
|
|
1992
2037
|
"threshold"
|
|
1993
2038
|
],
|
|
1994
2039
|
"additionalProperties": false,
|
|
1995
|
-
"description": "Present when quota admission refused the account
|
|
2040
|
+
"description": "Present when quota admission or a typed provider limit refused the account: with code subscription_window_exhausted it separates the owner's saved reserve from provider exhaustion; with a null code the provider refused usage and no reopening time is known, so no timer is implied. Absent on other failures and on records written before this field existed."
|
|
1996
2041
|
},
|
|
1997
2042
|
"vendorFailure": {
|
|
1998
2043
|
"anyOf": [
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ThreadRetireAbandonRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ThreadRetireAbandonRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"operationId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": [
|
|
14
|
+
"operationId"
|
|
15
|
+
],
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"description": "Settle an unanswered operation: it can never be accepted after this returns."
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
21
|
+
}
|