@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
@@ -308,66 +308,117 @@
308
308
  "type": "object",
309
309
  "properties": {
310
310
  "requestRefusal": {
311
- "type": "object",
312
- "properties": {
313
- "scope": {
314
- "type": "string",
315
- "const": "turn_text",
316
- "description": "All text input items in one native turn; separate instructions are excluded."
317
- },
318
- "unit": {
319
- "type": "string",
320
- "const": "unicode_scalars"
321
- },
322
- "limit": {
323
- "anyOf": [
324
- {
325
- "type": "integer",
326
- "exclusiveMinimum": 0,
327
- "minimum": -9007199254740991,
328
- "maximum": 9007199254740991
311
+ "anyOf": [
312
+ {
313
+ "type": "object",
314
+ "properties": {
315
+ "scope": {
316
+ "type": "string",
317
+ "const": "turn_text",
318
+ "description": "All text input items in one native turn; separate instructions are excluded."
329
319
  },
330
- {
331
- "type": "null"
320
+ "unit": {
321
+ "type": "string",
322
+ "const": "unicode_scalars"
323
+ },
324
+ "limit": {
325
+ "anyOf": [
326
+ {
327
+ "type": "integer",
328
+ "exclusiveMinimum": 0,
329
+ "minimum": -9007199254740991,
330
+ "maximum": 9007199254740991
331
+ },
332
+ {
333
+ "type": "null"
334
+ }
335
+ ]
336
+ },
337
+ "source": {
338
+ "type": "string",
339
+ "minLength": 1
340
+ },
341
+ "kind": {
342
+ "type": "string",
343
+ "const": "input_too_large"
344
+ },
345
+ "actual": {
346
+ "anyOf": [
347
+ {
348
+ "type": "integer",
349
+ "minimum": -9007199254740991,
350
+ "maximum": 9007199254740991
351
+ },
352
+ {
353
+ "type": "null"
354
+ }
355
+ ]
356
+ },
357
+ "native_code": {
358
+ "type": "string",
359
+ "minLength": 1
332
360
  }
333
- ]
334
- },
335
- "source": {
336
- "type": "string",
337
- "minLength": 1
338
- },
339
- "kind": {
340
- "type": "string",
341
- "const": "input_too_large"
361
+ },
362
+ "required": [
363
+ "scope",
364
+ "unit",
365
+ "limit",
366
+ "source",
367
+ "kind",
368
+ "actual",
369
+ "native_code"
370
+ ],
371
+ "additionalProperties": false
342
372
  },
343
- "actual": {
344
- "anyOf": [
345
- {
346
- "type": "integer",
347
- "minimum": -9007199254740991,
348
- "maximum": 9007199254740991
373
+ {
374
+ "type": "object",
375
+ "properties": {
376
+ "kind": {
377
+ "type": "string",
378
+ "const": "vendor_cli_too_old"
349
379
  },
350
- {
351
- "type": "null"
380
+ "native_code": {
381
+ "type": "string",
382
+ "const": "claude_code_version_too_old"
383
+ },
384
+ "source": {
385
+ "type": "string",
386
+ "const": "claude_stdout"
387
+ },
388
+ "binary_path": {
389
+ "anyOf": [
390
+ {
391
+ "type": "string",
392
+ "minLength": 1
393
+ },
394
+ {
395
+ "type": "null"
396
+ }
397
+ ]
398
+ },
399
+ "installed_version": {
400
+ "anyOf": [
401
+ {
402
+ "type": "string",
403
+ "minLength": 1
404
+ },
405
+ {
406
+ "type": "null"
407
+ }
408
+ ]
352
409
  }
353
- ]
354
- },
355
- "native_code": {
356
- "type": "string",
357
- "minLength": 1
410
+ },
411
+ "required": [
412
+ "kind",
413
+ "native_code",
414
+ "source",
415
+ "binary_path",
416
+ "installed_version"
417
+ ],
418
+ "additionalProperties": false
358
419
  }
359
- },
360
- "required": [
361
- "scope",
362
- "unit",
363
- "limit",
364
- "source",
365
- "kind",
366
- "actual",
367
- "native_code"
368
420
  ],
369
- "additionalProperties": false,
370
- "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
421
+ "description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
371
422
  },
372
423
  "phase": {
373
424
  "type": "string",
@@ -407,6 +458,7 @@
407
458
  "subscription_window_exhausted",
408
459
  "credential_pool_exhausted",
409
460
  "input_too_large",
461
+ "vendor_cli_too_old",
410
462
  "delegated_home_unavailable",
411
463
  "delegated_confinement_unavailable",
412
464
  "delegated_evidence_incomplete",
@@ -128,66 +128,117 @@
128
128
  "type": "object",
129
129
  "properties": {
130
130
  "requestRefusal": {
131
- "type": "object",
132
- "properties": {
133
- "scope": {
134
- "type": "string",
135
- "const": "turn_text",
136
- "description": "All text input items in one native turn; separate instructions are excluded."
137
- },
138
- "unit": {
139
- "type": "string",
140
- "const": "unicode_scalars"
141
- },
142
- "limit": {
143
- "anyOf": [
144
- {
145
- "type": "integer",
146
- "exclusiveMinimum": 0,
147
- "minimum": -9007199254740991,
148
- "maximum": 9007199254740991
131
+ "anyOf": [
132
+ {
133
+ "type": "object",
134
+ "properties": {
135
+ "scope": {
136
+ "type": "string",
137
+ "const": "turn_text",
138
+ "description": "All text input items in one native turn; separate instructions are excluded."
139
+ },
140
+ "unit": {
141
+ "type": "string",
142
+ "const": "unicode_scalars"
143
+ },
144
+ "limit": {
145
+ "anyOf": [
146
+ {
147
+ "type": "integer",
148
+ "exclusiveMinimum": 0,
149
+ "minimum": -9007199254740991,
150
+ "maximum": 9007199254740991
151
+ },
152
+ {
153
+ "type": "null"
154
+ }
155
+ ]
149
156
  },
150
- {
151
- "type": "null"
157
+ "source": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "kind": {
162
+ "type": "string",
163
+ "const": "input_too_large"
164
+ },
165
+ "actual": {
166
+ "anyOf": [
167
+ {
168
+ "type": "integer",
169
+ "minimum": -9007199254740991,
170
+ "maximum": 9007199254740991
171
+ },
172
+ {
173
+ "type": "null"
174
+ }
175
+ ]
176
+ },
177
+ "native_code": {
178
+ "type": "string",
179
+ "minLength": 1
152
180
  }
153
- ]
154
- },
155
- "source": {
156
- "type": "string",
157
- "minLength": 1
158
- },
159
- "kind": {
160
- "type": "string",
161
- "const": "input_too_large"
181
+ },
182
+ "required": [
183
+ "scope",
184
+ "unit",
185
+ "limit",
186
+ "source",
187
+ "kind",
188
+ "actual",
189
+ "native_code"
190
+ ],
191
+ "additionalProperties": false
162
192
  },
163
- "actual": {
164
- "anyOf": [
165
- {
166
- "type": "integer",
167
- "minimum": -9007199254740991,
168
- "maximum": 9007199254740991
193
+ {
194
+ "type": "object",
195
+ "properties": {
196
+ "kind": {
197
+ "type": "string",
198
+ "const": "vendor_cli_too_old"
199
+ },
200
+ "native_code": {
201
+ "type": "string",
202
+ "const": "claude_code_version_too_old"
203
+ },
204
+ "source": {
205
+ "type": "string",
206
+ "const": "claude_stdout"
207
+ },
208
+ "binary_path": {
209
+ "anyOf": [
210
+ {
211
+ "type": "string",
212
+ "minLength": 1
213
+ },
214
+ {
215
+ "type": "null"
216
+ }
217
+ ]
169
218
  },
170
- {
171
- "type": "null"
219
+ "installed_version": {
220
+ "anyOf": [
221
+ {
222
+ "type": "string",
223
+ "minLength": 1
224
+ },
225
+ {
226
+ "type": "null"
227
+ }
228
+ ]
172
229
  }
173
- ]
174
- },
175
- "native_code": {
176
- "type": "string",
177
- "minLength": 1
230
+ },
231
+ "required": [
232
+ "kind",
233
+ "native_code",
234
+ "source",
235
+ "binary_path",
236
+ "installed_version"
237
+ ],
238
+ "additionalProperties": false
178
239
  }
179
- },
180
- "required": [
181
- "scope",
182
- "unit",
183
- "limit",
184
- "source",
185
- "kind",
186
- "actual",
187
- "native_code"
188
240
  ],
189
- "additionalProperties": false,
190
- "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
241
+ "description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
191
242
  },
192
243
  "phase": {
193
244
  "type": "string",
@@ -227,6 +278,7 @@
227
278
  "subscription_window_exhausted",
228
279
  "credential_pool_exhausted",
229
280
  "input_too_large",
281
+ "vendor_cli_too_old",
230
282
  "delegated_home_unavailable",
231
283
  "delegated_confinement_unavailable",
232
284
  "delegated_evidence_incomplete",
@@ -123,66 +123,117 @@
123
123
  "type": "object",
124
124
  "properties": {
125
125
  "requestRefusal": {
126
- "type": "object",
127
- "properties": {
128
- "scope": {
129
- "type": "string",
130
- "const": "turn_text",
131
- "description": "All text input items in one native turn; separate instructions are excluded."
132
- },
133
- "unit": {
134
- "type": "string",
135
- "const": "unicode_scalars"
136
- },
137
- "limit": {
138
- "anyOf": [
139
- {
140
- "type": "integer",
141
- "exclusiveMinimum": 0,
142
- "minimum": -9007199254740991,
143
- "maximum": 9007199254740991
126
+ "anyOf": [
127
+ {
128
+ "type": "object",
129
+ "properties": {
130
+ "scope": {
131
+ "type": "string",
132
+ "const": "turn_text",
133
+ "description": "All text input items in one native turn; separate instructions are excluded."
134
+ },
135
+ "unit": {
136
+ "type": "string",
137
+ "const": "unicode_scalars"
138
+ },
139
+ "limit": {
140
+ "anyOf": [
141
+ {
142
+ "type": "integer",
143
+ "exclusiveMinimum": 0,
144
+ "minimum": -9007199254740991,
145
+ "maximum": 9007199254740991
146
+ },
147
+ {
148
+ "type": "null"
149
+ }
150
+ ]
144
151
  },
145
- {
146
- "type": "null"
152
+ "source": {
153
+ "type": "string",
154
+ "minLength": 1
155
+ },
156
+ "kind": {
157
+ "type": "string",
158
+ "const": "input_too_large"
159
+ },
160
+ "actual": {
161
+ "anyOf": [
162
+ {
163
+ "type": "integer",
164
+ "minimum": -9007199254740991,
165
+ "maximum": 9007199254740991
166
+ },
167
+ {
168
+ "type": "null"
169
+ }
170
+ ]
171
+ },
172
+ "native_code": {
173
+ "type": "string",
174
+ "minLength": 1
147
175
  }
148
- ]
149
- },
150
- "source": {
151
- "type": "string",
152
- "minLength": 1
153
- },
154
- "kind": {
155
- "type": "string",
156
- "const": "input_too_large"
176
+ },
177
+ "required": [
178
+ "scope",
179
+ "unit",
180
+ "limit",
181
+ "source",
182
+ "kind",
183
+ "actual",
184
+ "native_code"
185
+ ],
186
+ "additionalProperties": false
157
187
  },
158
- "actual": {
159
- "anyOf": [
160
- {
161
- "type": "integer",
162
- "minimum": -9007199254740991,
163
- "maximum": 9007199254740991
188
+ {
189
+ "type": "object",
190
+ "properties": {
191
+ "kind": {
192
+ "type": "string",
193
+ "const": "vendor_cli_too_old"
194
+ },
195
+ "native_code": {
196
+ "type": "string",
197
+ "const": "claude_code_version_too_old"
198
+ },
199
+ "source": {
200
+ "type": "string",
201
+ "const": "claude_stdout"
202
+ },
203
+ "binary_path": {
204
+ "anyOf": [
205
+ {
206
+ "type": "string",
207
+ "minLength": 1
208
+ },
209
+ {
210
+ "type": "null"
211
+ }
212
+ ]
164
213
  },
165
- {
166
- "type": "null"
214
+ "installed_version": {
215
+ "anyOf": [
216
+ {
217
+ "type": "string",
218
+ "minLength": 1
219
+ },
220
+ {
221
+ "type": "null"
222
+ }
223
+ ]
167
224
  }
168
- ]
169
- },
170
- "native_code": {
171
- "type": "string",
172
- "minLength": 1
225
+ },
226
+ "required": [
227
+ "kind",
228
+ "native_code",
229
+ "source",
230
+ "binary_path",
231
+ "installed_version"
232
+ ],
233
+ "additionalProperties": false
173
234
  }
174
- },
175
- "required": [
176
- "scope",
177
- "unit",
178
- "limit",
179
- "source",
180
- "kind",
181
- "actual",
182
- "native_code"
183
235
  ],
184
- "additionalProperties": false,
185
- "description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
236
+ "description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
186
237
  },
187
238
  "phase": {
188
239
  "type": "string",
@@ -222,6 +273,7 @@
222
273
  "subscription_window_exhausted",
223
274
  "credential_pool_exhausted",
224
275
  "input_too_large",
276
+ "vendor_cli_too_old",
225
277
  "delegated_home_unavailable",
226
278
  "delegated_confinement_unavailable",
227
279
  "delegated_evidence_incomplete",
@@ -17,6 +17,21 @@
17
17
  "default": null,
18
18
  "description": "Thread title; null until set."
19
19
  },
20
+ "folder": {
21
+ "anyOf": [
22
+ {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 120,
26
+ "description": "User-visible thread folder name."
27
+ },
28
+ {
29
+ "type": "null"
30
+ }
31
+ ],
32
+ "description": "Optional sidebar folder; null means ungrouped.",
33
+ "default": null
34
+ },
20
35
  "repoRoot": {
21
36
  "type": [
22
37
  "string",
@@ -128,7 +143,7 @@
128
143
  "null"
129
144
  ],
130
145
  "default": null,
131
- "description": "When trash retention expires."
146
+ "description": "Restore deadline, then auto-purge."
132
147
  },
133
148
  "runIds": {
134
149
  "type": "array",
@@ -8,6 +8,12 @@
8
8
  "type": "string",
9
9
  "description": "Initial thread title."
10
10
  },
11
+ "folder": {
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "maxLength": 120,
15
+ "description": "Initial sidebar folder."
16
+ },
11
17
  "scope": {
12
18
  "anyOf": [
13
19
  {
@@ -20,6 +20,21 @@
20
20
  "default": null,
21
21
  "description": "Thread title; null until set."
22
22
  },
23
+ "folder": {
24
+ "anyOf": [
25
+ {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "maxLength": 120,
29
+ "description": "User-visible thread folder name."
30
+ },
31
+ {
32
+ "type": "null"
33
+ }
34
+ ],
35
+ "description": "Optional sidebar folder; null means ungrouped.",
36
+ "default": null
37
+ },
23
38
  "repoRoot": {
24
39
  "type": [
25
40
  "string",
@@ -131,7 +146,7 @@
131
146
  "null"
132
147
  ],
133
148
  "default": null,
134
- "description": "When trash retention expires."
149
+ "description": "Restore deadline, then auto-purge."
135
150
  },
136
151
  "runIds": {
137
152
  "type": "array",
@@ -22,6 +22,21 @@
22
22
  "default": null,
23
23
  "description": "Thread title; null until set."
24
24
  },
25
+ "folder": {
26
+ "anyOf": [
27
+ {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 120,
31
+ "description": "User-visible thread folder name."
32
+ },
33
+ {
34
+ "type": "null"
35
+ }
36
+ ],
37
+ "description": "Optional sidebar folder; null means ungrouped.",
38
+ "default": null
39
+ },
25
40
  "repoRoot": {
26
41
  "type": [
27
42
  "string",
@@ -133,7 +148,7 @@
133
148
  "null"
134
149
  ],
135
150
  "default": null,
136
- "description": "When trash retention expires."
151
+ "description": "Restore deadline, then auto-purge."
137
152
  },
138
153
  "runIds": {
139
154
  "type": "array",