@claudexor/schema 3.12.10 → 3.14.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.
Files changed (66) hide show
  1. package/dist/agent-capabilities.d.ts.map +1 -1
  2. package/dist/agent-capabilities.js +1 -1
  3. package/dist/agent-capabilities.js.map +1 -1
  4. package/dist/config.d.ts +48 -0
  5. package/dist/config.d.ts.map +1 -1
  6. package/dist/config.js +2 -0
  7. package/dist/config.js.map +1 -1
  8. package/dist/control-harness-models.d.ts +66 -0
  9. package/dist/control-harness-models.d.ts.map +1 -1
  10. package/dist/control.d.ts +130 -4
  11. package/dist/control.d.ts.map +1 -1
  12. package/dist/control.js +6 -2
  13. package/dist/control.js.map +1 -1
  14. package/dist/harness-model.d.ts +11 -0
  15. package/dist/harness-model.d.ts.map +1 -1
  16. package/dist/harness-model.js +14 -0
  17. package/dist/harness-model.js.map +1 -1
  18. package/dist/harness.d.ts +24 -24
  19. package/dist/harness.d.ts.map +1 -1
  20. package/dist/harness.js +13 -13
  21. package/dist/harness.js.map +1 -1
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/model-operation.d.ts +56 -0
  27. package/dist/model-operation.d.ts.map +1 -1
  28. package/dist/model-operation.js +12 -0
  29. package/dist/model-operation.js.map +1 -1
  30. package/dist/plan.d.ts.map +1 -1
  31. package/dist/plan.js +5 -1
  32. package/dist/plan.js.map +1 -1
  33. package/dist/readiness.d.ts +5 -3
  34. package/dist/readiness.d.ts.map +1 -1
  35. package/dist/readiness.js +7 -5
  36. package/dist/readiness.js.map +1 -1
  37. package/dist/run-strategy.d.ts.map +1 -1
  38. package/dist/run-strategy.js +5 -3
  39. package/dist/run-strategy.js.map +1 -1
  40. package/dist/runtime-concurrency.d.ts +113 -0
  41. package/dist/runtime-concurrency.d.ts.map +1 -0
  42. package/dist/runtime-concurrency.js +62 -0
  43. package/dist/runtime-concurrency.js.map +1 -0
  44. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  45. package/generated/ControlCredentialProfilesQueryResponse.schema.json +4 -4
  46. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +4 -4
  47. package/generated/ControlHarnessAccountCatalog.schema.json +15 -0
  48. package/generated/ControlHarnessAccountModelsResponse.schema.json +15 -0
  49. package/generated/ControlHarnessListResponse.schema.json +4 -4
  50. package/generated/ControlHarnessModelsQueryResponse.schema.json +15 -0
  51. package/generated/ControlHarnessModelsResponse.schema.json +15 -0
  52. package/generated/ControlModelAccountCatalogResponse.schema.json +35 -7
  53. package/generated/ControlModelCatalogQueryResponse.schema.json +35 -7
  54. package/generated/ControlModelCatalogResponse.schema.json +35 -7
  55. package/generated/ControlRunAgainDraft.schema.json +2 -0
  56. package/generated/ControlRunDetail.schema.json +1 -1
  57. package/generated/ControlRunStartRequest.schema.json +2 -0
  58. package/generated/ControlSettingsSnapshot.schema.json +55 -0
  59. package/generated/ControlThreadTurnRequest.schema.json +2 -0
  60. package/generated/GlobalConfig.schema.json +26 -0
  61. package/generated/HarnessManifest.schema.json +2 -2
  62. package/generated/HarnessModel.schema.json +15 -0
  63. package/generated/HarnessStatusDto.schema.json +4 -4
  64. package/generated/McpRunHandleResult.schema.json +1 -1
  65. package/generated/McpRunToolResult.schema.json +1 -1
  66. package/package.json +2 -2
@@ -31,16 +31,44 @@
31
31
  "pattern": "\\S",
32
32
  "description": "provider_http means the catalog body was read and validated from a successful upstream HTTP response at observedAt. Other values do not certify provider contact."
33
33
  },
34
+ "clientVersion": {
35
+ "anyOf": [
36
+ {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "pattern": "\\S",
40
+ "description": "User-supplied string that must contain visible content, not just whitespace."
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ],
46
+ "description": "Client version the transport declared when it read this catalog; the backend lists only models whose minimum client version is at or below it. Null for catalogs from an older engine.",
47
+ "default": null
48
+ },
49
+ "clientVersionSource": {
50
+ "anyOf": [
51
+ {
52
+ "type": "string",
53
+ "enum": [
54
+ "verified_transport",
55
+ "installed_cli"
56
+ ]
57
+ },
58
+ {
59
+ "type": "null"
60
+ }
61
+ ],
62
+ "default": null,
63
+ "description": "Where the declared client version came from: verified_transport (the version this Claudexor release verified its HTTP transport against) or installed_cli (a newer installed Codex CLI raised it). Null for catalogs from an older engine."
64
+ },
34
65
  "models": {
35
66
  "type": "array",
36
67
  "items": {
37
68
  "type": "object",
38
69
  "properties": {
39
70
  "id": {
40
- "type": "string",
41
- "minLength": 1,
42
- "pattern": "\\S",
43
- "description": "User-supplied string that must contain visible content, not just whitespace."
71
+ "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/clientVersion/anyOf/0"
44
72
  },
45
73
  "label": {
46
74
  "type": [
@@ -139,7 +167,7 @@
139
167
  "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/models/items/properties/processing/properties/modes/anyOf/0/items"
140
168
  },
141
169
  "id": {
142
- "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/models/items/properties/id"
170
+ "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/clientVersion/anyOf/0"
143
171
  }
144
172
  },
145
173
  "required": [
@@ -152,7 +180,7 @@
152
180
  "defaultNativeMode": {
153
181
  "anyOf": [
154
182
  {
155
- "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/models/items/properties/id"
183
+ "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/clientVersion/anyOf/0"
156
184
  },
157
185
  {
158
186
  "type": "null"
@@ -167,7 +195,7 @@
167
195
  ]
168
196
  },
169
197
  "source": {
170
- "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/models/items/properties/id"
198
+ "$ref": "#/definitions/ControlModelCatalogQueryResponse/anyOf/0/properties/clientVersion/anyOf/0"
171
199
  },
172
200
  "observedAt": {
173
201
  "anyOf": [
@@ -29,16 +29,44 @@
29
29
  "pattern": "\\S",
30
30
  "description": "provider_http means the catalog body was read and validated from a successful upstream HTTP response at observedAt. Other values do not certify provider contact."
31
31
  },
32
+ "clientVersion": {
33
+ "anyOf": [
34
+ {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "pattern": "\\S",
38
+ "description": "User-supplied string that must contain visible content, not just whitespace."
39
+ },
40
+ {
41
+ "type": "null"
42
+ }
43
+ ],
44
+ "description": "Client version the transport declared when it read this catalog; the backend lists only models whose minimum client version is at or below it. Null for catalogs from an older engine.",
45
+ "default": null
46
+ },
47
+ "clientVersionSource": {
48
+ "anyOf": [
49
+ {
50
+ "type": "string",
51
+ "enum": [
52
+ "verified_transport",
53
+ "installed_cli"
54
+ ]
55
+ },
56
+ {
57
+ "type": "null"
58
+ }
59
+ ],
60
+ "default": null,
61
+ "description": "Where the declared client version came from: verified_transport (the version this Claudexor release verified its HTTP transport against) or installed_cli (a newer installed Codex CLI raised it). Null for catalogs from an older engine."
62
+ },
32
63
  "models": {
33
64
  "type": "array",
34
65
  "items": {
35
66
  "type": "object",
36
67
  "properties": {
37
68
  "id": {
38
- "type": "string",
39
- "minLength": 1,
40
- "pattern": "\\S",
41
- "description": "User-supplied string that must contain visible content, not just whitespace."
69
+ "$ref": "#/definitions/ControlModelCatalogResponse/properties/clientVersion/anyOf/0"
42
70
  },
43
71
  "label": {
44
72
  "type": [
@@ -137,7 +165,7 @@
137
165
  "$ref": "#/definitions/ControlModelCatalogResponse/properties/models/items/properties/processing/properties/modes/anyOf/0/items"
138
166
  },
139
167
  "id": {
140
- "$ref": "#/definitions/ControlModelCatalogResponse/properties/models/items/properties/id"
168
+ "$ref": "#/definitions/ControlModelCatalogResponse/properties/clientVersion/anyOf/0"
141
169
  }
142
170
  },
143
171
  "required": [
@@ -150,7 +178,7 @@
150
178
  "defaultNativeMode": {
151
179
  "anyOf": [
152
180
  {
153
- "$ref": "#/definitions/ControlModelCatalogResponse/properties/models/items/properties/id"
181
+ "$ref": "#/definitions/ControlModelCatalogResponse/properties/clientVersion/anyOf/0"
154
182
  },
155
183
  {
156
184
  "type": "null"
@@ -165,7 +193,7 @@
165
193
  ]
166
194
  },
167
195
  "source": {
168
- "$ref": "#/definitions/ControlModelCatalogResponse/properties/models/items/properties/id"
196
+ "$ref": "#/definitions/ControlModelCatalogResponse/properties/clientVersion/anyOf/0"
169
197
  },
170
198
  "observedAt": {
171
199
  "anyOf": [
@@ -257,6 +257,8 @@
257
257
  },
258
258
  "n": {
259
259
  "type": "integer",
260
+ "minimum": -9007199254740991,
261
+ "maximum": 9007199254740991,
260
262
  "exclusiveMinimum": 0,
261
263
  "description": "Race width: number of best-of-N candidates."
262
264
  },
@@ -2899,7 +2899,7 @@
2899
2899
  "requested": {
2900
2900
  "type": "integer",
2901
2901
  "exclusiveMinimum": 0,
2902
- "description": "Requested member count (n; 2..4)."
2902
+ "description": "Requested member count (n; at least 2, up to the configured Council cap)."
2903
2903
  },
2904
2904
  "drafted": {
2905
2905
  "type": "integer",
@@ -249,6 +249,8 @@
249
249
  },
250
250
  "n": {
251
251
  "type": "integer",
252
+ "minimum": -9007199254740991,
253
+ "maximum": 9007199254740991,
252
254
  "exclusiveMinimum": 0,
253
255
  "description": "Race width: number of best-of-N candidates."
254
256
  },
@@ -207,6 +207,53 @@
207
207
  "default": 3600000,
208
208
  "description": "Inactivity watchdog for harness streams, in milliseconds."
209
209
  },
210
+ "concurrency": {
211
+ "type": "object",
212
+ "properties": {
213
+ "configured": {
214
+ "type": "object",
215
+ "properties": {
216
+ "maxConcurrent": {
217
+ "type": "integer",
218
+ "minimum": -9007199254740991,
219
+ "maximum": 9007199254740991,
220
+ "exclusiveMinimum": 0
221
+ },
222
+ "maxParallelCandidates": {
223
+ "$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent"
224
+ },
225
+ "maxDeepScanWidth": {
226
+ "$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured/properties/maxConcurrent"
227
+ },
228
+ "maxCouncilMembers": {
229
+ "type": "integer",
230
+ "minimum": 2,
231
+ "maximum": 9007199254740991,
232
+ "exclusiveMinimum": 0
233
+ }
234
+ },
235
+ "required": [
236
+ "maxConcurrent",
237
+ "maxParallelCandidates",
238
+ "maxDeepScanWidth",
239
+ "maxCouncilMembers"
240
+ ],
241
+ "additionalProperties": false
242
+ },
243
+ "effective": {
244
+ "$ref": "#/definitions/ControlSettingsSnapshot/properties/runtime/properties/concurrency/properties/configured"
245
+ },
246
+ "restartRequired": {
247
+ "type": "boolean"
248
+ }
249
+ },
250
+ "required": [
251
+ "configured",
252
+ "effective",
253
+ "restartRequired"
254
+ ],
255
+ "additionalProperties": false
256
+ },
210
257
  "transientRetry": {
211
258
  "type": "object",
212
259
  "properties": {
@@ -356,6 +403,14 @@
356
403
  },
357
404
  "default": {},
358
405
  "description": "Per-harness settings keyed by harness id."
406
+ },
407
+ "notes": {
408
+ "type": "array",
409
+ "items": {
410
+ "type": "string"
411
+ },
412
+ "default": [],
413
+ "description": "Admission notes of this write (INV-104)."
359
414
  }
360
415
  },
361
416
  "additionalProperties": false,
@@ -151,6 +151,8 @@
151
151
  },
152
152
  "n": {
153
153
  "type": "integer",
154
+ "minimum": -9007199254740991,
155
+ "maximum": 9007199254740991,
154
156
  "exclusiveMinimum": 0,
155
157
  "description": "Race width: number of best-of-N candidates."
156
158
  },
@@ -237,6 +237,32 @@
237
237
  "exclusiveMinimum": 0,
238
238
  "default": 3600000,
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
+ },
241
+ "max_concurrent": {
242
+ "type": "integer",
243
+ "minimum": -9007199254740991,
244
+ "maximum": 9007199254740991,
245
+ "exclusiveMinimum": 0,
246
+ "default": 24,
247
+ "description": "Regular daemon jobs per data root; applied at daemon startup."
248
+ },
249
+ "max_parallel_candidates": {
250
+ "$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent",
251
+ "default": 4,
252
+ "description": "Active best-of candidates or deep-scan scouts within one run."
253
+ },
254
+ "max_deep_scan_width": {
255
+ "$ref": "#/definitions/GlobalConfig/properties/runtime/properties/max_concurrent",
256
+ "default": 8,
257
+ "description": "Maximum scout count in one deep scan."
258
+ },
259
+ "max_council_members": {
260
+ "type": "integer",
261
+ "minimum": 2,
262
+ "maximum": 9007199254740991,
263
+ "exclusiveMinimum": 0,
264
+ "default": 4,
265
+ "description": "Maximum distinct Council members; Council requires at least two."
240
266
  }
241
267
  },
242
268
  "additionalProperties": false,
@@ -537,7 +537,7 @@
537
537
  "authoritative",
538
538
  "advisory"
539
539
  ],
540
- "description": "Whether this harness's live models() answer proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
540
+ "description": "Whether an absence from this harness's model lists (the live models() answer and the manifest known_models alike) proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
541
541
  },
542
542
  "known_models": {
543
543
  "type": "array",
@@ -576,7 +576,7 @@
576
576
  ]
577
577
  },
578
578
  "default": [],
579
- "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
579
+ "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory and judged under model_inventory_absence: an authoritative harness refuses an explicit model outside it, an advisory harness forwards it with a note."
580
580
  },
581
581
  "known_models_verified_against": {
582
582
  "type": [
@@ -136,6 +136,21 @@
136
136
  ],
137
137
  "default": null,
138
138
  "description": "Credential routes the model is scoped to; null = every route."
139
+ },
140
+ "origin": {
141
+ "type": "string",
142
+ "enum": [
143
+ "live",
144
+ "hint"
145
+ ],
146
+ "description": "Where this row came from: live = the vendor's own enumeration reported it; hint = a frozen known-model id the producer appends when its live answer lacks it or could not be read. Absent = live."
147
+ },
148
+ "resolved_model": {
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ],
153
+ "description": "For an alias row, the exact model id the vendor reported it resolves to at enumeration time; null or absent when the source reports none. The row id is what is sent; this is never substituted for it."
139
154
  }
140
155
  },
141
156
  "required": [
@@ -555,7 +555,7 @@
555
555
  "authoritative",
556
556
  "advisory"
557
557
  ],
558
- "description": "Whether this harness's live models() answer proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
558
+ "description": "Whether an absence from this harness's model lists (the live models() answer and the manifest known_models alike) proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
559
559
  },
560
560
  "known_models": {
561
561
  "type": "array",
@@ -594,7 +594,7 @@
594
594
  ]
595
595
  },
596
596
  "default": [],
597
- "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
597
+ "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory and judged under model_inventory_absence: an authoritative harness refuses an explicit model outside it, an advisory harness forwards it with a note."
598
598
  },
599
599
  "known_models_verified_against": {
600
600
  "type": [
@@ -835,7 +835,7 @@
835
835
  "ok",
836
836
  "rejected"
837
837
  ],
838
- "description": "Whether the configured model passes the strict truth-source check."
838
+ "description": "Whether the configured model is admitted (listed, or unlisted on an advisory harness) or refused by an authoritative list."
839
839
  },
840
840
  "message": {
841
841
  "type": [
@@ -856,7 +856,7 @@
856
856
  }
857
857
  ],
858
858
  "default": null,
859
- "description": "Strict truth-source check of configuredModel; null when no model is configured."
859
+ "description": "Truth-source check of configuredModel under the harness's own absence declaration; ok with a message is an advisory admission; null when no model is configured."
860
860
  },
861
861
  "delegation": {
862
862
  "anyOf": [
@@ -1087,7 +1087,7 @@
1087
1087
  "requested": {
1088
1088
  "type": "integer",
1089
1089
  "exclusiveMinimum": 0,
1090
- "description": "Requested member count (n; 2..4)."
1090
+ "description": "Requested member count (n; at least 2, up to the configured Council cap)."
1091
1091
  },
1092
1092
  "drafted": {
1093
1093
  "type": "integer",
@@ -1101,7 +1101,7 @@
1101
1101
  "requested": {
1102
1102
  "type": "integer",
1103
1103
  "exclusiveMinimum": 0,
1104
- "description": "Requested member count (n; 2..4)."
1104
+ "description": "Requested member count (n; at least 2, up to the configured Council cap)."
1105
1105
  },
1106
1106
  "drafted": {
1107
1107
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.12.10",
3
+ "version": "3.14.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.12.10"
23
+ "@claudexor/util": "3.14.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",