@claudexor/schema 4.7.0 → 4.8.1
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-resources.d.ts +37 -37
- package/dist/account-routing-evidence.d.ts +14 -14
- package/dist/attachment.d.ts +178 -0
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +46 -0
- package/dist/attachment.js.map +1 -1
- package/dist/captured-run-start.d.ts +1105 -0
- package/dist/captured-run-start.d.ts.map +1 -0
- package/dist/captured-run-start.js +41 -0
- package/dist/captured-run-start.js.map +1 -0
- package/dist/command-summary.d.ts +1 -1
- package/dist/command-summary.d.ts.map +1 -1
- package/dist/command-summary.js +1 -0
- package/dist/command-summary.js.map +1 -1
- package/dist/control-harness-models.js +1 -1
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +201 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +7 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +277 -19
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +2 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +29 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +3 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +31 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +12 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control.d.ts +69 -5
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -7
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +28 -28
- package/dist/credential-profile.d.ts +1 -1
- package/dist/credential-profile.js +2 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/credential-store.d.ts +3 -2
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +5 -4
- package/dist/credential-store.js.map +1 -1
- package/dist/deferred-message.d.ts +2450 -0
- package/dist/deferred-message.d.ts.map +1 -0
- package/dist/deferred-message.js +186 -0
- package/dist/deferred-message.js.map +1 -0
- package/dist/events.d.ts +3 -3
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +15 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +10 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-model.d.ts +65 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +42 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness-quota.d.ts +3 -3
- package/dist/harness.d.ts +61 -9
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +2 -2
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +356 -12
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +5 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -0
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/mcp-run-wait.js +4 -0
- package/dist/mcp-run-wait.js.map +1 -1
- package/dist/mcp-upload.d.ts +133 -0
- package/dist/mcp-upload.d.ts.map +1 -0
- package/dist/mcp-upload.js +40 -0
- package/dist/mcp-upload.js.map +1 -0
- package/dist/quota-read.d.ts +8 -8
- package/dist/quota.d.ts +26 -20
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +11 -1
- package/dist/quota.js.map +1 -1
- package/dist/run-observation.d.ts +189 -0
- package/dist/run-observation.d.ts.map +1 -0
- package/dist/run-observation.js +93 -0
- package/dist/run-observation.js.map +1 -0
- package/dist/setup-login.d.ts +5 -5
- package/dist/setup.d.ts +63 -63
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +1 -1
- package/dist/setup.js.map +1 -1
- package/dist/task-group-runs.d.ts +257 -0
- package/dist/task-group-runs.d.ts.map +1 -0
- package/dist/task-group-runs.js +91 -0
- package/dist/task-group-runs.js.map +1 -0
- package/dist/task-group.d.ts +23 -0
- package/dist/task-group.d.ts.map +1 -0
- package/dist/task-group.js +38 -0
- package/dist/task-group.js.map +1 -0
- package/dist/telemetry.d.ts +136 -8
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -5
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +12553 -0
- package/dist/thread-history.d.ts.map +1 -0
- package/dist/thread-history.js +291 -0
- package/dist/thread-history.js.map +1 -0
- package/generated/ControlAccountResetResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesResponse.schema.json +1 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1 -0
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +1 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -0
- package/generated/ControlQueuedRunInfo.schema.json +10 -0
- package/generated/ControlQuotaFreshnessResponse.schema.json +1 -0
- package/generated/ControlQuotaQueryResponse.schema.json +1 -0
- package/generated/ControlQuotaResponse.schema.json +1 -0
- package/generated/ControlRunAgainDraft.schema.json +5 -0
- package/generated/ControlRunControlResponse.schema.json +169 -0
- package/generated/ControlRunDetail.schema.json +208 -1
- package/generated/ControlRunListResponse.schema.json +31 -1
- package/generated/ControlRunRetryResponse.schema.json +10 -0
- package/generated/ControlRunStartInfo.schema.json +10 -0
- package/generated/ControlRunStartRequest.schema.json +5 -0
- package/generated/ControlRunStartResponse.schema.json +18 -0
- package/generated/ControlRunSummary.schema.json +31 -1
- package/generated/ControlSetupJob.schema.json +2 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +2 -1
- package/generated/ControlSetupJobListFilter.schema.json +2 -1
- package/generated/ControlSetupJobListResponse.schema.json +2 -1
- package/generated/ControlSetupJobSnapshot.schema.json +2 -1
- package/generated/ControlUploadImport.schema.json +124 -0
- package/generated/ControlUploadImportRequest.schema.json +66 -0
- package/generated/DeferredMessageCall.schema.json +331 -0
- package/generated/DeferredMessageDetail.schema.json +917 -0
- package/generated/DeferredMessageMutation.schema.json +315 -0
- package/generated/DeferredMessageProjection.schema.json +177 -0
- package/generated/DeferredMessageReadInput.schema.json +20 -0
- package/generated/DeferredMessageReadResult.schema.json +399 -0
- package/generated/DeferredMessageReceipt.schema.json +193 -0
- package/generated/HarnessEvent.schema.json +75 -1
- package/generated/McpAccountsToolResult.schema.json +1 -0
- package/generated/McpRunHandleResult.schema.json +226 -19
- package/generated/McpRunToolResult.schema.json +228 -11
- package/generated/McpRunWaitResult.schema.json +180 -2
- package/generated/McpStoreIdentityInput.schema.json +11 -0
- package/generated/McpUploadCreateInput.schema.json +54 -0
- package/generated/McpUploadFinalizeInput.schema.json +40 -0
- package/generated/McpUploadImportInput.schema.json +52 -0
- package/generated/McpUploadImportLocalInput.schema.json +27 -0
- package/generated/McpUploadImportLocalResult.schema.json +45 -0
- package/generated/McpUploadTargetInput.schema.json +20 -0
- package/generated/ResourceAttachmentRef.schema.json +21 -0
- package/generated/RoutePrimaryDivergedPayload.schema.json +23 -14
- package/generated/RunFailure.schema.json +31 -1
- package/generated/RunObservationRecord.schema.json +64 -0
- package/generated/RunTelemetry.schema.json +83 -1
- package/generated/RunWaitManyInput.schema.json +47 -0
- package/generated/RunWaitManyResult.schema.json +110 -0
- package/generated/RunWaitManySummary.schema.json +75 -0
- package/generated/TaskGroupId.schema.json +11 -0
- package/generated/TaskGroupReceipt.schema.json +26 -0
- package/generated/TaskGroupRunsInput.schema.json +46 -0
- package/generated/TaskGroupRunsResult.schema.json +162 -0
- package/generated/ThreadHistoryInput.schema.json +48 -0
- package/generated/ThreadHistoryPage.schema.json +2857 -0
- package/generated/ThreadPromptPart.schema.json +57 -0
- package/generated/ThreadPromptPartInput.schema.json +41 -0
- package/package.json +2 -2
|
@@ -509,6 +509,21 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
509
509
|
source: "claude_stdout";
|
|
510
510
|
binary_path: string | null;
|
|
511
511
|
installed_version: string | null;
|
|
512
|
+
}>, z.ZodObject<{
|
|
513
|
+
kind: z.ZodLiteral<"credential_source_unconfirmed">;
|
|
514
|
+
native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
|
|
515
|
+
source: z.ZodLiteral<"grok_init">;
|
|
516
|
+
reported_source: z.ZodString;
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
kind: "credential_source_unconfirmed";
|
|
519
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
520
|
+
source: "grok_init";
|
|
521
|
+
reported_source: string;
|
|
522
|
+
}, {
|
|
523
|
+
kind: "credential_source_unconfirmed";
|
|
524
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
525
|
+
source: "grok_init";
|
|
526
|
+
reported_source: string;
|
|
512
527
|
}>]>>;
|
|
513
528
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
514
529
|
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
@@ -552,7 +567,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
552
567
|
}>>;
|
|
553
568
|
phase: z.ZodDefault<z.ZodString>;
|
|
554
569
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
555
|
-
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", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
570
|
+
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", "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"]>>>;
|
|
556
571
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
557
572
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
558
573
|
safeMessage: z.ZodString;
|
|
@@ -647,6 +662,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
647
662
|
source: "claude_stdout";
|
|
648
663
|
binary_path: string | null;
|
|
649
664
|
installed_version: string | null;
|
|
665
|
+
} | {
|
|
666
|
+
kind: "credential_source_unconfirmed";
|
|
667
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
668
|
+
source: "grok_init";
|
|
669
|
+
reported_source: string;
|
|
650
670
|
} | undefined;
|
|
651
671
|
captureFailure?: {
|
|
652
672
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -662,7 +682,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
662
682
|
} | undefined;
|
|
663
683
|
phase: string;
|
|
664
684
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
665
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
685
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
666
686
|
harnessId: string | null;
|
|
667
687
|
attemptId: string | null;
|
|
668
688
|
safeMessage: string;
|
|
@@ -709,6 +729,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
709
729
|
source: "claude_stdout";
|
|
710
730
|
binary_path: string | null;
|
|
711
731
|
installed_version: string | null;
|
|
732
|
+
} | {
|
|
733
|
+
kind: "credential_source_unconfirmed";
|
|
734
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
735
|
+
source: "grok_init";
|
|
736
|
+
reported_source: string;
|
|
712
737
|
} | undefined;
|
|
713
738
|
captureFailure?: {
|
|
714
739
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -724,7 +749,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
724
749
|
} | undefined;
|
|
725
750
|
phase?: string | undefined;
|
|
726
751
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
727
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
752
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
728
753
|
harnessId?: string | null | undefined;
|
|
729
754
|
attemptId?: string | null | undefined;
|
|
730
755
|
safeMessage: string;
|
|
@@ -1272,6 +1297,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1272
1297
|
source: "claude_stdout";
|
|
1273
1298
|
binary_path: string | null;
|
|
1274
1299
|
installed_version: string | null;
|
|
1300
|
+
} | {
|
|
1301
|
+
kind: "credential_source_unconfirmed";
|
|
1302
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
1303
|
+
source: "grok_init";
|
|
1304
|
+
reported_source: string;
|
|
1275
1305
|
} | undefined;
|
|
1276
1306
|
captureFailure?: {
|
|
1277
1307
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -1287,7 +1317,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1287
1317
|
} | undefined;
|
|
1288
1318
|
phase: string;
|
|
1289
1319
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1290
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
1320
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
1291
1321
|
harnessId: string | null;
|
|
1292
1322
|
attemptId: string | null;
|
|
1293
1323
|
safeMessage: string;
|
|
@@ -1555,6 +1585,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1555
1585
|
source: "claude_stdout";
|
|
1556
1586
|
binary_path: string | null;
|
|
1557
1587
|
installed_version: string | null;
|
|
1588
|
+
} | {
|
|
1589
|
+
kind: "credential_source_unconfirmed";
|
|
1590
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
1591
|
+
source: "grok_init";
|
|
1592
|
+
reported_source: string;
|
|
1558
1593
|
} | undefined;
|
|
1559
1594
|
captureFailure?: {
|
|
1560
1595
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -1570,7 +1605,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1570
1605
|
} | undefined;
|
|
1571
1606
|
phase?: string | undefined;
|
|
1572
1607
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1573
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
1608
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
1574
1609
|
harnessId?: string | null | undefined;
|
|
1575
1610
|
attemptId?: string | null | undefined;
|
|
1576
1611
|
safeMessage: string;
|
|
@@ -1762,6 +1797,97 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1762
1797
|
startedAt?: string | undefined;
|
|
1763
1798
|
finishedAt?: string | undefined;
|
|
1764
1799
|
}>;
|
|
1800
|
+
deferredMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1801
|
+
draftId: z.ZodString;
|
|
1802
|
+
revision: z.ZodNumber;
|
|
1803
|
+
state: z.ZodEnum<["waiting", "held", "dispatched", "cleared"]>;
|
|
1804
|
+
predecessorJobId: z.ZodString;
|
|
1805
|
+
predecessorRunId: z.ZodNullable<z.ZodString>;
|
|
1806
|
+
predecessorResult: z.ZodString;
|
|
1807
|
+
hold: z.ZodNullable<z.ZodObject<{
|
|
1808
|
+
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"]>;
|
|
1809
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
message: z.ZodString;
|
|
1811
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1812
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
1813
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1814
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1815
|
+
}, "strict", z.ZodTypeAny, {
|
|
1816
|
+
message: string;
|
|
1817
|
+
code: string | null;
|
|
1818
|
+
retryable: boolean;
|
|
1819
|
+
required_actions: string[];
|
|
1820
|
+
context: Record<string, unknown>;
|
|
1821
|
+
}, {
|
|
1822
|
+
message: string;
|
|
1823
|
+
code?: string | null | undefined;
|
|
1824
|
+
retryable?: boolean | undefined;
|
|
1825
|
+
required_actions?: string[] | undefined;
|
|
1826
|
+
context?: Record<string, unknown> | undefined;
|
|
1827
|
+
}>>;
|
|
1828
|
+
}, "strict", z.ZodTypeAny, {
|
|
1829
|
+
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";
|
|
1830
|
+
problem?: {
|
|
1831
|
+
message: string;
|
|
1832
|
+
code: string | null;
|
|
1833
|
+
retryable: boolean;
|
|
1834
|
+
required_actions: string[];
|
|
1835
|
+
context: Record<string, unknown>;
|
|
1836
|
+
} | undefined;
|
|
1837
|
+
}, {
|
|
1838
|
+
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";
|
|
1839
|
+
problem?: {
|
|
1840
|
+
message: string;
|
|
1841
|
+
code?: string | null | undefined;
|
|
1842
|
+
retryable?: boolean | undefined;
|
|
1843
|
+
required_actions?: string[] | undefined;
|
|
1844
|
+
context?: Record<string, unknown> | undefined;
|
|
1845
|
+
} | undefined;
|
|
1846
|
+
}>>;
|
|
1847
|
+
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
1848
|
+
successorJobId: z.ZodNullable<z.ZodString>;
|
|
1849
|
+
successorRunId: z.ZodNullable<z.ZodString>;
|
|
1850
|
+
}, "strict", z.ZodTypeAny, {
|
|
1851
|
+
draftId: string;
|
|
1852
|
+
revision: number;
|
|
1853
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1854
|
+
predecessorJobId: string;
|
|
1855
|
+
predecessorRunId: string | null;
|
|
1856
|
+
predecessorResult: string;
|
|
1857
|
+
hold: {
|
|
1858
|
+
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";
|
|
1859
|
+
problem?: {
|
|
1860
|
+
message: string;
|
|
1861
|
+
code: string | null;
|
|
1862
|
+
retryable: boolean;
|
|
1863
|
+
required_actions: string[];
|
|
1864
|
+
context: Record<string, unknown>;
|
|
1865
|
+
} | undefined;
|
|
1866
|
+
} | null;
|
|
1867
|
+
dispatchedRevision: number | null;
|
|
1868
|
+
successorJobId: string | null;
|
|
1869
|
+
successorRunId: string | null;
|
|
1870
|
+
}, {
|
|
1871
|
+
draftId: string;
|
|
1872
|
+
revision: number;
|
|
1873
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1874
|
+
predecessorJobId: string;
|
|
1875
|
+
predecessorRunId: string | null;
|
|
1876
|
+
predecessorResult: string;
|
|
1877
|
+
hold: {
|
|
1878
|
+
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";
|
|
1879
|
+
problem?: {
|
|
1880
|
+
message: string;
|
|
1881
|
+
code?: string | null | undefined;
|
|
1882
|
+
retryable?: boolean | undefined;
|
|
1883
|
+
required_actions?: string[] | undefined;
|
|
1884
|
+
context?: Record<string, unknown> | undefined;
|
|
1885
|
+
} | undefined;
|
|
1886
|
+
} | null;
|
|
1887
|
+
dispatchedRevision: number | null;
|
|
1888
|
+
successorJobId: string | null;
|
|
1889
|
+
successorRunId: string | null;
|
|
1890
|
+
}>>>;
|
|
1765
1891
|
children: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1766
1892
|
jobId: z.ZodString;
|
|
1767
1893
|
runId: z.ZodString;
|
|
@@ -2002,6 +2128,21 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2002
2128
|
source: "claude_stdout";
|
|
2003
2129
|
binary_path: string | null;
|
|
2004
2130
|
installed_version: string | null;
|
|
2131
|
+
}>, z.ZodObject<{
|
|
2132
|
+
kind: z.ZodLiteral<"credential_source_unconfirmed">;
|
|
2133
|
+
native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
|
|
2134
|
+
source: z.ZodLiteral<"grok_init">;
|
|
2135
|
+
reported_source: z.ZodString;
|
|
2136
|
+
}, "strip", z.ZodTypeAny, {
|
|
2137
|
+
kind: "credential_source_unconfirmed";
|
|
2138
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2139
|
+
source: "grok_init";
|
|
2140
|
+
reported_source: string;
|
|
2141
|
+
}, {
|
|
2142
|
+
kind: "credential_source_unconfirmed";
|
|
2143
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2144
|
+
source: "grok_init";
|
|
2145
|
+
reported_source: string;
|
|
2005
2146
|
}>]>>;
|
|
2006
2147
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
2007
2148
|
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
@@ -2045,7 +2186,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2045
2186
|
}>>;
|
|
2046
2187
|
phase: z.ZodDefault<z.ZodString>;
|
|
2047
2188
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
2048
|
-
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", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
2189
|
+
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", "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"]>>>;
|
|
2049
2190
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2050
2191
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2051
2192
|
safeMessage: z.ZodString;
|
|
@@ -2140,6 +2281,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2140
2281
|
source: "claude_stdout";
|
|
2141
2282
|
binary_path: string | null;
|
|
2142
2283
|
installed_version: string | null;
|
|
2284
|
+
} | {
|
|
2285
|
+
kind: "credential_source_unconfirmed";
|
|
2286
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2287
|
+
source: "grok_init";
|
|
2288
|
+
reported_source: string;
|
|
2143
2289
|
} | undefined;
|
|
2144
2290
|
captureFailure?: {
|
|
2145
2291
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2155,7 +2301,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2155
2301
|
} | undefined;
|
|
2156
2302
|
phase: string;
|
|
2157
2303
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2158
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2304
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2159
2305
|
harnessId: string | null;
|
|
2160
2306
|
attemptId: string | null;
|
|
2161
2307
|
safeMessage: string;
|
|
@@ -2202,6 +2348,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2202
2348
|
source: "claude_stdout";
|
|
2203
2349
|
binary_path: string | null;
|
|
2204
2350
|
installed_version: string | null;
|
|
2351
|
+
} | {
|
|
2352
|
+
kind: "credential_source_unconfirmed";
|
|
2353
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2354
|
+
source: "grok_init";
|
|
2355
|
+
reported_source: string;
|
|
2205
2356
|
} | undefined;
|
|
2206
2357
|
captureFailure?: {
|
|
2207
2358
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2217,7 +2368,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2217
2368
|
} | undefined;
|
|
2218
2369
|
phase?: string | undefined;
|
|
2219
2370
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2220
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2371
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2221
2372
|
harnessId?: string | null | undefined;
|
|
2222
2373
|
attemptId?: string | null | undefined;
|
|
2223
2374
|
safeMessage: string;
|
|
@@ -2765,6 +2916,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2765
2916
|
source: "claude_stdout";
|
|
2766
2917
|
binary_path: string | null;
|
|
2767
2918
|
installed_version: string | null;
|
|
2919
|
+
} | {
|
|
2920
|
+
kind: "credential_source_unconfirmed";
|
|
2921
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2922
|
+
source: "grok_init";
|
|
2923
|
+
reported_source: string;
|
|
2768
2924
|
} | undefined;
|
|
2769
2925
|
captureFailure?: {
|
|
2770
2926
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2780,7 +2936,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2780
2936
|
} | undefined;
|
|
2781
2937
|
phase: string;
|
|
2782
2938
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2783
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2939
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2784
2940
|
harnessId: string | null;
|
|
2785
2941
|
attemptId: string | null;
|
|
2786
2942
|
safeMessage: string;
|
|
@@ -3048,6 +3204,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
3048
3204
|
source: "claude_stdout";
|
|
3049
3205
|
binary_path: string | null;
|
|
3050
3206
|
installed_version: string | null;
|
|
3207
|
+
} | {
|
|
3208
|
+
kind: "credential_source_unconfirmed";
|
|
3209
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
3210
|
+
source: "grok_init";
|
|
3211
|
+
reported_source: string;
|
|
3051
3212
|
} | undefined;
|
|
3052
3213
|
captureFailure?: {
|
|
3053
3214
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -3063,7 +3224,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
3063
3224
|
} | undefined;
|
|
3064
3225
|
phase?: string | undefined;
|
|
3065
3226
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
3066
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
3227
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
3067
3228
|
harnessId?: string | null | undefined;
|
|
3068
3229
|
attemptId?: string | null | undefined;
|
|
3069
3230
|
safeMessage: string;
|
|
@@ -4676,6 +4837,21 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4676
4837
|
source: "claude_stdout";
|
|
4677
4838
|
binary_path: string | null;
|
|
4678
4839
|
installed_version: string | null;
|
|
4840
|
+
}>, z.ZodObject<{
|
|
4841
|
+
kind: z.ZodLiteral<"credential_source_unconfirmed">;
|
|
4842
|
+
native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
|
|
4843
|
+
source: z.ZodLiteral<"grok_init">;
|
|
4844
|
+
reported_source: z.ZodString;
|
|
4845
|
+
}, "strip", z.ZodTypeAny, {
|
|
4846
|
+
kind: "credential_source_unconfirmed";
|
|
4847
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
4848
|
+
source: "grok_init";
|
|
4849
|
+
reported_source: string;
|
|
4850
|
+
}, {
|
|
4851
|
+
kind: "credential_source_unconfirmed";
|
|
4852
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
4853
|
+
source: "grok_init";
|
|
4854
|
+
reported_source: string;
|
|
4679
4855
|
}>]>>;
|
|
4680
4856
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
4681
4857
|
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
@@ -4719,7 +4895,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4719
4895
|
}>>;
|
|
4720
4896
|
phase: z.ZodDefault<z.ZodString>;
|
|
4721
4897
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
4722
|
-
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", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
4898
|
+
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", "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"]>>>;
|
|
4723
4899
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4724
4900
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4725
4901
|
safeMessage: z.ZodString;
|
|
@@ -4814,6 +4990,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4814
4990
|
source: "claude_stdout";
|
|
4815
4991
|
binary_path: string | null;
|
|
4816
4992
|
installed_version: string | null;
|
|
4993
|
+
} | {
|
|
4994
|
+
kind: "credential_source_unconfirmed";
|
|
4995
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
4996
|
+
source: "grok_init";
|
|
4997
|
+
reported_source: string;
|
|
4817
4998
|
} | undefined;
|
|
4818
4999
|
captureFailure?: {
|
|
4819
5000
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -4829,7 +5010,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4829
5010
|
} | undefined;
|
|
4830
5011
|
phase: string;
|
|
4831
5012
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
4832
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5013
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
4833
5014
|
harnessId: string | null;
|
|
4834
5015
|
attemptId: string | null;
|
|
4835
5016
|
safeMessage: string;
|
|
@@ -4876,6 +5057,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4876
5057
|
source: "claude_stdout";
|
|
4877
5058
|
binary_path: string | null;
|
|
4878
5059
|
installed_version: string | null;
|
|
5060
|
+
} | {
|
|
5061
|
+
kind: "credential_source_unconfirmed";
|
|
5062
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
5063
|
+
source: "grok_init";
|
|
5064
|
+
reported_source: string;
|
|
4879
5065
|
} | undefined;
|
|
4880
5066
|
captureFailure?: {
|
|
4881
5067
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -4891,7 +5077,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4891
5077
|
} | undefined;
|
|
4892
5078
|
phase?: string | undefined;
|
|
4893
5079
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
4894
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
5080
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
4895
5081
|
harnessId?: string | null | undefined;
|
|
4896
5082
|
attemptId?: string | null | undefined;
|
|
4897
5083
|
safeMessage: string;
|
|
@@ -5044,6 +5230,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5044
5230
|
source: "claude_stdout";
|
|
5045
5231
|
binary_path: string | null;
|
|
5046
5232
|
installed_version: string | null;
|
|
5233
|
+
} | {
|
|
5234
|
+
kind: "credential_source_unconfirmed";
|
|
5235
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
5236
|
+
source: "grok_init";
|
|
5237
|
+
reported_source: string;
|
|
5047
5238
|
} | undefined;
|
|
5048
5239
|
captureFailure?: {
|
|
5049
5240
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -5059,7 +5250,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5059
5250
|
} | undefined;
|
|
5060
5251
|
phase: string;
|
|
5061
5252
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
5062
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5253
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5063
5254
|
harnessId: string | null;
|
|
5064
5255
|
attemptId: string | null;
|
|
5065
5256
|
safeMessage: string;
|
|
@@ -5251,6 +5442,27 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5251
5442
|
startedAt?: string | undefined;
|
|
5252
5443
|
finishedAt?: string | undefined;
|
|
5253
5444
|
};
|
|
5445
|
+
deferredMessage?: {
|
|
5446
|
+
draftId: string;
|
|
5447
|
+
revision: number;
|
|
5448
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
5449
|
+
predecessorJobId: string;
|
|
5450
|
+
predecessorRunId: string | null;
|
|
5451
|
+
predecessorResult: string;
|
|
5452
|
+
hold: {
|
|
5453
|
+
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";
|
|
5454
|
+
problem?: {
|
|
5455
|
+
message: string;
|
|
5456
|
+
code: string | null;
|
|
5457
|
+
retryable: boolean;
|
|
5458
|
+
required_actions: string[];
|
|
5459
|
+
context: Record<string, unknown>;
|
|
5460
|
+
} | undefined;
|
|
5461
|
+
} | null;
|
|
5462
|
+
dispatchedRevision: number | null;
|
|
5463
|
+
successorJobId: string | null;
|
|
5464
|
+
successorRunId: string | null;
|
|
5465
|
+
} | null | undefined;
|
|
5254
5466
|
children: {
|
|
5255
5467
|
jobId: string;
|
|
5256
5468
|
runId: string;
|
|
@@ -5328,6 +5540,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5328
5540
|
source: "claude_stdout";
|
|
5329
5541
|
binary_path: string | null;
|
|
5330
5542
|
installed_version: string | null;
|
|
5543
|
+
} | {
|
|
5544
|
+
kind: "credential_source_unconfirmed";
|
|
5545
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
5546
|
+
source: "grok_init";
|
|
5547
|
+
reported_source: string;
|
|
5331
5548
|
} | undefined;
|
|
5332
5549
|
captureFailure?: {
|
|
5333
5550
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -5343,7 +5560,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5343
5560
|
} | undefined;
|
|
5344
5561
|
phase: string;
|
|
5345
5562
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
5346
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5563
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5347
5564
|
harnessId: string | null;
|
|
5348
5565
|
attemptId: string | null;
|
|
5349
5566
|
safeMessage: string;
|
|
@@ -5866,6 +6083,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5866
6083
|
source: "claude_stdout";
|
|
5867
6084
|
binary_path: string | null;
|
|
5868
6085
|
installed_version: string | null;
|
|
6086
|
+
} | {
|
|
6087
|
+
kind: "credential_source_unconfirmed";
|
|
6088
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
6089
|
+
source: "grok_init";
|
|
6090
|
+
reported_source: string;
|
|
5869
6091
|
} | undefined;
|
|
5870
6092
|
captureFailure?: {
|
|
5871
6093
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -5881,7 +6103,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5881
6103
|
} | undefined;
|
|
5882
6104
|
phase: string;
|
|
5883
6105
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
5884
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
6106
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
5885
6107
|
harnessId: string | null;
|
|
5886
6108
|
attemptId: string | null;
|
|
5887
6109
|
safeMessage: string;
|
|
@@ -6022,6 +6244,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6022
6244
|
source: "claude_stdout";
|
|
6023
6245
|
binary_path: string | null;
|
|
6024
6246
|
installed_version: string | null;
|
|
6247
|
+
} | {
|
|
6248
|
+
kind: "credential_source_unconfirmed";
|
|
6249
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
6250
|
+
source: "grok_init";
|
|
6251
|
+
reported_source: string;
|
|
6025
6252
|
} | undefined;
|
|
6026
6253
|
captureFailure?: {
|
|
6027
6254
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -6037,7 +6264,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6037
6264
|
} | undefined;
|
|
6038
6265
|
phase?: string | undefined;
|
|
6039
6266
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
6040
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
6267
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
6041
6268
|
harnessId?: string | null | undefined;
|
|
6042
6269
|
attemptId?: string | null | undefined;
|
|
6043
6270
|
safeMessage: string;
|
|
@@ -6229,6 +6456,27 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6229
6456
|
startedAt?: string | undefined;
|
|
6230
6457
|
finishedAt?: string | undefined;
|
|
6231
6458
|
};
|
|
6459
|
+
deferredMessage?: {
|
|
6460
|
+
draftId: string;
|
|
6461
|
+
revision: number;
|
|
6462
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
6463
|
+
predecessorJobId: string;
|
|
6464
|
+
predecessorRunId: string | null;
|
|
6465
|
+
predecessorResult: string;
|
|
6466
|
+
hold: {
|
|
6467
|
+
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";
|
|
6468
|
+
problem?: {
|
|
6469
|
+
message: string;
|
|
6470
|
+
code?: string | null | undefined;
|
|
6471
|
+
retryable?: boolean | undefined;
|
|
6472
|
+
required_actions?: string[] | undefined;
|
|
6473
|
+
context?: Record<string, unknown> | undefined;
|
|
6474
|
+
} | undefined;
|
|
6475
|
+
} | null;
|
|
6476
|
+
dispatchedRevision: number | null;
|
|
6477
|
+
successorJobId: string | null;
|
|
6478
|
+
successorRunId: string | null;
|
|
6479
|
+
} | null | undefined;
|
|
6232
6480
|
children?: {
|
|
6233
6481
|
jobId: string;
|
|
6234
6482
|
runId: string;
|
|
@@ -6306,6 +6554,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6306
6554
|
source: "claude_stdout";
|
|
6307
6555
|
binary_path: string | null;
|
|
6308
6556
|
installed_version: string | null;
|
|
6557
|
+
} | {
|
|
6558
|
+
kind: "credential_source_unconfirmed";
|
|
6559
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
6560
|
+
source: "grok_init";
|
|
6561
|
+
reported_source: string;
|
|
6309
6562
|
} | undefined;
|
|
6310
6563
|
captureFailure?: {
|
|
6311
6564
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -6321,7 +6574,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6321
6574
|
} | undefined;
|
|
6322
6575
|
phase?: string | undefined;
|
|
6323
6576
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
6324
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
6577
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
6325
6578
|
harnessId?: string | null | undefined;
|
|
6326
6579
|
attemptId?: string | null | undefined;
|
|
6327
6580
|
safeMessage: string;
|
|
@@ -6844,6 +7097,11 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6844
7097
|
source: "claude_stdout";
|
|
6845
7098
|
binary_path: string | null;
|
|
6846
7099
|
installed_version: string | null;
|
|
7100
|
+
} | {
|
|
7101
|
+
kind: "credential_source_unconfirmed";
|
|
7102
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
7103
|
+
source: "grok_init";
|
|
7104
|
+
reported_source: string;
|
|
6847
7105
|
} | undefined;
|
|
6848
7106
|
captureFailure?: {
|
|
6849
7107
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -6859,7 +7117,7 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6859
7117
|
} | undefined;
|
|
6860
7118
|
phase?: string | undefined;
|
|
6861
7119
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
6862
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
7120
|
+
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" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
6863
7121
|
harnessId?: string | null | undefined;
|
|
6864
7122
|
attemptId?: string | null | undefined;
|
|
6865
7123
|
safeMessage: string;
|