@claudexor/schema 5.0.2 → 5.1.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 (221) hide show
  1. package/dist/account-routing-evidence.d.ts +256 -0
  2. package/dist/account-routing-evidence.d.ts.map +1 -1
  3. package/dist/account-routing-evidence.js +27 -2
  4. package/dist/account-routing-evidence.js.map +1 -1
  5. package/dist/agent-capabilities.d.ts +3 -0
  6. package/dist/agent-capabilities.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +6 -2
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/attachment.d.ts +103 -6
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +32 -6
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/browser-evidence.d.ts +85 -0
  14. package/dist/browser-evidence.d.ts.map +1 -0
  15. package/dist/browser-evidence.js +72 -0
  16. package/dist/browser-evidence.js.map +1 -0
  17. package/dist/config.d.ts.map +1 -1
  18. package/dist/config.js +1 -1
  19. package/dist/config.js.map +1 -1
  20. package/dist/control-gc.d.ts +30 -0
  21. package/dist/control-gc.d.ts.map +1 -1
  22. package/dist/control-gc.js +28 -1
  23. package/dist/control-gc.js.map +1 -1
  24. package/dist/control-operation-responses.d.ts +438 -36
  25. package/dist/control-operation-responses.d.ts.map +1 -1
  26. package/dist/control-operation-responses.js +11 -2
  27. package/dist/control-operation-responses.js.map +1 -1
  28. package/dist/control-process-scope.d.ts +34 -0
  29. package/dist/control-process-scope.d.ts.map +1 -1
  30. package/dist/control-process-scope.js +13 -0
  31. package/dist/control-process-scope.js.map +1 -1
  32. package/dist/control-run-detail.d.ts +785 -89
  33. package/dist/control-run-detail.d.ts.map +1 -1
  34. package/dist/control-run-failure.d.ts +29 -6
  35. package/dist/control-run-failure.d.ts.map +1 -1
  36. package/dist/control-run-failure.js +28 -3
  37. package/dist/control-run-failure.js.map +1 -1
  38. package/dist/control-trust.d.ts +8 -0
  39. package/dist/control-trust.d.ts.map +1 -1
  40. package/dist/control-trust.js +4 -0
  41. package/dist/control-trust.js.map +1 -1
  42. package/dist/control-web-evidence.d.ts +125 -0
  43. package/dist/control-web-evidence.d.ts.map +1 -0
  44. package/dist/control-web-evidence.js +109 -0
  45. package/dist/control-web-evidence.js.map +1 -0
  46. package/dist/control.d.ts +292 -98
  47. package/dist/control.d.ts.map +1 -1
  48. package/dist/control.js +43 -49
  49. package/dist/control.js.map +1 -1
  50. package/dist/credential-profile.d.ts +4 -3
  51. package/dist/credential-profile.d.ts.map +1 -1
  52. package/dist/credential-profile.js +4 -3
  53. package/dist/credential-profile.js.map +1 -1
  54. package/dist/decision.d.ts +9 -9
  55. package/dist/decision.d.ts.map +1 -1
  56. package/dist/decision.js +2 -0
  57. package/dist/decision.js.map +1 -1
  58. package/dist/deferred-message.d.ts +646 -0
  59. package/dist/deferred-message.d.ts.map +1 -1
  60. package/dist/deferred-message.js +16 -2
  61. package/dist/deferred-message.js.map +1 -1
  62. package/dist/events.d.ts +6 -6
  63. package/dist/events.d.ts.map +1 -1
  64. package/dist/events.js +1 -0
  65. package/dist/events.js.map +1 -1
  66. package/dist/harness-confinement.js +1 -1
  67. package/dist/harness-confinement.js.map +1 -1
  68. package/dist/harness-input.d.ts +12 -0
  69. package/dist/harness-input.d.ts.map +1 -1
  70. package/dist/harness-input.js +11 -1
  71. package/dist/harness-input.js.map +1 -1
  72. package/dist/harness-interaction.d.ts +20 -0
  73. package/dist/harness-interaction.d.ts.map +1 -1
  74. package/dist/harness-interaction.js +36 -0
  75. package/dist/harness-interaction.js.map +1 -1
  76. package/dist/harness.d.ts +95 -19
  77. package/dist/harness.d.ts.map +1 -1
  78. package/dist/harness.js +16 -15
  79. package/dist/harness.js.map +1 -1
  80. package/dist/index.d.ts +4 -0
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.js +4 -0
  83. package/dist/index.js.map +1 -1
  84. package/dist/mcp-run-result.d.ts +363 -50
  85. package/dist/mcp-run-result.d.ts.map +1 -1
  86. package/dist/mcp-run-wait.d.ts +126 -0
  87. package/dist/mcp-run-wait.d.ts.map +1 -1
  88. package/dist/operation.d.ts +1 -1
  89. package/dist/operation.d.ts.map +1 -1
  90. package/dist/operation.js +1 -1
  91. package/dist/operation.js.map +1 -1
  92. package/dist/process-scope.d.ts +154 -0
  93. package/dist/process-scope.d.ts.map +1 -1
  94. package/dist/process-scope.js +16 -1
  95. package/dist/process-scope.js.map +1 -1
  96. package/dist/quota.d.ts +14 -0
  97. package/dist/quota.d.ts.map +1 -1
  98. package/dist/quota.js +14 -0
  99. package/dist/quota.js.map +1 -1
  100. package/dist/rate-limit.d.ts +3 -0
  101. package/dist/rate-limit.d.ts.map +1 -1
  102. package/dist/rate-limit.js +4 -0
  103. package/dist/rate-limit.js.map +1 -1
  104. package/dist/raw.d.ts.map +1 -1
  105. package/dist/raw.js +11 -5
  106. package/dist/raw.js.map +1 -1
  107. package/dist/route-controls.d.ts +49 -0
  108. package/dist/route-controls.d.ts.map +1 -0
  109. package/dist/route-controls.js +53 -0
  110. package/dist/route-controls.js.map +1 -0
  111. package/dist/route-health.d.ts +23 -23
  112. package/dist/route-health.js +1 -1
  113. package/dist/route-health.js.map +1 -1
  114. package/dist/run-continuation.d.ts +6 -6
  115. package/dist/run-continuity.d.ts +7 -7
  116. package/dist/run-continuity.d.ts.map +1 -1
  117. package/dist/run-continuity.js +2 -1
  118. package/dist/run-continuity.js.map +1 -1
  119. package/dist/run-facts.d.ts +5 -5
  120. package/dist/run-facts.js +1 -1
  121. package/dist/run-facts.js.map +1 -1
  122. package/dist/status-projection.d.ts +3 -2
  123. package/dist/status-projection.d.ts.map +1 -1
  124. package/dist/status-projection.js +5 -2
  125. package/dist/status-projection.js.map +1 -1
  126. package/dist/task-group.d.ts +3 -0
  127. package/dist/task-group.d.ts.map +1 -1
  128. package/dist/task-group.js +11 -1
  129. package/dist/task-group.js.map +1 -1
  130. package/dist/task.d.ts +2 -2
  131. package/dist/task.d.ts.map +1 -1
  132. package/dist/task.js +4 -4
  133. package/dist/task.js.map +1 -1
  134. package/dist/telemetry.d.ts +602 -117
  135. package/dist/telemetry.d.ts.map +1 -1
  136. package/dist/telemetry.js +17 -88
  137. package/dist/telemetry.js.map +1 -1
  138. package/dist/thread-export.d.ts +847 -0
  139. package/dist/thread-export.d.ts.map +1 -0
  140. package/dist/thread-export.js +238 -0
  141. package/dist/thread-export.js.map +1 -0
  142. package/dist/thread-history.d.ts +248 -132
  143. package/dist/thread-history.d.ts.map +1 -1
  144. package/dist/thread.d.ts +72 -6
  145. package/dist/thread.d.ts.map +1 -1
  146. package/dist/thread.js +19 -3
  147. package/dist/thread.js.map +1 -1
  148. package/dist/tool-ref.d.ts +172 -21
  149. package/dist/tool-ref.d.ts.map +1 -1
  150. package/dist/tool-ref.js +114 -29
  151. package/dist/tool-ref.js.map +1 -1
  152. package/dist/web-evidence.d.ts +91 -0
  153. package/dist/web-evidence.d.ts.map +1 -0
  154. package/dist/web-evidence.js +77 -0
  155. package/dist/web-evidence.js.map +1 -0
  156. package/dist/workspace.js +1 -1
  157. package/dist/workspace.js.map +1 -1
  158. package/generated/AgentCapabilityCatalog.schema.json +20 -2
  159. package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
  160. package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
  161. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
  162. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
  163. package/generated/ControlGcLastResponse.schema.json +22 -0
  164. package/generated/ControlGcReceipt.schema.json +13 -1
  165. package/generated/ControlHarnessListResponse.schema.json +2 -2
  166. package/generated/ControlQueuedRunInfo.schema.json +1 -1
  167. package/generated/ControlResource.schema.json +5 -0
  168. package/generated/ControlResourceRelease.schema.json +44 -0
  169. package/generated/ControlResourceReleaseRequest.schema.json +27 -0
  170. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  171. package/generated/ControlRouteHealth.schema.json +13 -1
  172. package/generated/ControlRunControlResponse.schema.json +41 -3
  173. package/generated/ControlRunDecisionRequest.schema.json +8 -2
  174. package/generated/ControlRunDecisionResponse.schema.json +4 -3
  175. package/generated/ControlRunDetail.schema.json +337 -10
  176. package/generated/ControlRunListResponse.schema.json +296 -7
  177. package/generated/ControlRunRetryResponse.schema.json +1 -1
  178. package/generated/ControlRunStartInfo.schema.json +1 -1
  179. package/generated/ControlRunStartResponse.schema.json +2 -2
  180. package/generated/ControlRunSummary.schema.json +296 -7
  181. package/generated/ControlThreadDetail.schema.json +1 -0
  182. package/generated/ControlThreadTurnResponse.schema.json +9 -0
  183. package/generated/ControlTrustListResponse.schema.json +8 -0
  184. package/generated/ControlTrustState.schema.json +8 -0
  185. package/generated/ControlUploadImport.schema.json +12 -2
  186. package/generated/ControlUploadImportRequest.schema.json +5 -0
  187. package/generated/DecisionRecord.schema.json +1 -0
  188. package/generated/DeferredMessageDetail.schema.json +43 -7
  189. package/generated/DeferredMessageProjection.schema.json +41 -3
  190. package/generated/DeferredMessageReadResult.schema.json +42 -4
  191. package/generated/DeferredMessageReceipt.schema.json +41 -3
  192. package/generated/EnvelopeCustody.schema.json +3 -2
  193. package/generated/GlobalConfig.schema.json +1 -1
  194. package/generated/HarnessEvent.schema.json +140 -4
  195. package/generated/HarnessManifest.schema.json +2 -2
  196. package/generated/HarnessStatusDto.schema.json +2 -2
  197. package/generated/McpAccountsToolResult.schema.json +62 -2
  198. package/generated/McpRunHandleResult.schema.json +90 -6
  199. package/generated/McpRunToolResult.schema.json +89 -6
  200. package/generated/McpRunWaitResult.schema.json +41 -3
  201. package/generated/McpThreadTurnResult.schema.json +9 -0
  202. package/generated/RawContextPacket.schema.json +6 -4
  203. package/generated/RawGitPatchEnvelope.schema.json +1 -1
  204. package/generated/RoutePoolDegradedPayload.schema.json +2 -1
  205. package/generated/RunContinuityReceipt.schema.json +2 -1
  206. package/generated/RunFacts.schema.json +1 -0
  207. package/generated/RunFailure.schema.json +46 -2
  208. package/generated/RunResumable.schema.json +2 -1
  209. package/generated/RunTelemetry.schema.json +288 -7
  210. package/generated/TaskContract.schema.json +3 -3
  211. package/generated/TaskGroupReceipt.schema.json +1 -1
  212. package/generated/Thread.schema.json +41 -0
  213. package/generated/ThreadExportManifest.schema.json +461 -0
  214. package/generated/ThreadExportReceipt.schema.json +94 -0
  215. package/generated/ThreadHistoryPage.schema.json +47 -2
  216. package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
  217. package/generated/ThreadRetireRequest.schema.json +41 -0
  218. package/generated/ThreadRetirement.schema.json +175 -0
  219. package/generated/ThreadTurn.schema.json +1 -1
  220. package/generated/WorkspaceEnvelope.schema.json +1 -1
  221. package/package.json +2 -2
@@ -107,6 +107,76 @@ export declare const ControlRunControlResponse: z.ZodObject<{
107
107
  context?: Record<string, unknown> | undefined;
108
108
  } | undefined;
109
109
  }>>;
110
+ resumed: z.ZodOptional<z.ZodObject<{
111
+ from: z.ZodObject<{
112
+ code: z.ZodEnum<["predecessor_failed", "predecessor_cancelled", "predecessor_interrupted", "predecessor_needs_input", "predecessor_incomplete", "predecessor_facts_unavailable", "predecessor_work_unverified", "predecessor_checks_failed", "predecessor_review_blocked", "predecessor_output_unavailable", "settlement_unknown", "stop_requested", "shutdown", "restart_requires_controller", "partition_retired", "admission_refused"]>;
113
+ problem: z.ZodOptional<z.ZodObject<{
114
+ message: z.ZodString;
115
+ code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
116
+ retryable: z.ZodDefault<z.ZodBoolean>;
117
+ required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
118
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
119
+ }, "strict", z.ZodTypeAny, {
120
+ message: string;
121
+ code: string | null;
122
+ retryable: boolean;
123
+ required_actions: string[];
124
+ context: Record<string, unknown>;
125
+ }, {
126
+ message: string;
127
+ code?: string | null | undefined;
128
+ retryable?: boolean | undefined;
129
+ required_actions?: string[] | undefined;
130
+ context?: Record<string, unknown> | undefined;
131
+ }>>;
132
+ }, "strict", z.ZodTypeAny, {
133
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
134
+ problem?: {
135
+ message: string;
136
+ code: string | null;
137
+ retryable: boolean;
138
+ required_actions: string[];
139
+ context: Record<string, unknown>;
140
+ } | undefined;
141
+ }, {
142
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
143
+ problem?: {
144
+ message: string;
145
+ code?: string | null | undefined;
146
+ retryable?: boolean | undefined;
147
+ required_actions?: string[] | undefined;
148
+ context?: Record<string, unknown> | undefined;
149
+ } | undefined;
150
+ }>;
151
+ reason: z.ZodLiteral<"process_scope_settled">;
152
+ at: z.ZodString;
153
+ }, "strict", z.ZodTypeAny, {
154
+ from: {
155
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
156
+ problem?: {
157
+ message: string;
158
+ code: string | null;
159
+ retryable: boolean;
160
+ required_actions: string[];
161
+ context: Record<string, unknown>;
162
+ } | undefined;
163
+ };
164
+ reason: "process_scope_settled";
165
+ at: string;
166
+ }, {
167
+ from: {
168
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
169
+ problem?: {
170
+ message: string;
171
+ code?: string | null | undefined;
172
+ retryable?: boolean | undefined;
173
+ required_actions?: string[] | undefined;
174
+ context?: Record<string, unknown> | undefined;
175
+ } | undefined;
176
+ };
177
+ reason: "process_scope_settled";
178
+ at: string;
179
+ }>>;
110
180
  dispatchedRevision: z.ZodNullable<z.ZodNumber>;
111
181
  successorJobId: z.ZodNullable<z.ZodString>;
112
182
  successorRunId: z.ZodNullable<z.ZodString>;
@@ -127,6 +197,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
127
197
  context: Record<string, unknown>;
128
198
  } | undefined;
129
199
  } | null;
200
+ resumed?: {
201
+ from: {
202
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
203
+ problem?: {
204
+ message: string;
205
+ code: string | null;
206
+ retryable: boolean;
207
+ required_actions: string[];
208
+ context: Record<string, unknown>;
209
+ } | undefined;
210
+ };
211
+ reason: "process_scope_settled";
212
+ at: string;
213
+ } | undefined;
130
214
  dispatchedRevision: number | null;
131
215
  successorJobId: string | null;
132
216
  successorRunId: string | null;
@@ -147,6 +231,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
147
231
  context?: Record<string, unknown> | undefined;
148
232
  } | undefined;
149
233
  } | null;
234
+ resumed?: {
235
+ from: {
236
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
237
+ problem?: {
238
+ message: string;
239
+ code?: string | null | undefined;
240
+ retryable?: boolean | undefined;
241
+ required_actions?: string[] | undefined;
242
+ context?: Record<string, unknown> | undefined;
243
+ } | undefined;
244
+ };
245
+ reason: "process_scope_settled";
246
+ at: string;
247
+ } | undefined;
150
248
  dispatchedRevision: number | null;
151
249
  successorJobId: string | null;
152
250
  successorRunId: string | null;
@@ -174,6 +272,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
174
272
  context: Record<string, unknown>;
175
273
  } | undefined;
176
274
  } | null;
275
+ resumed?: {
276
+ from: {
277
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
278
+ problem?: {
279
+ message: string;
280
+ code: string | null;
281
+ retryable: boolean;
282
+ required_actions: string[];
283
+ context: Record<string, unknown>;
284
+ } | undefined;
285
+ };
286
+ reason: "process_scope_settled";
287
+ at: string;
288
+ } | undefined;
177
289
  dispatchedRevision: number | null;
178
290
  successorJobId: string | null;
179
291
  successorRunId: string | null;
@@ -201,6 +313,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
201
313
  context?: Record<string, unknown> | undefined;
202
314
  } | undefined;
203
315
  } | null;
316
+ resumed?: {
317
+ from: {
318
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
319
+ problem?: {
320
+ message: string;
321
+ code?: string | null | undefined;
322
+ retryable?: boolean | undefined;
323
+ required_actions?: string[] | undefined;
324
+ context?: Record<string, unknown> | undefined;
325
+ } | undefined;
326
+ };
327
+ reason: "process_scope_settled";
328
+ at: string;
329
+ } | undefined;
204
330
  dispatchedRevision: number | null;
205
331
  successorJobId: string | null;
206
332
  successorRunId: string | null;
@@ -246,7 +372,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
246
372
  }>>>;
247
373
  continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
248
374
  resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
249
- cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
375
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
250
376
  resetsAt: z.ZodNullable<z.ZodString>;
251
377
  limitWindow: z.ZodNullable<z.ZodString>;
252
378
  limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
@@ -276,7 +402,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
276
402
  root: string | null;
277
403
  }>;
278
404
  }, "strict", z.ZodTypeAny, {
279
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
405
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
280
406
  resetsAt: string | null;
281
407
  limitWindow: string | null;
282
408
  limitEvidence: "unspecified" | "window" | null;
@@ -292,7 +418,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
292
418
  root: string | null;
293
419
  };
294
420
  }, {
295
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
421
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
296
422
  resetsAt: string | null;
297
423
  limitWindow: string | null;
298
424
  limitEvidence: "unspecified" | "window" | null;
@@ -312,7 +438,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
312
438
  tryIndex: z.ZodNumber;
313
439
  attemptId: z.ZodString;
314
440
  carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
315
- cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
441
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
316
442
  from: z.ZodObject<{
317
443
  runId: z.ZodString;
318
444
  attemptId: z.ZodString;
@@ -346,7 +472,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
346
472
  tryIndex: number;
347
473
  attemptId: string;
348
474
  carrier: "fresh" | "native" | "native_moved" | "packet";
349
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
475
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
350
476
  from: {
351
477
  runId: string;
352
478
  attemptId: string;
@@ -368,7 +494,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
368
494
  tryIndex: number;
369
495
  attemptId: string;
370
496
  carrier: "fresh" | "native" | "native_moved" | "packet";
371
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
497
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
372
498
  from: {
373
499
  runId: string;
374
500
  attemptId: string;
@@ -391,17 +517,17 @@ export declare const ControlRunListResponse: z.ZodObject<{
391
517
  root: z.ZodString;
392
518
  bytes: z.ZodNullable<z.ZodNumber>;
393
519
  retainedAt: z.ZodString;
394
- cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
520
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
395
521
  }, "strict", z.ZodTypeAny, {
396
522
  root: string;
397
523
  bytes: number | null;
398
524
  retainedAt: string;
399
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
525
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
400
526
  }, {
401
527
  root: string;
402
528
  bytes: number | null;
403
529
  retainedAt: string;
404
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
530
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
405
531
  }>>>;
406
532
  taskId: z.ZodOptional<z.ZodString>;
407
533
  state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
@@ -466,6 +592,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
466
592
  native_code: "grok_credential_source_unconfirmed";
467
593
  source: "grok_init";
468
594
  reported_source: string;
595
+ }>, z.ZodObject<{
596
+ kind: z.ZodLiteral<"vendor_not_retryable">;
597
+ source: z.ZodLiteral<"agy_stderr">;
598
+ error_id: z.ZodNullable<z.ZodString>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ kind: "vendor_not_retryable";
601
+ source: "agy_stderr";
602
+ error_id: string | null;
603
+ }, {
604
+ kind: "vendor_not_retryable";
605
+ source: "agy_stderr";
606
+ error_id: string | null;
469
607
  }>]>>;
470
608
  rawContextShortfall: z.ZodOptional<z.ZodObject<{
471
609
  model: z.ZodString;
@@ -609,7 +747,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
609
747
  }>>;
610
748
  phase: z.ZodDefault<z.ZodString>;
611
749
  category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
612
- code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
750
+ code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "model_selection_required", "raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "vendor_cli_too_old", "credential_source_unconfirmed", "vendor_not_retryable", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
613
751
  harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
614
752
  attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
615
753
  safeMessage: z.ZodString;
@@ -725,6 +863,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
725
863
  native_code: "grok_credential_source_unconfirmed";
726
864
  source: "grok_init";
727
865
  reported_source: string;
866
+ } | {
867
+ kind: "vendor_not_retryable";
868
+ source: "agy_stderr";
869
+ error_id: string | null;
728
870
  } | undefined;
729
871
  rawContextShortfall?: {
730
872
  model: string;
@@ -764,7 +906,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
764
906
  } | undefined;
765
907
  phase: string;
766
908
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
767
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
909
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
768
910
  harnessId: string | null;
769
911
  attemptId: string | null;
770
912
  safeMessage: string;
@@ -822,6 +964,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
822
964
  native_code: "grok_credential_source_unconfirmed";
823
965
  source: "grok_init";
824
966
  reported_source: string;
967
+ } | {
968
+ kind: "vendor_not_retryable";
969
+ source: "agy_stderr";
970
+ error_id: string | null;
825
971
  } | undefined;
826
972
  rawContextShortfall?: {
827
973
  model: string;
@@ -861,7 +1007,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
861
1007
  } | undefined;
862
1008
  phase?: string | undefined;
863
1009
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
864
- code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
1010
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
865
1011
  harnessId?: string | null | undefined;
866
1012
  attemptId?: string | null | undefined;
867
1013
  safeMessage: string;
@@ -1046,6 +1192,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
1046
1192
  attempted: z.ZodDefault<z.ZodBoolean>;
1047
1193
  satisfied: z.ZodDefault<z.ZodBoolean>;
1048
1194
  status: z.ZodDefault<z.ZodEnum<["none", "attempted", "satisfied", "failed", "unverified"]>>;
1195
+ verification: z.ZodDefault<z.ZodEnum<["verified", "dispatched", "none"]>>;
1196
+ verifiedContent: z.ZodDefault<z.ZodNullable<z.ZodEnum<["page", "search_results"]>>>;
1197
+ observation: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1198
+ evidence: z.ZodLiteral<"tool_calls">;
1199
+ network: z.ZodLiteral<"not_measured">;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ evidence: "tool_calls";
1202
+ network: "not_measured";
1203
+ }, {
1204
+ evidence: "tool_calls";
1205
+ network: "not_measured";
1206
+ }>>>;
1049
1207
  tool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1050
1208
  target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1051
1209
  errorSummary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1058,6 +1216,12 @@ export declare const ControlRunListResponse: z.ZodObject<{
1058
1216
  attempted: boolean;
1059
1217
  satisfied: boolean;
1060
1218
  status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
1219
+ verification: "dispatched" | "none" | "verified";
1220
+ verifiedContent: "page" | "search_results" | null;
1221
+ observation: {
1222
+ evidence: "tool_calls";
1223
+ network: "not_measured";
1224
+ } | null;
1061
1225
  tool: string | null;
1062
1226
  target: string | null;
1063
1227
  errorSummary: string | null;
@@ -1070,12 +1234,72 @@ export declare const ControlRunListResponse: z.ZodObject<{
1070
1234
  attempted?: boolean | undefined;
1071
1235
  satisfied?: boolean | undefined;
1072
1236
  status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
1237
+ verification?: "dispatched" | "none" | "verified" | undefined;
1238
+ verifiedContent?: "page" | "search_results" | null | undefined;
1239
+ observation?: {
1240
+ evidence: "tool_calls";
1241
+ network: "not_measured";
1242
+ } | null | undefined;
1073
1243
  tool?: string | null | undefined;
1074
1244
  target?: string | null | undefined;
1075
1245
  errorSummary?: string | null | undefined;
1076
1246
  rawDetailRef?: string | null | undefined;
1077
1247
  available?: boolean | undefined;
1078
1248
  }>>;
1249
+ routeControls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1250
+ harnessId: z.ZodString;
1251
+ webMode: z.ZodEnum<["off", "auto", "cached", "live"]>;
1252
+ webMechanism: z.ZodEnum<["native", "tools", "uncontrolled", "none"]>;
1253
+ browser: z.ZodBoolean;
1254
+ browserStartup: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1255
+ status: z.ZodEnum<["ready", "failed", "cancelled", "starting", "not_observed"]>;
1256
+ waitedMs: z.ZodNumber;
1257
+ error: z.ZodNullable<z.ZodString>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
1260
+ waitedMs: number;
1261
+ error: string | null;
1262
+ }, {
1263
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
1264
+ waitedMs: number;
1265
+ error: string | null;
1266
+ }>>>;
1267
+ access: z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>;
1268
+ nativeAccess: z.ZodNullable<z.ZodString>;
1269
+ accessMechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "tool_policy", "native_settings", "none"]>;
1270
+ nativeSessionStarted: z.ZodBoolean;
1271
+ homeScoped: z.ZodNullable<z.ZodBoolean>;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ harnessId: string;
1274
+ webMode: "auto" | "cached" | "live" | "off";
1275
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
1276
+ browser: boolean;
1277
+ browserStartup: {
1278
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
1279
+ waitedMs: number;
1280
+ error: string | null;
1281
+ } | null;
1282
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
1283
+ nativeAccess: string | null;
1284
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
1285
+ nativeSessionStarted: boolean;
1286
+ homeScoped: boolean | null;
1287
+ }, {
1288
+ harnessId: string;
1289
+ webMode: "auto" | "cached" | "live" | "off";
1290
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
1291
+ browser: boolean;
1292
+ browserStartup?: {
1293
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
1294
+ waitedMs: number;
1295
+ error: string | null;
1296
+ } | null | undefined;
1297
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
1298
+ nativeAccess: string | null;
1299
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
1300
+ nativeSessionStarted: boolean;
1301
+ homeScoped: boolean | null;
1302
+ }>, "many">>;
1079
1303
  requestRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
1080
1304
  capability: z.ZodEnum<["browser", "path_deny", "delegation"]>;
1081
1305
  harness_id: z.ZodString;
@@ -1161,7 +1385,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1161
1385
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
1162
1386
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
1163
1387
  review_requested: z.ZodOptional<z.ZodBoolean>;
1164
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "work_report_contract"]>>>;
1388
+ reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "turn_limit_reached", "work_report_contract"]>>>;
1165
1389
  work_state: z.ZodOptional<z.ZodObject<{
1166
1390
  state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
1167
1391
  source: z.ZodEnum<["constrained", "validated", "absent"]>;
@@ -1204,7 +1428,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1204
1428
  checks: "failed" | "not_configured" | "passed";
1205
1429
  review: "approved" | "blocked" | "not_run";
1206
1430
  review_requested?: boolean | undefined;
1207
- reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
1431
+ reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
1208
1432
  work_state?: {
1209
1433
  state: "completed" | "incomplete" | "needs_input" | "unverified";
1210
1434
  source: "absent" | "constrained" | "validated";
@@ -1221,7 +1445,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1221
1445
  checks?: "failed" | "not_configured" | "passed" | undefined;
1222
1446
  review?: "approved" | "blocked" | "not_run" | undefined;
1223
1447
  review_requested?: boolean | undefined;
1224
- reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
1448
+ reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
1225
1449
  work_state?: {
1226
1450
  state: "completed" | "incomplete" | "needs_input" | "unverified";
1227
1451
  source: "absent" | "constrained" | "validated";
@@ -1256,6 +1480,35 @@ export declare const ControlRunListResponse: z.ZodObject<{
1256
1480
  survivors: number;
1257
1481
  unreadable: number;
1258
1482
  }>>>;
1483
+ processScopeLater: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1484
+ settled: z.ZodBoolean;
1485
+ coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
1486
+ completeness: z.ZodEnum<["complete", "not_provable"]>;
1487
+ census: z.ZodEnum<["ok", "failed", "unsupported"]>;
1488
+ survivors: z.ZodNumber;
1489
+ unreadable: z.ZodNumber;
1490
+ } & {
1491
+ attempt: z.ZodNumber;
1492
+ at: z.ZodString;
1493
+ }, "strict", z.ZodTypeAny, {
1494
+ settled: boolean;
1495
+ coverage: "marker" | "marker+capture" | "tree_only";
1496
+ completeness: "complete" | "not_provable";
1497
+ census: "failed" | "ok" | "unsupported";
1498
+ survivors: number;
1499
+ unreadable: number;
1500
+ attempt: number;
1501
+ at: string;
1502
+ }, {
1503
+ settled: boolean;
1504
+ coverage: "marker" | "marker+capture" | "tree_only";
1505
+ completeness: "complete" | "not_provable";
1506
+ census: "failed" | "ok" | "unsupported";
1507
+ survivors: number;
1508
+ unreadable: number;
1509
+ attempt: number;
1510
+ at: string;
1511
+ }>>>;
1259
1512
  route: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1260
1513
  requestedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1261
1514
  observedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1420,7 +1673,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1420
1673
  } | null;
1421
1674
  continueFrom: string | null;
1422
1675
  resumable: {
1423
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1676
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
1424
1677
  resetsAt: string | null;
1425
1678
  limitWindow: string | null;
1426
1679
  limitEvidence: "unspecified" | "window" | null;
@@ -1440,7 +1693,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1440
1693
  tryIndex: number;
1441
1694
  attemptId: string;
1442
1695
  carrier: "fresh" | "native" | "native_moved" | "packet";
1443
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1696
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
1444
1697
  from: {
1445
1698
  runId: string;
1446
1699
  attemptId: string;
@@ -1463,7 +1716,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1463
1716
  root: string;
1464
1717
  bytes: number | null;
1465
1718
  retainedAt: string;
1466
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1719
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
1467
1720
  } | null;
1468
1721
  taskId?: string | undefined;
1469
1722
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -1489,6 +1742,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
1489
1742
  native_code: "grok_credential_source_unconfirmed";
1490
1743
  source: "grok_init";
1491
1744
  reported_source: string;
1745
+ } | {
1746
+ kind: "vendor_not_retryable";
1747
+ source: "agy_stderr";
1748
+ error_id: string | null;
1492
1749
  } | undefined;
1493
1750
  rawContextShortfall?: {
1494
1751
  model: string;
@@ -1528,7 +1785,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1528
1785
  } | undefined;
1529
1786
  phase: string;
1530
1787
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
1531
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
1788
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
1532
1789
  harnessId: string | null;
1533
1790
  attemptId: string | null;
1534
1791
  safeMessage: string;
@@ -1637,12 +1894,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
1637
1894
  attempted: boolean;
1638
1895
  satisfied: boolean;
1639
1896
  status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
1897
+ verification: "dispatched" | "none" | "verified";
1898
+ verifiedContent: "page" | "search_results" | null;
1899
+ observation: {
1900
+ evidence: "tool_calls";
1901
+ network: "not_measured";
1902
+ } | null;
1640
1903
  tool: string | null;
1641
1904
  target: string | null;
1642
1905
  errorSummary: string | null;
1643
1906
  rawDetailRef: string | null;
1644
1907
  available: boolean;
1645
1908
  };
1909
+ routeControls: {
1910
+ harnessId: string;
1911
+ webMode: "auto" | "cached" | "live" | "off";
1912
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
1913
+ browser: boolean;
1914
+ browserStartup: {
1915
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
1916
+ waitedMs: number;
1917
+ error: string | null;
1918
+ } | null;
1919
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
1920
+ nativeAccess: string | null;
1921
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
1922
+ nativeSessionStarted: boolean;
1923
+ homeScoped: boolean | null;
1924
+ }[];
1646
1925
  requestRequirements: {
1647
1926
  capability: "browser" | "delegation" | "path_deny";
1648
1927
  harness_id: string;
@@ -1676,7 +1955,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1676
1955
  checks: "failed" | "not_configured" | "passed";
1677
1956
  review: "approved" | "blocked" | "not_run";
1678
1957
  review_requested?: boolean | undefined;
1679
- reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
1958
+ reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
1680
1959
  work_state?: {
1681
1960
  state: "completed" | "incomplete" | "needs_input" | "unverified";
1682
1961
  source: "absent" | "constrained" | "validated";
@@ -1697,6 +1976,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
1697
1976
  survivors: number;
1698
1977
  unreadable: number;
1699
1978
  } | null;
1979
+ processScopeLater: {
1980
+ settled: boolean;
1981
+ coverage: "marker" | "marker+capture" | "tree_only";
1982
+ completeness: "complete" | "not_provable";
1983
+ census: "failed" | "ok" | "unsupported";
1984
+ survivors: number;
1985
+ unreadable: number;
1986
+ attempt: number;
1987
+ at: string;
1988
+ } | null;
1700
1989
  route: {
1701
1990
  requestedModel: string | null;
1702
1991
  observedModel: string | null;
@@ -1755,7 +2044,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1755
2044
  } | null | undefined;
1756
2045
  continueFrom?: string | null | undefined;
1757
2046
  resumable?: {
1758
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2047
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
1759
2048
  resetsAt: string | null;
1760
2049
  limitWindow: string | null;
1761
2050
  limitEvidence: "unspecified" | "window" | null;
@@ -1775,7 +2064,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1775
2064
  tryIndex: number;
1776
2065
  attemptId: string;
1777
2066
  carrier: "fresh" | "native" | "native_moved" | "packet";
1778
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2067
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
1779
2068
  from: {
1780
2069
  runId: string;
1781
2070
  attemptId: string;
@@ -1798,7 +2087,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1798
2087
  root: string;
1799
2088
  bytes: number | null;
1800
2089
  retainedAt: string;
1801
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2090
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
1802
2091
  } | null | undefined;
1803
2092
  taskId?: string | undefined;
1804
2093
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -1824,6 +2113,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
1824
2113
  native_code: "grok_credential_source_unconfirmed";
1825
2114
  source: "grok_init";
1826
2115
  reported_source: string;
2116
+ } | {
2117
+ kind: "vendor_not_retryable";
2118
+ source: "agy_stderr";
2119
+ error_id: string | null;
1827
2120
  } | undefined;
1828
2121
  rawContextShortfall?: {
1829
2122
  model: string;
@@ -1863,7 +2156,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1863
2156
  } | undefined;
1864
2157
  phase?: string | undefined;
1865
2158
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
1866
- code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
2159
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
1867
2160
  harnessId?: string | null | undefined;
1868
2161
  attemptId?: string | null | undefined;
1869
2162
  safeMessage: string;
@@ -1972,12 +2265,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
1972
2265
  attempted?: boolean | undefined;
1973
2266
  satisfied?: boolean | undefined;
1974
2267
  status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
2268
+ verification?: "dispatched" | "none" | "verified" | undefined;
2269
+ verifiedContent?: "page" | "search_results" | null | undefined;
2270
+ observation?: {
2271
+ evidence: "tool_calls";
2272
+ network: "not_measured";
2273
+ } | null | undefined;
1975
2274
  tool?: string | null | undefined;
1976
2275
  target?: string | null | undefined;
1977
2276
  errorSummary?: string | null | undefined;
1978
2277
  rawDetailRef?: string | null | undefined;
1979
2278
  available?: boolean | undefined;
1980
2279
  } | undefined;
2280
+ routeControls?: {
2281
+ harnessId: string;
2282
+ webMode: "auto" | "cached" | "live" | "off";
2283
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
2284
+ browser: boolean;
2285
+ browserStartup?: {
2286
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
2287
+ waitedMs: number;
2288
+ error: string | null;
2289
+ } | null | undefined;
2290
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
2291
+ nativeAccess: string | null;
2292
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
2293
+ nativeSessionStarted: boolean;
2294
+ homeScoped: boolean | null;
2295
+ }[] | undefined;
1981
2296
  requestRequirements?: {
1982
2297
  capability: "browser" | "delegation" | "path_deny";
1983
2298
  harness_id: string;
@@ -2011,7 +2326,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2011
2326
  checks?: "failed" | "not_configured" | "passed" | undefined;
2012
2327
  review?: "approved" | "blocked" | "not_run" | undefined;
2013
2328
  review_requested?: boolean | undefined;
2014
- reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
2329
+ reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
2015
2330
  work_state?: {
2016
2331
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2017
2332
  source: "absent" | "constrained" | "validated";
@@ -2032,6 +2347,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
2032
2347
  survivors: number;
2033
2348
  unreadable: number;
2034
2349
  } | null | undefined;
2350
+ processScopeLater?: {
2351
+ settled: boolean;
2352
+ coverage: "marker" | "marker+capture" | "tree_only";
2353
+ completeness: "complete" | "not_provable";
2354
+ census: "failed" | "ok" | "unsupported";
2355
+ survivors: number;
2356
+ unreadable: number;
2357
+ attempt: number;
2358
+ at: string;
2359
+ } | null | undefined;
2035
2360
  route?: {
2036
2361
  requestedModel?: string | null | undefined;
2037
2362
  observedModel?: string | null | undefined;
@@ -2100,7 +2425,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2100
2425
  } | null;
2101
2426
  continueFrom: string | null;
2102
2427
  resumable: {
2103
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2428
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
2104
2429
  resetsAt: string | null;
2105
2430
  limitWindow: string | null;
2106
2431
  limitEvidence: "unspecified" | "window" | null;
@@ -2120,7 +2445,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2120
2445
  tryIndex: number;
2121
2446
  attemptId: string;
2122
2447
  carrier: "fresh" | "native" | "native_moved" | "packet";
2123
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2448
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
2124
2449
  from: {
2125
2450
  runId: string;
2126
2451
  attemptId: string;
@@ -2143,7 +2468,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2143
2468
  root: string;
2144
2469
  bytes: number | null;
2145
2470
  retainedAt: string;
2146
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2471
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
2147
2472
  } | null;
2148
2473
  taskId?: string | undefined;
2149
2474
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -2169,6 +2494,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
2169
2494
  native_code: "grok_credential_source_unconfirmed";
2170
2495
  source: "grok_init";
2171
2496
  reported_source: string;
2497
+ } | {
2498
+ kind: "vendor_not_retryable";
2499
+ source: "agy_stderr";
2500
+ error_id: string | null;
2172
2501
  } | undefined;
2173
2502
  rawContextShortfall?: {
2174
2503
  model: string;
@@ -2208,7 +2537,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2208
2537
  } | undefined;
2209
2538
  phase: string;
2210
2539
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
2211
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
2540
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
2212
2541
  harnessId: string | null;
2213
2542
  attemptId: string | null;
2214
2543
  safeMessage: string;
@@ -2317,12 +2646,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
2317
2646
  attempted: boolean;
2318
2647
  satisfied: boolean;
2319
2648
  status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
2649
+ verification: "dispatched" | "none" | "verified";
2650
+ verifiedContent: "page" | "search_results" | null;
2651
+ observation: {
2652
+ evidence: "tool_calls";
2653
+ network: "not_measured";
2654
+ } | null;
2320
2655
  tool: string | null;
2321
2656
  target: string | null;
2322
2657
  errorSummary: string | null;
2323
2658
  rawDetailRef: string | null;
2324
2659
  available: boolean;
2325
2660
  };
2661
+ routeControls: {
2662
+ harnessId: string;
2663
+ webMode: "auto" | "cached" | "live" | "off";
2664
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
2665
+ browser: boolean;
2666
+ browserStartup: {
2667
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
2668
+ waitedMs: number;
2669
+ error: string | null;
2670
+ } | null;
2671
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
2672
+ nativeAccess: string | null;
2673
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
2674
+ nativeSessionStarted: boolean;
2675
+ homeScoped: boolean | null;
2676
+ }[];
2326
2677
  requestRequirements: {
2327
2678
  capability: "browser" | "delegation" | "path_deny";
2328
2679
  harness_id: string;
@@ -2356,7 +2707,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2356
2707
  checks: "failed" | "not_configured" | "passed";
2357
2708
  review: "approved" | "blocked" | "not_run";
2358
2709
  review_requested?: boolean | undefined;
2359
- reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
2710
+ reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
2360
2711
  work_state?: {
2361
2712
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2362
2713
  source: "absent" | "constrained" | "validated";
@@ -2377,6 +2728,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
2377
2728
  survivors: number;
2378
2729
  unreadable: number;
2379
2730
  } | null;
2731
+ processScopeLater: {
2732
+ settled: boolean;
2733
+ coverage: "marker" | "marker+capture" | "tree_only";
2734
+ completeness: "complete" | "not_provable";
2735
+ census: "failed" | "ok" | "unsupported";
2736
+ survivors: number;
2737
+ unreadable: number;
2738
+ attempt: number;
2739
+ at: string;
2740
+ } | null;
2380
2741
  route: {
2381
2742
  requestedModel: string | null;
2382
2743
  observedModel: string | null;
@@ -2439,7 +2800,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2439
2800
  } | null | undefined;
2440
2801
  continueFrom?: string | null | undefined;
2441
2802
  resumable?: {
2442
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2803
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
2443
2804
  resetsAt: string | null;
2444
2805
  limitWindow: string | null;
2445
2806
  limitEvidence: "unspecified" | "window" | null;
@@ -2459,7 +2820,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2459
2820
  tryIndex: number;
2460
2821
  attemptId: string;
2461
2822
  carrier: "fresh" | "native" | "native_moved" | "packet";
2462
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2823
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
2463
2824
  from: {
2464
2825
  runId: string;
2465
2826
  attemptId: string;
@@ -2482,7 +2843,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2482
2843
  root: string;
2483
2844
  bytes: number | null;
2484
2845
  retainedAt: string;
2485
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2846
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
2486
2847
  } | null | undefined;
2487
2848
  taskId?: string | undefined;
2488
2849
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -2508,6 +2869,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
2508
2869
  native_code: "grok_credential_source_unconfirmed";
2509
2870
  source: "grok_init";
2510
2871
  reported_source: string;
2872
+ } | {
2873
+ kind: "vendor_not_retryable";
2874
+ source: "agy_stderr";
2875
+ error_id: string | null;
2511
2876
  } | undefined;
2512
2877
  rawContextShortfall?: {
2513
2878
  model: string;
@@ -2547,7 +2912,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2547
2912
  } | undefined;
2548
2913
  phase?: string | undefined;
2549
2914
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
2550
- code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
2915
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
2551
2916
  harnessId?: string | null | undefined;
2552
2917
  attemptId?: string | null | undefined;
2553
2918
  safeMessage: string;
@@ -2656,12 +3021,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
2656
3021
  attempted?: boolean | undefined;
2657
3022
  satisfied?: boolean | undefined;
2658
3023
  status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
3024
+ verification?: "dispatched" | "none" | "verified" | undefined;
3025
+ verifiedContent?: "page" | "search_results" | null | undefined;
3026
+ observation?: {
3027
+ evidence: "tool_calls";
3028
+ network: "not_measured";
3029
+ } | null | undefined;
2659
3030
  tool?: string | null | undefined;
2660
3031
  target?: string | null | undefined;
2661
3032
  errorSummary?: string | null | undefined;
2662
3033
  rawDetailRef?: string | null | undefined;
2663
3034
  available?: boolean | undefined;
2664
3035
  } | undefined;
3036
+ routeControls?: {
3037
+ harnessId: string;
3038
+ webMode: "auto" | "cached" | "live" | "off";
3039
+ webMechanism: "native" | "none" | "tools" | "uncontrolled";
3040
+ browser: boolean;
3041
+ browserStartup?: {
3042
+ status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
3043
+ waitedMs: number;
3044
+ error: string | null;
3045
+ } | null | undefined;
3046
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
3047
+ nativeAccess: string | null;
3048
+ accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
3049
+ nativeSessionStarted: boolean;
3050
+ homeScoped: boolean | null;
3051
+ }[] | undefined;
2665
3052
  requestRequirements?: {
2666
3053
  capability: "browser" | "delegation" | "path_deny";
2667
3054
  harness_id: string;
@@ -2695,7 +3082,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2695
3082
  checks?: "failed" | "not_configured" | "passed" | undefined;
2696
3083
  review?: "approved" | "blocked" | "not_run" | undefined;
2697
3084
  review_requested?: boolean | undefined;
2698
- reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
3085
+ reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
2699
3086
  work_state?: {
2700
3087
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2701
3088
  source: "absent" | "constrained" | "validated";
@@ -2716,6 +3103,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
2716
3103
  survivors: number;
2717
3104
  unreadable: number;
2718
3105
  } | null | undefined;
3106
+ processScopeLater?: {
3107
+ settled: boolean;
3108
+ coverage: "marker" | "marker+capture" | "tree_only";
3109
+ completeness: "complete" | "not_provable";
3110
+ census: "failed" | "ok" | "unsupported";
3111
+ survivors: number;
3112
+ unreadable: number;
3113
+ attempt: number;
3114
+ at: string;
3115
+ } | null | undefined;
2719
3116
  route?: {
2720
3117
  requestedModel?: string | null | undefined;
2721
3118
  observedModel?: string | null | undefined;
@@ -3392,10 +3789,11 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
3392
3789
  runId: z.ZodString;
3393
3790
  taskId: z.ZodOptional<z.ZodString>;
3394
3791
  runDir: z.ZodString;
3395
- }, "storeId" | "taskGroupId"> & {
3792
+ }, "taskGroupId"> & {
3396
3793
  threadId: z.ZodString;
3397
3794
  turnId: z.ZodString;
3398
3795
  }, "strip", z.ZodTypeAny, {
3796
+ storeId?: string | undefined;
3399
3797
  jobId?: string | undefined;
3400
3798
  runId: string;
3401
3799
  taskId?: string | undefined;
@@ -3403,6 +3801,7 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
3403
3801
  threadId: string;
3404
3802
  turnId: string;
3405
3803
  }, {
3804
+ storeId?: string | undefined;
3406
3805
  jobId?: string | undefined;
3407
3806
  runId: string;
3408
3807
  taskId?: string | undefined;
@@ -3410,16 +3809,19 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
3410
3809
  threadId: string;
3411
3810
  turnId: string;
3412
3811
  }>, z.ZodObject<{
3812
+ storeId: z.ZodOptional<z.ZodString>;
3413
3813
  jobId: z.ZodString;
3414
3814
  threadId: z.ZodString;
3415
3815
  turnId: z.ZodString;
3416
3816
  state: z.ZodString;
3417
3817
  }, "strict", z.ZodTypeAny, {
3818
+ storeId?: string | undefined;
3418
3819
  jobId: string;
3419
3820
  threadId: string;
3420
3821
  turnId: string;
3421
3822
  state: string;
3422
3823
  }, {
3824
+ storeId?: string | undefined;
3423
3825
  jobId: string;
3424
3826
  threadId: string;
3425
3827
  turnId: string;