@claudexor/schema 3.10.4 → 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
@@ -1,18 +1,18 @@
1
1
  import { z } from "zod/v3";
2
2
  export declare const ControlPrimaryOutput: z.ZodObject<{
3
- kind: z.ZodEnum<["answer", "report", "plan", "summary", "patch", "diagnostic", "structured_output"]>;
3
+ kind: z.ZodEnum<["answer", "report", "plan", "summary", "patch", "files", "diagnostic", "structured_output"]>;
4
4
  path: z.ZodString;
5
5
  text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  bytes: z.ZodOptional<z.ZodNumber>;
7
7
  truncated: z.ZodDefault<z.ZodBoolean>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
9
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
10
10
  path: string;
11
11
  text: string | null;
12
12
  bytes?: number | undefined;
13
13
  truncated: boolean;
14
14
  }, {
15
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
15
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
16
16
  path: string;
17
17
  text?: string | null | undefined;
18
18
  bytes?: number | undefined;
@@ -155,6 +155,115 @@ export declare const ControlCandidate: z.ZodObject<{
155
155
  }>;
156
156
  export type ControlCandidate = z.infer<typeof ControlCandidate>;
157
157
  export declare const ControlRunDetail: z.ZodObject<{
158
+ attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ attemptId: z.ZodString;
160
+ harnessId: z.ZodString;
161
+ processing: z.ZodOptional<z.ZodObject<{
162
+ requested: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
163
+ submitted: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
164
+ submittedNative: z.ZodNullable<z.ZodString>;
165
+ observed: z.ZodEnum<["standard", "fast", "economy", "mixed", "unknown"]>;
166
+ observedNative: z.ZodArray<z.ZodString, "many">;
167
+ reason: z.ZodNullable<z.ZodString>;
168
+ source: z.ZodString;
169
+ }, "strict", z.ZodTypeAny, {
170
+ requested: "economy" | "fast" | "standard" | null;
171
+ submitted: "economy" | "fast" | "standard" | null;
172
+ submittedNative: string | null;
173
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
174
+ observedNative: string[];
175
+ reason: string | null;
176
+ source: string;
177
+ }, {
178
+ requested: "economy" | "fast" | "standard" | null;
179
+ submitted: "economy" | "fast" | "standard" | null;
180
+ submittedNative: string | null;
181
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
182
+ observedNative: string[];
183
+ reason: string | null;
184
+ source: string;
185
+ }>>;
186
+ processingCostBasis: z.ZodOptional<z.ZodObject<{
187
+ nativeMode: z.ZodNullable<z.ZodString>;
188
+ kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
189
+ source: z.ZodString;
190
+ }, "strict", z.ZodTypeAny, {
191
+ nativeMode: string | null;
192
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
193
+ source: string;
194
+ }, {
195
+ nativeMode: string | null;
196
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
197
+ source: string;
198
+ }>>;
199
+ usageCost: z.ZodOptional<z.ZodObject<{
200
+ cashUsd: z.ZodNumber;
201
+ valuationUsd: z.ZodNumber;
202
+ unknownUsd: z.ZodNumber;
203
+ cashKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
204
+ valuationKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ cashUsd: number;
207
+ valuationUsd: number;
208
+ unknownUsd: number;
209
+ cashKnowledge: "estimated" | "exact" | "unknown";
210
+ valuationKnowledge: "estimated" | "exact" | "unknown";
211
+ }, {
212
+ cashUsd: number;
213
+ valuationUsd: number;
214
+ unknownUsd: number;
215
+ cashKnowledge: "estimated" | "exact" | "unknown";
216
+ valuationKnowledge: "estimated" | "exact" | "unknown";
217
+ }>>;
218
+ }, "strict", z.ZodTypeAny, {
219
+ attemptId: string;
220
+ harnessId: string;
221
+ processing?: {
222
+ requested: "economy" | "fast" | "standard" | null;
223
+ submitted: "economy" | "fast" | "standard" | null;
224
+ submittedNative: string | null;
225
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
226
+ observedNative: string[];
227
+ reason: string | null;
228
+ source: string;
229
+ } | undefined;
230
+ processingCostBasis?: {
231
+ nativeMode: string | null;
232
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
233
+ source: string;
234
+ } | undefined;
235
+ usageCost?: {
236
+ cashUsd: number;
237
+ valuationUsd: number;
238
+ unknownUsd: number;
239
+ cashKnowledge: "estimated" | "exact" | "unknown";
240
+ valuationKnowledge: "estimated" | "exact" | "unknown";
241
+ } | undefined;
242
+ }, {
243
+ attemptId: string;
244
+ harnessId: string;
245
+ processing?: {
246
+ requested: "economy" | "fast" | "standard" | null;
247
+ submitted: "economy" | "fast" | "standard" | null;
248
+ submittedNative: string | null;
249
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
250
+ observedNative: string[];
251
+ reason: string | null;
252
+ source: string;
253
+ } | undefined;
254
+ processingCostBasis?: {
255
+ nativeMode: string | null;
256
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
257
+ source: string;
258
+ } | undefined;
259
+ usageCost?: {
260
+ cashUsd: number;
261
+ valuationUsd: number;
262
+ unknownUsd: number;
263
+ cashKnowledge: "estimated" | "exact" | "unknown";
264
+ valuationKnowledge: "estimated" | "exact" | "unknown";
265
+ } | undefined;
266
+ }>, "many">>;
158
267
  summary: z.ZodObject<{
159
268
  jobId: z.ZodString;
160
269
  runId: z.ZodString;
@@ -264,16 +373,19 @@ export declare const ControlRunDetail: z.ZodObject<{
264
373
  model: z.ZodOptional<z.ZodString>;
265
374
  effort: z.ZodOptional<z.ZodString>;
266
375
  credentialProfileId: z.ZodOptional<z.ZodString>;
376
+ processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
267
377
  }, "strict", z.ZodTypeAny, {
268
378
  harness: string;
269
379
  model?: string | undefined;
270
380
  effort?: string | undefined;
271
381
  credentialProfileId?: string | undefined;
382
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
272
383
  }, {
273
384
  harness: string;
274
385
  model?: string | undefined;
275
386
  effort?: string | undefined;
276
387
  credentialProfileId?: string | undefined;
388
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
277
389
  }>, "many">>;
278
390
  protectedPathApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
279
391
  path: z.ZodString;
@@ -436,7 +548,7 @@ export declare const ControlRunDetail: z.ZodObject<{
436
548
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
437
549
  toolWarningsTotal: z.ZodDefault<z.ZodNumber>;
438
550
  result: z.ZodDefault<z.ZodObject<{
439
- kind: z.ZodDefault<z.ZodEnum<["patch", "answer", "plan", "report", "none"]>>;
551
+ kind: z.ZodDefault<z.ZodEnum<["patch", "files", "answer", "plan", "report", "none"]>>;
440
552
  diffStat: z.ZodDefault<z.ZodNullable<z.ZodObject<{
441
553
  files: z.ZodNumber;
442
554
  additions: z.ZodNumber;
@@ -452,13 +564,13 @@ export declare const ControlRunDetail: z.ZodObject<{
452
564
  }>>>;
453
565
  blockers: z.ZodDefault<z.ZodNumber>;
454
566
  adopted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
455
- applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted"]>>;
567
+ applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted", "discarded"]>>;
456
568
  preTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
457
569
  postTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
458
570
  revertAnchorId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
459
571
  revertable: z.ZodDefault<z.ZodBoolean>;
460
572
  }, "strip", z.ZodTypeAny, {
461
- kind: "answer" | "none" | "patch" | "plan" | "report";
573
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
462
574
  diffStat: {
463
575
  files: number;
464
576
  additions: number;
@@ -466,13 +578,13 @@ export declare const ControlRunDetail: z.ZodObject<{
466
578
  } | null;
467
579
  blockers: number;
468
580
  adopted: boolean | null;
469
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
581
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
470
582
  preTurnSha: string | null;
471
583
  postTurnSha: string | null;
472
584
  revertAnchorId: string | null;
473
585
  revertable: boolean;
474
586
  }, {
475
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
587
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
476
588
  diffStat?: {
477
589
  files: number;
478
590
  additions: number;
@@ -480,7 +592,7 @@ export declare const ControlRunDetail: z.ZodObject<{
480
592
  } | null | undefined;
481
593
  blockers?: number | undefined;
482
594
  adopted?: boolean | null | undefined;
483
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
595
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
484
596
  preTurnSha?: string | null | undefined;
485
597
  postTurnSha?: string | null | undefined;
486
598
  revertAnchorId?: string | null | undefined;
@@ -488,7 +600,7 @@ export declare const ControlRunDetail: z.ZodObject<{
488
600
  }>>;
489
601
  outcomeFacts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
490
602
  lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
491
- noChanges: z.ZodDefault<z.ZodBoolean>;
603
+ noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
492
604
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
493
605
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
494
606
  review_requested: z.ZodOptional<z.ZodBoolean>;
@@ -528,7 +640,7 @@ export declare const ControlRunDetail: z.ZodObject<{
528
640
  }>>;
529
641
  }, "strict", z.ZodTypeAny, {
530
642
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
531
- noChanges: boolean;
643
+ noChanges: boolean | null;
532
644
  checks: "failed" | "not_configured" | "passed";
533
645
  review: "approved" | "blocked" | "not_run";
534
646
  review_requested?: boolean | undefined;
@@ -544,7 +656,7 @@ export declare const ControlRunDetail: z.ZodObject<{
544
656
  } | undefined;
545
657
  }, {
546
658
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
547
- noChanges?: boolean | undefined;
659
+ noChanges?: boolean | null | undefined;
548
660
  checks?: "failed" | "not_configured" | "passed" | undefined;
549
661
  review?: "approved" | "blocked" | "not_run" | undefined;
550
662
  review_requested?: boolean | undefined;
@@ -691,6 +803,7 @@ export declare const ControlRunDetail: z.ZodObject<{
691
803
  model?: string | undefined;
692
804
  effort?: string | undefined;
693
805
  credentialProfileId?: string | undefined;
806
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
694
807
  }[] | undefined;
695
808
  protectedPathApprovals?: {
696
809
  path: string;
@@ -759,7 +872,7 @@ export declare const ControlRunDetail: z.ZodObject<{
759
872
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
760
873
  toolWarningsTotal: number;
761
874
  result: {
762
- kind: "answer" | "none" | "patch" | "plan" | "report";
875
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
763
876
  diffStat: {
764
877
  files: number;
765
878
  additions: number;
@@ -767,7 +880,7 @@ export declare const ControlRunDetail: z.ZodObject<{
767
880
  } | null;
768
881
  blockers: number;
769
882
  adopted: boolean | null;
770
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
883
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
771
884
  preTurnSha: string | null;
772
885
  postTurnSha: string | null;
773
886
  revertAnchorId: string | null;
@@ -775,7 +888,7 @@ export declare const ControlRunDetail: z.ZodObject<{
775
888
  };
776
889
  outcomeFacts: {
777
890
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
778
- noChanges: boolean;
891
+ noChanges: boolean | null;
779
892
  checks: "failed" | "not_configured" | "passed";
780
893
  review: "approved" | "blocked" | "not_run";
781
894
  review_requested?: boolean | undefined;
@@ -868,6 +981,7 @@ export declare const ControlRunDetail: z.ZodObject<{
868
981
  model?: string | undefined;
869
982
  effort?: string | undefined;
870
983
  credentialProfileId?: string | undefined;
984
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
871
985
  }[] | undefined;
872
986
  protectedPathApprovals?: {
873
987
  path: string;
@@ -936,7 +1050,7 @@ export declare const ControlRunDetail: z.ZodObject<{
936
1050
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
937
1051
  toolWarningsTotal?: number | undefined;
938
1052
  result?: {
939
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
1053
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
940
1054
  diffStat?: {
941
1055
  files: number;
942
1056
  additions: number;
@@ -944,7 +1058,7 @@ export declare const ControlRunDetail: z.ZodObject<{
944
1058
  } | null | undefined;
945
1059
  blockers?: number | undefined;
946
1060
  adopted?: boolean | null | undefined;
947
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
1061
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
948
1062
  preTurnSha?: string | null | undefined;
949
1063
  postTurnSha?: string | null | undefined;
950
1064
  revertAnchorId?: string | null | undefined;
@@ -952,7 +1066,7 @@ export declare const ControlRunDetail: z.ZodObject<{
952
1066
  } | undefined;
953
1067
  outcomeFacts?: {
954
1068
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
955
- noChanges?: boolean | undefined;
1069
+ noChanges?: boolean | null | undefined;
956
1070
  checks?: "failed" | "not_configured" | "passed" | undefined;
957
1071
  review?: "approved" | "blocked" | "not_run" | undefined;
958
1072
  review_requested?: boolean | undefined;
@@ -1106,16 +1220,19 @@ export declare const ControlRunDetail: z.ZodObject<{
1106
1220
  model: z.ZodOptional<z.ZodString>;
1107
1221
  effort: z.ZodOptional<z.ZodString>;
1108
1222
  credentialProfileId: z.ZodOptional<z.ZodString>;
1223
+ processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
1109
1224
  }, "strict", z.ZodTypeAny, {
1110
1225
  harness: string;
1111
1226
  model?: string | undefined;
1112
1227
  effort?: string | undefined;
1113
1228
  credentialProfileId?: string | undefined;
1229
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1114
1230
  }, {
1115
1231
  harness: string;
1116
1232
  model?: string | undefined;
1117
1233
  effort?: string | undefined;
1118
1234
  credentialProfileId?: string | undefined;
1235
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1119
1236
  }>, "many">>;
1120
1237
  protectedPathApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
1121
1238
  path: z.ZodString;
@@ -1278,7 +1395,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1278
1395
  outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
1279
1396
  toolWarningsTotal: z.ZodDefault<z.ZodNumber>;
1280
1397
  result: z.ZodDefault<z.ZodObject<{
1281
- kind: z.ZodDefault<z.ZodEnum<["patch", "answer", "plan", "report", "none"]>>;
1398
+ kind: z.ZodDefault<z.ZodEnum<["patch", "files", "answer", "plan", "report", "none"]>>;
1282
1399
  diffStat: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1283
1400
  files: z.ZodNumber;
1284
1401
  additions: z.ZodNumber;
@@ -1294,13 +1411,13 @@ export declare const ControlRunDetail: z.ZodObject<{
1294
1411
  }>>>;
1295
1412
  blockers: z.ZodDefault<z.ZodNumber>;
1296
1413
  adopted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1297
- applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted"]>>;
1414
+ applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted", "discarded"]>>;
1298
1415
  preTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1299
1416
  postTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1300
1417
  revertAnchorId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1301
1418
  revertable: z.ZodDefault<z.ZodBoolean>;
1302
1419
  }, "strip", z.ZodTypeAny, {
1303
- kind: "answer" | "none" | "patch" | "plan" | "report";
1420
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
1304
1421
  diffStat: {
1305
1422
  files: number;
1306
1423
  additions: number;
@@ -1308,13 +1425,13 @@ export declare const ControlRunDetail: z.ZodObject<{
1308
1425
  } | null;
1309
1426
  blockers: number;
1310
1427
  adopted: boolean | null;
1311
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
1428
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
1312
1429
  preTurnSha: string | null;
1313
1430
  postTurnSha: string | null;
1314
1431
  revertAnchorId: string | null;
1315
1432
  revertable: boolean;
1316
1433
  }, {
1317
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
1434
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
1318
1435
  diffStat?: {
1319
1436
  files: number;
1320
1437
  additions: number;
@@ -1322,7 +1439,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1322
1439
  } | null | undefined;
1323
1440
  blockers?: number | undefined;
1324
1441
  adopted?: boolean | null | undefined;
1325
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
1442
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
1326
1443
  preTurnSha?: string | null | undefined;
1327
1444
  postTurnSha?: string | null | undefined;
1328
1445
  revertAnchorId?: string | null | undefined;
@@ -1330,7 +1447,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1330
1447
  }>>;
1331
1448
  outcomeFacts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1332
1449
  lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
1333
- noChanges: z.ZodDefault<z.ZodBoolean>;
1450
+ noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1334
1451
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
1335
1452
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
1336
1453
  review_requested: z.ZodOptional<z.ZodBoolean>;
@@ -1370,7 +1487,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1370
1487
  }>>;
1371
1488
  }, "strict", z.ZodTypeAny, {
1372
1489
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1373
- noChanges: boolean;
1490
+ noChanges: boolean | null;
1374
1491
  checks: "failed" | "not_configured" | "passed";
1375
1492
  review: "approved" | "blocked" | "not_run";
1376
1493
  review_requested?: boolean | undefined;
@@ -1386,7 +1503,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1386
1503
  } | undefined;
1387
1504
  }, {
1388
1505
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1389
- noChanges?: boolean | undefined;
1506
+ noChanges?: boolean | null | undefined;
1390
1507
  checks?: "failed" | "not_configured" | "passed" | undefined;
1391
1508
  review?: "approved" | "blocked" | "not_run" | undefined;
1392
1509
  review_requested?: boolean | undefined;
@@ -1533,6 +1650,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1533
1650
  model?: string | undefined;
1534
1651
  effort?: string | undefined;
1535
1652
  credentialProfileId?: string | undefined;
1653
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1536
1654
  }[] | undefined;
1537
1655
  protectedPathApprovals?: {
1538
1656
  path: string;
@@ -1601,7 +1719,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1601
1719
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
1602
1720
  toolWarningsTotal: number;
1603
1721
  result: {
1604
- kind: "answer" | "none" | "patch" | "plan" | "report";
1722
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
1605
1723
  diffStat: {
1606
1724
  files: number;
1607
1725
  additions: number;
@@ -1609,7 +1727,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1609
1727
  } | null;
1610
1728
  blockers: number;
1611
1729
  adopted: boolean | null;
1612
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
1730
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
1613
1731
  preTurnSha: string | null;
1614
1732
  postTurnSha: string | null;
1615
1733
  revertAnchorId: string | null;
@@ -1617,7 +1735,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1617
1735
  };
1618
1736
  outcomeFacts: {
1619
1737
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1620
- noChanges: boolean;
1738
+ noChanges: boolean | null;
1621
1739
  checks: "failed" | "not_configured" | "passed";
1622
1740
  review: "approved" | "blocked" | "not_run";
1623
1741
  review_requested?: boolean | undefined;
@@ -1710,6 +1828,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1710
1828
  model?: string | undefined;
1711
1829
  effort?: string | undefined;
1712
1830
  credentialProfileId?: string | undefined;
1831
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1713
1832
  }[] | undefined;
1714
1833
  protectedPathApprovals?: {
1715
1834
  path: string;
@@ -1778,7 +1897,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1778
1897
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
1779
1898
  toolWarningsTotal?: number | undefined;
1780
1899
  result?: {
1781
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
1900
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
1782
1901
  diffStat?: {
1783
1902
  files: number;
1784
1903
  additions: number;
@@ -1786,7 +1905,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1786
1905
  } | null | undefined;
1787
1906
  blockers?: number | undefined;
1788
1907
  adopted?: boolean | null | undefined;
1789
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
1908
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
1790
1909
  preTurnSha?: string | null | undefined;
1791
1910
  postTurnSha?: string | null | undefined;
1792
1911
  revertAnchorId?: string | null | undefined;
@@ -1794,7 +1913,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1794
1913
  } | undefined;
1795
1914
  outcomeFacts?: {
1796
1915
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1797
- noChanges?: boolean | undefined;
1916
+ noChanges?: boolean | null | undefined;
1798
1917
  checks?: "failed" | "not_configured" | "passed" | undefined;
1799
1918
  review?: "approved" | "blocked" | "not_run" | undefined;
1800
1919
  review_requested?: boolean | undefined;
@@ -1848,7 +1967,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1848
1967
  mode: z.ZodEnum<["ask", "plan", "agent"]>;
1849
1968
  outcome: z.ZodObject<{
1850
1969
  lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
1851
- noChanges: z.ZodDefault<z.ZodBoolean>;
1970
+ noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1852
1971
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
1853
1972
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
1854
1973
  review_requested: z.ZodOptional<z.ZodBoolean>;
@@ -1888,7 +2007,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1888
2007
  }>>;
1889
2008
  }, "strict", z.ZodTypeAny, {
1890
2009
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1891
- noChanges: boolean;
2010
+ noChanges: boolean | null;
1892
2011
  checks: "failed" | "not_configured" | "passed";
1893
2012
  review: "approved" | "blocked" | "not_run";
1894
2013
  review_requested?: boolean | undefined;
@@ -1904,7 +2023,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1904
2023
  } | undefined;
1905
2024
  }, {
1906
2025
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
1907
- noChanges?: boolean | undefined;
2026
+ noChanges?: boolean | null | undefined;
1908
2027
  checks?: "failed" | "not_configured" | "passed" | undefined;
1909
2028
  review?: "approved" | "blocked" | "not_run" | undefined;
1910
2029
  review_requested?: boolean | undefined;
@@ -1921,42 +2040,42 @@ export declare const ControlRunDetail: z.ZodObject<{
1921
2040
  }>;
1922
2041
  deliverable: z.ZodObject<{
1923
2042
  present: z.ZodBoolean;
1924
- kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "structured_output"]>>;
2043
+ kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output"]>>;
1925
2044
  path: z.ZodNullable<z.ZodString>;
1926
2045
  producer_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1927
2046
  }, "strict", z.ZodTypeAny, {
1928
2047
  present: boolean;
1929
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
2048
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
1930
2049
  path: string | null;
1931
2050
  producer_attempt_id: string | null;
1932
2051
  }, {
1933
2052
  present: boolean;
1934
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
2053
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
1935
2054
  path: string | null;
1936
2055
  producer_attempt_id?: string | null | undefined;
1937
2056
  }>;
1938
2057
  presentation: z.ZodOptional<z.ZodObject<{
1939
2058
  state: z.ZodEnum<["ready", "diagnostic"]>;
1940
2059
  primary: z.ZodNullable<z.ZodObject<{
1941
- kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
2060
+ kind: z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output", "diagnostic"]>;
1942
2061
  path: z.ZodEffects<z.ZodString, string, string>;
1943
2062
  }, "strict", z.ZodTypeAny, {
1944
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2063
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
1945
2064
  path: string;
1946
2065
  }, {
1947
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2066
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
1948
2067
  path: string;
1949
2068
  }>>;
1950
2069
  }, "strict", z.ZodTypeAny, {
1951
2070
  state: "diagnostic" | "ready";
1952
2071
  primary: {
1953
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2072
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
1954
2073
  path: string;
1955
2074
  } | null;
1956
2075
  }, {
1957
2076
  state: "diagnostic" | "ready";
1958
2077
  primary: {
1959
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2078
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
1960
2079
  path: string;
1961
2080
  } | null;
1962
2081
  }>>;
@@ -2088,7 +2207,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2088
2207
  mode: "agent" | "ask" | "plan";
2089
2208
  outcome: {
2090
2209
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2091
- noChanges: boolean;
2210
+ noChanges: boolean | null;
2092
2211
  checks: "failed" | "not_configured" | "passed";
2093
2212
  review: "approved" | "blocked" | "not_run";
2094
2213
  review_requested?: boolean | undefined;
@@ -2105,14 +2224,14 @@ export declare const ControlRunDetail: z.ZodObject<{
2105
2224
  };
2106
2225
  deliverable: {
2107
2226
  present: boolean;
2108
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
2227
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
2109
2228
  path: string | null;
2110
2229
  producer_attempt_id: string | null;
2111
2230
  };
2112
2231
  presentation?: {
2113
2232
  state: "diagnostic" | "ready";
2114
2233
  primary: {
2115
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2234
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
2116
2235
  path: string;
2117
2236
  } | null;
2118
2237
  } | undefined;
@@ -2160,7 +2279,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2160
2279
  mode: "agent" | "ask" | "plan";
2161
2280
  outcome: {
2162
2281
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2163
- noChanges?: boolean | undefined;
2282
+ noChanges?: boolean | null | undefined;
2164
2283
  checks?: "failed" | "not_configured" | "passed" | undefined;
2165
2284
  review?: "approved" | "blocked" | "not_run" | undefined;
2166
2285
  review_requested?: boolean | undefined;
@@ -2177,14 +2296,14 @@ export declare const ControlRunDetail: z.ZodObject<{
2177
2296
  };
2178
2297
  deliverable: {
2179
2298
  present: boolean;
2180
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
2299
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
2181
2300
  path: string | null;
2182
2301
  producer_attempt_id?: string | null | undefined;
2183
2302
  };
2184
2303
  presentation?: {
2185
2304
  state: "diagnostic" | "ready";
2186
2305
  primary: {
2187
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
2306
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
2188
2307
  path: string;
2189
2308
  } | null;
2190
2309
  } | undefined;
@@ -2257,19 +2376,19 @@ export declare const ControlRunDetail: z.ZodObject<{
2257
2376
  mime?: string | undefined;
2258
2377
  }>, "many">>;
2259
2378
  primaryOutput: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2260
- kind: z.ZodEnum<["answer", "report", "plan", "summary", "patch", "diagnostic", "structured_output"]>;
2379
+ kind: z.ZodEnum<["answer", "report", "plan", "summary", "patch", "files", "diagnostic", "structured_output"]>;
2261
2380
  path: z.ZodString;
2262
2381
  text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2263
2382
  bytes: z.ZodOptional<z.ZodNumber>;
2264
2383
  truncated: z.ZodDefault<z.ZodBoolean>;
2265
2384
  }, "strip", z.ZodTypeAny, {
2266
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
2385
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
2267
2386
  path: string;
2268
2387
  text: string | null;
2269
2388
  bytes?: number | undefined;
2270
2389
  truncated: boolean;
2271
2390
  }, {
2272
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
2391
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
2273
2392
  path: string;
2274
2393
  text?: string | null | undefined;
2275
2394
  bytes?: number | undefined;
@@ -2322,6 +2441,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2322
2441
  rawRef?: string | null | undefined;
2323
2442
  }>, "many">>;
2324
2443
  budget: z.ZodDefault<z.ZodObject<{
2444
+ cashKnowledge: z.ZodOptional<z.ZodEnum<["exact", "estimated", "unknown"]>>;
2325
2445
  paidBudget: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2326
2446
  kind: z.ZodLiteral<"unlimited">;
2327
2447
  }, "strict", z.ZodTypeAny, {
@@ -2346,6 +2466,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2346
2466
  source: z.ZodDefault<z.ZodEnum<["decision", "events", "settings", "unknown"]>>;
2347
2467
  evidence: z.ZodDefault<z.ZodEnum<["complete", "incomplete", "unavailable"]>>;
2348
2468
  }, "strip", z.ZodTypeAny, {
2469
+ cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
2349
2470
  paidBudget: {
2350
2471
  kind: "unlimited";
2351
2472
  } | {
@@ -2360,6 +2481,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2360
2481
  source: "decision" | "events" | "settings" | "unknown";
2361
2482
  evidence: "complete" | "incomplete" | "unavailable";
2362
2483
  }, {
2484
+ cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
2363
2485
  paidBudget?: {
2364
2486
  kind: "unlimited";
2365
2487
  } | {
@@ -2379,7 +2501,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2379
2501
  winner: z.ZodNullable<z.ZodString>;
2380
2502
  facts: z.ZodObject<{
2381
2503
  lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
2382
- noChanges: z.ZodDefault<z.ZodBoolean>;
2504
+ noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
2383
2505
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
2384
2506
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
2385
2507
  review_requested: z.ZodOptional<z.ZodBoolean>;
@@ -2419,7 +2541,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2419
2541
  }>>;
2420
2542
  }, "strict", z.ZodTypeAny, {
2421
2543
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2422
- noChanges: boolean;
2544
+ noChanges: boolean | null;
2423
2545
  checks: "failed" | "not_configured" | "passed";
2424
2546
  review: "approved" | "blocked" | "not_run";
2425
2547
  review_requested?: boolean | undefined;
@@ -2435,7 +2557,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2435
2557
  } | undefined;
2436
2558
  }, {
2437
2559
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2438
- noChanges?: boolean | undefined;
2560
+ noChanges?: boolean | null | undefined;
2439
2561
  checks?: "failed" | "not_configured" | "passed" | undefined;
2440
2562
  review?: "approved" | "blocked" | "not_run" | undefined;
2441
2563
  review_requested?: boolean | undefined;
@@ -2505,6 +2627,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2505
2627
  apply_recommendation: z.ZodDefault<z.ZodEnum<["apply", "inspect", "continue", "human_review"]>>;
2506
2628
  verification_basis: z.ZodDefault<z.ZodEnum<["none", "deterministic_checks", "cross_family_review", "both"]>>;
2507
2629
  final_verify: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2630
+ base_manifest_sha256: z.ZodOptional<z.ZodString>;
2508
2631
  attempted: z.ZodBoolean;
2509
2632
  base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2510
2633
  applied_cleanly: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
@@ -2522,6 +2645,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2522
2645
  duration_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2523
2646
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2524
2647
  }, "strip", z.ZodTypeAny, {
2648
+ base_manifest_sha256?: string | undefined;
2525
2649
  attempted: boolean;
2526
2650
  base_sha: string | null;
2527
2651
  applied_cleanly: boolean | null;
@@ -2533,6 +2657,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2533
2657
  duration_ms: number | null;
2534
2658
  reason: string | null;
2535
2659
  }, {
2660
+ base_manifest_sha256?: string | undefined;
2536
2661
  attempted: boolean;
2537
2662
  base_sha?: string | null | undefined;
2538
2663
  applied_cleanly?: boolean | null | undefined;
@@ -2548,7 +2673,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2548
2673
  winner: string | null;
2549
2674
  facts: {
2550
2675
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2551
- noChanges: boolean;
2676
+ noChanges: boolean | null;
2552
2677
  checks: "failed" | "not_configured" | "passed";
2553
2678
  review: "approved" | "blocked" | "not_run";
2554
2679
  review_requested?: boolean | undefined;
@@ -2590,6 +2715,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2590
2715
  apply_recommendation: "apply" | "continue" | "human_review" | "inspect";
2591
2716
  verification_basis: "both" | "cross_family_review" | "deterministic_checks" | "none";
2592
2717
  final_verify: {
2718
+ base_manifest_sha256?: string | undefined;
2593
2719
  attempted: boolean;
2594
2720
  base_sha: string | null;
2595
2721
  applied_cleanly: boolean | null;
@@ -2605,7 +2731,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2605
2731
  winner: string | null;
2606
2732
  facts: {
2607
2733
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
2608
- noChanges?: boolean | undefined;
2734
+ noChanges?: boolean | null | undefined;
2609
2735
  checks?: "failed" | "not_configured" | "passed" | undefined;
2610
2736
  review?: "approved" | "blocked" | "not_run" | undefined;
2611
2737
  review_requested?: boolean | undefined;
@@ -2647,6 +2773,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2647
2773
  apply_recommendation?: "apply" | "continue" | "human_review" | "inspect" | undefined;
2648
2774
  verification_basis?: "both" | "cross_family_review" | "deterministic_checks" | "none" | undefined;
2649
2775
  final_verify?: {
2776
+ base_manifest_sha256?: string | undefined;
2650
2777
  attempted: boolean;
2651
2778
  base_sha?: string | null | undefined;
2652
2779
  applied_cleanly?: boolean | null | undefined;
@@ -2672,21 +2799,21 @@ export declare const ControlRunDetail: z.ZodObject<{
2672
2799
  }>>>;
2673
2800
  workProduct: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2674
2801
  id: z.ZodString;
2675
- kind: z.ZodEnum<["patch", "new_repo", "report"]>;
2802
+ kind: z.ZodEnum<["patch", "new_repo", "report", "files"]>;
2676
2803
  source_task_id: z.ZodString;
2677
2804
  producer_attempt_id: z.ZodOptional<z.ZodString>;
2678
2805
  files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2679
2806
  meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2680
2807
  }, "strip", z.ZodTypeAny, {
2681
2808
  id: string;
2682
- kind: "new_repo" | "patch" | "report";
2809
+ kind: "files" | "new_repo" | "patch" | "report";
2683
2810
  source_task_id: string;
2684
2811
  producer_attempt_id?: string | undefined;
2685
2812
  files: Record<string, string>;
2686
2813
  meta: Record<string, unknown>;
2687
2814
  }, {
2688
2815
  id: string;
2689
- kind: "new_repo" | "patch" | "report";
2816
+ kind: "files" | "new_repo" | "patch" | "report";
2690
2817
  source_task_id: string;
2691
2818
  producer_attempt_id?: string | undefined;
2692
2819
  files?: Record<string, string> | undefined;
@@ -3237,6 +3364,31 @@ export declare const ControlRunDetail: z.ZodObject<{
3237
3364
  detail: string;
3238
3365
  }>, "many">>;
3239
3366
  }, "strip", z.ZodTypeAny, {
3367
+ attemptExecution?: {
3368
+ attemptId: string;
3369
+ harnessId: string;
3370
+ processing?: {
3371
+ requested: "economy" | "fast" | "standard" | null;
3372
+ submitted: "economy" | "fast" | "standard" | null;
3373
+ submittedNative: string | null;
3374
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
3375
+ observedNative: string[];
3376
+ reason: string | null;
3377
+ source: string;
3378
+ } | undefined;
3379
+ processingCostBasis?: {
3380
+ nativeMode: string | null;
3381
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3382
+ source: string;
3383
+ } | undefined;
3384
+ usageCost?: {
3385
+ cashUsd: number;
3386
+ valuationUsd: number;
3387
+ unknownUsd: number;
3388
+ cashKnowledge: "estimated" | "exact" | "unknown";
3389
+ valuationKnowledge: "estimated" | "exact" | "unknown";
3390
+ } | undefined;
3391
+ }[] | undefined;
3240
3392
  summary: {
3241
3393
  jobId: string;
3242
3394
  runId: string;
@@ -3286,6 +3438,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3286
3438
  model?: string | undefined;
3287
3439
  effort?: string | undefined;
3288
3440
  credentialProfileId?: string | undefined;
3441
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
3289
3442
  }[] | undefined;
3290
3443
  protectedPathApprovals?: {
3291
3444
  path: string;
@@ -3354,7 +3507,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3354
3507
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
3355
3508
  toolWarningsTotal: number;
3356
3509
  result: {
3357
- kind: "answer" | "none" | "patch" | "plan" | "report";
3510
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
3358
3511
  diffStat: {
3359
3512
  files: number;
3360
3513
  additions: number;
@@ -3362,7 +3515,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3362
3515
  } | null;
3363
3516
  blockers: number;
3364
3517
  adopted: boolean | null;
3365
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
3518
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
3366
3519
  preTurnSha: string | null;
3367
3520
  postTurnSha: string | null;
3368
3521
  revertAnchorId: string | null;
@@ -3370,7 +3523,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3370
3523
  };
3371
3524
  outcomeFacts: {
3372
3525
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
3373
- noChanges: boolean;
3526
+ noChanges: boolean | null;
3374
3527
  checks: "failed" | "not_configured" | "passed";
3375
3528
  review: "approved" | "blocked" | "not_run";
3376
3529
  review_requested?: boolean | undefined;
@@ -3464,6 +3617,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3464
3617
  model?: string | undefined;
3465
3618
  effort?: string | undefined;
3466
3619
  credentialProfileId?: string | undefined;
3620
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
3467
3621
  }[] | undefined;
3468
3622
  protectedPathApprovals?: {
3469
3623
  path: string;
@@ -3532,7 +3686,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3532
3686
  outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
3533
3687
  toolWarningsTotal: number;
3534
3688
  result: {
3535
- kind: "answer" | "none" | "patch" | "plan" | "report";
3689
+ kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
3536
3690
  diffStat: {
3537
3691
  files: number;
3538
3692
  additions: number;
@@ -3540,7 +3694,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3540
3694
  } | null;
3541
3695
  blockers: number;
3542
3696
  adopted: boolean | null;
3543
- applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
3697
+ applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
3544
3698
  preTurnSha: string | null;
3545
3699
  postTurnSha: string | null;
3546
3700
  revertAnchorId: string | null;
@@ -3548,7 +3702,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3548
3702
  };
3549
3703
  outcomeFacts: {
3550
3704
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
3551
- noChanges: boolean;
3705
+ noChanges: boolean | null;
3552
3706
  checks: "failed" | "not_configured" | "passed";
3553
3707
  review: "approved" | "blocked" | "not_run";
3554
3708
  review_requested?: boolean | undefined;
@@ -3600,7 +3754,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3600
3754
  mode: "agent" | "ask" | "plan";
3601
3755
  outcome: {
3602
3756
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
3603
- noChanges: boolean;
3757
+ noChanges: boolean | null;
3604
3758
  checks: "failed" | "not_configured" | "passed";
3605
3759
  review: "approved" | "blocked" | "not_run";
3606
3760
  review_requested?: boolean | undefined;
@@ -3617,14 +3771,14 @@ export declare const ControlRunDetail: z.ZodObject<{
3617
3771
  };
3618
3772
  deliverable: {
3619
3773
  present: boolean;
3620
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
3774
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
3621
3775
  path: string | null;
3622
3776
  producer_attempt_id: string | null;
3623
3777
  };
3624
3778
  presentation?: {
3625
3779
  state: "diagnostic" | "ready";
3626
3780
  primary: {
3627
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
3781
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
3628
3782
  path: string;
3629
3783
  } | null;
3630
3784
  } | undefined;
@@ -3675,7 +3829,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3675
3829
  mime?: string | undefined;
3676
3830
  }[];
3677
3831
  primaryOutput: {
3678
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
3832
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
3679
3833
  path: string;
3680
3834
  text: string | null;
3681
3835
  bytes?: number | undefined;
@@ -3698,6 +3852,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3698
3852
  rawRef: string | null;
3699
3853
  }[];
3700
3854
  budget: {
3855
+ cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
3701
3856
  paidBudget: {
3702
3857
  kind: "unlimited";
3703
3858
  } | {
@@ -3717,7 +3872,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3717
3872
  winner: string | null;
3718
3873
  facts: {
3719
3874
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
3720
- noChanges: boolean;
3875
+ noChanges: boolean | null;
3721
3876
  checks: "failed" | "not_configured" | "passed";
3722
3877
  review: "approved" | "blocked" | "not_run";
3723
3878
  review_requested?: boolean | undefined;
@@ -3759,6 +3914,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3759
3914
  apply_recommendation: "apply" | "continue" | "human_review" | "inspect";
3760
3915
  verification_basis: "both" | "cross_family_review" | "deterministic_checks" | "none";
3761
3916
  final_verify: {
3917
+ base_manifest_sha256?: string | undefined;
3762
3918
  attempted: boolean;
3763
3919
  base_sha: string | null;
3764
3920
  applied_cleanly: boolean | null;
@@ -3777,7 +3933,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3777
3933
  } | null;
3778
3934
  workProduct: {
3779
3935
  id: string;
3780
- kind: "new_repo" | "patch" | "report";
3936
+ kind: "files" | "new_repo" | "patch" | "report";
3781
3937
  source_task_id: string;
3782
3938
  producer_attempt_id?: string | undefined;
3783
3939
  files: Record<string, string>;
@@ -3920,6 +4076,31 @@ export declare const ControlRunDetail: z.ZodObject<{
3920
4076
  detail: string;
3921
4077
  }[];
3922
4078
  }, {
4079
+ attemptExecution?: {
4080
+ attemptId: string;
4081
+ harnessId: string;
4082
+ processing?: {
4083
+ requested: "economy" | "fast" | "standard" | null;
4084
+ submitted: "economy" | "fast" | "standard" | null;
4085
+ submittedNative: string | null;
4086
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
4087
+ observedNative: string[];
4088
+ reason: string | null;
4089
+ source: string;
4090
+ } | undefined;
4091
+ processingCostBasis?: {
4092
+ nativeMode: string | null;
4093
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
4094
+ source: string;
4095
+ } | undefined;
4096
+ usageCost?: {
4097
+ cashUsd: number;
4098
+ valuationUsd: number;
4099
+ unknownUsd: number;
4100
+ cashKnowledge: "estimated" | "exact" | "unknown";
4101
+ valuationKnowledge: "estimated" | "exact" | "unknown";
4102
+ } | undefined;
4103
+ }[] | undefined;
3923
4104
  summary: {
3924
4105
  jobId: string;
3925
4106
  runId: string;
@@ -3969,6 +4150,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3969
4150
  model?: string | undefined;
3970
4151
  effort?: string | undefined;
3971
4152
  credentialProfileId?: string | undefined;
4153
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
3972
4154
  }[] | undefined;
3973
4155
  protectedPathApprovals?: {
3974
4156
  path: string;
@@ -4037,7 +4219,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4037
4219
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
4038
4220
  toolWarningsTotal?: number | undefined;
4039
4221
  result?: {
4040
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
4222
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
4041
4223
  diffStat?: {
4042
4224
  files: number;
4043
4225
  additions: number;
@@ -4045,7 +4227,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4045
4227
  } | null | undefined;
4046
4228
  blockers?: number | undefined;
4047
4229
  adopted?: boolean | null | undefined;
4048
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
4230
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
4049
4231
  preTurnSha?: string | null | undefined;
4050
4232
  postTurnSha?: string | null | undefined;
4051
4233
  revertAnchorId?: string | null | undefined;
@@ -4053,7 +4235,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4053
4235
  } | undefined;
4054
4236
  outcomeFacts?: {
4055
4237
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
4056
- noChanges?: boolean | undefined;
4238
+ noChanges?: boolean | null | undefined;
4057
4239
  checks?: "failed" | "not_configured" | "passed" | undefined;
4058
4240
  review?: "approved" | "blocked" | "not_run" | undefined;
4059
4241
  review_requested?: boolean | undefined;
@@ -4147,6 +4329,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4147
4329
  model?: string | undefined;
4148
4330
  effort?: string | undefined;
4149
4331
  credentialProfileId?: string | undefined;
4332
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
4150
4333
  }[] | undefined;
4151
4334
  protectedPathApprovals?: {
4152
4335
  path: string;
@@ -4215,7 +4398,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4215
4398
  outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
4216
4399
  toolWarningsTotal?: number | undefined;
4217
4400
  result?: {
4218
- kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
4401
+ kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
4219
4402
  diffStat?: {
4220
4403
  files: number;
4221
4404
  additions: number;
@@ -4223,7 +4406,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4223
4406
  } | null | undefined;
4224
4407
  blockers?: number | undefined;
4225
4408
  adopted?: boolean | null | undefined;
4226
- applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
4409
+ applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
4227
4410
  preTurnSha?: string | null | undefined;
4228
4411
  postTurnSha?: string | null | undefined;
4229
4412
  revertAnchorId?: string | null | undefined;
@@ -4231,7 +4414,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4231
4414
  } | undefined;
4232
4415
  outcomeFacts?: {
4233
4416
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
4234
- noChanges?: boolean | undefined;
4417
+ noChanges?: boolean | null | undefined;
4235
4418
  checks?: "failed" | "not_configured" | "passed" | undefined;
4236
4419
  review?: "approved" | "blocked" | "not_run" | undefined;
4237
4420
  review_requested?: boolean | undefined;
@@ -4283,7 +4466,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4283
4466
  mode: "agent" | "ask" | "plan";
4284
4467
  outcome: {
4285
4468
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
4286
- noChanges?: boolean | undefined;
4469
+ noChanges?: boolean | null | undefined;
4287
4470
  checks?: "failed" | "not_configured" | "passed" | undefined;
4288
4471
  review?: "approved" | "blocked" | "not_run" | undefined;
4289
4472
  review_requested?: boolean | undefined;
@@ -4300,14 +4483,14 @@ export declare const ControlRunDetail: z.ZodObject<{
4300
4483
  };
4301
4484
  deliverable: {
4302
4485
  present: boolean;
4303
- kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
4486
+ kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
4304
4487
  path: string | null;
4305
4488
  producer_attempt_id?: string | null | undefined;
4306
4489
  };
4307
4490
  presentation?: {
4308
4491
  state: "diagnostic" | "ready";
4309
4492
  primary: {
4310
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
4493
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
4311
4494
  path: string;
4312
4495
  } | null;
4313
4496
  } | undefined;
@@ -4358,7 +4541,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4358
4541
  mime?: string | undefined;
4359
4542
  }[] | undefined;
4360
4543
  primaryOutput?: {
4361
- kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output" | "summary";
4544
+ kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output" | "summary";
4362
4545
  path: string;
4363
4546
  text?: string | null | undefined;
4364
4547
  bytes?: number | undefined;
@@ -4381,6 +4564,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4381
4564
  rawRef?: string | null | undefined;
4382
4565
  }[] | undefined;
4383
4566
  budget?: {
4567
+ cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
4384
4568
  paidBudget?: {
4385
4569
  kind: "unlimited";
4386
4570
  } | {
@@ -4400,7 +4584,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4400
4584
  winner: string | null;
4401
4585
  facts: {
4402
4586
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
4403
- noChanges?: boolean | undefined;
4587
+ noChanges?: boolean | null | undefined;
4404
4588
  checks?: "failed" | "not_configured" | "passed" | undefined;
4405
4589
  review?: "approved" | "blocked" | "not_run" | undefined;
4406
4590
  review_requested?: boolean | undefined;
@@ -4442,6 +4626,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4442
4626
  apply_recommendation?: "apply" | "continue" | "human_review" | "inspect" | undefined;
4443
4627
  verification_basis?: "both" | "cross_family_review" | "deterministic_checks" | "none" | undefined;
4444
4628
  final_verify?: {
4629
+ base_manifest_sha256?: string | undefined;
4445
4630
  attempted: boolean;
4446
4631
  base_sha?: string | null | undefined;
4447
4632
  applied_cleanly?: boolean | null | undefined;
@@ -4460,7 +4645,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4460
4645
  } | null | undefined;
4461
4646
  workProduct?: {
4462
4647
  id: string;
4463
- kind: "new_repo" | "patch" | "report";
4648
+ kind: "files" | "new_repo" | "patch" | "report";
4464
4649
  source_task_id: string;
4465
4650
  producer_attempt_id?: string | undefined;
4466
4651
  files?: Record<string, string> | undefined;