@claudexor/schema 4.8.2 → 5.0.2
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 +325 -56
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +35 -5
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +253 -45
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-target.d.ts +19 -5
- package/dist/account-target.d.ts.map +1 -1
- package/dist/account-target.js +14 -1
- package/dist/account-target.js.map +1 -1
- package/dist/agent-capabilities.d.ts +183 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +5 -1
- package/dist/budget.js.map +1 -1
- package/dist/capture-inventory.d.ts +60 -0
- package/dist/capture-inventory.d.ts.map +1 -0
- package/dist/capture-inventory.js +57 -0
- package/dist/capture-inventory.js.map +1 -0
- package/dist/control-harness-list.d.ts +102 -18
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +299 -6
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +12 -3
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +606 -23
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +3 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1178 -72
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-event-part.js +1 -1
- package/dist/control-run-event-part.js.map +1 -1
- package/dist/control-run-failure.d.ts +276 -12
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +54 -16
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.js.map +1 -1
- package/dist/control-thread-apply.d.ts +165 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-timeline.d.ts.map +1 -1
- package/dist/control-timeline.js +7 -3
- package/dist/control-timeline.js.map +1 -1
- package/dist/control.d.ts +383 -42
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -5
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +506 -90
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +4 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +162 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +32 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +7 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +15 -8
- package/dist/events.js.map +1 -1
- package/dist/git-result.d.ts +99 -0
- package/dist/git-result.d.ts.map +1 -0
- package/dist/git-result.js +80 -0
- package/dist/git-result.js.map +1 -0
- package/dist/harness-model.d.ts +89 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +83 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness.d.ts +353 -35
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +4 -19
- 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 +620 -51
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +45 -5
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +7 -7
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +3 -2
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +45 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +26 -1
- package/dist/project.js.map +1 -1
- package/dist/quota-read.d.ts +6 -3
- package/dist/quota-read.d.ts.map +1 -1
- package/dist/quota-read.js +7 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/quota-scope.d.ts +29 -0
- package/dist/quota-scope.d.ts.map +1 -0
- package/dist/quota-scope.js +95 -0
- package/dist/quota-scope.js.map +1 -0
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +5 -1
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts +223 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +86 -0
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +87 -18
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +7 -6
- package/dist/readiness.js.map +1 -1
- package/dist/route-health.d.ts +303 -0
- package/dist/route-health.d.ts.map +1 -0
- package/dist/route-health.js +71 -0
- package/dist/route-health.js.map +1 -0
- package/dist/run-continuity.d.ts +3 -0
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +4 -0
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/run-facts.js +1 -0
- package/dist/run-facts.js.map +1 -1
- package/dist/setup-login.d.ts +1 -1
- package/dist/setup-login.js +1 -1
- package/dist/setup.d.ts +1 -1
- package/dist/setup.js +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -0
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +239 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +4 -2
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +1109 -161
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread-history.js +1 -1
- package/dist/thread-history.js.map +1 -1
- package/dist/tool-ref.d.ts +94 -3
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +98 -6
- package/dist/tool-ref.js.map +1 -1
- 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/generated/AgentCapabilityCatalog.schema.json +54 -0
- package/generated/BudgetObservation.schema.json +8 -1
- package/generated/ControlAccountResetResponse.schema.json +60 -1
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
- package/generated/ControlAccountResourcesResponse.schema.json +46 -2
- package/generated/ControlApplyCheckResponse.schema.json +47 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
- package/generated/ControlDeliveryResponse.schema.json +154 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
- package/generated/ControlHarnessListResponse.schema.json +59 -2
- package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
- package/generated/ControlHarnessModelsResponse.schema.json +96 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
- package/generated/ControlQuotaQueryResponse.schema.json +46 -2
- package/generated/ControlQuotaReadRequest.schema.json +4 -0
- package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
- package/generated/ControlRouteHealth.schema.json +202 -0
- package/generated/ControlRunDetail.schema.json +344 -5
- package/generated/ControlRunEventPart.schema.json +4 -2
- package/generated/ControlRunListResponse.schema.json +341 -2
- package/generated/ControlRunMessageRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +341 -2
- package/generated/ControlThreadApplyResponse.schema.json +154 -0
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/HarnessEvent.schema.json +189 -5
- package/generated/HarnessManifest.schema.json +57 -0
- package/generated/HarnessModel.schema.json +13 -0
- package/generated/HarnessStatusDto.schema.json +59 -2
- package/generated/JournaledRunCreatedPayload.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +105 -4
- package/generated/McpRunHandleResult.schema.json +279 -2
- package/generated/McpRunToolResult.schema.json +269 -0
- package/generated/McpRunWaitResult.schema.json +3 -1
- package/generated/RawContextPacket.schema.json +98 -0
- package/generated/RunContinuityReceipt.schema.json +8 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +201 -0
- package/generated/RunTelemetry.schema.json +123 -2
- package/generated/ThreadHistoryPage.schema.json +203 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -344,7 +344,9 @@
|
|
|
344
344
|
"run.continuation",
|
|
345
345
|
"run.continuation.denied",
|
|
346
346
|
"run.continuity",
|
|
347
|
-
"workspace.retained"
|
|
347
|
+
"workspace.retained",
|
|
348
|
+
"workspace.prepared",
|
|
349
|
+
"workspace.settlement_failed"
|
|
348
350
|
],
|
|
349
351
|
"description": "Type of an append-only run event, covering run lifecycle, contract/context creation, budget, routing fallbacks, harness activity, interactions, gates, review, arbitration, work products, and control verbs."
|
|
350
352
|
},
|
|
@@ -13,6 +13,104 @@
|
|
|
13
13
|
"minLength": 1,
|
|
14
14
|
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
15
15
|
},
|
|
16
|
+
"budget": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"estimator": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "chars_div_4"
|
|
22
|
+
},
|
|
23
|
+
"basis": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"model_context_window",
|
|
27
|
+
"assumed_ceiling"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"model": {
|
|
31
|
+
"anyOf": [
|
|
32
|
+
{
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "null"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"description": "Model whose catalog row was consulted; null when the producer reported none."
|
|
41
|
+
},
|
|
42
|
+
"context_window": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"exclusiveMinimum": 0
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "null"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"output_allowance_tokens": {
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"minimum": 0
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "null"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"framing_tokens": {
|
|
65
|
+
"anyOf": [
|
|
66
|
+
{
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": 0
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "null"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"description": "Estimated tokens of the request outside this packet; null when unmeasured."
|
|
75
|
+
},
|
|
76
|
+
"selection_limit_tokens": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"exclusiveMinimum": 0,
|
|
79
|
+
"description": "Limit the optional selection honoured: the packet's share of the window, or the assumed ceiling on file contents."
|
|
80
|
+
},
|
|
81
|
+
"estimated_packet_tokens": {
|
|
82
|
+
"type": "integer",
|
|
83
|
+
"minimum": 0
|
|
84
|
+
},
|
|
85
|
+
"omitted_for_budget": {
|
|
86
|
+
"type": "integer",
|
|
87
|
+
"minimum": 0,
|
|
88
|
+
"description": "Optional files left out to honour selection_limit_tokens (listed in omissions)."
|
|
89
|
+
},
|
|
90
|
+
"mandatory_paths": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"minLength": 1
|
|
95
|
+
},
|
|
96
|
+
"description": "Project mandatory files, each delivered complete in readable_files."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"estimator",
|
|
101
|
+
"basis",
|
|
102
|
+
"model",
|
|
103
|
+
"context_window",
|
|
104
|
+
"output_allowance_tokens",
|
|
105
|
+
"framing_tokens",
|
|
106
|
+
"selection_limit_tokens",
|
|
107
|
+
"estimated_packet_tokens",
|
|
108
|
+
"omitted_for_budget",
|
|
109
|
+
"mandatory_paths"
|
|
110
|
+
],
|
|
111
|
+
"additionalProperties": false,
|
|
112
|
+
"description": "Sizing evidence for a raw context packet; disclosed, never a tokenizer count."
|
|
113
|
+
},
|
|
16
114
|
"base_commit_sha": {
|
|
17
115
|
"type": "string",
|
|
18
116
|
"minLength": 1
|
|
@@ -157,6 +157,14 @@
|
|
|
157
157
|
"not_applicable"
|
|
158
158
|
],
|
|
159
159
|
"description": "Whether the predecessor's last input (its turn prompt or an admitted steering message) is known to be in the vendor history: confirmed, uncertain (carried in the notice as a reference to reconcile, never replayed blindly), or not applicable."
|
|
160
|
+
},
|
|
161
|
+
"sourceRetirement": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"retired",
|
|
165
|
+
"not_confirmed"
|
|
166
|
+
],
|
|
167
|
+
"description": "After a native_moved carrier published the new holder: retired (the adapter removed the source copy) or not_confirmed (removal failed, possibly part-way). Absent = no move retired a source for this try."
|
|
160
168
|
}
|
|
161
169
|
},
|
|
162
170
|
"required": [
|
|
@@ -104,7 +104,9 @@
|
|
|
104
104
|
"run.continuation",
|
|
105
105
|
"run.continuation.denied",
|
|
106
106
|
"run.continuity",
|
|
107
|
-
"workspace.retained"
|
|
107
|
+
"workspace.retained",
|
|
108
|
+
"workspace.prepared",
|
|
109
|
+
"workspace.settlement_failed"
|
|
108
110
|
],
|
|
109
111
|
"description": "Type of an append-only run event, covering run lifecycle, contract/context creation, budget, routing fallbacks, harness activity, interactions, gates, review, arbitration, work products, and control verbs."
|
|
110
112
|
},
|
|
@@ -146,6 +146,68 @@
|
|
|
146
146
|
],
|
|
147
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."
|
|
148
148
|
},
|
|
149
|
+
"rawContextShortfall": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"properties": {
|
|
152
|
+
"model": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"minLength": 1,
|
|
155
|
+
"description": "Model whose window was checked."
|
|
156
|
+
},
|
|
157
|
+
"context_window": {
|
|
158
|
+
"type": "integer",
|
|
159
|
+
"exclusiveMinimum": 0
|
|
160
|
+
},
|
|
161
|
+
"packet_tokens": {
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"minimum": 0,
|
|
164
|
+
"description": "The packet with every optional file omitted: mandatory files, file manifest and metadata."
|
|
165
|
+
},
|
|
166
|
+
"framing_tokens": {
|
|
167
|
+
"type": "integer",
|
|
168
|
+
"minimum": 0,
|
|
169
|
+
"description": "The request outside the packet: instructions, user text, patch protocol and attachments."
|
|
170
|
+
},
|
|
171
|
+
"output_allowance_tokens": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"minimum": 0,
|
|
174
|
+
"description": "Tokens kept free for the answer."
|
|
175
|
+
},
|
|
176
|
+
"mandatory_files": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"items": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"properties": {
|
|
181
|
+
"path": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"minLength": 1
|
|
184
|
+
},
|
|
185
|
+
"estimated_tokens": {
|
|
186
|
+
"type": "integer",
|
|
187
|
+
"minimum": 0,
|
|
188
|
+
"description": "This file's share of packet_tokens: its packet entry with content and evidence."
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": [
|
|
192
|
+
"path",
|
|
193
|
+
"estimated_tokens"
|
|
194
|
+
],
|
|
195
|
+
"additionalProperties": false
|
|
196
|
+
},
|
|
197
|
+
"description": "Every mandatory file, largest first."
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": [
|
|
201
|
+
"model",
|
|
202
|
+
"context_window",
|
|
203
|
+
"packet_tokens",
|
|
204
|
+
"framing_tokens",
|
|
205
|
+
"output_allowance_tokens",
|
|
206
|
+
"mandatory_files"
|
|
207
|
+
],
|
|
208
|
+
"additionalProperties": false,
|
|
209
|
+
"description": "Typed sizes behind code raw_context_exceeds_window: the window, the request's parts and every mandatory file, so surfaces never read them from safeMessage."
|
|
210
|
+
},
|
|
149
211
|
"captureFailure": {
|
|
150
212
|
"type": "object",
|
|
151
213
|
"properties": {
|
|
@@ -155,6 +217,11 @@
|
|
|
155
217
|
"capture_output_exceeded",
|
|
156
218
|
"capture_output_incomplete",
|
|
157
219
|
"capture_preview_truncated",
|
|
220
|
+
"capture_space_insufficient",
|
|
221
|
+
"capture_git_stalled",
|
|
222
|
+
"capture_git_signal",
|
|
223
|
+
"capture_read_failed",
|
|
224
|
+
"capture_object_missing",
|
|
158
225
|
"capture_failed"
|
|
159
226
|
]
|
|
160
227
|
},
|
|
@@ -179,6 +246,22 @@
|
|
|
179
246
|
"type": "string",
|
|
180
247
|
"const": "truncated"
|
|
181
248
|
},
|
|
249
|
+
"requiredBytes": {
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"minimum": 0
|
|
252
|
+
},
|
|
253
|
+
"availableBytes": {
|
|
254
|
+
"type": "integer",
|
|
255
|
+
"minimum": 0
|
|
256
|
+
},
|
|
257
|
+
"signal": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"maxLength": 32
|
|
260
|
+
},
|
|
261
|
+
"stallMs": {
|
|
262
|
+
"type": "integer",
|
|
263
|
+
"minimum": 0
|
|
264
|
+
},
|
|
182
265
|
"cleanup": {
|
|
183
266
|
"type": "object",
|
|
184
267
|
"properties": {
|
|
@@ -197,6 +280,72 @@
|
|
|
197
280
|
"message"
|
|
198
281
|
],
|
|
199
282
|
"additionalProperties": false
|
|
283
|
+
},
|
|
284
|
+
"inventory": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"properties": {
|
|
287
|
+
"exact": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"const": false,
|
|
290
|
+
"description": "Always false: an inventory names files; it is not the exact change."
|
|
291
|
+
},
|
|
292
|
+
"changedFiles": {
|
|
293
|
+
"type": "integer",
|
|
294
|
+
"minimum": 0,
|
|
295
|
+
"description": "Changed paths the pass counted."
|
|
296
|
+
},
|
|
297
|
+
"largest": {
|
|
298
|
+
"type": "array",
|
|
299
|
+
"items": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"path": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"maxLength": 1024,
|
|
305
|
+
"description": "Top-relative changed path, exact within the length cap."
|
|
306
|
+
},
|
|
307
|
+
"change": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"enum": [
|
|
310
|
+
"added",
|
|
311
|
+
"modified",
|
|
312
|
+
"deleted",
|
|
313
|
+
"type_changed"
|
|
314
|
+
],
|
|
315
|
+
"description": "What happened to the path between the turn's base and the uncaptured tree."
|
|
316
|
+
},
|
|
317
|
+
"sizeBytes": {
|
|
318
|
+
"anyOf": [
|
|
319
|
+
{
|
|
320
|
+
"type": "integer",
|
|
321
|
+
"minimum": 0
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "null"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"description": "Size of the new blob (of the old blob for a deletion); null when Git could not size it."
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"required": [
|
|
331
|
+
"path",
|
|
332
|
+
"change",
|
|
333
|
+
"sizeBytes"
|
|
334
|
+
],
|
|
335
|
+
"additionalProperties": false,
|
|
336
|
+
"description": "One changed path of a non-exact capture inventory."
|
|
337
|
+
},
|
|
338
|
+
"maxItems": 20,
|
|
339
|
+
"description": "The largest changed files, largest first."
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"required": [
|
|
343
|
+
"exact",
|
|
344
|
+
"changedFiles",
|
|
345
|
+
"largest"
|
|
346
|
+
],
|
|
347
|
+
"additionalProperties": false,
|
|
348
|
+
"description": "Bounded non-exact inventory of the changed files behind a refused capture."
|
|
200
349
|
}
|
|
201
350
|
},
|
|
202
351
|
"required": [
|
|
@@ -243,6 +392,9 @@
|
|
|
243
392
|
"subscription_window_exhausted",
|
|
244
393
|
"credential_pool_exhausted",
|
|
245
394
|
"input_too_large",
|
|
395
|
+
"raw_context_mandatory_unavailable",
|
|
396
|
+
"raw_context_exceeds_window",
|
|
397
|
+
"model_catalog_unavailable",
|
|
246
398
|
"vendor_cli_too_old",
|
|
247
399
|
"credential_source_unconfirmed",
|
|
248
400
|
"delegated_home_unavailable",
|
|
@@ -326,6 +478,55 @@
|
|
|
326
478
|
"default": null,
|
|
327
479
|
"description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
|
|
328
480
|
},
|
|
481
|
+
"quotaRefusal": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"properties": {
|
|
484
|
+
"basis": {
|
|
485
|
+
"type": "string",
|
|
486
|
+
"enum": [
|
|
487
|
+
"owner_reserve",
|
|
488
|
+
"provider_window",
|
|
489
|
+
"provider_cooldown"
|
|
490
|
+
],
|
|
491
|
+
"description": "owner_reserve: usage reached the saved headroom_threshold below 100% while the provider reports quota left; provider_window: the provider reports the window spent; provider_cooldown: a provider rate-limit cooldown is in force."
|
|
492
|
+
},
|
|
493
|
+
"constraintId": {
|
|
494
|
+
"type": [
|
|
495
|
+
"string",
|
|
496
|
+
"null"
|
|
497
|
+
],
|
|
498
|
+
"description": "The refusing quota window, when known."
|
|
499
|
+
},
|
|
500
|
+
"usedRatio": {
|
|
501
|
+
"anyOf": [
|
|
502
|
+
{
|
|
503
|
+
"type": "number",
|
|
504
|
+
"minimum": 0,
|
|
505
|
+
"maximum": 1
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "null"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"description": "Its observed usage, when known."
|
|
512
|
+
},
|
|
513
|
+
"threshold": {
|
|
514
|
+
"type": [
|
|
515
|
+
"number",
|
|
516
|
+
"null"
|
|
517
|
+
],
|
|
518
|
+
"description": "The headroom_threshold the decision applied, when it applied one."
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"required": [
|
|
522
|
+
"basis",
|
|
523
|
+
"constraintId",
|
|
524
|
+
"usedRatio",
|
|
525
|
+
"threshold"
|
|
526
|
+
],
|
|
527
|
+
"additionalProperties": false,
|
|
528
|
+
"description": "Present when quota admission refused the account (code subscription_window_exhausted): separates the owner's saved reserve from provider exhaustion. Absent on other failures and on records written before this field existed."
|
|
529
|
+
},
|
|
329
530
|
"vendorFailure": {
|
|
330
531
|
"anyOf": [
|
|
331
532
|
{
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"null"
|
|
160
160
|
],
|
|
161
161
|
"default": null,
|
|
162
|
-
"description": "
|
|
162
|
+
"description": "Target (query/url) of the web activity as issued, when any."
|
|
163
163
|
},
|
|
164
164
|
"error_summary": {
|
|
165
165
|
"type": [
|
|
@@ -668,6 +668,126 @@
|
|
|
668
668
|
"additionalProperties": false,
|
|
669
669
|
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash unless its route reports no actual debit."
|
|
670
670
|
},
|
|
671
|
+
"raw_context": {
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"model": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"minLength": 1,
|
|
677
|
+
"description": "Model the request named."
|
|
678
|
+
},
|
|
679
|
+
"estimated_request_tokens": {
|
|
680
|
+
"type": "integer",
|
|
681
|
+
"minimum": 0,
|
|
682
|
+
"description": "Estimated tokens of the whole rendered request (chars/4, plus a fixed figure per image); never a tokenizer count."
|
|
683
|
+
},
|
|
684
|
+
"budget": {
|
|
685
|
+
"type": "object",
|
|
686
|
+
"properties": {
|
|
687
|
+
"estimator": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"const": "chars_div_4"
|
|
690
|
+
},
|
|
691
|
+
"basis": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"enum": [
|
|
694
|
+
"model_context_window",
|
|
695
|
+
"assumed_ceiling"
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
"model": {
|
|
699
|
+
"anyOf": [
|
|
700
|
+
{
|
|
701
|
+
"type": "string",
|
|
702
|
+
"minLength": 1
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"type": "null"
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
"description": "Model whose catalog row was consulted; null when the producer reported none."
|
|
709
|
+
},
|
|
710
|
+
"context_window": {
|
|
711
|
+
"anyOf": [
|
|
712
|
+
{
|
|
713
|
+
"type": "integer",
|
|
714
|
+
"exclusiveMinimum": 0
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"type": "null"
|
|
718
|
+
}
|
|
719
|
+
]
|
|
720
|
+
},
|
|
721
|
+
"output_allowance_tokens": {
|
|
722
|
+
"anyOf": [
|
|
723
|
+
{
|
|
724
|
+
"type": "integer",
|
|
725
|
+
"minimum": 0
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"type": "null"
|
|
729
|
+
}
|
|
730
|
+
]
|
|
731
|
+
},
|
|
732
|
+
"framing_tokens": {
|
|
733
|
+
"anyOf": [
|
|
734
|
+
{
|
|
735
|
+
"type": "integer",
|
|
736
|
+
"minimum": 0
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"type": "null"
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"description": "Estimated tokens of the request outside this packet; null when unmeasured."
|
|
743
|
+
},
|
|
744
|
+
"selection_limit_tokens": {
|
|
745
|
+
"type": "integer",
|
|
746
|
+
"exclusiveMinimum": 0,
|
|
747
|
+
"description": "Limit the optional selection honoured: the packet's share of the window, or the assumed ceiling on file contents."
|
|
748
|
+
},
|
|
749
|
+
"estimated_packet_tokens": {
|
|
750
|
+
"type": "integer",
|
|
751
|
+
"minimum": 0
|
|
752
|
+
},
|
|
753
|
+
"omitted_for_budget": {
|
|
754
|
+
"type": "integer",
|
|
755
|
+
"minimum": 0,
|
|
756
|
+
"description": "Optional files left out to honour selection_limit_tokens (listed in omissions)."
|
|
757
|
+
},
|
|
758
|
+
"mandatory_paths": {
|
|
759
|
+
"type": "array",
|
|
760
|
+
"items": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"minLength": 1
|
|
763
|
+
},
|
|
764
|
+
"description": "Project mandatory files, each delivered complete in readable_files."
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"required": [
|
|
768
|
+
"estimator",
|
|
769
|
+
"basis",
|
|
770
|
+
"model",
|
|
771
|
+
"context_window",
|
|
772
|
+
"output_allowance_tokens",
|
|
773
|
+
"framing_tokens",
|
|
774
|
+
"selection_limit_tokens",
|
|
775
|
+
"estimated_packet_tokens",
|
|
776
|
+
"omitted_for_budget",
|
|
777
|
+
"mandatory_paths"
|
|
778
|
+
],
|
|
779
|
+
"additionalProperties": false,
|
|
780
|
+
"description": "Sizing evidence for a raw context packet; disclosed, never a tokenizer count."
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"required": [
|
|
784
|
+
"model",
|
|
785
|
+
"estimated_request_tokens",
|
|
786
|
+
"budget"
|
|
787
|
+
],
|
|
788
|
+
"additionalProperties": false,
|
|
789
|
+
"description": "Size of the raw-api request this attempt last prepared, from the status event that try emitted just before its POST (#147); not proof the provider received it. Absent for other transports."
|
|
790
|
+
},
|
|
671
791
|
"attempt_id": {
|
|
672
792
|
"type": "string",
|
|
673
793
|
"minLength": 1,
|
|
@@ -919,7 +1039,7 @@
|
|
|
919
1039
|
"null"
|
|
920
1040
|
],
|
|
921
1041
|
"default": null,
|
|
922
|
-
"description": "
|
|
1042
|
+
"description": "Target of the tool use as issued, when known."
|
|
923
1043
|
},
|
|
924
1044
|
"summary": {
|
|
925
1045
|
"type": "string",
|
|
@@ -1802,6 +1922,7 @@
|
|
|
1802
1922
|
"owner_task_gone",
|
|
1803
1923
|
"crash_interrupted",
|
|
1804
1924
|
"workspace_unavailable",
|
|
1925
|
+
"capture_refused",
|
|
1805
1926
|
"input_required",
|
|
1806
1927
|
"work_incomplete",
|
|
1807
1928
|
"context_capacity_exhausted",
|