@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/control.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
export { ControlQuotaResponse } from "./quota.js";
|
|
3
|
+
export { ControlRouteControl, ControlWebEvidence } from "./control-web-evidence.js";
|
|
3
4
|
export { RunExecution } from "./control-run-execution.js";
|
|
4
5
|
export { ControlTimelineEvent } from "./control-timeline.js";
|
|
5
6
|
export declare const ControlReviewerPanelEntry: z.ZodObject<{
|
|
@@ -1566,47 +1567,6 @@ export declare const ControlProjectMetadata: z.ZodObject<{
|
|
|
1566
1567
|
context?: "auto" | "off" | undefined;
|
|
1567
1568
|
}>;
|
|
1568
1569
|
export type ControlProjectMetadata = z.infer<typeof ControlProjectMetadata>;
|
|
1569
|
-
export declare const ControlWebEvidence: z.ZodObject<{
|
|
1570
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
1571
|
-
/** Requested external-context policy for the run. */
|
|
1572
|
-
mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1573
|
-
/** Mode the selected route actually executed (disclosed upgrades, e.g. claude cached->live). */
|
|
1574
|
-
effectiveMode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1575
|
-
attempted: z.ZodDefault<z.ZodBoolean>;
|
|
1576
|
-
satisfied: z.ZodDefault<z.ZodBoolean>;
|
|
1577
|
-
status: z.ZodDefault<z.ZodEnum<["none", "attempted", "satisfied", "failed", "unverified"]>>;
|
|
1578
|
-
tool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1579
|
-
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1580
|
-
errorSummary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1581
|
-
rawDetailRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1582
|
-
/** False when the run predates telemetry.yaml; surfaces must render "telemetry unavailable". */
|
|
1583
|
-
available: z.ZodDefault<z.ZodBoolean>;
|
|
1584
|
-
}, "strip", z.ZodTypeAny, {
|
|
1585
|
-
required: boolean;
|
|
1586
|
-
mode: "auto" | "cached" | "live" | "off";
|
|
1587
|
-
effectiveMode: "auto" | "cached" | "live" | "off";
|
|
1588
|
-
attempted: boolean;
|
|
1589
|
-
satisfied: boolean;
|
|
1590
|
-
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
1591
|
-
tool: string | null;
|
|
1592
|
-
target: string | null;
|
|
1593
|
-
errorSummary: string | null;
|
|
1594
|
-
rawDetailRef: string | null;
|
|
1595
|
-
available: boolean;
|
|
1596
|
-
}, {
|
|
1597
|
-
required?: boolean | undefined;
|
|
1598
|
-
mode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1599
|
-
effectiveMode?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1600
|
-
attempted?: boolean | undefined;
|
|
1601
|
-
satisfied?: boolean | undefined;
|
|
1602
|
-
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
1603
|
-
tool?: string | null | undefined;
|
|
1604
|
-
target?: string | null | undefined;
|
|
1605
|
-
errorSummary?: string | null | undefined;
|
|
1606
|
-
rawDetailRef?: string | null | undefined;
|
|
1607
|
-
available?: boolean | undefined;
|
|
1608
|
-
}>;
|
|
1609
|
-
export type ControlWebEvidence = z.infer<typeof ControlWebEvidence>;
|
|
1610
1570
|
/**
|
|
1611
1571
|
* Run-level route evidence projected from telemetry (observed model per
|
|
1612
1572
|
* attempt). `verified` is true only when an observed model was actually
|
|
@@ -1653,6 +1613,8 @@ export declare const RunDeliveryState: z.ZodObject<{
|
|
|
1653
1613
|
deliveredAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1654
1614
|
revertAnchorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1655
1615
|
postTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1616
|
+
takenAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1617
|
+
takenReason: z.ZodOptional<z.ZodLiteral<"captured_result">>;
|
|
1656
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1657
1619
|
applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
|
|
1658
1620
|
appliedPaths?: string[] | undefined;
|
|
@@ -1660,6 +1622,8 @@ export declare const RunDeliveryState: z.ZodObject<{
|
|
|
1660
1622
|
deliveredAt: string | null;
|
|
1661
1623
|
revertAnchorId?: string | null | undefined;
|
|
1662
1624
|
postTurnSha: string | null;
|
|
1625
|
+
takenAt?: string | null | undefined;
|
|
1626
|
+
takenReason?: "captured_result" | undefined;
|
|
1663
1627
|
}, {
|
|
1664
1628
|
applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
|
|
1665
1629
|
appliedPaths?: string[] | undefined;
|
|
@@ -1667,6 +1631,8 @@ export declare const RunDeliveryState: z.ZodObject<{
|
|
|
1667
1631
|
deliveredAt?: string | null | undefined;
|
|
1668
1632
|
revertAnchorId?: string | null | undefined;
|
|
1669
1633
|
postTurnSha?: string | null | undefined;
|
|
1634
|
+
takenAt?: string | null | undefined;
|
|
1635
|
+
takenReason?: "captured_result" | undefined;
|
|
1670
1636
|
}>;
|
|
1671
1637
|
export type RunDeliveryState = z.infer<typeof RunDeliveryState>;
|
|
1672
1638
|
export declare const ControlRunResult: z.ZodObject<{
|
|
@@ -1765,7 +1731,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1765
1731
|
}>>>;
|
|
1766
1732
|
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1767
1733
|
resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1768
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1734
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1769
1735
|
resetsAt: z.ZodNullable<z.ZodString>;
|
|
1770
1736
|
limitWindow: z.ZodNullable<z.ZodString>;
|
|
1771
1737
|
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
@@ -1795,7 +1761,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1795
1761
|
root: string | null;
|
|
1796
1762
|
}>;
|
|
1797
1763
|
}, "strict", z.ZodTypeAny, {
|
|
1798
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1764
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1799
1765
|
resetsAt: string | null;
|
|
1800
1766
|
limitWindow: string | null;
|
|
1801
1767
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1811,7 +1777,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1811
1777
|
root: string | null;
|
|
1812
1778
|
};
|
|
1813
1779
|
}, {
|
|
1814
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1780
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1815
1781
|
resetsAt: string | null;
|
|
1816
1782
|
limitWindow: string | null;
|
|
1817
1783
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1831,7 +1797,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1831
1797
|
tryIndex: z.ZodNumber;
|
|
1832
1798
|
attemptId: z.ZodString;
|
|
1833
1799
|
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
1834
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1800
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1835
1801
|
from: z.ZodObject<{
|
|
1836
1802
|
runId: z.ZodString;
|
|
1837
1803
|
attemptId: z.ZodString;
|
|
@@ -1865,7 +1831,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1865
1831
|
tryIndex: number;
|
|
1866
1832
|
attemptId: string;
|
|
1867
1833
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1868
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1834
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1869
1835
|
from: {
|
|
1870
1836
|
runId: string;
|
|
1871
1837
|
attemptId: string;
|
|
@@ -1887,7 +1853,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1887
1853
|
tryIndex: number;
|
|
1888
1854
|
attemptId: string;
|
|
1889
1855
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1890
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1856
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1891
1857
|
from: {
|
|
1892
1858
|
runId: string;
|
|
1893
1859
|
attemptId: string;
|
|
@@ -1910,23 +1876,24 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1910
1876
|
root: z.ZodString;
|
|
1911
1877
|
bytes: z.ZodNullable<z.ZodNumber>;
|
|
1912
1878
|
retainedAt: z.ZodString;
|
|
1913
|
-
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
1879
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
1914
1880
|
}, "strict", z.ZodTypeAny, {
|
|
1915
1881
|
root: string;
|
|
1916
1882
|
bytes: number | null;
|
|
1917
1883
|
retainedAt: string;
|
|
1918
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1884
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
1919
1885
|
}, {
|
|
1920
1886
|
root: string;
|
|
1921
1887
|
bytes: number | null;
|
|
1922
1888
|
retainedAt: string;
|
|
1923
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1889
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
1924
1890
|
}>>>;
|
|
1925
1891
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1926
1892
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
1927
1893
|
runDir: z.ZodOptional<z.ZodString>;
|
|
1928
1894
|
error: z.ZodOptional<z.ZodString>;
|
|
1929
1895
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1896
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1930
1897
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1931
1898
|
scope: z.ZodLiteral<"turn_text">;
|
|
1932
1899
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -1985,6 +1952,18 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1985
1952
|
native_code: "grok_credential_source_unconfirmed";
|
|
1986
1953
|
source: "grok_init";
|
|
1987
1954
|
reported_source: string;
|
|
1955
|
+
}>, z.ZodObject<{
|
|
1956
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
1957
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
1958
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
1959
|
+
}, "strip", z.ZodTypeAny, {
|
|
1960
|
+
kind: "vendor_not_retryable";
|
|
1961
|
+
source: "agy_stderr";
|
|
1962
|
+
error_id: string | null;
|
|
1963
|
+
}, {
|
|
1964
|
+
kind: "vendor_not_retryable";
|
|
1965
|
+
source: "agy_stderr";
|
|
1966
|
+
error_id: string | null;
|
|
1988
1967
|
}>]>>;
|
|
1989
1968
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
1990
1969
|
model: z.ZodString;
|
|
@@ -2128,7 +2107,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2128
2107
|
}>>;
|
|
2129
2108
|
phase: z.ZodDefault<z.ZodString>;
|
|
2130
2109
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
2131
|
-
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"]>>>;
|
|
2110
|
+
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"]>>>;
|
|
2132
2111
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2133
2112
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2134
2113
|
safeMessage: z.ZodString;
|
|
@@ -2167,6 +2146,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2167
2146
|
source: string;
|
|
2168
2147
|
}>>>;
|
|
2169
2148
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2149
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
2170
2150
|
harnessId: z.ZodString;
|
|
2171
2151
|
profileId: z.ZodNullable<z.ZodString>;
|
|
2172
2152
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -2191,6 +2171,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2191
2171
|
source: string;
|
|
2192
2172
|
}>>;
|
|
2193
2173
|
}, "strip", z.ZodTypeAny, {
|
|
2174
|
+
lastVendorError?: string | undefined;
|
|
2194
2175
|
harnessId: string;
|
|
2195
2176
|
profileId: string | null;
|
|
2196
2177
|
profileDisplayName: string | null;
|
|
@@ -2207,6 +2188,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2207
2188
|
source: string;
|
|
2208
2189
|
} | null;
|
|
2209
2190
|
}, {
|
|
2191
|
+
lastVendorError?: string | undefined;
|
|
2210
2192
|
harnessId: string;
|
|
2211
2193
|
profileId: string | null;
|
|
2212
2194
|
profileDisplayName: string | null;
|
|
@@ -2225,6 +2207,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2225
2207
|
}>, "many">>;
|
|
2226
2208
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2227
2209
|
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
lastVendorError?: string | null | undefined;
|
|
2228
2211
|
requestRefusal?: {
|
|
2229
2212
|
scope: "turn_text";
|
|
2230
2213
|
unit: "unicode_scalars";
|
|
@@ -2244,6 +2227,10 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2244
2227
|
native_code: "grok_credential_source_unconfirmed";
|
|
2245
2228
|
source: "grok_init";
|
|
2246
2229
|
reported_source: string;
|
|
2230
|
+
} | {
|
|
2231
|
+
kind: "vendor_not_retryable";
|
|
2232
|
+
source: "agy_stderr";
|
|
2233
|
+
error_id: string | null;
|
|
2247
2234
|
} | undefined;
|
|
2248
2235
|
rawContextShortfall?: {
|
|
2249
2236
|
model: string;
|
|
@@ -2283,7 +2270,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2283
2270
|
} | undefined;
|
|
2284
2271
|
phase: string;
|
|
2285
2272
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2286
|
-
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;
|
|
2273
|
+
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;
|
|
2287
2274
|
harnessId: string | null;
|
|
2288
2275
|
attemptId: string | null;
|
|
2289
2276
|
safeMessage: string;
|
|
@@ -2304,6 +2291,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2304
2291
|
source: string;
|
|
2305
2292
|
} | null;
|
|
2306
2293
|
poolAttempts: {
|
|
2294
|
+
lastVendorError?: string | undefined;
|
|
2307
2295
|
harnessId: string;
|
|
2308
2296
|
profileId: string | null;
|
|
2309
2297
|
profileDisplayName: string | null;
|
|
@@ -2322,6 +2310,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2322
2310
|
}[];
|
|
2323
2311
|
nextActions: string[];
|
|
2324
2312
|
}, {
|
|
2313
|
+
lastVendorError?: string | null | undefined;
|
|
2325
2314
|
requestRefusal?: {
|
|
2326
2315
|
scope: "turn_text";
|
|
2327
2316
|
unit: "unicode_scalars";
|
|
@@ -2341,6 +2330,10 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2341
2330
|
native_code: "grok_credential_source_unconfirmed";
|
|
2342
2331
|
source: "grok_init";
|
|
2343
2332
|
reported_source: string;
|
|
2333
|
+
} | {
|
|
2334
|
+
kind: "vendor_not_retryable";
|
|
2335
|
+
source: "agy_stderr";
|
|
2336
|
+
error_id: string | null;
|
|
2344
2337
|
} | undefined;
|
|
2345
2338
|
rawContextShortfall?: {
|
|
2346
2339
|
model: string;
|
|
@@ -2380,7 +2373,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2380
2373
|
} | undefined;
|
|
2381
2374
|
phase?: string | undefined;
|
|
2382
2375
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2383
|
-
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;
|
|
2376
|
+
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;
|
|
2384
2377
|
harnessId?: string | null | undefined;
|
|
2385
2378
|
attemptId?: string | null | undefined;
|
|
2386
2379
|
safeMessage: string;
|
|
@@ -2401,6 +2394,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2401
2394
|
source: string;
|
|
2402
2395
|
} | null | undefined;
|
|
2403
2396
|
poolAttempts?: {
|
|
2397
|
+
lastVendorError?: string | undefined;
|
|
2404
2398
|
harnessId: string;
|
|
2405
2399
|
profileId: string | null;
|
|
2406
2400
|
profileDisplayName: string | null;
|
|
@@ -2571,18 +2565,27 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2571
2565
|
webMode: z.ZodOptional<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
2572
2566
|
webEvidence: z.ZodDefault<z.ZodObject<{
|
|
2573
2567
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2574
|
-
/** Requested external-context policy for the run. */
|
|
2575
2568
|
mode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
2576
|
-
/** Mode the selected route actually executed (disclosed upgrades, e.g. claude cached->live). */
|
|
2577
2569
|
effectiveMode: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
2578
2570
|
attempted: z.ZodDefault<z.ZodBoolean>;
|
|
2579
2571
|
satisfied: z.ZodDefault<z.ZodBoolean>;
|
|
2580
2572
|
status: z.ZodDefault<z.ZodEnum<["none", "attempted", "satisfied", "failed", "unverified"]>>;
|
|
2573
|
+
verification: z.ZodDefault<z.ZodEnum<["verified", "dispatched", "none"]>>;
|
|
2574
|
+
verifiedContent: z.ZodDefault<z.ZodNullable<z.ZodEnum<["page", "search_results"]>>>;
|
|
2575
|
+
observation: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2576
|
+
evidence: z.ZodLiteral<"tool_calls">;
|
|
2577
|
+
network: z.ZodLiteral<"not_measured">;
|
|
2578
|
+
}, "strip", z.ZodTypeAny, {
|
|
2579
|
+
evidence: "tool_calls";
|
|
2580
|
+
network: "not_measured";
|
|
2581
|
+
}, {
|
|
2582
|
+
evidence: "tool_calls";
|
|
2583
|
+
network: "not_measured";
|
|
2584
|
+
}>>>;
|
|
2581
2585
|
tool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2582
2586
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2583
2587
|
errorSummary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2584
2588
|
rawDetailRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2585
|
-
/** False when the run predates telemetry.yaml; surfaces must render "telemetry unavailable". */
|
|
2586
2589
|
available: z.ZodDefault<z.ZodBoolean>;
|
|
2587
2590
|
}, "strip", z.ZodTypeAny, {
|
|
2588
2591
|
required: boolean;
|
|
@@ -2591,6 +2594,12 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2591
2594
|
attempted: boolean;
|
|
2592
2595
|
satisfied: boolean;
|
|
2593
2596
|
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
2597
|
+
verification: "dispatched" | "none" | "verified";
|
|
2598
|
+
verifiedContent: "page" | "search_results" | null;
|
|
2599
|
+
observation: {
|
|
2600
|
+
evidence: "tool_calls";
|
|
2601
|
+
network: "not_measured";
|
|
2602
|
+
} | null;
|
|
2594
2603
|
tool: string | null;
|
|
2595
2604
|
target: string | null;
|
|
2596
2605
|
errorSummary: string | null;
|
|
@@ -2603,12 +2612,72 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2603
2612
|
attempted?: boolean | undefined;
|
|
2604
2613
|
satisfied?: boolean | undefined;
|
|
2605
2614
|
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
2615
|
+
verification?: "dispatched" | "none" | "verified" | undefined;
|
|
2616
|
+
verifiedContent?: "page" | "search_results" | null | undefined;
|
|
2617
|
+
observation?: {
|
|
2618
|
+
evidence: "tool_calls";
|
|
2619
|
+
network: "not_measured";
|
|
2620
|
+
} | null | undefined;
|
|
2606
2621
|
tool?: string | null | undefined;
|
|
2607
2622
|
target?: string | null | undefined;
|
|
2608
2623
|
errorSummary?: string | null | undefined;
|
|
2609
2624
|
rawDetailRef?: string | null | undefined;
|
|
2610
2625
|
available?: boolean | undefined;
|
|
2611
2626
|
}>>;
|
|
2627
|
+
routeControls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2628
|
+
harnessId: z.ZodString;
|
|
2629
|
+
webMode: z.ZodEnum<["off", "auto", "cached", "live"]>;
|
|
2630
|
+
webMechanism: z.ZodEnum<["native", "tools", "uncontrolled", "none"]>;
|
|
2631
|
+
browser: z.ZodBoolean;
|
|
2632
|
+
browserStartup: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2633
|
+
status: z.ZodEnum<["ready", "failed", "cancelled", "starting", "not_observed"]>;
|
|
2634
|
+
waitedMs: z.ZodNumber;
|
|
2635
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2636
|
+
}, "strip", z.ZodTypeAny, {
|
|
2637
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2638
|
+
waitedMs: number;
|
|
2639
|
+
error: string | null;
|
|
2640
|
+
}, {
|
|
2641
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2642
|
+
waitedMs: number;
|
|
2643
|
+
error: string | null;
|
|
2644
|
+
}>>>;
|
|
2645
|
+
access: z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>;
|
|
2646
|
+
nativeAccess: z.ZodNullable<z.ZodString>;
|
|
2647
|
+
accessMechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "tool_policy", "native_settings", "none"]>;
|
|
2648
|
+
nativeSessionStarted: z.ZodBoolean;
|
|
2649
|
+
homeScoped: z.ZodNullable<z.ZodBoolean>;
|
|
2650
|
+
}, "strip", z.ZodTypeAny, {
|
|
2651
|
+
harnessId: string;
|
|
2652
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
2653
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
2654
|
+
browser: boolean;
|
|
2655
|
+
browserStartup: {
|
|
2656
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2657
|
+
waitedMs: number;
|
|
2658
|
+
error: string | null;
|
|
2659
|
+
} | null;
|
|
2660
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
2661
|
+
nativeAccess: string | null;
|
|
2662
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
2663
|
+
nativeSessionStarted: boolean;
|
|
2664
|
+
homeScoped: boolean | null;
|
|
2665
|
+
}, {
|
|
2666
|
+
harnessId: string;
|
|
2667
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
2668
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
2669
|
+
browser: boolean;
|
|
2670
|
+
browserStartup?: {
|
|
2671
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2672
|
+
waitedMs: number;
|
|
2673
|
+
error: string | null;
|
|
2674
|
+
} | null | undefined;
|
|
2675
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
2676
|
+
nativeAccess: string | null;
|
|
2677
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
2678
|
+
nativeSessionStarted: boolean;
|
|
2679
|
+
homeScoped: boolean | null;
|
|
2680
|
+
}>, "many">>;
|
|
2612
2681
|
requestRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2613
2682
|
capability: z.ZodEnum<["browser", "path_deny", "delegation"]>;
|
|
2614
2683
|
harness_id: z.ZodString;
|
|
@@ -2705,7 +2774,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2705
2774
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2706
2775
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2707
2776
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2708
|
-
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"]>>>;
|
|
2777
|
+
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"]>>>;
|
|
2709
2778
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2710
2779
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2711
2780
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2748,7 +2817,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2748
2817
|
checks: "failed" | "not_configured" | "passed";
|
|
2749
2818
|
review: "approved" | "blocked" | "not_run";
|
|
2750
2819
|
review_requested?: boolean | undefined;
|
|
2751
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2820
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2752
2821
|
work_state?: {
|
|
2753
2822
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2754
2823
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2765,7 +2834,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2765
2834
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2766
2835
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2767
2836
|
review_requested?: boolean | undefined;
|
|
2768
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2837
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2769
2838
|
work_state?: {
|
|
2770
2839
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2771
2840
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2779,6 +2848,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2779
2848
|
}>>>;
|
|
2780
2849
|
/** True while at least one requested interaction has no terminal release. */
|
|
2781
2850
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
2851
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
2782
2852
|
/** Compact process-scope outcome (INV-144); null while live or unknown — never clean. */
|
|
2783
2853
|
processScope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2784
2854
|
settled: z.ZodBoolean;
|
|
@@ -2802,6 +2872,36 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2802
2872
|
survivors: number;
|
|
2803
2873
|
unreadable: number;
|
|
2804
2874
|
}>>>;
|
|
2875
|
+
/** A later bounded settlement of the finished run's scope (#613); null when none. */
|
|
2876
|
+
processScopeLater: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2877
|
+
settled: z.ZodBoolean;
|
|
2878
|
+
coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
|
|
2879
|
+
completeness: z.ZodEnum<["complete", "not_provable"]>;
|
|
2880
|
+
census: z.ZodEnum<["ok", "failed", "unsupported"]>;
|
|
2881
|
+
survivors: z.ZodNumber;
|
|
2882
|
+
unreadable: z.ZodNumber;
|
|
2883
|
+
} & {
|
|
2884
|
+
attempt: z.ZodNumber;
|
|
2885
|
+
at: z.ZodString;
|
|
2886
|
+
}, "strict", z.ZodTypeAny, {
|
|
2887
|
+
settled: boolean;
|
|
2888
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2889
|
+
completeness: "complete" | "not_provable";
|
|
2890
|
+
census: "failed" | "ok" | "unsupported";
|
|
2891
|
+
survivors: number;
|
|
2892
|
+
unreadable: number;
|
|
2893
|
+
attempt: number;
|
|
2894
|
+
at: string;
|
|
2895
|
+
}, {
|
|
2896
|
+
settled: boolean;
|
|
2897
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2898
|
+
completeness: "complete" | "not_provable";
|
|
2899
|
+
census: "failed" | "ok" | "unsupported";
|
|
2900
|
+
survivors: number;
|
|
2901
|
+
unreadable: number;
|
|
2902
|
+
attempt: number;
|
|
2903
|
+
at: string;
|
|
2904
|
+
}>>>;
|
|
2805
2905
|
/** Route evidence from telemetry; null when no telemetry exists (legacy). */
|
|
2806
2906
|
route: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2807
2907
|
requestedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2971,7 +3071,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2971
3071
|
} | null;
|
|
2972
3072
|
continueFrom: string | null;
|
|
2973
3073
|
resumable: {
|
|
2974
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3074
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2975
3075
|
resetsAt: string | null;
|
|
2976
3076
|
limitWindow: string | null;
|
|
2977
3077
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -2991,7 +3091,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2991
3091
|
tryIndex: number;
|
|
2992
3092
|
attemptId: string;
|
|
2993
3093
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2994
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3094
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2995
3095
|
from: {
|
|
2996
3096
|
runId: string;
|
|
2997
3097
|
attemptId: string;
|
|
@@ -3014,13 +3114,14 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3014
3114
|
root: string;
|
|
3015
3115
|
bytes: number | null;
|
|
3016
3116
|
retainedAt: string;
|
|
3017
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
3117
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
3018
3118
|
} | null;
|
|
3019
3119
|
taskId?: string | undefined;
|
|
3020
3120
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
3021
3121
|
runDir?: string | undefined;
|
|
3022
3122
|
error?: string | undefined;
|
|
3023
3123
|
failure: {
|
|
3124
|
+
lastVendorError?: string | null | undefined;
|
|
3024
3125
|
requestRefusal?: {
|
|
3025
3126
|
scope: "turn_text";
|
|
3026
3127
|
unit: "unicode_scalars";
|
|
@@ -3040,6 +3141,10 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3040
3141
|
native_code: "grok_credential_source_unconfirmed";
|
|
3041
3142
|
source: "grok_init";
|
|
3042
3143
|
reported_source: string;
|
|
3144
|
+
} | {
|
|
3145
|
+
kind: "vendor_not_retryable";
|
|
3146
|
+
source: "agy_stderr";
|
|
3147
|
+
error_id: string | null;
|
|
3043
3148
|
} | undefined;
|
|
3044
3149
|
rawContextShortfall?: {
|
|
3045
3150
|
model: string;
|
|
@@ -3079,7 +3184,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3079
3184
|
} | undefined;
|
|
3080
3185
|
phase: string;
|
|
3081
3186
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
3082
|
-
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;
|
|
3187
|
+
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;
|
|
3083
3188
|
harnessId: string | null;
|
|
3084
3189
|
attemptId: string | null;
|
|
3085
3190
|
safeMessage: string;
|
|
@@ -3100,6 +3205,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3100
3205
|
source: string;
|
|
3101
3206
|
} | null;
|
|
3102
3207
|
poolAttempts: {
|
|
3208
|
+
lastVendorError?: string | undefined;
|
|
3103
3209
|
harnessId: string;
|
|
3104
3210
|
profileId: string | null;
|
|
3105
3211
|
profileDisplayName: string | null;
|
|
@@ -3188,12 +3294,34 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3188
3294
|
attempted: boolean;
|
|
3189
3295
|
satisfied: boolean;
|
|
3190
3296
|
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
3297
|
+
verification: "dispatched" | "none" | "verified";
|
|
3298
|
+
verifiedContent: "page" | "search_results" | null;
|
|
3299
|
+
observation: {
|
|
3300
|
+
evidence: "tool_calls";
|
|
3301
|
+
network: "not_measured";
|
|
3302
|
+
} | null;
|
|
3191
3303
|
tool: string | null;
|
|
3192
3304
|
target: string | null;
|
|
3193
3305
|
errorSummary: string | null;
|
|
3194
3306
|
rawDetailRef: string | null;
|
|
3195
3307
|
available: boolean;
|
|
3196
3308
|
};
|
|
3309
|
+
routeControls: {
|
|
3310
|
+
harnessId: string;
|
|
3311
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
3312
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
3313
|
+
browser: boolean;
|
|
3314
|
+
browserStartup: {
|
|
3315
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
3316
|
+
waitedMs: number;
|
|
3317
|
+
error: string | null;
|
|
3318
|
+
} | null;
|
|
3319
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
3320
|
+
nativeAccess: string | null;
|
|
3321
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
3322
|
+
nativeSessionStarted: boolean;
|
|
3323
|
+
homeScoped: boolean | null;
|
|
3324
|
+
}[];
|
|
3197
3325
|
requestRequirements: {
|
|
3198
3326
|
capability: "browser" | "delegation" | "path_deny";
|
|
3199
3327
|
harness_id: string;
|
|
@@ -3227,7 +3355,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3227
3355
|
checks: "failed" | "not_configured" | "passed";
|
|
3228
3356
|
review: "approved" | "blocked" | "not_run";
|
|
3229
3357
|
review_requested?: boolean | undefined;
|
|
3230
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3358
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3231
3359
|
work_state?: {
|
|
3232
3360
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3233
3361
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3240,6 +3368,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3240
3368
|
} | undefined;
|
|
3241
3369
|
} | null;
|
|
3242
3370
|
waitingOnUser: boolean;
|
|
3371
|
+
asyncQuestionsOnly: boolean;
|
|
3243
3372
|
processScope: {
|
|
3244
3373
|
settled: boolean;
|
|
3245
3374
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -3248,6 +3377,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3248
3377
|
survivors: number;
|
|
3249
3378
|
unreadable: number;
|
|
3250
3379
|
} | null;
|
|
3380
|
+
processScopeLater: {
|
|
3381
|
+
settled: boolean;
|
|
3382
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
3383
|
+
completeness: "complete" | "not_provable";
|
|
3384
|
+
census: "failed" | "ok" | "unsupported";
|
|
3385
|
+
survivors: number;
|
|
3386
|
+
unreadable: number;
|
|
3387
|
+
attempt: number;
|
|
3388
|
+
at: string;
|
|
3389
|
+
} | null;
|
|
3251
3390
|
route: {
|
|
3252
3391
|
requestedModel: string | null;
|
|
3253
3392
|
observedModel: string | null;
|
|
@@ -3306,7 +3445,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3306
3445
|
} | null | undefined;
|
|
3307
3446
|
continueFrom?: string | null | undefined;
|
|
3308
3447
|
resumable?: {
|
|
3309
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3448
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3310
3449
|
resetsAt: string | null;
|
|
3311
3450
|
limitWindow: string | null;
|
|
3312
3451
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -3326,7 +3465,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3326
3465
|
tryIndex: number;
|
|
3327
3466
|
attemptId: string;
|
|
3328
3467
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
3329
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3468
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3330
3469
|
from: {
|
|
3331
3470
|
runId: string;
|
|
3332
3471
|
attemptId: string;
|
|
@@ -3349,13 +3488,14 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3349
3488
|
root: string;
|
|
3350
3489
|
bytes: number | null;
|
|
3351
3490
|
retainedAt: string;
|
|
3352
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
3491
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
3353
3492
|
} | null | undefined;
|
|
3354
3493
|
taskId?: string | undefined;
|
|
3355
3494
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
3356
3495
|
runDir?: string | undefined;
|
|
3357
3496
|
error?: string | undefined;
|
|
3358
3497
|
failure?: {
|
|
3498
|
+
lastVendorError?: string | null | undefined;
|
|
3359
3499
|
requestRefusal?: {
|
|
3360
3500
|
scope: "turn_text";
|
|
3361
3501
|
unit: "unicode_scalars";
|
|
@@ -3375,6 +3515,10 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3375
3515
|
native_code: "grok_credential_source_unconfirmed";
|
|
3376
3516
|
source: "grok_init";
|
|
3377
3517
|
reported_source: string;
|
|
3518
|
+
} | {
|
|
3519
|
+
kind: "vendor_not_retryable";
|
|
3520
|
+
source: "agy_stderr";
|
|
3521
|
+
error_id: string | null;
|
|
3378
3522
|
} | undefined;
|
|
3379
3523
|
rawContextShortfall?: {
|
|
3380
3524
|
model: string;
|
|
@@ -3414,7 +3558,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3414
3558
|
} | undefined;
|
|
3415
3559
|
phase?: string | undefined;
|
|
3416
3560
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
3417
|
-
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;
|
|
3561
|
+
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;
|
|
3418
3562
|
harnessId?: string | null | undefined;
|
|
3419
3563
|
attemptId?: string | null | undefined;
|
|
3420
3564
|
safeMessage: string;
|
|
@@ -3435,6 +3579,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3435
3579
|
source: string;
|
|
3436
3580
|
} | null | undefined;
|
|
3437
3581
|
poolAttempts?: {
|
|
3582
|
+
lastVendorError?: string | undefined;
|
|
3438
3583
|
harnessId: string;
|
|
3439
3584
|
profileId: string | null;
|
|
3440
3585
|
profileDisplayName: string | null;
|
|
@@ -3523,12 +3668,34 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3523
3668
|
attempted?: boolean | undefined;
|
|
3524
3669
|
satisfied?: boolean | undefined;
|
|
3525
3670
|
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
3671
|
+
verification?: "dispatched" | "none" | "verified" | undefined;
|
|
3672
|
+
verifiedContent?: "page" | "search_results" | null | undefined;
|
|
3673
|
+
observation?: {
|
|
3674
|
+
evidence: "tool_calls";
|
|
3675
|
+
network: "not_measured";
|
|
3676
|
+
} | null | undefined;
|
|
3526
3677
|
tool?: string | null | undefined;
|
|
3527
3678
|
target?: string | null | undefined;
|
|
3528
3679
|
errorSummary?: string | null | undefined;
|
|
3529
3680
|
rawDetailRef?: string | null | undefined;
|
|
3530
3681
|
available?: boolean | undefined;
|
|
3531
3682
|
} | undefined;
|
|
3683
|
+
routeControls?: {
|
|
3684
|
+
harnessId: string;
|
|
3685
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
3686
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
3687
|
+
browser: boolean;
|
|
3688
|
+
browserStartup?: {
|
|
3689
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
3690
|
+
waitedMs: number;
|
|
3691
|
+
error: string | null;
|
|
3692
|
+
} | null | undefined;
|
|
3693
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
3694
|
+
nativeAccess: string | null;
|
|
3695
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
3696
|
+
nativeSessionStarted: boolean;
|
|
3697
|
+
homeScoped: boolean | null;
|
|
3698
|
+
}[] | undefined;
|
|
3532
3699
|
requestRequirements?: {
|
|
3533
3700
|
capability: "browser" | "delegation" | "path_deny";
|
|
3534
3701
|
harness_id: string;
|
|
@@ -3562,7 +3729,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3562
3729
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
3563
3730
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
3564
3731
|
review_requested?: boolean | undefined;
|
|
3565
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3732
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3566
3733
|
work_state?: {
|
|
3567
3734
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3568
3735
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3575,6 +3742,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3575
3742
|
} | undefined;
|
|
3576
3743
|
} | null | undefined;
|
|
3577
3744
|
waitingOnUser?: boolean | undefined;
|
|
3745
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
3578
3746
|
processScope?: {
|
|
3579
3747
|
settled: boolean;
|
|
3580
3748
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -3583,6 +3751,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
3583
3751
|
survivors: number;
|
|
3584
3752
|
unreadable: number;
|
|
3585
3753
|
} | null | undefined;
|
|
3754
|
+
processScopeLater?: {
|
|
3755
|
+
settled: boolean;
|
|
3756
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
3757
|
+
completeness: "complete" | "not_provable";
|
|
3758
|
+
census: "failed" | "ok" | "unsupported";
|
|
3759
|
+
survivors: number;
|
|
3760
|
+
unreadable: number;
|
|
3761
|
+
attempt: number;
|
|
3762
|
+
at: string;
|
|
3763
|
+
} | null | undefined;
|
|
3586
3764
|
route?: {
|
|
3587
3765
|
requestedModel?: string | null | undefined;
|
|
3588
3766
|
observedModel?: string | null | undefined;
|
|
@@ -3717,87 +3895,6 @@ export declare const ControlArtifactInfo: z.ZodObject<{
|
|
|
3717
3895
|
mime?: string | undefined;
|
|
3718
3896
|
}>;
|
|
3719
3897
|
export type ControlArtifactInfo = z.infer<typeof ControlArtifactInfo>;
|
|
3720
|
-
/** A live interaction awaiting the user's answer (snapshot projection). */
|
|
3721
|
-
export declare const ControlPendingInteraction: z.ZodObject<{
|
|
3722
|
-
interactionId: z.ZodString;
|
|
3723
|
-
runId: z.ZodString;
|
|
3724
|
-
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3725
|
-
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3726
|
-
sourceTool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3727
|
-
questions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3728
|
-
id: z.ZodString;
|
|
3729
|
-
question: z.ZodString;
|
|
3730
|
-
header: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3731
|
-
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3732
|
-
label: z.ZodString;
|
|
3733
|
-
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3734
|
-
}, "strip", z.ZodTypeAny, {
|
|
3735
|
-
label: string;
|
|
3736
|
-
description: string | null;
|
|
3737
|
-
}, {
|
|
3738
|
-
label: string;
|
|
3739
|
-
description?: string | null | undefined;
|
|
3740
|
-
}>, "many">>;
|
|
3741
|
-
multi_select: z.ZodDefault<z.ZodBoolean>;
|
|
3742
|
-
}, "strip", z.ZodTypeAny, {
|
|
3743
|
-
id: string;
|
|
3744
|
-
question: string;
|
|
3745
|
-
header: string | null;
|
|
3746
|
-
options: {
|
|
3747
|
-
label: string;
|
|
3748
|
-
description: string | null;
|
|
3749
|
-
}[];
|
|
3750
|
-
multi_select: boolean;
|
|
3751
|
-
}, {
|
|
3752
|
-
id: string;
|
|
3753
|
-
question: string;
|
|
3754
|
-
header?: string | null | undefined;
|
|
3755
|
-
options?: {
|
|
3756
|
-
label: string;
|
|
3757
|
-
description?: string | null | undefined;
|
|
3758
|
-
}[] | undefined;
|
|
3759
|
-
multi_select?: boolean | undefined;
|
|
3760
|
-
}>, "many">>;
|
|
3761
|
-
requestedAt: z.ZodString;
|
|
3762
|
-
timeoutAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3763
|
-
}, "strip", z.ZodTypeAny, {
|
|
3764
|
-
interactionId: string;
|
|
3765
|
-
runId: string;
|
|
3766
|
-
attemptId: string | null;
|
|
3767
|
-
harnessId: string | null;
|
|
3768
|
-
sourceTool: string | null;
|
|
3769
|
-
questions: {
|
|
3770
|
-
id: string;
|
|
3771
|
-
question: string;
|
|
3772
|
-
header: string | null;
|
|
3773
|
-
options: {
|
|
3774
|
-
label: string;
|
|
3775
|
-
description: string | null;
|
|
3776
|
-
}[];
|
|
3777
|
-
multi_select: boolean;
|
|
3778
|
-
}[];
|
|
3779
|
-
requestedAt: string;
|
|
3780
|
-
timeoutAt: string | null;
|
|
3781
|
-
}, {
|
|
3782
|
-
interactionId: string;
|
|
3783
|
-
runId: string;
|
|
3784
|
-
attemptId?: string | null | undefined;
|
|
3785
|
-
harnessId?: string | null | undefined;
|
|
3786
|
-
sourceTool?: string | null | undefined;
|
|
3787
|
-
questions?: {
|
|
3788
|
-
id: string;
|
|
3789
|
-
question: string;
|
|
3790
|
-
header?: string | null | undefined;
|
|
3791
|
-
options?: {
|
|
3792
|
-
label: string;
|
|
3793
|
-
description?: string | null | undefined;
|
|
3794
|
-
}[] | undefined;
|
|
3795
|
-
multi_select?: boolean | undefined;
|
|
3796
|
-
}[] | undefined;
|
|
3797
|
-
requestedAt: string;
|
|
3798
|
-
timeoutAt?: string | null | undefined;
|
|
3799
|
-
}>;
|
|
3800
|
-
export type ControlPendingInteraction = z.infer<typeof ControlPendingInteraction>;
|
|
3801
3898
|
export declare const ControlInteractionAnswerRequest: z.ZodObject<{
|
|
3802
3899
|
answers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3803
3900
|
questionId: z.ZodString;
|
|
@@ -4056,10 +4153,12 @@ export type ControlApplyRequest = z.infer<typeof ControlApplyRequest>;
|
|
|
4056
4153
|
* v0.8 "apply: human_review" dead end: a typed, auditable unblock path instead
|
|
4057
4154
|
* of a read-only review queue.
|
|
4058
4155
|
*/
|
|
4059
|
-
export declare const RunDecisionAction: z.ZodEnum<["accept_clean_patch", "rerun_with_feedback", "accept_risk", "override_needs_human", "revert_run", "discard"]>;
|
|
4156
|
+
export declare const RunDecisionAction: z.ZodEnum<["accept_clean_patch", "rerun_with_feedback", "accept_risk", "override_needs_human", "revert_run", "discard", "taken"]>;
|
|
4060
4157
|
export type RunDecisionAction = z.infer<typeof RunDecisionAction>;
|
|
4061
|
-
export declare const
|
|
4062
|
-
|
|
4158
|
+
export declare const RunTakenReason: z.ZodLiteral<"captured_result">;
|
|
4159
|
+
export type RunTakenReason = z.infer<typeof RunTakenReason>;
|
|
4160
|
+
export declare const ControlRunDecisionRequest: z.ZodEffects<z.ZodObject<{
|
|
4161
|
+
action: z.ZodEnum<["accept_clean_patch", "rerun_with_feedback", "accept_risk", "override_needs_human", "revert_run", "discard", "taken"]>;
|
|
4063
4162
|
/** Findings the decision targets (override/accept_risk). */
|
|
4064
4163
|
findingIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4065
4164
|
/** Reviewer feedback to seed a rerun turn. */
|
|
@@ -4084,8 +4183,35 @@ export declare const ControlRunDecisionRequest: z.ZodObject<{
|
|
|
4084
4183
|
kind: "project";
|
|
4085
4184
|
root: string;
|
|
4086
4185
|
}>]>>;
|
|
4186
|
+
reason: z.ZodOptional<z.ZodLiteral<"captured_result">>;
|
|
4087
4187
|
}, "strict", z.ZodTypeAny, {
|
|
4088
|
-
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run";
|
|
4188
|
+
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run" | "taken";
|
|
4189
|
+
findingIds: string[];
|
|
4190
|
+
feedback?: string | undefined;
|
|
4191
|
+
acceptedRisks: string[];
|
|
4192
|
+
applyMode?: "apply" | "branch" | "commit" | "pr" | undefined;
|
|
4193
|
+
target?: {
|
|
4194
|
+
kind: "original_project";
|
|
4195
|
+
} | {
|
|
4196
|
+
kind: "project";
|
|
4197
|
+
root: string;
|
|
4198
|
+
} | undefined;
|
|
4199
|
+
reason?: "captured_result" | undefined;
|
|
4200
|
+
}, {
|
|
4201
|
+
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run" | "taken";
|
|
4202
|
+
findingIds?: string[] | undefined;
|
|
4203
|
+
feedback?: string | undefined;
|
|
4204
|
+
acceptedRisks?: string[] | undefined;
|
|
4205
|
+
applyMode?: "apply" | "branch" | "commit" | "pr" | undefined;
|
|
4206
|
+
target?: {
|
|
4207
|
+
kind: "original_project";
|
|
4208
|
+
} | {
|
|
4209
|
+
kind: "project";
|
|
4210
|
+
root: string;
|
|
4211
|
+
} | undefined;
|
|
4212
|
+
reason?: "captured_result" | undefined;
|
|
4213
|
+
}>, {
|
|
4214
|
+
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run" | "taken";
|
|
4089
4215
|
findingIds: string[];
|
|
4090
4216
|
feedback?: string | undefined;
|
|
4091
4217
|
acceptedRisks: string[];
|
|
@@ -4096,8 +4222,9 @@ export declare const ControlRunDecisionRequest: z.ZodObject<{
|
|
|
4096
4222
|
kind: "project";
|
|
4097
4223
|
root: string;
|
|
4098
4224
|
} | undefined;
|
|
4225
|
+
reason?: "captured_result" | undefined;
|
|
4099
4226
|
}, {
|
|
4100
|
-
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run";
|
|
4227
|
+
action: "accept_clean_patch" | "accept_risk" | "discard" | "override_needs_human" | "rerun_with_feedback" | "revert_run" | "taken";
|
|
4101
4228
|
findingIds?: string[] | undefined;
|
|
4102
4229
|
feedback?: string | undefined;
|
|
4103
4230
|
acceptedRisks?: string[] | undefined;
|
|
@@ -4108,13 +4235,14 @@ export declare const ControlRunDecisionRequest: z.ZodObject<{
|
|
|
4108
4235
|
kind: "project";
|
|
4109
4236
|
root: string;
|
|
4110
4237
|
} | undefined;
|
|
4238
|
+
reason?: "captured_result" | undefined;
|
|
4111
4239
|
}>;
|
|
4112
4240
|
export type ControlRunDecisionRequest = z.infer<typeof ControlRunDecisionRequest>;
|
|
4113
4241
|
export declare const ControlRunDecisionResponse: z.ZodObject<{
|
|
4114
4242
|
taskGroupId: z.ZodOptional<z.ZodString>;
|
|
4115
4243
|
storeId: z.ZodOptional<z.ZodString>;
|
|
4116
4244
|
accepted: z.ZodBoolean;
|
|
4117
|
-
status: z.ZodEnum<["applied", "requeued", "rejected", "unsupported", "discarded"]>;
|
|
4245
|
+
status: z.ZodEnum<["applied", "requeued", "rejected", "unsupported", "discarded", "taken"]>;
|
|
4118
4246
|
/** New run id when the decision re-enqueues a turn (rerun_with_feedback). */
|
|
4119
4247
|
newRunId: z.ZodOptional<z.ZodString>;
|
|
4120
4248
|
newJobId: z.ZodOptional<z.ZodString>;
|
|
@@ -4123,7 +4251,7 @@ export declare const ControlRunDecisionResponse: z.ZodObject<{
|
|
|
4123
4251
|
taskGroupId?: string | undefined;
|
|
4124
4252
|
storeId?: string | undefined;
|
|
4125
4253
|
accepted: boolean;
|
|
4126
|
-
status: "applied" | "discarded" | "rejected" | "requeued" | "unsupported";
|
|
4254
|
+
status: "applied" | "discarded" | "rejected" | "requeued" | "taken" | "unsupported";
|
|
4127
4255
|
newRunId?: string | undefined;
|
|
4128
4256
|
newJobId?: string | undefined;
|
|
4129
4257
|
message?: string | undefined;
|
|
@@ -4131,7 +4259,7 @@ export declare const ControlRunDecisionResponse: z.ZodObject<{
|
|
|
4131
4259
|
taskGroupId?: string | undefined;
|
|
4132
4260
|
storeId?: string | undefined;
|
|
4133
4261
|
accepted: boolean;
|
|
4134
|
-
status: "applied" | "discarded" | "rejected" | "requeued" | "unsupported";
|
|
4262
|
+
status: "applied" | "discarded" | "rejected" | "requeued" | "taken" | "unsupported";
|
|
4135
4263
|
newRunId?: string | undefined;
|
|
4136
4264
|
newJobId?: string | undefined;
|
|
4137
4265
|
message?: string | undefined;
|
|
@@ -4309,7 +4437,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4309
4437
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
4310
4438
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
4311
4439
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
4312
|
-
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"]>>>;
|
|
4440
|
+
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"]>>>;
|
|
4313
4441
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
4314
4442
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
4315
4443
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -4352,7 +4480,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4352
4480
|
checks: "failed" | "not_configured" | "passed";
|
|
4353
4481
|
review: "approved" | "blocked" | "not_run";
|
|
4354
4482
|
review_requested?: boolean | undefined;
|
|
4355
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4483
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4356
4484
|
work_state?: {
|
|
4357
4485
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4358
4486
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4369,7 +4497,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4369
4497
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4370
4498
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4371
4499
|
review_requested?: boolean | undefined;
|
|
4372
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4500
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4373
4501
|
work_state?: {
|
|
4374
4502
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4375
4503
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4384,6 +4512,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4384
4512
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4385
4513
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
4386
4514
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
4515
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
4387
4516
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4388
4517
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
4389
4518
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4443,7 +4572,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4443
4572
|
checks: "failed" | "not_configured" | "passed";
|
|
4444
4573
|
review: "approved" | "blocked" | "not_run";
|
|
4445
4574
|
review_requested?: boolean | undefined;
|
|
4446
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4575
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4447
4576
|
work_state?: {
|
|
4448
4577
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4449
4578
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4458,6 +4587,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4458
4587
|
spendUsd?: number | null | undefined;
|
|
4459
4588
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
4460
4589
|
waitingOnUser: boolean;
|
|
4590
|
+
asyncQuestionsOnly: boolean;
|
|
4461
4591
|
finishedAt: string | null;
|
|
4462
4592
|
delegation: {
|
|
4463
4593
|
requested: boolean;
|
|
@@ -4493,7 +4623,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4493
4623
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4494
4624
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4495
4625
|
review_requested?: boolean | undefined;
|
|
4496
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4626
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4497
4627
|
work_state?: {
|
|
4498
4628
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4499
4629
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4508,6 +4638,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
4508
4638
|
spendUsd?: number | null | undefined;
|
|
4509
4639
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
4510
4640
|
waitingOnUser?: boolean | undefined;
|
|
4641
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
4511
4642
|
finishedAt?: string | null | undefined;
|
|
4512
4643
|
delegation?: {
|
|
4513
4644
|
requested?: boolean | undefined;
|
|
@@ -4608,7 +4739,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4608
4739
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
4609
4740
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
4610
4741
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
4611
|
-
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"]>>>;
|
|
4742
|
+
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"]>>>;
|
|
4612
4743
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
4613
4744
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
4614
4745
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -4651,7 +4782,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4651
4782
|
checks: "failed" | "not_configured" | "passed";
|
|
4652
4783
|
review: "approved" | "blocked" | "not_run";
|
|
4653
4784
|
review_requested?: boolean | undefined;
|
|
4654
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4785
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4655
4786
|
work_state?: {
|
|
4656
4787
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4657
4788
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4668,7 +4799,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4668
4799
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4669
4800
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4670
4801
|
review_requested?: boolean | undefined;
|
|
4671
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4802
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4672
4803
|
work_state?: {
|
|
4673
4804
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4674
4805
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4683,6 +4814,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4683
4814
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4684
4815
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
4685
4816
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
4817
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
4686
4818
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4687
4819
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
4688
4820
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4742,7 +4874,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4742
4874
|
checks: "failed" | "not_configured" | "passed";
|
|
4743
4875
|
review: "approved" | "blocked" | "not_run";
|
|
4744
4876
|
review_requested?: boolean | undefined;
|
|
4745
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4877
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4746
4878
|
work_state?: {
|
|
4747
4879
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4748
4880
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4757,6 +4889,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4757
4889
|
spendUsd?: number | null | undefined;
|
|
4758
4890
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
4759
4891
|
waitingOnUser: boolean;
|
|
4892
|
+
asyncQuestionsOnly: boolean;
|
|
4760
4893
|
finishedAt: string | null;
|
|
4761
4894
|
delegation: {
|
|
4762
4895
|
requested: boolean;
|
|
@@ -4792,7 +4925,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4792
4925
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4793
4926
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4794
4927
|
review_requested?: boolean | undefined;
|
|
4795
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4928
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4796
4929
|
work_state?: {
|
|
4797
4930
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4798
4931
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4807,6 +4940,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4807
4940
|
spendUsd?: number | null | undefined;
|
|
4808
4941
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
4809
4942
|
waitingOnUser?: boolean | undefined;
|
|
4943
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
4810
4944
|
finishedAt?: string | null | undefined;
|
|
4811
4945
|
delegation?: {
|
|
4812
4946
|
requested?: boolean | undefined;
|
|
@@ -4918,7 +5052,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4918
5052
|
checks: "failed" | "not_configured" | "passed";
|
|
4919
5053
|
review: "approved" | "blocked" | "not_run";
|
|
4920
5054
|
review_requested?: boolean | undefined;
|
|
4921
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5055
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4922
5056
|
work_state?: {
|
|
4923
5057
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4924
5058
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4933,6 +5067,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4933
5067
|
spendUsd?: number | null | undefined;
|
|
4934
5068
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
4935
5069
|
waitingOnUser: boolean;
|
|
5070
|
+
asyncQuestionsOnly: boolean;
|
|
4936
5071
|
finishedAt: string | null;
|
|
4937
5072
|
delegation: {
|
|
4938
5073
|
requested: boolean;
|
|
@@ -4998,7 +5133,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
4998
5133
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4999
5134
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5000
5135
|
review_requested?: boolean | undefined;
|
|
5001
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5136
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5002
5137
|
work_state?: {
|
|
5003
5138
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5004
5139
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5013,6 +5148,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
5013
5148
|
spendUsd?: number | null | undefined;
|
|
5014
5149
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
5015
5150
|
waitingOnUser?: boolean | undefined;
|
|
5151
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
5016
5152
|
finishedAt?: string | null | undefined;
|
|
5017
5153
|
delegation?: {
|
|
5018
5154
|
requested?: boolean | undefined;
|
|
@@ -5398,7 +5534,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5398
5534
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
5399
5535
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
5400
5536
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
5401
|
-
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"]>>>;
|
|
5537
|
+
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"]>>>;
|
|
5402
5538
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
5403
5539
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
5404
5540
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -5441,7 +5577,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5441
5577
|
checks: "failed" | "not_configured" | "passed";
|
|
5442
5578
|
review: "approved" | "blocked" | "not_run";
|
|
5443
5579
|
review_requested?: boolean | undefined;
|
|
5444
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5580
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5445
5581
|
work_state?: {
|
|
5446
5582
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5447
5583
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5458,7 +5594,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5458
5594
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5459
5595
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5460
5596
|
review_requested?: boolean | undefined;
|
|
5461
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5597
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5462
5598
|
work_state?: {
|
|
5463
5599
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5464
5600
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5473,6 +5609,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5473
5609
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5474
5610
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
5475
5611
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
5612
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
5476
5613
|
finishedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5477
5614
|
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
5478
5615
|
requested: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -5532,7 +5669,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5532
5669
|
checks: "failed" | "not_configured" | "passed";
|
|
5533
5670
|
review: "approved" | "blocked" | "not_run";
|
|
5534
5671
|
review_requested?: boolean | undefined;
|
|
5535
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5672
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5536
5673
|
work_state?: {
|
|
5537
5674
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5538
5675
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5547,6 +5684,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5547
5684
|
spendUsd?: number | null | undefined;
|
|
5548
5685
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
5549
5686
|
waitingOnUser: boolean;
|
|
5687
|
+
asyncQuestionsOnly: boolean;
|
|
5550
5688
|
finishedAt: string | null;
|
|
5551
5689
|
delegation: {
|
|
5552
5690
|
requested: boolean;
|
|
@@ -5582,7 +5720,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5582
5720
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5583
5721
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5584
5722
|
review_requested?: boolean | undefined;
|
|
5585
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5723
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5586
5724
|
work_state?: {
|
|
5587
5725
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5588
5726
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5597,6 +5735,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5597
5735
|
spendUsd?: number | null | undefined;
|
|
5598
5736
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
5599
5737
|
waitingOnUser?: boolean | undefined;
|
|
5738
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
5600
5739
|
finishedAt?: string | null | undefined;
|
|
5601
5740
|
delegation?: {
|
|
5602
5741
|
requested?: boolean | undefined;
|
|
@@ -5708,7 +5847,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5708
5847
|
checks: "failed" | "not_configured" | "passed";
|
|
5709
5848
|
review: "approved" | "blocked" | "not_run";
|
|
5710
5849
|
review_requested?: boolean | undefined;
|
|
5711
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5850
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5712
5851
|
work_state?: {
|
|
5713
5852
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5714
5853
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5723,6 +5862,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5723
5862
|
spendUsd?: number | null | undefined;
|
|
5724
5863
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
5725
5864
|
waitingOnUser: boolean;
|
|
5865
|
+
asyncQuestionsOnly: boolean;
|
|
5726
5866
|
finishedAt: string | null;
|
|
5727
5867
|
delegation: {
|
|
5728
5868
|
requested: boolean;
|
|
@@ -5788,7 +5928,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5788
5928
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
5789
5929
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
5790
5930
|
review_requested?: boolean | undefined;
|
|
5791
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5931
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5792
5932
|
work_state?: {
|
|
5793
5933
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5794
5934
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5803,6 +5943,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5803
5943
|
spendUsd?: number | null | undefined;
|
|
5804
5944
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
5805
5945
|
waitingOnUser?: boolean | undefined;
|
|
5946
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
5806
5947
|
finishedAt?: string | null | undefined;
|
|
5807
5948
|
delegation?: {
|
|
5808
5949
|
requested?: boolean | undefined;
|
|
@@ -5901,7 +6042,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5901
6042
|
checks: "failed" | "not_configured" | "passed";
|
|
5902
6043
|
review: "approved" | "blocked" | "not_run";
|
|
5903
6044
|
review_requested?: boolean | undefined;
|
|
5904
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
6045
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
5905
6046
|
work_state?: {
|
|
5906
6047
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
5907
6048
|
source: "absent" | "constrained" | "validated";
|
|
@@ -5916,6 +6057,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5916
6057
|
spendUsd?: number | null | undefined;
|
|
5917
6058
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
5918
6059
|
waitingOnUser: boolean;
|
|
6060
|
+
asyncQuestionsOnly: boolean;
|
|
5919
6061
|
finishedAt: string | null;
|
|
5920
6062
|
delegation: {
|
|
5921
6063
|
requested: boolean;
|
|
@@ -6014,7 +6156,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
6014
6156
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
6015
6157
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
6016
6158
|
review_requested?: boolean | undefined;
|
|
6017
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
6159
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
6018
6160
|
work_state?: {
|
|
6019
6161
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
6020
6162
|
source: "absent" | "constrained" | "validated";
|
|
@@ -6029,6 +6171,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
6029
6171
|
spendUsd?: number | null | undefined;
|
|
6030
6172
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
6031
6173
|
waitingOnUser?: boolean | undefined;
|
|
6174
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
6032
6175
|
finishedAt?: string | null | undefined;
|
|
6033
6176
|
delegation?: {
|
|
6034
6177
|
requested?: boolean | undefined;
|