@claudexor/schema 3.12.9 → 3.13.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 (44) hide show
  1. package/dist/config.d.ts +48 -0
  2. package/dist/config.d.ts.map +1 -1
  3. package/dist/config.js +2 -0
  4. package/dist/config.js.map +1 -1
  5. package/dist/control-operation-responses.d.ts +43 -0
  6. package/dist/control-operation-responses.d.ts.map +1 -1
  7. package/dist/control-run-detail.d.ts +119 -0
  8. package/dist/control-run-detail.d.ts.map +1 -1
  9. package/dist/control-run-failure.d.ts +43 -0
  10. package/dist/control-run-failure.d.ts.map +1 -1
  11. package/dist/control-run-failure.js +29 -0
  12. package/dist/control-run-failure.js.map +1 -1
  13. package/dist/control.d.ts +160 -4
  14. package/dist/control.d.ts.map +1 -1
  15. package/dist/control.js +5 -2
  16. package/dist/control.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/mcp-run-result.d.ts +66 -0
  22. package/dist/mcp-run-result.d.ts.map +1 -1
  23. package/dist/plan.d.ts.map +1 -1
  24. package/dist/plan.js +5 -1
  25. package/dist/plan.js.map +1 -1
  26. package/dist/run-strategy.d.ts.map +1 -1
  27. package/dist/run-strategy.js +5 -3
  28. package/dist/run-strategy.js.map +1 -1
  29. package/dist/runtime-concurrency.d.ts +113 -0
  30. package/dist/runtime-concurrency.d.ts.map +1 -0
  31. package/dist/runtime-concurrency.js +62 -0
  32. package/dist/runtime-concurrency.js.map +1 -0
  33. package/generated/ControlRunAgainDraft.schema.json +2 -0
  34. package/generated/ControlRunDetail.schema.json +53 -1
  35. package/generated/ControlRunListResponse.schema.json +52 -0
  36. package/generated/ControlRunStartRequest.schema.json +2 -0
  37. package/generated/ControlRunSummary.schema.json +52 -0
  38. package/generated/ControlSettingsSnapshot.schema.json +47 -0
  39. package/generated/ControlThreadTurnRequest.schema.json +2 -0
  40. package/generated/GlobalConfig.schema.json +26 -0
  41. package/generated/McpRunHandleResult.schema.json +53 -1
  42. package/generated/McpRunToolResult.schema.json +53 -1
  43. package/generated/RunFailure.schema.json +52 -0
  44. package/package.json +2 -2
@@ -239,6 +239,58 @@
239
239
  "default": null,
240
240
  "description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
241
241
  },
242
+ "vendorFailure": {
243
+ "anyOf": [
244
+ {
245
+ "type": "object",
246
+ "properties": {
247
+ "code": {
248
+ "anyOf": [
249
+ {
250
+ "type": "string",
251
+ "minLength": 1,
252
+ "maxLength": 128
253
+ },
254
+ {
255
+ "type": "null"
256
+ }
257
+ ],
258
+ "description": "The vendor's own machine-readable failure code, verbatim; null when the vendor recorded an error without one."
259
+ },
260
+ "message": {
261
+ "anyOf": [
262
+ {
263
+ "type": "string",
264
+ "maxLength": 4000
265
+ },
266
+ {
267
+ "type": "null"
268
+ }
269
+ ],
270
+ "description": "The vendor's own words from the same record, verbatim (redacted); null when absent."
271
+ },
272
+ "source": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "maxLength": 64,
276
+ "description": "Evidence channel the code was read from (codex: `codex_rollout`). An open vocabulary: consumers display it, never branch on it."
277
+ }
278
+ },
279
+ "required": [
280
+ "code",
281
+ "message",
282
+ "source"
283
+ ],
284
+ "additionalProperties": false,
285
+ "description": "Vendor-typed failure evidence read from a vendor-owned machine-readable record, never parsed from prose."
286
+ },
287
+ {
288
+ "type": "null"
289
+ }
290
+ ],
291
+ "description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
292
+ "default": null
293
+ },
242
294
  "nextActions": {
243
295
  "type": "array",
244
296
  "items": {
@@ -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": {
@@ -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,
@@ -952,6 +952,58 @@
952
952
  "default": null,
953
953
  "description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
954
954
  },
955
+ "vendorFailure": {
956
+ "anyOf": [
957
+ {
958
+ "type": "object",
959
+ "properties": {
960
+ "code": {
961
+ "anyOf": [
962
+ {
963
+ "type": "string",
964
+ "minLength": 1,
965
+ "maxLength": 128
966
+ },
967
+ {
968
+ "type": "null"
969
+ }
970
+ ],
971
+ "description": "The vendor's own machine-readable failure code, verbatim; null when the vendor recorded an error without one."
972
+ },
973
+ "message": {
974
+ "anyOf": [
975
+ {
976
+ "type": "string",
977
+ "maxLength": 4000
978
+ },
979
+ {
980
+ "type": "null"
981
+ }
982
+ ],
983
+ "description": "The vendor's own words from the same record, verbatim (redacted); null when absent."
984
+ },
985
+ "source": {
986
+ "type": "string",
987
+ "minLength": 1,
988
+ "maxLength": 64,
989
+ "description": "Evidence channel the code was read from (codex: `codex_rollout`). An open vocabulary: consumers display it, never branch on it."
990
+ }
991
+ },
992
+ "required": [
993
+ "code",
994
+ "message",
995
+ "source"
996
+ ],
997
+ "additionalProperties": false,
998
+ "description": "Vendor-typed failure evidence read from a vendor-owned machine-readable record, never parsed from prose."
999
+ },
1000
+ {
1001
+ "type": "null"
1002
+ }
1003
+ ],
1004
+ "description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
1005
+ "default": null
1006
+ },
955
1007
  "nextActions": {
956
1008
  "type": "array",
957
1009
  "items": {
@@ -1035,7 +1087,7 @@
1035
1087
  "requested": {
1036
1088
  "type": "integer",
1037
1089
  "exclusiveMinimum": 0,
1038
- "description": "Requested member count (n; 2..4)."
1090
+ "description": "Requested member count (n; at least 2, up to the configured Council cap)."
1039
1091
  },
1040
1092
  "drafted": {
1041
1093
  "type": "integer",
@@ -928,6 +928,58 @@
928
928
  "default": null,
929
929
  "description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
930
930
  },
931
+ "vendorFailure": {
932
+ "anyOf": [
933
+ {
934
+ "type": "object",
935
+ "properties": {
936
+ "code": {
937
+ "anyOf": [
938
+ {
939
+ "type": "string",
940
+ "minLength": 1,
941
+ "maxLength": 128
942
+ },
943
+ {
944
+ "type": "null"
945
+ }
946
+ ],
947
+ "description": "The vendor's own machine-readable failure code, verbatim; null when the vendor recorded an error without one."
948
+ },
949
+ "message": {
950
+ "anyOf": [
951
+ {
952
+ "type": "string",
953
+ "maxLength": 4000
954
+ },
955
+ {
956
+ "type": "null"
957
+ }
958
+ ],
959
+ "description": "The vendor's own words from the same record, verbatim (redacted); null when absent."
960
+ },
961
+ "source": {
962
+ "type": "string",
963
+ "minLength": 1,
964
+ "maxLength": 64,
965
+ "description": "Evidence channel the code was read from (codex: `codex_rollout`). An open vocabulary: consumers display it, never branch on it."
966
+ }
967
+ },
968
+ "required": [
969
+ "code",
970
+ "message",
971
+ "source"
972
+ ],
973
+ "additionalProperties": false,
974
+ "description": "Vendor-typed failure evidence read from a vendor-owned machine-readable record, never parsed from prose."
975
+ },
976
+ {
977
+ "type": "null"
978
+ }
979
+ ],
980
+ "description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
981
+ "default": null
982
+ },
931
983
  "nextActions": {
932
984
  "type": "array",
933
985
  "items": {
@@ -1049,7 +1101,7 @@
1049
1101
  "requested": {
1050
1102
  "type": "integer",
1051
1103
  "exclusiveMinimum": 0,
1052
- "description": "Requested member count (n; 2..4)."
1104
+ "description": "Requested member count (n; at least 2, up to the configured Council cap)."
1053
1105
  },
1054
1106
  "drafted": {
1055
1107
  "type": "integer",
@@ -121,6 +121,58 @@
121
121
  "default": null,
122
122
  "description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
123
123
  },
124
+ "vendorFailure": {
125
+ "anyOf": [
126
+ {
127
+ "type": "object",
128
+ "properties": {
129
+ "code": {
130
+ "anyOf": [
131
+ {
132
+ "type": "string",
133
+ "minLength": 1,
134
+ "maxLength": 128
135
+ },
136
+ {
137
+ "type": "null"
138
+ }
139
+ ],
140
+ "description": "The vendor's own machine-readable failure code, verbatim; null when the vendor recorded an error without one."
141
+ },
142
+ "message": {
143
+ "anyOf": [
144
+ {
145
+ "type": "string",
146
+ "maxLength": 4000
147
+ },
148
+ {
149
+ "type": "null"
150
+ }
151
+ ],
152
+ "description": "The vendor's own words from the same record, verbatim (redacted); null when absent."
153
+ },
154
+ "source": {
155
+ "type": "string",
156
+ "minLength": 1,
157
+ "maxLength": 64,
158
+ "description": "Evidence channel the code was read from (codex: `codex_rollout`). An open vocabulary: consumers display it, never branch on it."
159
+ }
160
+ },
161
+ "required": [
162
+ "code",
163
+ "message",
164
+ "source"
165
+ ],
166
+ "additionalProperties": false,
167
+ "description": "Vendor-typed failure evidence read from a vendor-owned machine-readable record, never parsed from prose."
168
+ },
169
+ {
170
+ "type": "null"
171
+ }
172
+ ],
173
+ "description": "The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy.",
174
+ "default": null
175
+ },
124
176
  "nextActions": {
125
177
  "type": "array",
126
178
  "items": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.12.9",
3
+ "version": "3.13.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.9"
23
+ "@claudexor/util": "3.13.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",