@claudexor/schema 4.6.2 → 4.8.1
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-resources.d.ts +37 -37
- package/dist/account-routing-evidence.d.ts +36 -14
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/agent-capabilities.d.ts +32 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +8 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +178 -0
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +46 -0
- package/dist/attachment.js.map +1 -1
- package/dist/auxiliary-writable-roots.d.ts +30 -0
- package/dist/auxiliary-writable-roots.d.ts.map +1 -0
- package/dist/auxiliary-writable-roots.js +40 -0
- package/dist/auxiliary-writable-roots.js.map +1 -0
- package/dist/captured-run-start.d.ts +1105 -0
- package/dist/captured-run-start.d.ts.map +1 -0
- package/dist/captured-run-start.js +41 -0
- package/dist/captured-run-start.js.map +1 -0
- package/dist/command-summary.d.ts +1 -1
- package/dist/command-summary.d.ts.map +1 -1
- package/dist/command-summary.js +1 -0
- package/dist/command-summary.js.map +1 -1
- package/dist/control-harness-list.d.ts +11 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.js +1 -1
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +206 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -3
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +277 -19
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +2 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +3 -0
- package/dist/control-run-execution.d.ts.map +1 -1
- package/dist/control-run-execution.js +2 -0
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-run-failure.d.ts +29 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +4 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +31 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +12 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control.d.ts +86 -5
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -7
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +72 -28
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +1 -1
- package/dist/credential-profile.js +2 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/credential-store.d.ts +3 -2
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +5 -4
- package/dist/credential-store.js.map +1 -1
- package/dist/deferred-message.d.ts +2450 -0
- package/dist/deferred-message.d.ts.map +1 -0
- package/dist/deferred-message.js +186 -0
- package/dist/deferred-message.js.map +1 -0
- package/dist/events.d.ts +3 -3
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.d.ts +18 -0
- package/dist/harness-confinement.d.ts.map +1 -1
- package/dist/harness-confinement.js +18 -0
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +15 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +10 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-model.d.ts +65 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +42 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness-quota.d.ts +3 -3
- package/dist/harness.d.ts +77 -24
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +6 -19
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +356 -12
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +5 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -0
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/mcp-run-wait.js +4 -0
- package/dist/mcp-run-wait.js.map +1 -1
- package/dist/mcp-upload.d.ts +133 -0
- package/dist/mcp-upload.d.ts.map +1 -0
- package/dist/mcp-upload.js +40 -0
- package/dist/mcp-upload.js.map +1 -0
- package/dist/quota-read.d.ts +8 -8
- package/dist/quota.d.ts +26 -20
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +11 -1
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +9 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-observation.d.ts +189 -0
- package/dist/run-observation.d.ts.map +1 -0
- package/dist/run-observation.js +93 -0
- package/dist/run-observation.js.map +1 -0
- package/dist/setup-login.d.ts +5 -5
- package/dist/setup.d.ts +63 -63
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +1 -1
- package/dist/setup.js.map +1 -1
- package/dist/task-group-runs.d.ts +257 -0
- package/dist/task-group-runs.d.ts.map +1 -0
- package/dist/task-group-runs.js +91 -0
- package/dist/task-group-runs.js.map +1 -0
- package/dist/task-group.d.ts +23 -0
- package/dist/task-group.d.ts.map +1 -0
- package/dist/task-group.js +38 -0
- package/dist/task-group.js.map +1 -0
- package/dist/task.d.ts +15 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +136 -8
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -5
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +12553 -0
- package/dist/thread-history.d.ts.map +1 -0
- package/dist/thread-history.js +291 -0
- package/dist/thread-history.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +17 -0
- package/generated/ControlAccountResetResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesResponse.schema.json +1 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +6 -0
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +6 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +6 -0
- package/generated/ControlHarnessListResponse.schema.json +5 -0
- package/generated/ControlQueuedRunInfo.schema.json +10 -0
- package/generated/ControlQuotaFreshnessResponse.schema.json +1 -0
- package/generated/ControlQuotaQueryResponse.schema.json +1 -0
- package/generated/ControlQuotaResponse.schema.json +1 -0
- package/generated/ControlRunAgainDraft.schema.json +13 -0
- package/generated/ControlRunControlResponse.schema.json +169 -0
- package/generated/ControlRunDetail.schema.json +209 -1
- package/generated/ControlRunListResponse.schema.json +32 -1
- package/generated/ControlRunRetryResponse.schema.json +10 -0
- package/generated/ControlRunStartInfo.schema.json +10 -0
- package/generated/ControlRunStartRequest.schema.json +13 -0
- package/generated/ControlRunStartResponse.schema.json +18 -0
- package/generated/ControlRunSummary.schema.json +32 -1
- package/generated/ControlSetupJob.schema.json +2 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +2 -1
- package/generated/ControlSetupJobListFilter.schema.json +2 -1
- package/generated/ControlSetupJobListResponse.schema.json +2 -1
- package/generated/ControlSetupJobSnapshot.schema.json +2 -1
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/ControlUploadImport.schema.json +124 -0
- package/generated/ControlUploadImportRequest.schema.json +66 -0
- package/generated/DeferredMessageCall.schema.json +331 -0
- package/generated/DeferredMessageDetail.schema.json +917 -0
- package/generated/DeferredMessageMutation.schema.json +315 -0
- package/generated/DeferredMessageProjection.schema.json +177 -0
- package/generated/DeferredMessageReadInput.schema.json +20 -0
- package/generated/DeferredMessageReadResult.schema.json +399 -0
- package/generated/DeferredMessageReceipt.schema.json +193 -0
- package/generated/HarnessEvent.schema.json +75 -1
- package/generated/HarnessManifest.schema.json +5 -0
- package/generated/HarnessStatusDto.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +6 -0
- package/generated/McpRunHandleResult.schema.json +227 -19
- package/generated/McpRunToolResult.schema.json +229 -11
- package/generated/McpRunWaitResult.schema.json +180 -2
- package/generated/McpStoreIdentityInput.schema.json +11 -0
- package/generated/McpUploadCreateInput.schema.json +54 -0
- package/generated/McpUploadFinalizeInput.schema.json +40 -0
- package/generated/McpUploadImportInput.schema.json +52 -0
- package/generated/McpUploadImportLocalInput.schema.json +27 -0
- package/generated/McpUploadImportLocalResult.schema.json +45 -0
- package/generated/McpUploadTargetInput.schema.json +20 -0
- package/generated/ResourceAttachmentRef.schema.json +21 -0
- package/generated/RoutePrimaryDivergedPayload.schema.json +23 -14
- package/generated/RunFailure.schema.json +32 -1
- package/generated/RunObservationRecord.schema.json +64 -0
- package/generated/RunTelemetry.schema.json +83 -1
- package/generated/RunWaitManyInput.schema.json +47 -0
- package/generated/RunWaitManyResult.schema.json +110 -0
- package/generated/RunWaitManySummary.schema.json +75 -0
- package/generated/TaskContract.schema.json +8 -0
- package/generated/TaskGroupId.schema.json +11 -0
- package/generated/TaskGroupReceipt.schema.json +26 -0
- package/generated/TaskGroupRunsInput.schema.json +46 -0
- package/generated/TaskGroupRunsResult.schema.json +162 -0
- package/generated/ThreadHistoryInput.schema.json +48 -0
- package/generated/ThreadHistoryPage.schema.json +2857 -0
- package/generated/ThreadPromptPart.schema.json +57 -0
- package/generated/ThreadPromptPartInput.schema.json +41 -0
- package/package.json +2 -2
|
@@ -4,18 +4,205 @@
|
|
|
4
4
|
"McpRunToolResult": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"taskGroupId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid",
|
|
10
|
+
"description": "Caller-generated UUID saved before launching the first member. Each job still needs its own idempotency key; the group grants no execution authority."
|
|
11
|
+
},
|
|
12
|
+
"storeId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Identity of the durable engine store that accepted this group member, stable across restarts."
|
|
16
|
+
},
|
|
17
|
+
"deferredMessage": {
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"draftId": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"description": "Non-empty identifier string."
|
|
26
|
+
},
|
|
27
|
+
"revision": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"exclusiveMinimum": 0,
|
|
30
|
+
"maximum": 9007199254740991
|
|
31
|
+
},
|
|
32
|
+
"state": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"waiting",
|
|
36
|
+
"held",
|
|
37
|
+
"dispatched",
|
|
38
|
+
"cleared"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"predecessorJobId": {
|
|
42
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
43
|
+
},
|
|
44
|
+
"predecessorRunId": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "null"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"description": "Non-empty identifier string."
|
|
54
|
+
},
|
|
55
|
+
"predecessorResult": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Existing addressed run-detail/result path; no duplicate result store."
|
|
58
|
+
},
|
|
59
|
+
"hold": {
|
|
60
|
+
"anyOf": [
|
|
61
|
+
{
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"code": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"enum": [
|
|
67
|
+
"predecessor_failed",
|
|
68
|
+
"predecessor_cancelled",
|
|
69
|
+
"predecessor_interrupted",
|
|
70
|
+
"predecessor_needs_input",
|
|
71
|
+
"predecessor_incomplete",
|
|
72
|
+
"predecessor_facts_unavailable",
|
|
73
|
+
"predecessor_work_unverified",
|
|
74
|
+
"predecessor_checks_failed",
|
|
75
|
+
"predecessor_review_blocked",
|
|
76
|
+
"predecessor_output_unavailable",
|
|
77
|
+
"settlement_unknown",
|
|
78
|
+
"stop_requested",
|
|
79
|
+
"shutdown",
|
|
80
|
+
"restart_requires_controller",
|
|
81
|
+
"partition_retired",
|
|
82
|
+
"admission_refused"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"problem": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"message": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Human-readable refusal message."
|
|
91
|
+
},
|
|
92
|
+
"code": {
|
|
93
|
+
"type": [
|
|
94
|
+
"string",
|
|
95
|
+
"null"
|
|
96
|
+
],
|
|
97
|
+
"default": null,
|
|
98
|
+
"description": "Machine-readable refusal code carried from the throwing gate; null when the failure had no typed code."
|
|
99
|
+
},
|
|
100
|
+
"retryable": {
|
|
101
|
+
"type": "boolean",
|
|
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."
|
|
104
|
+
},
|
|
105
|
+
"required_actions": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"minLength": 1,
|
|
110
|
+
"maxLength": 512
|
|
111
|
+
},
|
|
112
|
+
"maxItems": 16,
|
|
113
|
+
"default": [],
|
|
114
|
+
"description": "Bounded user actions that may make an exact retry succeed."
|
|
115
|
+
},
|
|
116
|
+
"context": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"additionalProperties": {},
|
|
119
|
+
"default": {},
|
|
120
|
+
"description": "Bounded typed recovery context; never arbitrary provider or environment output."
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"message"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"description": "Typed, sanitized problem for a thread turn that could not start."
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": [
|
|
131
|
+
"code"
|
|
132
|
+
],
|
|
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."
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "null"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
141
|
+
},
|
|
142
|
+
"dispatchedRevision": {
|
|
143
|
+
"anyOf": [
|
|
144
|
+
{
|
|
145
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/revision"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "null"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"successorJobId": {
|
|
153
|
+
"anyOf": [
|
|
154
|
+
{
|
|
155
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "null"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"description": "Non-empty identifier string."
|
|
162
|
+
},
|
|
163
|
+
"successorRunId": {
|
|
164
|
+
"anyOf": [
|
|
165
|
+
{
|
|
166
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "null"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"description": "Non-empty identifier string."
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"draftId",
|
|
177
|
+
"revision",
|
|
178
|
+
"state",
|
|
179
|
+
"predecessorJobId",
|
|
180
|
+
"predecessorRunId",
|
|
181
|
+
"predecessorResult",
|
|
182
|
+
"hold",
|
|
183
|
+
"dispatchedRevision",
|
|
184
|
+
"successorJobId",
|
|
185
|
+
"successorRunId"
|
|
186
|
+
],
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"description": "Compact addressed draft state, with exact predecessor result and successor handles. A terminal predecessor does not imply the draft has resolved."
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "null"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"description": "Compact addressed draft state, with exact predecessor result and successor handles. A terminal predecessor does not imply the draft has resolved."
|
|
195
|
+
},
|
|
7
196
|
"attemptExecution": {
|
|
8
197
|
"type": "array",
|
|
9
198
|
"items": {
|
|
10
199
|
"type": "object",
|
|
11
200
|
"properties": {
|
|
12
201
|
"attemptId": {
|
|
13
|
-
"
|
|
14
|
-
"minLength": 1,
|
|
15
|
-
"description": "Non-empty identifier string."
|
|
202
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
16
203
|
},
|
|
17
204
|
"harnessId": {
|
|
18
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
205
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
19
206
|
},
|
|
20
207
|
"processing": {
|
|
21
208
|
"type": "object",
|
|
@@ -237,10 +424,10 @@
|
|
|
237
424
|
"description": "Schema version of the artifact; bumped on breaking ABI changes."
|
|
238
425
|
},
|
|
239
426
|
"run_id": {
|
|
240
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
427
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
241
428
|
},
|
|
242
429
|
"task_id": {
|
|
243
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
430
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
244
431
|
},
|
|
245
432
|
"mode": {
|
|
246
433
|
"type": "string",
|
|
@@ -462,7 +649,7 @@
|
|
|
462
649
|
"producer_attempt_id": {
|
|
463
650
|
"anyOf": [
|
|
464
651
|
{
|
|
465
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
652
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
466
653
|
},
|
|
467
654
|
{
|
|
468
655
|
"type": "null"
|
|
@@ -552,7 +739,7 @@
|
|
|
552
739
|
"attempt_id": {
|
|
553
740
|
"anyOf": [
|
|
554
741
|
{
|
|
555
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
742
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
556
743
|
},
|
|
557
744
|
{
|
|
558
745
|
"type": "null"
|
|
@@ -654,7 +841,7 @@
|
|
|
654
841
|
"receipt_attempt_id": {
|
|
655
842
|
"anyOf": [
|
|
656
843
|
{
|
|
657
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
844
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
658
845
|
},
|
|
659
846
|
{
|
|
660
847
|
"type": "null"
|
|
@@ -683,7 +870,7 @@
|
|
|
683
870
|
"blocker_ids": {
|
|
684
871
|
"type": "array",
|
|
685
872
|
"items": {
|
|
686
|
-
"$ref": "#/definitions/McpRunToolResult/properties/
|
|
873
|
+
"$ref": "#/definitions/McpRunToolResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
687
874
|
},
|
|
688
875
|
"default": [],
|
|
689
876
|
"description": "Stable ids of accepted evidence-backed blocking findings."
|
|
@@ -946,9 +1133,38 @@
|
|
|
946
1133
|
"installed_version"
|
|
947
1134
|
],
|
|
948
1135
|
"additionalProperties": false
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"type": "object",
|
|
1139
|
+
"properties": {
|
|
1140
|
+
"kind": {
|
|
1141
|
+
"type": "string",
|
|
1142
|
+
"const": "credential_source_unconfirmed"
|
|
1143
|
+
},
|
|
1144
|
+
"native_code": {
|
|
1145
|
+
"type": "string",
|
|
1146
|
+
"const": "grok_credential_source_unconfirmed"
|
|
1147
|
+
},
|
|
1148
|
+
"source": {
|
|
1149
|
+
"type": "string",
|
|
1150
|
+
"const": "grok_init"
|
|
1151
|
+
},
|
|
1152
|
+
"reported_source": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"maxLength": 80,
|
|
1155
|
+
"description": "Redacted credential source the vendor's startup frame reported."
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
"required": [
|
|
1159
|
+
"kind",
|
|
1160
|
+
"native_code",
|
|
1161
|
+
"source",
|
|
1162
|
+
"reported_source"
|
|
1163
|
+
],
|
|
1164
|
+
"additionalProperties": false
|
|
949
1165
|
}
|
|
950
1166
|
],
|
|
951
|
-
"description": "Vendor-attested request refusal that
|
|
1167
|
+
"description": "Vendor-attested request refusal that stops retries and account rotation on its harness; input, executable and credential-source causes carry their own evidence."
|
|
952
1168
|
},
|
|
953
1169
|
"captureFailure": {
|
|
954
1170
|
"type": "object",
|
|
@@ -1048,10 +1264,12 @@
|
|
|
1048
1264
|
"credential_pool_exhausted",
|
|
1049
1265
|
"input_too_large",
|
|
1050
1266
|
"vendor_cli_too_old",
|
|
1267
|
+
"credential_source_unconfirmed",
|
|
1051
1268
|
"delegated_home_unavailable",
|
|
1052
1269
|
"delegated_confinement_unavailable",
|
|
1053
1270
|
"delegated_evidence_incomplete",
|
|
1054
1271
|
"access_profile_incompatible",
|
|
1272
|
+
"auxiliary_writable_roots_unsupported",
|
|
1055
1273
|
"retired_access_profile"
|
|
1056
1274
|
],
|
|
1057
1275
|
"description": "Machine-readable failure sub-code within a RunFailure category, including historical delegated-run failures and active access-profile refusals."
|
|
@@ -4,6 +4,185 @@
|
|
|
4
4
|
"McpRunWaitResult": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"deferredMessage": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"draftId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Non-empty identifier string."
|
|
16
|
+
},
|
|
17
|
+
"revision": {
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"exclusiveMinimum": 0,
|
|
20
|
+
"maximum": 9007199254740991
|
|
21
|
+
},
|
|
22
|
+
"state": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": [
|
|
25
|
+
"waiting",
|
|
26
|
+
"held",
|
|
27
|
+
"dispatched",
|
|
28
|
+
"cleared"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"predecessorJobId": {
|
|
32
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
33
|
+
},
|
|
34
|
+
"predecessorRunId": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "null"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"description": "Non-empty identifier string."
|
|
44
|
+
},
|
|
45
|
+
"predecessorResult": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "Existing addressed run-detail/result path; no duplicate result store."
|
|
48
|
+
},
|
|
49
|
+
"hold": {
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"code": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"enum": [
|
|
57
|
+
"predecessor_failed",
|
|
58
|
+
"predecessor_cancelled",
|
|
59
|
+
"predecessor_interrupted",
|
|
60
|
+
"predecessor_needs_input",
|
|
61
|
+
"predecessor_incomplete",
|
|
62
|
+
"predecessor_facts_unavailable",
|
|
63
|
+
"predecessor_work_unverified",
|
|
64
|
+
"predecessor_checks_failed",
|
|
65
|
+
"predecessor_review_blocked",
|
|
66
|
+
"predecessor_output_unavailable",
|
|
67
|
+
"settlement_unknown",
|
|
68
|
+
"stop_requested",
|
|
69
|
+
"shutdown",
|
|
70
|
+
"restart_requires_controller",
|
|
71
|
+
"partition_retired",
|
|
72
|
+
"admission_refused"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"problem": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"message": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Human-readable refusal message."
|
|
81
|
+
},
|
|
82
|
+
"code": {
|
|
83
|
+
"type": [
|
|
84
|
+
"string",
|
|
85
|
+
"null"
|
|
86
|
+
],
|
|
87
|
+
"default": null,
|
|
88
|
+
"description": "Machine-readable refusal code carried from the throwing gate; null when the failure had no typed code."
|
|
89
|
+
},
|
|
90
|
+
"retryable": {
|
|
91
|
+
"type": "boolean",
|
|
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."
|
|
94
|
+
},
|
|
95
|
+
"required_actions": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"minLength": 1,
|
|
100
|
+
"maxLength": 512
|
|
101
|
+
},
|
|
102
|
+
"maxItems": 16,
|
|
103
|
+
"default": [],
|
|
104
|
+
"description": "Bounded user actions that may make an exact retry succeed."
|
|
105
|
+
},
|
|
106
|
+
"context": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": {},
|
|
109
|
+
"default": {},
|
|
110
|
+
"description": "Bounded typed recovery context; never arbitrary provider or environment output."
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"message"
|
|
115
|
+
],
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"description": "Typed, sanitized problem for a thread turn that could not start."
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"code"
|
|
122
|
+
],
|
|
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."
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "null"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"description": "Stable hold. Editing, observation and readiness restoration never rearm it; inspect the predecessor result and clear before an ordinary continuation."
|
|
131
|
+
},
|
|
132
|
+
"dispatchedRevision": {
|
|
133
|
+
"anyOf": [
|
|
134
|
+
{
|
|
135
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/revision"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "null"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"successorJobId": {
|
|
143
|
+
"anyOf": [
|
|
144
|
+
{
|
|
145
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "null"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"description": "Non-empty identifier string."
|
|
152
|
+
},
|
|
153
|
+
"successorRunId": {
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/draftId"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "null"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"description": "Non-empty identifier string."
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"draftId",
|
|
167
|
+
"revision",
|
|
168
|
+
"state",
|
|
169
|
+
"predecessorJobId",
|
|
170
|
+
"predecessorRunId",
|
|
171
|
+
"predecessorResult",
|
|
172
|
+
"hold",
|
|
173
|
+
"dispatchedRevision",
|
|
174
|
+
"successorJobId",
|
|
175
|
+
"successorRunId"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"description": "Compact addressed draft state, with exact predecessor result and successor handles. A terminal predecessor does not imply the draft has resolved."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "null"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"description": "Snapshot only: terminal wakeReason refers to the predecessor, never proves draft resolution."
|
|
185
|
+
},
|
|
7
186
|
"runId": {
|
|
8
187
|
"type": "string",
|
|
9
188
|
"description": "Canonical run id; a queued job id converges to its run id once the run binds."
|
|
@@ -86,8 +265,7 @@
|
|
|
86
265
|
"description": "Task the run belongs to."
|
|
87
266
|
},
|
|
88
267
|
"thread_id": {
|
|
89
|
-
"
|
|
90
|
-
"minLength": 1,
|
|
268
|
+
"$ref": "#/definitions/McpRunWaitResult/properties/deferredMessage/anyOf/0/properties/draftId",
|
|
91
269
|
"description": "Thread this run is a turn of, when any."
|
|
92
270
|
},
|
|
93
271
|
"type": {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/McpUploadCreateInput",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"McpUploadCreateInput": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"request": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"kind": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": [
|
|
13
|
+
"image",
|
|
14
|
+
"file"
|
|
15
|
+
],
|
|
16
|
+
"description": "Kind of attached resource: image input or generic file bytes."
|
|
17
|
+
},
|
|
18
|
+
"mime": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1
|
|
21
|
+
},
|
|
22
|
+
"name": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"default": ""
|
|
25
|
+
},
|
|
26
|
+
"sizeBytes": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"kind",
|
|
33
|
+
"mime",
|
|
34
|
+
"sizeBytes"
|
|
35
|
+
],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"idempotencyKey": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1,
|
|
41
|
+
"pattern": "\\S",
|
|
42
|
+
"maxLength": 256,
|
|
43
|
+
"description": "Caller-owned key for this exact stage. Save key and body before calling; replay both after an unknown response."
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": [
|
|
47
|
+
"request",
|
|
48
|
+
"idempotencyKey"
|
|
49
|
+
],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
54
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/McpUploadFinalizeInput",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"McpUploadFinalizeInput": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"uploadId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"request": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"expectedSha256": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
},
|
|
23
|
+
"idempotencyKey": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"pattern": "\\S",
|
|
27
|
+
"maxLength": 256,
|
|
28
|
+
"description": "Caller-owned key for this exact stage. Save key and body before calling; replay both after an unknown response."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"uploadId",
|
|
33
|
+
"request",
|
|
34
|
+
"idempotencyKey"
|
|
35
|
+
],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
40
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/McpUploadImportInput",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"McpUploadImportInput": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"expectedStoreId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Store UUID from the opt-in handshake, saved with the key BEFORE the first import and replayed unchanged; never replaced by the current store. A different store is refused before any effect."
|
|
11
|
+
},
|
|
12
|
+
"path": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"pattern": "\\S",
|
|
16
|
+
"description": "Explicit absolute regular file on the MCP-server host, never the remote client's filesystem."
|
|
17
|
+
},
|
|
18
|
+
"idempotencyKey": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"pattern": "\\S",
|
|
22
|
+
"maxLength": 256,
|
|
23
|
+
"description": "Caller-owned key for this one import. Save it with the exact arguments before calling and repeat both after any uncertainty; a completed import returns its original resource without reading the file again. A new edition of the file needs a new key."
|
|
24
|
+
},
|
|
25
|
+
"kind": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"image",
|
|
29
|
+
"file"
|
|
30
|
+
],
|
|
31
|
+
"description": "Default: image when the effective MIME type starts with image/, otherwise file."
|
|
32
|
+
},
|
|
33
|
+
"mime": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"description": "Default from the file extension (unknown extensions are application/octet-stream)."
|
|
37
|
+
},
|
|
38
|
+
"name": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Display name. Default: the file's base name."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"expectedStoreId",
|
|
45
|
+
"path",
|
|
46
|
+
"idempotencyKey"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
52
|
+
}
|