@claudexor/schema 3.9.7 → 3.10.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 (76) hide show
  1. package/dist/attachment.d.ts +6 -0
  2. package/dist/attachment.d.ts.map +1 -1
  3. package/dist/attachment.js +8 -0
  4. package/dist/attachment.js.map +1 -1
  5. package/dist/control-gc.d.ts +21 -0
  6. package/dist/control-gc.d.ts.map +1 -1
  7. package/dist/control-gc.js +12 -0
  8. package/dist/control-gc.js.map +1 -1
  9. package/dist/control-operation-responses.d.ts +15 -0
  10. package/dist/control-operation-responses.d.ts.map +1 -1
  11. package/dist/control-run-detail.d.ts +43 -5
  12. package/dist/control-run-detail.d.ts.map +1 -1
  13. package/dist/control.d.ts +40 -0
  14. package/dist/control.d.ts.map +1 -1
  15. package/dist/control.js +8 -0
  16. package/dist/control.js.map +1 -1
  17. package/dist/decision.d.ts +15 -4
  18. package/dist/decision.d.ts.map +1 -1
  19. package/dist/decision.js +13 -9
  20. package/dist/decision.js.map +1 -1
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +1 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/mcp-run-result.d.ts +24 -0
  26. package/dist/mcp-run-result.d.ts.map +1 -1
  27. package/dist/model-operation.d.ts +2158 -0
  28. package/dist/model-operation.d.ts.map +1 -0
  29. package/dist/model-operation.js +230 -0
  30. package/dist/model-operation.js.map +1 -0
  31. package/dist/run-facts.d.ts +5 -0
  32. package/dist/run-facts.d.ts.map +1 -1
  33. package/dist/run-facts.js +3 -3
  34. package/dist/run-facts.js.map +1 -1
  35. package/dist/run-strategy.d.ts +17 -0
  36. package/dist/run-strategy.d.ts.map +1 -1
  37. package/dist/run-strategy.js +31 -0
  38. package/dist/run-strategy.js.map +1 -1
  39. package/dist/status-projection.d.ts.map +1 -1
  40. package/dist/status-projection.js +13 -1
  41. package/dist/status-projection.js.map +1 -1
  42. package/dist/surface-run-controls.d.ts.map +1 -1
  43. package/dist/surface-run-controls.js +3 -0
  44. package/dist/surface-run-controls.js.map +1 -1
  45. package/dist/task.d.ts +9 -0
  46. package/dist/task.d.ts.map +1 -1
  47. package/dist/task.js +4 -0
  48. package/dist/task.js.map +1 -1
  49. package/dist/telemetry.d.ts +7 -0
  50. package/dist/telemetry.d.ts.map +1 -1
  51. package/generated/ControlGcReceipt.schema.json +23 -0
  52. package/generated/ControlGcRequest.schema.json +4 -0
  53. package/generated/ControlModelCatalogResponse.schema.json +137 -0
  54. package/generated/ControlModelOperationAckRequest.schema.json +19 -0
  55. package/generated/ControlModelOperationControlRequest.schema.json +27 -0
  56. package/generated/ControlModelOperationCreateRequest.schema.json +40 -0
  57. package/generated/ControlModelOperationDetail.schema.json +464 -0
  58. package/generated/ControlModelSourcesResponse.schema.json +44 -0
  59. package/generated/ControlResource.schema.json +5 -0
  60. package/generated/ControlRunAgainDraft.schema.json +4 -0
  61. package/generated/ControlRunDetail.schema.json +10 -1
  62. package/generated/ControlRunListResponse.schema.json +8 -0
  63. package/generated/ControlRunStartRequest.schema.json +4 -0
  64. package/generated/ControlRunSummary.schema.json +8 -0
  65. package/generated/ControlThreadDetail.schema.json +4 -0
  66. package/generated/ControlThreadTurnRequest.schema.json +4 -0
  67. package/generated/ControlUploadCreateRequest.schema.json +5 -0
  68. package/generated/DecisionRecord.schema.json +6 -1
  69. package/generated/McpRunHandleResult.schema.json +4 -0
  70. package/generated/McpRunToolResult.schema.json +4 -0
  71. package/generated/ModelCallRequest.schema.json +316 -0
  72. package/generated/ModelCallResult.schema.json +419 -0
  73. package/generated/RunFacts.schema.json +4 -0
  74. package/generated/RunTelemetry.schema.json +4 -0
  75. package/generated/TaskContract.schema.json +4 -0
  76. package/package.json +2 -2
@@ -55,6 +55,10 @@
55
55
  "description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
56
56
  "default": "not_run"
57
57
  },
58
+ "review_requested": {
59
+ "type": "boolean",
60
+ "description": "Frozen model-review intent. False permits an honestly unreviewed result; absent historical records retain the review requirement."
61
+ },
58
62
  "reason": {
59
63
  "anyOf": [
60
64
  {
@@ -353,10 +357,11 @@
353
357
  "type": "string",
354
358
  "enum": [
355
359
  "none",
360
+ "deterministic_checks",
356
361
  "cross_family_review",
357
362
  "both"
358
363
  ],
359
- "description": "What backed an applyable outcome: none (non-applyable), cross_family_review (a clean cross-family verified review), or both (deterministic gates and that review).",
364
+ "description": "Verification evidence: none, deterministic_checks, cross_family_review (clean and verified), or both. An intentionally unreviewed result can be applicable without verification evidence.",
360
365
  "default": "none"
361
366
  },
362
367
  "final_verify": {
@@ -97,6 +97,10 @@
97
97
  "description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
98
98
  "default": "not_run"
99
99
  },
100
+ "review_requested": {
101
+ "type": "boolean",
102
+ "description": "Frozen model-review intent. False permits an honestly unreviewed result; absent historical records retain the review requirement."
103
+ },
100
104
  "reason": {
101
105
  "anyOf": [
102
106
  {
@@ -94,6 +94,10 @@
94
94
  "description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
95
95
  "default": "not_run"
96
96
  },
97
+ "review_requested": {
98
+ "type": "boolean",
99
+ "description": "Frozen model-review intent. False permits an honestly unreviewed result; absent historical records retain the review requirement."
100
+ },
97
101
  "reason": {
98
102
  "anyOf": [
99
103
  {
@@ -0,0 +1,316 @@
1
+ {
2
+ "$ref": "#/definitions/ModelCallRequest",
3
+ "definitions": {
4
+ "ModelCallRequest": {
5
+ "type": "object",
6
+ "properties": {
7
+ "source": {
8
+ "type": "string",
9
+ "minLength": 1,
10
+ "description": "Non-empty identifier string."
11
+ },
12
+ "model": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "pattern": "\\S",
16
+ "description": "User-supplied string that must contain visible content, not just whitespace."
17
+ },
18
+ "account": {
19
+ "anyOf": [
20
+ {
21
+ "type": "object",
22
+ "properties": {
23
+ "mode": {
24
+ "type": "string",
25
+ "const": "auto"
26
+ },
27
+ "preferredProfileId": {
28
+ "$ref": "#/definitions/ModelCallRequest/properties/source",
29
+ "description": "Non-empty identifier string."
30
+ }
31
+ },
32
+ "required": [
33
+ "mode"
34
+ ],
35
+ "additionalProperties": false
36
+ },
37
+ {
38
+ "type": "object",
39
+ "properties": {
40
+ "mode": {
41
+ "type": "string",
42
+ "const": "pin"
43
+ },
44
+ "profileId": {
45
+ "$ref": "#/definitions/ModelCallRequest/properties/source"
46
+ }
47
+ },
48
+ "required": [
49
+ "mode",
50
+ "profileId"
51
+ ],
52
+ "additionalProperties": false
53
+ }
54
+ ],
55
+ "description": "Auto keeps a usable prior account; pin never selects another account."
56
+ },
57
+ "messages": {
58
+ "type": "array",
59
+ "items": {
60
+ "type": "object",
61
+ "properties": {
62
+ "role": {
63
+ "type": "string",
64
+ "enum": [
65
+ "system",
66
+ "developer",
67
+ "user",
68
+ "assistant",
69
+ "tool"
70
+ ]
71
+ },
72
+ "content": {
73
+ "anyOf": [
74
+ {
75
+ "anyOf": [
76
+ {
77
+ "type": "string"
78
+ },
79
+ {
80
+ "type": "array",
81
+ "items": {
82
+ "type": "object",
83
+ "additionalProperties": {}
84
+ }
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "type": "null"
90
+ }
91
+ ]
92
+ },
93
+ "name": {
94
+ "type": "string"
95
+ },
96
+ "tool_call_id": {
97
+ "$ref": "#/definitions/ModelCallRequest/properties/source",
98
+ "description": "Non-empty identifier string."
99
+ },
100
+ "tool_calls": {
101
+ "type": "array",
102
+ "items": {
103
+ "type": "object",
104
+ "properties": {
105
+ "id": {
106
+ "$ref": "#/definitions/ModelCallRequest/properties/source"
107
+ },
108
+ "type": {
109
+ "type": "string",
110
+ "const": "function"
111
+ },
112
+ "function": {
113
+ "type": "object",
114
+ "properties": {
115
+ "name": {
116
+ "$ref": "#/definitions/ModelCallRequest/properties/model"
117
+ },
118
+ "arguments": {
119
+ "type": "string"
120
+ }
121
+ },
122
+ "required": [
123
+ "name",
124
+ "arguments"
125
+ ],
126
+ "additionalProperties": false
127
+ }
128
+ },
129
+ "required": [
130
+ "id",
131
+ "type",
132
+ "function"
133
+ ],
134
+ "additionalProperties": false
135
+ }
136
+ },
137
+ "nativeContinuation": {
138
+ "type": "object",
139
+ "properties": {
140
+ "route": {
141
+ "type": "object",
142
+ "properties": {
143
+ "source": {
144
+ "$ref": "#/definitions/ModelCallRequest/properties/source"
145
+ },
146
+ "credentialProfileId": {
147
+ "$ref": "#/definitions/ModelCallRequest/properties/source"
148
+ },
149
+ "accountFingerprint": {
150
+ "type": [
151
+ "string",
152
+ "null"
153
+ ]
154
+ },
155
+ "model": {
156
+ "type": [
157
+ "string",
158
+ "null"
159
+ ]
160
+ }
161
+ },
162
+ "required": [
163
+ "source",
164
+ "credentialProfileId",
165
+ "accountFingerprint",
166
+ "model"
167
+ ],
168
+ "additionalProperties": false,
169
+ "description": "Selected route at dispatch; a result records the actually observed model, or null."
170
+ },
171
+ "format": {
172
+ "$ref": "#/definitions/ModelCallRequest/properties/model"
173
+ },
174
+ "payload": {}
175
+ },
176
+ "required": [
177
+ "route",
178
+ "format"
179
+ ],
180
+ "additionalProperties": false,
181
+ "description": "Complete provider-native assistant turn, bound to its account and model; replaces reconstruction on replay."
182
+ }
183
+ },
184
+ "required": [
185
+ "role",
186
+ "content"
187
+ ],
188
+ "additionalProperties": false,
189
+ "description": "Caller-owned conversation message. Text, content blocks, and tool arguments are not redacted or rewritten."
190
+ },
191
+ "minItems": 1
192
+ },
193
+ "tools": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "object",
197
+ "properties": {
198
+ "type": {
199
+ "type": "string",
200
+ "const": "function"
201
+ },
202
+ "function": {
203
+ "type": "object",
204
+ "properties": {
205
+ "name": {
206
+ "$ref": "#/definitions/ModelCallRequest/properties/model"
207
+ },
208
+ "description": {
209
+ "type": "string"
210
+ },
211
+ "parameters": {
212
+ "type": "object",
213
+ "additionalProperties": {}
214
+ },
215
+ "strict": {
216
+ "type": "boolean"
217
+ }
218
+ },
219
+ "required": [
220
+ "name",
221
+ "parameters"
222
+ ],
223
+ "additionalProperties": false
224
+ }
225
+ },
226
+ "required": [
227
+ "type",
228
+ "function"
229
+ ],
230
+ "additionalProperties": false,
231
+ "description": "A caller-executed function; the model transport never executes it or rewrites its JSON schema."
232
+ },
233
+ "default": []
234
+ },
235
+ "toolChoice": {
236
+ "anyOf": [
237
+ {
238
+ "type": "string",
239
+ "enum": [
240
+ "auto",
241
+ "none",
242
+ "required"
243
+ ]
244
+ },
245
+ {
246
+ "type": "object",
247
+ "properties": {
248
+ "type": {
249
+ "type": "string",
250
+ "const": "function"
251
+ },
252
+ "function": {
253
+ "type": "object",
254
+ "properties": {
255
+ "name": {
256
+ "$ref": "#/definitions/ModelCallRequest/properties/model"
257
+ }
258
+ },
259
+ "required": [
260
+ "name"
261
+ ],
262
+ "additionalProperties": false
263
+ }
264
+ },
265
+ "required": [
266
+ "type",
267
+ "function"
268
+ ],
269
+ "additionalProperties": false
270
+ }
271
+ ],
272
+ "default": "auto"
273
+ },
274
+ "options": {
275
+ "type": "object",
276
+ "properties": {
277
+ "reasoningEffort": {
278
+ "$ref": "#/definitions/ModelCallRequest/properties/model",
279
+ "description": "User-supplied string that must contain visible content, not just whitespace."
280
+ },
281
+ "serviceTier": {
282
+ "$ref": "#/definitions/ModelCallRequest/properties/model",
283
+ "description": "User-supplied string that must contain visible content, not just whitespace."
284
+ },
285
+ "parallelToolCalls": {
286
+ "type": "boolean"
287
+ },
288
+ "cacheKey": {
289
+ "$ref": "#/definitions/ModelCallRequest/properties/model",
290
+ "description": "User-supplied string that must contain visible content, not just whitespace."
291
+ },
292
+ "maxOutputTokens": {
293
+ "type": "integer",
294
+ "exclusiveMinimum": 0
295
+ },
296
+ "temperature": {
297
+ "type": "number"
298
+ }
299
+ },
300
+ "additionalProperties": false,
301
+ "description": "Generation options only, not a caller's context/output reserve; unsupported explicit options refuse before inference.",
302
+ "default": {}
303
+ }
304
+ },
305
+ "required": [
306
+ "source",
307
+ "model",
308
+ "account",
309
+ "messages"
310
+ ],
311
+ "additionalProperties": false,
312
+ "description": "One model generation request, stored only in a model-purpose payload outside the command journal."
313
+ }
314
+ },
315
+ "$schema": "http://json-schema.org/draft-07/schema#"
316
+ }