@claudexor/schema 3.23.2 → 3.24.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/harness-maintenance.d.ts +938 -0
- package/dist/harness-maintenance.d.ts.map +1 -0
- package/dist/harness-maintenance.js +150 -0
- package/dist/harness-maintenance.js.map +1 -0
- 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/model-operation.d.ts +116 -16
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +13 -5
- package/dist/model-operation.js.map +1 -1
- package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +84 -0
- package/generated/ControlHarnessMaintenanceInventory.schema.json +345 -0
- package/generated/ControlHarnessMaintenanceOperation.schema.json +298 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +22 -1
- package/generated/ControlModelCatalogQueryResponse.schema.json +22 -1
- package/generated/ControlModelCatalogResponse.schema.json +22 -1
- package/package.json +2 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlHarnessMaintenanceCreateRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlHarnessMaintenanceCreateRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"harness": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"maxLength": 64
|
|
11
|
+
},
|
|
12
|
+
"target": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"kind": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "latest"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"kind"
|
|
24
|
+
],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"kind": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"const": "version"
|
|
33
|
+
},
|
|
34
|
+
"version": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$",
|
|
37
|
+
"description": "One exact vendor version."
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"kind",
|
|
42
|
+
"version"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"kind": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"const": "previous"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"kind"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"kind": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"const": "baseline"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"kind"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"description": "latest = the vendor's newest release; version = one exact version (up or down); previous = the proved version recorded before an earlier maintenance mutation; baseline = this release's tested pin."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"harness",
|
|
78
|
+
"target"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
84
|
+
}
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlHarnessMaintenanceInventory",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlHarnessMaintenanceInventory": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"observedAt": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "ISO-8601 timestamp string."
|
|
11
|
+
},
|
|
12
|
+
"harnesses": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"harness": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"mechanism": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"managed_npm",
|
|
24
|
+
"vendor_updater",
|
|
25
|
+
"vendor_script"
|
|
26
|
+
],
|
|
27
|
+
"description": "managed_npm installs one exact registry version in place; vendor_updater runs the vendor's own `update` on its canonical launcher (latest only); vendor_script has no engine-run update."
|
|
28
|
+
},
|
|
29
|
+
"maintainable": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Whether the engine can run an operation for it now."
|
|
32
|
+
},
|
|
33
|
+
"canCheckLatest": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "Whether checkLatest can observe the newest release for this mechanism (npm registry); false for vendor updaters, whose Update still targets latest."
|
|
36
|
+
},
|
|
37
|
+
"targets": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"latest",
|
|
43
|
+
"version",
|
|
44
|
+
"previous",
|
|
45
|
+
"baseline"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"description": "Targets an operation may name; empty when not maintainable."
|
|
49
|
+
},
|
|
50
|
+
"remedy": {
|
|
51
|
+
"type": [
|
|
52
|
+
"string",
|
|
53
|
+
"null"
|
|
54
|
+
],
|
|
55
|
+
"description": "Manual remedy when not maintainable."
|
|
56
|
+
},
|
|
57
|
+
"selection": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"kind": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": [
|
|
63
|
+
"managed",
|
|
64
|
+
"override",
|
|
65
|
+
"path",
|
|
66
|
+
"missing"
|
|
67
|
+
],
|
|
68
|
+
"description": "managed = Claudexor's managed npm copy; override = the explicit CLAUDEXOR_<HARNESS>_BIN program; path = another copy found on the harness PATH; missing = nothing launchable."
|
|
69
|
+
},
|
|
70
|
+
"binary": {
|
|
71
|
+
"type": [
|
|
72
|
+
"string",
|
|
73
|
+
"null"
|
|
74
|
+
],
|
|
75
|
+
"description": "The program the harness resolves and runs."
|
|
76
|
+
},
|
|
77
|
+
"version": {
|
|
78
|
+
"type": [
|
|
79
|
+
"string",
|
|
80
|
+
"null"
|
|
81
|
+
],
|
|
82
|
+
"description": "That selected program's own --version answer; never the managed copy's."
|
|
83
|
+
},
|
|
84
|
+
"overrideEnv": {
|
|
85
|
+
"type": [
|
|
86
|
+
"string",
|
|
87
|
+
"null"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [
|
|
92
|
+
"kind",
|
|
93
|
+
"binary",
|
|
94
|
+
"version",
|
|
95
|
+
"overrideEnv"
|
|
96
|
+
],
|
|
97
|
+
"additionalProperties": false
|
|
98
|
+
},
|
|
99
|
+
"installed": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"version": {
|
|
103
|
+
"type": [
|
|
104
|
+
"string",
|
|
105
|
+
"null"
|
|
106
|
+
],
|
|
107
|
+
"description": "The managed npm copy's package version."
|
|
108
|
+
},
|
|
109
|
+
"binary": {
|
|
110
|
+
"type": [
|
|
111
|
+
"string",
|
|
112
|
+
"null"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"proved": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"description": "The managed launcher reported exactly that version."
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"version",
|
|
122
|
+
"binary",
|
|
123
|
+
"proved"
|
|
124
|
+
],
|
|
125
|
+
"additionalProperties": false
|
|
126
|
+
},
|
|
127
|
+
"releaseTested": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"version": {
|
|
131
|
+
"type": [
|
|
132
|
+
"string",
|
|
133
|
+
"null"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"verification": {
|
|
137
|
+
"anyOf": [
|
|
138
|
+
{
|
|
139
|
+
"type": "string",
|
|
140
|
+
"enum": [
|
|
141
|
+
"release_verified",
|
|
142
|
+
"deterministic_only"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "null"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": [
|
|
152
|
+
"version",
|
|
153
|
+
"verification"
|
|
154
|
+
],
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"description": "This release's tested pin: a separate fact, never the selected target."
|
|
157
|
+
},
|
|
158
|
+
"available": {
|
|
159
|
+
"anyOf": [
|
|
160
|
+
{
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"version": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"observedAt": {
|
|
167
|
+
"$ref": "#/definitions/ControlHarnessMaintenanceInventory/properties/observedAt"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"version",
|
|
172
|
+
"observedAt"
|
|
173
|
+
],
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "null"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"description": "Last observed newest release; null = not checked (not 'up to date')."
|
|
181
|
+
},
|
|
182
|
+
"availableProblem": {
|
|
183
|
+
"anyOf": [
|
|
184
|
+
{
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"code": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"minLength": 1
|
|
190
|
+
},
|
|
191
|
+
"message": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"retryable": {
|
|
195
|
+
"type": "boolean"
|
|
196
|
+
},
|
|
197
|
+
"fieldErrors": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"additionalProperties": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"default": {}
|
|
206
|
+
},
|
|
207
|
+
"requiredActions": {
|
|
208
|
+
"type": "array",
|
|
209
|
+
"items": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"minLength": 1
|
|
212
|
+
},
|
|
213
|
+
"default": []
|
|
214
|
+
},
|
|
215
|
+
"evidenceRefs": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"minLength": 1
|
|
220
|
+
},
|
|
221
|
+
"default": []
|
|
222
|
+
},
|
|
223
|
+
"context": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"additionalProperties": {},
|
|
226
|
+
"default": {},
|
|
227
|
+
"description": "Typed route-specific recovery context; never a duplicate error message."
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"required": [
|
|
231
|
+
"code",
|
|
232
|
+
"message",
|
|
233
|
+
"retryable"
|
|
234
|
+
],
|
|
235
|
+
"additionalProperties": false
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "null"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"previous": {
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"version": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"operationId": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"required": [
|
|
255
|
+
"version",
|
|
256
|
+
"operationId"
|
|
257
|
+
],
|
|
258
|
+
"additionalProperties": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "null"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"description": "Proved earlier version from retained operation evidence; null when unknown."
|
|
265
|
+
},
|
|
266
|
+
"operation": {
|
|
267
|
+
"anyOf": [
|
|
268
|
+
{
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"id": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"state": {
|
|
275
|
+
"type": "string"
|
|
276
|
+
},
|
|
277
|
+
"phase": {
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
"targetVersion": {
|
|
281
|
+
"type": [
|
|
282
|
+
"string",
|
|
283
|
+
"null"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"finishedAt": {
|
|
287
|
+
"anyOf": [
|
|
288
|
+
{
|
|
289
|
+
"$ref": "#/definitions/ControlHarnessMaintenanceInventory/properties/observedAt"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "null"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"description": "ISO-8601 timestamp string."
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"id",
|
|
300
|
+
"state",
|
|
301
|
+
"phase",
|
|
302
|
+
"targetVersion",
|
|
303
|
+
"finishedAt"
|
|
304
|
+
],
|
|
305
|
+
"additionalProperties": false
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "null"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
"observedAt": {
|
|
313
|
+
"$ref": "#/definitions/ControlHarnessMaintenanceInventory/properties/observedAt"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"harness",
|
|
318
|
+
"mechanism",
|
|
319
|
+
"maintainable",
|
|
320
|
+
"canCheckLatest",
|
|
321
|
+
"targets",
|
|
322
|
+
"remedy",
|
|
323
|
+
"selection",
|
|
324
|
+
"installed",
|
|
325
|
+
"releaseTested",
|
|
326
|
+
"available",
|
|
327
|
+
"availableProblem",
|
|
328
|
+
"previous",
|
|
329
|
+
"operation",
|
|
330
|
+
"observedAt"
|
|
331
|
+
],
|
|
332
|
+
"additionalProperties": false
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"required": [
|
|
337
|
+
"observedAt",
|
|
338
|
+
"harnesses"
|
|
339
|
+
],
|
|
340
|
+
"additionalProperties": false,
|
|
341
|
+
"description": "Response for GET /v2/maintenance/harnesses."
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
345
|
+
}
|