@claudexor/schema 5.0.2 → 6.0.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 +324 -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/attempt-execution.d.ts +23 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/attempt-execution.js +2 -0
- package/dist/attempt-execution.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-harness-list.d.ts +34 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +122 -0
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +2 -0
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +459 -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-pending-interaction.d.ts +96 -0
- package/dist/control-pending-interaction.d.ts.map +1 -0
- package/dist/control-pending-interaction.js +42 -0
- package/dist/control-pending-interaction.js.map +1 -0
- 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 +877 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +2 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +40 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +34 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.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 +322 -179
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +52 -75
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +136 -0
- package/dist/credential-profile-snapshot.d.ts.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 +6 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -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 +32 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +47 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness-maintenance.d.ts +3561 -717
- package/dist/harness-maintenance.d.ts.map +1 -1
- package/dist/harness-maintenance.js +107 -111
- package/dist/harness-maintenance.js.map +1 -1
- package/dist/harness-program.d.ts +2164 -0
- package/dist/harness-program.d.ts.map +1 -0
- package/dist/harness-program.js +110 -0
- package/dist/harness-program.js.map +1 -0
- package/dist/harness.d.ts +162 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +25 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +453 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +131 -0
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/mcp-run-wait.js +3 -2
- package/dist/mcp-run-wait.js.map +1 -1
- package/dist/model-operation.d.ts +107 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -0
- package/dist/model-operation.js.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 +15 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +15 -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/readiness.d.ts +26 -0
- package/dist/readiness.d.ts.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/run-observation.d.ts +70 -0
- package/dist/run-observation.d.ts.map +1 -1
- package/dist/run-observation.js +31 -12
- package/dist/run-observation.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 +658 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +19 -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 +356 -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.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/AttemptExecutionEvidence.schema.json +35 -0
- package/generated/ConformanceReport.schema.json +26 -0
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +28 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +28 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +28 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
- package/generated/ControlHarnessListResponse.schema.json +28 -2
- package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
- package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
- package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
- package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
- package/generated/ControlHarnessModelsResponse.schema.json +27 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
- package/generated/ControlModelCatalogResponse.schema.json +27 -0
- package/generated/ControlPendingInteraction.schema.json +10 -1
- 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 +403 -11
- package/generated/ControlRunListResponse.schema.json +317 -7
- package/generated/ControlRunMessageResponse.schema.json +1 -1
- 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 +317 -7
- package/generated/ControlThreadDetail.schema.json +6 -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 +181 -4
- package/generated/HarnessManifest.schema.json +28 -2
- package/generated/HarnessProgram.schema.json +278 -0
- package/generated/HarnessProgramIdentity.schema.json +25 -0
- package/generated/HarnessStatusDto.schema.json +28 -2
- package/generated/McpAccountsToolResult.schema.json +88 -2
- package/generated/McpRunHandleResult.schema.json +141 -6
- package/generated/McpRunToolResult.schema.json +140 -6
- package/generated/McpRunWaitResult.schema.json +52 -5
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/NativeProgramEvidence.schema.json +38 -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/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +62 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +323 -7
- package/generated/RunWaitManyInput.schema.json +4 -0
- package/generated/RunWaitManyResult.schema.json +30 -0
- package/generated/SelectedHarnessProgram.schema.json +56 -0
- 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 +71 -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/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";
|
|
@@ -240,6 +240,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
240
240
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
241
241
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
242
242
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
243
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
243
244
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
244
245
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
245
246
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -350,7 +351,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
350
351
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
351
352
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
352
353
|
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"]>>>;
|
|
354
|
+
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
355
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
355
356
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
356
357
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -393,7 +394,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
393
394
|
checks: "failed" | "not_configured" | "passed";
|
|
394
395
|
review: "approved" | "blocked" | "not_run";
|
|
395
396
|
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;
|
|
397
|
+
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
398
|
work_state?: {
|
|
398
399
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
399
400
|
source: "absent" | "constrained" | "validated";
|
|
@@ -410,7 +411,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
410
411
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
411
412
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
412
413
|
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;
|
|
414
|
+
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
415
|
work_state?: {
|
|
415
416
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
416
417
|
source: "absent" | "constrained" | "validated";
|
|
@@ -595,7 +596,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
595
596
|
checks: "failed" | "not_configured" | "passed";
|
|
596
597
|
review: "approved" | "blocked" | "not_run";
|
|
597
598
|
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;
|
|
599
|
+
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
600
|
work_state?: {
|
|
600
601
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
601
602
|
source: "absent" | "constrained" | "validated";
|
|
@@ -668,7 +669,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
668
669
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
669
670
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
670
671
|
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;
|
|
672
|
+
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
673
|
work_state?: {
|
|
673
674
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
674
675
|
source: "absent" | "constrained" | "validated";
|
|
@@ -862,6 +863,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
862
863
|
requiredAction: string | null;
|
|
863
864
|
}>>>;
|
|
864
865
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
866
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
865
867
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
866
868
|
scope: z.ZodLiteral<"turn_text">;
|
|
867
869
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -920,6 +922,18 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
920
922
|
native_code: "grok_credential_source_unconfirmed";
|
|
921
923
|
source: "grok_init";
|
|
922
924
|
reported_source: string;
|
|
925
|
+
}>, z.ZodObject<{
|
|
926
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
927
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
928
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
929
|
+
}, "strip", z.ZodTypeAny, {
|
|
930
|
+
kind: "vendor_not_retryable";
|
|
931
|
+
source: "agy_stderr";
|
|
932
|
+
error_id: string | null;
|
|
933
|
+
}, {
|
|
934
|
+
kind: "vendor_not_retryable";
|
|
935
|
+
source: "agy_stderr";
|
|
936
|
+
error_id: string | null;
|
|
923
937
|
}>]>>;
|
|
924
938
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
925
939
|
model: z.ZodString;
|
|
@@ -1063,7 +1077,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1063
1077
|
}>>;
|
|
1064
1078
|
phase: z.ZodDefault<z.ZodString>;
|
|
1065
1079
|
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"]>>>;
|
|
1080
|
+
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
1081
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1068
1082
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1069
1083
|
safeMessage: z.ZodString;
|
|
@@ -1102,6 +1116,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1102
1116
|
source: string;
|
|
1103
1117
|
}>>>;
|
|
1104
1118
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1119
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
1105
1120
|
harnessId: z.ZodString;
|
|
1106
1121
|
profileId: z.ZodNullable<z.ZodString>;
|
|
1107
1122
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -1126,6 +1141,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1126
1141
|
source: string;
|
|
1127
1142
|
}>>;
|
|
1128
1143
|
}, "strip", z.ZodTypeAny, {
|
|
1144
|
+
lastVendorError?: string | undefined;
|
|
1129
1145
|
harnessId: string;
|
|
1130
1146
|
profileId: string | null;
|
|
1131
1147
|
profileDisplayName: string | null;
|
|
@@ -1142,6 +1158,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1142
1158
|
source: string;
|
|
1143
1159
|
} | null;
|
|
1144
1160
|
}, {
|
|
1161
|
+
lastVendorError?: string | undefined;
|
|
1145
1162
|
harnessId: string;
|
|
1146
1163
|
profileId: string | null;
|
|
1147
1164
|
profileDisplayName: string | null;
|
|
@@ -1160,6 +1177,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1160
1177
|
}>, "many">>;
|
|
1161
1178
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1162
1179
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
lastVendorError?: string | null | undefined;
|
|
1163
1181
|
requestRefusal?: {
|
|
1164
1182
|
scope: "turn_text";
|
|
1165
1183
|
unit: "unicode_scalars";
|
|
@@ -1179,6 +1197,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1179
1197
|
native_code: "grok_credential_source_unconfirmed";
|
|
1180
1198
|
source: "grok_init";
|
|
1181
1199
|
reported_source: string;
|
|
1200
|
+
} | {
|
|
1201
|
+
kind: "vendor_not_retryable";
|
|
1202
|
+
source: "agy_stderr";
|
|
1203
|
+
error_id: string | null;
|
|
1182
1204
|
} | undefined;
|
|
1183
1205
|
rawContextShortfall?: {
|
|
1184
1206
|
model: string;
|
|
@@ -1218,7 +1240,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1218
1240
|
} | undefined;
|
|
1219
1241
|
phase: string;
|
|
1220
1242
|
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;
|
|
1243
|
+
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
1244
|
harnessId: string | null;
|
|
1223
1245
|
attemptId: string | null;
|
|
1224
1246
|
safeMessage: string;
|
|
@@ -1239,6 +1261,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1239
1261
|
source: string;
|
|
1240
1262
|
} | null;
|
|
1241
1263
|
poolAttempts: {
|
|
1264
|
+
lastVendorError?: string | undefined;
|
|
1242
1265
|
harnessId: string;
|
|
1243
1266
|
profileId: string | null;
|
|
1244
1267
|
profileDisplayName: string | null;
|
|
@@ -1257,6 +1280,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1257
1280
|
}[];
|
|
1258
1281
|
nextActions: string[];
|
|
1259
1282
|
}, {
|
|
1283
|
+
lastVendorError?: string | null | undefined;
|
|
1260
1284
|
requestRefusal?: {
|
|
1261
1285
|
scope: "turn_text";
|
|
1262
1286
|
unit: "unicode_scalars";
|
|
@@ -1276,6 +1300,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1276
1300
|
native_code: "grok_credential_source_unconfirmed";
|
|
1277
1301
|
source: "grok_init";
|
|
1278
1302
|
reported_source: string;
|
|
1303
|
+
} | {
|
|
1304
|
+
kind: "vendor_not_retryable";
|
|
1305
|
+
source: "agy_stderr";
|
|
1306
|
+
error_id: string | null;
|
|
1279
1307
|
} | undefined;
|
|
1280
1308
|
rawContextShortfall?: {
|
|
1281
1309
|
model: string;
|
|
@@ -1315,7 +1343,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1315
1343
|
} | undefined;
|
|
1316
1344
|
phase?: string | undefined;
|
|
1317
1345
|
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;
|
|
1346
|
+
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
1347
|
harnessId?: string | null | undefined;
|
|
1320
1348
|
attemptId?: string | null | undefined;
|
|
1321
1349
|
safeMessage: string;
|
|
@@ -1336,6 +1364,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1336
1364
|
source: string;
|
|
1337
1365
|
} | null | undefined;
|
|
1338
1366
|
poolAttempts?: {
|
|
1367
|
+
lastVendorError?: string | undefined;
|
|
1339
1368
|
harnessId: string;
|
|
1340
1369
|
profileId: string | null;
|
|
1341
1370
|
profileDisplayName: string | null;
|
|
@@ -1460,7 +1489,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1460
1489
|
checks: "failed" | "not_configured" | "passed";
|
|
1461
1490
|
review: "approved" | "blocked" | "not_run";
|
|
1462
1491
|
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;
|
|
1492
|
+
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
1493
|
work_state?: {
|
|
1465
1494
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1466
1495
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1475,6 +1504,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1475
1504
|
spendUsd?: number | null | undefined;
|
|
1476
1505
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
1477
1506
|
waitingOnUser: boolean;
|
|
1507
|
+
asyncQuestionsOnly: boolean;
|
|
1478
1508
|
finishedAt: string | null;
|
|
1479
1509
|
delegation: {
|
|
1480
1510
|
requested: boolean;
|
|
@@ -1495,7 +1525,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1495
1525
|
checks: "failed" | "not_configured" | "passed";
|
|
1496
1526
|
review: "approved" | "blocked" | "not_run";
|
|
1497
1527
|
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;
|
|
1528
|
+
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
1529
|
work_state?: {
|
|
1500
1530
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1501
1531
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1601,6 +1631,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1601
1631
|
requiredAction: string | null;
|
|
1602
1632
|
} | null;
|
|
1603
1633
|
failure: {
|
|
1634
|
+
lastVendorError?: string | null | undefined;
|
|
1604
1635
|
requestRefusal?: {
|
|
1605
1636
|
scope: "turn_text";
|
|
1606
1637
|
unit: "unicode_scalars";
|
|
@@ -1620,6 +1651,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1620
1651
|
native_code: "grok_credential_source_unconfirmed";
|
|
1621
1652
|
source: "grok_init";
|
|
1622
1653
|
reported_source: string;
|
|
1654
|
+
} | {
|
|
1655
|
+
kind: "vendor_not_retryable";
|
|
1656
|
+
source: "agy_stderr";
|
|
1657
|
+
error_id: string | null;
|
|
1623
1658
|
} | undefined;
|
|
1624
1659
|
rawContextShortfall?: {
|
|
1625
1660
|
model: string;
|
|
@@ -1659,7 +1694,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1659
1694
|
} | undefined;
|
|
1660
1695
|
phase: string;
|
|
1661
1696
|
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;
|
|
1697
|
+
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
1698
|
harnessId: string | null;
|
|
1664
1699
|
attemptId: string | null;
|
|
1665
1700
|
safeMessage: string;
|
|
@@ -1680,6 +1715,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1680
1715
|
source: string;
|
|
1681
1716
|
} | null;
|
|
1682
1717
|
poolAttempts: {
|
|
1718
|
+
lastVendorError?: string | undefined;
|
|
1683
1719
|
harnessId: string;
|
|
1684
1720
|
profileId: string | null;
|
|
1685
1721
|
profileDisplayName: string | null;
|
|
@@ -1772,7 +1808,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1772
1808
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1773
1809
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1774
1810
|
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;
|
|
1811
|
+
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
1812
|
work_state?: {
|
|
1777
1813
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1778
1814
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1787,6 +1823,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1787
1823
|
spendUsd?: number | null | undefined;
|
|
1788
1824
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
1789
1825
|
waitingOnUser?: boolean | undefined;
|
|
1826
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
1790
1827
|
finishedAt?: string | null | undefined;
|
|
1791
1828
|
delegation?: {
|
|
1792
1829
|
requested?: boolean | undefined;
|
|
@@ -1807,7 +1844,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1807
1844
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1808
1845
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1809
1846
|
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;
|
|
1847
|
+
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
1848
|
work_state?: {
|
|
1812
1849
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1813
1850
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1913,6 +1950,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1913
1950
|
requiredAction: string | null;
|
|
1914
1951
|
} | null | undefined;
|
|
1915
1952
|
failure?: {
|
|
1953
|
+
lastVendorError?: string | null | undefined;
|
|
1916
1954
|
requestRefusal?: {
|
|
1917
1955
|
scope: "turn_text";
|
|
1918
1956
|
unit: "unicode_scalars";
|
|
@@ -1932,6 +1970,10 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1932
1970
|
native_code: "grok_credential_source_unconfirmed";
|
|
1933
1971
|
source: "grok_init";
|
|
1934
1972
|
reported_source: string;
|
|
1973
|
+
} | {
|
|
1974
|
+
kind: "vendor_not_retryable";
|
|
1975
|
+
source: "agy_stderr";
|
|
1976
|
+
error_id: string | null;
|
|
1935
1977
|
} | undefined;
|
|
1936
1978
|
rawContextShortfall?: {
|
|
1937
1979
|
model: string;
|
|
@@ -1971,7 +2013,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1971
2013
|
} | undefined;
|
|
1972
2014
|
phase?: string | undefined;
|
|
1973
2015
|
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;
|
|
2016
|
+
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
2017
|
harnessId?: string | null | undefined;
|
|
1976
2018
|
attemptId?: string | null | undefined;
|
|
1977
2019
|
safeMessage: string;
|
|
@@ -1992,6 +2034,7 @@ export declare const ThreadHistoryRun: z.ZodObject<{
|
|
|
1992
2034
|
source: string;
|
|
1993
2035
|
} | null | undefined;
|
|
1994
2036
|
poolAttempts?: {
|
|
2037
|
+
lastVendorError?: string | undefined;
|
|
1995
2038
|
harnessId: string;
|
|
1996
2039
|
profileId: string | null;
|
|
1997
2040
|
profileDisplayName: string | null;
|
|
@@ -2108,7 +2151,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2108
2151
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2109
2152
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2110
2153
|
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"]>>>;
|
|
2154
|
+
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
2155
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2113
2156
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2114
2157
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2151,7 +2194,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2151
2194
|
checks: "failed" | "not_configured" | "passed";
|
|
2152
2195
|
review: "approved" | "blocked" | "not_run";
|
|
2153
2196
|
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;
|
|
2197
|
+
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
2198
|
work_state?: {
|
|
2156
2199
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2157
2200
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2168,7 +2211,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2168
2211
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2169
2212
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2170
2213
|
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;
|
|
2214
|
+
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
2215
|
work_state?: {
|
|
2173
2216
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2174
2217
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2183,6 +2226,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2183
2226
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2184
2227
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
2185
2228
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
2229
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2186
2230
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2187
2231
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2188
2232
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2242,7 +2286,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2242
2286
|
checks: "failed" | "not_configured" | "passed";
|
|
2243
2287
|
review: "approved" | "blocked" | "not_run";
|
|
2244
2288
|
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;
|
|
2289
|
+
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
2290
|
work_state?: {
|
|
2247
2291
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2248
2292
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2257,6 +2301,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2257
2301
|
spendUsd?: number | null | undefined;
|
|
2258
2302
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
2259
2303
|
waitingOnUser: boolean;
|
|
2304
|
+
asyncQuestionsOnly: boolean;
|
|
2260
2305
|
finishedAt: string | null;
|
|
2261
2306
|
delegation: {
|
|
2262
2307
|
requested: boolean;
|
|
@@ -2292,7 +2337,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2292
2337
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2293
2338
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2294
2339
|
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;
|
|
2340
|
+
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
2341
|
work_state?: {
|
|
2297
2342
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2298
2343
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2307,6 +2352,7 @@ export declare const ThreadHistoryPlanAnswer: z.ZodObject<Pick<{
|
|
|
2307
2352
|
spendUsd?: number | null | undefined;
|
|
2308
2353
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
2309
2354
|
waitingOnUser?: boolean | undefined;
|
|
2355
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
2310
2356
|
finishedAt?: string | null | undefined;
|
|
2311
2357
|
delegation?: {
|
|
2312
2358
|
requested?: boolean | undefined;
|
|
@@ -2475,7 +2521,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2475
2521
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2476
2522
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2477
2523
|
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"]>>>;
|
|
2524
|
+
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
2525
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2480
2526
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2481
2527
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2518,7 +2564,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2518
2564
|
checks: "failed" | "not_configured" | "passed";
|
|
2519
2565
|
review: "approved" | "blocked" | "not_run";
|
|
2520
2566
|
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;
|
|
2567
|
+
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
2568
|
work_state?: {
|
|
2523
2569
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2524
2570
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2535,7 +2581,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2535
2581
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2536
2582
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2537
2583
|
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;
|
|
2584
|
+
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
2585
|
work_state?: {
|
|
2540
2586
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2541
2587
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2550,6 +2596,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2550
2596
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2551
2597
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
2552
2598
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
2599
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2553
2600
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2554
2601
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2555
2602
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2609,7 +2656,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2609
2656
|
checks: "failed" | "not_configured" | "passed";
|
|
2610
2657
|
review: "approved" | "blocked" | "not_run";
|
|
2611
2658
|
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;
|
|
2659
|
+
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
2660
|
work_state?: {
|
|
2614
2661
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2615
2662
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2624,6 +2671,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2624
2671
|
spendUsd?: number | null | undefined;
|
|
2625
2672
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
2626
2673
|
waitingOnUser: boolean;
|
|
2674
|
+
asyncQuestionsOnly: boolean;
|
|
2627
2675
|
finishedAt: string | null;
|
|
2628
2676
|
delegation: {
|
|
2629
2677
|
requested: boolean;
|
|
@@ -2659,7 +2707,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2659
2707
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2660
2708
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2661
2709
|
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;
|
|
2710
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
2663
2711
|
work_state?: {
|
|
2664
2712
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2665
2713
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2674,6 +2722,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2674
2722
|
spendUsd?: number | null | undefined;
|
|
2675
2723
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
2676
2724
|
waitingOnUser?: boolean | undefined;
|
|
2725
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
2677
2726
|
finishedAt?: string | null | undefined;
|
|
2678
2727
|
delegation?: {
|
|
2679
2728
|
requested?: boolean | undefined;
|
|
@@ -2825,7 +2874,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2825
2874
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2826
2875
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2827
2876
|
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"]>>>;
|
|
2877
|
+
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
2878
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2830
2879
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2831
2880
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2868,7 +2917,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2868
2917
|
checks: "failed" | "not_configured" | "passed";
|
|
2869
2918
|
review: "approved" | "blocked" | "not_run";
|
|
2870
2919
|
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;
|
|
2920
|
+
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
2921
|
work_state?: {
|
|
2873
2922
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2874
2923
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2885,7 +2934,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2885
2934
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2886
2935
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2887
2936
|
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;
|
|
2937
|
+
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
2938
|
work_state?: {
|
|
2890
2939
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2891
2940
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2900,6 +2949,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
2900
2949
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2901
2950
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
2902
2951
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
2952
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2903
2953
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2904
2954
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2905
2955
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3010,7 +3060,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3010
3060
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
3011
3061
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
3012
3062
|
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"]>>>;
|
|
3063
|
+
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
3064
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
3015
3065
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
3016
3066
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -3053,7 +3103,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3053
3103
|
checks: "failed" | "not_configured" | "passed";
|
|
3054
3104
|
review: "approved" | "blocked" | "not_run";
|
|
3055
3105
|
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;
|
|
3106
|
+
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
3107
|
work_state?: {
|
|
3058
3108
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3059
3109
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3070,7 +3120,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3070
3120
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
3071
3121
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
3072
3122
|
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;
|
|
3123
|
+
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
3124
|
work_state?: {
|
|
3075
3125
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3076
3126
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3255,7 +3305,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3255
3305
|
checks: "failed" | "not_configured" | "passed";
|
|
3256
3306
|
review: "approved" | "blocked" | "not_run";
|
|
3257
3307
|
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;
|
|
3308
|
+
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
3309
|
work_state?: {
|
|
3260
3310
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3261
3311
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3328,7 +3378,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3328
3378
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
3329
3379
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
3330
3380
|
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;
|
|
3381
|
+
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
3382
|
work_state?: {
|
|
3333
3383
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3334
3384
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3522,6 +3572,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3522
3572
|
requiredAction: string | null;
|
|
3523
3573
|
}>>>;
|
|
3524
3574
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3575
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3525
3576
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3526
3577
|
scope: z.ZodLiteral<"turn_text">;
|
|
3527
3578
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -3580,6 +3631,18 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3580
3631
|
native_code: "grok_credential_source_unconfirmed";
|
|
3581
3632
|
source: "grok_init";
|
|
3582
3633
|
reported_source: string;
|
|
3634
|
+
}>, z.ZodObject<{
|
|
3635
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
3636
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
3637
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
3638
|
+
}, "strip", z.ZodTypeAny, {
|
|
3639
|
+
kind: "vendor_not_retryable";
|
|
3640
|
+
source: "agy_stderr";
|
|
3641
|
+
error_id: string | null;
|
|
3642
|
+
}, {
|
|
3643
|
+
kind: "vendor_not_retryable";
|
|
3644
|
+
source: "agy_stderr";
|
|
3645
|
+
error_id: string | null;
|
|
3583
3646
|
}>]>>;
|
|
3584
3647
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
3585
3648
|
model: z.ZodString;
|
|
@@ -3723,7 +3786,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3723
3786
|
}>>;
|
|
3724
3787
|
phase: z.ZodDefault<z.ZodString>;
|
|
3725
3788
|
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"]>>>;
|
|
3789
|
+
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
3790
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3728
3791
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3729
3792
|
safeMessage: z.ZodString;
|
|
@@ -3762,6 +3825,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3762
3825
|
source: string;
|
|
3763
3826
|
}>>>;
|
|
3764
3827
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3828
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
3765
3829
|
harnessId: z.ZodString;
|
|
3766
3830
|
profileId: z.ZodNullable<z.ZodString>;
|
|
3767
3831
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -3786,6 +3850,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3786
3850
|
source: string;
|
|
3787
3851
|
}>>;
|
|
3788
3852
|
}, "strip", z.ZodTypeAny, {
|
|
3853
|
+
lastVendorError?: string | undefined;
|
|
3789
3854
|
harnessId: string;
|
|
3790
3855
|
profileId: string | null;
|
|
3791
3856
|
profileDisplayName: string | null;
|
|
@@ -3802,6 +3867,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3802
3867
|
source: string;
|
|
3803
3868
|
} | null;
|
|
3804
3869
|
}, {
|
|
3870
|
+
lastVendorError?: string | undefined;
|
|
3805
3871
|
harnessId: string;
|
|
3806
3872
|
profileId: string | null;
|
|
3807
3873
|
profileDisplayName: string | null;
|
|
@@ -3820,6 +3886,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3820
3886
|
}>, "many">>;
|
|
3821
3887
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3822
3888
|
}, "strip", z.ZodTypeAny, {
|
|
3889
|
+
lastVendorError?: string | null | undefined;
|
|
3823
3890
|
requestRefusal?: {
|
|
3824
3891
|
scope: "turn_text";
|
|
3825
3892
|
unit: "unicode_scalars";
|
|
@@ -3839,6 +3906,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3839
3906
|
native_code: "grok_credential_source_unconfirmed";
|
|
3840
3907
|
source: "grok_init";
|
|
3841
3908
|
reported_source: string;
|
|
3909
|
+
} | {
|
|
3910
|
+
kind: "vendor_not_retryable";
|
|
3911
|
+
source: "agy_stderr";
|
|
3912
|
+
error_id: string | null;
|
|
3842
3913
|
} | undefined;
|
|
3843
3914
|
rawContextShortfall?: {
|
|
3844
3915
|
model: string;
|
|
@@ -3878,7 +3949,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3878
3949
|
} | undefined;
|
|
3879
3950
|
phase: string;
|
|
3880
3951
|
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;
|
|
3952
|
+
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
3953
|
harnessId: string | null;
|
|
3883
3954
|
attemptId: string | null;
|
|
3884
3955
|
safeMessage: string;
|
|
@@ -3899,6 +3970,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3899
3970
|
source: string;
|
|
3900
3971
|
} | null;
|
|
3901
3972
|
poolAttempts: {
|
|
3973
|
+
lastVendorError?: string | undefined;
|
|
3902
3974
|
harnessId: string;
|
|
3903
3975
|
profileId: string | null;
|
|
3904
3976
|
profileDisplayName: string | null;
|
|
@@ -3917,6 +3989,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3917
3989
|
}[];
|
|
3918
3990
|
nextActions: string[];
|
|
3919
3991
|
}, {
|
|
3992
|
+
lastVendorError?: string | null | undefined;
|
|
3920
3993
|
requestRefusal?: {
|
|
3921
3994
|
scope: "turn_text";
|
|
3922
3995
|
unit: "unicode_scalars";
|
|
@@ -3936,6 +4009,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3936
4009
|
native_code: "grok_credential_source_unconfirmed";
|
|
3937
4010
|
source: "grok_init";
|
|
3938
4011
|
reported_source: string;
|
|
4012
|
+
} | {
|
|
4013
|
+
kind: "vendor_not_retryable";
|
|
4014
|
+
source: "agy_stderr";
|
|
4015
|
+
error_id: string | null;
|
|
3939
4016
|
} | undefined;
|
|
3940
4017
|
rawContextShortfall?: {
|
|
3941
4018
|
model: string;
|
|
@@ -3975,7 +4052,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3975
4052
|
} | undefined;
|
|
3976
4053
|
phase?: string | undefined;
|
|
3977
4054
|
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;
|
|
4055
|
+
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
4056
|
harnessId?: string | null | undefined;
|
|
3980
4057
|
attemptId?: string | null | undefined;
|
|
3981
4058
|
safeMessage: string;
|
|
@@ -3996,6 +4073,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
3996
4073
|
source: string;
|
|
3997
4074
|
} | null | undefined;
|
|
3998
4075
|
poolAttempts?: {
|
|
4076
|
+
lastVendorError?: string | undefined;
|
|
3999
4077
|
harnessId: string;
|
|
4000
4078
|
profileId: string | null;
|
|
4001
4079
|
profileDisplayName: string | null;
|
|
@@ -4120,7 +4198,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4120
4198
|
checks: "failed" | "not_configured" | "passed";
|
|
4121
4199
|
review: "approved" | "blocked" | "not_run";
|
|
4122
4200
|
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;
|
|
4201
|
+
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
4202
|
work_state?: {
|
|
4125
4203
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4126
4204
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4135,6 +4213,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4135
4213
|
spendUsd?: number | null | undefined;
|
|
4136
4214
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
4137
4215
|
waitingOnUser: boolean;
|
|
4216
|
+
asyncQuestionsOnly: boolean;
|
|
4138
4217
|
finishedAt: string | null;
|
|
4139
4218
|
delegation: {
|
|
4140
4219
|
requested: boolean;
|
|
@@ -4155,7 +4234,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4155
4234
|
checks: "failed" | "not_configured" | "passed";
|
|
4156
4235
|
review: "approved" | "blocked" | "not_run";
|
|
4157
4236
|
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;
|
|
4237
|
+
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
4238
|
work_state?: {
|
|
4160
4239
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4161
4240
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4261,6 +4340,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4261
4340
|
requiredAction: string | null;
|
|
4262
4341
|
} | null;
|
|
4263
4342
|
failure: {
|
|
4343
|
+
lastVendorError?: string | null | undefined;
|
|
4264
4344
|
requestRefusal?: {
|
|
4265
4345
|
scope: "turn_text";
|
|
4266
4346
|
unit: "unicode_scalars";
|
|
@@ -4280,6 +4360,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4280
4360
|
native_code: "grok_credential_source_unconfirmed";
|
|
4281
4361
|
source: "grok_init";
|
|
4282
4362
|
reported_source: string;
|
|
4363
|
+
} | {
|
|
4364
|
+
kind: "vendor_not_retryable";
|
|
4365
|
+
source: "agy_stderr";
|
|
4366
|
+
error_id: string | null;
|
|
4283
4367
|
} | undefined;
|
|
4284
4368
|
rawContextShortfall?: {
|
|
4285
4369
|
model: string;
|
|
@@ -4319,7 +4403,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4319
4403
|
} | undefined;
|
|
4320
4404
|
phase: string;
|
|
4321
4405
|
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;
|
|
4406
|
+
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
4407
|
harnessId: string | null;
|
|
4324
4408
|
attemptId: string | null;
|
|
4325
4409
|
safeMessage: string;
|
|
@@ -4340,6 +4424,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4340
4424
|
source: string;
|
|
4341
4425
|
} | null;
|
|
4342
4426
|
poolAttempts: {
|
|
4427
|
+
lastVendorError?: string | undefined;
|
|
4343
4428
|
harnessId: string;
|
|
4344
4429
|
profileId: string | null;
|
|
4345
4430
|
profileDisplayName: string | null;
|
|
@@ -4432,7 +4517,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4432
4517
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4433
4518
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4434
4519
|
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;
|
|
4520
|
+
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
4521
|
work_state?: {
|
|
4437
4522
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4438
4523
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4447,6 +4532,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4447
4532
|
spendUsd?: number | null | undefined;
|
|
4448
4533
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
4449
4534
|
waitingOnUser?: boolean | undefined;
|
|
4535
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
4450
4536
|
finishedAt?: string | null | undefined;
|
|
4451
4537
|
delegation?: {
|
|
4452
4538
|
requested?: boolean | undefined;
|
|
@@ -4467,7 +4553,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4467
4553
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4468
4554
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4469
4555
|
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;
|
|
4556
|
+
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
4557
|
work_state?: {
|
|
4472
4558
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4473
4559
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4573,6 +4659,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4573
4659
|
requiredAction: string | null;
|
|
4574
4660
|
} | null | undefined;
|
|
4575
4661
|
failure?: {
|
|
4662
|
+
lastVendorError?: string | null | undefined;
|
|
4576
4663
|
requestRefusal?: {
|
|
4577
4664
|
scope: "turn_text";
|
|
4578
4665
|
unit: "unicode_scalars";
|
|
@@ -4592,6 +4679,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4592
4679
|
native_code: "grok_credential_source_unconfirmed";
|
|
4593
4680
|
source: "grok_init";
|
|
4594
4681
|
reported_source: string;
|
|
4682
|
+
} | {
|
|
4683
|
+
kind: "vendor_not_retryable";
|
|
4684
|
+
source: "agy_stderr";
|
|
4685
|
+
error_id: string | null;
|
|
4595
4686
|
} | undefined;
|
|
4596
4687
|
rawContextShortfall?: {
|
|
4597
4688
|
model: string;
|
|
@@ -4631,7 +4722,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4631
4722
|
} | undefined;
|
|
4632
4723
|
phase?: string | undefined;
|
|
4633
4724
|
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;
|
|
4725
|
+
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
4726
|
harnessId?: string | null | undefined;
|
|
4636
4727
|
attemptId?: string | null | undefined;
|
|
4637
4728
|
safeMessage: string;
|
|
@@ -4652,6 +4743,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4652
4743
|
source: string;
|
|
4653
4744
|
} | null | undefined;
|
|
4654
4745
|
poolAttempts?: {
|
|
4746
|
+
lastVendorError?: string | undefined;
|
|
4655
4747
|
harnessId: string;
|
|
4656
4748
|
profileId: string | null;
|
|
4657
4749
|
profileDisplayName: string | null;
|
|
@@ -4796,7 +4888,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4796
4888
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
4797
4889
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
4798
4890
|
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"]>>>;
|
|
4891
|
+
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
4892
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
4801
4893
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
4802
4894
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -4839,7 +4931,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4839
4931
|
checks: "failed" | "not_configured" | "passed";
|
|
4840
4932
|
review: "approved" | "blocked" | "not_run";
|
|
4841
4933
|
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;
|
|
4934
|
+
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
4935
|
work_state?: {
|
|
4844
4936
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4845
4937
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4856,7 +4948,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4856
4948
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4857
4949
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4858
4950
|
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;
|
|
4951
|
+
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
4952
|
work_state?: {
|
|
4861
4953
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4862
4954
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4871,6 +4963,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4871
4963
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4872
4964
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
4873
4965
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
4966
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
4874
4967
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4875
4968
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
4876
4969
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4930,7 +5023,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4930
5023
|
checks: "failed" | "not_configured" | "passed";
|
|
4931
5024
|
review: "approved" | "blocked" | "not_run";
|
|
4932
5025
|
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;
|
|
5026
|
+
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
5027
|
work_state?: {
|
|
4935
5028
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4936
5029
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4945,6 +5038,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4945
5038
|
spendUsd?: number | null | undefined;
|
|
4946
5039
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
4947
5040
|
waitingOnUser: boolean;
|
|
5041
|
+
asyncQuestionsOnly: boolean;
|
|
4948
5042
|
finishedAt: string | null;
|
|
4949
5043
|
delegation: {
|
|
4950
5044
|
requested: boolean;
|
|
@@ -4980,7 +5074,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4980
5074
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4981
5075
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4982
5076
|
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;
|
|
5077
|
+
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
5078
|
work_state?: {
|
|
4985
5079
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4986
5080
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4995,6 +5089,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
4995
5089
|
spendUsd?: number | null | undefined;
|
|
4996
5090
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
4997
5091
|
waitingOnUser?: boolean | undefined;
|
|
5092
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
4998
5093
|
finishedAt?: string | null | undefined;
|
|
4999
5094
|
delegation?: {
|
|
5000
5095
|
requested?: boolean | undefined;
|
|
@@ -5181,7 +5276,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5181
5276
|
checks: "failed" | "not_configured" | "passed";
|
|
5182
5277
|
review: "approved" | "blocked" | "not_run";
|
|
5183
5278
|
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;
|
|
5279
|
+
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
5280
|
work_state?: {
|
|
5186
5281
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5187
5282
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5196,6 +5291,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5196
5291
|
spendUsd?: number | null | undefined;
|
|
5197
5292
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
5198
5293
|
waitingOnUser: boolean;
|
|
5294
|
+
asyncQuestionsOnly: boolean;
|
|
5199
5295
|
finishedAt: string | null;
|
|
5200
5296
|
delegation: {
|
|
5201
5297
|
requested: boolean;
|
|
@@ -5216,7 +5312,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5216
5312
|
checks: "failed" | "not_configured" | "passed";
|
|
5217
5313
|
review: "approved" | "blocked" | "not_run";
|
|
5218
5314
|
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;
|
|
5315
|
+
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
5316
|
work_state?: {
|
|
5221
5317
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5222
5318
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5322,6 +5418,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5322
5418
|
requiredAction: string | null;
|
|
5323
5419
|
} | null;
|
|
5324
5420
|
failure: {
|
|
5421
|
+
lastVendorError?: string | null | undefined;
|
|
5325
5422
|
requestRefusal?: {
|
|
5326
5423
|
scope: "turn_text";
|
|
5327
5424
|
unit: "unicode_scalars";
|
|
@@ -5341,6 +5438,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5341
5438
|
native_code: "grok_credential_source_unconfirmed";
|
|
5342
5439
|
source: "grok_init";
|
|
5343
5440
|
reported_source: string;
|
|
5441
|
+
} | {
|
|
5442
|
+
kind: "vendor_not_retryable";
|
|
5443
|
+
source: "agy_stderr";
|
|
5444
|
+
error_id: string | null;
|
|
5344
5445
|
} | undefined;
|
|
5345
5446
|
rawContextShortfall?: {
|
|
5346
5447
|
model: string;
|
|
@@ -5380,7 +5481,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5380
5481
|
} | undefined;
|
|
5381
5482
|
phase: string;
|
|
5382
5483
|
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;
|
|
5484
|
+
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
5485
|
harnessId: string | null;
|
|
5385
5486
|
attemptId: string | null;
|
|
5386
5487
|
safeMessage: string;
|
|
@@ -5401,6 +5502,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5401
5502
|
source: string;
|
|
5402
5503
|
} | null;
|
|
5403
5504
|
poolAttempts: {
|
|
5505
|
+
lastVendorError?: string | undefined;
|
|
5404
5506
|
harnessId: string;
|
|
5405
5507
|
profileId: string | null;
|
|
5406
5508
|
profileDisplayName: string | null;
|
|
@@ -5555,7 +5657,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5555
5657
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5556
5658
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5557
5659
|
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;
|
|
5660
|
+
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
5661
|
work_state?: {
|
|
5560
5662
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5561
5663
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5570,6 +5672,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5570
5672
|
spendUsd?: number | null | undefined;
|
|
5571
5673
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
5572
5674
|
waitingOnUser?: boolean | undefined;
|
|
5675
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
5573
5676
|
finishedAt?: string | null | undefined;
|
|
5574
5677
|
delegation?: {
|
|
5575
5678
|
requested?: boolean | undefined;
|
|
@@ -5590,7 +5693,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5590
5693
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5591
5694
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5592
5695
|
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;
|
|
5696
|
+
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
5697
|
work_state?: {
|
|
5595
5698
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5596
5699
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5696,6 +5799,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5696
5799
|
requiredAction: string | null;
|
|
5697
5800
|
} | null | undefined;
|
|
5698
5801
|
failure?: {
|
|
5802
|
+
lastVendorError?: string | null | undefined;
|
|
5699
5803
|
requestRefusal?: {
|
|
5700
5804
|
scope: "turn_text";
|
|
5701
5805
|
unit: "unicode_scalars";
|
|
@@ -5715,6 +5819,10 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5715
5819
|
native_code: "grok_credential_source_unconfirmed";
|
|
5716
5820
|
source: "grok_init";
|
|
5717
5821
|
reported_source: string;
|
|
5822
|
+
} | {
|
|
5823
|
+
kind: "vendor_not_retryable";
|
|
5824
|
+
source: "agy_stderr";
|
|
5825
|
+
error_id: string | null;
|
|
5718
5826
|
} | undefined;
|
|
5719
5827
|
rawContextShortfall?: {
|
|
5720
5828
|
model: string;
|
|
@@ -5754,7 +5862,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5754
5862
|
} | undefined;
|
|
5755
5863
|
phase?: string | undefined;
|
|
5756
5864
|
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;
|
|
5865
|
+
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
5866
|
harnessId?: string | null | undefined;
|
|
5759
5867
|
attemptId?: string | null | undefined;
|
|
5760
5868
|
safeMessage: string;
|
|
@@ -5775,6 +5883,7 @@ export declare const ThreadHistoryTurn: z.ZodObject<Omit<{
|
|
|
5775
5883
|
source: string;
|
|
5776
5884
|
} | null | undefined;
|
|
5777
5885
|
poolAttempts?: {
|
|
5886
|
+
lastVendorError?: string | undefined;
|
|
5778
5887
|
harnessId: string;
|
|
5779
5888
|
profileId: string | null;
|
|
5780
5889
|
profileDisplayName: string | null;
|
|
@@ -5979,7 +6088,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
5979
6088
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
5980
6089
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
5981
6090
|
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"]>>>;
|
|
6091
|
+
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
6092
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
5984
6093
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
5985
6094
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -6022,7 +6131,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6022
6131
|
checks: "failed" | "not_configured" | "passed";
|
|
6023
6132
|
review: "approved" | "blocked" | "not_run";
|
|
6024
6133
|
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;
|
|
6134
|
+
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
6135
|
work_state?: {
|
|
6027
6136
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6028
6137
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6039,7 +6148,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6039
6148
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6040
6149
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6041
6150
|
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;
|
|
6151
|
+
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
6152
|
work_state?: {
|
|
6044
6153
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6045
6154
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6054,6 +6163,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6054
6163
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6055
6164
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
6056
6165
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
6166
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
6057
6167
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6058
6168
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
6059
6169
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6113,7 +6223,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6113
6223
|
checks: "failed" | "not_configured" | "passed";
|
|
6114
6224
|
review: "approved" | "blocked" | "not_run";
|
|
6115
6225
|
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;
|
|
6226
|
+
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
6227
|
work_state?: {
|
|
6118
6228
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6119
6229
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6128,6 +6238,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6128
6238
|
spendUsd?: number | null | undefined;
|
|
6129
6239
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
6130
6240
|
waitingOnUser: boolean;
|
|
6241
|
+
asyncQuestionsOnly: boolean;
|
|
6131
6242
|
finishedAt: string | null;
|
|
6132
6243
|
delegation: {
|
|
6133
6244
|
requested: boolean;
|
|
@@ -6163,7 +6274,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6163
6274
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6164
6275
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6165
6276
|
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;
|
|
6277
|
+
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
6278
|
work_state?: {
|
|
6168
6279
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6169
6280
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6178,6 +6289,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6178
6289
|
spendUsd?: number | null | undefined;
|
|
6179
6290
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
6180
6291
|
waitingOnUser?: boolean | undefined;
|
|
6292
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
6181
6293
|
finishedAt?: string | null | undefined;
|
|
6182
6294
|
delegation?: {
|
|
6183
6295
|
requested?: boolean | undefined;
|
|
@@ -6336,7 +6448,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6336
6448
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
6337
6449
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
6338
6450
|
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"]>>>;
|
|
6451
|
+
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
6452
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
6341
6453
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
6342
6454
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -6379,7 +6491,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6379
6491
|
checks: "failed" | "not_configured" | "passed";
|
|
6380
6492
|
review: "approved" | "blocked" | "not_run";
|
|
6381
6493
|
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;
|
|
6494
|
+
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
6495
|
work_state?: {
|
|
6384
6496
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6385
6497
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6396,7 +6508,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6396
6508
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6397
6509
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6398
6510
|
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;
|
|
6511
|
+
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
6512
|
work_state?: {
|
|
6401
6513
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6402
6514
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6411,6 +6523,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6411
6523
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6412
6524
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
6413
6525
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
6526
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
6414
6527
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6415
6528
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
6416
6529
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6470,7 +6583,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6470
6583
|
checks: "failed" | "not_configured" | "passed";
|
|
6471
6584
|
review: "approved" | "blocked" | "not_run";
|
|
6472
6585
|
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;
|
|
6586
|
+
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
6587
|
work_state?: {
|
|
6475
6588
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6476
6589
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6485,6 +6598,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6485
6598
|
spendUsd?: number | null | undefined;
|
|
6486
6599
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
6487
6600
|
waitingOnUser: boolean;
|
|
6601
|
+
asyncQuestionsOnly: boolean;
|
|
6488
6602
|
finishedAt: string | null;
|
|
6489
6603
|
delegation: {
|
|
6490
6604
|
requested: boolean;
|
|
@@ -6520,7 +6634,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6520
6634
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6521
6635
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6522
6636
|
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;
|
|
6637
|
+
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
6638
|
work_state?: {
|
|
6525
6639
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6526
6640
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6535,6 +6649,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6535
6649
|
spendUsd?: number | null | undefined;
|
|
6536
6650
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
6537
6651
|
waitingOnUser?: boolean | undefined;
|
|
6652
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
6538
6653
|
finishedAt?: string | null | undefined;
|
|
6539
6654
|
delegation?: {
|
|
6540
6655
|
requested?: boolean | undefined;
|
|
@@ -6573,7 +6688,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6573
6688
|
checks: "failed" | "not_configured" | "passed";
|
|
6574
6689
|
review: "approved" | "blocked" | "not_run";
|
|
6575
6690
|
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;
|
|
6691
|
+
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
6692
|
work_state?: {
|
|
6578
6693
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6579
6694
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6588,6 +6703,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6588
6703
|
spendUsd?: number | null | undefined;
|
|
6589
6704
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
6590
6705
|
waitingOnUser: boolean;
|
|
6706
|
+
asyncQuestionsOnly: boolean;
|
|
6591
6707
|
finishedAt: string | null;
|
|
6592
6708
|
delegation: {
|
|
6593
6709
|
requested: boolean;
|
|
@@ -6626,7 +6742,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6626
6742
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6627
6743
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6628
6744
|
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;
|
|
6745
|
+
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
6746
|
work_state?: {
|
|
6631
6747
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6632
6748
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6641,6 +6757,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6641
6757
|
spendUsd?: number | null | undefined;
|
|
6642
6758
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
6643
6759
|
waitingOnUser?: boolean | undefined;
|
|
6760
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
6644
6761
|
finishedAt?: string | null | undefined;
|
|
6645
6762
|
delegation?: {
|
|
6646
6763
|
requested?: boolean | undefined;
|
|
@@ -6745,7 +6862,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6745
6862
|
checks: "failed" | "not_configured" | "passed";
|
|
6746
6863
|
review: "approved" | "blocked" | "not_run";
|
|
6747
6864
|
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;
|
|
6865
|
+
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
6866
|
work_state?: {
|
|
6750
6867
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6751
6868
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6760,6 +6877,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6760
6877
|
spendUsd?: number | null | undefined;
|
|
6761
6878
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
6762
6879
|
waitingOnUser: boolean;
|
|
6880
|
+
asyncQuestionsOnly: boolean;
|
|
6763
6881
|
finishedAt: string | null;
|
|
6764
6882
|
delegation: {
|
|
6765
6883
|
requested: boolean;
|
|
@@ -6848,7 +6966,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6848
6966
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6849
6967
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6850
6968
|
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;
|
|
6969
|
+
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
6970
|
work_state?: {
|
|
6853
6971
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6854
6972
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6863,6 +6981,7 @@ export declare const ThreadHistoryHeader: z.ZodObject<{
|
|
|
6863
6981
|
spendUsd?: number | null | undefined;
|
|
6864
6982
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
6865
6983
|
waitingOnUser?: boolean | undefined;
|
|
6984
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
6866
6985
|
finishedAt?: string | null | undefined;
|
|
6867
6986
|
delegation?: {
|
|
6868
6987
|
requested?: boolean | undefined;
|
|
@@ -7039,7 +7158,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7039
7158
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
7040
7159
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
7041
7160
|
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"]>>>;
|
|
7161
|
+
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
7162
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
7044
7163
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
7045
7164
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -7082,7 +7201,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7082
7201
|
checks: "failed" | "not_configured" | "passed";
|
|
7083
7202
|
review: "approved" | "blocked" | "not_run";
|
|
7084
7203
|
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;
|
|
7204
|
+
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
7205
|
work_state?: {
|
|
7087
7206
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7088
7207
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7099,7 +7218,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7099
7218
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7100
7219
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7101
7220
|
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;
|
|
7221
|
+
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
7222
|
work_state?: {
|
|
7104
7223
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7105
7224
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7114,6 +7233,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7114
7233
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7115
7234
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
7116
7235
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
7236
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
7117
7237
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7118
7238
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
7119
7239
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -7173,7 +7293,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7173
7293
|
checks: "failed" | "not_configured" | "passed";
|
|
7174
7294
|
review: "approved" | "blocked" | "not_run";
|
|
7175
7295
|
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;
|
|
7296
|
+
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
7297
|
work_state?: {
|
|
7178
7298
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7179
7299
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7188,6 +7308,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7188
7308
|
spendUsd?: number | null | undefined;
|
|
7189
7309
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
7190
7310
|
waitingOnUser: boolean;
|
|
7311
|
+
asyncQuestionsOnly: boolean;
|
|
7191
7312
|
finishedAt: string | null;
|
|
7192
7313
|
delegation: {
|
|
7193
7314
|
requested: boolean;
|
|
@@ -7223,7 +7344,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7223
7344
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7224
7345
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7225
7346
|
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;
|
|
7347
|
+
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
7348
|
work_state?: {
|
|
7228
7349
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7229
7350
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7238,6 +7359,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7238
7359
|
spendUsd?: number | null | undefined;
|
|
7239
7360
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
7240
7361
|
waitingOnUser?: boolean | undefined;
|
|
7362
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
7241
7363
|
finishedAt?: string | null | undefined;
|
|
7242
7364
|
delegation?: {
|
|
7243
7365
|
requested?: boolean | undefined;
|
|
@@ -7396,7 +7518,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7396
7518
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
7397
7519
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
7398
7520
|
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"]>>>;
|
|
7521
|
+
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
7522
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
7401
7523
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
7402
7524
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -7439,7 +7561,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7439
7561
|
checks: "failed" | "not_configured" | "passed";
|
|
7440
7562
|
review: "approved" | "blocked" | "not_run";
|
|
7441
7563
|
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;
|
|
7564
|
+
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
7565
|
work_state?: {
|
|
7444
7566
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7445
7567
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7456,7 +7578,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7456
7578
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7457
7579
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7458
7580
|
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;
|
|
7581
|
+
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
7582
|
work_state?: {
|
|
7461
7583
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7462
7584
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7471,6 +7593,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7471
7593
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7472
7594
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
7473
7595
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
7596
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
7474
7597
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7475
7598
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
7476
7599
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -7530,7 +7653,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7530
7653
|
checks: "failed" | "not_configured" | "passed";
|
|
7531
7654
|
review: "approved" | "blocked" | "not_run";
|
|
7532
7655
|
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;
|
|
7656
|
+
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
7657
|
work_state?: {
|
|
7535
7658
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7536
7659
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7545,6 +7668,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7545
7668
|
spendUsd?: number | null | undefined;
|
|
7546
7669
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
7547
7670
|
waitingOnUser: boolean;
|
|
7671
|
+
asyncQuestionsOnly: boolean;
|
|
7548
7672
|
finishedAt: string | null;
|
|
7549
7673
|
delegation: {
|
|
7550
7674
|
requested: boolean;
|
|
@@ -7580,7 +7704,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7580
7704
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7581
7705
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7582
7706
|
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;
|
|
7707
|
+
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
7708
|
work_state?: {
|
|
7585
7709
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7586
7710
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7595,6 +7719,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7595
7719
|
spendUsd?: number | null | undefined;
|
|
7596
7720
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
7597
7721
|
waitingOnUser?: boolean | undefined;
|
|
7722
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
7598
7723
|
finishedAt?: string | null | undefined;
|
|
7599
7724
|
delegation?: {
|
|
7600
7725
|
requested?: boolean | undefined;
|
|
@@ -7633,7 +7758,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7633
7758
|
checks: "failed" | "not_configured" | "passed";
|
|
7634
7759
|
review: "approved" | "blocked" | "not_run";
|
|
7635
7760
|
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;
|
|
7761
|
+
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
7762
|
work_state?: {
|
|
7638
7763
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7639
7764
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7648,6 +7773,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7648
7773
|
spendUsd?: number | null | undefined;
|
|
7649
7774
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
7650
7775
|
waitingOnUser: boolean;
|
|
7776
|
+
asyncQuestionsOnly: boolean;
|
|
7651
7777
|
finishedAt: string | null;
|
|
7652
7778
|
delegation: {
|
|
7653
7779
|
requested: boolean;
|
|
@@ -7686,7 +7812,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7686
7812
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7687
7813
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7688
7814
|
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;
|
|
7815
|
+
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
7816
|
work_state?: {
|
|
7691
7817
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7692
7818
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7701,6 +7827,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7701
7827
|
spendUsd?: number | null | undefined;
|
|
7702
7828
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
7703
7829
|
waitingOnUser?: boolean | undefined;
|
|
7830
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
7704
7831
|
finishedAt?: string | null | undefined;
|
|
7705
7832
|
delegation?: {
|
|
7706
7833
|
requested?: boolean | undefined;
|
|
@@ -7805,7 +7932,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7805
7932
|
checks: "failed" | "not_configured" | "passed";
|
|
7806
7933
|
review: "approved" | "blocked" | "not_run";
|
|
7807
7934
|
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;
|
|
7935
|
+
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
7936
|
work_state?: {
|
|
7810
7937
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7811
7938
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7820,6 +7947,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7820
7947
|
spendUsd?: number | null | undefined;
|
|
7821
7948
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
7822
7949
|
waitingOnUser: boolean;
|
|
7950
|
+
asyncQuestionsOnly: boolean;
|
|
7823
7951
|
finishedAt: string | null;
|
|
7824
7952
|
delegation: {
|
|
7825
7953
|
requested: boolean;
|
|
@@ -7908,7 +8036,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7908
8036
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
7909
8037
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
7910
8038
|
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;
|
|
8039
|
+
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
8040
|
work_state?: {
|
|
7913
8041
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
7914
8042
|
source: "absent" | "constrained" | "validated";
|
|
@@ -7923,6 +8051,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
7923
8051
|
spendUsd?: number | null | undefined;
|
|
7924
8052
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
7925
8053
|
waitingOnUser?: boolean | undefined;
|
|
8054
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
7926
8055
|
finishedAt?: string | null | undefined;
|
|
7927
8056
|
delegation?: {
|
|
7928
8057
|
requested?: boolean | undefined;
|
|
@@ -8019,7 +8148,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8019
8148
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8020
8149
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8021
8150
|
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"]>>>;
|
|
8151
|
+
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
8152
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8024
8153
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8025
8154
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8062,7 +8191,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8062
8191
|
checks: "failed" | "not_configured" | "passed";
|
|
8063
8192
|
review: "approved" | "blocked" | "not_run";
|
|
8064
8193
|
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;
|
|
8194
|
+
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
8195
|
work_state?: {
|
|
8067
8196
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8068
8197
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8079,7 +8208,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8079
8208
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8080
8209
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8081
8210
|
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;
|
|
8211
|
+
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
8212
|
work_state?: {
|
|
8084
8213
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8085
8214
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8094,6 +8223,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8094
8223
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8095
8224
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
8096
8225
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
8226
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
8097
8227
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
8098
8228
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
8099
8229
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -8153,7 +8283,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8153
8283
|
checks: "failed" | "not_configured" | "passed";
|
|
8154
8284
|
review: "approved" | "blocked" | "not_run";
|
|
8155
8285
|
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;
|
|
8286
|
+
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
8287
|
work_state?: {
|
|
8158
8288
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8159
8289
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8168,6 +8298,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8168
8298
|
spendUsd?: number | null | undefined;
|
|
8169
8299
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
8170
8300
|
waitingOnUser: boolean;
|
|
8301
|
+
asyncQuestionsOnly: boolean;
|
|
8171
8302
|
finishedAt: string | null;
|
|
8172
8303
|
delegation: {
|
|
8173
8304
|
requested: boolean;
|
|
@@ -8203,7 +8334,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8203
8334
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8204
8335
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8205
8336
|
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;
|
|
8337
|
+
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
8338
|
work_state?: {
|
|
8208
8339
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8209
8340
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8218,6 +8349,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8218
8349
|
spendUsd?: number | null | undefined;
|
|
8219
8350
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
8220
8351
|
waitingOnUser?: boolean | undefined;
|
|
8352
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
8221
8353
|
finishedAt?: string | null | undefined;
|
|
8222
8354
|
delegation?: {
|
|
8223
8355
|
requested?: boolean | undefined;
|
|
@@ -8369,7 +8501,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8369
8501
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8370
8502
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8371
8503
|
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"]>>>;
|
|
8504
|
+
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
8505
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8374
8506
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8375
8507
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8412,7 +8544,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8412
8544
|
checks: "failed" | "not_configured" | "passed";
|
|
8413
8545
|
review: "approved" | "blocked" | "not_run";
|
|
8414
8546
|
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;
|
|
8547
|
+
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
8548
|
work_state?: {
|
|
8417
8549
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8418
8550
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8429,7 +8561,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8429
8561
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8430
8562
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8431
8563
|
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;
|
|
8564
|
+
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
8565
|
work_state?: {
|
|
8434
8566
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8435
8567
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8444,6 +8576,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8444
8576
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8445
8577
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
8446
8578
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
8579
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
8447
8580
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
8448
8581
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
8449
8582
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -8554,7 +8687,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8554
8687
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
8555
8688
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
8556
8689
|
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"]>>>;
|
|
8690
|
+
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
8691
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
8559
8692
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
8560
8693
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -8597,7 +8730,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8597
8730
|
checks: "failed" | "not_configured" | "passed";
|
|
8598
8731
|
review: "approved" | "blocked" | "not_run";
|
|
8599
8732
|
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;
|
|
8733
|
+
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
8734
|
work_state?: {
|
|
8602
8735
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8603
8736
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8614,7 +8747,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8614
8747
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8615
8748
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8616
8749
|
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;
|
|
8750
|
+
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
8751
|
work_state?: {
|
|
8619
8752
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8620
8753
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8799,7 +8932,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8799
8932
|
checks: "failed" | "not_configured" | "passed";
|
|
8800
8933
|
review: "approved" | "blocked" | "not_run";
|
|
8801
8934
|
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;
|
|
8935
|
+
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
8936
|
work_state?: {
|
|
8804
8937
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8805
8938
|
source: "absent" | "constrained" | "validated";
|
|
@@ -8872,7 +9005,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
8872
9005
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
8873
9006
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
8874
9007
|
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;
|
|
9008
|
+
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
9009
|
work_state?: {
|
|
8877
9010
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
8878
9011
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9066,6 +9199,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9066
9199
|
requiredAction: string | null;
|
|
9067
9200
|
}>>>;
|
|
9068
9201
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
9202
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9069
9203
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
9070
9204
|
scope: z.ZodLiteral<"turn_text">;
|
|
9071
9205
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -9124,6 +9258,18 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9124
9258
|
native_code: "grok_credential_source_unconfirmed";
|
|
9125
9259
|
source: "grok_init";
|
|
9126
9260
|
reported_source: string;
|
|
9261
|
+
}>, z.ZodObject<{
|
|
9262
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
9263
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
9264
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
9265
|
+
}, "strip", z.ZodTypeAny, {
|
|
9266
|
+
kind: "vendor_not_retryable";
|
|
9267
|
+
source: "agy_stderr";
|
|
9268
|
+
error_id: string | null;
|
|
9269
|
+
}, {
|
|
9270
|
+
kind: "vendor_not_retryable";
|
|
9271
|
+
source: "agy_stderr";
|
|
9272
|
+
error_id: string | null;
|
|
9127
9273
|
}>]>>;
|
|
9128
9274
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
9129
9275
|
model: z.ZodString;
|
|
@@ -9267,7 +9413,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9267
9413
|
}>>;
|
|
9268
9414
|
phase: z.ZodDefault<z.ZodString>;
|
|
9269
9415
|
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"]>>>;
|
|
9416
|
+
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
9417
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9272
9418
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9273
9419
|
safeMessage: z.ZodString;
|
|
@@ -9306,6 +9452,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9306
9452
|
source: string;
|
|
9307
9453
|
}>>>;
|
|
9308
9454
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9455
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
9309
9456
|
harnessId: z.ZodString;
|
|
9310
9457
|
profileId: z.ZodNullable<z.ZodString>;
|
|
9311
9458
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -9330,6 +9477,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9330
9477
|
source: string;
|
|
9331
9478
|
}>>;
|
|
9332
9479
|
}, "strip", z.ZodTypeAny, {
|
|
9480
|
+
lastVendorError?: string | undefined;
|
|
9333
9481
|
harnessId: string;
|
|
9334
9482
|
profileId: string | null;
|
|
9335
9483
|
profileDisplayName: string | null;
|
|
@@ -9346,6 +9494,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9346
9494
|
source: string;
|
|
9347
9495
|
} | null;
|
|
9348
9496
|
}, {
|
|
9497
|
+
lastVendorError?: string | undefined;
|
|
9349
9498
|
harnessId: string;
|
|
9350
9499
|
profileId: string | null;
|
|
9351
9500
|
profileDisplayName: string | null;
|
|
@@ -9364,6 +9513,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9364
9513
|
}>, "many">>;
|
|
9365
9514
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
9366
9515
|
}, "strip", z.ZodTypeAny, {
|
|
9516
|
+
lastVendorError?: string | null | undefined;
|
|
9367
9517
|
requestRefusal?: {
|
|
9368
9518
|
scope: "turn_text";
|
|
9369
9519
|
unit: "unicode_scalars";
|
|
@@ -9383,6 +9533,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9383
9533
|
native_code: "grok_credential_source_unconfirmed";
|
|
9384
9534
|
source: "grok_init";
|
|
9385
9535
|
reported_source: string;
|
|
9536
|
+
} | {
|
|
9537
|
+
kind: "vendor_not_retryable";
|
|
9538
|
+
source: "agy_stderr";
|
|
9539
|
+
error_id: string | null;
|
|
9386
9540
|
} | undefined;
|
|
9387
9541
|
rawContextShortfall?: {
|
|
9388
9542
|
model: string;
|
|
@@ -9422,7 +9576,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9422
9576
|
} | undefined;
|
|
9423
9577
|
phase: string;
|
|
9424
9578
|
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;
|
|
9579
|
+
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
9580
|
harnessId: string | null;
|
|
9427
9581
|
attemptId: string | null;
|
|
9428
9582
|
safeMessage: string;
|
|
@@ -9443,6 +9597,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9443
9597
|
source: string;
|
|
9444
9598
|
} | null;
|
|
9445
9599
|
poolAttempts: {
|
|
9600
|
+
lastVendorError?: string | undefined;
|
|
9446
9601
|
harnessId: string;
|
|
9447
9602
|
profileId: string | null;
|
|
9448
9603
|
profileDisplayName: string | null;
|
|
@@ -9461,6 +9616,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9461
9616
|
}[];
|
|
9462
9617
|
nextActions: string[];
|
|
9463
9618
|
}, {
|
|
9619
|
+
lastVendorError?: string | null | undefined;
|
|
9464
9620
|
requestRefusal?: {
|
|
9465
9621
|
scope: "turn_text";
|
|
9466
9622
|
unit: "unicode_scalars";
|
|
@@ -9480,6 +9636,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9480
9636
|
native_code: "grok_credential_source_unconfirmed";
|
|
9481
9637
|
source: "grok_init";
|
|
9482
9638
|
reported_source: string;
|
|
9639
|
+
} | {
|
|
9640
|
+
kind: "vendor_not_retryable";
|
|
9641
|
+
source: "agy_stderr";
|
|
9642
|
+
error_id: string | null;
|
|
9483
9643
|
} | undefined;
|
|
9484
9644
|
rawContextShortfall?: {
|
|
9485
9645
|
model: string;
|
|
@@ -9519,7 +9679,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9519
9679
|
} | undefined;
|
|
9520
9680
|
phase?: string | undefined;
|
|
9521
9681
|
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;
|
|
9682
|
+
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
9683
|
harnessId?: string | null | undefined;
|
|
9524
9684
|
attemptId?: string | null | undefined;
|
|
9525
9685
|
safeMessage: string;
|
|
@@ -9540,6 +9700,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9540
9700
|
source: string;
|
|
9541
9701
|
} | null | undefined;
|
|
9542
9702
|
poolAttempts?: {
|
|
9703
|
+
lastVendorError?: string | undefined;
|
|
9543
9704
|
harnessId: string;
|
|
9544
9705
|
profileId: string | null;
|
|
9545
9706
|
profileDisplayName: string | null;
|
|
@@ -9664,7 +9825,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9664
9825
|
checks: "failed" | "not_configured" | "passed";
|
|
9665
9826
|
review: "approved" | "blocked" | "not_run";
|
|
9666
9827
|
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;
|
|
9828
|
+
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
9829
|
work_state?: {
|
|
9669
9830
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9670
9831
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9679,6 +9840,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9679
9840
|
spendUsd?: number | null | undefined;
|
|
9680
9841
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
9681
9842
|
waitingOnUser: boolean;
|
|
9843
|
+
asyncQuestionsOnly: boolean;
|
|
9682
9844
|
finishedAt: string | null;
|
|
9683
9845
|
delegation: {
|
|
9684
9846
|
requested: boolean;
|
|
@@ -9699,7 +9861,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9699
9861
|
checks: "failed" | "not_configured" | "passed";
|
|
9700
9862
|
review: "approved" | "blocked" | "not_run";
|
|
9701
9863
|
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;
|
|
9864
|
+
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
9865
|
work_state?: {
|
|
9704
9866
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9705
9867
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9805,6 +9967,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9805
9967
|
requiredAction: string | null;
|
|
9806
9968
|
} | null;
|
|
9807
9969
|
failure: {
|
|
9970
|
+
lastVendorError?: string | null | undefined;
|
|
9808
9971
|
requestRefusal?: {
|
|
9809
9972
|
scope: "turn_text";
|
|
9810
9973
|
unit: "unicode_scalars";
|
|
@@ -9824,6 +9987,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9824
9987
|
native_code: "grok_credential_source_unconfirmed";
|
|
9825
9988
|
source: "grok_init";
|
|
9826
9989
|
reported_source: string;
|
|
9990
|
+
} | {
|
|
9991
|
+
kind: "vendor_not_retryable";
|
|
9992
|
+
source: "agy_stderr";
|
|
9993
|
+
error_id: string | null;
|
|
9827
9994
|
} | undefined;
|
|
9828
9995
|
rawContextShortfall?: {
|
|
9829
9996
|
model: string;
|
|
@@ -9863,7 +10030,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9863
10030
|
} | undefined;
|
|
9864
10031
|
phase: string;
|
|
9865
10032
|
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;
|
|
10033
|
+
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
10034
|
harnessId: string | null;
|
|
9868
10035
|
attemptId: string | null;
|
|
9869
10036
|
safeMessage: string;
|
|
@@ -9884,6 +10051,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9884
10051
|
source: string;
|
|
9885
10052
|
} | null;
|
|
9886
10053
|
poolAttempts: {
|
|
10054
|
+
lastVendorError?: string | undefined;
|
|
9887
10055
|
harnessId: string;
|
|
9888
10056
|
profileId: string | null;
|
|
9889
10057
|
profileDisplayName: string | null;
|
|
@@ -9976,7 +10144,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9976
10144
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
9977
10145
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
9978
10146
|
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;
|
|
10147
|
+
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
10148
|
work_state?: {
|
|
9981
10149
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
9982
10150
|
source: "absent" | "constrained" | "validated";
|
|
@@ -9991,6 +10159,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
9991
10159
|
spendUsd?: number | null | undefined;
|
|
9992
10160
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
9993
10161
|
waitingOnUser?: boolean | undefined;
|
|
10162
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
9994
10163
|
finishedAt?: string | null | undefined;
|
|
9995
10164
|
delegation?: {
|
|
9996
10165
|
requested?: boolean | undefined;
|
|
@@ -10011,7 +10180,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10011
10180
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10012
10181
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10013
10182
|
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;
|
|
10183
|
+
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
10184
|
work_state?: {
|
|
10016
10185
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10017
10186
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10117,6 +10286,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10117
10286
|
requiredAction: string | null;
|
|
10118
10287
|
} | null | undefined;
|
|
10119
10288
|
failure?: {
|
|
10289
|
+
lastVendorError?: string | null | undefined;
|
|
10120
10290
|
requestRefusal?: {
|
|
10121
10291
|
scope: "turn_text";
|
|
10122
10292
|
unit: "unicode_scalars";
|
|
@@ -10136,6 +10306,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10136
10306
|
native_code: "grok_credential_source_unconfirmed";
|
|
10137
10307
|
source: "grok_init";
|
|
10138
10308
|
reported_source: string;
|
|
10309
|
+
} | {
|
|
10310
|
+
kind: "vendor_not_retryable";
|
|
10311
|
+
source: "agy_stderr";
|
|
10312
|
+
error_id: string | null;
|
|
10139
10313
|
} | undefined;
|
|
10140
10314
|
rawContextShortfall?: {
|
|
10141
10315
|
model: string;
|
|
@@ -10175,7 +10349,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10175
10349
|
} | undefined;
|
|
10176
10350
|
phase?: string | undefined;
|
|
10177
10351
|
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;
|
|
10352
|
+
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
10353
|
harnessId?: string | null | undefined;
|
|
10180
10354
|
attemptId?: string | null | undefined;
|
|
10181
10355
|
safeMessage: string;
|
|
@@ -10196,6 +10370,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10196
10370
|
source: string;
|
|
10197
10371
|
} | null | undefined;
|
|
10198
10372
|
poolAttempts?: {
|
|
10373
|
+
lastVendorError?: string | undefined;
|
|
10199
10374
|
harnessId: string;
|
|
10200
10375
|
profileId: string | null;
|
|
10201
10376
|
profileDisplayName: string | null;
|
|
@@ -10340,7 +10515,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10340
10515
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
10341
10516
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
10342
10517
|
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"]>>>;
|
|
10518
|
+
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
10519
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
10345
10520
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
10346
10521
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -10383,7 +10558,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10383
10558
|
checks: "failed" | "not_configured" | "passed";
|
|
10384
10559
|
review: "approved" | "blocked" | "not_run";
|
|
10385
10560
|
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;
|
|
10561
|
+
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
10562
|
work_state?: {
|
|
10388
10563
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10389
10564
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10400,7 +10575,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10400
10575
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10401
10576
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10402
10577
|
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;
|
|
10578
|
+
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
10579
|
work_state?: {
|
|
10405
10580
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10406
10581
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10415,6 +10590,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10415
10590
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10416
10591
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
10417
10592
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
10593
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
10418
10594
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
10419
10595
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
10420
10596
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -10474,7 +10650,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10474
10650
|
checks: "failed" | "not_configured" | "passed";
|
|
10475
10651
|
review: "approved" | "blocked" | "not_run";
|
|
10476
10652
|
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;
|
|
10653
|
+
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
10654
|
work_state?: {
|
|
10479
10655
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10480
10656
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10489,6 +10665,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10489
10665
|
spendUsd?: number | null | undefined;
|
|
10490
10666
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
10491
10667
|
waitingOnUser: boolean;
|
|
10668
|
+
asyncQuestionsOnly: boolean;
|
|
10492
10669
|
finishedAt: string | null;
|
|
10493
10670
|
delegation: {
|
|
10494
10671
|
requested: boolean;
|
|
@@ -10524,7 +10701,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10524
10701
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
10525
10702
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
10526
10703
|
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;
|
|
10704
|
+
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
10705
|
work_state?: {
|
|
10529
10706
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10530
10707
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10539,6 +10716,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10539
10716
|
spendUsd?: number | null | undefined;
|
|
10540
10717
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
10541
10718
|
waitingOnUser?: boolean | undefined;
|
|
10719
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
10542
10720
|
finishedAt?: string | null | undefined;
|
|
10543
10721
|
delegation?: {
|
|
10544
10722
|
requested?: boolean | undefined;
|
|
@@ -10725,7 +10903,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10725
10903
|
checks: "failed" | "not_configured" | "passed";
|
|
10726
10904
|
review: "approved" | "blocked" | "not_run";
|
|
10727
10905
|
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;
|
|
10906
|
+
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
10907
|
work_state?: {
|
|
10730
10908
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10731
10909
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10740,6 +10918,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10740
10918
|
spendUsd?: number | null | undefined;
|
|
10741
10919
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
10742
10920
|
waitingOnUser: boolean;
|
|
10921
|
+
asyncQuestionsOnly: boolean;
|
|
10743
10922
|
finishedAt: string | null;
|
|
10744
10923
|
delegation: {
|
|
10745
10924
|
requested: boolean;
|
|
@@ -10760,7 +10939,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10760
10939
|
checks: "failed" | "not_configured" | "passed";
|
|
10761
10940
|
review: "approved" | "blocked" | "not_run";
|
|
10762
10941
|
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;
|
|
10942
|
+
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
10943
|
work_state?: {
|
|
10765
10944
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
10766
10945
|
source: "absent" | "constrained" | "validated";
|
|
@@ -10866,6 +11045,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10866
11045
|
requiredAction: string | null;
|
|
10867
11046
|
} | null;
|
|
10868
11047
|
failure: {
|
|
11048
|
+
lastVendorError?: string | null | undefined;
|
|
10869
11049
|
requestRefusal?: {
|
|
10870
11050
|
scope: "turn_text";
|
|
10871
11051
|
unit: "unicode_scalars";
|
|
@@ -10885,6 +11065,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10885
11065
|
native_code: "grok_credential_source_unconfirmed";
|
|
10886
11066
|
source: "grok_init";
|
|
10887
11067
|
reported_source: string;
|
|
11068
|
+
} | {
|
|
11069
|
+
kind: "vendor_not_retryable";
|
|
11070
|
+
source: "agy_stderr";
|
|
11071
|
+
error_id: string | null;
|
|
10888
11072
|
} | undefined;
|
|
10889
11073
|
rawContextShortfall?: {
|
|
10890
11074
|
model: string;
|
|
@@ -10924,7 +11108,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10924
11108
|
} | undefined;
|
|
10925
11109
|
phase: string;
|
|
10926
11110
|
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;
|
|
11111
|
+
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
11112
|
harnessId: string | null;
|
|
10929
11113
|
attemptId: string | null;
|
|
10930
11114
|
safeMessage: string;
|
|
@@ -10945,6 +11129,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
10945
11129
|
source: string;
|
|
10946
11130
|
} | null;
|
|
10947
11131
|
poolAttempts: {
|
|
11132
|
+
lastVendorError?: string | undefined;
|
|
10948
11133
|
harnessId: string;
|
|
10949
11134
|
profileId: string | null;
|
|
10950
11135
|
profileDisplayName: string | null;
|
|
@@ -11099,7 +11284,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11099
11284
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11100
11285
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11101
11286
|
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;
|
|
11287
|
+
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
11288
|
work_state?: {
|
|
11104
11289
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11105
11290
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11114,6 +11299,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11114
11299
|
spendUsd?: number | null | undefined;
|
|
11115
11300
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
11116
11301
|
waitingOnUser?: boolean | undefined;
|
|
11302
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
11117
11303
|
finishedAt?: string | null | undefined;
|
|
11118
11304
|
delegation?: {
|
|
11119
11305
|
requested?: boolean | undefined;
|
|
@@ -11134,7 +11320,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11134
11320
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11135
11321
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11136
11322
|
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;
|
|
11323
|
+
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
11324
|
work_state?: {
|
|
11139
11325
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11140
11326
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11240,6 +11426,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11240
11426
|
requiredAction: string | null;
|
|
11241
11427
|
} | null | undefined;
|
|
11242
11428
|
failure?: {
|
|
11429
|
+
lastVendorError?: string | null | undefined;
|
|
11243
11430
|
requestRefusal?: {
|
|
11244
11431
|
scope: "turn_text";
|
|
11245
11432
|
unit: "unicode_scalars";
|
|
@@ -11259,6 +11446,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11259
11446
|
native_code: "grok_credential_source_unconfirmed";
|
|
11260
11447
|
source: "grok_init";
|
|
11261
11448
|
reported_source: string;
|
|
11449
|
+
} | {
|
|
11450
|
+
kind: "vendor_not_retryable";
|
|
11451
|
+
source: "agy_stderr";
|
|
11452
|
+
error_id: string | null;
|
|
11262
11453
|
} | undefined;
|
|
11263
11454
|
rawContextShortfall?: {
|
|
11264
11455
|
model: string;
|
|
@@ -11298,7 +11489,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11298
11489
|
} | undefined;
|
|
11299
11490
|
phase?: string | undefined;
|
|
11300
11491
|
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;
|
|
11492
|
+
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
11493
|
harnessId?: string | null | undefined;
|
|
11303
11494
|
attemptId?: string | null | undefined;
|
|
11304
11495
|
safeMessage: string;
|
|
@@ -11319,6 +11510,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11319
11510
|
source: string;
|
|
11320
11511
|
} | null | undefined;
|
|
11321
11512
|
poolAttempts?: {
|
|
11513
|
+
lastVendorError?: string | undefined;
|
|
11322
11514
|
harnessId: string;
|
|
11323
11515
|
profileId: string | null;
|
|
11324
11516
|
profileDisplayName: string | null;
|
|
@@ -11465,7 +11657,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11465
11657
|
checks: "failed" | "not_configured" | "passed";
|
|
11466
11658
|
review: "approved" | "blocked" | "not_run";
|
|
11467
11659
|
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;
|
|
11660
|
+
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
11661
|
work_state?: {
|
|
11470
11662
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11471
11663
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11480,6 +11672,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11480
11672
|
spendUsd?: number | null | undefined;
|
|
11481
11673
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
11482
11674
|
waitingOnUser: boolean;
|
|
11675
|
+
asyncQuestionsOnly: boolean;
|
|
11483
11676
|
finishedAt: string | null;
|
|
11484
11677
|
delegation: {
|
|
11485
11678
|
requested: boolean;
|
|
@@ -11593,7 +11786,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11593
11786
|
checks: "failed" | "not_configured" | "passed";
|
|
11594
11787
|
review: "approved" | "blocked" | "not_run";
|
|
11595
11788
|
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;
|
|
11789
|
+
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
11790
|
work_state?: {
|
|
11598
11791
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11599
11792
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11608,6 +11801,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11608
11801
|
spendUsd?: number | null | undefined;
|
|
11609
11802
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
11610
11803
|
waitingOnUser: boolean;
|
|
11804
|
+
asyncQuestionsOnly: boolean;
|
|
11611
11805
|
finishedAt: string | null;
|
|
11612
11806
|
delegation: {
|
|
11613
11807
|
requested: boolean;
|
|
@@ -11628,7 +11822,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11628
11822
|
checks: "failed" | "not_configured" | "passed";
|
|
11629
11823
|
review: "approved" | "blocked" | "not_run";
|
|
11630
11824
|
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;
|
|
11825
|
+
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
11826
|
work_state?: {
|
|
11633
11827
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11634
11828
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11734,6 +11928,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11734
11928
|
requiredAction: string | null;
|
|
11735
11929
|
} | null;
|
|
11736
11930
|
failure: {
|
|
11931
|
+
lastVendorError?: string | null | undefined;
|
|
11737
11932
|
requestRefusal?: {
|
|
11738
11933
|
scope: "turn_text";
|
|
11739
11934
|
unit: "unicode_scalars";
|
|
@@ -11753,6 +11948,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11753
11948
|
native_code: "grok_credential_source_unconfirmed";
|
|
11754
11949
|
source: "grok_init";
|
|
11755
11950
|
reported_source: string;
|
|
11951
|
+
} | {
|
|
11952
|
+
kind: "vendor_not_retryable";
|
|
11953
|
+
source: "agy_stderr";
|
|
11954
|
+
error_id: string | null;
|
|
11756
11955
|
} | undefined;
|
|
11757
11956
|
rawContextShortfall?: {
|
|
11758
11957
|
model: string;
|
|
@@ -11792,7 +11991,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11792
11991
|
} | undefined;
|
|
11793
11992
|
phase: string;
|
|
11794
11993
|
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;
|
|
11994
|
+
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
11995
|
harnessId: string | null;
|
|
11797
11996
|
attemptId: string | null;
|
|
11798
11997
|
safeMessage: string;
|
|
@@ -11813,6 +12012,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11813
12012
|
source: string;
|
|
11814
12013
|
} | null;
|
|
11815
12014
|
poolAttempts: {
|
|
12015
|
+
lastVendorError?: string | undefined;
|
|
11816
12016
|
harnessId: string;
|
|
11817
12017
|
profileId: string | null;
|
|
11818
12018
|
profileDisplayName: string | null;
|
|
@@ -11959,7 +12159,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11959
12159
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
11960
12160
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
11961
12161
|
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;
|
|
12162
|
+
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
12163
|
work_state?: {
|
|
11964
12164
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
11965
12165
|
source: "absent" | "constrained" | "validated";
|
|
@@ -11974,6 +12174,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
11974
12174
|
spendUsd?: number | null | undefined;
|
|
11975
12175
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
11976
12176
|
waitingOnUser?: boolean | undefined;
|
|
12177
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
11977
12178
|
finishedAt?: string | null | undefined;
|
|
11978
12179
|
delegation?: {
|
|
11979
12180
|
requested?: boolean | undefined;
|
|
@@ -12087,7 +12288,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12087
12288
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12088
12289
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12089
12290
|
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;
|
|
12291
|
+
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
12292
|
work_state?: {
|
|
12092
12293
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12093
12294
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12102,6 +12303,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12102
12303
|
spendUsd?: number | null | undefined;
|
|
12103
12304
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
12104
12305
|
waitingOnUser?: boolean | undefined;
|
|
12306
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
12105
12307
|
finishedAt?: string | null | undefined;
|
|
12106
12308
|
delegation?: {
|
|
12107
12309
|
requested?: boolean | undefined;
|
|
@@ -12122,7 +12324,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12122
12324
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12123
12325
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12124
12326
|
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;
|
|
12327
|
+
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
12328
|
work_state?: {
|
|
12127
12329
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12128
12330
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12228,6 +12430,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12228
12430
|
requiredAction: string | null;
|
|
12229
12431
|
} | null | undefined;
|
|
12230
12432
|
failure?: {
|
|
12433
|
+
lastVendorError?: string | null | undefined;
|
|
12231
12434
|
requestRefusal?: {
|
|
12232
12435
|
scope: "turn_text";
|
|
12233
12436
|
unit: "unicode_scalars";
|
|
@@ -12247,6 +12450,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12247
12450
|
native_code: "grok_credential_source_unconfirmed";
|
|
12248
12451
|
source: "grok_init";
|
|
12249
12452
|
reported_source: string;
|
|
12453
|
+
} | {
|
|
12454
|
+
kind: "vendor_not_retryable";
|
|
12455
|
+
source: "agy_stderr";
|
|
12456
|
+
error_id: string | null;
|
|
12250
12457
|
} | undefined;
|
|
12251
12458
|
rawContextShortfall?: {
|
|
12252
12459
|
model: string;
|
|
@@ -12286,7 +12493,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12286
12493
|
} | undefined;
|
|
12287
12494
|
phase?: string | undefined;
|
|
12288
12495
|
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;
|
|
12496
|
+
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
12497
|
harnessId?: string | null | undefined;
|
|
12291
12498
|
attemptId?: string | null | undefined;
|
|
12292
12499
|
safeMessage: string;
|
|
@@ -12307,6 +12514,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12307
12514
|
source: string;
|
|
12308
12515
|
} | null | undefined;
|
|
12309
12516
|
poolAttempts?: {
|
|
12517
|
+
lastVendorError?: string | undefined;
|
|
12310
12518
|
harnessId: string;
|
|
12311
12519
|
profileId: string | null;
|
|
12312
12520
|
profileDisplayName: string | null;
|
|
@@ -12453,7 +12661,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12453
12661
|
checks: "failed" | "not_configured" | "passed";
|
|
12454
12662
|
review: "approved" | "blocked" | "not_run";
|
|
12455
12663
|
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;
|
|
12664
|
+
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
12665
|
work_state?: {
|
|
12458
12666
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12459
12667
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12468,6 +12676,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12468
12676
|
spendUsd?: number | null | undefined;
|
|
12469
12677
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
12470
12678
|
waitingOnUser: boolean;
|
|
12679
|
+
asyncQuestionsOnly: boolean;
|
|
12471
12680
|
finishedAt: string | null;
|
|
12472
12681
|
delegation: {
|
|
12473
12682
|
requested: boolean;
|
|
@@ -12581,7 +12790,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12581
12790
|
checks: "failed" | "not_configured" | "passed";
|
|
12582
12791
|
review: "approved" | "blocked" | "not_run";
|
|
12583
12792
|
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;
|
|
12793
|
+
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
12794
|
work_state?: {
|
|
12586
12795
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12587
12796
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12596,6 +12805,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12596
12805
|
spendUsd?: number | null | undefined;
|
|
12597
12806
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
12598
12807
|
waitingOnUser: boolean;
|
|
12808
|
+
asyncQuestionsOnly: boolean;
|
|
12599
12809
|
finishedAt: string | null;
|
|
12600
12810
|
delegation: {
|
|
12601
12811
|
requested: boolean;
|
|
@@ -12616,7 +12826,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12616
12826
|
checks: "failed" | "not_configured" | "passed";
|
|
12617
12827
|
review: "approved" | "blocked" | "not_run";
|
|
12618
12828
|
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;
|
|
12829
|
+
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
12830
|
work_state?: {
|
|
12621
12831
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12622
12832
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12722,6 +12932,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12722
12932
|
requiredAction: string | null;
|
|
12723
12933
|
} | null;
|
|
12724
12934
|
failure: {
|
|
12935
|
+
lastVendorError?: string | null | undefined;
|
|
12725
12936
|
requestRefusal?: {
|
|
12726
12937
|
scope: "turn_text";
|
|
12727
12938
|
unit: "unicode_scalars";
|
|
@@ -12741,6 +12952,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12741
12952
|
native_code: "grok_credential_source_unconfirmed";
|
|
12742
12953
|
source: "grok_init";
|
|
12743
12954
|
reported_source: string;
|
|
12955
|
+
} | {
|
|
12956
|
+
kind: "vendor_not_retryable";
|
|
12957
|
+
source: "agy_stderr";
|
|
12958
|
+
error_id: string | null;
|
|
12744
12959
|
} | undefined;
|
|
12745
12960
|
rawContextShortfall?: {
|
|
12746
12961
|
model: string;
|
|
@@ -12780,7 +12995,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12780
12995
|
} | undefined;
|
|
12781
12996
|
phase: string;
|
|
12782
12997
|
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;
|
|
12998
|
+
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
12999
|
harnessId: string | null;
|
|
12785
13000
|
attemptId: string | null;
|
|
12786
13001
|
safeMessage: string;
|
|
@@ -12801,6 +13016,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12801
13016
|
source: string;
|
|
12802
13017
|
} | null;
|
|
12803
13018
|
poolAttempts: {
|
|
13019
|
+
lastVendorError?: string | undefined;
|
|
12804
13020
|
harnessId: string;
|
|
12805
13021
|
profileId: string | null;
|
|
12806
13022
|
profileDisplayName: string | null;
|
|
@@ -12947,7 +13163,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12947
13163
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
12948
13164
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
12949
13165
|
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;
|
|
13166
|
+
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
13167
|
work_state?: {
|
|
12952
13168
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
12953
13169
|
source: "absent" | "constrained" | "validated";
|
|
@@ -12962,6 +13178,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
12962
13178
|
spendUsd?: number | null | undefined;
|
|
12963
13179
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
12964
13180
|
waitingOnUser?: boolean | undefined;
|
|
13181
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
12965
13182
|
finishedAt?: string | null | undefined;
|
|
12966
13183
|
delegation?: {
|
|
12967
13184
|
requested?: boolean | undefined;
|
|
@@ -13075,7 +13292,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13075
13292
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
13076
13293
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
13077
13294
|
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;
|
|
13295
|
+
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
13296
|
work_state?: {
|
|
13080
13297
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
13081
13298
|
source: "absent" | "constrained" | "validated";
|
|
@@ -13090,6 +13307,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13090
13307
|
spendUsd?: number | null | undefined;
|
|
13091
13308
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
13092
13309
|
waitingOnUser?: boolean | undefined;
|
|
13310
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
13093
13311
|
finishedAt?: string | null | undefined;
|
|
13094
13312
|
delegation?: {
|
|
13095
13313
|
requested?: boolean | undefined;
|
|
@@ -13110,7 +13328,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13110
13328
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
13111
13329
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
13112
13330
|
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;
|
|
13331
|
+
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
13332
|
work_state?: {
|
|
13115
13333
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
13116
13334
|
source: "absent" | "constrained" | "validated";
|
|
@@ -13216,6 +13434,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13216
13434
|
requiredAction: string | null;
|
|
13217
13435
|
} | null | undefined;
|
|
13218
13436
|
failure?: {
|
|
13437
|
+
lastVendorError?: string | null | undefined;
|
|
13219
13438
|
requestRefusal?: {
|
|
13220
13439
|
scope: "turn_text";
|
|
13221
13440
|
unit: "unicode_scalars";
|
|
@@ -13235,6 +13454,10 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13235
13454
|
native_code: "grok_credential_source_unconfirmed";
|
|
13236
13455
|
source: "grok_init";
|
|
13237
13456
|
reported_source: string;
|
|
13457
|
+
} | {
|
|
13458
|
+
kind: "vendor_not_retryable";
|
|
13459
|
+
source: "agy_stderr";
|
|
13460
|
+
error_id: string | null;
|
|
13238
13461
|
} | undefined;
|
|
13239
13462
|
rawContextShortfall?: {
|
|
13240
13463
|
model: string;
|
|
@@ -13274,7 +13497,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13274
13497
|
} | undefined;
|
|
13275
13498
|
phase?: string | undefined;
|
|
13276
13499
|
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;
|
|
13500
|
+
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
13501
|
harnessId?: string | null | undefined;
|
|
13279
13502
|
attemptId?: string | null | undefined;
|
|
13280
13503
|
safeMessage: string;
|
|
@@ -13295,6 +13518,7 @@ export declare const ThreadHistoryPage: z.ZodEffects<z.ZodObject<{
|
|
|
13295
13518
|
source: string;
|
|
13296
13519
|
} | null | undefined;
|
|
13297
13520
|
poolAttempts?: {
|
|
13521
|
+
lastVendorError?: string | undefined;
|
|
13298
13522
|
harnessId: string;
|
|
13299
13523
|
profileId: string | null;
|
|
13300
13524
|
profileDisplayName: string | null;
|