@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
|
@@ -70,6 +70,66 @@
|
|
|
70
70
|
},
|
|
71
71
|
"description": "Temporary capability marks; absent from engines that predate them. A mark clears on a success there or a catalog or credential change; after expires_at one operation may probe the account."
|
|
72
72
|
},
|
|
73
|
+
"credentialUnusable": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"harness_id": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1,
|
|
81
|
+
"description": "Harness family of the account."
|
|
82
|
+
},
|
|
83
|
+
"profile_id": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1,
|
|
86
|
+
"description": "Registered account row the refusal was observed on."
|
|
87
|
+
},
|
|
88
|
+
"model": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Model the refused run requested, exactly as requested; a vendor-reported id that differs from it does not clear the observation."
|
|
91
|
+
},
|
|
92
|
+
"code": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"enum": [
|
|
95
|
+
"auth_revoked",
|
|
96
|
+
"capability_refused",
|
|
97
|
+
"verification_failed"
|
|
98
|
+
],
|
|
99
|
+
"description": "Typed reason an observed credential is unusable: vendor rejection, entitlement refusal, or a failed profile verification probe."
|
|
100
|
+
},
|
|
101
|
+
"detail": {
|
|
102
|
+
"type": [
|
|
103
|
+
"string",
|
|
104
|
+
"null"
|
|
105
|
+
],
|
|
106
|
+
"description": "Redacted typed evidence of the refusal, such as the vendor's error category; null when none was observed."
|
|
107
|
+
},
|
|
108
|
+
"observed_at": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1,
|
|
111
|
+
"description": "When the refusal was observed."
|
|
112
|
+
},
|
|
113
|
+
"expires_at": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"description": "Self-expiry of the observation (bounded retention, not a vendor reset time)."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"harness_id",
|
|
121
|
+
"profile_id",
|
|
122
|
+
"model",
|
|
123
|
+
"code",
|
|
124
|
+
"detail",
|
|
125
|
+
"observed_at",
|
|
126
|
+
"expires_at"
|
|
127
|
+
],
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"description": "A live typed refusal of one model on one registered account. It affects routing for that model only and never changes the account's status, Enabled state or order."
|
|
130
|
+
},
|
|
131
|
+
"description": "Live model-scoped credential refusals of the registered rows, most recent first per account, present only when the client asked (includeCredentialUnusable=true). One clears on a later service of exactly that model, a credential change, or expiry."
|
|
132
|
+
},
|
|
73
133
|
"refusals": {
|
|
74
134
|
"type": "array",
|
|
75
135
|
"items": {
|
|
@@ -160,7 +220,7 @@
|
|
|
160
220
|
"lastService"
|
|
161
221
|
],
|
|
162
222
|
"additionalProperties": false,
|
|
163
|
-
"description": "Model-scoped account routing evidence: live refusal marks, temporary capability marks and the durable last-served order."
|
|
223
|
+
"description": "Model-scoped account routing evidence: live refusal marks, temporary capability marks, model-scoped credential refusals and the durable last-served order."
|
|
164
224
|
}
|
|
165
225
|
},
|
|
166
226
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
"tool_allowlist",
|
|
657
657
|
"none"
|
|
658
658
|
],
|
|
659
|
-
"description": "How read-only access
|
|
659
|
+
"description": "How a harness applies read-only access: a filesystem sandbox, permission denial, a tool allowlist, or none (read-only intent is advisory).",
|
|
660
660
|
"default": "none"
|
|
661
661
|
},
|
|
662
662
|
"write_mechanism": {
|
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
"description": "Active filesystem/command access profile for a run: readonly (no writes), workspace_write (use the harness's native workspace-write policy), full (unrestricted; requires the per-repo trust allow for a run an operator starts at a surface, not for an execution.delegated run), inherit_native (defer to the harness's own native settings)."
|
|
1158
1158
|
},
|
|
1159
1159
|
"default": [],
|
|
1160
|
-
"description": "Access profiles the adapter can
|
|
1160
|
+
"description": "Access profiles the adapter can translate to its harness."
|
|
1161
1161
|
}
|
|
1162
1162
|
},
|
|
1163
1163
|
"required": [
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
"tool_allowlist",
|
|
636
636
|
"none"
|
|
637
637
|
],
|
|
638
|
-
"description": "How read-only access
|
|
638
|
+
"description": "How a harness applies read-only access: a filesystem sandbox, permission denial, a tool allowlist, or none (read-only intent is advisory).",
|
|
639
639
|
"default": "none"
|
|
640
640
|
},
|
|
641
641
|
"write_mechanism": {
|
|
@@ -1136,7 +1136,7 @@
|
|
|
1136
1136
|
"description": "Active filesystem/command access profile for a run: readonly (no writes), workspace_write (use the harness's native workspace-write policy), full (unrestricted; requires the per-repo trust allow for a run an operator starts at a surface, not for an execution.delegated run), inherit_native (defer to the harness's own native settings)."
|
|
1137
1137
|
},
|
|
1138
1138
|
"default": [],
|
|
1139
|
-
"description": "Access profiles the adapter can
|
|
1139
|
+
"description": "Access profiles the adapter can translate to its harness."
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
1142
|
"required": [
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
"tool_allowlist",
|
|
636
636
|
"none"
|
|
637
637
|
],
|
|
638
|
-
"description": "How read-only access
|
|
638
|
+
"description": "How a harness applies read-only access: a filesystem sandbox, permission denial, a tool allowlist, or none (read-only intent is advisory).",
|
|
639
639
|
"default": "none"
|
|
640
640
|
},
|
|
641
641
|
"write_mechanism": {
|
|
@@ -1136,7 +1136,7 @@
|
|
|
1136
1136
|
"description": "Active filesystem/command access profile for a run: readonly (no writes), workspace_write (use the harness's native workspace-write policy), full (unrestricted; requires the per-repo trust allow for a run an operator starts at a surface, not for an execution.delegated run), inherit_native (defer to the harness's own native settings)."
|
|
1137
1137
|
},
|
|
1138
1138
|
"default": [],
|
|
1139
|
-
"description": "Access profiles the adapter can
|
|
1139
|
+
"description": "Access profiles the adapter can translate to its harness."
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
1142
|
"required": [
|
|
@@ -24,10 +24,32 @@
|
|
|
24
24
|
"finished_at": {
|
|
25
25
|
"type": "string"
|
|
26
26
|
},
|
|
27
|
+
"last_completed_at": {
|
|
28
|
+
"type": [
|
|
29
|
+
"string",
|
|
30
|
+
"null"
|
|
31
|
+
],
|
|
32
|
+
"default": null,
|
|
33
|
+
"description": "Last completed non-preview pass time, or null when no completion is known."
|
|
34
|
+
},
|
|
35
|
+
"failed_or_held_streak": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"minimum": 0,
|
|
38
|
+
"default": 0,
|
|
39
|
+
"description": "Failed or held passes since the last completion; truncated passes preserve the count. Only a completed pass resets it."
|
|
40
|
+
},
|
|
27
41
|
"freed_bytes": {
|
|
28
42
|
"type": "integer",
|
|
29
43
|
"minimum": 0
|
|
30
44
|
},
|
|
45
|
+
"effects": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"measured",
|
|
49
|
+
"unknown"
|
|
50
|
+
],
|
|
51
|
+
"description": "measured: freed_bytes counts this pass's deletions; unknown: the pass stopped before its receipt, or a deletion stopped partway, so freed_bytes is only a lower bound and earlier steps may already have had effects. Absent on records written before the field."
|
|
52
|
+
},
|
|
31
53
|
"kept": {
|
|
32
54
|
"type": "object",
|
|
33
55
|
"properties": {
|
|
@@ -158,7 +158,8 @@
|
|
|
158
158
|
"exclusiveMinimum": 0
|
|
159
159
|
},
|
|
160
160
|
"example": {
|
|
161
|
-
"type": "string"
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "Named cause and affected owner, such as a changed registration, unreadable row or pending recovery partition."
|
|
162
163
|
}
|
|
163
164
|
},
|
|
164
165
|
"required": [
|
|
@@ -197,11 +198,22 @@
|
|
|
197
198
|
"default": [],
|
|
198
199
|
"description": "Standalone diff-review trees deleted (or would-be under dry_run)."
|
|
199
200
|
},
|
|
201
|
+
"deleted_lanes": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"minimum": 0,
|
|
204
|
+
"default": 0,
|
|
205
|
+
"description": "Number of orphan lane directories removed during this pass."
|
|
206
|
+
},
|
|
200
207
|
"freed_bytes": {
|
|
201
208
|
"type": "integer",
|
|
202
209
|
"minimum": 0,
|
|
203
210
|
"description": "Total bytes freed (or reclaimable under dry_run)."
|
|
204
211
|
},
|
|
212
|
+
"effects": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"const": "unknown",
|
|
215
|
+
"description": "Present only when a deletion committed and then stopped partway: freed_bytes is a lower bound and a later pass finishes that tree. Absent: freed_bytes counts this pass's deletions."
|
|
216
|
+
},
|
|
205
217
|
"errors": {
|
|
206
218
|
"type": "array",
|
|
207
219
|
"items": {
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"tool_allowlist",
|
|
264
264
|
"none"
|
|
265
265
|
],
|
|
266
|
-
"description": "How read-only access
|
|
266
|
+
"description": "How a harness applies read-only access: a filesystem sandbox, permission denial, a tool allowlist, or none (read-only intent is advisory).",
|
|
267
267
|
"default": "none"
|
|
268
268
|
},
|
|
269
269
|
"write_mechanism": {
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
"description": "Active filesystem/command access profile for a run: readonly (no writes), workspace_write (use the harness's native workspace-write policy), full (unrestricted; requires the per-repo trust allow for a run an operator starts at a surface, not for an execution.delegated run), inherit_native (defer to the harness's own native settings)."
|
|
765
765
|
},
|
|
766
766
|
"default": [],
|
|
767
|
-
"description": "Access profiles the adapter can
|
|
767
|
+
"description": "Access profiles the adapter can translate to its harness."
|
|
768
768
|
}
|
|
769
769
|
},
|
|
770
770
|
"required": [
|
|
@@ -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
|
"jobId": {
|
|
18
18
|
"type": "string",
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"const": "model",
|
|
15
15
|
"description": "Immutable model-operation purpose; absent means a legacy or ordinary attachment."
|
|
16
16
|
},
|
|
17
|
+
"lifetime": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "managed",
|
|
20
|
+
"description": "managed: its caller may later release the ID (POST /v2/resources/:id/release), after which no new reference is admitted while already accepted work keeps the bytes. Absent: indefinite reuse."
|
|
21
|
+
},
|
|
17
22
|
"kind": {
|
|
18
23
|
"type": "string",
|
|
19
24
|
"enum": [
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlResourceRelease",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlResourceRelease": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"storeId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Durable store that released the resource."
|
|
11
|
+
},
|
|
12
|
+
"resourceId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Non-empty identifier string."
|
|
16
|
+
},
|
|
17
|
+
"sha256": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
21
|
+
},
|
|
22
|
+
"state": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"const": "released"
|
|
25
|
+
},
|
|
26
|
+
"releasedAt": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"description": "The first release; a repeat answers the same instant."
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"storeId",
|
|
34
|
+
"resourceId",
|
|
35
|
+
"sha256",
|
|
36
|
+
"state",
|
|
37
|
+
"releasedAt"
|
|
38
|
+
],
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"description": "Receipt of a released managed resource. Not a deletion: bytes stay while accepted commands, turns or drafts hold them or another live resource shares the digest."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlResourceReleaseRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlResourceReleaseRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"expectedStoreId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Store UUID saved with the import; a different store is refused before any effect."
|
|
11
|
+
},
|
|
12
|
+
"sha256": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Digest of the resource receipt being released."
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"expectedStoreId",
|
|
20
|
+
"sha256"
|
|
21
|
+
],
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"description": "Release a managed resource: no new run, turn, retry, continuation or draft may reference it afterwards; already accepted work keeps its bytes. Naturally idempotent."
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
27
|
+
}
|
|
@@ -35,13 +35,14 @@
|
|
|
35
35
|
"transport",
|
|
36
36
|
"permission_denied",
|
|
37
37
|
"context_exhausted",
|
|
38
|
+
"turn_limit",
|
|
38
39
|
"wall_clock",
|
|
39
40
|
"cancelled",
|
|
40
41
|
"host_restart",
|
|
41
42
|
"input_required",
|
|
42
43
|
"other"
|
|
43
44
|
],
|
|
44
|
-
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport
|
|
45
|
+
"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."
|
|
45
46
|
},
|
|
46
47
|
{
|
|
47
48
|
"type": "null"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"inherit_native",
|
|
62
62
|
"unknown"
|
|
63
63
|
],
|
|
64
|
-
"description": "Effective access profile the engine
|
|
64
|
+
"description": "Effective access profile the engine passed to the route; unknown when the run recorded none. The retired external_sandbox_full counts as full."
|
|
65
65
|
},
|
|
66
66
|
"runs": {
|
|
67
67
|
"type": "integer",
|
|
@@ -128,8 +128,20 @@
|
|
|
128
128
|
"raw_context_mandatory_unavailable",
|
|
129
129
|
"raw_context_exceeds_window",
|
|
130
130
|
"model_catalog_unavailable",
|
|
131
|
+
"model_selection_required",
|
|
132
|
+
"raw_patch_requires_isolation",
|
|
133
|
+
"raw_patch_missing_evidence",
|
|
134
|
+
"raw_patch_digest_mismatch",
|
|
135
|
+
"raw_patch_base_mismatch",
|
|
136
|
+
"raw_patch_path_traversal",
|
|
137
|
+
"raw_patch_outside_scope",
|
|
138
|
+
"raw_patch_stale_preimage",
|
|
139
|
+
"raw_patch_binary_unsupported",
|
|
140
|
+
"raw_patch_truncated",
|
|
141
|
+
"raw_patch_apply_failed",
|
|
131
142
|
"vendor_cli_too_old",
|
|
132
143
|
"credential_source_unconfirmed",
|
|
144
|
+
"vendor_not_retryable",
|
|
133
145
|
"delegated_home_unavailable",
|
|
134
146
|
"delegated_confinement_unavailable",
|
|
135
147
|
"delegated_evidence_incomplete",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"retryable": {
|
|
119
119
|
"type": "boolean",
|
|
120
120
|
"default": true,
|
|
121
|
-
"description": "True when retry can replay this turn (a job was recorded before the failure); false when no job exists to replay."
|
|
121
|
+
"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."
|
|
122
122
|
},
|
|
123
123
|
"required_actions": {
|
|
124
124
|
"type": "array",
|
|
@@ -149,13 +149,51 @@
|
|
|
149
149
|
"code"
|
|
150
150
|
],
|
|
151
151
|
"additionalProperties": false,
|
|
152
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
152
|
+
"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."
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"type": "null"
|
|
156
156
|
}
|
|
157
157
|
],
|
|
158
|
-
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
158
|
+
"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."
|
|
159
|
+
},
|
|
160
|
+
"resumed": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"from": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"code": {
|
|
167
|
+
"$ref": "#/definitions/ControlRunControlResponse/properties/deferredMessage/properties/hold/anyOf/0/properties/code"
|
|
168
|
+
},
|
|
169
|
+
"problem": {
|
|
170
|
+
"$ref": "#/definitions/ControlRunControlResponse/properties/deferredMessage/properties/hold/anyOf/0/properties/problem"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"code"
|
|
175
|
+
],
|
|
176
|
+
"additionalProperties": false,
|
|
177
|
+
"description": "The hold the draft was returned from."
|
|
178
|
+
},
|
|
179
|
+
"reason": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"const": "process_scope_settled",
|
|
182
|
+
"description": "A later settlement of the predecessor's run proved its processes gone; the draft was unchanged, not cleared, replaced or stopped."
|
|
183
|
+
},
|
|
184
|
+
"at": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"minLength": 1,
|
|
187
|
+
"description": "ISO-8601 timestamp string."
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"required": [
|
|
191
|
+
"from",
|
|
192
|
+
"reason",
|
|
193
|
+
"at"
|
|
194
|
+
],
|
|
195
|
+
"additionalProperties": false,
|
|
196
|
+
"description": "Why this draft left its hold automatically. It then took the existing revision and admission path; any other reason holds it again."
|
|
159
197
|
},
|
|
160
198
|
"dispatchedRevision": {
|
|
161
199
|
"anyOf": [
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
"accept_risk",
|
|
13
13
|
"override_needs_human",
|
|
14
14
|
"revert_run",
|
|
15
|
-
"discard"
|
|
15
|
+
"discard",
|
|
16
|
+
"taken"
|
|
16
17
|
],
|
|
17
|
-
"description": "Operator decision: apply an accepted result, rerun with feedback, accept risk, override needs-human, revert a recorded Git effect, or discard remaining copied files without applying them."
|
|
18
|
+
"description": "Operator decision: apply an accepted result, rerun with feedback, accept risk, override needs-human, revert a recorded Git effect, acknowledge a captured terminal patch result, or discard remaining copied files without applying them."
|
|
18
19
|
},
|
|
19
20
|
"findingIds": {
|
|
20
21
|
"type": "array",
|
|
@@ -85,6 +86,11 @@
|
|
|
85
86
|
}
|
|
86
87
|
],
|
|
87
88
|
"description": "Delivery target for accept_clean_patch."
|
|
89
|
+
},
|
|
90
|
+
"reason": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"const": "captured_result",
|
|
93
|
+
"description": "Reason for the taken decision; required only for action=taken."
|
|
88
94
|
}
|
|
89
95
|
},
|
|
90
96
|
"required": [
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
"requeued",
|
|
16
16
|
"rejected",
|
|
17
17
|
"unsupported",
|
|
18
|
-
"discarded"
|
|
18
|
+
"discarded",
|
|
19
|
+
"taken"
|
|
19
20
|
],
|
|
20
|
-
"description": "Outcome: applied, requeued (a new turn was enqueued), rejected, or
|
|
21
|
+
"description": "Outcome: applied, requeued (a new turn was enqueued), rejected, unsupported, discarded, or taken."
|
|
21
22
|
},
|
|
22
23
|
"newRunId": {
|
|
23
24
|
"type": "string",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"storeId": {
|
|
37
38
|
"type": "string",
|
|
38
39
|
"minLength": 1,
|
|
39
|
-
"description": "Identity of the durable engine store that accepted this
|
|
40
|
+
"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."
|
|
40
41
|
},
|
|
41
42
|
"message": {
|
|
42
43
|
"type": "string",
|