@claudexor/schema 5.0.2 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-routing-evidence.d.ts +324 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +27 -2
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +3 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +6 -2
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +103 -6
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +32 -6
- package/dist/attachment.js.map +1 -1
- package/dist/attempt-execution.d.ts +23 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/attempt-execution.js +2 -0
- package/dist/attempt-execution.js.map +1 -1
- package/dist/browser-evidence.d.ts +85 -0
- package/dist/browser-evidence.d.ts.map +1 -0
- package/dist/browser-evidence.js +72 -0
- package/dist/browser-evidence.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +30 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +34 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +122 -0
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +2 -0
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +459 -36
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +11 -2
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-pending-interaction.d.ts +96 -0
- package/dist/control-pending-interaction.d.ts.map +1 -0
- package/dist/control-pending-interaction.js +42 -0
- package/dist/control-pending-interaction.js.map +1 -0
- package/dist/control-process-scope.d.ts +34 -0
- package/dist/control-process-scope.d.ts.map +1 -1
- package/dist/control-process-scope.js +13 -0
- package/dist/control-process-scope.js.map +1 -1
- package/dist/control-run-detail.d.ts +877 -89
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +2 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +40 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +34 -3
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.js.map +1 -1
- package/dist/control-trust.d.ts +8 -0
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +4 -0
- package/dist/control-trust.js.map +1 -1
- package/dist/control-web-evidence.d.ts +125 -0
- package/dist/control-web-evidence.d.ts.map +1 -0
- package/dist/control-web-evidence.js +109 -0
- package/dist/control-web-evidence.js.map +1 -0
- package/dist/control.d.ts +322 -179
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +52 -75
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +136 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +4 -3
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +4 -3
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -0
- package/dist/decision.js.map +1 -1
- package/dist/deferred-message.d.ts +646 -0
- package/dist/deferred-message.d.ts.map +1 -1
- package/dist/deferred-message.js +16 -2
- package/dist/deferred-message.js.map +1 -1
- package/dist/events.d.ts +6 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.js +1 -1
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +12 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +11 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-interaction.d.ts +32 -0
- package/dist/harness-interaction.d.ts.map +1 -1
- package/dist/harness-interaction.js +47 -0
- package/dist/harness-interaction.js.map +1 -1
- package/dist/harness-maintenance.d.ts +3561 -717
- package/dist/harness-maintenance.d.ts.map +1 -1
- package/dist/harness-maintenance.js +107 -111
- package/dist/harness-maintenance.js.map +1 -1
- package/dist/harness-program.d.ts +2164 -0
- package/dist/harness-program.d.ts.map +1 -0
- package/dist/harness-program.js +110 -0
- package/dist/harness-program.js.map +1 -0
- package/dist/harness.d.ts +162 -19
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +25 -15
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +453 -50
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-wait.d.ts +131 -0
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/mcp-run-wait.js +3 -2
- package/dist/mcp-run-wait.js.map +1 -1
- package/dist/model-operation.d.ts +107 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/operation.d.ts +1 -1
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/process-scope.d.ts +154 -0
- package/dist/process-scope.d.ts.map +1 -1
- package/dist/process-scope.js +16 -1
- package/dist/process-scope.js.map +1 -1
- package/dist/quota.d.ts +15 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +15 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +4 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +11 -5
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +26 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/route-controls.d.ts +49 -0
- package/dist/route-controls.d.ts.map +1 -0
- package/dist/route-controls.js +53 -0
- package/dist/route-controls.js.map +1 -0
- package/dist/route-health.d.ts +23 -23
- package/dist/route-health.js +1 -1
- package/dist/route-health.js.map +1 -1
- package/dist/run-continuation.d.ts +6 -6
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.js +1 -1
- package/dist/run-facts.js.map +1 -1
- package/dist/run-observation.d.ts +70 -0
- package/dist/run-observation.d.ts.map +1 -1
- package/dist/run-observation.js +31 -12
- package/dist/run-observation.js.map +1 -1
- package/dist/status-projection.d.ts +3 -2
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +5 -2
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group.d.ts +3 -0
- package/dist/task-group.d.ts.map +1 -1
- package/dist/task-group.js +11 -1
- package/dist/task-group.js.map +1 -1
- package/dist/task.d.ts +2 -2
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +4 -4
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +658 -117
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +19 -88
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-export.d.ts +847 -0
- package/dist/thread-export.d.ts.map +1 -0
- package/dist/thread-export.js +238 -0
- package/dist/thread-export.js.map +1 -0
- package/dist/thread-history.d.ts +356 -132
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread.d.ts +72 -6
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +19 -3
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +172 -21
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +114 -29
- package/dist/tool-ref.js.map +1 -1
- package/dist/web-evidence.d.ts +91 -0
- package/dist/web-evidence.d.ts.map +1 -0
- package/dist/web-evidence.js +77 -0
- package/dist/web-evidence.js.map +1 -0
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +20 -2
- package/generated/AttemptExecutionEvidence.schema.json +35 -0
- package/generated/ConformanceReport.schema.json +26 -0
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +28 -2
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +28 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +28 -2
- package/generated/ControlGcLastResponse.schema.json +22 -0
- package/generated/ControlGcReceipt.schema.json +13 -1
- package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
- package/generated/ControlHarnessListResponse.schema.json +28 -2
- package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
- package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
- package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
- package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
- package/generated/ControlHarnessModelsResponse.schema.json +27 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
- package/generated/ControlModelCatalogResponse.schema.json +27 -0
- package/generated/ControlPendingInteraction.schema.json +10 -1
- package/generated/ControlQueuedRunInfo.schema.json +1 -1
- package/generated/ControlResource.schema.json +5 -0
- package/generated/ControlResourceRelease.schema.json +44 -0
- package/generated/ControlResourceReleaseRequest.schema.json +27 -0
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRouteHealth.schema.json +13 -1
- package/generated/ControlRunControlResponse.schema.json +41 -3
- package/generated/ControlRunDecisionRequest.schema.json +8 -2
- package/generated/ControlRunDecisionResponse.schema.json +4 -3
- package/generated/ControlRunDetail.schema.json +403 -11
- package/generated/ControlRunListResponse.schema.json +317 -7
- package/generated/ControlRunMessageResponse.schema.json +1 -1
- package/generated/ControlRunRetryResponse.schema.json +1 -1
- package/generated/ControlRunStartInfo.schema.json +1 -1
- package/generated/ControlRunStartResponse.schema.json +2 -2
- package/generated/ControlRunSummary.schema.json +317 -7
- package/generated/ControlThreadDetail.schema.json +6 -0
- package/generated/ControlThreadTurnResponse.schema.json +9 -0
- package/generated/ControlTrustListResponse.schema.json +8 -0
- package/generated/ControlTrustState.schema.json +8 -0
- package/generated/ControlUploadImport.schema.json +12 -2
- package/generated/ControlUploadImportRequest.schema.json +5 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/DeferredMessageDetail.schema.json +43 -7
- package/generated/DeferredMessageProjection.schema.json +41 -3
- package/generated/DeferredMessageReadResult.schema.json +42 -4
- package/generated/DeferredMessageReceipt.schema.json +41 -3
- package/generated/EnvelopeCustody.schema.json +3 -2
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +181 -4
- package/generated/HarnessManifest.schema.json +28 -2
- package/generated/HarnessProgram.schema.json +278 -0
- package/generated/HarnessProgramIdentity.schema.json +25 -0
- package/generated/HarnessStatusDto.schema.json +28 -2
- package/generated/McpAccountsToolResult.schema.json +88 -2
- package/generated/McpRunHandleResult.schema.json +141 -6
- package/generated/McpRunToolResult.schema.json +140 -6
- package/generated/McpRunWaitResult.schema.json +52 -5
- package/generated/McpThreadTurnResult.schema.json +9 -0
- package/generated/NativeProgramEvidence.schema.json +38 -0
- package/generated/RawContextPacket.schema.json +6 -4
- package/generated/RawGitPatchEnvelope.schema.json +1 -1
- package/generated/RoutePoolDegradedPayload.schema.json +2 -1
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +62 -2
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +323 -7
- package/generated/RunWaitManyInput.schema.json +4 -0
- package/generated/RunWaitManyResult.schema.json +30 -0
- package/generated/SelectedHarnessProgram.schema.json +56 -0
- package/generated/TaskContract.schema.json +3 -3
- package/generated/TaskGroupReceipt.schema.json +1 -1
- package/generated/Thread.schema.json +41 -0
- package/generated/ThreadExportManifest.schema.json +461 -0
- package/generated/ThreadExportReceipt.schema.json +94 -0
- package/generated/ThreadHistoryPage.schema.json +71 -2
- package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
- package/generated/ThreadRetireRequest.schema.json +41 -0
- package/generated/ThreadRetirement.schema.json +175 -0
- package/generated/ThreadTurn.schema.json +1 -1
- package/generated/WorkspaceEnvelope.schema.json +1 -1
- package/package.json +2 -2
package/dist/mcp-run-result.d.ts
CHANGED
|
@@ -143,6 +143,76 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
143
143
|
context?: Record<string, unknown> | undefined;
|
|
144
144
|
} | undefined;
|
|
145
145
|
}>>;
|
|
146
|
+
resumed: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
from: z.ZodObject<{
|
|
148
|
+
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"]>;
|
|
149
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
message: z.ZodString;
|
|
151
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
153
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
154
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
|
+
}, "strict", z.ZodTypeAny, {
|
|
156
|
+
message: string;
|
|
157
|
+
code: string | null;
|
|
158
|
+
retryable: boolean;
|
|
159
|
+
required_actions: string[];
|
|
160
|
+
context: Record<string, unknown>;
|
|
161
|
+
}, {
|
|
162
|
+
message: string;
|
|
163
|
+
code?: string | null | undefined;
|
|
164
|
+
retryable?: boolean | undefined;
|
|
165
|
+
required_actions?: string[] | undefined;
|
|
166
|
+
context?: Record<string, unknown> | undefined;
|
|
167
|
+
}>>;
|
|
168
|
+
}, "strict", z.ZodTypeAny, {
|
|
169
|
+
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";
|
|
170
|
+
problem?: {
|
|
171
|
+
message: string;
|
|
172
|
+
code: string | null;
|
|
173
|
+
retryable: boolean;
|
|
174
|
+
required_actions: string[];
|
|
175
|
+
context: Record<string, unknown>;
|
|
176
|
+
} | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
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";
|
|
179
|
+
problem?: {
|
|
180
|
+
message: string;
|
|
181
|
+
code?: string | null | undefined;
|
|
182
|
+
retryable?: boolean | undefined;
|
|
183
|
+
required_actions?: string[] | undefined;
|
|
184
|
+
context?: Record<string, unknown> | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
}>;
|
|
187
|
+
reason: z.ZodLiteral<"process_scope_settled">;
|
|
188
|
+
at: z.ZodString;
|
|
189
|
+
}, "strict", z.ZodTypeAny, {
|
|
190
|
+
from: {
|
|
191
|
+
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";
|
|
192
|
+
problem?: {
|
|
193
|
+
message: string;
|
|
194
|
+
code: string | null;
|
|
195
|
+
retryable: boolean;
|
|
196
|
+
required_actions: string[];
|
|
197
|
+
context: Record<string, unknown>;
|
|
198
|
+
} | undefined;
|
|
199
|
+
};
|
|
200
|
+
reason: "process_scope_settled";
|
|
201
|
+
at: string;
|
|
202
|
+
}, {
|
|
203
|
+
from: {
|
|
204
|
+
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";
|
|
205
|
+
problem?: {
|
|
206
|
+
message: string;
|
|
207
|
+
code?: string | null | undefined;
|
|
208
|
+
retryable?: boolean | undefined;
|
|
209
|
+
required_actions?: string[] | undefined;
|
|
210
|
+
context?: Record<string, unknown> | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
};
|
|
213
|
+
reason: "process_scope_settled";
|
|
214
|
+
at: string;
|
|
215
|
+
}>>;
|
|
146
216
|
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
147
217
|
successorJobId: z.ZodNullable<z.ZodString>;
|
|
148
218
|
successorRunId: z.ZodNullable<z.ZodString>;
|
|
@@ -163,6 +233,20 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
163
233
|
context: Record<string, unknown>;
|
|
164
234
|
} | undefined;
|
|
165
235
|
} | null;
|
|
236
|
+
resumed?: {
|
|
237
|
+
from: {
|
|
238
|
+
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";
|
|
239
|
+
problem?: {
|
|
240
|
+
message: string;
|
|
241
|
+
code: string | null;
|
|
242
|
+
retryable: boolean;
|
|
243
|
+
required_actions: string[];
|
|
244
|
+
context: Record<string, unknown>;
|
|
245
|
+
} | undefined;
|
|
246
|
+
};
|
|
247
|
+
reason: "process_scope_settled";
|
|
248
|
+
at: string;
|
|
249
|
+
} | undefined;
|
|
166
250
|
dispatchedRevision: number | null;
|
|
167
251
|
successorJobId: string | null;
|
|
168
252
|
successorRunId: string | null;
|
|
@@ -183,11 +267,38 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
183
267
|
context?: Record<string, unknown> | undefined;
|
|
184
268
|
} | undefined;
|
|
185
269
|
} | null;
|
|
270
|
+
resumed?: {
|
|
271
|
+
from: {
|
|
272
|
+
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";
|
|
273
|
+
problem?: {
|
|
274
|
+
message: string;
|
|
275
|
+
code?: string | null | undefined;
|
|
276
|
+
retryable?: boolean | undefined;
|
|
277
|
+
required_actions?: string[] | undefined;
|
|
278
|
+
context?: Record<string, unknown> | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
};
|
|
281
|
+
reason: "process_scope_settled";
|
|
282
|
+
at: string;
|
|
283
|
+
} | undefined;
|
|
186
284
|
dispatchedRevision: number | null;
|
|
187
285
|
successorJobId: string | null;
|
|
188
286
|
successorRunId: string | null;
|
|
189
287
|
}>>>;
|
|
190
288
|
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
289
|
+
programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
290
|
+
path: z.ZodNullable<z.ZodString>;
|
|
291
|
+
version: z.ZodNullable<z.ZodString>;
|
|
292
|
+
versionSource: z.ZodEnum<["vendor_stream", "version_probe", "remembered", "unknown"]>;
|
|
293
|
+
}, "strict", z.ZodTypeAny, {
|
|
294
|
+
path: string | null;
|
|
295
|
+
version: string | null;
|
|
296
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
297
|
+
}, {
|
|
298
|
+
path: string | null;
|
|
299
|
+
version: string | null;
|
|
300
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
301
|
+
}>, "many">>;
|
|
191
302
|
attemptId: z.ZodString;
|
|
192
303
|
harnessId: z.ZodString;
|
|
193
304
|
processing: z.ZodOptional<z.ZodObject<{
|
|
@@ -251,6 +362,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
251
362
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
252
363
|
}>>;
|
|
253
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
|
+
programs?: {
|
|
366
|
+
path: string | null;
|
|
367
|
+
version: string | null;
|
|
368
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
369
|
+
}[] | undefined;
|
|
254
370
|
attemptId: string;
|
|
255
371
|
harnessId: string;
|
|
256
372
|
processing?: {
|
|
@@ -276,6 +392,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
276
392
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
277
393
|
} | undefined;
|
|
278
394
|
}, {
|
|
395
|
+
programs?: {
|
|
396
|
+
path: string | null;
|
|
397
|
+
version: string | null;
|
|
398
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
399
|
+
}[] | undefined;
|
|
279
400
|
attemptId: string;
|
|
280
401
|
harnessId: string;
|
|
281
402
|
processing?: {
|
|
@@ -317,7 +438,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
317
438
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
318
439
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
319
440
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
-
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"]>>>;
|
|
441
|
+
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"]>>>;
|
|
321
442
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
322
443
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
323
444
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -360,7 +481,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
360
481
|
checks: "failed" | "not_configured" | "passed";
|
|
361
482
|
review: "approved" | "blocked" | "not_run";
|
|
362
483
|
review_requested?: boolean | undefined;
|
|
363
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
484
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
364
485
|
work_state?: {
|
|
365
486
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
366
487
|
source: "absent" | "constrained" | "validated";
|
|
@@ -377,7 +498,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
377
498
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
378
499
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
379
500
|
review_requested?: boolean | undefined;
|
|
380
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
501
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
381
502
|
work_state?: {
|
|
382
503
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
383
504
|
source: "absent" | "constrained" | "validated";
|
|
@@ -562,7 +683,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
562
683
|
checks: "failed" | "not_configured" | "passed";
|
|
563
684
|
review: "approved" | "blocked" | "not_run";
|
|
564
685
|
review_requested?: boolean | undefined;
|
|
565
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
686
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
566
687
|
work_state?: {
|
|
567
688
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
568
689
|
source: "absent" | "constrained" | "validated";
|
|
@@ -635,7 +756,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
635
756
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
636
757
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
637
758
|
review_requested?: boolean | undefined;
|
|
638
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
759
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
639
760
|
work_state?: {
|
|
640
761
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
641
762
|
source: "absent" | "constrained" | "validated";
|
|
@@ -704,7 +825,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
704
825
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
705
826
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
706
827
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
707
|
-
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"]>>>;
|
|
828
|
+
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"]>>>;
|
|
708
829
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
709
830
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
710
831
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -747,7 +868,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
747
868
|
checks: "failed" | "not_configured" | "passed";
|
|
748
869
|
review: "approved" | "blocked" | "not_run";
|
|
749
870
|
review_requested?: boolean | undefined;
|
|
750
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
871
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
751
872
|
work_state?: {
|
|
752
873
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
753
874
|
source: "absent" | "constrained" | "validated";
|
|
@@ -764,7 +885,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
764
885
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
765
886
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
766
887
|
review_requested?: boolean | undefined;
|
|
767
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
888
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
768
889
|
work_state?: {
|
|
769
890
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
770
891
|
source: "absent" | "constrained" | "validated";
|
|
@@ -777,6 +898,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
777
898
|
} | undefined;
|
|
778
899
|
}>>>;
|
|
779
900
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
901
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
780
902
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
781
903
|
scope: z.ZodLiteral<"turn_text">;
|
|
782
904
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -835,6 +957,18 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
835
957
|
native_code: "grok_credential_source_unconfirmed";
|
|
836
958
|
source: "grok_init";
|
|
837
959
|
reported_source: string;
|
|
960
|
+
}>, z.ZodObject<{
|
|
961
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
962
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
963
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
964
|
+
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
kind: "vendor_not_retryable";
|
|
966
|
+
source: "agy_stderr";
|
|
967
|
+
error_id: string | null;
|
|
968
|
+
}, {
|
|
969
|
+
kind: "vendor_not_retryable";
|
|
970
|
+
source: "agy_stderr";
|
|
971
|
+
error_id: string | null;
|
|
838
972
|
}>]>>;
|
|
839
973
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
840
974
|
model: z.ZodString;
|
|
@@ -978,7 +1112,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
978
1112
|
}>>;
|
|
979
1113
|
phase: z.ZodDefault<z.ZodString>;
|
|
980
1114
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
981
|
-
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"]>>>;
|
|
1115
|
+
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"]>>>;
|
|
982
1116
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
983
1117
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
984
1118
|
safeMessage: z.ZodString;
|
|
@@ -1017,6 +1151,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1017
1151
|
source: string;
|
|
1018
1152
|
}>>>;
|
|
1019
1153
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1154
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
1020
1155
|
harnessId: z.ZodString;
|
|
1021
1156
|
profileId: z.ZodNullable<z.ZodString>;
|
|
1022
1157
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -1041,6 +1176,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1041
1176
|
source: string;
|
|
1042
1177
|
}>>;
|
|
1043
1178
|
}, "strip", z.ZodTypeAny, {
|
|
1179
|
+
lastVendorError?: string | undefined;
|
|
1044
1180
|
harnessId: string;
|
|
1045
1181
|
profileId: string | null;
|
|
1046
1182
|
profileDisplayName: string | null;
|
|
@@ -1057,6 +1193,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1057
1193
|
source: string;
|
|
1058
1194
|
} | null;
|
|
1059
1195
|
}, {
|
|
1196
|
+
lastVendorError?: string | undefined;
|
|
1060
1197
|
harnessId: string;
|
|
1061
1198
|
profileId: string | null;
|
|
1062
1199
|
profileDisplayName: string | null;
|
|
@@ -1075,6 +1212,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1075
1212
|
}>, "many">>;
|
|
1076
1213
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1077
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
+
lastVendorError?: string | null | undefined;
|
|
1078
1216
|
requestRefusal?: {
|
|
1079
1217
|
scope: "turn_text";
|
|
1080
1218
|
unit: "unicode_scalars";
|
|
@@ -1094,6 +1232,10 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1094
1232
|
native_code: "grok_credential_source_unconfirmed";
|
|
1095
1233
|
source: "grok_init";
|
|
1096
1234
|
reported_source: string;
|
|
1235
|
+
} | {
|
|
1236
|
+
kind: "vendor_not_retryable";
|
|
1237
|
+
source: "agy_stderr";
|
|
1238
|
+
error_id: string | null;
|
|
1097
1239
|
} | undefined;
|
|
1098
1240
|
rawContextShortfall?: {
|
|
1099
1241
|
model: string;
|
|
@@ -1133,7 +1275,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1133
1275
|
} | undefined;
|
|
1134
1276
|
phase: string;
|
|
1135
1277
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1136
|
-
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;
|
|
1278
|
+
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;
|
|
1137
1279
|
harnessId: string | null;
|
|
1138
1280
|
attemptId: string | null;
|
|
1139
1281
|
safeMessage: string;
|
|
@@ -1154,6 +1296,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1154
1296
|
source: string;
|
|
1155
1297
|
} | null;
|
|
1156
1298
|
poolAttempts: {
|
|
1299
|
+
lastVendorError?: string | undefined;
|
|
1157
1300
|
harnessId: string;
|
|
1158
1301
|
profileId: string | null;
|
|
1159
1302
|
profileDisplayName: string | null;
|
|
@@ -1172,6 +1315,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1172
1315
|
}[];
|
|
1173
1316
|
nextActions: string[];
|
|
1174
1317
|
}, {
|
|
1318
|
+
lastVendorError?: string | null | undefined;
|
|
1175
1319
|
requestRefusal?: {
|
|
1176
1320
|
scope: "turn_text";
|
|
1177
1321
|
unit: "unicode_scalars";
|
|
@@ -1191,6 +1335,10 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1191
1335
|
native_code: "grok_credential_source_unconfirmed";
|
|
1192
1336
|
source: "grok_init";
|
|
1193
1337
|
reported_source: string;
|
|
1338
|
+
} | {
|
|
1339
|
+
kind: "vendor_not_retryable";
|
|
1340
|
+
source: "agy_stderr";
|
|
1341
|
+
error_id: string | null;
|
|
1194
1342
|
} | undefined;
|
|
1195
1343
|
rawContextShortfall?: {
|
|
1196
1344
|
model: string;
|
|
@@ -1230,7 +1378,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1230
1378
|
} | undefined;
|
|
1231
1379
|
phase?: string | undefined;
|
|
1232
1380
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1233
|
-
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;
|
|
1381
|
+
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;
|
|
1234
1382
|
harnessId?: string | null | undefined;
|
|
1235
1383
|
attemptId?: string | null | undefined;
|
|
1236
1384
|
safeMessage: string;
|
|
@@ -1251,6 +1399,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1251
1399
|
source: string;
|
|
1252
1400
|
} | null | undefined;
|
|
1253
1401
|
poolAttempts?: {
|
|
1402
|
+
lastVendorError?: string | undefined;
|
|
1254
1403
|
harnessId: string;
|
|
1255
1404
|
profileId: string | null;
|
|
1256
1405
|
profileDisplayName: string | null;
|
|
@@ -1432,11 +1581,30 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1432
1581
|
context: Record<string, unknown>;
|
|
1433
1582
|
} | undefined;
|
|
1434
1583
|
} | null;
|
|
1584
|
+
resumed?: {
|
|
1585
|
+
from: {
|
|
1586
|
+
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";
|
|
1587
|
+
problem?: {
|
|
1588
|
+
message: string;
|
|
1589
|
+
code: string | null;
|
|
1590
|
+
retryable: boolean;
|
|
1591
|
+
required_actions: string[];
|
|
1592
|
+
context: Record<string, unknown>;
|
|
1593
|
+
} | undefined;
|
|
1594
|
+
};
|
|
1595
|
+
reason: "process_scope_settled";
|
|
1596
|
+
at: string;
|
|
1597
|
+
} | undefined;
|
|
1435
1598
|
dispatchedRevision: number | null;
|
|
1436
1599
|
successorJobId: string | null;
|
|
1437
1600
|
successorRunId: string | null;
|
|
1438
1601
|
} | null | undefined;
|
|
1439
1602
|
attemptExecution?: {
|
|
1603
|
+
programs?: {
|
|
1604
|
+
path: string | null;
|
|
1605
|
+
version: string | null;
|
|
1606
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
1607
|
+
}[] | undefined;
|
|
1440
1608
|
attemptId: string;
|
|
1441
1609
|
harnessId: string;
|
|
1442
1610
|
processing?: {
|
|
@@ -1478,7 +1646,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1478
1646
|
checks: "failed" | "not_configured" | "passed";
|
|
1479
1647
|
review: "approved" | "blocked" | "not_run";
|
|
1480
1648
|
review_requested?: boolean | undefined;
|
|
1481
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1649
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1482
1650
|
work_state?: {
|
|
1483
1651
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1484
1652
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1547,7 +1715,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1547
1715
|
checks: "failed" | "not_configured" | "passed";
|
|
1548
1716
|
review: "approved" | "blocked" | "not_run";
|
|
1549
1717
|
review_requested?: boolean | undefined;
|
|
1550
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1718
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1551
1719
|
work_state?: {
|
|
1552
1720
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1553
1721
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1560,6 +1728,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1560
1728
|
} | undefined;
|
|
1561
1729
|
} | null;
|
|
1562
1730
|
failure: {
|
|
1731
|
+
lastVendorError?: string | null | undefined;
|
|
1563
1732
|
requestRefusal?: {
|
|
1564
1733
|
scope: "turn_text";
|
|
1565
1734
|
unit: "unicode_scalars";
|
|
@@ -1579,6 +1748,10 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1579
1748
|
native_code: "grok_credential_source_unconfirmed";
|
|
1580
1749
|
source: "grok_init";
|
|
1581
1750
|
reported_source: string;
|
|
1751
|
+
} | {
|
|
1752
|
+
kind: "vendor_not_retryable";
|
|
1753
|
+
source: "agy_stderr";
|
|
1754
|
+
error_id: string | null;
|
|
1582
1755
|
} | undefined;
|
|
1583
1756
|
rawContextShortfall?: {
|
|
1584
1757
|
model: string;
|
|
@@ -1618,7 +1791,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1618
1791
|
} | undefined;
|
|
1619
1792
|
phase: string;
|
|
1620
1793
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1621
|
-
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;
|
|
1794
|
+
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;
|
|
1622
1795
|
harnessId: string | null;
|
|
1623
1796
|
attemptId: string | null;
|
|
1624
1797
|
safeMessage: string;
|
|
@@ -1639,6 +1812,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1639
1812
|
source: string;
|
|
1640
1813
|
} | null;
|
|
1641
1814
|
poolAttempts: {
|
|
1815
|
+
lastVendorError?: string | undefined;
|
|
1642
1816
|
harnessId: string;
|
|
1643
1817
|
profileId: string | null;
|
|
1644
1818
|
profileDisplayName: string | null;
|
|
@@ -1721,11 +1895,30 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1721
1895
|
context?: Record<string, unknown> | undefined;
|
|
1722
1896
|
} | undefined;
|
|
1723
1897
|
} | null;
|
|
1898
|
+
resumed?: {
|
|
1899
|
+
from: {
|
|
1900
|
+
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";
|
|
1901
|
+
problem?: {
|
|
1902
|
+
message: string;
|
|
1903
|
+
code?: string | null | undefined;
|
|
1904
|
+
retryable?: boolean | undefined;
|
|
1905
|
+
required_actions?: string[] | undefined;
|
|
1906
|
+
context?: Record<string, unknown> | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
};
|
|
1909
|
+
reason: "process_scope_settled";
|
|
1910
|
+
at: string;
|
|
1911
|
+
} | undefined;
|
|
1724
1912
|
dispatchedRevision: number | null;
|
|
1725
1913
|
successorJobId: string | null;
|
|
1726
1914
|
successorRunId: string | null;
|
|
1727
1915
|
} | null | undefined;
|
|
1728
1916
|
attemptExecution?: {
|
|
1917
|
+
programs?: {
|
|
1918
|
+
path: string | null;
|
|
1919
|
+
version: string | null;
|
|
1920
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
1921
|
+
}[] | undefined;
|
|
1729
1922
|
attemptId: string;
|
|
1730
1923
|
harnessId: string;
|
|
1731
1924
|
processing?: {
|
|
@@ -1767,7 +1960,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1767
1960
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1768
1961
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1769
1962
|
review_requested?: boolean | undefined;
|
|
1770
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1963
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1771
1964
|
work_state?: {
|
|
1772
1965
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1773
1966
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1836,7 +2029,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1836
2029
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1837
2030
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1838
2031
|
review_requested?: boolean | undefined;
|
|
1839
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2032
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
1840
2033
|
work_state?: {
|
|
1841
2034
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1842
2035
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1849,6 +2042,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1849
2042
|
} | undefined;
|
|
1850
2043
|
} | null | undefined;
|
|
1851
2044
|
failure?: {
|
|
2045
|
+
lastVendorError?: string | null | undefined;
|
|
1852
2046
|
requestRefusal?: {
|
|
1853
2047
|
scope: "turn_text";
|
|
1854
2048
|
unit: "unicode_scalars";
|
|
@@ -1868,6 +2062,10 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1868
2062
|
native_code: "grok_credential_source_unconfirmed";
|
|
1869
2063
|
source: "grok_init";
|
|
1870
2064
|
reported_source: string;
|
|
2065
|
+
} | {
|
|
2066
|
+
kind: "vendor_not_retryable";
|
|
2067
|
+
source: "agy_stderr";
|
|
2068
|
+
error_id: string | null;
|
|
1871
2069
|
} | undefined;
|
|
1872
2070
|
rawContextShortfall?: {
|
|
1873
2071
|
model: string;
|
|
@@ -1907,7 +2105,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1907
2105
|
} | undefined;
|
|
1908
2106
|
phase?: string | undefined;
|
|
1909
2107
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1910
|
-
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;
|
|
2108
|
+
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;
|
|
1911
2109
|
harnessId?: string | null | undefined;
|
|
1912
2110
|
attemptId?: string | null | undefined;
|
|
1913
2111
|
safeMessage: string;
|
|
@@ -1928,6 +2126,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1928
2126
|
source: string;
|
|
1929
2127
|
} | null | undefined;
|
|
1930
2128
|
poolAttempts?: {
|
|
2129
|
+
lastVendorError?: string | undefined;
|
|
1931
2130
|
harnessId: string;
|
|
1932
2131
|
profileId: string | null;
|
|
1933
2132
|
profileDisplayName: string | null;
|
|
@@ -2047,6 +2246,76 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2047
2246
|
context?: Record<string, unknown> | undefined;
|
|
2048
2247
|
} | undefined;
|
|
2049
2248
|
}>>;
|
|
2249
|
+
resumed: z.ZodOptional<z.ZodObject<{
|
|
2250
|
+
from: z.ZodObject<{
|
|
2251
|
+
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"]>;
|
|
2252
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
2253
|
+
message: z.ZodString;
|
|
2254
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2255
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
2256
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2257
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2258
|
+
}, "strict", z.ZodTypeAny, {
|
|
2259
|
+
message: string;
|
|
2260
|
+
code: string | null;
|
|
2261
|
+
retryable: boolean;
|
|
2262
|
+
required_actions: string[];
|
|
2263
|
+
context: Record<string, unknown>;
|
|
2264
|
+
}, {
|
|
2265
|
+
message: string;
|
|
2266
|
+
code?: string | null | undefined;
|
|
2267
|
+
retryable?: boolean | undefined;
|
|
2268
|
+
required_actions?: string[] | undefined;
|
|
2269
|
+
context?: Record<string, unknown> | undefined;
|
|
2270
|
+
}>>;
|
|
2271
|
+
}, "strict", z.ZodTypeAny, {
|
|
2272
|
+
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";
|
|
2273
|
+
problem?: {
|
|
2274
|
+
message: string;
|
|
2275
|
+
code: string | null;
|
|
2276
|
+
retryable: boolean;
|
|
2277
|
+
required_actions: string[];
|
|
2278
|
+
context: Record<string, unknown>;
|
|
2279
|
+
} | undefined;
|
|
2280
|
+
}, {
|
|
2281
|
+
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";
|
|
2282
|
+
problem?: {
|
|
2283
|
+
message: string;
|
|
2284
|
+
code?: string | null | undefined;
|
|
2285
|
+
retryable?: boolean | undefined;
|
|
2286
|
+
required_actions?: string[] | undefined;
|
|
2287
|
+
context?: Record<string, unknown> | undefined;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
}>;
|
|
2290
|
+
reason: z.ZodLiteral<"process_scope_settled">;
|
|
2291
|
+
at: z.ZodString;
|
|
2292
|
+
}, "strict", z.ZodTypeAny, {
|
|
2293
|
+
from: {
|
|
2294
|
+
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";
|
|
2295
|
+
problem?: {
|
|
2296
|
+
message: string;
|
|
2297
|
+
code: string | null;
|
|
2298
|
+
retryable: boolean;
|
|
2299
|
+
required_actions: string[];
|
|
2300
|
+
context: Record<string, unknown>;
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
};
|
|
2303
|
+
reason: "process_scope_settled";
|
|
2304
|
+
at: string;
|
|
2305
|
+
}, {
|
|
2306
|
+
from: {
|
|
2307
|
+
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";
|
|
2308
|
+
problem?: {
|
|
2309
|
+
message: string;
|
|
2310
|
+
code?: string | null | undefined;
|
|
2311
|
+
retryable?: boolean | undefined;
|
|
2312
|
+
required_actions?: string[] | undefined;
|
|
2313
|
+
context?: Record<string, unknown> | undefined;
|
|
2314
|
+
} | undefined;
|
|
2315
|
+
};
|
|
2316
|
+
reason: "process_scope_settled";
|
|
2317
|
+
at: string;
|
|
2318
|
+
}>>;
|
|
2050
2319
|
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
2051
2320
|
successorJobId: z.ZodNullable<z.ZodString>;
|
|
2052
2321
|
successorRunId: z.ZodNullable<z.ZodString>;
|
|
@@ -2067,6 +2336,20 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2067
2336
|
context: Record<string, unknown>;
|
|
2068
2337
|
} | undefined;
|
|
2069
2338
|
} | null;
|
|
2339
|
+
resumed?: {
|
|
2340
|
+
from: {
|
|
2341
|
+
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";
|
|
2342
|
+
problem?: {
|
|
2343
|
+
message: string;
|
|
2344
|
+
code: string | null;
|
|
2345
|
+
retryable: boolean;
|
|
2346
|
+
required_actions: string[];
|
|
2347
|
+
context: Record<string, unknown>;
|
|
2348
|
+
} | undefined;
|
|
2349
|
+
};
|
|
2350
|
+
reason: "process_scope_settled";
|
|
2351
|
+
at: string;
|
|
2352
|
+
} | undefined;
|
|
2070
2353
|
dispatchedRevision: number | null;
|
|
2071
2354
|
successorJobId: string | null;
|
|
2072
2355
|
successorRunId: string | null;
|
|
@@ -2087,11 +2370,38 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2087
2370
|
context?: Record<string, unknown> | undefined;
|
|
2088
2371
|
} | undefined;
|
|
2089
2372
|
} | null;
|
|
2373
|
+
resumed?: {
|
|
2374
|
+
from: {
|
|
2375
|
+
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";
|
|
2376
|
+
problem?: {
|
|
2377
|
+
message: string;
|
|
2378
|
+
code?: string | null | undefined;
|
|
2379
|
+
retryable?: boolean | undefined;
|
|
2380
|
+
required_actions?: string[] | undefined;
|
|
2381
|
+
context?: Record<string, unknown> | undefined;
|
|
2382
|
+
} | undefined;
|
|
2383
|
+
};
|
|
2384
|
+
reason: "process_scope_settled";
|
|
2385
|
+
at: string;
|
|
2386
|
+
} | undefined;
|
|
2090
2387
|
dispatchedRevision: number | null;
|
|
2091
2388
|
successorJobId: string | null;
|
|
2092
2389
|
successorRunId: string | null;
|
|
2093
2390
|
}>>>;
|
|
2094
2391
|
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2392
|
+
programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2393
|
+
path: z.ZodNullable<z.ZodString>;
|
|
2394
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2395
|
+
versionSource: z.ZodEnum<["vendor_stream", "version_probe", "remembered", "unknown"]>;
|
|
2396
|
+
}, "strict", z.ZodTypeAny, {
|
|
2397
|
+
path: string | null;
|
|
2398
|
+
version: string | null;
|
|
2399
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
2400
|
+
}, {
|
|
2401
|
+
path: string | null;
|
|
2402
|
+
version: string | null;
|
|
2403
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
2404
|
+
}>, "many">>;
|
|
2095
2405
|
attemptId: z.ZodString;
|
|
2096
2406
|
harnessId: z.ZodString;
|
|
2097
2407
|
processing: z.ZodOptional<z.ZodObject<{
|
|
@@ -2155,6 +2465,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2155
2465
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
2156
2466
|
}>>;
|
|
2157
2467
|
}, "strict", z.ZodTypeAny, {
|
|
2468
|
+
programs?: {
|
|
2469
|
+
path: string | null;
|
|
2470
|
+
version: string | null;
|
|
2471
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
2472
|
+
}[] | undefined;
|
|
2158
2473
|
attemptId: string;
|
|
2159
2474
|
harnessId: string;
|
|
2160
2475
|
processing?: {
|
|
@@ -2180,6 +2495,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2180
2495
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
2181
2496
|
} | undefined;
|
|
2182
2497
|
}, {
|
|
2498
|
+
programs?: {
|
|
2499
|
+
path: string | null;
|
|
2500
|
+
version: string | null;
|
|
2501
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
2502
|
+
}[] | undefined;
|
|
2183
2503
|
attemptId: string;
|
|
2184
2504
|
harnessId: string;
|
|
2185
2505
|
processing?: {
|
|
@@ -2220,7 +2540,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2220
2540
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2221
2541
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2222
2542
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2223
|
-
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"]>>>;
|
|
2543
|
+
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"]>>>;
|
|
2224
2544
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2225
2545
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2226
2546
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2263,7 +2583,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2263
2583
|
checks: "failed" | "not_configured" | "passed";
|
|
2264
2584
|
review: "approved" | "blocked" | "not_run";
|
|
2265
2585
|
review_requested?: boolean | undefined;
|
|
2266
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2586
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2267
2587
|
work_state?: {
|
|
2268
2588
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2269
2589
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2280,7 +2600,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2280
2600
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2281
2601
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2282
2602
|
review_requested?: boolean | undefined;
|
|
2283
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2603
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2284
2604
|
work_state?: {
|
|
2285
2605
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2286
2606
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2465,7 +2785,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2465
2785
|
checks: "failed" | "not_configured" | "passed";
|
|
2466
2786
|
review: "approved" | "blocked" | "not_run";
|
|
2467
2787
|
review_requested?: boolean | undefined;
|
|
2468
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2788
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2469
2789
|
work_state?: {
|
|
2470
2790
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2471
2791
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2538,7 +2858,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2538
2858
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2539
2859
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2540
2860
|
review_requested?: boolean | undefined;
|
|
2541
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2861
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2542
2862
|
work_state?: {
|
|
2543
2863
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2544
2864
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2609,7 +2929,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2609
2929
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
2610
2930
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
2611
2931
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
2612
|
-
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"]>>>;
|
|
2932
|
+
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"]>>>;
|
|
2613
2933
|
work_state: z.ZodOptional<z.ZodObject<{
|
|
2614
2934
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
2615
2935
|
source: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
@@ -2652,7 +2972,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2652
2972
|
checks: "failed" | "not_configured" | "passed";
|
|
2653
2973
|
review: "approved" | "blocked" | "not_run";
|
|
2654
2974
|
review_requested?: boolean | undefined;
|
|
2655
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2975
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2656
2976
|
work_state?: {
|
|
2657
2977
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2658
2978
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2669,7 +2989,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2669
2989
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
2670
2990
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
2671
2991
|
review_requested?: boolean | undefined;
|
|
2672
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2992
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
2673
2993
|
work_state?: {
|
|
2674
2994
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2675
2995
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2682,6 +3002,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2682
3002
|
} | undefined;
|
|
2683
3003
|
}>>>;
|
|
2684
3004
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3005
|
+
lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2685
3006
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2686
3007
|
scope: z.ZodLiteral<"turn_text">;
|
|
2687
3008
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -2740,6 +3061,18 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2740
3061
|
native_code: "grok_credential_source_unconfirmed";
|
|
2741
3062
|
source: "grok_init";
|
|
2742
3063
|
reported_source: string;
|
|
3064
|
+
}>, z.ZodObject<{
|
|
3065
|
+
kind: z.ZodLiteral<"vendor_not_retryable">;
|
|
3066
|
+
source: z.ZodLiteral<"agy_stderr">;
|
|
3067
|
+
error_id: z.ZodNullable<z.ZodString>;
|
|
3068
|
+
}, "strip", z.ZodTypeAny, {
|
|
3069
|
+
kind: "vendor_not_retryable";
|
|
3070
|
+
source: "agy_stderr";
|
|
3071
|
+
error_id: string | null;
|
|
3072
|
+
}, {
|
|
3073
|
+
kind: "vendor_not_retryable";
|
|
3074
|
+
source: "agy_stderr";
|
|
3075
|
+
error_id: string | null;
|
|
2743
3076
|
}>]>>;
|
|
2744
3077
|
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
2745
3078
|
model: z.ZodString;
|
|
@@ -2883,7 +3216,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2883
3216
|
}>>;
|
|
2884
3217
|
phase: z.ZodDefault<z.ZodString>;
|
|
2885
3218
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
2886
|
-
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"]>>>;
|
|
3219
|
+
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"]>>>;
|
|
2887
3220
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2888
3221
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2889
3222
|
safeMessage: z.ZodString;
|
|
@@ -2922,6 +3255,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2922
3255
|
source: string;
|
|
2923
3256
|
}>>>;
|
|
2924
3257
|
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3258
|
+
lastVendorError: z.ZodOptional<z.ZodString>;
|
|
2925
3259
|
harnessId: z.ZodString;
|
|
2926
3260
|
profileId: z.ZodNullable<z.ZodString>;
|
|
2927
3261
|
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
@@ -2946,6 +3280,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2946
3280
|
source: string;
|
|
2947
3281
|
}>>;
|
|
2948
3282
|
}, "strip", z.ZodTypeAny, {
|
|
3283
|
+
lastVendorError?: string | undefined;
|
|
2949
3284
|
harnessId: string;
|
|
2950
3285
|
profileId: string | null;
|
|
2951
3286
|
profileDisplayName: string | null;
|
|
@@ -2962,6 +3297,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2962
3297
|
source: string;
|
|
2963
3298
|
} | null;
|
|
2964
3299
|
}, {
|
|
3300
|
+
lastVendorError?: string | undefined;
|
|
2965
3301
|
harnessId: string;
|
|
2966
3302
|
profileId: string | null;
|
|
2967
3303
|
profileDisplayName: string | null;
|
|
@@ -2980,6 +3316,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2980
3316
|
}>, "many">>;
|
|
2981
3317
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2982
3318
|
}, "strip", z.ZodTypeAny, {
|
|
3319
|
+
lastVendorError?: string | null | undefined;
|
|
2983
3320
|
requestRefusal?: {
|
|
2984
3321
|
scope: "turn_text";
|
|
2985
3322
|
unit: "unicode_scalars";
|
|
@@ -2999,6 +3336,10 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2999
3336
|
native_code: "grok_credential_source_unconfirmed";
|
|
3000
3337
|
source: "grok_init";
|
|
3001
3338
|
reported_source: string;
|
|
3339
|
+
} | {
|
|
3340
|
+
kind: "vendor_not_retryable";
|
|
3341
|
+
source: "agy_stderr";
|
|
3342
|
+
error_id: string | null;
|
|
3002
3343
|
} | undefined;
|
|
3003
3344
|
rawContextShortfall?: {
|
|
3004
3345
|
model: string;
|
|
@@ -3038,7 +3379,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3038
3379
|
} | undefined;
|
|
3039
3380
|
phase: string;
|
|
3040
3381
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
3041
|
-
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;
|
|
3382
|
+
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;
|
|
3042
3383
|
harnessId: string | null;
|
|
3043
3384
|
attemptId: string | null;
|
|
3044
3385
|
safeMessage: string;
|
|
@@ -3059,6 +3400,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3059
3400
|
source: string;
|
|
3060
3401
|
} | null;
|
|
3061
3402
|
poolAttempts: {
|
|
3403
|
+
lastVendorError?: string | undefined;
|
|
3062
3404
|
harnessId: string;
|
|
3063
3405
|
profileId: string | null;
|
|
3064
3406
|
profileDisplayName: string | null;
|
|
@@ -3077,6 +3419,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3077
3419
|
}[];
|
|
3078
3420
|
nextActions: string[];
|
|
3079
3421
|
}, {
|
|
3422
|
+
lastVendorError?: string | null | undefined;
|
|
3080
3423
|
requestRefusal?: {
|
|
3081
3424
|
scope: "turn_text";
|
|
3082
3425
|
unit: "unicode_scalars";
|
|
@@ -3096,6 +3439,10 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3096
3439
|
native_code: "grok_credential_source_unconfirmed";
|
|
3097
3440
|
source: "grok_init";
|
|
3098
3441
|
reported_source: string;
|
|
3442
|
+
} | {
|
|
3443
|
+
kind: "vendor_not_retryable";
|
|
3444
|
+
source: "agy_stderr";
|
|
3445
|
+
error_id: string | null;
|
|
3099
3446
|
} | undefined;
|
|
3100
3447
|
rawContextShortfall?: {
|
|
3101
3448
|
model: string;
|
|
@@ -3135,7 +3482,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3135
3482
|
} | undefined;
|
|
3136
3483
|
phase?: string | undefined;
|
|
3137
3484
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
3138
|
-
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;
|
|
3485
|
+
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;
|
|
3139
3486
|
harnessId?: string | null | undefined;
|
|
3140
3487
|
attemptId?: string | null | undefined;
|
|
3141
3488
|
safeMessage: string;
|
|
@@ -3156,6 +3503,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3156
3503
|
source: string;
|
|
3157
3504
|
} | null | undefined;
|
|
3158
3505
|
poolAttempts?: {
|
|
3506
|
+
lastVendorError?: string | undefined;
|
|
3159
3507
|
harnessId: string;
|
|
3160
3508
|
profileId: string | null;
|
|
3161
3509
|
profileDisplayName: string | null;
|
|
@@ -3345,7 +3693,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3345
3693
|
}>>>;
|
|
3346
3694
|
continueFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3347
3695
|
resumable: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3348
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
3696
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
3349
3697
|
resetsAt: z.ZodNullable<z.ZodString>;
|
|
3350
3698
|
limitWindow: z.ZodNullable<z.ZodString>;
|
|
3351
3699
|
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
@@ -3375,7 +3723,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3375
3723
|
root: string | null;
|
|
3376
3724
|
}>;
|
|
3377
3725
|
}, "strict", z.ZodTypeAny, {
|
|
3378
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3726
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3379
3727
|
resetsAt: string | null;
|
|
3380
3728
|
limitWindow: string | null;
|
|
3381
3729
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -3391,7 +3739,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3391
3739
|
root: string | null;
|
|
3392
3740
|
};
|
|
3393
3741
|
}, {
|
|
3394
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3742
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3395
3743
|
resetsAt: string | null;
|
|
3396
3744
|
limitWindow: string | null;
|
|
3397
3745
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -3411,7 +3759,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3411
3759
|
tryIndex: z.ZodNumber;
|
|
3412
3760
|
attemptId: z.ZodString;
|
|
3413
3761
|
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
3414
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
3762
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
3415
3763
|
from: z.ZodObject<{
|
|
3416
3764
|
runId: z.ZodString;
|
|
3417
3765
|
attemptId: z.ZodString;
|
|
@@ -3445,7 +3793,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3445
3793
|
tryIndex: number;
|
|
3446
3794
|
attemptId: string;
|
|
3447
3795
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
3448
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3796
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3449
3797
|
from: {
|
|
3450
3798
|
runId: string;
|
|
3451
3799
|
attemptId: string;
|
|
@@ -3467,7 +3815,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3467
3815
|
tryIndex: number;
|
|
3468
3816
|
attemptId: string;
|
|
3469
3817
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
3470
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
3818
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3471
3819
|
from: {
|
|
3472
3820
|
runId: string;
|
|
3473
3821
|
attemptId: string;
|
|
@@ -3490,17 +3838,17 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3490
3838
|
root: z.ZodString;
|
|
3491
3839
|
bytes: z.ZodNullable<z.ZodNumber>;
|
|
3492
3840
|
retainedAt: z.ZodString;
|
|
3493
|
-
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
3841
|
+
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"]>>;
|
|
3494
3842
|
}, "strict", z.ZodTypeAny, {
|
|
3495
3843
|
root: string;
|
|
3496
3844
|
bytes: number | null;
|
|
3497
3845
|
retainedAt: string;
|
|
3498
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
3846
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
3499
3847
|
}, {
|
|
3500
3848
|
root: string;
|
|
3501
3849
|
bytes: number | null;
|
|
3502
3850
|
retainedAt: string;
|
|
3503
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
3851
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
3504
3852
|
}>>>;
|
|
3505
3853
|
detailProblem: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3506
3854
|
code: z.ZodNullable<z.ZodString>;
|
|
@@ -3598,11 +3946,30 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3598
3946
|
context: Record<string, unknown>;
|
|
3599
3947
|
} | undefined;
|
|
3600
3948
|
} | null;
|
|
3949
|
+
resumed?: {
|
|
3950
|
+
from: {
|
|
3951
|
+
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";
|
|
3952
|
+
problem?: {
|
|
3953
|
+
message: string;
|
|
3954
|
+
code: string | null;
|
|
3955
|
+
retryable: boolean;
|
|
3956
|
+
required_actions: string[];
|
|
3957
|
+
context: Record<string, unknown>;
|
|
3958
|
+
} | undefined;
|
|
3959
|
+
};
|
|
3960
|
+
reason: "process_scope_settled";
|
|
3961
|
+
at: string;
|
|
3962
|
+
} | undefined;
|
|
3601
3963
|
dispatchedRevision: number | null;
|
|
3602
3964
|
successorJobId: string | null;
|
|
3603
3965
|
successorRunId: string | null;
|
|
3604
3966
|
} | null | undefined;
|
|
3605
3967
|
attemptExecution?: {
|
|
3968
|
+
programs?: {
|
|
3969
|
+
path: string | null;
|
|
3970
|
+
version: string | null;
|
|
3971
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
3972
|
+
}[] | undefined;
|
|
3606
3973
|
attemptId: string;
|
|
3607
3974
|
harnessId: string;
|
|
3608
3975
|
processing?: {
|
|
@@ -3643,7 +4010,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3643
4010
|
checks: "failed" | "not_configured" | "passed";
|
|
3644
4011
|
review: "approved" | "blocked" | "not_run";
|
|
3645
4012
|
review_requested?: boolean | undefined;
|
|
3646
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4013
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3647
4014
|
work_state?: {
|
|
3648
4015
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3649
4016
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3714,7 +4081,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3714
4081
|
checks: "failed" | "not_configured" | "passed";
|
|
3715
4082
|
review: "approved" | "blocked" | "not_run";
|
|
3716
4083
|
review_requested?: boolean | undefined;
|
|
3717
|
-
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4084
|
+
reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
3718
4085
|
work_state?: {
|
|
3719
4086
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3720
4087
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3727,6 +4094,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3727
4094
|
} | undefined;
|
|
3728
4095
|
} | null;
|
|
3729
4096
|
failure: {
|
|
4097
|
+
lastVendorError?: string | null | undefined;
|
|
3730
4098
|
requestRefusal?: {
|
|
3731
4099
|
scope: "turn_text";
|
|
3732
4100
|
unit: "unicode_scalars";
|
|
@@ -3746,6 +4114,10 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3746
4114
|
native_code: "grok_credential_source_unconfirmed";
|
|
3747
4115
|
source: "grok_init";
|
|
3748
4116
|
reported_source: string;
|
|
4117
|
+
} | {
|
|
4118
|
+
kind: "vendor_not_retryable";
|
|
4119
|
+
source: "agy_stderr";
|
|
4120
|
+
error_id: string | null;
|
|
3749
4121
|
} | undefined;
|
|
3750
4122
|
rawContextShortfall?: {
|
|
3751
4123
|
model: string;
|
|
@@ -3785,7 +4157,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3785
4157
|
} | undefined;
|
|
3786
4158
|
phase: string;
|
|
3787
4159
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
3788
|
-
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;
|
|
4160
|
+
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;
|
|
3789
4161
|
harnessId: string | null;
|
|
3790
4162
|
attemptId: string | null;
|
|
3791
4163
|
safeMessage: string;
|
|
@@ -3806,6 +4178,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3806
4178
|
source: string;
|
|
3807
4179
|
} | null;
|
|
3808
4180
|
poolAttempts: {
|
|
4181
|
+
lastVendorError?: string | undefined;
|
|
3809
4182
|
harnessId: string;
|
|
3810
4183
|
profileId: string | null;
|
|
3811
4184
|
profileDisplayName: string | null;
|
|
@@ -3875,7 +4248,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3875
4248
|
} | null;
|
|
3876
4249
|
continueFrom?: string | null | undefined;
|
|
3877
4250
|
resumable?: {
|
|
3878
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
4251
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3879
4252
|
resetsAt: string | null;
|
|
3880
4253
|
limitWindow: string | null;
|
|
3881
4254
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -3895,7 +4268,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3895
4268
|
tryIndex: number;
|
|
3896
4269
|
attemptId: string;
|
|
3897
4270
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
3898
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
4271
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
3899
4272
|
from: {
|
|
3900
4273
|
runId: string;
|
|
3901
4274
|
attemptId: string;
|
|
@@ -3918,7 +4291,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3918
4291
|
root: string;
|
|
3919
4292
|
bytes: number | null;
|
|
3920
4293
|
retainedAt: string;
|
|
3921
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
4294
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
3922
4295
|
} | null | undefined;
|
|
3923
4296
|
detailProblem: {
|
|
3924
4297
|
code: string | null;
|
|
@@ -3963,11 +4336,30 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3963
4336
|
context?: Record<string, unknown> | undefined;
|
|
3964
4337
|
} | undefined;
|
|
3965
4338
|
} | null;
|
|
4339
|
+
resumed?: {
|
|
4340
|
+
from: {
|
|
4341
|
+
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";
|
|
4342
|
+
problem?: {
|
|
4343
|
+
message: string;
|
|
4344
|
+
code?: string | null | undefined;
|
|
4345
|
+
retryable?: boolean | undefined;
|
|
4346
|
+
required_actions?: string[] | undefined;
|
|
4347
|
+
context?: Record<string, unknown> | undefined;
|
|
4348
|
+
} | undefined;
|
|
4349
|
+
};
|
|
4350
|
+
reason: "process_scope_settled";
|
|
4351
|
+
at: string;
|
|
4352
|
+
} | undefined;
|
|
3966
4353
|
dispatchedRevision: number | null;
|
|
3967
4354
|
successorJobId: string | null;
|
|
3968
4355
|
successorRunId: string | null;
|
|
3969
4356
|
} | null | undefined;
|
|
3970
4357
|
attemptExecution?: {
|
|
4358
|
+
programs?: {
|
|
4359
|
+
path: string | null;
|
|
4360
|
+
version: string | null;
|
|
4361
|
+
versionSource: "remembered" | "unknown" | "vendor_stream" | "version_probe";
|
|
4362
|
+
}[] | undefined;
|
|
3971
4363
|
attemptId: string;
|
|
3972
4364
|
harnessId: string;
|
|
3973
4365
|
processing?: {
|
|
@@ -4008,7 +4400,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4008
4400
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4009
4401
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4010
4402
|
review_requested?: boolean | undefined;
|
|
4011
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4403
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4012
4404
|
work_state?: {
|
|
4013
4405
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4014
4406
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4079,7 +4471,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4079
4471
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
4080
4472
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
4081
4473
|
review_requested?: boolean | undefined;
|
|
4082
|
-
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4474
|
+
reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_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;
|
|
4083
4475
|
work_state?: {
|
|
4084
4476
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4085
4477
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4092,6 +4484,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4092
4484
|
} | undefined;
|
|
4093
4485
|
} | null | undefined;
|
|
4094
4486
|
failure?: {
|
|
4487
|
+
lastVendorError?: string | null | undefined;
|
|
4095
4488
|
requestRefusal?: {
|
|
4096
4489
|
scope: "turn_text";
|
|
4097
4490
|
unit: "unicode_scalars";
|
|
@@ -4111,6 +4504,10 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4111
4504
|
native_code: "grok_credential_source_unconfirmed";
|
|
4112
4505
|
source: "grok_init";
|
|
4113
4506
|
reported_source: string;
|
|
4507
|
+
} | {
|
|
4508
|
+
kind: "vendor_not_retryable";
|
|
4509
|
+
source: "agy_stderr";
|
|
4510
|
+
error_id: string | null;
|
|
4114
4511
|
} | undefined;
|
|
4115
4512
|
rawContextShortfall?: {
|
|
4116
4513
|
model: string;
|
|
@@ -4150,7 +4547,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4150
4547
|
} | undefined;
|
|
4151
4548
|
phase?: string | undefined;
|
|
4152
4549
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
4153
|
-
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;
|
|
4550
|
+
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;
|
|
4154
4551
|
harnessId?: string | null | undefined;
|
|
4155
4552
|
attemptId?: string | null | undefined;
|
|
4156
4553
|
safeMessage: string;
|
|
@@ -4171,6 +4568,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4171
4568
|
source: string;
|
|
4172
4569
|
} | null | undefined;
|
|
4173
4570
|
poolAttempts?: {
|
|
4571
|
+
lastVendorError?: string | undefined;
|
|
4174
4572
|
harnessId: string;
|
|
4175
4573
|
profileId: string | null;
|
|
4176
4574
|
profileDisplayName: string | null;
|
|
@@ -4240,7 +4638,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4240
4638
|
} | null | undefined;
|
|
4241
4639
|
continueFrom?: string | null | undefined;
|
|
4242
4640
|
resumable?: {
|
|
4243
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
4641
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
4244
4642
|
resetsAt: string | null;
|
|
4245
4643
|
limitWindow: string | null;
|
|
4246
4644
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -4260,7 +4658,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4260
4658
|
tryIndex: number;
|
|
4261
4659
|
attemptId: string;
|
|
4262
4660
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
4263
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
4661
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
|
|
4264
4662
|
from: {
|
|
4265
4663
|
runId: string;
|
|
4266
4664
|
attemptId: string;
|
|
@@ -4283,7 +4681,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
4283
4681
|
root: string;
|
|
4284
4682
|
bytes: number | null;
|
|
4285
4683
|
retainedAt: string;
|
|
4286
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
4684
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
|
|
4287
4685
|
} | null | undefined;
|
|
4288
4686
|
detailProblem?: {
|
|
4289
4687
|
code: string | null;
|
|
@@ -4324,12 +4722,13 @@ export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
4324
4722
|
runId: z.ZodString;
|
|
4325
4723
|
taskId: z.ZodOptional<z.ZodString>;
|
|
4326
4724
|
runDir: z.ZodString;
|
|
4327
|
-
}, "
|
|
4725
|
+
}, "taskGroupId"> & {
|
|
4328
4726
|
threadId: z.ZodString;
|
|
4329
4727
|
turnId: z.ZodString;
|
|
4330
4728
|
} & {
|
|
4331
4729
|
summary: z.ZodString;
|
|
4332
4730
|
}, "strip", z.ZodTypeAny, {
|
|
4731
|
+
storeId?: string | undefined;
|
|
4333
4732
|
jobId?: string | undefined;
|
|
4334
4733
|
runId: string;
|
|
4335
4734
|
taskId?: string | undefined;
|
|
@@ -4338,6 +4737,7 @@ export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
4338
4737
|
turnId: string;
|
|
4339
4738
|
summary: string;
|
|
4340
4739
|
}, {
|
|
4740
|
+
storeId?: string | undefined;
|
|
4341
4741
|
jobId?: string | undefined;
|
|
4342
4742
|
runId: string;
|
|
4343
4743
|
taskId?: string | undefined;
|
|
@@ -4346,6 +4746,7 @@ export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
4346
4746
|
turnId: string;
|
|
4347
4747
|
summary: string;
|
|
4348
4748
|
}>, z.ZodObject<{
|
|
4749
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
4349
4750
|
jobId: z.ZodString;
|
|
4350
4751
|
threadId: z.ZodString;
|
|
4351
4752
|
turnId: z.ZodString;
|
|
@@ -4353,12 +4754,14 @@ export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
4353
4754
|
} & {
|
|
4354
4755
|
summary: z.ZodString;
|
|
4355
4756
|
}, "strict", z.ZodTypeAny, {
|
|
4757
|
+
storeId?: string | undefined;
|
|
4356
4758
|
jobId: string;
|
|
4357
4759
|
threadId: string;
|
|
4358
4760
|
turnId: string;
|
|
4359
4761
|
state: string;
|
|
4360
4762
|
summary: string;
|
|
4361
4763
|
}, {
|
|
4764
|
+
storeId?: string | undefined;
|
|
4362
4765
|
jobId: string;
|
|
4363
4766
|
threadId: string;
|
|
4364
4767
|
turnId: string;
|