@claudexor/schema 3.24.0 → 4.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/account-resources.d.ts +6214 -0
- package/dist/account-resources.d.ts.map +1 -0
- package/dist/account-resources.js +165 -0
- package/dist/account-resources.js.map +1 -0
- package/dist/account-target.d.ts +39 -0
- package/dist/account-target.d.ts.map +1 -0
- package/dist/account-target.js +16 -0
- package/dist/account-target.js.map +1 -0
- package/dist/config.d.ts +74 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/control.d.ts +226 -18
- package/dist/control.d.ts.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +5987 -126
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile-snapshot.js +9 -1
- package/dist/credential-profile-snapshot.js.map +1 -1
- package/dist/daemon-status.d.ts +671 -5
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/daemon-status.js +31 -1
- package/dist/daemon-status.js.map +1 -1
- package/dist/harness-quota.d.ts +81 -0
- package/dist/harness-quota.d.ts.map +1 -0
- package/dist/harness-quota.js +20 -0
- package/dist/harness-quota.js.map +1 -0
- package/dist/harness.d.ts +116 -99
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +2 -12
- package/dist/harness.js.map +1 -1
- package/dist/host-binding.d.ts +23 -0
- package/dist/host-binding.d.ts.map +1 -0
- package/dist/host-binding.js +14 -0
- package/dist/host-binding.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/model-operation.d.ts +93 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +4 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/project.d.ts +48 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +8 -0
- package/dist/project.js.map +1 -1
- package/dist/quota-read.d.ts +554 -0
- package/dist/quota-read.d.ts.map +1 -0
- package/dist/quota-read.js +18 -0
- package/dist/quota-read.js.map +1 -0
- package/dist/quota.d.ts +1 -8
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +1 -10
- package/dist/quota.js.map +1 -1
- package/dist/runtime-concurrency.d.ts +359 -23
- package/dist/runtime-concurrency.d.ts.map +1 -1
- package/dist/runtime-concurrency.js +61 -17
- package/dist/runtime-concurrency.js.map +1 -1
- package/dist/store-status.d.ts +439 -0
- package/dist/store-status.d.ts.map +1 -0
- package/dist/store-status.js +58 -0
- package/dist/store-status.js.map +1 -0
- package/generated/ControlAccountResetRequest.schema.json +42 -0
- package/generated/ControlAccountResetResponse.schema.json +1024 -0
- package/generated/ControlAccountResourcesResponse.schema.json +912 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +600 -0
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2324 -0
- package/generated/ControlDaemonStatus.schema.json +535 -7
- package/generated/ControlModelOperationDetail.schema.json +103 -0
- package/generated/ControlProjectRegisterResponse.schema.json +82 -0
- package/generated/ControlQuotaFreshnessResponse.schema.json +377 -0
- package/generated/ControlQuotaQueryResponse.schema.json +1048 -0
- package/generated/ControlQuotaReadRequest.schema.json +19 -0
- package/generated/ControlQuotaRefreshRequest.schema.json +18 -0
- package/generated/ControlSettingsSnapshot.schema.json +59 -6
- package/generated/ExternalHostBinding.schema.json +43 -0
- package/generated/GlobalConfig.schema.json +26 -8
- package/generated/HarnessEvent.schema.json +23 -0
- package/package.json +3 -3
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlQuotaReadRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlQuotaReadRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"view": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"resources",
|
|
11
|
+
"constraint_freshness"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
19
|
+
}
|
|
@@ -4,6 +4,24 @@
|
|
|
4
4
|
"ControlQuotaRefreshRequest": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"target": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"harness": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1
|
|
13
|
+
},
|
|
14
|
+
"profile_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"harness",
|
|
21
|
+
"profile_id"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
7
25
|
"model": {
|
|
8
26
|
"type": "string",
|
|
9
27
|
"minLength": 1,
|
|
@@ -214,22 +214,75 @@
|
|
|
214
214
|
"type": "object",
|
|
215
215
|
"properties": {
|
|
216
216
|
"maxConcurrent": {
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
"anyOf": [
|
|
218
|
+
{
|
|
219
|
+
"type": "integer",
|
|
220
|
+
"minimum": -9007199254740991,
|
|
221
|
+
"maximum": 9007199254740991,
|
|
222
|
+
"exclusiveMinimum": 0
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "string",
|
|
226
|
+
"const": "unlimited"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
221
229
|
},
|
|
222
|
-
"
|
|
230
|
+
"maxConcurrentNonModelJobs": {
|
|
223
231
|
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent"
|
|
224
232
|
},
|
|
225
|
-
"
|
|
233
|
+
"maxConcurrentModelOperations": {
|
|
226
234
|
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent"
|
|
227
235
|
},
|
|
236
|
+
"maxParallelCandidates": {
|
|
237
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent/anyOf/0"
|
|
238
|
+
},
|
|
239
|
+
"maxDeepScanWidth": {
|
|
240
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent/anyOf/0"
|
|
241
|
+
},
|
|
228
242
|
"maxCouncilMembers": {
|
|
229
243
|
"type": "integer",
|
|
230
244
|
"minimum": 2,
|
|
231
245
|
"maximum": 9007199254740991,
|
|
232
246
|
"exclusiveMinimum": 0
|
|
247
|
+
},
|
|
248
|
+
"sources": {
|
|
249
|
+
"type": "object",
|
|
250
|
+
"properties": {
|
|
251
|
+
"max_concurrent": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"enum": [
|
|
254
|
+
"default",
|
|
255
|
+
"config",
|
|
256
|
+
"environment",
|
|
257
|
+
"embedder",
|
|
258
|
+
"unknown"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"max_concurrent_non_model_jobs": {
|
|
262
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/sources/properties/max_concurrent"
|
|
263
|
+
},
|
|
264
|
+
"max_concurrent_model_operations": {
|
|
265
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/sources/properties/max_concurrent"
|
|
266
|
+
},
|
|
267
|
+
"max_parallel_candidates": {
|
|
268
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/sources/properties/max_concurrent"
|
|
269
|
+
},
|
|
270
|
+
"max_deep_scan_width": {
|
|
271
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/sources/properties/max_concurrent"
|
|
272
|
+
},
|
|
273
|
+
"max_council_members": {
|
|
274
|
+
"$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/sources/properties/max_concurrent"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"required": [
|
|
278
|
+
"max_concurrent",
|
|
279
|
+
"max_concurrent_non_model_jobs",
|
|
280
|
+
"max_concurrent_model_operations",
|
|
281
|
+
"max_parallel_candidates",
|
|
282
|
+
"max_deep_scan_width",
|
|
283
|
+
"max_council_members"
|
|
284
|
+
],
|
|
285
|
+
"additionalProperties": false
|
|
233
286
|
}
|
|
234
287
|
},
|
|
235
288
|
"required": [
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ExternalHostBinding",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ExternalHostBinding": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"minItems": 1,
|
|
14
|
+
"items": [
|
|
15
|
+
{
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"additionalItems": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"configDir": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1
|
|
27
|
+
},
|
|
28
|
+
"daemonOwner": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"const": "external"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"schemaVersion",
|
|
35
|
+
"command",
|
|
36
|
+
"configDir",
|
|
37
|
+
"daemonOwner"
|
|
38
|
+
],
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
43
|
+
}
|
|
@@ -239,20 +239,38 @@
|
|
|
239
239
|
"description": "Inactivity watchdog for harness streams: no events for this window aborts the stream and fails the attempt with a typed timeout."
|
|
240
240
|
},
|
|
241
241
|
"max_concurrent": {
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
"anyOf": [
|
|
243
|
+
{
|
|
244
|
+
"type": "integer",
|
|
245
|
+
"minimum": -9007199254740991,
|
|
246
|
+
"maximum": 9007199254740991,
|
|
247
|
+
"exclusiveMinimum": 0
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "string",
|
|
251
|
+
"const": "unlimited"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"default": "unlimited",
|
|
255
|
+
"description": "Global regular-job limit across model and non-model classes, or unlimited; applied at startup."
|
|
248
256
|
},
|
|
249
|
-
"
|
|
257
|
+
"max_concurrent_non_model_jobs": {
|
|
258
|
+
"$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent",
|
|
259
|
+
"default": "unlimited",
|
|
260
|
+
"description": "Regular non-model jobs admitted at once, or unlimited; applied at startup."
|
|
261
|
+
},
|
|
262
|
+
"max_concurrent_model_operations": {
|
|
250
263
|
"$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent",
|
|
264
|
+
"default": "unlimited",
|
|
265
|
+
"description": "Model-operation runners admitted at once, or unlimited; applied at startup."
|
|
266
|
+
},
|
|
267
|
+
"max_parallel_candidates": {
|
|
268
|
+
"$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent/anyOf/0",
|
|
251
269
|
"default": 4,
|
|
252
270
|
"description": "Active best-of candidates or deep-scan scouts within one run."
|
|
253
271
|
},
|
|
254
272
|
"max_deep_scan_width": {
|
|
255
|
-
"$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent",
|
|
273
|
+
"$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent/anyOf/0",
|
|
256
274
|
"default": 8,
|
|
257
275
|
"description": "Maximum scout count in one deep scan."
|
|
258
276
|
},
|
|
@@ -734,6 +734,29 @@
|
|
|
734
734
|
"minLength": 1,
|
|
735
735
|
"description": "Credential profile the attempt runs under; absent = engine-default credentials (INV-135 attribution)."
|
|
736
736
|
},
|
|
737
|
+
"account_usage": {
|
|
738
|
+
"type": "array",
|
|
739
|
+
"items": {
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"code": {
|
|
743
|
+
"type": "string"
|
|
744
|
+
},
|
|
745
|
+
"detail": {
|
|
746
|
+
"type": [
|
|
747
|
+
"string",
|
|
748
|
+
"null"
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"required": [
|
|
753
|
+
"code",
|
|
754
|
+
"detail"
|
|
755
|
+
],
|
|
756
|
+
"additionalProperties": false
|
|
757
|
+
},
|
|
758
|
+
"description": "Native informational overage diagnostics translated by the adapter; never inference admission authority."
|
|
759
|
+
},
|
|
737
760
|
"quota": {
|
|
738
761
|
"type": "object",
|
|
739
762
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.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.6.5",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "
|
|
23
|
+
"@claudexor/util": "4.0.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"url": "https://github.com/razzant/claudexor/issues"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": ">=
|
|
35
|
+
"node": ">=24.15.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|