@claudexor/schema 3.19.0 → 3.20.1

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 (75) hide show
  1. package/dist/control-gc.d.ts +9 -0
  2. package/dist/control-gc.d.ts.map +1 -1
  3. package/dist/control-gc.js +12 -0
  4. package/dist/control-gc.js.map +1 -1
  5. package/dist/control-operation-responses.d.ts +63 -9
  6. package/dist/control-operation-responses.d.ts.map +1 -1
  7. package/dist/control-run-detail.d.ts +175 -25
  8. package/dist/control-run-detail.d.ts.map +1 -1
  9. package/dist/control-run-failure.d.ts +36 -6
  10. package/dist/control-run-failure.d.ts.map +1 -1
  11. package/dist/control-run-failure.js +1 -0
  12. package/dist/control-run-failure.js.map +1 -1
  13. package/dist/control-thread-requests.d.ts +101 -0
  14. package/dist/control-thread-requests.d.ts.map +1 -0
  15. package/dist/control-thread-requests.js +52 -0
  16. package/dist/control-thread-requests.js.map +1 -0
  17. package/dist/control.d.ts +62 -100
  18. package/dist/control.d.ts.map +1 -1
  19. package/dist/control.js +5 -42
  20. package/dist/control.js.map +1 -1
  21. package/dist/credential-profile-snapshot.d.ts +28 -14
  22. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  23. package/dist/credential-profile.d.ts +3 -0
  24. package/dist/credential-profile.d.ts.map +1 -1
  25. package/dist/credential-profile.js +2 -1
  26. package/dist/credential-profile.js.map +1 -1
  27. package/dist/events.d.ts +3 -0
  28. package/dist/events.d.ts.map +1 -1
  29. package/dist/harness-input.d.ts +20 -2
  30. package/dist/harness-input.d.ts.map +1 -1
  31. package/dist/harness-input.js +17 -6
  32. package/dist/harness-input.js.map +1 -1
  33. package/dist/harness.d.ts +41 -11
  34. package/dist/harness.d.ts.map +1 -1
  35. package/dist/harness.js +2 -2
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +1 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/mcp-run-result.d.ts +98 -14
  41. package/dist/mcp-run-result.d.ts.map +1 -1
  42. package/dist/quota.d.ts +255 -12
  43. package/dist/quota.d.ts.map +1 -1
  44. package/dist/quota.js +71 -0
  45. package/dist/quota.js.map +1 -1
  46. package/dist/setup-login.d.ts +35 -0
  47. package/dist/setup-login.d.ts.map +1 -1
  48. package/dist/setup-login.js +10 -0
  49. package/dist/setup-login.js.map +1 -1
  50. package/dist/telemetry.d.ts +76 -4
  51. package/dist/telemetry.d.ts.map +1 -1
  52. package/dist/thread.d.ts +4 -0
  53. package/dist/thread.d.ts.map +1 -1
  54. package/dist/thread.js +10 -1
  55. package/dist/thread.js.map +1 -1
  56. package/generated/ControlCredentialProfilesQueryResponse.schema.json +8 -1
  57. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +8 -1
  58. package/generated/ControlGcReceipt.schema.json +14 -0
  59. package/generated/ControlGcRequest.schema.json +4 -0
  60. package/generated/ControlQuotaResponse.schema.json +8 -1
  61. package/generated/ControlRunDetail.schema.json +105 -53
  62. package/generated/ControlRunListResponse.schema.json +105 -53
  63. package/generated/ControlRunSummary.schema.json +105 -53
  64. package/generated/ControlThread.schema.json +16 -1
  65. package/generated/ControlThreadCreateRequest.schema.json +6 -0
  66. package/generated/ControlThreadDetail.schema.json +16 -1
  67. package/generated/ControlThreadListResponse.schema.json +16 -1
  68. package/generated/ControlThreadUpdateRequest.schema.json +15 -1
  69. package/generated/HarnessEvent.schema.json +107 -54
  70. package/generated/McpRunHandleResult.schema.json +105 -53
  71. package/generated/McpRunToolResult.schema.json +105 -53
  72. package/generated/RunFailure.schema.json +105 -53
  73. package/generated/RunTelemetry.schema.json +104 -53
  74. package/generated/Thread.schema.json +16 -1
  75. package/package.json +2 -2
@@ -5,66 +5,117 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "requestRefusal": {
8
- "type": "object",
9
- "properties": {
10
- "scope": {
11
- "type": "string",
12
- "const": "turn_text",
13
- "description": "All text input items in one native turn; separate instructions are excluded."
14
- },
15
- "unit": {
16
- "type": "string",
17
- "const": "unicode_scalars"
18
- },
19
- "limit": {
20
- "anyOf": [
21
- {
22
- "type": "integer",
23
- "exclusiveMinimum": 0,
24
- "minimum": -9007199254740991,
25
- "maximum": 9007199254740991
8
+ "anyOf": [
9
+ {
10
+ "type": "object",
11
+ "properties": {
12
+ "scope": {
13
+ "type": "string",
14
+ "const": "turn_text",
15
+ "description": "All text input items in one native turn; separate instructions are excluded."
16
+ },
17
+ "unit": {
18
+ "type": "string",
19
+ "const": "unicode_scalars"
20
+ },
21
+ "limit": {
22
+ "anyOf": [
23
+ {
24
+ "type": "integer",
25
+ "exclusiveMinimum": 0,
26
+ "minimum": -9007199254740991,
27
+ "maximum": 9007199254740991
28
+ },
29
+ {
30
+ "type": "null"
31
+ }
32
+ ]
26
33
  },
27
- {
28
- "type": "null"
34
+ "source": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ "kind": {
39
+ "type": "string",
40
+ "const": "input_too_large"
41
+ },
42
+ "actual": {
43
+ "anyOf": [
44
+ {
45
+ "type": "integer",
46
+ "minimum": -9007199254740991,
47
+ "maximum": 9007199254740991
48
+ },
49
+ {
50
+ "type": "null"
51
+ }
52
+ ]
53
+ },
54
+ "native_code": {
55
+ "type": "string",
56
+ "minLength": 1
29
57
  }
30
- ]
31
- },
32
- "source": {
33
- "type": "string",
34
- "minLength": 1
35
- },
36
- "kind": {
37
- "type": "string",
38
- "const": "input_too_large"
58
+ },
59
+ "required": [
60
+ "scope",
61
+ "unit",
62
+ "limit",
63
+ "source",
64
+ "kind",
65
+ "actual",
66
+ "native_code"
67
+ ],
68
+ "additionalProperties": false
39
69
  },
40
- "actual": {
41
- "anyOf": [
42
- {
43
- "type": "integer",
44
- "minimum": -9007199254740991,
45
- "maximum": 9007199254740991
70
+ {
71
+ "type": "object",
72
+ "properties": {
73
+ "kind": {
74
+ "type": "string",
75
+ "const": "vendor_cli_too_old"
76
+ },
77
+ "native_code": {
78
+ "type": "string",
79
+ "const": "claude_code_version_too_old"
80
+ },
81
+ "source": {
82
+ "type": "string",
83
+ "const": "claude_stdout"
84
+ },
85
+ "binary_path": {
86
+ "anyOf": [
87
+ {
88
+ "type": "string",
89
+ "minLength": 1
90
+ },
91
+ {
92
+ "type": "null"
93
+ }
94
+ ]
46
95
  },
47
- {
48
- "type": "null"
96
+ "installed_version": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "minLength": 1
101
+ },
102
+ {
103
+ "type": "null"
104
+ }
105
+ ]
49
106
  }
50
- ]
51
- },
52
- "native_code": {
53
- "type": "string",
54
- "minLength": 1
107
+ },
108
+ "required": [
109
+ "kind",
110
+ "native_code",
111
+ "source",
112
+ "binary_path",
113
+ "installed_version"
114
+ ],
115
+ "additionalProperties": false
55
116
  }
56
- },
57
- "required": [
58
- "scope",
59
- "unit",
60
- "limit",
61
- "source",
62
- "kind",
63
- "actual",
64
- "native_code"
65
117
  ],
66
- "additionalProperties": false,
67
- "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
118
+ "description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
68
119
  },
69
120
  "phase": {
70
121
  "type": "string",
@@ -104,6 +155,7 @@
104
155
  "subscription_window_exhausted",
105
156
  "credential_pool_exhausted",
106
157
  "input_too_large",
158
+ "vendor_cli_too_old",
107
159
  "delegated_home_unavailable",
108
160
  "delegated_confinement_unavailable",
109
161
  "delegated_evidence_incomplete",
@@ -179,66 +179,117 @@
179
179
  "type": "object",
180
180
  "properties": {
181
181
  "request_refusal": {
182
- "type": "object",
183
- "properties": {
184
- "scope": {
185
- "type": "string",
186
- "const": "turn_text",
187
- "description": "All text input items in one native turn; separate instructions are excluded."
188
- },
189
- "unit": {
190
- "type": "string",
191
- "const": "unicode_scalars"
192
- },
193
- "limit": {
194
- "anyOf": [
195
- {
196
- "type": "integer",
197
- "exclusiveMinimum": 0,
198
- "minimum": -9007199254740991,
199
- "maximum": 9007199254740991
182
+ "anyOf": [
183
+ {
184
+ "type": "object",
185
+ "properties": {
186
+ "scope": {
187
+ "type": "string",
188
+ "const": "turn_text",
189
+ "description": "All text input items in one native turn; separate instructions are excluded."
200
190
  },
201
- {
202
- "type": "null"
191
+ "unit": {
192
+ "type": "string",
193
+ "const": "unicode_scalars"
194
+ },
195
+ "limit": {
196
+ "anyOf": [
197
+ {
198
+ "type": "integer",
199
+ "exclusiveMinimum": 0,
200
+ "minimum": -9007199254740991,
201
+ "maximum": 9007199254740991
202
+ },
203
+ {
204
+ "type": "null"
205
+ }
206
+ ]
207
+ },
208
+ "source": {
209
+ "type": "string",
210
+ "minLength": 1
211
+ },
212
+ "kind": {
213
+ "type": "string",
214
+ "const": "input_too_large"
215
+ },
216
+ "actual": {
217
+ "anyOf": [
218
+ {
219
+ "type": "integer",
220
+ "minimum": -9007199254740991,
221
+ "maximum": 9007199254740991
222
+ },
223
+ {
224
+ "type": "null"
225
+ }
226
+ ]
227
+ },
228
+ "native_code": {
229
+ "type": "string",
230
+ "minLength": 1
203
231
  }
204
- ]
205
- },
206
- "source": {
207
- "type": "string",
208
- "minLength": 1
209
- },
210
- "kind": {
211
- "type": "string",
212
- "const": "input_too_large"
232
+ },
233
+ "required": [
234
+ "scope",
235
+ "unit",
236
+ "limit",
237
+ "source",
238
+ "kind",
239
+ "actual",
240
+ "native_code"
241
+ ],
242
+ "additionalProperties": false
213
243
  },
214
- "actual": {
215
- "anyOf": [
216
- {
217
- "type": "integer",
218
- "minimum": -9007199254740991,
219
- "maximum": 9007199254740991
244
+ {
245
+ "type": "object",
246
+ "properties": {
247
+ "kind": {
248
+ "type": "string",
249
+ "const": "vendor_cli_too_old"
220
250
  },
221
- {
222
- "type": "null"
251
+ "native_code": {
252
+ "type": "string",
253
+ "const": "claude_code_version_too_old"
254
+ },
255
+ "source": {
256
+ "type": "string",
257
+ "const": "claude_stdout"
258
+ },
259
+ "binary_path": {
260
+ "anyOf": [
261
+ {
262
+ "type": "string",
263
+ "minLength": 1
264
+ },
265
+ {
266
+ "type": "null"
267
+ }
268
+ ]
269
+ },
270
+ "installed_version": {
271
+ "anyOf": [
272
+ {
273
+ "type": "string",
274
+ "minLength": 1
275
+ },
276
+ {
277
+ "type": "null"
278
+ }
279
+ ]
223
280
  }
224
- ]
225
- },
226
- "native_code": {
227
- "type": "string",
228
- "minLength": 1
281
+ },
282
+ "required": [
283
+ "kind",
284
+ "native_code",
285
+ "source",
286
+ "binary_path",
287
+ "installed_version"
288
+ ],
289
+ "additionalProperties": false
229
290
  }
230
- },
231
- "required": [
232
- "scope",
233
- "unit",
234
- "limit",
235
- "source",
236
- "kind",
237
- "actual",
238
- "native_code"
239
291
  ],
240
- "additionalProperties": false,
241
- "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
292
+ "description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
242
293
  },
243
294
  "effort_resolution": {
244
295
  "type": "object",
@@ -59,6 +59,21 @@
59
59
  "default": null,
60
60
  "description": "Thread title; null until set."
61
61
  },
62
+ "folder": {
63
+ "anyOf": [
64
+ {
65
+ "type": "string",
66
+ "minLength": 1,
67
+ "maxLength": 120,
68
+ "description": "User-visible thread folder name."
69
+ },
70
+ {
71
+ "type": "null"
72
+ }
73
+ ],
74
+ "description": "Optional server-owned sidebar folder; null means ungrouped.",
75
+ "default": null
76
+ },
62
77
  "mode": {
63
78
  "type": "string",
64
79
  "enum": [
@@ -228,7 +243,7 @@
228
243
  "type": "null"
229
244
  }
230
245
  ],
231
- "description": "Earliest automatic purge time; 30 days after trash.",
246
+ "description": "End of the 30-day trash window: restore is refused after it, and the daemon's next retention pass (startup or claudexor gc) purges the thread.",
232
247
  "default": null
233
248
  },
234
249
  "pre_trash_state": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.19.0",
3
+ "version": "3.20.1",
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": "3.19.0"
23
+ "@claudexor/util": "3.20.1"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",