@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
|
@@ -107,6 +107,76 @@ export declare const ControlRunControlResponse: z.ZodObject<{
|
|
|
107
107
|
context?: Record<string, unknown> | undefined;
|
|
108
108
|
} | undefined;
|
|
109
109
|
}>>;
|
|
110
|
+
resumed: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
from: z.ZodObject<{
|
|
112
|
+
code: z.ZodEnum<["predecessor_failed", "predecessor_cancelled", "predecessor_interrupted", "predecessor_needs_input", "predecessor_incomplete", "predecessor_facts_unavailable", "predecessor_work_unverified", "predecessor_checks_failed", "predecessor_review_blocked", "predecessor_output_unavailable", "settlement_unknown", "stop_requested", "shutdown", "restart_requires_controller", "partition_retired", "admission_refused"]>;
|
|
113
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
message: z.ZodString;
|
|
115
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
117
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
118
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
119
|
+
}, "strict", z.ZodTypeAny, {
|
|
120
|
+
message: string;
|
|
121
|
+
code: string | null;
|
|
122
|
+
retryable: boolean;
|
|
123
|
+
required_actions: string[];
|
|
124
|
+
context: Record<string, unknown>;
|
|
125
|
+
}, {
|
|
126
|
+
message: string;
|
|
127
|
+
code?: string | null | undefined;
|
|
128
|
+
retryable?: boolean | undefined;
|
|
129
|
+
required_actions?: string[] | undefined;
|
|
130
|
+
context?: Record<string, unknown> | undefined;
|
|
131
|
+
}>>;
|
|
132
|
+
}, "strict", z.ZodTypeAny, {
|
|
133
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
134
|
+
problem?: {
|
|
135
|
+
message: string;
|
|
136
|
+
code: string | null;
|
|
137
|
+
retryable: boolean;
|
|
138
|
+
required_actions: string[];
|
|
139
|
+
context: Record<string, unknown>;
|
|
140
|
+
} | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
143
|
+
problem?: {
|
|
144
|
+
message: string;
|
|
145
|
+
code?: string | null | undefined;
|
|
146
|
+
retryable?: boolean | undefined;
|
|
147
|
+
required_actions?: string[] | undefined;
|
|
148
|
+
context?: Record<string, unknown> | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
}>;
|
|
151
|
+
reason: z.ZodLiteral<"process_scope_settled">;
|
|
152
|
+
at: z.ZodString;
|
|
153
|
+
}, "strict", z.ZodTypeAny, {
|
|
154
|
+
from: {
|
|
155
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
156
|
+
problem?: {
|
|
157
|
+
message: string;
|
|
158
|
+
code: string | null;
|
|
159
|
+
retryable: boolean;
|
|
160
|
+
required_actions: string[];
|
|
161
|
+
context: Record<string, unknown>;
|
|
162
|
+
} | undefined;
|
|
163
|
+
};
|
|
164
|
+
reason: "process_scope_settled";
|
|
165
|
+
at: string;
|
|
166
|
+
}, {
|
|
167
|
+
from: {
|
|
168
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
169
|
+
problem?: {
|
|
170
|
+
message: string;
|
|
171
|
+
code?: string | null | undefined;
|
|
172
|
+
retryable?: boolean | undefined;
|
|
173
|
+
required_actions?: string[] | undefined;
|
|
174
|
+
context?: Record<string, unknown> | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
};
|
|
177
|
+
reason: "process_scope_settled";
|
|
178
|
+
at: string;
|
|
179
|
+
}>>;
|
|
110
180
|
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
111
181
|
successorJobId: z.ZodNullable<z.ZodString>;
|
|
112
182
|
successorRunId: z.ZodNullable<z.ZodString>;
|
|
@@ -127,6 +197,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
|
|
|
127
197
|
context: Record<string, unknown>;
|
|
128
198
|
} | undefined;
|
|
129
199
|
} | null;
|
|
200
|
+
resumed?: {
|
|
201
|
+
from: {
|
|
202
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
203
|
+
problem?: {
|
|
204
|
+
message: string;
|
|
205
|
+
code: string | null;
|
|
206
|
+
retryable: boolean;
|
|
207
|
+
required_actions: string[];
|
|
208
|
+
context: Record<string, unknown>;
|
|
209
|
+
} | undefined;
|
|
210
|
+
};
|
|
211
|
+
reason: "process_scope_settled";
|
|
212
|
+
at: string;
|
|
213
|
+
} | undefined;
|
|
130
214
|
dispatchedRevision: number | null;
|
|
131
215
|
successorJobId: string | null;
|
|
132
216
|
successorRunId: string | null;
|
|
@@ -147,6 +231,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
|
|
|
147
231
|
context?: Record<string, unknown> | undefined;
|
|
148
232
|
} | undefined;
|
|
149
233
|
} | null;
|
|
234
|
+
resumed?: {
|
|
235
|
+
from: {
|
|
236
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
237
|
+
problem?: {
|
|
238
|
+
message: string;
|
|
239
|
+
code?: string | null | undefined;
|
|
240
|
+
retryable?: boolean | undefined;
|
|
241
|
+
required_actions?: string[] | undefined;
|
|
242
|
+
context?: Record<string, unknown> | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
};
|
|
245
|
+
reason: "process_scope_settled";
|
|
246
|
+
at: string;
|
|
247
|
+
} | undefined;
|
|
150
248
|
dispatchedRevision: number | null;
|
|
151
249
|
successorJobId: string | null;
|
|
152
250
|
successorRunId: string | null;
|
|
@@ -174,6 +272,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
|
|
|
174
272
|
context: Record<string, unknown>;
|
|
175
273
|
} | undefined;
|
|
176
274
|
} | null;
|
|
275
|
+
resumed?: {
|
|
276
|
+
from: {
|
|
277
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
278
|
+
problem?: {
|
|
279
|
+
message: string;
|
|
280
|
+
code: string | null;
|
|
281
|
+
retryable: boolean;
|
|
282
|
+
required_actions: string[];
|
|
283
|
+
context: Record<string, unknown>;
|
|
284
|
+
} | undefined;
|
|
285
|
+
};
|
|
286
|
+
reason: "process_scope_settled";
|
|
287
|
+
at: string;
|
|
288
|
+
} | undefined;
|
|
177
289
|
dispatchedRevision: number | null;
|
|
178
290
|
successorJobId: string | null;
|
|
179
291
|
successorRunId: string | null;
|
|
@@ -201,6 +313,20 @@ export declare const ControlRunControlResponse: z.ZodObject<{
|
|
|
201
313
|
context?: Record<string, unknown> | undefined;
|
|
202
314
|
} | undefined;
|
|
203
315
|
} | null;
|
|
316
|
+
resumed?: {
|
|
317
|
+
from: {
|
|
318
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
319
|
+
problem?: {
|
|
320
|
+
message: string;
|
|
321
|
+
code?: string | null | undefined;
|
|
322
|
+
retryable?: boolean | undefined;
|
|
323
|
+
required_actions?: string[] | undefined;
|
|
324
|
+
context?: Record<string, unknown> | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
};
|
|
327
|
+
reason: "process_scope_settled";
|
|
328
|
+
at: string;
|
|
329
|
+
} | undefined;
|
|
204
330
|
dispatchedRevision: number | null;
|
|
205
331
|
successorJobId: string | null;
|
|
206
332
|
successorRunId: string | null;
|
|
@@ -246,7 +372,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
246
372
|
}>>>;
|
|
247
373
|
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
248
374
|
resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
249
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
375
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
250
376
|
resetsAt: z.ZodNullable<z.ZodString>;
|
|
251
377
|
limitWindow: z.ZodNullable<z.ZodString>;
|
|
252
378
|
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
@@ -276,7 +402,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
276
402
|
root: string | null;
|
|
277
403
|
}>;
|
|
278
404
|
}, "strict", z.ZodTypeAny, {
|
|
279
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
405
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
280
406
|
resetsAt: string | null;
|
|
281
407
|
limitWindow: string | null;
|
|
282
408
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -292,7 +418,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
292
418
|
root: string | null;
|
|
293
419
|
};
|
|
294
420
|
}, {
|
|
295
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
421
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
296
422
|
resetsAt: string | null;
|
|
297
423
|
limitWindow: string | null;
|
|
298
424
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -312,7 +438,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
312
438
|
tryIndex: z.ZodNumber;
|
|
313
439
|
attemptId: z.ZodString;
|
|
314
440
|
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
315
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
441
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
316
442
|
from: z.ZodObject<{
|
|
317
443
|
runId: z.ZodString;
|
|
318
444
|
attemptId: z.ZodString;
|
|
@@ -346,7 +472,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
346
472
|
tryIndex: number;
|
|
347
473
|
attemptId: string;
|
|
348
474
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
349
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
475
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
350
476
|
from: {
|
|
351
477
|
runId: string;
|
|
352
478
|
attemptId: string;
|
|
@@ -368,7 +494,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
368
494
|
tryIndex: number;
|
|
369
495
|
attemptId: string;
|
|
370
496
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
371
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
497
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
372
498
|
from: {
|
|
373
499
|
runId: string;
|
|
374
500
|
attemptId: string;
|
|
@@ -391,23 +517,24 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
391
517
|
root: z.ZodString;
|
|
392
518
|
bytes: z.ZodNullable<z.ZodNumber>;
|
|
393
519
|
retainedAt: z.ZodString;
|
|
394
|
-
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
520
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
395
521
|
}, "strict", z.ZodTypeAny, {
|
|
396
522
|
root: string;
|
|
397
523
|
bytes: number | null;
|
|
398
524
|
retainedAt: string;
|
|
399
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
525
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
400
526
|
}, {
|
|
401
527
|
root: string;
|
|
402
528
|
bytes: number | null;
|
|
403
529
|
retainedAt: string;
|
|
404
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
530
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
405
531
|
}>>>;
|
|
406
532
|
taskId: z.ZodOptional<z.ZodString>;
|
|
407
533
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
408
534
|
runDir: z.ZodOptional<z.ZodString>;
|
|
409
535
|
error: z.ZodOptional<z.ZodString>;
|
|
410
536
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
537
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
538
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
412
539
|
scope: z.ZodLiteral<"turn_text">;
|
|
413
540
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -466,6 +593,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
466
593
|
native_code: "grok_credential_source_unconfirmed";
|
|
467
594
|
source: "grok_init";
|
|
468
595
|
reported_source: string;
|
|
596
|
+
}>, z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
598
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
599
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
kind: "vendor_not_retryable";
|
|
602
|
+
source: "agy_stderr";
|
|
603
|
+
error_id: string | null;
|
|
604
|
+
}, {
|
|
605
|
+
kind: "vendor_not_retryable";
|
|
606
|
+
source: "agy_stderr";
|
|
607
|
+
error_id: string | null;
|
|
469
608
|
}>]>>;
|
|
470
609
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
471
610
|
model: z.ZodString;
|
|
@@ -609,7 +748,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
609
748
|
}>>;
|
|
610
749
|
phase: z.ZodDefault<z.ZodString>;
|
|
611
750
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
612
|
-
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
751
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "model_selection_required", "raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "vendor_cli_too_old", "credential_source_unconfirmed", "vendor_not_retryable", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
613
752
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
614
753
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
615
754
|
safeMessage: z.ZodString;
|
|
@@ -648,6 +787,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
648
787
|
source: string;
|
|
649
788
|
}>>>;
|
|
650
789
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
790
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
651
791
|
harnessId: z.ZodString;
|
|
652
792
|
profileId: z.ZodNullable<z.ZodString>;
|
|
653
793
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -672,6 +812,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
672
812
|
source: string;
|
|
673
813
|
}>>;
|
|
674
814
|
}, "strip", z.ZodTypeAny, {
|
|
815
|
+
lastVendorError?: string | undefined;
|
|
675
816
|
harnessId: string;
|
|
676
817
|
profileId: string | null;
|
|
677
818
|
profileDisplayName: string | null;
|
|
@@ -688,6 +829,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
688
829
|
source: string;
|
|
689
830
|
} | null;
|
|
690
831
|
}, {
|
|
832
|
+
lastVendorError?: string | undefined;
|
|
691
833
|
harnessId: string;
|
|
692
834
|
profileId: string | null;
|
|
693
835
|
profileDisplayName: string | null;
|
|
@@ -706,6 +848,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
706
848
|
}>, "many">>;
|
|
707
849
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
708
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
|
+
lastVendorError?: string | null | undefined;
|
|
709
852
|
requestRefusal?: {
|
|
710
853
|
scope: "turn_text";
|
|
711
854
|
unit: "unicode_scalars";
|
|
@@ -725,6 +868,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
725
868
|
native_code: "grok_credential_source_unconfirmed";
|
|
726
869
|
source: "grok_init";
|
|
727
870
|
reported_source: string;
|
|
871
|
+
} | {
|
|
872
|
+
kind: "vendor_not_retryable";
|
|
873
|
+
source: "agy_stderr";
|
|
874
|
+
error_id: string | null;
|
|
728
875
|
} | undefined;
|
|
729
876
|
rawContextShortfall?: {
|
|
730
877
|
model: string;
|
|
@@ -764,7 +911,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
764
911
|
} | undefined;
|
|
765
912
|
phase: string;
|
|
766
913
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
767
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
914
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
|
|
768
915
|
harnessId: string | null;
|
|
769
916
|
attemptId: string | null;
|
|
770
917
|
safeMessage: string;
|
|
@@ -785,6 +932,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
785
932
|
source: string;
|
|
786
933
|
} | null;
|
|
787
934
|
poolAttempts: {
|
|
935
|
+
lastVendorError?: string | undefined;
|
|
788
936
|
harnessId: string;
|
|
789
937
|
profileId: string | null;
|
|
790
938
|
profileDisplayName: string | null;
|
|
@@ -803,6 +951,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
803
951
|
}[];
|
|
804
952
|
nextActions: string[];
|
|
805
953
|
}, {
|
|
954
|
+
lastVendorError?: string | null | undefined;
|
|
806
955
|
requestRefusal?: {
|
|
807
956
|
scope: "turn_text";
|
|
808
957
|
unit: "unicode_scalars";
|
|
@@ -822,6 +971,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
822
971
|
native_code: "grok_credential_source_unconfirmed";
|
|
823
972
|
source: "grok_init";
|
|
824
973
|
reported_source: string;
|
|
974
|
+
} | {
|
|
975
|
+
kind: "vendor_not_retryable";
|
|
976
|
+
source: "agy_stderr";
|
|
977
|
+
error_id: string | null;
|
|
825
978
|
} | undefined;
|
|
826
979
|
rawContextShortfall?: {
|
|
827
980
|
model: string;
|
|
@@ -861,7 +1014,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
861
1014
|
} | undefined;
|
|
862
1015
|
phase?: string | undefined;
|
|
863
1016
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
864
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
1017
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
|
|
865
1018
|
harnessId?: string | null | undefined;
|
|
866
1019
|
attemptId?: string | null | undefined;
|
|
867
1020
|
safeMessage: string;
|
|
@@ -882,6 +1035,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
882
1035
|
source: string;
|
|
883
1036
|
} | null | undefined;
|
|
884
1037
|
poolAttempts?: {
|
|
1038
|
+
lastVendorError?: string | undefined;
|
|
885
1039
|
harnessId: string;
|
|
886
1040
|
profileId: string | null;
|
|
887
1041
|
profileDisplayName: string | null;
|
|
@@ -1046,6 +1200,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1046
1200
|
attempted: z.ZodDefault<z.ZodBoolean>;
|
|
1047
1201
|
satisfied: z.ZodDefault<z.ZodBoolean>;
|
|
1048
1202
|
status: z.ZodDefault<z.ZodEnum<["none", "attempted", "satisfied", "failed", "unverified"]>>;
|
|
1203
|
+
verification: z.ZodDefault<z.ZodEnum<["verified", "dispatched", "none"]>>;
|
|
1204
|
+
verifiedContent: z.ZodDefault<z.ZodNullable<z.ZodEnum<["page", "search_results"]>>>;
|
|
1205
|
+
observation: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1206
|
+
evidence: z.ZodLiteral<"tool_calls">;
|
|
1207
|
+
network: z.ZodLiteral<"not_measured">;
|
|
1208
|
+
}, "strip", z.ZodTypeAny, {
|
|
1209
|
+
evidence: "tool_calls";
|
|
1210
|
+
network: "not_measured";
|
|
1211
|
+
}, {
|
|
1212
|
+
evidence: "tool_calls";
|
|
1213
|
+
network: "not_measured";
|
|
1214
|
+
}>>>;
|
|
1049
1215
|
tool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1050
1216
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1051
1217
|
errorSummary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1058,6 +1224,12 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1058
1224
|
attempted: boolean;
|
|
1059
1225
|
satisfied: boolean;
|
|
1060
1226
|
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
1227
|
+
verification: "dispatched" | "none" | "verified";
|
|
1228
|
+
verifiedContent: "page" | "search_results" | null;
|
|
1229
|
+
observation: {
|
|
1230
|
+
evidence: "tool_calls";
|
|
1231
|
+
network: "not_measured";
|
|
1232
|
+
} | null;
|
|
1061
1233
|
tool: string | null;
|
|
1062
1234
|
target: string | null;
|
|
1063
1235
|
errorSummary: string | null;
|
|
@@ -1070,12 +1242,72 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1070
1242
|
attempted?: boolean | undefined;
|
|
1071
1243
|
satisfied?: boolean | undefined;
|
|
1072
1244
|
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
1245
|
+
verification?: "dispatched" | "none" | "verified" | undefined;
|
|
1246
|
+
verifiedContent?: "page" | "search_results" | null | undefined;
|
|
1247
|
+
observation?: {
|
|
1248
|
+
evidence: "tool_calls";
|
|
1249
|
+
network: "not_measured";
|
|
1250
|
+
} | null | undefined;
|
|
1073
1251
|
tool?: string | null | undefined;
|
|
1074
1252
|
target?: string | null | undefined;
|
|
1075
1253
|
errorSummary?: string | null | undefined;
|
|
1076
1254
|
rawDetailRef?: string | null | undefined;
|
|
1077
1255
|
available?: boolean | undefined;
|
|
1078
1256
|
}>>;
|
|
1257
|
+
routeControls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1258
|
+
harnessId: z.ZodString;
|
|
1259
|
+
webMode: z.ZodEnum<["off", "auto", "cached", "live"]>;
|
|
1260
|
+
webMechanism: z.ZodEnum<["native", "tools", "uncontrolled", "none"]>;
|
|
1261
|
+
browser: z.ZodBoolean;
|
|
1262
|
+
browserStartup: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1263
|
+
status: z.ZodEnum<["ready", "failed", "cancelled", "starting", "not_observed"]>;
|
|
1264
|
+
waitedMs: z.ZodNumber;
|
|
1265
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
1268
|
+
waitedMs: number;
|
|
1269
|
+
error: string | null;
|
|
1270
|
+
}, {
|
|
1271
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
1272
|
+
waitedMs: number;
|
|
1273
|
+
error: string | null;
|
|
1274
|
+
}>>>;
|
|
1275
|
+
access: z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>;
|
|
1276
|
+
nativeAccess: z.ZodNullable<z.ZodString>;
|
|
1277
|
+
accessMechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "tool_policy", "native_settings", "none"]>;
|
|
1278
|
+
nativeSessionStarted: z.ZodBoolean;
|
|
1279
|
+
homeScoped: z.ZodNullable<z.ZodBoolean>;
|
|
1280
|
+
}, "strip", z.ZodTypeAny, {
|
|
1281
|
+
harnessId: string;
|
|
1282
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
1283
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
1284
|
+
browser: boolean;
|
|
1285
|
+
browserStartup: {
|
|
1286
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
1287
|
+
waitedMs: number;
|
|
1288
|
+
error: string | null;
|
|
1289
|
+
} | null;
|
|
1290
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1291
|
+
nativeAccess: string | null;
|
|
1292
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
1293
|
+
nativeSessionStarted: boolean;
|
|
1294
|
+
homeScoped: boolean | null;
|
|
1295
|
+
}, {
|
|
1296
|
+
harnessId: string;
|
|
1297
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
1298
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
1299
|
+
browser: boolean;
|
|
1300
|
+
browserStartup?: {
|
|
1301
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
1302
|
+
waitedMs: number;
|
|
1303
|
+
error: string | null;
|
|
1304
|
+
} | null | undefined;
|
|
1305
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1306
|
+
nativeAccess: string | null;
|
|
1307
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
1308
|
+
nativeSessionStarted: boolean;
|
|
1309
|
+
homeScoped: boolean | null;
|
|
1310
|
+
}>, "many">>;
|
|
1079
1311
|
requestRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1080
1312
|
capability: z.ZodEnum<["browser", "path_deny", "delegation"]>;
|
|
1081
1313
|
harness_id: z.ZodString;
|
|
@@ -1161,7 +1393,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1161
1393
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
1162
1394
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
1163
1395
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
1164
|
-
reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "work_report_contract"]>>>;
|
|
1396
|
+
reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "turn_limit_reached", "work_report_contract"]>>>;
|
|
1165
1397
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
1166
1398
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
1167
1399
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -1204,7 +1436,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1204
1436
|
checks: "failed" | "not_configured" | "passed";
|
|
1205
1437
|
review: "approved" | "blocked" | "not_run";
|
|
1206
1438
|
review_requested?: boolean | undefined;
|
|
1207
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
1439
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
1208
1440
|
work_state?: {
|
|
1209
1441
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1210
1442
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1221,7 +1453,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1221
1453
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1222
1454
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1223
1455
|
review_requested?: boolean | undefined;
|
|
1224
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
1456
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
1225
1457
|
work_state?: {
|
|
1226
1458
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1227
1459
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1234,6 +1466,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1234
1466
|
} | undefined;
|
|
1235
1467
|
}>>>;
|
|
1236
1468
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
1469
|
+
asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1237
1470
|
processScope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1238
1471
|
settled: z.ZodBoolean;
|
|
1239
1472
|
coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
|
|
@@ -1256,6 +1489,35 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1256
1489
|
survivors: number;
|
|
1257
1490
|
unreadable: number;
|
|
1258
1491
|
}>>>;
|
|
1492
|
+
processScopeLater: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1493
|
+
settled: z.ZodBoolean;
|
|
1494
|
+
coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
|
|
1495
|
+
completeness: z.ZodEnum<["complete", "not_provable"]>;
|
|
1496
|
+
census: z.ZodEnum<["ok", "failed", "unsupported"]>;
|
|
1497
|
+
survivors: z.ZodNumber;
|
|
1498
|
+
unreadable: z.ZodNumber;
|
|
1499
|
+
} & {
|
|
1500
|
+
attempt: z.ZodNumber;
|
|
1501
|
+
at: z.ZodString;
|
|
1502
|
+
}, "strict", z.ZodTypeAny, {
|
|
1503
|
+
settled: boolean;
|
|
1504
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1505
|
+
completeness: "complete" | "not_provable";
|
|
1506
|
+
census: "failed" | "ok" | "unsupported";
|
|
1507
|
+
survivors: number;
|
|
1508
|
+
unreadable: number;
|
|
1509
|
+
attempt: number;
|
|
1510
|
+
at: string;
|
|
1511
|
+
}, {
|
|
1512
|
+
settled: boolean;
|
|
1513
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1514
|
+
completeness: "complete" | "not_provable";
|
|
1515
|
+
census: "failed" | "ok" | "unsupported";
|
|
1516
|
+
survivors: number;
|
|
1517
|
+
unreadable: number;
|
|
1518
|
+
attempt: number;
|
|
1519
|
+
at: string;
|
|
1520
|
+
}>>>;
|
|
1259
1521
|
route: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1260
1522
|
requestedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1261
1523
|
observedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1420,7 +1682,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1420
1682
|
} | null;
|
|
1421
1683
|
continueFrom: string | null;
|
|
1422
1684
|
resumable: {
|
|
1423
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1685
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1424
1686
|
resetsAt: string | null;
|
|
1425
1687
|
limitWindow: string | null;
|
|
1426
1688
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1440,7 +1702,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1440
1702
|
tryIndex: number;
|
|
1441
1703
|
attemptId: string;
|
|
1442
1704
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1443
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1705
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1444
1706
|
from: {
|
|
1445
1707
|
runId: string;
|
|
1446
1708
|
attemptId: string;
|
|
@@ -1463,13 +1725,14 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1463
1725
|
root: string;
|
|
1464
1726
|
bytes: number | null;
|
|
1465
1727
|
retainedAt: string;
|
|
1466
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1728
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
1467
1729
|
} | null;
|
|
1468
1730
|
taskId?: string | undefined;
|
|
1469
1731
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
1470
1732
|
runDir?: string | undefined;
|
|
1471
1733
|
error?: string | undefined;
|
|
1472
1734
|
failure: {
|
|
1735
|
+
lastVendorError?: string | null | undefined;
|
|
1473
1736
|
requestRefusal?: {
|
|
1474
1737
|
scope: "turn_text";
|
|
1475
1738
|
unit: "unicode_scalars";
|
|
@@ -1489,6 +1752,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1489
1752
|
native_code: "grok_credential_source_unconfirmed";
|
|
1490
1753
|
source: "grok_init";
|
|
1491
1754
|
reported_source: string;
|
|
1755
|
+
} | {
|
|
1756
|
+
kind: "vendor_not_retryable";
|
|
1757
|
+
source: "agy_stderr";
|
|
1758
|
+
error_id: string | null;
|
|
1492
1759
|
} | undefined;
|
|
1493
1760
|
rawContextShortfall?: {
|
|
1494
1761
|
model: string;
|
|
@@ -1528,7 +1795,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1528
1795
|
} | undefined;
|
|
1529
1796
|
phase: string;
|
|
1530
1797
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1531
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
1798
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
|
|
1532
1799
|
harnessId: string | null;
|
|
1533
1800
|
attemptId: string | null;
|
|
1534
1801
|
safeMessage: string;
|
|
@@ -1549,6 +1816,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1549
1816
|
source: string;
|
|
1550
1817
|
} | null;
|
|
1551
1818
|
poolAttempts: {
|
|
1819
|
+
lastVendorError?: string | undefined;
|
|
1552
1820
|
harnessId: string;
|
|
1553
1821
|
profileId: string | null;
|
|
1554
1822
|
profileDisplayName: string | null;
|
|
@@ -1637,12 +1905,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1637
1905
|
attempted: boolean;
|
|
1638
1906
|
satisfied: boolean;
|
|
1639
1907
|
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
1908
|
+
verification: "dispatched" | "none" | "verified";
|
|
1909
|
+
verifiedContent: "page" | "search_results" | null;
|
|
1910
|
+
observation: {
|
|
1911
|
+
evidence: "tool_calls";
|
|
1912
|
+
network: "not_measured";
|
|
1913
|
+
} | null;
|
|
1640
1914
|
tool: string | null;
|
|
1641
1915
|
target: string | null;
|
|
1642
1916
|
errorSummary: string | null;
|
|
1643
1917
|
rawDetailRef: string | null;
|
|
1644
1918
|
available: boolean;
|
|
1645
1919
|
};
|
|
1920
|
+
routeControls: {
|
|
1921
|
+
harnessId: string;
|
|
1922
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
1923
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
1924
|
+
browser: boolean;
|
|
1925
|
+
browserStartup: {
|
|
1926
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
1927
|
+
waitedMs: number;
|
|
1928
|
+
error: string | null;
|
|
1929
|
+
} | null;
|
|
1930
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1931
|
+
nativeAccess: string | null;
|
|
1932
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
1933
|
+
nativeSessionStarted: boolean;
|
|
1934
|
+
homeScoped: boolean | null;
|
|
1935
|
+
}[];
|
|
1646
1936
|
requestRequirements: {
|
|
1647
1937
|
capability: "browser" | "delegation" | "path_deny";
|
|
1648
1938
|
harness_id: string;
|
|
@@ -1676,7 +1966,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1676
1966
|
checks: "failed" | "not_configured" | "passed";
|
|
1677
1967
|
review: "approved" | "blocked" | "not_run";
|
|
1678
1968
|
review_requested?: boolean | undefined;
|
|
1679
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
1969
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
1680
1970
|
work_state?: {
|
|
1681
1971
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1682
1972
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1689,6 +1979,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1689
1979
|
} | undefined;
|
|
1690
1980
|
} | null;
|
|
1691
1981
|
waitingOnUser: boolean;
|
|
1982
|
+
asyncQuestionsOnly: boolean;
|
|
1692
1983
|
processScope: {
|
|
1693
1984
|
settled: boolean;
|
|
1694
1985
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -1697,6 +1988,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1697
1988
|
survivors: number;
|
|
1698
1989
|
unreadable: number;
|
|
1699
1990
|
} | null;
|
|
1991
|
+
processScopeLater: {
|
|
1992
|
+
settled: boolean;
|
|
1993
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1994
|
+
completeness: "complete" | "not_provable";
|
|
1995
|
+
census: "failed" | "ok" | "unsupported";
|
|
1996
|
+
survivors: number;
|
|
1997
|
+
unreadable: number;
|
|
1998
|
+
attempt: number;
|
|
1999
|
+
at: string;
|
|
2000
|
+
} | null;
|
|
1700
2001
|
route: {
|
|
1701
2002
|
requestedModel: string | null;
|
|
1702
2003
|
observedModel: string | null;
|
|
@@ -1755,7 +2056,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1755
2056
|
} | null | undefined;
|
|
1756
2057
|
continueFrom?: string | null | undefined;
|
|
1757
2058
|
resumable?: {
|
|
1758
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2059
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1759
2060
|
resetsAt: string | null;
|
|
1760
2061
|
limitWindow: string | null;
|
|
1761
2062
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1775,7 +2076,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1775
2076
|
tryIndex: number;
|
|
1776
2077
|
attemptId: string;
|
|
1777
2078
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1778
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2079
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
1779
2080
|
from: {
|
|
1780
2081
|
runId: string;
|
|
1781
2082
|
attemptId: string;
|
|
@@ -1798,13 +2099,14 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1798
2099
|
root: string;
|
|
1799
2100
|
bytes: number | null;
|
|
1800
2101
|
retainedAt: string;
|
|
1801
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2102
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
1802
2103
|
} | null | undefined;
|
|
1803
2104
|
taskId?: string | undefined;
|
|
1804
2105
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
1805
2106
|
runDir?: string | undefined;
|
|
1806
2107
|
error?: string | undefined;
|
|
1807
2108
|
failure?: {
|
|
2109
|
+
lastVendorError?: string | null | undefined;
|
|
1808
2110
|
requestRefusal?: {
|
|
1809
2111
|
scope: "turn_text";
|
|
1810
2112
|
unit: "unicode_scalars";
|
|
@@ -1824,6 +2126,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1824
2126
|
native_code: "grok_credential_source_unconfirmed";
|
|
1825
2127
|
source: "grok_init";
|
|
1826
2128
|
reported_source: string;
|
|
2129
|
+
} | {
|
|
2130
|
+
kind: "vendor_not_retryable";
|
|
2131
|
+
source: "agy_stderr";
|
|
2132
|
+
error_id: string | null;
|
|
1827
2133
|
} | undefined;
|
|
1828
2134
|
rawContextShortfall?: {
|
|
1829
2135
|
model: string;
|
|
@@ -1863,7 +2169,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1863
2169
|
} | undefined;
|
|
1864
2170
|
phase?: string | undefined;
|
|
1865
2171
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1866
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2172
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
|
|
1867
2173
|
harnessId?: string | null | undefined;
|
|
1868
2174
|
attemptId?: string | null | undefined;
|
|
1869
2175
|
safeMessage: string;
|
|
@@ -1884,6 +2190,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1884
2190
|
source: string;
|
|
1885
2191
|
} | null | undefined;
|
|
1886
2192
|
poolAttempts?: {
|
|
2193
|
+
lastVendorError?: string | undefined;
|
|
1887
2194
|
harnessId: string;
|
|
1888
2195
|
profileId: string | null;
|
|
1889
2196
|
profileDisplayName: string | null;
|
|
@@ -1972,12 +2279,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1972
2279
|
attempted?: boolean | undefined;
|
|
1973
2280
|
satisfied?: boolean | undefined;
|
|
1974
2281
|
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
2282
|
+
verification?: "dispatched" | "none" | "verified" | undefined;
|
|
2283
|
+
verifiedContent?: "page" | "search_results" | null | undefined;
|
|
2284
|
+
observation?: {
|
|
2285
|
+
evidence: "tool_calls";
|
|
2286
|
+
network: "not_measured";
|
|
2287
|
+
} | null | undefined;
|
|
1975
2288
|
tool?: string | null | undefined;
|
|
1976
2289
|
target?: string | null | undefined;
|
|
1977
2290
|
errorSummary?: string | null | undefined;
|
|
1978
2291
|
rawDetailRef?: string | null | undefined;
|
|
1979
2292
|
available?: boolean | undefined;
|
|
1980
2293
|
} | undefined;
|
|
2294
|
+
routeControls?: {
|
|
2295
|
+
harnessId: string;
|
|
2296
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
2297
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
2298
|
+
browser: boolean;
|
|
2299
|
+
browserStartup?: {
|
|
2300
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2301
|
+
waitedMs: number;
|
|
2302
|
+
error: string | null;
|
|
2303
|
+
} | null | undefined;
|
|
2304
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
2305
|
+
nativeAccess: string | null;
|
|
2306
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
2307
|
+
nativeSessionStarted: boolean;
|
|
2308
|
+
homeScoped: boolean | null;
|
|
2309
|
+
}[] | undefined;
|
|
1981
2310
|
requestRequirements?: {
|
|
1982
2311
|
capability: "browser" | "delegation" | "path_deny";
|
|
1983
2312
|
harness_id: string;
|
|
@@ -2011,7 +2340,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2011
2340
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2012
2341
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2013
2342
|
review_requested?: boolean | undefined;
|
|
2014
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
2343
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
2015
2344
|
work_state?: {
|
|
2016
2345
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2017
2346
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2024,6 +2353,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2024
2353
|
} | undefined;
|
|
2025
2354
|
} | null | undefined;
|
|
2026
2355
|
waitingOnUser?: boolean | undefined;
|
|
2356
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
2027
2357
|
processScope?: {
|
|
2028
2358
|
settled: boolean;
|
|
2029
2359
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -2032,6 +2362,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2032
2362
|
survivors: number;
|
|
2033
2363
|
unreadable: number;
|
|
2034
2364
|
} | null | undefined;
|
|
2365
|
+
processScopeLater?: {
|
|
2366
|
+
settled: boolean;
|
|
2367
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2368
|
+
completeness: "complete" | "not_provable";
|
|
2369
|
+
census: "failed" | "ok" | "unsupported";
|
|
2370
|
+
survivors: number;
|
|
2371
|
+
unreadable: number;
|
|
2372
|
+
attempt: number;
|
|
2373
|
+
at: string;
|
|
2374
|
+
} | null | undefined;
|
|
2035
2375
|
route?: {
|
|
2036
2376
|
requestedModel?: string | null | undefined;
|
|
2037
2377
|
observedModel?: string | null | undefined;
|
|
@@ -2100,7 +2440,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2100
2440
|
} | null;
|
|
2101
2441
|
continueFrom: string | null;
|
|
2102
2442
|
resumable: {
|
|
2103
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2443
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2104
2444
|
resetsAt: string | null;
|
|
2105
2445
|
limitWindow: string | null;
|
|
2106
2446
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -2120,7 +2460,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2120
2460
|
tryIndex: number;
|
|
2121
2461
|
attemptId: string;
|
|
2122
2462
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2123
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2463
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2124
2464
|
from: {
|
|
2125
2465
|
runId: string;
|
|
2126
2466
|
attemptId: string;
|
|
@@ -2143,13 +2483,14 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2143
2483
|
root: string;
|
|
2144
2484
|
bytes: number | null;
|
|
2145
2485
|
retainedAt: string;
|
|
2146
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2486
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
2147
2487
|
} | null;
|
|
2148
2488
|
taskId?: string | undefined;
|
|
2149
2489
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
2150
2490
|
runDir?: string | undefined;
|
|
2151
2491
|
error?: string | undefined;
|
|
2152
2492
|
failure: {
|
|
2493
|
+
lastVendorError?: string | null | undefined;
|
|
2153
2494
|
requestRefusal?: {
|
|
2154
2495
|
scope: "turn_text";
|
|
2155
2496
|
unit: "unicode_scalars";
|
|
@@ -2169,6 +2510,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2169
2510
|
native_code: "grok_credential_source_unconfirmed";
|
|
2170
2511
|
source: "grok_init";
|
|
2171
2512
|
reported_source: string;
|
|
2513
|
+
} | {
|
|
2514
|
+
kind: "vendor_not_retryable";
|
|
2515
|
+
source: "agy_stderr";
|
|
2516
|
+
error_id: string | null;
|
|
2172
2517
|
} | undefined;
|
|
2173
2518
|
rawContextShortfall?: {
|
|
2174
2519
|
model: string;
|
|
@@ -2208,7 +2553,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2208
2553
|
} | undefined;
|
|
2209
2554
|
phase: string;
|
|
2210
2555
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2211
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2556
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
|
|
2212
2557
|
harnessId: string | null;
|
|
2213
2558
|
attemptId: string | null;
|
|
2214
2559
|
safeMessage: string;
|
|
@@ -2229,6 +2574,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2229
2574
|
source: string;
|
|
2230
2575
|
} | null;
|
|
2231
2576
|
poolAttempts: {
|
|
2577
|
+
lastVendorError?: string | undefined;
|
|
2232
2578
|
harnessId: string;
|
|
2233
2579
|
profileId: string | null;
|
|
2234
2580
|
profileDisplayName: string | null;
|
|
@@ -2317,12 +2663,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2317
2663
|
attempted: boolean;
|
|
2318
2664
|
satisfied: boolean;
|
|
2319
2665
|
status: "attempted" | "failed" | "none" | "satisfied" | "unverified";
|
|
2666
|
+
verification: "dispatched" | "none" | "verified";
|
|
2667
|
+
verifiedContent: "page" | "search_results" | null;
|
|
2668
|
+
observation: {
|
|
2669
|
+
evidence: "tool_calls";
|
|
2670
|
+
network: "not_measured";
|
|
2671
|
+
} | null;
|
|
2320
2672
|
tool: string | null;
|
|
2321
2673
|
target: string | null;
|
|
2322
2674
|
errorSummary: string | null;
|
|
2323
2675
|
rawDetailRef: string | null;
|
|
2324
2676
|
available: boolean;
|
|
2325
2677
|
};
|
|
2678
|
+
routeControls: {
|
|
2679
|
+
harnessId: string;
|
|
2680
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
2681
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
2682
|
+
browser: boolean;
|
|
2683
|
+
browserStartup: {
|
|
2684
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
2685
|
+
waitedMs: number;
|
|
2686
|
+
error: string | null;
|
|
2687
|
+
} | null;
|
|
2688
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
2689
|
+
nativeAccess: string | null;
|
|
2690
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
2691
|
+
nativeSessionStarted: boolean;
|
|
2692
|
+
homeScoped: boolean | null;
|
|
2693
|
+
}[];
|
|
2326
2694
|
requestRequirements: {
|
|
2327
2695
|
capability: "browser" | "delegation" | "path_deny";
|
|
2328
2696
|
harness_id: string;
|
|
@@ -2356,7 +2724,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2356
2724
|
checks: "failed" | "not_configured" | "passed";
|
|
2357
2725
|
review: "approved" | "blocked" | "not_run";
|
|
2358
2726
|
review_requested?: boolean | undefined;
|
|
2359
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
2727
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
|
|
2360
2728
|
work_state?: {
|
|
2361
2729
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2362
2730
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2369,6 +2737,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2369
2737
|
} | undefined;
|
|
2370
2738
|
} | null;
|
|
2371
2739
|
waitingOnUser: boolean;
|
|
2740
|
+
asyncQuestionsOnly: boolean;
|
|
2372
2741
|
processScope: {
|
|
2373
2742
|
settled: boolean;
|
|
2374
2743
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -2377,6 +2746,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2377
2746
|
survivors: number;
|
|
2378
2747
|
unreadable: number;
|
|
2379
2748
|
} | null;
|
|
2749
|
+
processScopeLater: {
|
|
2750
|
+
settled: boolean;
|
|
2751
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2752
|
+
completeness: "complete" | "not_provable";
|
|
2753
|
+
census: "failed" | "ok" | "unsupported";
|
|
2754
|
+
survivors: number;
|
|
2755
|
+
unreadable: number;
|
|
2756
|
+
attempt: number;
|
|
2757
|
+
at: string;
|
|
2758
|
+
} | null;
|
|
2380
2759
|
route: {
|
|
2381
2760
|
requestedModel: string | null;
|
|
2382
2761
|
observedModel: string | null;
|
|
@@ -2439,7 +2818,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2439
2818
|
} | null | undefined;
|
|
2440
2819
|
continueFrom?: string | null | undefined;
|
|
2441
2820
|
resumable?: {
|
|
2442
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2821
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2443
2822
|
resetsAt: string | null;
|
|
2444
2823
|
limitWindow: string | null;
|
|
2445
2824
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -2459,7 +2838,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2459
2838
|
tryIndex: number;
|
|
2460
2839
|
attemptId: string;
|
|
2461
2840
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2462
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2841
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
2463
2842
|
from: {
|
|
2464
2843
|
runId: string;
|
|
2465
2844
|
attemptId: string;
|
|
@@ -2482,13 +2861,14 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2482
2861
|
root: string;
|
|
2483
2862
|
bytes: number | null;
|
|
2484
2863
|
retainedAt: string;
|
|
2485
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2864
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
2486
2865
|
} | null | undefined;
|
|
2487
2866
|
taskId?: string | undefined;
|
|
2488
2867
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
2489
2868
|
runDir?: string | undefined;
|
|
2490
2869
|
error?: string | undefined;
|
|
2491
2870
|
failure?: {
|
|
2871
|
+
lastVendorError?: string | null | undefined;
|
|
2492
2872
|
requestRefusal?: {
|
|
2493
2873
|
scope: "turn_text";
|
|
2494
2874
|
unit: "unicode_scalars";
|
|
@@ -2508,6 +2888,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2508
2888
|
native_code: "grok_credential_source_unconfirmed";
|
|
2509
2889
|
source: "grok_init";
|
|
2510
2890
|
reported_source: string;
|
|
2891
|
+
} | {
|
|
2892
|
+
kind: "vendor_not_retryable";
|
|
2893
|
+
source: "agy_stderr";
|
|
2894
|
+
error_id: string | null;
|
|
2511
2895
|
} | undefined;
|
|
2512
2896
|
rawContextShortfall?: {
|
|
2513
2897
|
model: string;
|
|
@@ -2547,7 +2931,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2547
2931
|
} | undefined;
|
|
2548
2932
|
phase?: string | undefined;
|
|
2549
2933
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2550
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2934
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null | undefined;
|
|
2551
2935
|
harnessId?: string | null | undefined;
|
|
2552
2936
|
attemptId?: string | null | undefined;
|
|
2553
2937
|
safeMessage: string;
|
|
@@ -2568,6 +2952,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2568
2952
|
source: string;
|
|
2569
2953
|
} | null | undefined;
|
|
2570
2954
|
poolAttempts?: {
|
|
2955
|
+
lastVendorError?: string | undefined;
|
|
2571
2956
|
harnessId: string;
|
|
2572
2957
|
profileId: string | null;
|
|
2573
2958
|
profileDisplayName: string | null;
|
|
@@ -2656,12 +3041,34 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2656
3041
|
attempted?: boolean | undefined;
|
|
2657
3042
|
satisfied?: boolean | undefined;
|
|
2658
3043
|
status?: "attempted" | "failed" | "none" | "satisfied" | "unverified" | undefined;
|
|
3044
|
+
verification?: "dispatched" | "none" | "verified" | undefined;
|
|
3045
|
+
verifiedContent?: "page" | "search_results" | null | undefined;
|
|
3046
|
+
observation?: {
|
|
3047
|
+
evidence: "tool_calls";
|
|
3048
|
+
network: "not_measured";
|
|
3049
|
+
} | null | undefined;
|
|
2659
3050
|
tool?: string | null | undefined;
|
|
2660
3051
|
target?: string | null | undefined;
|
|
2661
3052
|
errorSummary?: string | null | undefined;
|
|
2662
3053
|
rawDetailRef?: string | null | undefined;
|
|
2663
3054
|
available?: boolean | undefined;
|
|
2664
3055
|
} | undefined;
|
|
3056
|
+
routeControls?: {
|
|
3057
|
+
harnessId: string;
|
|
3058
|
+
webMode: "auto" | "cached" | "live" | "off";
|
|
3059
|
+
webMechanism: "native" | "none" | "tools" | "uncontrolled";
|
|
3060
|
+
browser: boolean;
|
|
3061
|
+
browserStartup?: {
|
|
3062
|
+
status: "cancelled" | "failed" | "not_observed" | "ready" | "starting";
|
|
3063
|
+
waitedMs: number;
|
|
3064
|
+
error: string | null;
|
|
3065
|
+
} | null | undefined;
|
|
3066
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
3067
|
+
nativeAccess: string | null;
|
|
3068
|
+
accessMechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
|
|
3069
|
+
nativeSessionStarted: boolean;
|
|
3070
|
+
homeScoped: boolean | null;
|
|
3071
|
+
}[] | undefined;
|
|
2665
3072
|
requestRequirements?: {
|
|
2666
3073
|
capability: "browser" | "delegation" | "path_deny";
|
|
2667
3074
|
harness_id: string;
|
|
@@ -2695,7 +3102,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2695
3102
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2696
3103
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2697
3104
|
review_requested?: boolean | undefined;
|
|
2698
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
3105
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
|
|
2699
3106
|
work_state?: {
|
|
2700
3107
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2701
3108
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2708,6 +3115,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2708
3115
|
} | undefined;
|
|
2709
3116
|
} | null | undefined;
|
|
2710
3117
|
waitingOnUser?: boolean | undefined;
|
|
3118
|
+
asyncQuestionsOnly?: boolean | undefined;
|
|
2711
3119
|
processScope?: {
|
|
2712
3120
|
settled: boolean;
|
|
2713
3121
|
coverage: "marker" | "marker+capture" | "tree_only";
|
|
@@ -2716,6 +3124,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
2716
3124
|
survivors: number;
|
|
2717
3125
|
unreadable: number;
|
|
2718
3126
|
} | null | undefined;
|
|
3127
|
+
processScopeLater?: {
|
|
3128
|
+
settled: boolean;
|
|
3129
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
3130
|
+
completeness: "complete" | "not_provable";
|
|
3131
|
+
census: "failed" | "ok" | "unsupported";
|
|
3132
|
+
survivors: number;
|
|
3133
|
+
unreadable: number;
|
|
3134
|
+
attempt: number;
|
|
3135
|
+
at: string;
|
|
3136
|
+
} | null | undefined;
|
|
2719
3137
|
route?: {
|
|
2720
3138
|
requestedModel?: string | null | undefined;
|
|
2721
3139
|
observedModel?: string | null | undefined;
|
|
@@ -3392,10 +3810,11 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
3392
3810
|
runId: z.ZodString;
|
|
3393
3811
|
taskId: z.ZodOptional<z.ZodString>;
|
|
3394
3812
|
runDir: z.ZodString;
|
|
3395
|
-
}, "
|
|
3813
|
+
}, "taskGroupId"> & {
|
|
3396
3814
|
threadId: z.ZodString;
|
|
3397
3815
|
turnId: z.ZodString;
|
|
3398
3816
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
+
storeId?: string | undefined;
|
|
3399
3818
|
jobId?: string | undefined;
|
|
3400
3819
|
runId: string;
|
|
3401
3820
|
taskId?: string | undefined;
|
|
@@ -3403,6 +3822,7 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
3403
3822
|
threadId: string;
|
|
3404
3823
|
turnId: string;
|
|
3405
3824
|
}, {
|
|
3825
|
+
storeId?: string | undefined;
|
|
3406
3826
|
jobId?: string | undefined;
|
|
3407
3827
|
runId: string;
|
|
3408
3828
|
taskId?: string | undefined;
|
|
@@ -3410,16 +3830,19 @@ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
3410
3830
|
threadId: string;
|
|
3411
3831
|
turnId: string;
|
|
3412
3832
|
}>, z.ZodObject<{
|
|
3833
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3413
3834
|
jobId: z.ZodString;
|
|
3414
3835
|
threadId: z.ZodString;
|
|
3415
3836
|
turnId: z.ZodString;
|
|
3416
3837
|
state: z.ZodString;
|
|
3417
3838
|
}, "strict", z.ZodTypeAny, {
|
|
3839
|
+
storeId?: string | undefined;
|
|
3418
3840
|
jobId: string;
|
|
3419
3841
|
threadId: string;
|
|
3420
3842
|
turnId: string;
|
|
3421
3843
|
state: string;
|
|
3422
3844
|
}, {
|
|
3845
|
+
storeId?: string | undefined;
|
|
3423
3846
|
jobId: string;
|
|
3424
3847
|
threadId: string;
|
|
3425
3848
|
turnId: string;
|