@claudexor/schema 3.1.2 → 3.2.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/agent-capabilities.d.ts +157 -129
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +4 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +462 -273
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +25 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +17 -17
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +475 -475
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +62 -59
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +6 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +320 -316
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -19
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +38 -38
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/control-auth-route.d.ts +46 -0
- package/dist/control-auth-route.d.ts.map +1 -0
- package/dist/control-auth-route.js +24 -0
- package/dist/control-auth-route.js.map +1 -0
- package/dist/control-gc.d.ts +15 -15
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +1 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +896 -0
- package/dist/control-harness-list.d.ts.map +1 -0
- package/dist/control-harness-list.js +13 -0
- package/dist/control-harness-list.js.map +1 -0
- package/dist/control-operation-responses.d.ts +630 -628
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +5 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2113 -1578
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +7 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +16 -16
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +1 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-run-scope.d.ts +2 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +1 -1
- package/dist/control-run-scope.js.map +1 -1
- package/dist/control-secret.d.ts +7 -7
- package/dist/control-secret.d.ts.map +1 -1
- package/dist/control-secret.js +1 -1
- package/dist/control-secret.js.map +1 -1
- package/dist/control-thread-apply.d.ts +65 -65
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-thread-apply.js +1 -1
- package/dist/control-thread-apply.js.map +1 -1
- package/dist/control-trust.d.ts +23 -23
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +1 -1
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1523 -2354
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +23 -45
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3203 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -0
- package/dist/credential-profile-snapshot.js +28 -0
- package/dist/credential-profile-snapshot.js.map +1 -0
- package/dist/credential-profile.d.ts +122 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +12 -6
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +121 -121
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -1
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +5 -5
- package/dist/deep-scan.d.ts.map +1 -1
- package/dist/deep-scan.js +1 -1
- package/dist/deep-scan.js.map +1 -1
- package/dist/delegation.d.ts +13 -13
- package/dist/delegation.d.ts.map +1 -1
- package/dist/delegation.js +1 -1
- package/dist/delegation.js.map +1 -1
- package/dist/delivery.d.ts +32 -32
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/effort.d.ts +1 -1
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +1 -1
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +55 -35
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +20 -1
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +7 -7
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/git-capability.d.ts +23 -0
- package/dist/git-capability.d.ts.map +1 -0
- package/dist/git-capability.js +15 -0
- package/dist/git-capability.js.map +1 -0
- package/dist/harness.d.ts +417 -400
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +11 -25
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +2 -0
- package/dist/interaction.js.map +1 -0
- package/dist/operation.d.ts +113 -113
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +1 -1
- package/dist/output-schema-dialect.d.ts.map +1 -1
- package/dist/output-schema-dialect.js +1 -1
- package/dist/output-schema-dialect.js.map +1 -1
- package/dist/output-schema.d.ts +2 -2
- package/dist/output-schema.js +2 -2
- package/dist/plan.d.ts +29 -29
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +2 -2
- package/dist/plan.js.map +1 -1
- package/dist/primitives.d.ts +3 -5
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -6
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +6 -6
- package/dist/problem.d.ts.map +1 -1
- package/dist/problem.js +1 -1
- package/dist/problem.js.map +1 -1
- package/dist/project.d.ts +87 -25
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +21 -1
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +72 -48
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +6 -2
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +20 -0
- package/dist/rate-limit.d.ts.map +1 -0
- package/dist/rate-limit.js +24 -0
- package/dist/rate-limit.js.map +1 -0
- package/dist/raw.d.ts +16 -16
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +1 -1
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +242 -242
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +1 -1
- package/dist/readiness.js.map +1 -1
- package/dist/recovery.d.ts +106 -106
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +1 -1
- package/dist/recovery.js.map +1 -1
- package/dist/request-requirements.d.ts +9 -9
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +1 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/review.d.ts +29 -29
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +11 -11
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +1 -1
- package/dist/route.js.map +1 -1
- package/dist/run-applicability.d.ts +764 -0
- package/dist/run-applicability.d.ts.map +1 -0
- package/dist/run-applicability.js +56 -0
- package/dist/run-applicability.js.map +1 -0
- package/dist/run-facts.d.ts +628 -0
- package/dist/run-facts.d.ts.map +1 -0
- package/dist/run-facts.js +429 -0
- package/dist/run-facts.js.map +1 -0
- package/dist/run-strategy.d.ts +40 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +68 -1
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-device-code-envelope.d.ts +67 -0
- package/dist/setup-device-code-envelope.d.ts.map +1 -0
- package/dist/setup-device-code-envelope.js +25 -0
- package/dist/setup-device-code-envelope.js.map +1 -0
- package/dist/setup-login-protocol.d.ts +6 -0
- package/dist/setup-login-protocol.d.ts.map +1 -0
- package/dist/setup-login-protocol.js +12 -0
- package/dist/setup-login-protocol.js.map +1 -0
- package/dist/setup-transport.d.ts +12 -0
- package/dist/setup-transport.d.ts.map +1 -0
- package/dist/setup-transport.js +22 -0
- package/dist/setup-transport.js.map +1 -0
- package/dist/setup.d.ts +12572 -3749
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +34 -38
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +7 -5
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +11 -6
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +10 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +303 -303
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +1 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1157 -633
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +7 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +133 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +21 -2
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +7 -7
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +1 -1
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +28 -28
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +3 -3
- package/dist/work-report.js.map +1 -1
- package/dist/workproduct.d.ts +6 -9
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +1 -2
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +13 -13
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +43 -2
- package/generated/BudgetObservation.schema.json +16 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1346 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +10 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1325 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +41 -1
- package/generated/ControlQuotaResponse.schema.json +14 -1
- package/generated/ControlRunAgainDraft.schema.json +2 -2
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunDetail.schema.json +429 -68
- package/generated/ControlRunListResponse.schema.json +12 -3
- package/generated/ControlRunStartRequest.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +12 -3
- package/generated/ControlSettingsSnapshot.schema.json +12 -3
- package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
- package/generated/ControlSetupJob.schema.json +9 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
- package/generated/ControlSetupJobEvent.schema.json +858 -758
- package/generated/ControlSetupJobListResponse.schema.json +9 -0
- package/generated/ControlSetupJobSnapshot.schema.json +811 -736
- package/generated/ControlThreadDetail.schema.json +32 -2
- package/generated/ControlThreadTurnRequest.schema.json +6 -25
- package/generated/DecisionRecord.schema.json +2 -1
- package/generated/GitCapability.schema.json +46 -0
- package/generated/GlobalConfig.schema.json +13 -4
- package/generated/HarnessEvent.schema.json +34 -2
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +165 -1
- package/generated/McpRunToolResult.schema.json +165 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunTelemetry.schema.json +493 -3
- package/generated/TaskContract.schema.json +1 -1
- package/generated/ThreadTurn.schema.json +29 -0
- package/generated/WorkProduct.schema.json +0 -4
- package/package.json +3 -3
|
@@ -284,6 +284,18 @@
|
|
|
284
284
|
"description": "Run this turn follows up on, when any.",
|
|
285
285
|
"default": null
|
|
286
286
|
},
|
|
287
|
+
"answersPlanRunId": {
|
|
288
|
+
"anyOf": [
|
|
289
|
+
{
|
|
290
|
+
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "null"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"description": "Plan run whose open questions this follow-up turn answers.",
|
|
297
|
+
"default": null
|
|
298
|
+
},
|
|
287
299
|
"planRunId": {
|
|
288
300
|
"anyOf": [
|
|
289
301
|
{
|
|
@@ -343,7 +355,7 @@
|
|
|
343
355
|
},
|
|
344
356
|
"mode": {
|
|
345
357
|
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/mode",
|
|
346
|
-
"description": "Canonical run mode: ask and plan are read-only, agent writes.
|
|
358
|
+
"description": "Canonical run mode: ask and plan are read-only, agent writes. Strategy controls are separate schema-owned fields, never modes."
|
|
347
359
|
},
|
|
348
360
|
"strategy": {
|
|
349
361
|
"anyOf": [
|
|
@@ -533,6 +545,7 @@
|
|
|
533
545
|
"wall_clock_exceeded",
|
|
534
546
|
"user_cancelled",
|
|
535
547
|
"crash_interrupted",
|
|
548
|
+
"workspace_unavailable",
|
|
536
549
|
"input_required",
|
|
537
550
|
"work_incomplete",
|
|
538
551
|
"context_capacity_exhausted",
|
|
@@ -567,7 +580,7 @@
|
|
|
567
580
|
"validated",
|
|
568
581
|
"absent"
|
|
569
582
|
],
|
|
570
|
-
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (
|
|
583
|
+
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
|
|
571
584
|
},
|
|
572
585
|
"required_inputs": {
|
|
573
586
|
"type": "array",
|
|
@@ -768,6 +781,23 @@
|
|
|
768
781
|
"default": true,
|
|
769
782
|
"description": "False when no recorded job exists to replay — surfaces offer a new message instead of a doomed retry."
|
|
770
783
|
},
|
|
784
|
+
"requiredActions": {
|
|
785
|
+
"type": "array",
|
|
786
|
+
"items": {
|
|
787
|
+
"type": "string",
|
|
788
|
+
"minLength": 1,
|
|
789
|
+
"maxLength": 512
|
|
790
|
+
},
|
|
791
|
+
"maxItems": 16,
|
|
792
|
+
"default": [],
|
|
793
|
+
"description": "Bounded user actions that may make an exact retry succeed."
|
|
794
|
+
},
|
|
795
|
+
"context": {
|
|
796
|
+
"type": "object",
|
|
797
|
+
"additionalProperties": {},
|
|
798
|
+
"default": {},
|
|
799
|
+
"description": "Bounded typed recovery context for exact retry."
|
|
800
|
+
},
|
|
771
801
|
"failedAt": {
|
|
772
802
|
"type": "string",
|
|
773
803
|
"description": "When the enqueue failed."
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"plan",
|
|
40
40
|
"agent"
|
|
41
41
|
],
|
|
42
|
-
"description": "Canonical run mode: ask and plan are read-only, agent writes.
|
|
42
|
+
"description": "Canonical run mode: ask and plan are read-only, agent writes. Strategy controls are separate schema-owned fields, never modes.",
|
|
43
43
|
"default": "agent"
|
|
44
44
|
},
|
|
45
45
|
"harnesses": {
|
|
@@ -312,29 +312,6 @@
|
|
|
312
312
|
"minLength": 1,
|
|
313
313
|
"description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
|
|
314
314
|
},
|
|
315
|
-
"planRef": {
|
|
316
|
-
"type": "object",
|
|
317
|
-
"properties": {
|
|
318
|
-
"runId": {
|
|
319
|
-
"$ref": "#/definitions/ControlThreadTurnRequest/properties/planRunId"
|
|
320
|
-
},
|
|
321
|
-
"sha256": {
|
|
322
|
-
"type": "string",
|
|
323
|
-
"pattern": "^[0-9a-f]{64}$"
|
|
324
|
-
},
|
|
325
|
-
"path": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"minLength": 1
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
"required": [
|
|
331
|
-
"runId",
|
|
332
|
-
"sha256",
|
|
333
|
-
"path"
|
|
334
|
-
],
|
|
335
|
-
"additionalProperties": false,
|
|
336
|
-
"description": "Internal daemon handoff only; rejected (400) on POST /runs. Frozen-plan reference delivered to the executor as a file."
|
|
337
|
-
},
|
|
338
315
|
"reviewerPanel": {
|
|
339
316
|
"type": "array",
|
|
340
317
|
"items": {
|
|
@@ -362,7 +339,7 @@
|
|
|
362
339
|
"description": "One reviewer of an explicit reviewer panel — a harness plus optional model and effort. The CLI spells one entry `harness=model:effort` (e.g. `claude=claude-opus-4-8:max`)."
|
|
363
340
|
},
|
|
364
341
|
"minItems": 1,
|
|
365
|
-
"description": "Explicit reviewer panel — who reviews the change, one entry per reviewer as `harness=model:effort` (CLI `--
|
|
342
|
+
"description": "Explicit Agent reviewer panel — who reviews the change, one entry per reviewer as `harness=model:effort` (CLI `--reviewer-panel \"claude=claude-opus-4-8:max,cursor=gemini-3.1-pro\"`). Duplicate harness entries are kept so one provider can review through several models; overrides the legacy reviewerModels/reviewerEfforts maps."
|
|
366
343
|
},
|
|
367
344
|
"authPreference": {
|
|
368
345
|
"type": "string",
|
|
@@ -413,6 +390,10 @@
|
|
|
413
390
|
"exclusiveMinimum": 0,
|
|
414
391
|
"description": "Per-run turn cap (beats per-harness settings)."
|
|
415
392
|
},
|
|
393
|
+
"answersPlanRunId": {
|
|
394
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/planRunId",
|
|
395
|
+
"description": "Plan run whose open questions this follow-up turn answers."
|
|
396
|
+
},
|
|
416
397
|
"overridePlanReadiness": {
|
|
417
398
|
"type": "boolean",
|
|
418
399
|
"description": "Implement a not-ready plan anyway; recorded on the turn."
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"wall_clock_exceeded",
|
|
73
73
|
"user_cancelled",
|
|
74
74
|
"crash_interrupted",
|
|
75
|
+
"workspace_unavailable",
|
|
75
76
|
"input_required",
|
|
76
77
|
"work_incomplete",
|
|
77
78
|
"context_capacity_exhausted",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"validated",
|
|
107
108
|
"absent"
|
|
108
109
|
],
|
|
109
|
-
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (
|
|
110
|
+
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
|
|
110
111
|
},
|
|
111
112
|
"required_inputs": {
|
|
112
113
|
"type": "array",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/GitCapability",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"GitCapability": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"status": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"available",
|
|
11
|
+
"missing",
|
|
12
|
+
"developer_tools_stub",
|
|
13
|
+
"failed"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"version": {
|
|
17
|
+
"type": [
|
|
18
|
+
"string",
|
|
19
|
+
"null"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"detail": {
|
|
23
|
+
"type": [
|
|
24
|
+
"string",
|
|
25
|
+
"null"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"remediation": {
|
|
29
|
+
"type": [
|
|
30
|
+
"string",
|
|
31
|
+
"null"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"status",
|
|
37
|
+
"version",
|
|
38
|
+
"detail",
|
|
39
|
+
"remediation"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"description": "Live Git executable readiness for workspace/envelope operations."
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
46
|
+
}
|
|
@@ -11,10 +11,19 @@
|
|
|
11
11
|
"description": "Config format version."
|
|
12
12
|
},
|
|
13
13
|
"interaction_timeout_ms": {
|
|
14
|
-
"
|
|
15
|
-
|
|
14
|
+
"anyOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": -9007199254740991,
|
|
18
|
+
"maximum": 8000000000000000,
|
|
19
|
+
"exclusiveMinimum": 0
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "null"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
16
25
|
"default": 900000,
|
|
17
|
-
"description": "
|
|
26
|
+
"description": "Automatic-expiry policy for an interactive answer: positive milliseconds deliver a benign decline at the deadline; null disables automatic expiry."
|
|
18
27
|
},
|
|
19
28
|
"routing": {
|
|
20
29
|
"type": "object",
|
|
@@ -180,7 +189,7 @@
|
|
|
180
189
|
"type": "number",
|
|
181
190
|
"minimum": 0,
|
|
182
191
|
"default": 0.05,
|
|
183
|
-
"description": "
|
|
192
|
+
"description": "USD reservation floor for later parallel race candidates, deep-scan scouts, and Council members; the Deep Scan reducer; the one-shot enveloped candidate continuation; and every paid attempt inside a Delegate child. The first ordinary top-level attempt remains unreserved."
|
|
184
193
|
}
|
|
185
194
|
},
|
|
186
195
|
"additionalProperties": false,
|
|
@@ -377,6 +377,19 @@
|
|
|
377
377
|
"type": "string",
|
|
378
378
|
"minLength": 1
|
|
379
379
|
},
|
|
380
|
+
"applies_to_models": {
|
|
381
|
+
"anyOf": [
|
|
382
|
+
{
|
|
383
|
+
"type": "array",
|
|
384
|
+
"items": {
|
|
385
|
+
"$ref": "#/definitions/HarnessEvent/properties/credential_profile_id"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "null"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
380
393
|
"used_ratio": {
|
|
381
394
|
"anyOf": [
|
|
382
395
|
{
|
|
@@ -432,7 +445,7 @@
|
|
|
432
445
|
"resets_at"
|
|
433
446
|
],
|
|
434
447
|
"additionalProperties": false,
|
|
435
|
-
"description": "One independent vendor quota window; null usage stays unknown."
|
|
448
|
+
"description": "One independent vendor quota window; omitted/null applies_to_models means every model, and null usage stays unknown."
|
|
436
449
|
}
|
|
437
450
|
}
|
|
438
451
|
},
|
|
@@ -486,6 +499,24 @@
|
|
|
486
499
|
"rate_limit": {
|
|
487
500
|
"type": "object",
|
|
488
501
|
"properties": {
|
|
502
|
+
"constraint_id": {
|
|
503
|
+
"$ref": "#/definitions/HarnessEvent/properties/credential_profile_id",
|
|
504
|
+
"description": "Vendor-owned rate-window identity, when the adapter can map it from a typed field."
|
|
505
|
+
},
|
|
506
|
+
"applies_to_models": {
|
|
507
|
+
"anyOf": [
|
|
508
|
+
{
|
|
509
|
+
"type": "array",
|
|
510
|
+
"items": {
|
|
511
|
+
"$ref": "#/definitions/HarnessEvent/properties/credential_profile_id"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"type": "null"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"description": "Canonical model ids/aliases this rejection applies to; omitted/null means every model."
|
|
519
|
+
},
|
|
489
520
|
"resets_at": {
|
|
490
521
|
"type": [
|
|
491
522
|
"string",
|
|
@@ -548,9 +579,10 @@
|
|
|
548
579
|
"model_not_found",
|
|
549
580
|
"server_error",
|
|
550
581
|
"max_output_tokens",
|
|
582
|
+
"timeout",
|
|
551
583
|
"unknown"
|
|
552
584
|
],
|
|
553
|
-
"description": "Vendor
|
|
585
|
+
"description": "Vendor error category mapped onto the normalized enum; unrecognized values collapse to 'unknown' (never free-form prose)."
|
|
554
586
|
}
|
|
555
587
|
},
|
|
556
588
|
"required": [
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"unsupported"
|
|
335
335
|
],
|
|
336
336
|
"default": "unsupported",
|
|
337
|
-
"description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (
|
|
337
|
+
"description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (instructed terminal metadata), or unsupported (work_state stays unverified)."
|
|
338
338
|
},
|
|
339
339
|
"structured_output_channel": {
|
|
340
340
|
"type": "string",
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
"unsupported"
|
|
353
353
|
],
|
|
354
354
|
"default": "unsupported",
|
|
355
|
-
"description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (
|
|
355
|
+
"description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (instructed terminal metadata), or unsupported (work_state stays unverified)."
|
|
356
356
|
},
|
|
357
357
|
"structured_output_channel": {
|
|
358
358
|
"type": "string",
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"wall_clock_exceeded",
|
|
111
111
|
"user_cancelled",
|
|
112
112
|
"crash_interrupted",
|
|
113
|
+
"workspace_unavailable",
|
|
113
114
|
"input_required",
|
|
114
115
|
"work_incomplete",
|
|
115
116
|
"context_capacity_exhausted",
|
|
@@ -144,7 +145,7 @@
|
|
|
144
145
|
"validated",
|
|
145
146
|
"absent"
|
|
146
147
|
],
|
|
147
|
-
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (
|
|
148
|
+
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
|
|
148
149
|
},
|
|
149
150
|
"required_inputs": {
|
|
150
151
|
"type": "array",
|
|
@@ -214,6 +215,130 @@
|
|
|
214
215
|
"description": "The D8 terminal outcome axes (checks/review/reason/noChanges), when terminal.",
|
|
215
216
|
"default": null
|
|
216
217
|
},
|
|
218
|
+
"failure": {
|
|
219
|
+
"anyOf": [
|
|
220
|
+
{
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"phase": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"default": "unknown",
|
|
226
|
+
"description": "Pipeline phase where the failure happened."
|
|
227
|
+
},
|
|
228
|
+
"category": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"enum": [
|
|
231
|
+
"validation",
|
|
232
|
+
"project",
|
|
233
|
+
"auth",
|
|
234
|
+
"harness_unavailable",
|
|
235
|
+
"harness_error",
|
|
236
|
+
"config_error",
|
|
237
|
+
"budget",
|
|
238
|
+
"policy",
|
|
239
|
+
"cancelled",
|
|
240
|
+
"internal",
|
|
241
|
+
"unknown"
|
|
242
|
+
],
|
|
243
|
+
"default": "unknown",
|
|
244
|
+
"description": "Typed failure category (validation, project, auth, harness, config, budget, policy, cancelled, internal, unknown). config_error is a settings/routing misconfiguration (e.g. quality routing with no comparable tier), corrected by changing configuration, not by re-auth or waiting for a harness."
|
|
245
|
+
},
|
|
246
|
+
"code": {
|
|
247
|
+
"anyOf": [
|
|
248
|
+
{
|
|
249
|
+
"type": "string",
|
|
250
|
+
"enum": [
|
|
251
|
+
"finite_zero",
|
|
252
|
+
"hard_cap",
|
|
253
|
+
"estimate_headroom",
|
|
254
|
+
"unknown_paid_in_flight",
|
|
255
|
+
"budget_overshoot",
|
|
256
|
+
"cost_unverifiable",
|
|
257
|
+
"delegation_child_drain_timeout"
|
|
258
|
+
],
|
|
259
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons and Delegate child-drain timeout)."
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "null"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"description": "Machine-readable failure sub-code within the category; null when the category alone is sufficient. Surfaces choose remediation from this, never by parsing safeMessage.",
|
|
266
|
+
"default": null
|
|
267
|
+
},
|
|
268
|
+
"harnessId": {
|
|
269
|
+
"type": [
|
|
270
|
+
"string",
|
|
271
|
+
"null"
|
|
272
|
+
],
|
|
273
|
+
"default": null,
|
|
274
|
+
"description": "Harness involved in the failure, when known."
|
|
275
|
+
},
|
|
276
|
+
"attemptId": {
|
|
277
|
+
"type": [
|
|
278
|
+
"string",
|
|
279
|
+
"null"
|
|
280
|
+
],
|
|
281
|
+
"default": null,
|
|
282
|
+
"description": "Attempt involved in the failure, when known."
|
|
283
|
+
},
|
|
284
|
+
"safeMessage": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "Redacted human-readable failure message."
|
|
287
|
+
},
|
|
288
|
+
"rawDetailRef": {
|
|
289
|
+
"type": [
|
|
290
|
+
"string",
|
|
291
|
+
"null"
|
|
292
|
+
],
|
|
293
|
+
"default": null,
|
|
294
|
+
"description": "Artifact path holding the raw (redacted) failure detail."
|
|
295
|
+
},
|
|
296
|
+
"logRefs": {
|
|
297
|
+
"type": "array",
|
|
298
|
+
"items": {
|
|
299
|
+
"type": "string"
|
|
300
|
+
},
|
|
301
|
+
"default": [],
|
|
302
|
+
"description": "Log artifact paths relevant to the failure."
|
|
303
|
+
},
|
|
304
|
+
"eventRefs": {
|
|
305
|
+
"type": "array",
|
|
306
|
+
"items": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"default": [],
|
|
310
|
+
"description": "Event references relevant to the failure."
|
|
311
|
+
},
|
|
312
|
+
"runDir": {
|
|
313
|
+
"type": [
|
|
314
|
+
"string",
|
|
315
|
+
"null"
|
|
316
|
+
],
|
|
317
|
+
"default": null,
|
|
318
|
+
"description": "Run artifact directory."
|
|
319
|
+
},
|
|
320
|
+
"nextActions": {
|
|
321
|
+
"type": "array",
|
|
322
|
+
"items": {
|
|
323
|
+
"type": "string"
|
|
324
|
+
},
|
|
325
|
+
"default": [],
|
|
326
|
+
"description": "Suggested operator next actions."
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"required": [
|
|
330
|
+
"safeMessage"
|
|
331
|
+
],
|
|
332
|
+
"additionalProperties": false,
|
|
333
|
+
"description": "Typed failure record for a run: phase, category, evidence references, and suggested next actions."
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "null"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"description": "Typed terminal failure detail and recovery actions; null for non-failed runs.",
|
|
340
|
+
"default": null
|
|
341
|
+
},
|
|
217
342
|
"outcomeBanner": {
|
|
218
343
|
"type": [
|
|
219
344
|
"string",
|
|
@@ -577,6 +702,45 @@
|
|
|
577
702
|
],
|
|
578
703
|
"description": "Typed Delegate receipt; null when unavailable or legacy.",
|
|
579
704
|
"default": null
|
|
705
|
+
},
|
|
706
|
+
"detailProblem": {
|
|
707
|
+
"anyOf": [
|
|
708
|
+
{
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"code": {
|
|
712
|
+
"type": [
|
|
713
|
+
"string",
|
|
714
|
+
"null"
|
|
715
|
+
],
|
|
716
|
+
"description": "Stable machine code of the detail problem, if any."
|
|
717
|
+
},
|
|
718
|
+
"message": {
|
|
719
|
+
"type": "string",
|
|
720
|
+
"description": "Human-readable description of the detail problem."
|
|
721
|
+
},
|
|
722
|
+
"retryable": {
|
|
723
|
+
"type": [
|
|
724
|
+
"boolean",
|
|
725
|
+
"null"
|
|
726
|
+
],
|
|
727
|
+
"description": "Whether retrying the detail read may help."
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
"required": [
|
|
731
|
+
"code",
|
|
732
|
+
"message",
|
|
733
|
+
"retryable"
|
|
734
|
+
],
|
|
735
|
+
"additionalProperties": false,
|
|
736
|
+
"description": "Typed failure of a post-run detail read whose durable run result still survives."
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"type": "null"
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"description": "Typed post-terminal detail-read problem (the durable run handle survives); null when the detail read succeeded.",
|
|
743
|
+
"default": null
|
|
580
744
|
}
|
|
581
745
|
},
|
|
582
746
|
"required": [
|