@claudexor/schema 3.10.5 → 3.11.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 (157) hide show
  1. package/dist/agent-capabilities.d.ts +24 -0
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +5 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/attempt-execution.d.ts +112 -0
  6. package/dist/attempt-execution.d.ts.map +1 -0
  7. package/dist/attempt-execution.js +15 -0
  8. package/dist/attempt-execution.js.map +1 -0
  9. package/dist/budget.d.ts +76 -0
  10. package/dist/budget.d.ts.map +1 -1
  11. package/dist/budget.js +12 -0
  12. package/dist/budget.js.map +1 -1
  13. package/dist/control-harness-list.d.ts +18 -0
  14. package/dist/control-harness-list.d.ts.map +1 -1
  15. package/dist/control-harness-models.d.ts +1042 -0
  16. package/dist/control-harness-models.d.ts.map +1 -0
  17. package/dist/control-harness-models.js +47 -0
  18. package/dist/control-harness-models.js.map +1 -0
  19. package/dist/control-operation-responses.d.ts +73 -21
  20. package/dist/control-operation-responses.d.ts.map +1 -1
  21. package/dist/control-operation-responses.js +6 -0
  22. package/dist/control-operation-responses.js.map +1 -1
  23. package/dist/control-run-detail.d.ts +270 -85
  24. package/dist/control-run-detail.d.ts.map +1 -1
  25. package/dist/control-run-detail.js +12 -1
  26. package/dist/control-run-detail.js.map +1 -1
  27. package/dist/control-run-execution.d.ts +6 -0
  28. package/dist/control-run-execution.d.ts.map +1 -1
  29. package/dist/control-run-execution.js +6 -0
  30. package/dist/control-run-execution.js.map +1 -1
  31. package/dist/control-thread-apply.d.ts +12 -0
  32. package/dist/control-thread-apply.d.ts.map +1 -1
  33. package/dist/control.d.ts +181 -146
  34. package/dist/control.d.ts.map +1 -1
  35. package/dist/control.js +25 -33
  36. package/dist/control.js.map +1 -1
  37. package/dist/credential-profile-snapshot.d.ts +36 -0
  38. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  39. package/dist/decision.d.ts +16 -8
  40. package/dist/decision.d.ts.map +1 -1
  41. package/dist/decision.js +5 -0
  42. package/dist/decision.js.map +1 -1
  43. package/dist/delivery.d.ts +8 -0
  44. package/dist/delivery.d.ts.map +1 -1
  45. package/dist/delivery.js +1 -0
  46. package/dist/delivery.js.map +1 -1
  47. package/dist/files-manifest.d.ts +501 -0
  48. package/dist/files-manifest.d.ts.map +1 -0
  49. package/dist/files-manifest.js +77 -0
  50. package/dist/files-manifest.js.map +1 -0
  51. package/dist/harness-model.d.ts +86 -0
  52. package/dist/harness-model.d.ts.map +1 -0
  53. package/dist/harness-model.js +34 -0
  54. package/dist/harness-model.js.map +1 -0
  55. package/dist/harness.d.ts +183 -27
  56. package/dist/harness.d.ts.map +1 -1
  57. package/dist/harness.js +19 -31
  58. package/dist/harness.js.map +1 -1
  59. package/dist/index.d.ts +3 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +3 -0
  62. package/dist/index.js.map +1 -1
  63. package/dist/mcp-run-result.d.ts +379 -56
  64. package/dist/mcp-run-result.d.ts.map +1 -1
  65. package/dist/mcp-run-result.js +3 -0
  66. package/dist/mcp-run-result.js.map +1 -1
  67. package/dist/model-operation.d.ts +1371 -0
  68. package/dist/model-operation.d.ts.map +1 -1
  69. package/dist/model-operation.js +36 -0
  70. package/dist/model-operation.js.map +1 -1
  71. package/dist/processing.d.ts +94 -0
  72. package/dist/processing.d.ts.map +1 -0
  73. package/dist/processing.js +45 -0
  74. package/dist/processing.js.map +1 -0
  75. package/dist/readiness.d.ts +14 -0
  76. package/dist/readiness.d.ts.map +1 -1
  77. package/dist/run-facts.d.ts +28 -28
  78. package/dist/run-facts.js +4 -4
  79. package/dist/run-facts.js.map +1 -1
  80. package/dist/run-strategy.d.ts +1 -0
  81. package/dist/run-strategy.d.ts.map +1 -1
  82. package/dist/run-strategy.js +2 -0
  83. package/dist/run-strategy.js.map +1 -1
  84. package/dist/status-projection.d.ts.map +1 -1
  85. package/dist/status-projection.js +3 -1
  86. package/dist/status-projection.js.map +1 -1
  87. package/dist/surface-run-controls.d.ts.map +1 -1
  88. package/dist/surface-run-controls.js +22 -1
  89. package/dist/surface-run-controls.js.map +1 -1
  90. package/dist/task.d.ts +9 -0
  91. package/dist/task.d.ts.map +1 -1
  92. package/dist/task.js +2 -0
  93. package/dist/task.js.map +1 -1
  94. package/dist/telemetry.d.ts +263 -41
  95. package/dist/telemetry.d.ts.map +1 -1
  96. package/dist/telemetry.js +5 -8
  97. package/dist/telemetry.js.map +1 -1
  98. package/dist/workproduct.d.ts +4 -4
  99. package/dist/workproduct.d.ts.map +1 -1
  100. package/dist/workproduct.js +4 -4
  101. package/dist/workproduct.js.map +1 -1
  102. package/dist/workspace.d.ts +14 -11
  103. package/dist/workspace.d.ts.map +1 -1
  104. package/dist/workspace.js +14 -9
  105. package/dist/workspace.js.map +1 -1
  106. package/generated/AgentCapabilityCatalog.schema.json +25 -0
  107. package/generated/AttemptExecutionEvidence.schema.json +187 -0
  108. package/generated/BudgetLease.schema.json +39 -0
  109. package/generated/ControlApplyCheckRequest.schema.json +7 -0
  110. package/generated/ControlApplyRequest.schema.json +7 -0
  111. package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
  112. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
  113. package/generated/ControlDeliveryResponse.schema.json +10 -0
  114. package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
  115. package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
  116. package/generated/ControlHarnessListResponse.schema.json +25 -0
  117. package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
  118. package/generated/ControlHarnessModelsResponse.schema.json +89 -0
  119. package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
  120. package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
  121. package/generated/ControlModelCatalogResponse.schema.json +86 -0
  122. package/generated/ControlModelOperationDetail.schema.json +39 -0
  123. package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
  124. package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
  125. package/generated/ControlRunAgainDraft.schema.json +29 -0
  126. package/generated/ControlRunDecisionRequest.schema.json +4 -3
  127. package/generated/ControlRunDecisionResponse.schema.json +2 -1
  128. package/generated/ControlRunDetail.schema.json +234 -28
  129. package/generated/ControlRunListResponse.schema.json +18 -4
  130. package/generated/ControlRunStartRequest.schema.json +29 -0
  131. package/generated/ControlRunSummary.schema.json +18 -4
  132. package/generated/ControlThreadApplyResponse.schema.json +10 -0
  133. package/generated/ControlThreadDetail.schema.json +9 -4
  134. package/generated/ControlThreadTurnRequest.schema.json +45 -0
  135. package/generated/DecisionRecord.schema.json +8 -1
  136. package/generated/HarnessEvent.schema.json +146 -0
  137. package/generated/HarnessManifest.schema.json +25 -0
  138. package/generated/HarnessModel.schema.json +89 -0
  139. package/generated/HarnessStatusDto.schema.json +25 -0
  140. package/generated/McpRunHandleResult.schema.json +205 -9
  141. package/generated/McpRunToolResult.schema.json +196 -9
  142. package/generated/ModelCallRequest.schema.json +9 -0
  143. package/generated/ModelCallResult.schema.json +124 -0
  144. package/generated/ProcessingCapability.schema.json +95 -0
  145. package/generated/ProcessingCostBasis.schema.json +45 -0
  146. package/generated/ProcessingPreference.schema.json +15 -0
  147. package/generated/ProcessingReceipt.schema.json +94 -0
  148. package/generated/RunFacts.schema.json +6 -1
  149. package/generated/RunTelemetry.schema.json +168 -1
  150. package/generated/TaskContract.schema.json +9 -0
  151. package/generated/UsageCostBasis.schema.json +31 -0
  152. package/generated/UsageCostSummary.schema.json +44 -0
  153. package/generated/WorkProduct.schema.json +4 -3
  154. package/generated/WorkspaceEnvelope.schema.json +25 -5
  155. package/generated/WorkspaceFilesManifest.schema.json +160 -0
  156. package/generated/WorkspaceKind.schema.json +13 -0
  157. package/package.json +2 -2
@@ -230,6 +230,42 @@
230
230
  "cost": {
231
231
  "type": "object",
232
232
  "properties": {
233
+ "processing": {
234
+ "type": "object",
235
+ "properties": {
236
+ "nativeMode": {
237
+ "anyOf": [
238
+ {
239
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
240
+ },
241
+ {
242
+ "type": "null"
243
+ }
244
+ ],
245
+ "description": "User-supplied string that must contain visible content, not just whitespace."
246
+ },
247
+ "kind": {
248
+ "type": "string",
249
+ "enum": [
250
+ "included",
251
+ "paid_credits",
252
+ "cash",
253
+ "valuation",
254
+ "unknown"
255
+ ]
256
+ },
257
+ "source": {
258
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
259
+ }
260
+ },
261
+ "required": [
262
+ "nativeMode",
263
+ "kind",
264
+ "source"
265
+ ],
266
+ "additionalProperties": false,
267
+ "description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
268
+ },
233
269
  "knowledge": {
234
270
  "type": "string",
235
271
  "enum": [
@@ -323,6 +359,15 @@
323
359
  "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name",
324
360
  "description": "User-supplied string that must contain visible content, not just whitespace."
325
361
  },
362
+ "processingPreference": {
363
+ "type": "string",
364
+ "enum": [
365
+ "standard",
366
+ "fast",
367
+ "economy"
368
+ ],
369
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
370
+ },
326
371
  "parallelToolCalls": {
327
372
  "type": "boolean"
328
373
  },
@@ -341,6 +386,85 @@
341
386
  "additionalProperties": false,
342
387
  "description": "Generation options only, not a caller's context/output reserve; unsupported explicit options refuse before inference."
343
388
  },
389
+ "processing": {
390
+ "type": "object",
391
+ "properties": {
392
+ "requested": {
393
+ "anyOf": [
394
+ {
395
+ "$ref": "#/definitions/ModelCallResult/properties/appliedOptions/properties/processingPreference"
396
+ },
397
+ {
398
+ "type": "null"
399
+ }
400
+ ],
401
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
402
+ },
403
+ "submitted": {
404
+ "anyOf": [
405
+ {
406
+ "$ref": "#/definitions/ModelCallResult/properties/appliedOptions/properties/processingPreference"
407
+ },
408
+ {
409
+ "type": "null"
410
+ }
411
+ ],
412
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
413
+ },
414
+ "submittedNative": {
415
+ "anyOf": [
416
+ {
417
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
418
+ },
419
+ {
420
+ "type": "null"
421
+ }
422
+ ],
423
+ "description": "User-supplied string that must contain visible content, not just whitespace."
424
+ },
425
+ "observed": {
426
+ "type": "string",
427
+ "enum": [
428
+ "standard",
429
+ "fast",
430
+ "economy",
431
+ "mixed",
432
+ "unknown"
433
+ ]
434
+ },
435
+ "observedNative": {
436
+ "type": "array",
437
+ "items": {
438
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
439
+ }
440
+ },
441
+ "reason": {
442
+ "anyOf": [
443
+ {
444
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
445
+ },
446
+ {
447
+ "type": "null"
448
+ }
449
+ ],
450
+ "description": "User-supplied string that must contain visible content, not just whitespace."
451
+ },
452
+ "source": {
453
+ "$ref": "#/definitions/ModelCallResult/properties/message/anyOf/0/properties/tool_calls/items/properties/function/properties/name"
454
+ }
455
+ },
456
+ "required": [
457
+ "requested",
458
+ "submitted",
459
+ "submittedNative",
460
+ "observed",
461
+ "observedNative",
462
+ "reason",
463
+ "source"
464
+ ],
465
+ "additionalProperties": false,
466
+ "description": "Requested intent, submitted native control, and observed execution are independent facts. A submitted flag never proves observed service; mixed or missing session observations remain explicit."
467
+ },
344
468
  "problem": {
345
469
  "anyOf": [
346
470
  {
@@ -0,0 +1,95 @@
1
+ {
2
+ "$ref": "#/definitions/ProcessingCapability",
3
+ "definitions": {
4
+ "ProcessingCapability": {
5
+ "type": "object",
6
+ "properties": {
7
+ "modes": {
8
+ "anyOf": [
9
+ {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "string",
13
+ "enum": [
14
+ "standard",
15
+ "fast",
16
+ "economy"
17
+ ],
18
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
19
+ }
20
+ },
21
+ {
22
+ "type": "null"
23
+ }
24
+ ]
25
+ },
26
+ "nativeModes": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "object",
30
+ "properties": {
31
+ "mode": {
32
+ "$ref": "#/definitions/ProcessingCapability/properties/modes/anyOf/0/items"
33
+ },
34
+ "id": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "pattern": "\\S",
38
+ "description": "User-supplied string that must contain visible content, not just whitespace."
39
+ }
40
+ },
41
+ "required": [
42
+ "mode",
43
+ "id"
44
+ ],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "defaultNativeMode": {
49
+ "anyOf": [
50
+ {
51
+ "$ref": "#/definitions/ProcessingCapability/properties/nativeModes/items/properties/id"
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ],
57
+ "description": "User-supplied string that must contain visible content, not just whitespace."
58
+ },
59
+ "eligible": {
60
+ "type": [
61
+ "boolean",
62
+ "null"
63
+ ]
64
+ },
65
+ "source": {
66
+ "$ref": "#/definitions/ProcessingCapability/properties/nativeModes/items/properties/id"
67
+ },
68
+ "observedAt": {
69
+ "anyOf": [
70
+ {
71
+ "type": "string",
72
+ "minLength": 1,
73
+ "description": "ISO-8601 timestamp string."
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ],
79
+ "description": "ISO-8601 timestamp string."
80
+ }
81
+ },
82
+ "required": [
83
+ "modes",
84
+ "nativeModes",
85
+ "defaultNativeMode",
86
+ "eligible",
87
+ "source",
88
+ "observedAt"
89
+ ],
90
+ "additionalProperties": false,
91
+ "description": "Exact model/account service evidence. Null modes or eligibility means unknown, not unsupported; native IDs remain adapter-owned. Transport support is declared separately."
92
+ }
93
+ },
94
+ "$schema": "http://json-schema.org/draft-07/schema#"
95
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "$ref": "#/definitions/ProcessingCostBasis",
3
+ "definitions": {
4
+ "ProcessingCostBasis": {
5
+ "type": "object",
6
+ "properties": {
7
+ "nativeMode": {
8
+ "anyOf": [
9
+ {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "pattern": "\\S",
13
+ "description": "User-supplied string that must contain visible content, not just whitespace."
14
+ },
15
+ {
16
+ "type": "null"
17
+ }
18
+ ],
19
+ "description": "User-supplied string that must contain visible content, not just whitespace."
20
+ },
21
+ "kind": {
22
+ "type": "string",
23
+ "enum": [
24
+ "included",
25
+ "paid_credits",
26
+ "cash",
27
+ "valuation",
28
+ "unknown"
29
+ ]
30
+ },
31
+ "source": {
32
+ "$ref": "#/definitions/ProcessingCostBasis/properties/nativeMode/anyOf/0"
33
+ }
34
+ },
35
+ "required": [
36
+ "nativeMode",
37
+ "kind",
38
+ "source"
39
+ ],
40
+ "additionalProperties": false,
41
+ "description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
42
+ }
43
+ },
44
+ "$schema": "http://json-schema.org/draft-07/schema#"
45
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$ref": "#/definitions/ProcessingPreference",
3
+ "definitions": {
4
+ "ProcessingPreference": {
5
+ "type": "string",
6
+ "enum": [
7
+ "standard",
8
+ "fast",
9
+ "economy"
10
+ ],
11
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
12
+ }
13
+ },
14
+ "$schema": "http://json-schema.org/draft-07/schema#"
15
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "$ref": "#/definitions/ProcessingReceipt",
3
+ "definitions": {
4
+ "ProcessingReceipt": {
5
+ "type": "object",
6
+ "properties": {
7
+ "requested": {
8
+ "anyOf": [
9
+ {
10
+ "type": "string",
11
+ "enum": [
12
+ "standard",
13
+ "fast",
14
+ "economy"
15
+ ],
16
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ],
22
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
23
+ },
24
+ "submitted": {
25
+ "anyOf": [
26
+ {
27
+ "$ref": "#/definitions/ProcessingReceipt/properties/requested/anyOf/0"
28
+ },
29
+ {
30
+ "type": "null"
31
+ }
32
+ ],
33
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
34
+ },
35
+ "submittedNative": {
36
+ "anyOf": [
37
+ {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "pattern": "\\S",
41
+ "description": "User-supplied string that must contain visible content, not just whitespace."
42
+ },
43
+ {
44
+ "type": "null"
45
+ }
46
+ ],
47
+ "description": "User-supplied string that must contain visible content, not just whitespace."
48
+ },
49
+ "observed": {
50
+ "type": "string",
51
+ "enum": [
52
+ "standard",
53
+ "fast",
54
+ "economy",
55
+ "mixed",
56
+ "unknown"
57
+ ]
58
+ },
59
+ "observedNative": {
60
+ "type": "array",
61
+ "items": {
62
+ "$ref": "#/definitions/ProcessingReceipt/properties/submittedNative/anyOf/0"
63
+ }
64
+ },
65
+ "reason": {
66
+ "anyOf": [
67
+ {
68
+ "$ref": "#/definitions/ProcessingReceipt/properties/submittedNative/anyOf/0"
69
+ },
70
+ {
71
+ "type": "null"
72
+ }
73
+ ],
74
+ "description": "User-supplied string that must contain visible content, not just whitespace."
75
+ },
76
+ "source": {
77
+ "$ref": "#/definitions/ProcessingReceipt/properties/submittedNative/anyOf/0"
78
+ }
79
+ },
80
+ "required": [
81
+ "requested",
82
+ "submitted",
83
+ "submittedNative",
84
+ "observed",
85
+ "observedNative",
86
+ "reason",
87
+ "source"
88
+ ],
89
+ "additionalProperties": false,
90
+ "description": "Requested intent, submitted native control, and observed execution are independent facts. A submitted flag never proves observed service; mixed or missing session observations remain explicit."
91
+ }
92
+ },
93
+ "$schema": "http://json-schema.org/draft-07/schema#"
94
+ }
@@ -40,7 +40,10 @@
40
40
  "description": "Terminal lifecycle of the run."
41
41
  },
42
42
  "noChanges": {
43
- "type": "boolean",
43
+ "type": [
44
+ "boolean",
45
+ "null"
46
+ ],
44
47
  "default": false,
45
48
  "description": "True when the run finished without changing any files (the ex no_op fact)."
46
49
  },
@@ -201,6 +204,7 @@
201
204
  "report",
202
205
  "plan",
203
206
  "patch",
207
+ "files",
204
208
  "structured_output"
205
209
  ]
206
210
  },
@@ -261,6 +265,7 @@
261
265
  "report",
262
266
  "plan",
263
267
  "patch",
268
+ "files",
264
269
  "structured_output",
265
270
  "diagnostic"
266
271
  ],
@@ -178,6 +178,168 @@
178
178
  "items": {
179
179
  "type": "object",
180
180
  "properties": {
181
+ "processing": {
182
+ "type": "object",
183
+ "properties": {
184
+ "requested": {
185
+ "anyOf": [
186
+ {
187
+ "type": "string",
188
+ "enum": [
189
+ "standard",
190
+ "fast",
191
+ "economy"
192
+ ],
193
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
194
+ },
195
+ {
196
+ "type": "null"
197
+ }
198
+ ],
199
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
200
+ },
201
+ "submitted": {
202
+ "anyOf": [
203
+ {
204
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/requested/anyOf/0"
205
+ },
206
+ {
207
+ "type": "null"
208
+ }
209
+ ],
210
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
211
+ },
212
+ "submittedNative": {
213
+ "anyOf": [
214
+ {
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "pattern": "\\S",
218
+ "description": "User-supplied string that must contain visible content, not just whitespace."
219
+ },
220
+ {
221
+ "type": "null"
222
+ }
223
+ ],
224
+ "description": "User-supplied string that must contain visible content, not just whitespace."
225
+ },
226
+ "observed": {
227
+ "type": "string",
228
+ "enum": [
229
+ "standard",
230
+ "fast",
231
+ "economy",
232
+ "mixed",
233
+ "unknown"
234
+ ]
235
+ },
236
+ "observedNative": {
237
+ "type": "array",
238
+ "items": {
239
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
240
+ }
241
+ },
242
+ "reason": {
243
+ "anyOf": [
244
+ {
245
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
246
+ },
247
+ {
248
+ "type": "null"
249
+ }
250
+ ],
251
+ "description": "User-supplied string that must contain visible content, not just whitespace."
252
+ },
253
+ "source": {
254
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
255
+ }
256
+ },
257
+ "required": [
258
+ "requested",
259
+ "submitted",
260
+ "submittedNative",
261
+ "observed",
262
+ "observedNative",
263
+ "reason",
264
+ "source"
265
+ ],
266
+ "additionalProperties": false,
267
+ "description": "Requested intent, submitted native control, and observed execution are independent facts. A submitted flag never proves observed service; mixed or missing session observations remain explicit."
268
+ },
269
+ "processing_cost_basis": {
270
+ "type": "object",
271
+ "properties": {
272
+ "nativeMode": {
273
+ "anyOf": [
274
+ {
275
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
276
+ },
277
+ {
278
+ "type": "null"
279
+ }
280
+ ],
281
+ "description": "User-supplied string that must contain visible content, not just whitespace."
282
+ },
283
+ "kind": {
284
+ "type": "string",
285
+ "enum": [
286
+ "included",
287
+ "paid_credits",
288
+ "cash",
289
+ "valuation",
290
+ "unknown"
291
+ ]
292
+ },
293
+ "source": {
294
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/processing/properties/submittedNative/anyOf/0"
295
+ }
296
+ },
297
+ "required": [
298
+ "nativeMode",
299
+ "kind",
300
+ "source"
301
+ ],
302
+ "additionalProperties": false,
303
+ "description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
304
+ },
305
+ "usage_cost": {
306
+ "type": "object",
307
+ "properties": {
308
+ "cashUsd": {
309
+ "type": "number",
310
+ "minimum": 0
311
+ },
312
+ "valuationUsd": {
313
+ "type": "number",
314
+ "minimum": 0
315
+ },
316
+ "unknownUsd": {
317
+ "type": "number",
318
+ "minimum": 0
319
+ },
320
+ "cashKnowledge": {
321
+ "type": "string",
322
+ "enum": [
323
+ "exact",
324
+ "estimated",
325
+ "unknown"
326
+ ],
327
+ "description": "Quality of incremental-cash cost evidence for an operation."
328
+ },
329
+ "valuationKnowledge": {
330
+ "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/usage_cost/properties/cashKnowledge"
331
+ }
332
+ },
333
+ "required": [
334
+ "cashUsd",
335
+ "valuationUsd",
336
+ "unknownUsd",
337
+ "cashKnowledge",
338
+ "valuationKnowledge"
339
+ ],
340
+ "additionalProperties": false,
341
+ "description": "Observed usage components. An amount of unknown meaning is not charged cash; separately proven included service can still establish exact zero incremental cash."
342
+ },
181
343
  "attempt_id": {
182
344
  "type": "string",
183
345
  "minLength": 1,
@@ -1195,7 +1357,10 @@
1195
1357
  "description": "Terminal lifecycle of the run."
1196
1358
  },
1197
1359
  "noChanges": {
1198
- "type": "boolean",
1360
+ "type": [
1361
+ "boolean",
1362
+ "null"
1363
+ ],
1199
1364
  "default": false,
1200
1365
  "description": "True when the run finished without changing any files (the ex no_op fact)."
1201
1366
  },
@@ -1284,6 +1449,7 @@
1284
1449
  "report",
1285
1450
  "plan",
1286
1451
  "patch",
1452
+ "files",
1287
1453
  "structured_output"
1288
1454
  ]
1289
1455
  },
@@ -1344,6 +1510,7 @@
1344
1510
  "report",
1345
1511
  "plan",
1346
1512
  "patch",
1513
+ "files",
1347
1514
  "structured_output",
1348
1515
  "diagnostic"
1349
1516
  ],
@@ -552,6 +552,15 @@
552
552
  "default": {},
553
553
  "description": "Resolved harness-scoped model map for this run (harness id to model id); empty means every route uses its per-harness settings default."
554
554
  },
555
+ "processing_preference": {
556
+ "type": "string",
557
+ "enum": [
558
+ "standard",
559
+ "fast",
560
+ "economy"
561
+ ],
562
+ "description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
563
+ },
555
564
  "routing_efforts": {
556
565
  "type": "object",
557
566
  "additionalProperties": {
@@ -0,0 +1,31 @@
1
+ {
2
+ "$ref": "#/definitions/UsageCostBasis",
3
+ "definitions": {
4
+ "UsageCostBasis": {
5
+ "type": "object",
6
+ "properties": {
7
+ "kind": {
8
+ "type": "string",
9
+ "enum": [
10
+ "cash",
11
+ "valuation",
12
+ "unknown"
13
+ ]
14
+ },
15
+ "source": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "pattern": "\\S",
19
+ "description": "User-supplied string that must contain visible content, not just whitespace."
20
+ }
21
+ },
22
+ "required": [
23
+ "kind",
24
+ "source"
25
+ ],
26
+ "additionalProperties": false,
27
+ "description": "Observed meaning of this usage.cost_usd amount, separate from prospective processing billing. List-price valuation is not a cash or credit debit receipt. Native paid-credit consumption remains unknown when the vendor exposes no amount evidence."
28
+ }
29
+ },
30
+ "$schema": "http://json-schema.org/draft-07/schema#"
31
+ }