@claudexor/schema 2.1.3 → 3.0.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/agent-capabilities.d.ts +32 -24
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +20 -11
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +166 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +63 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +5 -5
- package/dist/budget.d.ts +4 -4
- package/dist/config.d.ts +59 -41
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -6
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/control-operation-responses.d.ts +190 -97
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +347 -215
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +34 -7
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-thread-apply.d.ts +5 -5
- package/dist/control-trust.d.ts +6 -6
- package/dist/control.d.ts +769 -306
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +164 -61
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +400 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +109 -4
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +78 -14
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +53 -20
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +3 -3
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +32 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +45 -11
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +4 -4
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +2 -2
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +137 -47
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +65 -16
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +66 -7
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +29 -2
- package/dist/operation.js.map +1 -1
- package/dist/output-schema.d.ts +40 -0
- package/dist/output-schema.d.ts.map +1 -0
- package/dist/output-schema.js +109 -0
- package/dist/output-schema.js.map +1 -0
- package/dist/plan.d.ts +206 -0
- package/dist/plan.d.ts.map +1 -0
- package/dist/plan.js +107 -0
- package/dist/plan.js.map +1 -0
- package/dist/primitives.d.ts +14 -10
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +14 -11
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +75 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +17 -0
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +119 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +22 -0
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +4 -4
- package/dist/readiness.d.ts +14 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-strategy.d.ts +17 -0
- package/dist/run-strategy.d.ts.map +1 -0
- package/dist/run-strategy.js +47 -0
- package/dist/run-strategy.js.map +1 -0
- package/dist/setup.d.ts +160 -160
- package/dist/status-projection.d.ts +78 -0
- package/dist/status-projection.d.ts.map +1 -0
- package/dist/status-projection.js +171 -0
- package/dist/status-projection.js.map +1 -0
- package/dist/task.d.ts +48 -316
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -60
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +89 -89
- package/dist/thread.d.ts +167 -32
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +92 -28
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +4 -6
- package/generated/ApplyEligibility.schema.json +1 -1
- package/generated/BudgetLease.schema.json +1 -2
- package/generated/ConformanceReport.schema.json +1 -2
- package/generated/ContinuityDisclosure.schema.json +74 -0
- package/generated/ControlApplyRequest.schema.json +1 -2
- package/generated/ControlCredentialProfileUpdateRequest.schema.json +20 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +126 -2
- package/generated/ControlDeliveryResponse.schema.json +0 -1
- package/generated/ControlHandshakeResponse.schema.json +31 -3
- package/generated/ControlHarnessListResponse.schema.json +11 -6
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -0
- package/generated/ControlOperationCatalog.schema.json +16 -1
- package/generated/ControlOperationDescriptor.schema.json +15 -0
- package/generated/ControlProject.schema.json +35 -0
- package/generated/ControlProjectListResponse.schema.json +35 -0
- package/generated/ControlProjectOutputsResponse.schema.json +57 -0
- package/generated/ControlQueuedRunInfo.schema.json +2 -11
- package/generated/ControlQuotaResponse.schema.json +42 -0
- package/generated/ControlRunAgainDraft.schema.json +37 -35
- package/generated/ControlRunDecisionRequest.schema.json +0 -1
- package/generated/ControlRunDetail.schema.json +292 -213
- package/generated/ControlRunListResponse.schema.json +88 -27
- package/generated/ControlRunStartRequest.schema.json +37 -35
- package/generated/ControlRunStartResponse.schema.json +2 -11
- package/generated/ControlRunSummary.schema.json +88 -27
- package/generated/ControlSettingsSnapshot.schema.json +6 -11
- package/generated/ControlSettingsUpdateRequest.schema.json +5 -10
- package/generated/ControlThread.schema.json +21 -3
- package/generated/ControlThreadApplyResponse.schema.json +0 -1
- package/generated/ControlThreadCreateRequest.schema.json +12 -3
- package/generated/ControlThreadDetail.schema.json +174 -16
- package/generated/ControlThreadListResponse.schema.json +60 -3
- package/generated/ControlThreadTurnRequest.schema.json +40 -34
- package/generated/ControlThreadUpdateRequest.schema.json +19 -0
- package/generated/DecisionRecord.schema.json +73 -33
- package/generated/GateResult.schema.json +1 -2
- package/generated/GlobalConfig.schema.json +7 -12
- package/generated/HarnessManifest.schema.json +11 -6
- package/generated/HarnessStatusDto.schema.json +11 -6
- package/generated/LaneCheckpoint.schema.json +59 -0
- package/generated/McpRunHandleResult.schema.json +234 -0
- package/generated/McpRunToolResult.schema.json +124 -2
- package/generated/RoutePrimaryDivergedPayload.schema.json +56 -0
- package/generated/RunEvent.schema.json +9 -5
- package/generated/RunTelemetry.schema.json +2 -4
- package/generated/TaskContract.schema.json +3 -135
- package/generated/Thread.schema.json +21 -3
- package/generated/ThreadTurn.schema.json +88 -0
- package/package.json +2 -2
- package/dist/control-spec.d.ts +0 -603
- package/dist/control-spec.d.ts.map +0 -1
- package/dist/control-spec.js +0 -87
- package/dist/control-spec.js.map +0 -1
- package/dist/orchestrate.d.ts +0 -556
- package/dist/orchestrate.d.ts.map +0 -1
- package/dist/orchestrate.js +0 -356
- package/dist/orchestrate.js.map +0 -1
- package/dist/spec.d.ts +0 -678
- package/dist/spec.d.ts.map +0 -1
- package/dist/spec.js +0 -186
- package/dist/spec.js.map +0 -1
- package/generated/ControlSpecAnswersRequest.schema.json +0 -74
- package/generated/ControlSpecQuestionsRequest.schema.json +0 -209
- package/generated/ControlSpecSession.schema.json +0 -261
- package/generated/ControlSpecSessionListResponse.schema.json +0 -273
- package/generated/OrchestrateContract.schema.json +0 -119
- package/generated/OrchestratePlan.schema.json +0 -264
- package/generated/OrchestratePlanProgress.schema.json +0 -164
- package/generated/SessionReboundLineage.schema.json +0 -73
- package/generated/SpecPack.schema.json +0 -483
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlProjectOutputsResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlProjectOutputsResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"projectId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Non-empty identifier string."
|
|
11
|
+
},
|
|
12
|
+
"artifacts": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"path": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Artifact path relative to the run directory."
|
|
20
|
+
},
|
|
21
|
+
"kind": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"file",
|
|
25
|
+
"directory"
|
|
26
|
+
],
|
|
27
|
+
"description": "Whether the artifact is a file or a directory."
|
|
28
|
+
},
|
|
29
|
+
"bytes": {
|
|
30
|
+
"type": "integer",
|
|
31
|
+
"minimum": 0,
|
|
32
|
+
"description": "Size in bytes; absent for directories."
|
|
33
|
+
},
|
|
34
|
+
"mime": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "MIME type derived from the extension; absent for directories."
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"path",
|
|
41
|
+
"kind"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"description": "One artifact in the run's artifact tree."
|
|
45
|
+
},
|
|
46
|
+
"default": []
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"projectId"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"description": "Project-keyed durable outputs listing (GET /projects/:id/outputs): the files under the project's artifacts/ directory, server-owned and path-traversal-safe."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
57
|
+
}
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
"enum": [
|
|
14
14
|
"queued",
|
|
15
15
|
"running",
|
|
16
|
-
"blocked",
|
|
17
16
|
"succeeded",
|
|
18
|
-
"no_op",
|
|
19
|
-
"ungated",
|
|
20
|
-
"review_not_run",
|
|
21
17
|
"failed",
|
|
22
18
|
"cancelled",
|
|
23
|
-
"
|
|
24
|
-
"cost_unverifiable",
|
|
25
|
-
"exhausted_overshoot",
|
|
26
|
-
"exhausted",
|
|
27
|
-
"not_converged",
|
|
28
|
-
"stuck_no_progress"
|
|
19
|
+
"interrupted"
|
|
29
20
|
],
|
|
30
|
-
"description": "Control-plane run state: queued/running while live, then
|
|
21
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
31
22
|
},
|
|
32
23
|
"error": {
|
|
33
24
|
"type": "string",
|
|
@@ -153,6 +153,48 @@
|
|
|
153
153
|
"description": "All independently reported quota windows for one vendor-owned subject."
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
+
"absences": {
|
|
157
|
+
"type": "array",
|
|
158
|
+
"items": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"subject": {
|
|
162
|
+
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject"
|
|
163
|
+
},
|
|
164
|
+
"reason": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"enum": [
|
|
167
|
+
"not_logged_in",
|
|
168
|
+
"transport_unavailable",
|
|
169
|
+
"platform_unsupported",
|
|
170
|
+
"refresh_failed",
|
|
171
|
+
"no_source"
|
|
172
|
+
],
|
|
173
|
+
"description": "Why a registered subject has no quota snapshot, in the source's own vocabulary."
|
|
174
|
+
},
|
|
175
|
+
"detail": {
|
|
176
|
+
"type": [
|
|
177
|
+
"string",
|
|
178
|
+
"null"
|
|
179
|
+
],
|
|
180
|
+
"default": null
|
|
181
|
+
},
|
|
182
|
+
"observed_at": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"format": "date-time"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": [
|
|
188
|
+
"subject",
|
|
189
|
+
"reason",
|
|
190
|
+
"observed_at"
|
|
191
|
+
],
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"description": "A registered subject's typed missing-snapshot — absence is stated, never inferred."
|
|
194
|
+
},
|
|
195
|
+
"default": [],
|
|
196
|
+
"description": "Every registered subject reports either a snapshot or a typed absence — absence is never silent emptiness (zen: absence ≠ empty)."
|
|
197
|
+
},
|
|
156
198
|
"refreshed_at": {
|
|
157
199
|
"anyOf": [
|
|
158
200
|
{
|
|
@@ -45,11 +45,9 @@
|
|
|
45
45
|
"enum": [
|
|
46
46
|
"ask",
|
|
47
47
|
"plan",
|
|
48
|
-
"
|
|
49
|
-
"agent",
|
|
50
|
-
"orchestrate"
|
|
48
|
+
"agent"
|
|
51
49
|
],
|
|
52
|
-
"description": "Canonical run mode: ask
|
|
50
|
+
"description": "Canonical run mode: ask and plan are read-only, agent writes. Engine strategies (race width, attempts, deep_scan, create, delegate) are flags on a mode, not modes.",
|
|
53
51
|
"default": "agent"
|
|
54
52
|
},
|
|
55
53
|
"scope": {
|
|
@@ -228,14 +226,18 @@
|
|
|
228
226
|
"type": "boolean",
|
|
229
227
|
"description": "Agent flag: iterate until the convergence predicate is clean (no fixed cap)."
|
|
230
228
|
},
|
|
231
|
-
"
|
|
229
|
+
"deepScan": {
|
|
232
230
|
"type": "boolean",
|
|
233
|
-
"description": "
|
|
231
|
+
"description": "Ask flag: bounded multi-scout research sweep with synthesis."
|
|
234
232
|
},
|
|
235
233
|
"create": {
|
|
236
234
|
"type": "boolean",
|
|
237
235
|
"description": "Agent flag: create-from-scratch intent."
|
|
238
236
|
},
|
|
237
|
+
"council": {
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"description": "Plan strategy: N harnesses draft plans in parallel, the primary merges into one unified plan + one question set. Plan mode only."
|
|
240
|
+
},
|
|
239
241
|
"synthesis": {
|
|
240
242
|
"type": "string",
|
|
241
243
|
"enum": [
|
|
@@ -374,19 +376,6 @@
|
|
|
374
376
|
},
|
|
375
377
|
"description": "Typed per-run approvals for changing auto-protected gate/test paths; does not bypass built-in critical/security path human gates."
|
|
376
378
|
},
|
|
377
|
-
"specPath": {
|
|
378
|
-
"$ref": "#/definitions/ControlRunAgainDraft/properties/request/properties/harnesses/items",
|
|
379
|
-
"description": "Path to a frozen SpecPack the run is held to."
|
|
380
|
-
},
|
|
381
|
-
"specId": {
|
|
382
|
-
"type": "string",
|
|
383
|
-
"description": "Id of the SpecPack the run is held to."
|
|
384
|
-
},
|
|
385
|
-
"specHash": {
|
|
386
|
-
"type": "string",
|
|
387
|
-
"minLength": 1,
|
|
388
|
-
"description": "Content hash of the SpecPack the run is held to."
|
|
389
|
-
},
|
|
390
379
|
"threadId": {
|
|
391
380
|
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
392
381
|
"description": "Thread this run is a turn of."
|
|
@@ -407,6 +396,29 @@
|
|
|
407
396
|
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
408
397
|
"description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
|
|
409
398
|
},
|
|
399
|
+
"planRef": {
|
|
400
|
+
"type": "object",
|
|
401
|
+
"properties": {
|
|
402
|
+
"runId": {
|
|
403
|
+
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId"
|
|
404
|
+
},
|
|
405
|
+
"sha256": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
408
|
+
},
|
|
409
|
+
"path": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"minLength": 1
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"required": [
|
|
415
|
+
"runId",
|
|
416
|
+
"sha256",
|
|
417
|
+
"path"
|
|
418
|
+
],
|
|
419
|
+
"additionalProperties": false,
|
|
420
|
+
"description": "Internal daemon handoff only; rejected (400) on POST /runs. Frozen-plan reference delivered to the executor as a file."
|
|
421
|
+
},
|
|
410
422
|
"reviewerPanel": {
|
|
411
423
|
"type": "array",
|
|
412
424
|
"items": {
|
|
@@ -431,10 +443,10 @@
|
|
|
431
443
|
"harness"
|
|
432
444
|
],
|
|
433
445
|
"additionalProperties": false,
|
|
434
|
-
"description": "One reviewer of an explicit reviewer panel."
|
|
446
|
+
"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`)."
|
|
435
447
|
},
|
|
436
448
|
"minItems": 1,
|
|
437
|
-
"description": "Explicit reviewer panel
|
|
449
|
+
"description": "Explicit reviewer panel — who reviews the change, one entry per reviewer as `harness=model:effort` (CLI `--reviewers \"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."
|
|
438
450
|
},
|
|
439
451
|
"authPreference": {
|
|
440
452
|
"type": "string",
|
|
@@ -457,19 +469,9 @@
|
|
|
457
469
|
],
|
|
458
470
|
"description": "Explicit per-run credential profile id; null FORCES the engine-default ladder past a thread-sticky profile; unknown/disabled ids refuse, never default."
|
|
459
471
|
},
|
|
460
|
-
"
|
|
461
|
-
"type": "
|
|
462
|
-
"
|
|
463
|
-
"suggest",
|
|
464
|
-
"auto_safe",
|
|
465
|
-
"auto_full"
|
|
466
|
-
],
|
|
467
|
-
"description": "Autonomy level for the orchestrate planner; only meaningful for mode=orchestrate."
|
|
468
|
-
},
|
|
469
|
-
"maxToolCalls": {
|
|
470
|
-
"type": "integer",
|
|
471
|
-
"exclusiveMinimum": 0,
|
|
472
|
-
"description": "Cap on orchestrate plan tool calls; only meaningful for mode=orchestrate."
|
|
472
|
+
"delegate": {
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"description": "Agent-only: inject the Claudexor delegation belt so the harness can spawn bounded isolated sub-runs; refused on non-agent modes or harnesses without mcp_injection."
|
|
473
475
|
},
|
|
474
476
|
"maxSeconds": {
|
|
475
477
|
"type": "integer",
|
|
@@ -497,7 +499,7 @@
|
|
|
497
499
|
}
|
|
498
500
|
},
|
|
499
501
|
"additionalProperties": false,
|
|
500
|
-
"description": "Request body for POST /runs: prompt, mode, scope, routing, strategy flags, budget, policies, and
|
|
502
|
+
"description": "Request body for POST /runs: prompt, mode, scope, routing, strategy flags, budget, policies, and thread linkage."
|
|
501
503
|
},
|
|
502
504
|
"differences": {
|
|
503
505
|
"type": "array",
|