@claudexor/schema 5.0.1 → 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.
- package/dist/account-routing-evidence.d.ts +256 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +27 -2
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +3 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +6 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +103 -6
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +32 -6
- package/dist/attachment.js.map +1 -1
- package/dist/browser-evidence.d.ts +85 -0
- package/dist/browser-evidence.d.ts.map +1 -0
- package/dist/browser-evidence.js +72 -0
- package/dist/browser-evidence.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +30 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +438 -36
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +11 -2
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-process-scope.d.ts +34 -0
- package/dist/control-process-scope.d.ts.map +1 -1
- package/dist/control-process-scope.js +13 -0
- package/dist/control-process-scope.js.map +1 -1
- package/dist/control-run-detail.d.ts +785 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-failure.d.ts +29 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +28 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-trust.d.ts +8 -0
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +4 -0
- package/dist/control-trust.js.map +1 -1
- package/dist/control-web-evidence.d.ts +125 -0
- package/dist/control-web-evidence.d.ts.map +1 -0
- package/dist/control-web-evidence.js +109 -0
- package/dist/control-web-evidence.js.map +1 -0
- package/dist/control.d.ts +292 -98
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -49
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +4 -3
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +4 -3
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -0
- package/dist/decision.js.map +1 -1
- package/dist/deferred-message.d.ts +646 -0
- package/dist/deferred-message.d.ts.map +1 -1
- package/dist/deferred-message.js +16 -2
- package/dist/deferred-message.js.map +1 -1
- package/dist/events.d.ts +10 -10
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.js +1 -1
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +12 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +11 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-interaction.d.ts +20 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +36 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness.d.ts +95 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +16 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +363 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -7
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/operation.d.ts +1 -1
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/process-scope.d.ts +154 -0
- package/dist/process-scope.d.ts.map +1 -1
- package/dist/process-scope.js +16 -1
- package/dist/process-scope.js.map +1 -1
- package/dist/quota.d.ts +14 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +4 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +11 -5
- package/dist/raw.js.map +1 -1
- package/dist/route-controls.d.ts +49 -0
- package/dist/route-controls.d.ts.map +1 -0
- package/dist/route-controls.js +53 -0
- package/dist/route-controls.js.map +1 -0
- package/dist/route-health.d.ts +23 -23
- package/dist/route-health.js +1 -1
- package/dist/route-health.js.map +1 -1
- package/dist/run-continuation.d.ts +6 -6
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.js +1 -1
- package/dist/run-facts.js.map +1 -1
- package/dist/status-projection.d.ts +3 -2
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +5 -2
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group.d.ts +3 -0
- package/dist/task-group.d.ts.map +1 -1
- package/dist/task-group.js +11 -1
- package/dist/task-group.js.map +1 -1
- package/dist/task.d.ts +2 -2
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +4 -4
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +602 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +17 -88
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-export.d.ts +847 -0
- package/dist/thread-export.d.ts.map +1 -0
- package/dist/thread-export.js +238 -0
- package/dist/thread-export.js.map +1 -0
- package/dist/thread-history.d.ts +248 -132
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread.d.ts +72 -6
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +19 -3
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +172 -21
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +114 -29
- package/dist/tool-ref.js.map +1 -1
- package/dist/web-evidence.d.ts +91 -0
- package/dist/web-evidence.d.ts.map +1 -0
- package/dist/web-evidence.js +77 -0
- package/dist/web-evidence.js.map +1 -0
- package/dist/workspace-preparation.d.ts +54 -0
- package/dist/workspace-preparation.d.ts.map +1 -0
- package/dist/workspace-preparation.js +59 -0
- package/dist/workspace-preparation.js.map +1 -0
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessListResponse.schema.json +2 -2
- package/generated/ControlQueuedRunInfo.schema.json +1 -1
- package/generated/ControlResource.schema.json +5 -0
- package/generated/ControlResourceRelease.schema.json +44 -0
- package/generated/ControlResourceReleaseRequest.schema.json +27 -0
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRouteHealth.schema.json +13 -1
- package/generated/ControlRunControlResponse.schema.json +41 -3
- package/generated/ControlRunDecisionRequest.schema.json +8 -2
- package/generated/ControlRunDecisionResponse.schema.json +4 -3
- package/generated/ControlRunDetail.schema.json +337 -10
- package/generated/ControlRunEventPart.schema.json +1 -0
- package/generated/ControlRunListResponse.schema.json +296 -7
- package/generated/ControlRunRetryResponse.schema.json +1 -1
- package/generated/ControlRunStartInfo.schema.json +1 -1
- package/generated/ControlRunStartResponse.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +296 -7
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/ControlThreadTurnResponse.schema.json +9 -0
- package/generated/ControlTrustListResponse.schema.json +8 -0
- package/generated/ControlTrustState.schema.json +8 -0
- package/generated/ControlUploadImport.schema.json +12 -2
- package/generated/ControlUploadImportRequest.schema.json +5 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/DeferredMessageDetail.schema.json +43 -7
- package/generated/DeferredMessageProjection.schema.json +41 -3
- package/generated/DeferredMessageReadResult.schema.json +42 -4
- package/generated/DeferredMessageReceipt.schema.json +41 -3
- package/generated/EnvelopeCustody.schema.json +3 -2
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +140 -4
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +62 -2
- package/generated/McpRunHandleResult.schema.json +90 -6
- package/generated/McpRunToolResult.schema.json +89 -6
- package/generated/McpRunWaitResult.schema.json +42 -3
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/RawContextPacket.schema.json +6 -4
- package/generated/RawGitPatchEnvelope.schema.json +1 -1
- package/generated/RoutePoolDegradedPayload.schema.json +2 -1
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +46 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +288 -7
- package/generated/TaskContract.schema.json +3 -3
- package/generated/TaskGroupReceipt.schema.json +1 -1
- package/generated/Thread.schema.json +41 -0
- package/generated/ThreadExportManifest.schema.json +461 -0
- package/generated/ThreadExportReceipt.schema.json +94 -0
- package/generated/ThreadHistoryPage.schema.json +47 -2
- package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
- package/generated/ThreadRetireRequest.schema.json +41 -0
- package/generated/ThreadRetirement.schema.json +175 -0
- package/generated/ThreadTurn.schema.json +1 -1
- package/generated/WorkspaceEnvelope.schema.json +1 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
package/dist/thread-history.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
165
165
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
166
166
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
167
167
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
-
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"]>>>;
|
|
168
|
+
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"]>>>;
|
|
169
169
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
170
170
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
171
171
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -208,7 +208,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
208
208
|
checks: "failed" | "not_configured" | "passed";
|
|
209
209
|
review: "approved" | "blocked" | "not_run";
|
|
210
210
|
review_requested?: boolean | undefined;
|
|
211
|
-
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;
|
|
211
|
+
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;
|
|
212
212
|
work_state?: {
|
|
213
213
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
214
214
|
source: "absent" | "constrained" | "validated";
|
|
@@ -225,7 +225,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
225
225
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
226
226
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
227
227
|
review_requested?: boolean | undefined;
|
|
228
|
-
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;
|
|
228
|
+
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;
|
|
229
229
|
work_state?: {
|
|
230
230
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
231
231
|
source: "absent" | "constrained" | "validated";
|
|
@@ -350,7 +350,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
350
350
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
351
351
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
352
352
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
-
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"]>>>;
|
|
353
|
+
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"]>>>;
|
|
354
354
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
355
355
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
356
356
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -393,7 +393,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
393
393
|
checks: "failed" | "not_configured" | "passed";
|
|
394
394
|
review: "approved" | "blocked" | "not_run";
|
|
395
395
|
review_requested?: boolean | undefined;
|
|
396
|
-
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;
|
|
396
|
+
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;
|
|
397
397
|
work_state?: {
|
|
398
398
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
399
399
|
source: "absent" | "constrained" | "validated";
|
|
@@ -410,7 +410,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
410
410
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
411
411
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
412
412
|
review_requested?: boolean | undefined;
|
|
413
|
-
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;
|
|
413
|
+
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;
|
|
414
414
|
work_state?: {
|
|
415
415
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
416
416
|
source: "absent" | "constrained" | "validated";
|
|
@@ -595,7 +595,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
595
595
|
checks: "failed" | "not_configured" | "passed";
|
|
596
596
|
review: "approved" | "blocked" | "not_run";
|
|
597
597
|
review_requested?: boolean | undefined;
|
|
598
|
-
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;
|
|
598
|
+
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;
|
|
599
599
|
work_state?: {
|
|
600
600
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
601
601
|
source: "absent" | "constrained" | "validated";
|
|
@@ -668,7 +668,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
668
668
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
669
669
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
670
670
|
review_requested?: boolean | undefined;
|
|
671
|
-
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;
|
|
671
|
+
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;
|
|
672
672
|
work_state?: {
|
|
673
673
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
674
674
|
source: "absent" | "constrained" | "validated";
|
|
@@ -920,6 +920,18 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
920
920
|
native_code: "grok_credential_source_unconfirmed";
|
|
921
921
|
source: "grok_init";
|
|
922
922
|
reported_source: string;
|
|
923
|
+
}>, z.ZodObject<{
|
|
924
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
925
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
926
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
kind: "vendor_not_retryable";
|
|
929
|
+
source: "agy_stderr";
|
|
930
|
+
error_id: string | null;
|
|
931
|
+
}, {
|
|
932
|
+
kind: "vendor_not_retryable";
|
|
933
|
+
source: "agy_stderr";
|
|
934
|
+
error_id: string | null;
|
|
923
935
|
}>]>>;
|
|
924
936
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
925
937
|
model: z.ZodString;
|
|
@@ -1063,7 +1075,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1063
1075
|
}>>;
|
|
1064
1076
|
phase: z.ZodDefault<z.ZodString>;
|
|
1065
1077
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1066
|
-
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"]>>>;
|
|
1078
|
+
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"]>>>;
|
|
1067
1079
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1068
1080
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1069
1081
|
safeMessage: z.ZodString;
|
|
@@ -1179,6 +1191,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1179
1191
|
native_code: "grok_credential_source_unconfirmed";
|
|
1180
1192
|
source: "grok_init";
|
|
1181
1193
|
reported_source: string;
|
|
1194
|
+
} | {
|
|
1195
|
+
kind: "vendor_not_retryable";
|
|
1196
|
+
source: "agy_stderr";
|
|
1197
|
+
error_id: string | null;
|
|
1182
1198
|
} | undefined;
|
|
1183
1199
|
rawContextShortfall?: {
|
|
1184
1200
|
model: string;
|
|
@@ -1218,7 +1234,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1218
1234
|
} | undefined;
|
|
1219
1235
|
phase: string;
|
|
1220
1236
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1221
|
-
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;
|
|
1237
|
+
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;
|
|
1222
1238
|
harnessId: string | null;
|
|
1223
1239
|
attemptId: string | null;
|
|
1224
1240
|
safeMessage: string;
|
|
@@ -1276,6 +1292,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1276
1292
|
native_code: "grok_credential_source_unconfirmed";
|
|
1277
1293
|
source: "grok_init";
|
|
1278
1294
|
reported_source: string;
|
|
1295
|
+
} | {
|
|
1296
|
+
kind: "vendor_not_retryable";
|
|
1297
|
+
source: "agy_stderr";
|
|
1298
|
+
error_id: string | null;
|
|
1279
1299
|
} | undefined;
|
|
1280
1300
|
rawContextShortfall?: {
|
|
1281
1301
|
model: string;
|
|
@@ -1315,7 +1335,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1315
1335
|
} | undefined;
|
|
1316
1336
|
phase?: string | undefined;
|
|
1317
1337
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1318
|
-
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;
|
|
1338
|
+
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;
|
|
1319
1339
|
harnessId?: string | null | undefined;
|
|
1320
1340
|
attemptId?: string | null | undefined;
|
|
1321
1341
|
safeMessage: string;
|
|
@@ -1460,7 +1480,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1460
1480
|
checks: "failed" | "not_configured" | "passed";
|
|
1461
1481
|
review: "approved" | "blocked" | "not_run";
|
|
1462
1482
|
review_requested?: boolean | undefined;
|
|
1463
|
-
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;
|
|
1483
|
+
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;
|
|
1464
1484
|
work_state?: {
|
|
1465
1485
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1466
1486
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1495,7 +1515,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1495
1515
|
checks: "failed" | "not_configured" | "passed";
|
|
1496
1516
|
review: "approved" | "blocked" | "not_run";
|
|
1497
1517
|
review_requested?: boolean | undefined;
|
|
1498
|
-
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;
|
|
1518
|
+
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;
|
|
1499
1519
|
work_state?: {
|
|
1500
1520
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1501
1521
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1620,6 +1640,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1620
1640
|
native_code: "grok_credential_source_unconfirmed";
|
|
1621
1641
|
source: "grok_init";
|
|
1622
1642
|
reported_source: string;
|
|
1643
|
+
} | {
|
|
1644
|
+
kind: "vendor_not_retryable";
|
|
1645
|
+
source: "agy_stderr";
|
|
1646
|
+
error_id: string | null;
|
|
1623
1647
|
} | undefined;
|
|
1624
1648
|
rawContextShortfall?: {
|
|
1625
1649
|
model: string;
|
|
@@ -1659,7 +1683,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1659
1683
|
} | undefined;
|
|
1660
1684
|
phase: string;
|
|
1661
1685
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1662
|
-
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;
|
|
1686
|
+
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;
|
|
1663
1687
|
harnessId: string | null;
|
|
1664
1688
|
attemptId: string | null;
|
|
1665
1689
|
safeMessage: string;
|
|
@@ -1772,7 +1796,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1772
1796
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1773
1797
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1774
1798
|
review_requested?: boolean | undefined;
|
|
1775
|
-
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;
|
|
1799
|
+
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;
|
|
1776
1800
|
work_state?: {
|
|
1777
1801
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1778
1802
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1807,7 +1831,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1807
1831
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1808
1832
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1809
1833
|
review_requested?: boolean | undefined;
|
|
1810
|
-
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;
|
|
1834
|
+
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;
|
|
1811
1835
|
work_state?: {
|
|
1812
1836
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1813
1837
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1932,6 +1956,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1932
1956
|
native_code: "grok_credential_source_unconfirmed";
|
|
1933
1957
|
source: "grok_init";
|
|
1934
1958
|
reported_source: string;
|
|
1959
|
+
} | {
|
|
1960
|
+
kind: "vendor_not_retryable";
|
|
1961
|
+
source: "agy_stderr";
|
|
1962
|
+
error_id: string | null;
|
|
1935
1963
|
} | undefined;
|
|
1936
1964
|
rawContextShortfall?: {
|
|
1937
1965
|
model: string;
|
|
@@ -1971,7 +1999,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1971
1999
|
} | undefined;
|
|
1972
2000
|
phase?: string | undefined;
|
|
1973
2001
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1974
|
-
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;
|
|
2002
|
+
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;
|
|
1975
2003
|
harnessId?: string | null | undefined;
|
|
1976
2004
|
attemptId?: string | null | undefined;
|
|
1977
2005
|
safeMessage: string;
|
|
@@ -2108,7 +2136,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2108
2136
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2109
2137
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2110
2138
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2111
|
-
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"]>>>;
|
|
2139
|
+
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"]>>>;
|
|
2112
2140
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2113
2141
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2114
2142
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2151,7 +2179,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2151
2179
|
checks: "failed" | "not_configured" | "passed";
|
|
2152
2180
|
review: "approved" | "blocked" | "not_run";
|
|
2153
2181
|
review_requested?: boolean | undefined;
|
|
2154
|
-
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;
|
|
2182
|
+
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;
|
|
2155
2183
|
work_state?: {
|
|
2156
2184
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2157
2185
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2168,7 +2196,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2168
2196
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2169
2197
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2170
2198
|
review_requested?: boolean | undefined;
|
|
2171
|
-
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;
|
|
2199
|
+
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;
|
|
2172
2200
|
work_state?: {
|
|
2173
2201
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2174
2202
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2242,7 +2270,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2242
2270
|
checks: "failed" | "not_configured" | "passed";
|
|
2243
2271
|
review: "approved" | "blocked" | "not_run";
|
|
2244
2272
|
review_requested?: boolean | undefined;
|
|
2245
|
-
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;
|
|
2273
|
+
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;
|
|
2246
2274
|
work_state?: {
|
|
2247
2275
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2248
2276
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2292,7 +2320,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2292
2320
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2293
2321
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2294
2322
|
review_requested?: boolean | undefined;
|
|
2295
|
-
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;
|
|
2323
|
+
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;
|
|
2296
2324
|
work_state?: {
|
|
2297
2325
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2298
2326
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2475,7 +2503,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2475
2503
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2476
2504
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2477
2505
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2478
|
-
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"]>>>;
|
|
2506
|
+
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"]>>>;
|
|
2479
2507
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2480
2508
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2481
2509
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2518,7 +2546,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2518
2546
|
checks: "failed" | "not_configured" | "passed";
|
|
2519
2547
|
review: "approved" | "blocked" | "not_run";
|
|
2520
2548
|
review_requested?: boolean | undefined;
|
|
2521
|
-
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;
|
|
2549
|
+
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;
|
|
2522
2550
|
work_state?: {
|
|
2523
2551
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2524
2552
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2535,7 +2563,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2535
2563
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2536
2564
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2537
2565
|
review_requested?: boolean | undefined;
|
|
2538
|
-
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;
|
|
2566
|
+
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;
|
|
2539
2567
|
work_state?: {
|
|
2540
2568
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2541
2569
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2609,7 +2637,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2609
2637
|
checks: "failed" | "not_configured" | "passed";
|
|
2610
2638
|
review: "approved" | "blocked" | "not_run";
|
|
2611
2639
|
review_requested?: boolean | undefined;
|
|
2612
|
-
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;
|
|
2640
|
+
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;
|
|
2613
2641
|
work_state?: {
|
|
2614
2642
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2615
2643
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2659,7 +2687,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2659
2687
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2660
2688
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2661
2689
|
review_requested?: boolean | undefined;
|
|
2662
|
-
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;
|
|
2690
|
+
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;
|
|
2663
2691
|
work_state?: {
|
|
2664
2692
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2665
2693
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2825,7 +2853,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2825
2853
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2826
2854
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2827
2855
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2828
|
-
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"]>>>;
|
|
2856
|
+
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"]>>>;
|
|
2829
2857
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2830
2858
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2831
2859
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2868,7 +2896,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2868
2896
|
checks: "failed" | "not_configured" | "passed";
|
|
2869
2897
|
review: "approved" | "blocked" | "not_run";
|
|
2870
2898
|
review_requested?: boolean | undefined;
|
|
2871
|
-
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;
|
|
2899
|
+
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;
|
|
2872
2900
|
work_state?: {
|
|
2873
2901
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2874
2902
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2885,7 +2913,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2885
2913
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2886
2914
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2887
2915
|
review_requested?: boolean | undefined;
|
|
2888
|
-
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;
|
|
2916
|
+
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;
|
|
2889
2917
|
work_state?: {
|
|
2890
2918
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2891
2919
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3010,7 +3038,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3010
3038
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
3011
3039
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
3012
3040
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
3013
|
-
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"]>>>;
|
|
3041
|
+
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"]>>>;
|
|
3014
3042
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
3015
3043
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
3016
3044
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -3053,7 +3081,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3053
3081
|
checks: "failed" | "not_configured" | "passed";
|
|
3054
3082
|
review: "approved" | "blocked" | "not_run";
|
|
3055
3083
|
review_requested?: boolean | undefined;
|
|
3056
|
-
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;
|
|
3084
|
+
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;
|
|
3057
3085
|
work_state?: {
|
|
3058
3086
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3059
3087
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3070,7 +3098,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3070
3098
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
3071
3099
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
3072
3100
|
review_requested?: boolean | undefined;
|
|
3073
|
-
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;
|
|
3101
|
+
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;
|
|
3074
3102
|
work_state?: {
|
|
3075
3103
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3076
3104
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3255,7 +3283,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3255
3283
|
checks: "failed" | "not_configured" | "passed";
|
|
3256
3284
|
review: "approved" | "blocked" | "not_run";
|
|
3257
3285
|
review_requested?: boolean | undefined;
|
|
3258
|
-
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;
|
|
3286
|
+
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;
|
|
3259
3287
|
work_state?: {
|
|
3260
3288
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3261
3289
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3328,7 +3356,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3328
3356
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
3329
3357
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
3330
3358
|
review_requested?: boolean | undefined;
|
|
3331
|
-
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;
|
|
3359
|
+
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;
|
|
3332
3360
|
work_state?: {
|
|
3333
3361
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3334
3362
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3580,6 +3608,18 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3580
3608
|
native_code: "grok_credential_source_unconfirmed";
|
|
3581
3609
|
source: "grok_init";
|
|
3582
3610
|
reported_source: string;
|
|
3611
|
+
}>, z.ZodObject<{
|
|
3612
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
3613
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
3614
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
3615
|
+
}, "strip", z.ZodTypeAny, {
|
|
3616
|
+
kind: "vendor_not_retryable";
|
|
3617
|
+
source: "agy_stderr";
|
|
3618
|
+
error_id: string | null;
|
|
3619
|
+
}, {
|
|
3620
|
+
kind: "vendor_not_retryable";
|
|
3621
|
+
source: "agy_stderr";
|
|
3622
|
+
error_id: string | null;
|
|
3583
3623
|
}>]>>;
|
|
3584
3624
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
3585
3625
|
model: z.ZodString;
|
|
@@ -3723,7 +3763,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3723
3763
|
}>>;
|
|
3724
3764
|
phase: z.ZodDefault<z.ZodString>;
|
|
3725
3765
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
3726
|
-
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"]>>>;
|
|
3766
|
+
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"]>>>;
|
|
3727
3767
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3728
3768
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3729
3769
|
safeMessage: z.ZodString;
|
|
@@ -3839,6 +3879,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3839
3879
|
native_code: "grok_credential_source_unconfirmed";
|
|
3840
3880
|
source: "grok_init";
|
|
3841
3881
|
reported_source: string;
|
|
3882
|
+
} | {
|
|
3883
|
+
kind: "vendor_not_retryable";
|
|
3884
|
+
source: "agy_stderr";
|
|
3885
|
+
error_id: string | null;
|
|
3842
3886
|
} | undefined;
|
|
3843
3887
|
rawContextShortfall?: {
|
|
3844
3888
|
model: string;
|
|
@@ -3878,7 +3922,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3878
3922
|
} | undefined;
|
|
3879
3923
|
phase: string;
|
|
3880
3924
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
3881
|
-
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;
|
|
3925
|
+
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;
|
|
3882
3926
|
harnessId: string | null;
|
|
3883
3927
|
attemptId: string | null;
|
|
3884
3928
|
safeMessage: string;
|
|
@@ -3936,6 +3980,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3936
3980
|
native_code: "grok_credential_source_unconfirmed";
|
|
3937
3981
|
source: "grok_init";
|
|
3938
3982
|
reported_source: string;
|
|
3983
|
+
} | {
|
|
3984
|
+
kind: "vendor_not_retryable";
|
|
3985
|
+
source: "agy_stderr";
|
|
3986
|
+
error_id: string | null;
|
|
3939
3987
|
} | undefined;
|
|
3940
3988
|
rawContextShortfall?: {
|
|
3941
3989
|
model: string;
|
|
@@ -3975,7 +4023,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3975
4023
|
} | undefined;
|
|
3976
4024
|
phase?: string | undefined;
|
|
3977
4025
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
3978
|
-
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;
|
|
4026
|
+
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;
|
|
3979
4027
|
harnessId?: string | null | undefined;
|
|
3980
4028
|
attemptId?: string | null | undefined;
|
|
3981
4029
|
safeMessage: string;
|
|
@@ -4120,7 +4168,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4120
4168
|
checks: "failed" | "not_configured" | "passed";
|
|
4121
4169
|
review: "approved" | "blocked" | "not_run";
|
|
4122
4170
|
review_requested?: boolean | undefined;
|
|
4123
|
-
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;
|
|
4171
|
+
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;
|
|
4124
4172
|
work_state?: {
|
|
4125
4173
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4126
4174
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4155,7 +4203,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4155
4203
|
checks: "failed" | "not_configured" | "passed";
|
|
4156
4204
|
review: "approved" | "blocked" | "not_run";
|
|
4157
4205
|
review_requested?: boolean | undefined;
|
|
4158
|
-
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;
|
|
4206
|
+
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;
|
|
4159
4207
|
work_state?: {
|
|
4160
4208
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4161
4209
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4280,6 +4328,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4280
4328
|
native_code: "grok_credential_source_unconfirmed";
|
|
4281
4329
|
source: "grok_init";
|
|
4282
4330
|
reported_source: string;
|
|
4331
|
+
} | {
|
|
4332
|
+
kind: "vendor_not_retryable";
|
|
4333
|
+
source: "agy_stderr";
|
|
4334
|
+
error_id: string | null;
|
|
4283
4335
|
} | undefined;
|
|
4284
4336
|
rawContextShortfall?: {
|
|
4285
4337
|
model: string;
|
|
@@ -4319,7 +4371,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4319
4371
|
} | undefined;
|
|
4320
4372
|
phase: string;
|
|
4321
4373
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
4322
|
-
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;
|
|
4374
|
+
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;
|
|
4323
4375
|
harnessId: string | null;
|
|
4324
4376
|
attemptId: string | null;
|
|
4325
4377
|
safeMessage: string;
|
|
@@ -4432,7 +4484,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4432
4484
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4433
4485
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4434
4486
|
review_requested?: boolean | undefined;
|
|
4435
|
-
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;
|
|
4487
|
+
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;
|
|
4436
4488
|
work_state?: {
|
|
4437
4489
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4438
4490
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4467,7 +4519,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4467
4519
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4468
4520
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4469
4521
|
review_requested?: boolean | undefined;
|
|
4470
|
-
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;
|
|
4522
|
+
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;
|
|
4471
4523
|
work_state?: {
|
|
4472
4524
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4473
4525
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4592,6 +4644,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4592
4644
|
native_code: "grok_credential_source_unconfirmed";
|
|
4593
4645
|
source: "grok_init";
|
|
4594
4646
|
reported_source: string;
|
|
4647
|
+
} | {
|
|
4648
|
+
kind: "vendor_not_retryable";
|
|
4649
|
+
source: "agy_stderr";
|
|
4650
|
+
error_id: string | null;
|
|
4595
4651
|
} | undefined;
|
|
4596
4652
|
rawContextShortfall?: {
|
|
4597
4653
|
model: string;
|
|
@@ -4631,7 +4687,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4631
4687
|
} | undefined;
|
|
4632
4688
|
phase?: string | undefined;
|
|
4633
4689
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
4634
|
-
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;
|
|
4690
|
+
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;
|
|
4635
4691
|
harnessId?: string | null | undefined;
|
|
4636
4692
|
attemptId?: string | null | undefined;
|
|
4637
4693
|
safeMessage: string;
|
|
@@ -4796,7 +4852,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4796
4852
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
4797
4853
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
4798
4854
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
4799
|
-
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"]>>>;
|
|
4855
|
+
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"]>>>;
|
|
4800
4856
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
4801
4857
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
4802
4858
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -4839,7 +4895,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4839
4895
|
checks: "failed" | "not_configured" | "passed";
|
|
4840
4896
|
review: "approved" | "blocked" | "not_run";
|
|
4841
4897
|
review_requested?: boolean | undefined;
|
|
4842
|
-
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;
|
|
4898
|
+
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;
|
|
4843
4899
|
work_state?: {
|
|
4844
4900
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4845
4901
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4856,7 +4912,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4856
4912
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4857
4913
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4858
4914
|
review_requested?: boolean | undefined;
|
|
4859
|
-
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;
|
|
4915
|
+
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;
|
|
4860
4916
|
work_state?: {
|
|
4861
4917
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4862
4918
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4930,7 +4986,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4930
4986
|
checks: "failed" | "not_configured" | "passed";
|
|
4931
4987
|
review: "approved" | "blocked" | "not_run";
|
|
4932
4988
|
review_requested?: boolean | undefined;
|
|
4933
|
-
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;
|
|
4989
|
+
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;
|
|
4934
4990
|
work_state?: {
|
|
4935
4991
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4936
4992
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4980,7 +5036,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4980
5036
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4981
5037
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4982
5038
|
review_requested?: boolean | undefined;
|
|
4983
|
-
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;
|
|
5039
|
+
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;
|
|
4984
5040
|
work_state?: {
|
|
4985
5041
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4986
5042
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5181,7 +5237,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5181
5237
|
checks: "failed" | "not_configured" | "passed";
|
|
5182
5238
|
review: "approved" | "blocked" | "not_run";
|
|
5183
5239
|
review_requested?: boolean | undefined;
|
|
5184
|
-
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;
|
|
5240
|
+
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;
|
|
5185
5241
|
work_state?: {
|
|
5186
5242
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5187
5243
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5216,7 +5272,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5216
5272
|
checks: "failed" | "not_configured" | "passed";
|
|
5217
5273
|
review: "approved" | "blocked" | "not_run";
|
|
5218
5274
|
review_requested?: boolean | undefined;
|
|
5219
|
-
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;
|
|
5275
|
+
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;
|
|
5220
5276
|
work_state?: {
|
|
5221
5277
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5222
5278
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5341,6 +5397,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5341
5397
|
native_code: "grok_credential_source_unconfirmed";
|
|
5342
5398
|
source: "grok_init";
|
|
5343
5399
|
reported_source: string;
|
|
5400
|
+
} | {
|
|
5401
|
+
kind: "vendor_not_retryable";
|
|
5402
|
+
source: "agy_stderr";
|
|
5403
|
+
error_id: string | null;
|
|
5344
5404
|
} | undefined;
|
|
5345
5405
|
rawContextShortfall?: {
|
|
5346
5406
|
model: string;
|
|
@@ -5380,7 +5440,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5380
5440
|
} | undefined;
|
|
5381
5441
|
phase: string;
|
|
5382
5442
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
5383
|
-
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;
|
|
5443
|
+
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;
|
|
5384
5444
|
harnessId: string | null;
|
|
5385
5445
|
attemptId: string | null;
|
|
5386
5446
|
safeMessage: string;
|
|
@@ -5555,7 +5615,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5555
5615
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5556
5616
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5557
5617
|
review_requested?: boolean | undefined;
|
|
5558
|
-
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;
|
|
5618
|
+
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;
|
|
5559
5619
|
work_state?: {
|
|
5560
5620
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5561
5621
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5590,7 +5650,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5590
5650
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5591
5651
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5592
5652
|
review_requested?: boolean | undefined;
|
|
5593
|
-
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;
|
|
5653
|
+
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;
|
|
5594
5654
|
work_state?: {
|
|
5595
5655
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5596
5656
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5715,6 +5775,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5715
5775
|
native_code: "grok_credential_source_unconfirmed";
|
|
5716
5776
|
source: "grok_init";
|
|
5717
5777
|
reported_source: string;
|
|
5778
|
+
} | {
|
|
5779
|
+
kind: "vendor_not_retryable";
|
|
5780
|
+
source: "agy_stderr";
|
|
5781
|
+
error_id: string | null;
|
|
5718
5782
|
} | undefined;
|
|
5719
5783
|
rawContextShortfall?: {
|
|
5720
5784
|
model: string;
|
|
@@ -5754,7 +5818,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5754
5818
|
} | undefined;
|
|
5755
5819
|
phase?: string | undefined;
|
|
5756
5820
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
5757
|
-
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;
|
|
5821
|
+
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;
|
|
5758
5822
|
harnessId?: string | null | undefined;
|
|
5759
5823
|
attemptId?: string | null | undefined;
|
|
5760
5824
|
safeMessage: string;
|
|
@@ -5979,7 +6043,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
5979
6043
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
5980
6044
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
5981
6045
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
5982
|
-
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"]>>>;
|
|
6046
|
+
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"]>>>;
|
|
5983
6047
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
5984
6048
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
5985
6049
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -6022,7 +6086,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6022
6086
|
checks: "failed" | "not_configured" | "passed";
|
|
6023
6087
|
review: "approved" | "blocked" | "not_run";
|
|
6024
6088
|
review_requested?: boolean | undefined;
|
|
6025
|
-
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;
|
|
6089
|
+
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;
|
|
6026
6090
|
work_state?: {
|
|
6027
6091
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6028
6092
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6039,7 +6103,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6039
6103
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6040
6104
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6041
6105
|
review_requested?: boolean | undefined;
|
|
6042
|
-
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;
|
|
6106
|
+
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;
|
|
6043
6107
|
work_state?: {
|
|
6044
6108
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6045
6109
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6113,7 +6177,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6113
6177
|
checks: "failed" | "not_configured" | "passed";
|
|
6114
6178
|
review: "approved" | "blocked" | "not_run";
|
|
6115
6179
|
review_requested?: boolean | undefined;
|
|
6116
|
-
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;
|
|
6180
|
+
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;
|
|
6117
6181
|
work_state?: {
|
|
6118
6182
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6119
6183
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6163,7 +6227,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6163
6227
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6164
6228
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6165
6229
|
review_requested?: boolean | undefined;
|
|
6166
|
-
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;
|
|
6230
|
+
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;
|
|
6167
6231
|
work_state?: {
|
|
6168
6232
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6169
6233
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6336,7 +6400,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6336
6400
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
6337
6401
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
6338
6402
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
6339
|
-
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"]>>>;
|
|
6403
|
+
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"]>>>;
|
|
6340
6404
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
6341
6405
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
6342
6406
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -6379,7 +6443,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6379
6443
|
checks: "failed" | "not_configured" | "passed";
|
|
6380
6444
|
review: "approved" | "blocked" | "not_run";
|
|
6381
6445
|
review_requested?: boolean | undefined;
|
|
6382
|
-
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;
|
|
6446
|
+
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;
|
|
6383
6447
|
work_state?: {
|
|
6384
6448
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6385
6449
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6396,7 +6460,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6396
6460
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6397
6461
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6398
6462
|
review_requested?: boolean | undefined;
|
|
6399
|
-
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;
|
|
6463
|
+
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;
|
|
6400
6464
|
work_state?: {
|
|
6401
6465
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6402
6466
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6470,7 +6534,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6470
6534
|
checks: "failed" | "not_configured" | "passed";
|
|
6471
6535
|
review: "approved" | "blocked" | "not_run";
|
|
6472
6536
|
review_requested?: boolean | undefined;
|
|
6473
|
-
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;
|
|
6537
|
+
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;
|
|
6474
6538
|
work_state?: {
|
|
6475
6539
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6476
6540
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6520,7 +6584,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6520
6584
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6521
6585
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6522
6586
|
review_requested?: boolean | undefined;
|
|
6523
|
-
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;
|
|
6587
|
+
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;
|
|
6524
6588
|
work_state?: {
|
|
6525
6589
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6526
6590
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6573,7 +6637,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6573
6637
|
checks: "failed" | "not_configured" | "passed";
|
|
6574
6638
|
review: "approved" | "blocked" | "not_run";
|
|
6575
6639
|
review_requested?: boolean | undefined;
|
|
6576
|
-
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;
|
|
6640
|
+
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;
|
|
6577
6641
|
work_state?: {
|
|
6578
6642
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6579
6643
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6626,7 +6690,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6626
6690
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6627
6691
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6628
6692
|
review_requested?: boolean | undefined;
|
|
6629
|
-
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;
|
|
6693
|
+
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;
|
|
6630
6694
|
work_state?: {
|
|
6631
6695
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6632
6696
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6745,7 +6809,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6745
6809
|
checks: "failed" | "not_configured" | "passed";
|
|
6746
6810
|
review: "approved" | "blocked" | "not_run";
|
|
6747
6811
|
review_requested?: boolean | undefined;
|
|
6748
|
-
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;
|
|
6812
|
+
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;
|
|
6749
6813
|
work_state?: {
|
|
6750
6814
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6751
6815
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6848,7 +6912,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6848
6912
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6849
6913
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6850
6914
|
review_requested?: boolean | undefined;
|
|
6851
|
-
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;
|
|
6915
|
+
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;
|
|
6852
6916
|
work_state?: {
|
|
6853
6917
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6854
6918
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7039,7 +7103,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7039
7103
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
7040
7104
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
7041
7105
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
7042
|
-
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"]>>>;
|
|
7106
|
+
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"]>>>;
|
|
7043
7107
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
7044
7108
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
7045
7109
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -7082,7 +7146,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7082
7146
|
checks: "failed" | "not_configured" | "passed";
|
|
7083
7147
|
review: "approved" | "blocked" | "not_run";
|
|
7084
7148
|
review_requested?: boolean | undefined;
|
|
7085
|
-
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;
|
|
7149
|
+
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;
|
|
7086
7150
|
work_state?: {
|
|
7087
7151
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7088
7152
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7099,7 +7163,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7099
7163
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7100
7164
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7101
7165
|
review_requested?: boolean | undefined;
|
|
7102
|
-
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;
|
|
7166
|
+
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;
|
|
7103
7167
|
work_state?: {
|
|
7104
7168
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7105
7169
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7173,7 +7237,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7173
7237
|
checks: "failed" | "not_configured" | "passed";
|
|
7174
7238
|
review: "approved" | "blocked" | "not_run";
|
|
7175
7239
|
review_requested?: boolean | undefined;
|
|
7176
|
-
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;
|
|
7240
|
+
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;
|
|
7177
7241
|
work_state?: {
|
|
7178
7242
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7179
7243
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7223,7 +7287,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7223
7287
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7224
7288
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7225
7289
|
review_requested?: boolean | undefined;
|
|
7226
|
-
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;
|
|
7290
|
+
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;
|
|
7227
7291
|
work_state?: {
|
|
7228
7292
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7229
7293
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7396,7 +7460,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7396
7460
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
7397
7461
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
7398
7462
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
7399
|
-
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"]>>>;
|
|
7463
|
+
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"]>>>;
|
|
7400
7464
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
7401
7465
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
7402
7466
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -7439,7 +7503,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7439
7503
|
checks: "failed" | "not_configured" | "passed";
|
|
7440
7504
|
review: "approved" | "blocked" | "not_run";
|
|
7441
7505
|
review_requested?: boolean | undefined;
|
|
7442
|
-
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;
|
|
7506
|
+
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;
|
|
7443
7507
|
work_state?: {
|
|
7444
7508
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7445
7509
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7456,7 +7520,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7456
7520
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7457
7521
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7458
7522
|
review_requested?: boolean | undefined;
|
|
7459
|
-
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;
|
|
7523
|
+
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;
|
|
7460
7524
|
work_state?: {
|
|
7461
7525
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7462
7526
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7530,7 +7594,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7530
7594
|
checks: "failed" | "not_configured" | "passed";
|
|
7531
7595
|
review: "approved" | "blocked" | "not_run";
|
|
7532
7596
|
review_requested?: boolean | undefined;
|
|
7533
|
-
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;
|
|
7597
|
+
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;
|
|
7534
7598
|
work_state?: {
|
|
7535
7599
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7536
7600
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7580,7 +7644,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7580
7644
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7581
7645
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7582
7646
|
review_requested?: boolean | undefined;
|
|
7583
|
-
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;
|
|
7647
|
+
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;
|
|
7584
7648
|
work_state?: {
|
|
7585
7649
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7586
7650
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7633,7 +7697,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7633
7697
|
checks: "failed" | "not_configured" | "passed";
|
|
7634
7698
|
review: "approved" | "blocked" | "not_run";
|
|
7635
7699
|
review_requested?: boolean | undefined;
|
|
7636
|
-
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;
|
|
7700
|
+
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;
|
|
7637
7701
|
work_state?: {
|
|
7638
7702
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7639
7703
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7686,7 +7750,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7686
7750
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7687
7751
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7688
7752
|
review_requested?: boolean | undefined;
|
|
7689
|
-
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;
|
|
7753
|
+
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;
|
|
7690
7754
|
work_state?: {
|
|
7691
7755
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7692
7756
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7805,7 +7869,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7805
7869
|
checks: "failed" | "not_configured" | "passed";
|
|
7806
7870
|
review: "approved" | "blocked" | "not_run";
|
|
7807
7871
|
review_requested?: boolean | undefined;
|
|
7808
|
-
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;
|
|
7872
|
+
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;
|
|
7809
7873
|
work_state?: {
|
|
7810
7874
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7811
7875
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7908,7 +7972,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7908
7972
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7909
7973
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7910
7974
|
review_requested?: boolean | undefined;
|
|
7911
|
-
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;
|
|
7975
|
+
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;
|
|
7912
7976
|
work_state?: {
|
|
7913
7977
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7914
7978
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8019,7 +8083,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8019
8083
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8020
8084
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8021
8085
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
8022
|
-
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"]>>>;
|
|
8086
|
+
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"]>>>;
|
|
8023
8087
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8024
8088
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8025
8089
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8062,7 +8126,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8062
8126
|
checks: "failed" | "not_configured" | "passed";
|
|
8063
8127
|
review: "approved" | "blocked" | "not_run";
|
|
8064
8128
|
review_requested?: boolean | undefined;
|
|
8065
|
-
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;
|
|
8129
|
+
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;
|
|
8066
8130
|
work_state?: {
|
|
8067
8131
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8068
8132
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8079,7 +8143,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8079
8143
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8080
8144
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8081
8145
|
review_requested?: boolean | undefined;
|
|
8082
|
-
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;
|
|
8146
|
+
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;
|
|
8083
8147
|
work_state?: {
|
|
8084
8148
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8085
8149
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8153,7 +8217,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8153
8217
|
checks: "failed" | "not_configured" | "passed";
|
|
8154
8218
|
review: "approved" | "blocked" | "not_run";
|
|
8155
8219
|
review_requested?: boolean | undefined;
|
|
8156
|
-
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;
|
|
8220
|
+
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;
|
|
8157
8221
|
work_state?: {
|
|
8158
8222
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8159
8223
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8203,7 +8267,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8203
8267
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8204
8268
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8205
8269
|
review_requested?: boolean | undefined;
|
|
8206
|
-
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;
|
|
8270
|
+
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;
|
|
8207
8271
|
work_state?: {
|
|
8208
8272
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8209
8273
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8369,7 +8433,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8369
8433
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8370
8434
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8371
8435
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
8372
|
-
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"]>>>;
|
|
8436
|
+
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"]>>>;
|
|
8373
8437
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8374
8438
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8375
8439
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8412,7 +8476,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8412
8476
|
checks: "failed" | "not_configured" | "passed";
|
|
8413
8477
|
review: "approved" | "blocked" | "not_run";
|
|
8414
8478
|
review_requested?: boolean | undefined;
|
|
8415
|
-
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;
|
|
8479
|
+
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;
|
|
8416
8480
|
work_state?: {
|
|
8417
8481
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8418
8482
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8429,7 +8493,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8429
8493
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8430
8494
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8431
8495
|
review_requested?: boolean | undefined;
|
|
8432
|
-
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;
|
|
8496
|
+
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;
|
|
8433
8497
|
work_state?: {
|
|
8434
8498
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8435
8499
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8554,7 +8618,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8554
8618
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8555
8619
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8556
8620
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
8557
|
-
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"]>>>;
|
|
8621
|
+
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"]>>>;
|
|
8558
8622
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8559
8623
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8560
8624
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8597,7 +8661,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8597
8661
|
checks: "failed" | "not_configured" | "passed";
|
|
8598
8662
|
review: "approved" | "blocked" | "not_run";
|
|
8599
8663
|
review_requested?: boolean | undefined;
|
|
8600
|
-
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;
|
|
8664
|
+
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;
|
|
8601
8665
|
work_state?: {
|
|
8602
8666
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8603
8667
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8614,7 +8678,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8614
8678
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8615
8679
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8616
8680
|
review_requested?: boolean | undefined;
|
|
8617
|
-
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;
|
|
8681
|
+
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;
|
|
8618
8682
|
work_state?: {
|
|
8619
8683
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8620
8684
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8799,7 +8863,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8799
8863
|
checks: "failed" | "not_configured" | "passed";
|
|
8800
8864
|
review: "approved" | "blocked" | "not_run";
|
|
8801
8865
|
review_requested?: boolean | undefined;
|
|
8802
|
-
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;
|
|
8866
|
+
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;
|
|
8803
8867
|
work_state?: {
|
|
8804
8868
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8805
8869
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8872,7 +8936,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8872
8936
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8873
8937
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8874
8938
|
review_requested?: boolean | undefined;
|
|
8875
|
-
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;
|
|
8939
|
+
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;
|
|
8876
8940
|
work_state?: {
|
|
8877
8941
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8878
8942
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9124,6 +9188,18 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9124
9188
|
native_code: "grok_credential_source_unconfirmed";
|
|
9125
9189
|
source: "grok_init";
|
|
9126
9190
|
reported_source: string;
|
|
9191
|
+
}>, z.ZodObject<{
|
|
9192
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
9193
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
9194
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
9195
|
+
}, "strip", z.ZodTypeAny, {
|
|
9196
|
+
kind: "vendor_not_retryable";
|
|
9197
|
+
source: "agy_stderr";
|
|
9198
|
+
error_id: string | null;
|
|
9199
|
+
}, {
|
|
9200
|
+
kind: "vendor_not_retryable";
|
|
9201
|
+
source: "agy_stderr";
|
|
9202
|
+
error_id: string | null;
|
|
9127
9203
|
}>]>>;
|
|
9128
9204
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
9129
9205
|
model: z.ZodString;
|
|
@@ -9267,7 +9343,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9267
9343
|
}>>;
|
|
9268
9344
|
phase: z.ZodDefault<z.ZodString>;
|
|
9269
9345
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
9270
|
-
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"]>>>;
|
|
9346
|
+
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"]>>>;
|
|
9271
9347
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9272
9348
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9273
9349
|
safeMessage: z.ZodString;
|
|
@@ -9383,6 +9459,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9383
9459
|
native_code: "grok_credential_source_unconfirmed";
|
|
9384
9460
|
source: "grok_init";
|
|
9385
9461
|
reported_source: string;
|
|
9462
|
+
} | {
|
|
9463
|
+
kind: "vendor_not_retryable";
|
|
9464
|
+
source: "agy_stderr";
|
|
9465
|
+
error_id: string | null;
|
|
9386
9466
|
} | undefined;
|
|
9387
9467
|
rawContextShortfall?: {
|
|
9388
9468
|
model: string;
|
|
@@ -9422,7 +9502,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9422
9502
|
} | undefined;
|
|
9423
9503
|
phase: string;
|
|
9424
9504
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
9425
|
-
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;
|
|
9505
|
+
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;
|
|
9426
9506
|
harnessId: string | null;
|
|
9427
9507
|
attemptId: string | null;
|
|
9428
9508
|
safeMessage: string;
|
|
@@ -9480,6 +9560,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9480
9560
|
native_code: "grok_credential_source_unconfirmed";
|
|
9481
9561
|
source: "grok_init";
|
|
9482
9562
|
reported_source: string;
|
|
9563
|
+
} | {
|
|
9564
|
+
kind: "vendor_not_retryable";
|
|
9565
|
+
source: "agy_stderr";
|
|
9566
|
+
error_id: string | null;
|
|
9483
9567
|
} | undefined;
|
|
9484
9568
|
rawContextShortfall?: {
|
|
9485
9569
|
model: string;
|
|
@@ -9519,7 +9603,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9519
9603
|
} | undefined;
|
|
9520
9604
|
phase?: string | undefined;
|
|
9521
9605
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
9522
|
-
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;
|
|
9606
|
+
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;
|
|
9523
9607
|
harnessId?: string | null | undefined;
|
|
9524
9608
|
attemptId?: string | null | undefined;
|
|
9525
9609
|
safeMessage: string;
|
|
@@ -9664,7 +9748,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9664
9748
|
checks: "failed" | "not_configured" | "passed";
|
|
9665
9749
|
review: "approved" | "blocked" | "not_run";
|
|
9666
9750
|
review_requested?: boolean | undefined;
|
|
9667
|
-
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;
|
|
9751
|
+
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;
|
|
9668
9752
|
work_state?: {
|
|
9669
9753
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9670
9754
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9699,7 +9783,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9699
9783
|
checks: "failed" | "not_configured" | "passed";
|
|
9700
9784
|
review: "approved" | "blocked" | "not_run";
|
|
9701
9785
|
review_requested?: boolean | undefined;
|
|
9702
|
-
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;
|
|
9786
|
+
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;
|
|
9703
9787
|
work_state?: {
|
|
9704
9788
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9705
9789
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9824,6 +9908,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9824
9908
|
native_code: "grok_credential_source_unconfirmed";
|
|
9825
9909
|
source: "grok_init";
|
|
9826
9910
|
reported_source: string;
|
|
9911
|
+
} | {
|
|
9912
|
+
kind: "vendor_not_retryable";
|
|
9913
|
+
source: "agy_stderr";
|
|
9914
|
+
error_id: string | null;
|
|
9827
9915
|
} | undefined;
|
|
9828
9916
|
rawContextShortfall?: {
|
|
9829
9917
|
model: string;
|
|
@@ -9863,7 +9951,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9863
9951
|
} | undefined;
|
|
9864
9952
|
phase: string;
|
|
9865
9953
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
9866
|
-
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;
|
|
9954
|
+
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;
|
|
9867
9955
|
harnessId: string | null;
|
|
9868
9956
|
attemptId: string | null;
|
|
9869
9957
|
safeMessage: string;
|
|
@@ -9976,7 +10064,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9976
10064
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
9977
10065
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
9978
10066
|
review_requested?: boolean | undefined;
|
|
9979
|
-
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;
|
|
10067
|
+
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;
|
|
9980
10068
|
work_state?: {
|
|
9981
10069
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9982
10070
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10011,7 +10099,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10011
10099
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10012
10100
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10013
10101
|
review_requested?: boolean | undefined;
|
|
10014
|
-
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;
|
|
10102
|
+
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;
|
|
10015
10103
|
work_state?: {
|
|
10016
10104
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10017
10105
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10136,6 +10224,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10136
10224
|
native_code: "grok_credential_source_unconfirmed";
|
|
10137
10225
|
source: "grok_init";
|
|
10138
10226
|
reported_source: string;
|
|
10227
|
+
} | {
|
|
10228
|
+
kind: "vendor_not_retryable";
|
|
10229
|
+
source: "agy_stderr";
|
|
10230
|
+
error_id: string | null;
|
|
10139
10231
|
} | undefined;
|
|
10140
10232
|
rawContextShortfall?: {
|
|
10141
10233
|
model: string;
|
|
@@ -10175,7 +10267,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10175
10267
|
} | undefined;
|
|
10176
10268
|
phase?: string | undefined;
|
|
10177
10269
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
10178
|
-
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;
|
|
10270
|
+
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;
|
|
10179
10271
|
harnessId?: string | null | undefined;
|
|
10180
10272
|
attemptId?: string | null | undefined;
|
|
10181
10273
|
safeMessage: string;
|
|
@@ -10340,7 +10432,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10340
10432
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
10341
10433
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
10342
10434
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
10343
|
-
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"]>>>;
|
|
10435
|
+
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"]>>>;
|
|
10344
10436
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
10345
10437
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
10346
10438
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -10383,7 +10475,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10383
10475
|
checks: "failed" | "not_configured" | "passed";
|
|
10384
10476
|
review: "approved" | "blocked" | "not_run";
|
|
10385
10477
|
review_requested?: boolean | undefined;
|
|
10386
|
-
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;
|
|
10478
|
+
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;
|
|
10387
10479
|
work_state?: {
|
|
10388
10480
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10389
10481
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10400,7 +10492,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10400
10492
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10401
10493
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10402
10494
|
review_requested?: boolean | undefined;
|
|
10403
|
-
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;
|
|
10495
|
+
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;
|
|
10404
10496
|
work_state?: {
|
|
10405
10497
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10406
10498
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10474,7 +10566,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10474
10566
|
checks: "failed" | "not_configured" | "passed";
|
|
10475
10567
|
review: "approved" | "blocked" | "not_run";
|
|
10476
10568
|
review_requested?: boolean | undefined;
|
|
10477
|
-
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;
|
|
10569
|
+
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;
|
|
10478
10570
|
work_state?: {
|
|
10479
10571
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10480
10572
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10524,7 +10616,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10524
10616
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10525
10617
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10526
10618
|
review_requested?: boolean | undefined;
|
|
10527
|
-
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;
|
|
10619
|
+
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;
|
|
10528
10620
|
work_state?: {
|
|
10529
10621
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10530
10622
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10725,7 +10817,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10725
10817
|
checks: "failed" | "not_configured" | "passed";
|
|
10726
10818
|
review: "approved" | "blocked" | "not_run";
|
|
10727
10819
|
review_requested?: boolean | undefined;
|
|
10728
|
-
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;
|
|
10820
|
+
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;
|
|
10729
10821
|
work_state?: {
|
|
10730
10822
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10731
10823
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10760,7 +10852,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10760
10852
|
checks: "failed" | "not_configured" | "passed";
|
|
10761
10853
|
review: "approved" | "blocked" | "not_run";
|
|
10762
10854
|
review_requested?: boolean | undefined;
|
|
10763
|
-
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;
|
|
10855
|
+
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;
|
|
10764
10856
|
work_state?: {
|
|
10765
10857
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10766
10858
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10885,6 +10977,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10885
10977
|
native_code: "grok_credential_source_unconfirmed";
|
|
10886
10978
|
source: "grok_init";
|
|
10887
10979
|
reported_source: string;
|
|
10980
|
+
} | {
|
|
10981
|
+
kind: "vendor_not_retryable";
|
|
10982
|
+
source: "agy_stderr";
|
|
10983
|
+
error_id: string | null;
|
|
10888
10984
|
} | undefined;
|
|
10889
10985
|
rawContextShortfall?: {
|
|
10890
10986
|
model: string;
|
|
@@ -10924,7 +11020,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10924
11020
|
} | undefined;
|
|
10925
11021
|
phase: string;
|
|
10926
11022
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
10927
|
-
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;
|
|
11023
|
+
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;
|
|
10928
11024
|
harnessId: string | null;
|
|
10929
11025
|
attemptId: string | null;
|
|
10930
11026
|
safeMessage: string;
|
|
@@ -11099,7 +11195,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11099
11195
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11100
11196
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11101
11197
|
review_requested?: boolean | undefined;
|
|
11102
|
-
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;
|
|
11198
|
+
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;
|
|
11103
11199
|
work_state?: {
|
|
11104
11200
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11105
11201
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11134,7 +11230,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11134
11230
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11135
11231
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11136
11232
|
review_requested?: boolean | undefined;
|
|
11137
|
-
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;
|
|
11233
|
+
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;
|
|
11138
11234
|
work_state?: {
|
|
11139
11235
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11140
11236
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11259,6 +11355,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11259
11355
|
native_code: "grok_credential_source_unconfirmed";
|
|
11260
11356
|
source: "grok_init";
|
|
11261
11357
|
reported_source: string;
|
|
11358
|
+
} | {
|
|
11359
|
+
kind: "vendor_not_retryable";
|
|
11360
|
+
source: "agy_stderr";
|
|
11361
|
+
error_id: string | null;
|
|
11262
11362
|
} | undefined;
|
|
11263
11363
|
rawContextShortfall?: {
|
|
11264
11364
|
model: string;
|
|
@@ -11298,7 +11398,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11298
11398
|
} | undefined;
|
|
11299
11399
|
phase?: string | undefined;
|
|
11300
11400
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
11301
|
-
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;
|
|
11401
|
+
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;
|
|
11302
11402
|
harnessId?: string | null | undefined;
|
|
11303
11403
|
attemptId?: string | null | undefined;
|
|
11304
11404
|
safeMessage: string;
|
|
@@ -11465,7 +11565,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11465
11565
|
checks: "failed" | "not_configured" | "passed";
|
|
11466
11566
|
review: "approved" | "blocked" | "not_run";
|
|
11467
11567
|
review_requested?: boolean | undefined;
|
|
11468
|
-
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;
|
|
11568
|
+
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;
|
|
11469
11569
|
work_state?: {
|
|
11470
11570
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11471
11571
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11593,7 +11693,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11593
11693
|
checks: "failed" | "not_configured" | "passed";
|
|
11594
11694
|
review: "approved" | "blocked" | "not_run";
|
|
11595
11695
|
review_requested?: boolean | undefined;
|
|
11596
|
-
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;
|
|
11696
|
+
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;
|
|
11597
11697
|
work_state?: {
|
|
11598
11698
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11599
11699
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11628,7 +11728,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11628
11728
|
checks: "failed" | "not_configured" | "passed";
|
|
11629
11729
|
review: "approved" | "blocked" | "not_run";
|
|
11630
11730
|
review_requested?: boolean | undefined;
|
|
11631
|
-
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;
|
|
11731
|
+
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;
|
|
11632
11732
|
work_state?: {
|
|
11633
11733
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11634
11734
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11753,6 +11853,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11753
11853
|
native_code: "grok_credential_source_unconfirmed";
|
|
11754
11854
|
source: "grok_init";
|
|
11755
11855
|
reported_source: string;
|
|
11856
|
+
} | {
|
|
11857
|
+
kind: "vendor_not_retryable";
|
|
11858
|
+
source: "agy_stderr";
|
|
11859
|
+
error_id: string | null;
|
|
11756
11860
|
} | undefined;
|
|
11757
11861
|
rawContextShortfall?: {
|
|
11758
11862
|
model: string;
|
|
@@ -11792,7 +11896,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11792
11896
|
} | undefined;
|
|
11793
11897
|
phase: string;
|
|
11794
11898
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
11795
|
-
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;
|
|
11899
|
+
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;
|
|
11796
11900
|
harnessId: string | null;
|
|
11797
11901
|
attemptId: string | null;
|
|
11798
11902
|
safeMessage: string;
|
|
@@ -11959,7 +12063,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11959
12063
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11960
12064
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11961
12065
|
review_requested?: boolean | undefined;
|
|
11962
|
-
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;
|
|
12066
|
+
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;
|
|
11963
12067
|
work_state?: {
|
|
11964
12068
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11965
12069
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12087,7 +12191,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12087
12191
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12088
12192
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12089
12193
|
review_requested?: boolean | undefined;
|
|
12090
|
-
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;
|
|
12194
|
+
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;
|
|
12091
12195
|
work_state?: {
|
|
12092
12196
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12093
12197
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12122,7 +12226,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12122
12226
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12123
12227
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12124
12228
|
review_requested?: boolean | undefined;
|
|
12125
|
-
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;
|
|
12229
|
+
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;
|
|
12126
12230
|
work_state?: {
|
|
12127
12231
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12128
12232
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12247,6 +12351,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12247
12351
|
native_code: "grok_credential_source_unconfirmed";
|
|
12248
12352
|
source: "grok_init";
|
|
12249
12353
|
reported_source: string;
|
|
12354
|
+
} | {
|
|
12355
|
+
kind: "vendor_not_retryable";
|
|
12356
|
+
source: "agy_stderr";
|
|
12357
|
+
error_id: string | null;
|
|
12250
12358
|
} | undefined;
|
|
12251
12359
|
rawContextShortfall?: {
|
|
12252
12360
|
model: string;
|
|
@@ -12286,7 +12394,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12286
12394
|
} | undefined;
|
|
12287
12395
|
phase?: string | undefined;
|
|
12288
12396
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
12289
|
-
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;
|
|
12397
|
+
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;
|
|
12290
12398
|
harnessId?: string | null | undefined;
|
|
12291
12399
|
attemptId?: string | null | undefined;
|
|
12292
12400
|
safeMessage: string;
|
|
@@ -12453,7 +12561,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12453
12561
|
checks: "failed" | "not_configured" | "passed";
|
|
12454
12562
|
review: "approved" | "blocked" | "not_run";
|
|
12455
12563
|
review_requested?: boolean | undefined;
|
|
12456
|
-
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;
|
|
12564
|
+
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;
|
|
12457
12565
|
work_state?: {
|
|
12458
12566
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12459
12567
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12581,7 +12689,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12581
12689
|
checks: "failed" | "not_configured" | "passed";
|
|
12582
12690
|
review: "approved" | "blocked" | "not_run";
|
|
12583
12691
|
review_requested?: boolean | undefined;
|
|
12584
|
-
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;
|
|
12692
|
+
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;
|
|
12585
12693
|
work_state?: {
|
|
12586
12694
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12587
12695
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12616,7 +12724,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12616
12724
|
checks: "failed" | "not_configured" | "passed";
|
|
12617
12725
|
review: "approved" | "blocked" | "not_run";
|
|
12618
12726
|
review_requested?: boolean | undefined;
|
|
12619
|
-
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;
|
|
12727
|
+
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;
|
|
12620
12728
|
work_state?: {
|
|
12621
12729
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12622
12730
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12741,6 +12849,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12741
12849
|
native_code: "grok_credential_source_unconfirmed";
|
|
12742
12850
|
source: "grok_init";
|
|
12743
12851
|
reported_source: string;
|
|
12852
|
+
} | {
|
|
12853
|
+
kind: "vendor_not_retryable";
|
|
12854
|
+
source: "agy_stderr";
|
|
12855
|
+
error_id: string | null;
|
|
12744
12856
|
} | undefined;
|
|
12745
12857
|
rawContextShortfall?: {
|
|
12746
12858
|
model: string;
|
|
@@ -12780,7 +12892,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12780
12892
|
} | undefined;
|
|
12781
12893
|
phase: string;
|
|
12782
12894
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
12783
|
-
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;
|
|
12895
|
+
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;
|
|
12784
12896
|
harnessId: string | null;
|
|
12785
12897
|
attemptId: string | null;
|
|
12786
12898
|
safeMessage: string;
|
|
@@ -12947,7 +13059,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12947
13059
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12948
13060
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12949
13061
|
review_requested?: boolean | undefined;
|
|
12950
|
-
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;
|
|
13062
|
+
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;
|
|
12951
13063
|
work_state?: {
|
|
12952
13064
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12953
13065
|
source: "absent" | "constrained" | "validated";
|
|
@@ -13075,7 +13187,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13075
13187
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
13076
13188
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
13077
13189
|
review_requested?: boolean | undefined;
|
|
13078
|
-
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;
|
|
13190
|
+
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;
|
|
13079
13191
|
work_state?: {
|
|
13080
13192
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
13081
13193
|
source: "absent" | "constrained" | "validated";
|
|
@@ -13110,7 +13222,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13110
13222
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
13111
13223
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
13112
13224
|
review_requested?: boolean | undefined;
|
|
13113
|
-
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;
|
|
13225
|
+
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;
|
|
13114
13226
|
work_state?: {
|
|
13115
13227
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
13116
13228
|
source: "absent" | "constrained" | "validated";
|
|
@@ -13235,6 +13347,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13235
13347
|
native_code: "grok_credential_source_unconfirmed";
|
|
13236
13348
|
source: "grok_init";
|
|
13237
13349
|
reported_source: string;
|
|
13350
|
+
} | {
|
|
13351
|
+
kind: "vendor_not_retryable";
|
|
13352
|
+
source: "agy_stderr";
|
|
13353
|
+
error_id: string | null;
|
|
13238
13354
|
} | undefined;
|
|
13239
13355
|
rawContextShortfall?: {
|
|
13240
13356
|
model: string;
|
|
@@ -13274,7 +13390,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13274
13390
|
} | undefined;
|
|
13275
13391
|
phase?: string | undefined;
|
|
13276
13392
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
13277
|
-
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;
|
|
13393
|
+
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;
|
|
13278
13394
|
harnessId?: string | null | undefined;
|
|
13279
13395
|
attemptId?: string | null | undefined;
|
|
13280
13396
|
safeMessage: string;
|