@claudexor/schema 3.16.0 → 3.17.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.
@@ -408,7 +408,102 @@
408
408
  }
409
409
  },
410
410
  "additionalProperties": false,
411
- "description": "Generation options only, not a caller's context/output reserve; unsupported explicit options refuse before inference."
411
+ "description": "Generation options only, not a caller's context/output reserve; reasoningEffort is an adaptive preference, while unsupported other explicit options refuse before inference."
412
+ },
413
+ "effortResolution": {
414
+ "type": "object",
415
+ "properties": {
416
+ "requested": {
417
+ "anyOf": [
418
+ {
419
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
420
+ },
421
+ {
422
+ "type": "null"
423
+ }
424
+ ],
425
+ "description": "Original effort preference before adaptation; null when none was requested."
426
+ },
427
+ "submitted": {
428
+ "anyOf": [
429
+ {
430
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
431
+ },
432
+ {
433
+ "type": "null"
434
+ }
435
+ ],
436
+ "description": "Native option prepared for transport; null means omitted, never the explicit token none. Not proof of dispatch."
437
+ },
438
+ "resolution": {
439
+ "type": "string",
440
+ "enum": [
441
+ "exact",
442
+ "downward",
443
+ "floor",
444
+ "omitted",
445
+ "unverifiable",
446
+ "rejected"
447
+ ]
448
+ },
449
+ "source": {
450
+ "type": "string",
451
+ "enum": [
452
+ "account_catalog",
453
+ "live_probe",
454
+ "versioned_snapshot",
455
+ "adapter"
456
+ ]
457
+ },
458
+ "parameter": {
459
+ "anyOf": [
460
+ {
461
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
462
+ },
463
+ {
464
+ "type": "null"
465
+ }
466
+ ],
467
+ "description": "Native carrier, such as reasoning.effort, model_reasoning_effort or --effort; null when no separate knob is carried."
468
+ },
469
+ "observed": {
470
+ "anyOf": [
471
+ {
472
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
473
+ },
474
+ {
475
+ "type": "null"
476
+ }
477
+ ],
478
+ "description": "Provider-reported effort only; null when unobserved, never copied from submission."
479
+ },
480
+ "observedSource": {
481
+ "anyOf": [
482
+ {
483
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
484
+ },
485
+ {
486
+ "type": "null"
487
+ }
488
+ ],
489
+ "description": "Provider event/field that reported observed effort; null when unobserved."
490
+ },
491
+ "reason": {
492
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name",
493
+ "description": "Diagnostic explanation; consumers branch on resolution, never prose."
494
+ }
495
+ },
496
+ "required": [
497
+ "requested",
498
+ "submitted",
499
+ "resolution",
500
+ "source",
501
+ "parameter",
502
+ "observed",
503
+ "observedSource"
504
+ ],
505
+ "additionalProperties": false,
506
+ "description": "Prepared and observed effort evidence; model operations retain it only when creation requests captureEffortEvidence=true. Legacy results omit it before immutable publication."
412
507
  },
413
508
  "processing": {
414
509
  "type": "object",
@@ -178,6 +178,103 @@
178
178
  "items": {
179
179
  "type": "object",
180
180
  "properties": {
181
+ "effort_resolution": {
182
+ "type": "object",
183
+ "properties": {
184
+ "requested": {
185
+ "anyOf": [
186
+ {
187
+ "type": "string",
188
+ "minLength": 1,
189
+ "pattern": "\\S",
190
+ "description": "User-supplied string that must contain visible content, not just whitespace."
191
+ },
192
+ {
193
+ "type": "null"
194
+ }
195
+ ],
196
+ "description": "Original effort preference before adaptation; null when none was requested."
197
+ },
198
+ "submitted": {
199
+ "anyOf": [
200
+ {
201
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
202
+ },
203
+ {
204
+ "type": "null"
205
+ }
206
+ ],
207
+ "description": "Native option prepared for transport; null means omitted, never the explicit token none. Not proof of dispatch."
208
+ },
209
+ "resolution": {
210
+ "type": "string",
211
+ "enum": [
212
+ "exact",
213
+ "downward",
214
+ "floor",
215
+ "omitted",
216
+ "unverifiable",
217
+ "rejected"
218
+ ]
219
+ },
220
+ "source": {
221
+ "type": "string",
222
+ "enum": [
223
+ "account_catalog",
224
+ "live_probe",
225
+ "versioned_snapshot",
226
+ "adapter"
227
+ ]
228
+ },
229
+ "parameter": {
230
+ "anyOf": [
231
+ {
232
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
233
+ },
234
+ {
235
+ "type": "null"
236
+ }
237
+ ],
238
+ "description": "Native carrier, such as reasoning.effort, model_reasoning_effort or --effort; null when no separate knob is carried."
239
+ },
240
+ "observed": {
241
+ "anyOf": [
242
+ {
243
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
244
+ },
245
+ {
246
+ "type": "null"
247
+ }
248
+ ],
249
+ "description": "Provider-reported effort only; null when unobserved, never copied from submission."
250
+ },
251
+ "observedSource": {
252
+ "anyOf": [
253
+ {
254
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
255
+ },
256
+ {
257
+ "type": "null"
258
+ }
259
+ ],
260
+ "description": "Provider event/field that reported observed effort; null when unobserved."
261
+ },
262
+ "reason": {
263
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0",
264
+ "description": "Diagnostic explanation; consumers branch on resolution, never prose."
265
+ }
266
+ },
267
+ "required": [
268
+ "requested",
269
+ "submitted",
270
+ "resolution",
271
+ "source",
272
+ "parameter",
273
+ "observed",
274
+ "observedSource"
275
+ ],
276
+ "additionalProperties": false
277
+ },
181
278
  "processing": {
182
279
  "type": "object",
183
280
  "properties": {
@@ -212,10 +309,7 @@
212
309
  "submittedNative": {
213
310
  "anyOf": [
214
311
  {
215
- "type": "string",
216
- "minLength": 1,
217
- "pattern": "\\S",
218
- "description": "User-supplied string that must contain visible content, not just whitespace."
312
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
219
313
  },
220
314
  {
221
315
  "type": "null"
@@ -236,13 +330,13 @@
236
330
  "observedNative": {
237
331
  "type": "array",
238
332
  "items": {
239
- "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
333
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
240
334
  }
241
335
  },
242
336
  "reason": {
243
337
  "anyOf": [
244
338
  {
245
- "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
339
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
246
340
  },
247
341
  {
248
342
  "type": "null"
@@ -251,7 +345,7 @@
251
345
  "description": "User-supplied string that must contain visible content, not just whitespace."
252
346
  },
253
347
  "source": {
254
- "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
348
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
255
349
  }
256
350
  },
257
351
  "required": [
@@ -272,7 +366,7 @@
272
366
  "nativeMode": {
273
367
  "anyOf": [
274
368
  {
275
- "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
369
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
276
370
  },
277
371
  {
278
372
  "type": "null"
@@ -291,7 +385,7 @@
291
385
  ]
292
386
  },
293
387
  "source": {
294
- "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
388
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
295
389
  }
296
390
  },
297
391
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.16.0",
3
+ "version": "3.17.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.4.3",
22
22
  "zod-to-json-schema": "^3.24.1",
23
- "@claudexor/util": "3.16.0"
23
+ "@claudexor/util": "3.17.1"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",