@claudexor/schema 3.10.5 → 3.11.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 +24 -0
- 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/attempt-execution.d.ts +112 -0
- package/dist/attempt-execution.d.ts.map +1 -0
- package/dist/attempt-execution.js +15 -0
- package/dist/attempt-execution.js.map +1 -0
- package/dist/budget.d.ts +76 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +12 -0
- package/dist/budget.js.map +1 -1
- package/dist/control-harness-list.d.ts +18 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +1042 -0
- package/dist/control-harness-models.d.ts.map +1 -0
- package/dist/control-harness-models.js +47 -0
- package/dist/control-harness-models.js.map +1 -0
- package/dist/control-operation-responses.d.ts +73 -21
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +6 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +270 -85
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +12 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +6 -0
- package/dist/control-run-execution.d.ts.map +1 -1
- package/dist/control-run-execution.js +6 -0
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-apply.d.ts +12 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control.d.ts +181 -146
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +25 -33
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +36 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +16 -8
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +5 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +8 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -0
- package/dist/delivery.js.map +1 -1
- package/dist/files-manifest.d.ts +501 -0
- package/dist/files-manifest.d.ts.map +1 -0
- package/dist/files-manifest.js +77 -0
- package/dist/files-manifest.js.map +1 -0
- package/dist/harness-model.d.ts +86 -0
- package/dist/harness-model.d.ts.map +1 -0
- package/dist/harness-model.js +34 -0
- package/dist/harness-model.js.map +1 -0
- package/dist/harness.d.ts +183 -27
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +19 -31
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +379 -56
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +3 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/model-operation.d.ts +1371 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +36 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +94 -0
- package/dist/processing.d.ts.map +1 -0
- package/dist/processing.js +45 -0
- package/dist/processing.js.map +1 -0
- package/dist/readiness.d.ts +14 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-facts.d.ts +28 -28
- package/dist/run-facts.js +4 -4
- package/dist/run-facts.js.map +1 -1
- package/dist/run-strategy.d.ts +1 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +2 -0
- package/dist/run-strategy.js.map +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +22 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +9 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +2 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +263 -41
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +5 -8
- package/dist/telemetry.js.map +1 -1
- package/dist/workproduct.d.ts +4 -4
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +4 -4
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +14 -11
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +14 -9
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +25 -0
- package/generated/AttemptExecutionEvidence.schema.json +187 -0
- package/generated/BudgetLease.schema.json +39 -0
- package/generated/ControlApplyCheckRequest.schema.json +7 -0
- package/generated/ControlApplyRequest.schema.json +7 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
- package/generated/ControlDeliveryResponse.schema.json +10 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
- package/generated/ControlHarnessListResponse.schema.json +25 -0
- package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
- package/generated/ControlHarnessModelsResponse.schema.json +89 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
- package/generated/ControlModelCatalogResponse.schema.json +86 -0
- package/generated/ControlModelOperationDetail.schema.json +39 -0
- package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
- package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
- package/generated/ControlRunAgainDraft.schema.json +29 -0
- package/generated/ControlRunDecisionRequest.schema.json +4 -3
- package/generated/ControlRunDecisionResponse.schema.json +2 -1
- package/generated/ControlRunDetail.schema.json +234 -28
- package/generated/ControlRunListResponse.schema.json +18 -4
- package/generated/ControlRunStartRequest.schema.json +29 -0
- package/generated/ControlRunSummary.schema.json +18 -4
- package/generated/ControlThreadApplyResponse.schema.json +10 -0
- package/generated/ControlThreadDetail.schema.json +9 -4
- package/generated/ControlThreadTurnRequest.schema.json +45 -0
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/HarnessEvent.schema.json +146 -0
- package/generated/HarnessManifest.schema.json +25 -0
- package/generated/HarnessModel.schema.json +89 -0
- package/generated/HarnessStatusDto.schema.json +25 -0
- package/generated/McpRunHandleResult.schema.json +205 -9
- package/generated/McpRunToolResult.schema.json +196 -9
- package/generated/ModelCallRequest.schema.json +9 -0
- package/generated/ModelCallResult.schema.json +124 -0
- package/generated/ProcessingCapability.schema.json +95 -0
- package/generated/ProcessingCostBasis.schema.json +45 -0
- package/generated/ProcessingPreference.schema.json +15 -0
- package/generated/ProcessingReceipt.schema.json +94 -0
- package/generated/RunFacts.schema.json +6 -1
- package/generated/RunTelemetry.schema.json +168 -1
- package/generated/TaskContract.schema.json +9 -0
- package/generated/UsageCostBasis.schema.json +31 -0
- package/generated/UsageCostSummary.schema.json +44 -0
- package/generated/WorkProduct.schema.json +4 -3
- package/generated/WorkspaceEnvelope.schema.json +25 -5
- package/generated/WorkspaceFilesManifest.schema.json +160 -0
- package/generated/WorkspaceKind.schema.json +13 -0
- package/package.json +2 -2
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UsageCostSummary",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"UsageCostSummary": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"cashUsd": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"minimum": 0
|
|
10
|
+
},
|
|
11
|
+
"valuationUsd": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"unknownUsd": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"minimum": 0
|
|
18
|
+
},
|
|
19
|
+
"cashKnowledge": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"exact",
|
|
23
|
+
"estimated",
|
|
24
|
+
"unknown"
|
|
25
|
+
],
|
|
26
|
+
"description": "Quality of incremental-cash cost evidence for an operation."
|
|
27
|
+
},
|
|
28
|
+
"valuationKnowledge": {
|
|
29
|
+
"$ref": "#/definitions/UsageCostSummary/properties/cashKnowledge"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"cashUsd",
|
|
34
|
+
"valuationUsd",
|
|
35
|
+
"unknownUsd",
|
|
36
|
+
"cashKnowledge",
|
|
37
|
+
"valuationKnowledge"
|
|
38
|
+
],
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
44
|
+
}
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
"enum": [
|
|
15
15
|
"patch",
|
|
16
16
|
"new_repo",
|
|
17
|
-
"report"
|
|
17
|
+
"report",
|
|
18
|
+
"files"
|
|
18
19
|
],
|
|
19
|
-
"description": "Kind of work product
|
|
20
|
+
"description": "Kind of work product: Git patch, new repository, report, or complete directory file manifest with retained bytes."
|
|
20
21
|
},
|
|
21
22
|
"source_task_id": {
|
|
22
23
|
"type": "string",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"source_task_id"
|
|
50
51
|
],
|
|
51
52
|
"additionalProperties": false,
|
|
52
|
-
"description": "The deliverable a run produced
|
|
53
|
+
"description": "The deliverable a run produced, referenced by apply/delivery verbs; files uses files.manifest and meta.manifest_sha256."
|
|
53
54
|
}
|
|
54
55
|
},
|
|
55
56
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -24,8 +24,11 @@
|
|
|
24
24
|
"description": "Absolute path of the source repository root."
|
|
25
25
|
},
|
|
26
26
|
"base_ref": {
|
|
27
|
-
"type":
|
|
28
|
-
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
],
|
|
31
|
+
"description": "Git base ref; null for directory execution."
|
|
29
32
|
},
|
|
30
33
|
"base_sha": {
|
|
31
34
|
"type": [
|
|
@@ -37,11 +40,28 @@
|
|
|
37
40
|
},
|
|
38
41
|
"worktree_path": {
|
|
39
42
|
"type": "string",
|
|
40
|
-
"description": "Absolute
|
|
43
|
+
"description": "Absolute actual execution directory, whether Git-backed or plain."
|
|
41
44
|
},
|
|
42
45
|
"branch_name": {
|
|
46
|
+
"type": [
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
49
|
+
],
|
|
50
|
+
"description": "Clone-local branch; null for directory execution."
|
|
51
|
+
},
|
|
52
|
+
"workspace_kind": {
|
|
43
53
|
"type": "string",
|
|
44
|
-
"
|
|
54
|
+
"enum": [
|
|
55
|
+
"git",
|
|
56
|
+
"directory"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"scope_paths": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 1
|
|
64
|
+
}
|
|
45
65
|
},
|
|
46
66
|
"home_dir": {
|
|
47
67
|
"type": "string",
|
|
@@ -87,7 +107,7 @@
|
|
|
87
107
|
"created_at"
|
|
88
108
|
],
|
|
89
109
|
"additionalProperties": false,
|
|
90
|
-
"description": "
|
|
110
|
+
"description": "Execution directory and scoped HOME/configs. Git checkouts retain their Git identity; directory execution uses a selected copy or the live source without Git initialization."
|
|
91
111
|
}
|
|
92
112
|
},
|
|
93
113
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/WorkspaceFilesManifest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"WorkspaceFilesManifest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"sourceRoot": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
14
|
+
},
|
|
15
|
+
"executionRoot": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"isolation": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"live",
|
|
23
|
+
"envelope"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"scopePaths": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"complete": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "Complete bytes for the declared footprint, not a whole-source-tree claim."
|
|
36
|
+
},
|
|
37
|
+
"entries": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"path": {
|
|
43
|
+
"$ref": "#/definitions/WorkspaceFilesManifest/properties/scopePaths/items"
|
|
44
|
+
},
|
|
45
|
+
"before": {
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"anyOf": [
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"kind": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"const": "file"
|
|
55
|
+
},
|
|
56
|
+
"sha256": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
59
|
+
},
|
|
60
|
+
"sizeBytes": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"minimum": 0
|
|
63
|
+
},
|
|
64
|
+
"mode": {
|
|
65
|
+
"type": "integer",
|
|
66
|
+
"minimum": 0
|
|
67
|
+
},
|
|
68
|
+
"artifactPath": {
|
|
69
|
+
"$ref": "#/definitions/WorkspaceFilesManifest/properties/entries/items/properties/path"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"kind",
|
|
74
|
+
"sha256",
|
|
75
|
+
"sizeBytes",
|
|
76
|
+
"mode"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "object",
|
|
82
|
+
"properties": {
|
|
83
|
+
"kind": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"const": "directory"
|
|
86
|
+
},
|
|
87
|
+
"mode": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"minimum": 0
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": [
|
|
93
|
+
"kind",
|
|
94
|
+
"mode"
|
|
95
|
+
],
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"kind": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"const": "symlink"
|
|
104
|
+
},
|
|
105
|
+
"target": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"kind",
|
|
111
|
+
"target"
|
|
112
|
+
],
|
|
113
|
+
"additionalProperties": false
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "null"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "string",
|
|
122
|
+
"const": "unknown"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"description": "Null proves absence; unknown means this path has no captured application preimage."
|
|
126
|
+
},
|
|
127
|
+
"after": {
|
|
128
|
+
"anyOf": [
|
|
129
|
+
{
|
|
130
|
+
"$ref": "#/definitions/WorkspaceFilesManifest/properties/entries/items/properties/before/anyOf/0"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "null"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"path",
|
|
140
|
+
"before",
|
|
141
|
+
"after"
|
|
142
|
+
],
|
|
143
|
+
"additionalProperties": false
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"version",
|
|
149
|
+
"sourceRoot",
|
|
150
|
+
"executionRoot",
|
|
151
|
+
"isolation",
|
|
152
|
+
"scopePaths",
|
|
153
|
+
"complete",
|
|
154
|
+
"entries"
|
|
155
|
+
],
|
|
156
|
+
"additionalProperties": false
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
160
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
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": "^4.4.3",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "3.
|
|
23
|
+
"@claudexor/util": "3.11.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|