@claudexor/schema 3.1.0 → 3.1.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/agent-capabilities.d.ts +97 -9
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +5 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +102 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +17 -0
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/budget.d.ts +13 -13
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +70 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +160 -56
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +25 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1413 -205
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +6 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +2 -2
- package/dist/control.d.ts +486 -163
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +23 -28
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +7 -3
- package/dist/decision.js.map +1 -1
- package/dist/delegation.d.ts +73 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/delegation.js +120 -0
- package/dist/delegation.js.map +1 -0
- package/dist/effort.d.ts +132 -0
- package/dist/effort.d.ts.map +1 -0
- package/dist/effort.js +167 -0
- package/dist/effort.js.map +1 -0
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +9 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/harness.d.ts +113 -40
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +40 -27
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +16 -16
- package/dist/readiness.d.ts +86 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +4 -0
- package/dist/readiness.js.map +1 -1
- package/dist/request-requirements.d.ts +7 -7
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +2 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/task.d.ts +104 -59
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +20 -8
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +103 -65
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +6 -9
- package/dist/telemetry.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +7 -7
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +43 -9
- package/generated/ControlHarnessListResponse.schema.json +93 -11
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -8
- package/generated/ControlRunAgainDraft.schema.json +9 -9
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +119 -21
- package/generated/ControlRunListResponse.schema.json +96 -16
- package/generated/ControlRunStartRequest.schema.json +9 -9
- package/generated/ControlRunSummary.schema.json +96 -16
- package/generated/ControlSettingsSnapshot.schema.json +4 -8
- package/generated/ControlSettingsUpdateRequest.schema.json +4 -8
- package/generated/ControlThreadDetail.schema.json +64 -0
- package/generated/ControlThreadTurnRequest.schema.json +4 -8
- package/generated/DecisionRecord.schema.json +10 -1
- package/generated/GlobalConfig.schema.json +4 -8
- package/generated/HarnessManifest.schema.json +47 -11
- package/generated/HarnessStatusDto.schema.json +93 -11
- package/generated/McpRunHandleResult.schema.json +72 -1
- package/generated/McpRunToolResult.schema.json +69 -0
- package/generated/ProjectConfig.schema.json +26 -0
- package/generated/RunEvent.schema.json +2 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +61 -2
- package/generated/TaskContract.schema.json +48 -12
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +2 -2
|
@@ -260,7 +260,8 @@
|
|
|
260
260
|
"type": "string",
|
|
261
261
|
"enum": [
|
|
262
262
|
"browser",
|
|
263
|
-
"path_deny"
|
|
263
|
+
"path_deny",
|
|
264
|
+
"delegation"
|
|
264
265
|
]
|
|
265
266
|
},
|
|
266
267
|
"harness_id": {
|
|
@@ -284,6 +285,7 @@
|
|
|
284
285
|
"manifest_unsupported",
|
|
285
286
|
"web_policy_off",
|
|
286
287
|
"access_profile_incompatible",
|
|
288
|
+
"runtime_unavailable",
|
|
287
289
|
"postdiff_only"
|
|
288
290
|
]
|
|
289
291
|
},
|
|
@@ -383,7 +385,7 @@
|
|
|
383
385
|
"recovered": {
|
|
384
386
|
"type": "boolean",
|
|
385
387
|
"default": false,
|
|
386
|
-
"description": "True when a later successful result
|
|
388
|
+
"description": "True when a later successful result matches this failed invocation."
|
|
387
389
|
},
|
|
388
390
|
"tool_use_id": {
|
|
389
391
|
"type": [
|
|
@@ -780,6 +782,61 @@
|
|
|
780
782
|
"default": [],
|
|
781
783
|
"description": "All selected-lane capability receipts for this run."
|
|
782
784
|
},
|
|
785
|
+
"delegation": {
|
|
786
|
+
"anyOf": [
|
|
787
|
+
{
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"requested": {
|
|
791
|
+
"type": "boolean",
|
|
792
|
+
"default": false
|
|
793
|
+
},
|
|
794
|
+
"effective": {
|
|
795
|
+
"type": "boolean",
|
|
796
|
+
"default": false
|
|
797
|
+
},
|
|
798
|
+
"used": {
|
|
799
|
+
"type": "boolean",
|
|
800
|
+
"default": false
|
|
801
|
+
},
|
|
802
|
+
"reason": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"enum": [
|
|
805
|
+
"pending",
|
|
806
|
+
"not_requested",
|
|
807
|
+
"injected_unused",
|
|
808
|
+
"used",
|
|
809
|
+
"runtime_unavailable",
|
|
810
|
+
"manifest_unsupported",
|
|
811
|
+
"access_profile_incompatible",
|
|
812
|
+
"partially_degraded",
|
|
813
|
+
"startup_failed"
|
|
814
|
+
],
|
|
815
|
+
"default": "not_requested"
|
|
816
|
+
},
|
|
817
|
+
"remediation": {
|
|
818
|
+
"anyOf": [
|
|
819
|
+
{
|
|
820
|
+
"type": "string",
|
|
821
|
+
"minLength": 1
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"type": "null"
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"default": null
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"additionalProperties": false,
|
|
831
|
+
"description": "Engine-owned Delegate requested/effective/used receipt; surfaces project it without parsing model output."
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"type": "null"
|
|
835
|
+
}
|
|
836
|
+
],
|
|
837
|
+
"description": "Run-level Delegate receipt aggregated from engine injection and typed tool evidence; null on legacy artifacts that did not record it.",
|
|
838
|
+
"default": null
|
|
839
|
+
},
|
|
783
840
|
"tool_warnings_total": {
|
|
784
841
|
"type": "integer",
|
|
785
842
|
"minimum": 0,
|
|
@@ -948,6 +1005,8 @@
|
|
|
948
1005
|
"quality_tier",
|
|
949
1006
|
"expiring_quota_slack",
|
|
950
1007
|
"all_incremental_cash_unknown",
|
|
1008
|
+
"delegate_effective_first",
|
|
1009
|
+
"explicit_primary",
|
|
951
1010
|
"declared_order"
|
|
952
1011
|
],
|
|
953
1012
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
@@ -70,6 +70,48 @@
|
|
|
70
70
|
"additionalProperties": false,
|
|
71
71
|
"description": "Canonical run mode for this task."
|
|
72
72
|
},
|
|
73
|
+
"delegation_requested": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"default": false,
|
|
76
|
+
"description": "Whether the caller requested the Delegate agent strategy."
|
|
77
|
+
},
|
|
78
|
+
"run_lineage": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"parent_run_id": {
|
|
82
|
+
"anyOf": [
|
|
83
|
+
{
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1,
|
|
86
|
+
"description": "Non-empty identifier string."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "null"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"description": "Non-empty identifier string.",
|
|
93
|
+
"default": null
|
|
94
|
+
},
|
|
95
|
+
"delegated_from_run_id": {
|
|
96
|
+
"anyOf": [
|
|
97
|
+
{
|
|
98
|
+
"$ref": "#/definitions/TaskContract/properties/run_lineage/properties/parent_run_id/anyOf/0"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "null"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"description": "Non-empty identifier string.",
|
|
105
|
+
"default": null
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"default": {
|
|
110
|
+
"parent_run_id": null,
|
|
111
|
+
"delegated_from_run_id": null
|
|
112
|
+
},
|
|
113
|
+
"description": "Server-owned run lineage; delegated_from_run_id is present only for a Claudexor belt child."
|
|
114
|
+
},
|
|
73
115
|
"user_intent": {
|
|
74
116
|
"type": "object",
|
|
75
117
|
"properties": {
|
|
@@ -118,9 +160,7 @@
|
|
|
118
160
|
"credential_profile_id": {
|
|
119
161
|
"anyOf": [
|
|
120
162
|
{
|
|
121
|
-
"
|
|
122
|
-
"minLength": 1,
|
|
123
|
-
"description": "Non-empty identifier string."
|
|
163
|
+
"$ref": "#/definitions/TaskContract/properties/run_lineage/properties/parent_run_id/anyOf/0"
|
|
124
164
|
},
|
|
125
165
|
{
|
|
126
166
|
"type": "null"
|
|
@@ -151,7 +191,7 @@
|
|
|
151
191
|
"type": "string"
|
|
152
192
|
},
|
|
153
193
|
"default": [],
|
|
154
|
-
"description": "Approval globs — path globs (e.g. `migrations/**`, `**/*.env`) whose changes escalate a run to a human-approval gate before it can be applied.
|
|
194
|
+
"description": "Approval globs — path globs (e.g. `migrations/**`, `**/*.env`) whose matching create, modify, delete, or rename changes escalate a run to a human-approval gate before it can be applied. Project-config-owned and never suppressed by per-run protected-path approvals."
|
|
155
195
|
},
|
|
156
196
|
"deny_paths": {
|
|
157
197
|
"type": "array",
|
|
@@ -512,14 +552,10 @@
|
|
|
512
552
|
"type": "object",
|
|
513
553
|
"additionalProperties": {
|
|
514
554
|
"type": "string",
|
|
515
|
-
"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
"xhigh",
|
|
520
|
-
"max"
|
|
521
|
-
],
|
|
522
|
-
"description": "Cross-harness reasoning-effort level, weakest to strongest; adapters declare the subset they support and a shared normalizer clamps requests onto the nearest supported level."
|
|
555
|
+
"minLength": 1,
|
|
556
|
+
"maxLength": 32,
|
|
557
|
+
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
558
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, and refuses levels the advertised ladder has never seen."
|
|
523
559
|
},
|
|
524
560
|
"default": {},
|
|
525
561
|
"description": "Resolved harness-scoped reasoning-effort map for this run (harness id to effort), frozen so an Exact Retry replays the same effort instead of re-resolving current settings."
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"base_ref": {
|
|
27
27
|
"type": "string",
|
|
28
|
-
"description": "Git ref the
|
|
28
|
+
"description": "Git ref the checkout was created from."
|
|
29
29
|
},
|
|
30
30
|
"base_sha": {
|
|
31
31
|
"type": [
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
},
|
|
38
38
|
"worktree_path": {
|
|
39
39
|
"type": "string",
|
|
40
|
-
"description": "Absolute path of the isolated
|
|
40
|
+
"description": "Absolute path of the isolated Git checkout."
|
|
41
41
|
},
|
|
42
42
|
"branch_name": {
|
|
43
43
|
"type": "string",
|
|
44
|
-
"description": "
|
|
44
|
+
"description": "Clone-local branch created for the checkout."
|
|
45
45
|
},
|
|
46
46
|
"home_dir": {
|
|
47
47
|
"type": "string",
|
|
48
|
-
"description": "Scoped HOME directory for the harness process (kept outside the
|
|
48
|
+
"description": "Scoped HOME directory for the harness process (kept outside the checkout)."
|
|
49
49
|
},
|
|
50
50
|
"harness_config_dirs": {
|
|
51
51
|
"type": "object",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"type": "string"
|
|
54
54
|
},
|
|
55
55
|
"default": {},
|
|
56
|
-
"description": "Scoped per-harness config directories keyed by harness id (kept outside the
|
|
56
|
+
"description": "Scoped per-harness config directories keyed by harness id (kept outside the checkout)."
|
|
57
57
|
},
|
|
58
58
|
"policy_profile": {
|
|
59
59
|
"type": "string",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"created_at"
|
|
88
88
|
],
|
|
89
89
|
"additionalProperties": false,
|
|
90
|
-
"description": "An isolated execution envelope: a
|
|
90
|
+
"description": "An isolated execution envelope: a private Git checkout plus scoped env/HOME/harness-config isolation."
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^3.24.1",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "3.1.
|
|
23
|
+
"@claudexor/util": "3.1.2"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|