@claudexor/schema 5.0.2 → 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-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 +6 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -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 +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -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 +126 -0
- 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.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/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 +41 -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/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/package.json +2 -2
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"retryable": {
|
|
91
91
|
"type": "boolean",
|
|
92
92
|
"default": true,
|
|
93
|
-
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."
|
|
93
|
+
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay or a managed resource it names was released."
|
|
94
94
|
},
|
|
95
95
|
"required_actions": {
|
|
96
96
|
"type": "array",
|
|
@@ -121,13 +121,51 @@
|
|
|
121
121
|
"code"
|
|
122
122
|
],
|
|
123
123
|
"additionalProperties": false,
|
|
124
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
124
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"type": "null"
|
|
128
128
|
}
|
|
129
129
|
],
|
|
130
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
130
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
131
|
+
},
|
|
132
|
+
"resumed": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"from": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"code": {
|
|
139
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/code"
|
|
140
|
+
},
|
|
141
|
+
"problem": {
|
|
142
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/problem"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"code"
|
|
147
|
+
],
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"description": "The hold the draft was returned from."
|
|
150
|
+
},
|
|
151
|
+
"reason": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"const": "process_scope_settled",
|
|
154
|
+
"description": "A later settlement of the predecessor's run proved its processes gone; the draft was unchanged, not cleared, replaced or stopped."
|
|
155
|
+
},
|
|
156
|
+
"at": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"minLength": 1,
|
|
159
|
+
"description": "ISO-8601 timestamp string."
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"from",
|
|
164
|
+
"reason",
|
|
165
|
+
"at"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"description": "Why this draft left its hold automatically. It then took the existing revision and admission path; any other reason holds it again."
|
|
131
169
|
},
|
|
132
170
|
"dispatchedRevision": {
|
|
133
171
|
"anyOf": [
|
|
@@ -492,6 +530,7 @@
|
|
|
492
530
|
"input_required",
|
|
493
531
|
"work_incomplete",
|
|
494
532
|
"context_capacity_exhausted",
|
|
533
|
+
"turn_limit_reached",
|
|
495
534
|
"work_report_contract"
|
|
496
535
|
],
|
|
497
536
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
@@ -1169,9 +1208,41 @@
|
|
|
1169
1208
|
"reported_source"
|
|
1170
1209
|
],
|
|
1171
1210
|
"additionalProperties": false
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"type": "object",
|
|
1214
|
+
"properties": {
|
|
1215
|
+
"kind": {
|
|
1216
|
+
"type": "string",
|
|
1217
|
+
"const": "vendor_not_retryable"
|
|
1218
|
+
},
|
|
1219
|
+
"source": {
|
|
1220
|
+
"type": "string",
|
|
1221
|
+
"const": "agy_stderr"
|
|
1222
|
+
},
|
|
1223
|
+
"error_id": {
|
|
1224
|
+
"anyOf": [
|
|
1225
|
+
{
|
|
1226
|
+
"type": "string",
|
|
1227
|
+
"minLength": 1,
|
|
1228
|
+
"maxLength": 128
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"type": "null"
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1234
|
+
"description": "The vendor's own error id from the same record, verbatim; null when absent."
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"required": [
|
|
1238
|
+
"kind",
|
|
1239
|
+
"source",
|
|
1240
|
+
"error_id"
|
|
1241
|
+
],
|
|
1242
|
+
"additionalProperties": false
|
|
1172
1243
|
}
|
|
1173
1244
|
],
|
|
1174
|
-
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
1245
|
+
"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."
|
|
1175
1246
|
},
|
|
1176
1247
|
"rawContextShortfall": {
|
|
1177
1248
|
"type": "object",
|
|
@@ -1422,8 +1493,20 @@
|
|
|
1422
1493
|
"raw_context_mandatory_unavailable",
|
|
1423
1494
|
"raw_context_exceeds_window",
|
|
1424
1495
|
"model_catalog_unavailable",
|
|
1496
|
+
"model_selection_required",
|
|
1497
|
+
"raw_patch_requires_isolation",
|
|
1498
|
+
"raw_patch_missing_evidence",
|
|
1499
|
+
"raw_patch_digest_mismatch",
|
|
1500
|
+
"raw_patch_base_mismatch",
|
|
1501
|
+
"raw_patch_path_traversal",
|
|
1502
|
+
"raw_patch_outside_scope",
|
|
1503
|
+
"raw_patch_stale_preimage",
|
|
1504
|
+
"raw_patch_binary_unsupported",
|
|
1505
|
+
"raw_patch_truncated",
|
|
1506
|
+
"raw_patch_apply_failed",
|
|
1425
1507
|
"vendor_cli_too_old",
|
|
1426
1508
|
"credential_source_unconfirmed",
|
|
1509
|
+
"vendor_not_retryable",
|
|
1427
1510
|
"delegated_home_unavailable",
|
|
1428
1511
|
"delegated_confinement_unavailable",
|
|
1429
1512
|
"delegated_evidence_incomplete",
|
|
@@ -1552,7 +1635,7 @@
|
|
|
1552
1635
|
"threshold"
|
|
1553
1636
|
],
|
|
1554
1637
|
"additionalProperties": false,
|
|
1555
|
-
"description": "Present when quota admission refused the account
|
|
1638
|
+
"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."
|
|
1556
1639
|
},
|
|
1557
1640
|
"vendorFailure": {
|
|
1558
1641
|
"anyOf": [
|
|
@@ -2102,13 +2185,14 @@
|
|
|
2102
2185
|
"transport",
|
|
2103
2186
|
"permission_denied",
|
|
2104
2187
|
"context_exhausted",
|
|
2188
|
+
"turn_limit",
|
|
2105
2189
|
"wall_clock",
|
|
2106
2190
|
"cancelled",
|
|
2107
2191
|
"host_restart",
|
|
2108
2192
|
"input_required",
|
|
2109
2193
|
"other"
|
|
2110
2194
|
],
|
|
2111
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport
|
|
2195
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, an error without a typed cause (`transport`: a crash, an inactivity timeout or a harness-reported error; not proof that a process died or the network failed), a confirmed native tool permission refusal, context exhaustion, the run's max-turns cap, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
2112
2196
|
},
|
|
2113
2197
|
"resetsAt": {
|
|
2114
2198
|
"type": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"storeId": {
|
|
13
13
|
"type": "string",
|
|
14
14
|
"minLength": 1,
|
|
15
|
-
"description": "Identity of the durable engine store that accepted this
|
|
15
|
+
"description": "Identity of the durable engine store that accepted this command, stable across restarts. A group member always carries it; an ordinary receipt carries it only for a request sending `X-Claudexor-Store-Identity: 1`, and it stays absent, meaning unknown, when the store has no identity to give."
|
|
16
16
|
},
|
|
17
17
|
"deferredMessage": {
|
|
18
18
|
"anyOf": [
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"retryable": {
|
|
101
101
|
"type": "boolean",
|
|
102
102
|
"default": true,
|
|
103
|
-
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."
|
|
103
|
+
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay or a managed resource it names was released."
|
|
104
104
|
},
|
|
105
105
|
"required_actions": {
|
|
106
106
|
"type": "array",
|
|
@@ -131,13 +131,51 @@
|
|
|
131
131
|
"code"
|
|
132
132
|
],
|
|
133
133
|
"additionalProperties": false,
|
|
134
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
134
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"type": "null"
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
140
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
141
|
+
},
|
|
142
|
+
"resumed": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"from": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"code": {
|
|
149
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/code"
|
|
150
|
+
},
|
|
151
|
+
"problem": {
|
|
152
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/problem"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"required": [
|
|
156
|
+
"code"
|
|
157
|
+
],
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"description": "The hold the draft was returned from."
|
|
160
|
+
},
|
|
161
|
+
"reason": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"const": "process_scope_settled",
|
|
164
|
+
"description": "A later settlement of the predecessor's run proved its processes gone; the draft was unchanged, not cleared, replaced or stopped."
|
|
165
|
+
},
|
|
166
|
+
"at": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"minLength": 1,
|
|
169
|
+
"description": "ISO-8601 timestamp string."
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": [
|
|
173
|
+
"from",
|
|
174
|
+
"reason",
|
|
175
|
+
"at"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"description": "Why this draft left its hold automatically. It then took the existing revision and admission path; any other reason holds it again."
|
|
141
179
|
},
|
|
142
180
|
"dispatchedRevision": {
|
|
143
181
|
"anyOf": [
|
|
@@ -507,6 +545,7 @@
|
|
|
507
545
|
"input_required",
|
|
508
546
|
"work_incomplete",
|
|
509
547
|
"context_capacity_exhausted",
|
|
548
|
+
"turn_limit_reached",
|
|
510
549
|
"work_report_contract"
|
|
511
550
|
],
|
|
512
551
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
@@ -1163,9 +1202,41 @@
|
|
|
1163
1202
|
"reported_source"
|
|
1164
1203
|
],
|
|
1165
1204
|
"additionalProperties": false
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"type": "object",
|
|
1208
|
+
"properties": {
|
|
1209
|
+
"kind": {
|
|
1210
|
+
"type": "string",
|
|
1211
|
+
"const": "vendor_not_retryable"
|
|
1212
|
+
},
|
|
1213
|
+
"source": {
|
|
1214
|
+
"type": "string",
|
|
1215
|
+
"const": "agy_stderr"
|
|
1216
|
+
},
|
|
1217
|
+
"error_id": {
|
|
1218
|
+
"anyOf": [
|
|
1219
|
+
{
|
|
1220
|
+
"type": "string",
|
|
1221
|
+
"minLength": 1,
|
|
1222
|
+
"maxLength": 128
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"type": "null"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"description": "The vendor's own error id from the same record, verbatim; null when absent."
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"required": [
|
|
1232
|
+
"kind",
|
|
1233
|
+
"source",
|
|
1234
|
+
"error_id"
|
|
1235
|
+
],
|
|
1236
|
+
"additionalProperties": false
|
|
1166
1237
|
}
|
|
1167
1238
|
],
|
|
1168
|
-
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
1239
|
+
"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."
|
|
1169
1240
|
},
|
|
1170
1241
|
"rawContextShortfall": {
|
|
1171
1242
|
"type": "object",
|
|
@@ -1416,8 +1487,20 @@
|
|
|
1416
1487
|
"raw_context_mandatory_unavailable",
|
|
1417
1488
|
"raw_context_exceeds_window",
|
|
1418
1489
|
"model_catalog_unavailable",
|
|
1490
|
+
"model_selection_required",
|
|
1491
|
+
"raw_patch_requires_isolation",
|
|
1492
|
+
"raw_patch_missing_evidence",
|
|
1493
|
+
"raw_patch_digest_mismatch",
|
|
1494
|
+
"raw_patch_base_mismatch",
|
|
1495
|
+
"raw_patch_path_traversal",
|
|
1496
|
+
"raw_patch_outside_scope",
|
|
1497
|
+
"raw_patch_stale_preimage",
|
|
1498
|
+
"raw_patch_binary_unsupported",
|
|
1499
|
+
"raw_patch_truncated",
|
|
1500
|
+
"raw_patch_apply_failed",
|
|
1419
1501
|
"vendor_cli_too_old",
|
|
1420
1502
|
"credential_source_unconfirmed",
|
|
1503
|
+
"vendor_not_retryable",
|
|
1421
1504
|
"delegated_home_unavailable",
|
|
1422
1505
|
"delegated_confinement_unavailable",
|
|
1423
1506
|
"delegated_evidence_incomplete",
|
|
@@ -1546,7 +1629,7 @@
|
|
|
1546
1629
|
"threshold"
|
|
1547
1630
|
],
|
|
1548
1631
|
"additionalProperties": false,
|
|
1549
|
-
"description": "Present when quota admission refused the account
|
|
1632
|
+
"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."
|
|
1550
1633
|
},
|
|
1551
1634
|
"vendorFailure": {
|
|
1552
1635
|
"anyOf": [
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"retryable": {
|
|
91
91
|
"type": "boolean",
|
|
92
92
|
"default": true,
|
|
93
|
-
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."
|
|
93
|
+
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay or a managed resource it names was released."
|
|
94
94
|
},
|
|
95
95
|
"required_actions": {
|
|
96
96
|
"type": "array",
|
|
@@ -121,13 +121,51 @@
|
|
|
121
121
|
"code"
|
|
122
122
|
],
|
|
123
123
|
"additionalProperties": false,
|
|
124
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
124
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"type": "null"
|
|
128
128
|
}
|
|
129
129
|
],
|
|
130
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
130
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation. One exception: an unchanged settlement_unknown draft returns by itself when a later settlement of the predecessor's run, by the live daemon that ran it, proves its processes gone (see resumed); a Stop first keeps it held."
|
|
131
|
+
},
|
|
132
|
+
"resumed": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"from": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"code": {
|
|
139
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/code"
|
|
140
|
+
},
|
|
141
|
+
"problem": {
|
|
142
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/hold/anyOf/0/properties/problem"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"code"
|
|
147
|
+
],
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"description": "The hold the draft was returned from."
|
|
150
|
+
},
|
|
151
|
+
"reason": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"const": "process_scope_settled",
|
|
154
|
+
"description": "A later settlement of the predecessor's run proved its processes gone; the draft was unchanged, not cleared, replaced or stopped."
|
|
155
|
+
},
|
|
156
|
+
"at": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"minLength": 1,
|
|
159
|
+
"description": "ISO-8601 timestamp string."
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"from",
|
|
164
|
+
"reason",
|
|
165
|
+
"at"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"description": "Why this draft left its hold automatically. It then took the existing revision and admission path; any other reason holds it again."
|
|
131
169
|
},
|
|
132
170
|
"dispatchedRevision": {
|
|
133
171
|
"anyOf": [
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
{
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
|
+
"storeId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"description": "Identity of the durable engine store that accepted this command, stable across restarts. A group member always carries it; an ordinary receipt carries it only for a request sending `X-Claudexor-Store-Identity: 1`, and it stays absent, meaning unknown, when the store has no identity to give."
|
|
13
|
+
},
|
|
9
14
|
"jobId": {
|
|
10
15
|
"type": "string",
|
|
11
16
|
"description": "Daemon job id backing the run."
|
|
@@ -48,6 +53,10 @@
|
|
|
48
53
|
{
|
|
49
54
|
"type": "object",
|
|
50
55
|
"properties": {
|
|
56
|
+
"storeId": {
|
|
57
|
+
"$ref": "#/definitions/McpThreadTurnResult/anyOf/0/properties/storeId",
|
|
58
|
+
"description": "Identity of the durable engine store that accepted this command, stable across restarts. A group member always carries it; an ordinary receipt carries it only for a request sending `X-Claudexor-Store-Identity: 1`, and it stays absent, meaning unknown, when the store has no identity to give."
|
|
59
|
+
},
|
|
51
60
|
"jobId": {
|
|
52
61
|
"$ref": "#/definitions/McpThreadTurnResult/anyOf/0/properties/threadId"
|
|
53
62
|
},
|
|
@@ -113,11 +113,13 @@
|
|
|
113
113
|
},
|
|
114
114
|
"base_commit_sha": {
|
|
115
115
|
"type": "string",
|
|
116
|
-
"minLength": 1
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"description": "The run's delivery base commit; every round of a run names the same one."
|
|
117
118
|
},
|
|
118
119
|
"base_tree_sha": {
|
|
119
120
|
"type": "string",
|
|
120
|
-
"minLength": 1
|
|
121
|
+
"minLength": 1,
|
|
122
|
+
"description": "The exact tree this request describes and its patch applies to: the delivery base's tree on a first round, afterwards the candidate an earlier round left."
|
|
121
123
|
},
|
|
122
124
|
"readable_files": {
|
|
123
125
|
"type": "array",
|
|
@@ -131,12 +133,12 @@
|
|
|
131
133
|
},
|
|
132
134
|
"mode": {
|
|
133
135
|
"type": "string",
|
|
134
|
-
"description": "Git object mode
|
|
136
|
+
"description": "Git object mode in the packet's exact tree."
|
|
135
137
|
},
|
|
136
138
|
"blob_oid": {
|
|
137
139
|
"type": "string",
|
|
138
140
|
"minLength": 1,
|
|
139
|
-
"description": "Git blob oid
|
|
141
|
+
"description": "Git blob oid in the packet's exact tree."
|
|
140
142
|
},
|
|
141
143
|
"content_hash": {
|
|
142
144
|
"$ref": "#/definitions/RawContextPacket/properties/packet_hash"
|
|
@@ -33,13 +33,14 @@
|
|
|
33
33
|
"transport",
|
|
34
34
|
"permission_denied",
|
|
35
35
|
"context_exhausted",
|
|
36
|
+
"turn_limit",
|
|
36
37
|
"wall_clock",
|
|
37
38
|
"cancelled",
|
|
38
39
|
"host_restart",
|
|
39
40
|
"input_required",
|
|
40
41
|
"other"
|
|
41
42
|
],
|
|
42
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport
|
|
43
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, an error without a typed cause (`transport`: a crash, an inactivity timeout or a harness-reported error; not proof that a process died or the network failed), a confirmed native tool permission refusal, context exhaustion, the run's max-turns cap, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
43
44
|
},
|
|
44
45
|
"from": {
|
|
45
46
|
"type": "object",
|
|
@@ -142,9 +142,41 @@
|
|
|
142
142
|
"reported_source"
|
|
143
143
|
],
|
|
144
144
|
"additionalProperties": false
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"kind": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"const": "vendor_not_retryable"
|
|
152
|
+
},
|
|
153
|
+
"source": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"const": "agy_stderr"
|
|
156
|
+
},
|
|
157
|
+
"error_id": {
|
|
158
|
+
"anyOf": [
|
|
159
|
+
{
|
|
160
|
+
"type": "string",
|
|
161
|
+
"minLength": 1,
|
|
162
|
+
"maxLength": 128
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "null"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"description": "The vendor's own error id from the same record, verbatim; null when absent."
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"required": [
|
|
172
|
+
"kind",
|
|
173
|
+
"source",
|
|
174
|
+
"error_id"
|
|
175
|
+
],
|
|
176
|
+
"additionalProperties": false
|
|
145
177
|
}
|
|
146
178
|
],
|
|
147
|
-
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
179
|
+
"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."
|
|
148
180
|
},
|
|
149
181
|
"rawContextShortfall": {
|
|
150
182
|
"type": "object",
|
|
@@ -395,8 +427,20 @@
|
|
|
395
427
|
"raw_context_mandatory_unavailable",
|
|
396
428
|
"raw_context_exceeds_window",
|
|
397
429
|
"model_catalog_unavailable",
|
|
430
|
+
"model_selection_required",
|
|
431
|
+
"raw_patch_requires_isolation",
|
|
432
|
+
"raw_patch_missing_evidence",
|
|
433
|
+
"raw_patch_digest_mismatch",
|
|
434
|
+
"raw_patch_base_mismatch",
|
|
435
|
+
"raw_patch_path_traversal",
|
|
436
|
+
"raw_patch_outside_scope",
|
|
437
|
+
"raw_patch_stale_preimage",
|
|
438
|
+
"raw_patch_binary_unsupported",
|
|
439
|
+
"raw_patch_truncated",
|
|
440
|
+
"raw_patch_apply_failed",
|
|
398
441
|
"vendor_cli_too_old",
|
|
399
442
|
"credential_source_unconfirmed",
|
|
443
|
+
"vendor_not_retryable",
|
|
400
444
|
"delegated_home_unavailable",
|
|
401
445
|
"delegated_confinement_unavailable",
|
|
402
446
|
"delegated_evidence_incomplete",
|
|
@@ -525,7 +569,7 @@
|
|
|
525
569
|
"threshold"
|
|
526
570
|
],
|
|
527
571
|
"additionalProperties": false,
|
|
528
|
-
"description": "Present when quota admission refused the account
|
|
572
|
+
"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."
|
|
529
573
|
},
|
|
530
574
|
"vendorFailure": {
|
|
531
575
|
"anyOf": [
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
"transport",
|
|
14
14
|
"permission_denied",
|
|
15
15
|
"context_exhausted",
|
|
16
|
+
"turn_limit",
|
|
16
17
|
"wall_clock",
|
|
17
18
|
"cancelled",
|
|
18
19
|
"host_restart",
|
|
19
20
|
"input_required",
|
|
20
21
|
"other"
|
|
21
22
|
],
|
|
22
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport
|
|
23
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, an error without a typed cause (`transport`: a crash, an inactivity timeout or a harness-reported error; not proof that a process died or the network failed), a confirmed native tool permission refusal, context exhaustion, the run's max-turns cap, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
23
24
|
},
|
|
24
25
|
"resetsAt": {
|
|
25
26
|
"type": [
|