@claudexor/schema 3.1.1 → 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 +89 -1
- 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 +4 -4
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/control-operation-responses.d.ts +133 -29
- 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 +1405 -197
- 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 +351 -79
- 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/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +3 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +15 -15
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +10 -14
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/readiness.d.ts +38 -0
- 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 +42 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +11 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +87 -49
- 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 +39 -1
- package/generated/ControlHarnessListResponse.schema.json +48 -2
- package/generated/ControlRunAgainDraft.schema.json +6 -2
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +116 -14
- package/generated/ControlRunListResponse.schema.json +93 -9
- package/generated/ControlRunStartRequest.schema.json +6 -2
- package/generated/ControlRunSummary.schema.json +93 -9
- package/generated/ControlThreadDetail.schema.json +64 -0
- package/generated/ControlThreadTurnRequest.schema.json +1 -1
- package/generated/DecisionRecord.schema.json +10 -1
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +48 -2
- package/generated/McpRunHandleResult.schema.json +72 -1
- package/generated/McpRunToolResult.schema.json +69 -0
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +61 -2
- package/generated/TaskContract.schema.json +43 -3
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +2 -2
|
@@ -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"
|
|
@@ -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",
|