@claudexor/schema 4.1.0 → 4.2.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 +5823 -0
- package/dist/account-routing-evidence.d.ts.map +1 -0
- package/dist/account-routing-evidence.js +49 -0
- package/dist/account-routing-evidence.js.map +1 -0
- package/dist/control-operation-responses.d.ts +325 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-process-scope.d.ts +58 -0
- package/dist/control-process-scope.d.ts.map +1 -0
- package/dist/control-process-scope.js +39 -0
- package/dist/control-process-scope.js.map +1 -0
- package/dist/control-run-detail.d.ts +863 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +258 -0
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +55 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +252 -0
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -0
- package/dist/control.js.map +1 -1
- package/dist/daemon-status.d.ts +40 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +426 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/process-scope.d.ts +125 -0
- package/dist/process-scope.d.ts.map +1 -0
- package/dist/process-scope.js +81 -0
- package/dist/process-scope.js.map +1 -0
- package/dist/run-continuation.d.ts +3 -0
- package/dist/run-continuation.d.ts.map +1 -1
- package/dist/run-continuation.js +4 -0
- package/dist/run-continuation.js.map +1 -1
- package/dist/store-status.d.ts +28 -0
- package/dist/store-status.d.ts.map +1 -1
- package/dist/store-status.js +10 -0
- package/dist/store-status.js.map +1 -1
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- package/generated/ControlDaemonStatus.schema.json +52 -0
- package/generated/ControlRunDetail.schema.json +224 -0
- package/generated/ControlRunListResponse.schema.json +224 -0
- package/generated/ControlRunSummary.schema.json +224 -0
- package/generated/EnvelopeCustody.schema.json +4 -0
- package/generated/GateResult.schema.json +1 -1
- package/generated/McpAccountsToolResult.schema.json +2527 -0
- package/generated/McpRunHandleResult.schema.json +162 -0
- package/generated/McpRunToolResult.schema.json +162 -0
- package/generated/RunFailure.schema.json +162 -0
- package/package.json +2 -2
|
@@ -505,6 +505,46 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
505
505
|
binary_path: string | null;
|
|
506
506
|
installed_version: string | null;
|
|
507
507
|
}>]>>;
|
|
508
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
509
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
510
|
+
message: z.ZodString;
|
|
511
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
512
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
513
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
514
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
515
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
516
|
+
code: z.ZodNullable<z.ZodString>;
|
|
517
|
+
message: z.ZodString;
|
|
518
|
+
}, "strip", z.ZodTypeAny, {
|
|
519
|
+
code: string | null;
|
|
520
|
+
message: string;
|
|
521
|
+
}, {
|
|
522
|
+
code: string | null;
|
|
523
|
+
message: string;
|
|
524
|
+
}>>;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
527
|
+
message: string;
|
|
528
|
+
causeCode?: string | undefined;
|
|
529
|
+
bufferBudgetBytes?: number | undefined;
|
|
530
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
531
|
+
drain?: "truncated" | undefined;
|
|
532
|
+
cleanup?: {
|
|
533
|
+
code: string | null;
|
|
534
|
+
message: string;
|
|
535
|
+
} | undefined;
|
|
536
|
+
}, {
|
|
537
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
538
|
+
message: string;
|
|
539
|
+
causeCode?: string | undefined;
|
|
540
|
+
bufferBudgetBytes?: number | undefined;
|
|
541
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
542
|
+
drain?: "truncated" | undefined;
|
|
543
|
+
cleanup?: {
|
|
544
|
+
code: string | null;
|
|
545
|
+
message: string;
|
|
546
|
+
} | undefined;
|
|
547
|
+
}>>;
|
|
508
548
|
phase: z.ZodDefault<z.ZodString>;
|
|
509
549
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
510
550
|
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", "retired_access_profile"]>>>;
|
|
@@ -529,6 +569,63 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
529
569
|
message: string | null;
|
|
530
570
|
source: string;
|
|
531
571
|
}>>>;
|
|
572
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
573
|
+
harnessId: z.ZodString;
|
|
574
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
575
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
576
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
577
|
+
attemptId: z.ZodString;
|
|
578
|
+
tryIndex: z.ZodNumber;
|
|
579
|
+
observedAt: z.ZodString;
|
|
580
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
581
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
582
|
+
error: z.ZodString;
|
|
583
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
584
|
+
code: z.ZodNullable<z.ZodString>;
|
|
585
|
+
message: z.ZodNullable<z.ZodString>;
|
|
586
|
+
source: z.ZodString;
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
code: string | null;
|
|
589
|
+
message: string | null;
|
|
590
|
+
source: string;
|
|
591
|
+
}, {
|
|
592
|
+
code: string | null;
|
|
593
|
+
message: string | null;
|
|
594
|
+
source: string;
|
|
595
|
+
}>>;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
harnessId: string;
|
|
598
|
+
profileId: string | null;
|
|
599
|
+
profileDisplayName: string | null;
|
|
600
|
+
requestedModel: string | null;
|
|
601
|
+
attemptId: string;
|
|
602
|
+
tryIndex: number;
|
|
603
|
+
observedAt: string;
|
|
604
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
605
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
606
|
+
error: string;
|
|
607
|
+
vendorFailure: {
|
|
608
|
+
code: string | null;
|
|
609
|
+
message: string | null;
|
|
610
|
+
source: string;
|
|
611
|
+
} | null;
|
|
612
|
+
}, {
|
|
613
|
+
harnessId: string;
|
|
614
|
+
profileId: string | null;
|
|
615
|
+
profileDisplayName: string | null;
|
|
616
|
+
requestedModel: string | null;
|
|
617
|
+
attemptId: string;
|
|
618
|
+
tryIndex: number;
|
|
619
|
+
observedAt: string;
|
|
620
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
621
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
622
|
+
error: string;
|
|
623
|
+
vendorFailure: {
|
|
624
|
+
code: string | null;
|
|
625
|
+
message: string | null;
|
|
626
|
+
source: string;
|
|
627
|
+
} | null;
|
|
628
|
+
}>, "many">>;
|
|
532
629
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
533
630
|
}, "strip", z.ZodTypeAny, {
|
|
534
631
|
requestRefusal?: {
|
|
@@ -546,6 +643,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
546
643
|
binary_path: string | null;
|
|
547
644
|
installed_version: string | null;
|
|
548
645
|
} | undefined;
|
|
646
|
+
captureFailure?: {
|
|
647
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
648
|
+
message: string;
|
|
649
|
+
causeCode?: string | undefined;
|
|
650
|
+
bufferBudgetBytes?: number | undefined;
|
|
651
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
652
|
+
drain?: "truncated" | undefined;
|
|
653
|
+
cleanup?: {
|
|
654
|
+
code: string | null;
|
|
655
|
+
message: string;
|
|
656
|
+
} | undefined;
|
|
657
|
+
} | undefined;
|
|
549
658
|
phase: string;
|
|
550
659
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
551
660
|
code: "access_profile_incompatible" | "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;
|
|
@@ -562,6 +671,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
562
671
|
message: string | null;
|
|
563
672
|
source: string;
|
|
564
673
|
} | null;
|
|
674
|
+
poolAttempts: {
|
|
675
|
+
harnessId: string;
|
|
676
|
+
profileId: string | null;
|
|
677
|
+
profileDisplayName: string | null;
|
|
678
|
+
requestedModel: string | null;
|
|
679
|
+
attemptId: string;
|
|
680
|
+
tryIndex: number;
|
|
681
|
+
observedAt: string;
|
|
682
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
683
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
684
|
+
error: string;
|
|
685
|
+
vendorFailure: {
|
|
686
|
+
code: string | null;
|
|
687
|
+
message: string | null;
|
|
688
|
+
source: string;
|
|
689
|
+
} | null;
|
|
690
|
+
}[];
|
|
565
691
|
nextActions: string[];
|
|
566
692
|
}, {
|
|
567
693
|
requestRefusal?: {
|
|
@@ -579,6 +705,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
579
705
|
binary_path: string | null;
|
|
580
706
|
installed_version: string | null;
|
|
581
707
|
} | undefined;
|
|
708
|
+
captureFailure?: {
|
|
709
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
710
|
+
message: string;
|
|
711
|
+
causeCode?: string | undefined;
|
|
712
|
+
bufferBudgetBytes?: number | undefined;
|
|
713
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
714
|
+
drain?: "truncated" | undefined;
|
|
715
|
+
cleanup?: {
|
|
716
|
+
code: string | null;
|
|
717
|
+
message: string;
|
|
718
|
+
} | undefined;
|
|
719
|
+
} | undefined;
|
|
582
720
|
phase?: string | undefined;
|
|
583
721
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
584
722
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -595,6 +733,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
595
733
|
message: string | null;
|
|
596
734
|
source: string;
|
|
597
735
|
} | null | undefined;
|
|
736
|
+
poolAttempts?: {
|
|
737
|
+
harnessId: string;
|
|
738
|
+
profileId: string | null;
|
|
739
|
+
profileDisplayName: string | null;
|
|
740
|
+
requestedModel: string | null;
|
|
741
|
+
attemptId: string;
|
|
742
|
+
tryIndex: number;
|
|
743
|
+
observedAt: string;
|
|
744
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
745
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
746
|
+
error: string;
|
|
747
|
+
vendorFailure: {
|
|
748
|
+
code: string | null;
|
|
749
|
+
message: string | null;
|
|
750
|
+
source: string;
|
|
751
|
+
} | null;
|
|
752
|
+
}[] | undefined;
|
|
598
753
|
nextActions?: string[] | undefined;
|
|
599
754
|
}>>>;
|
|
600
755
|
project: z.ZodDefault<z.ZodObject<{
|
|
@@ -931,6 +1086,28 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
931
1086
|
} | undefined;
|
|
932
1087
|
}>>>;
|
|
933
1088
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
1089
|
+
processScope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1090
|
+
settled: z.ZodBoolean;
|
|
1091
|
+
coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
|
|
1092
|
+
completeness: z.ZodEnum<["complete", "not_provable"]>;
|
|
1093
|
+
census: z.ZodEnum<["ok", "failed", "unsupported"]>;
|
|
1094
|
+
survivors: z.ZodNumber;
|
|
1095
|
+
unreadable: z.ZodNumber;
|
|
1096
|
+
}, "strict", z.ZodTypeAny, {
|
|
1097
|
+
settled: boolean;
|
|
1098
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1099
|
+
completeness: "complete" | "not_provable";
|
|
1100
|
+
census: "failed" | "ok" | "unsupported";
|
|
1101
|
+
survivors: number;
|
|
1102
|
+
unreadable: number;
|
|
1103
|
+
}, {
|
|
1104
|
+
settled: boolean;
|
|
1105
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1106
|
+
completeness: "complete" | "not_provable";
|
|
1107
|
+
census: "failed" | "ok" | "unsupported";
|
|
1108
|
+
survivors: number;
|
|
1109
|
+
unreadable: number;
|
|
1110
|
+
}>>>;
|
|
934
1111
|
route: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
935
1112
|
requestedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
936
1113
|
observedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1091,6 +1268,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1091
1268
|
binary_path: string | null;
|
|
1092
1269
|
installed_version: string | null;
|
|
1093
1270
|
} | undefined;
|
|
1271
|
+
captureFailure?: {
|
|
1272
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1273
|
+
message: string;
|
|
1274
|
+
causeCode?: string | undefined;
|
|
1275
|
+
bufferBudgetBytes?: number | undefined;
|
|
1276
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1277
|
+
drain?: "truncated" | undefined;
|
|
1278
|
+
cleanup?: {
|
|
1279
|
+
code: string | null;
|
|
1280
|
+
message: string;
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
} | undefined;
|
|
1094
1283
|
phase: string;
|
|
1095
1284
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1096
1285
|
code: "access_profile_incompatible" | "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;
|
|
@@ -1107,6 +1296,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1107
1296
|
message: string | null;
|
|
1108
1297
|
source: string;
|
|
1109
1298
|
} | null;
|
|
1299
|
+
poolAttempts: {
|
|
1300
|
+
harnessId: string;
|
|
1301
|
+
profileId: string | null;
|
|
1302
|
+
profileDisplayName: string | null;
|
|
1303
|
+
requestedModel: string | null;
|
|
1304
|
+
attemptId: string;
|
|
1305
|
+
tryIndex: number;
|
|
1306
|
+
observedAt: string;
|
|
1307
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1308
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1309
|
+
error: string;
|
|
1310
|
+
vendorFailure: {
|
|
1311
|
+
code: string | null;
|
|
1312
|
+
message: string | null;
|
|
1313
|
+
source: string;
|
|
1314
|
+
} | null;
|
|
1315
|
+
}[];
|
|
1110
1316
|
nextActions: string[];
|
|
1111
1317
|
} | null;
|
|
1112
1318
|
project: {
|
|
@@ -1231,6 +1437,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1231
1437
|
} | undefined;
|
|
1232
1438
|
} | null;
|
|
1233
1439
|
waitingOnUser: boolean;
|
|
1440
|
+
processScope: {
|
|
1441
|
+
settled: boolean;
|
|
1442
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1443
|
+
completeness: "complete" | "not_provable";
|
|
1444
|
+
census: "failed" | "ok" | "unsupported";
|
|
1445
|
+
survivors: number;
|
|
1446
|
+
unreadable: number;
|
|
1447
|
+
} | null;
|
|
1234
1448
|
route: {
|
|
1235
1449
|
requestedModel: string | null;
|
|
1236
1450
|
observedModel: string | null;
|
|
@@ -1337,6 +1551,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1337
1551
|
binary_path: string | null;
|
|
1338
1552
|
installed_version: string | null;
|
|
1339
1553
|
} | undefined;
|
|
1554
|
+
captureFailure?: {
|
|
1555
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1556
|
+
message: string;
|
|
1557
|
+
causeCode?: string | undefined;
|
|
1558
|
+
bufferBudgetBytes?: number | undefined;
|
|
1559
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1560
|
+
drain?: "truncated" | undefined;
|
|
1561
|
+
cleanup?: {
|
|
1562
|
+
code: string | null;
|
|
1563
|
+
message: string;
|
|
1564
|
+
} | undefined;
|
|
1565
|
+
} | undefined;
|
|
1340
1566
|
phase?: string | undefined;
|
|
1341
1567
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1342
1568
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -1353,6 +1579,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1353
1579
|
message: string | null;
|
|
1354
1580
|
source: string;
|
|
1355
1581
|
} | null | undefined;
|
|
1582
|
+
poolAttempts?: {
|
|
1583
|
+
harnessId: string;
|
|
1584
|
+
profileId: string | null;
|
|
1585
|
+
profileDisplayName: string | null;
|
|
1586
|
+
requestedModel: string | null;
|
|
1587
|
+
attemptId: string;
|
|
1588
|
+
tryIndex: number;
|
|
1589
|
+
observedAt: string;
|
|
1590
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1591
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1592
|
+
error: string;
|
|
1593
|
+
vendorFailure: {
|
|
1594
|
+
code: string | null;
|
|
1595
|
+
message: string | null;
|
|
1596
|
+
source: string;
|
|
1597
|
+
} | null;
|
|
1598
|
+
}[] | undefined;
|
|
1356
1599
|
nextActions?: string[] | undefined;
|
|
1357
1600
|
} | null | undefined;
|
|
1358
1601
|
project?: {
|
|
@@ -1477,6 +1720,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1477
1720
|
} | undefined;
|
|
1478
1721
|
} | null | undefined;
|
|
1479
1722
|
waitingOnUser?: boolean | undefined;
|
|
1723
|
+
processScope?: {
|
|
1724
|
+
settled: boolean;
|
|
1725
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
1726
|
+
completeness: "complete" | "not_provable";
|
|
1727
|
+
census: "failed" | "ok" | "unsupported";
|
|
1728
|
+
survivors: number;
|
|
1729
|
+
unreadable: number;
|
|
1730
|
+
} | null | undefined;
|
|
1480
1731
|
route?: {
|
|
1481
1732
|
requestedModel?: string | null | undefined;
|
|
1482
1733
|
observedModel?: string | null | undefined;
|
|
@@ -1747,6 +1998,46 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1747
1998
|
binary_path: string | null;
|
|
1748
1999
|
installed_version: string | null;
|
|
1749
2000
|
}>]>>;
|
|
2001
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
2002
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
2003
|
+
message: z.ZodString;
|
|
2004
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
2005
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
2007
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
2008
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
2009
|
+
code: z.ZodNullable<z.ZodString>;
|
|
2010
|
+
message: z.ZodString;
|
|
2011
|
+
}, "strip", z.ZodTypeAny, {
|
|
2012
|
+
code: string | null;
|
|
2013
|
+
message: string;
|
|
2014
|
+
}, {
|
|
2015
|
+
code: string | null;
|
|
2016
|
+
message: string;
|
|
2017
|
+
}>>;
|
|
2018
|
+
}, "strip", z.ZodTypeAny, {
|
|
2019
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2020
|
+
message: string;
|
|
2021
|
+
causeCode?: string | undefined;
|
|
2022
|
+
bufferBudgetBytes?: number | undefined;
|
|
2023
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2024
|
+
drain?: "truncated" | undefined;
|
|
2025
|
+
cleanup?: {
|
|
2026
|
+
code: string | null;
|
|
2027
|
+
message: string;
|
|
2028
|
+
} | undefined;
|
|
2029
|
+
}, {
|
|
2030
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2031
|
+
message: string;
|
|
2032
|
+
causeCode?: string | undefined;
|
|
2033
|
+
bufferBudgetBytes?: number | undefined;
|
|
2034
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2035
|
+
drain?: "truncated" | undefined;
|
|
2036
|
+
cleanup?: {
|
|
2037
|
+
code: string | null;
|
|
2038
|
+
message: string;
|
|
2039
|
+
} | undefined;
|
|
2040
|
+
}>>;
|
|
1750
2041
|
phase: z.ZodDefault<z.ZodString>;
|
|
1751
2042
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1752
2043
|
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", "retired_access_profile"]>>>;
|
|
@@ -1771,6 +2062,63 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1771
2062
|
message: string | null;
|
|
1772
2063
|
source: string;
|
|
1773
2064
|
}>>>;
|
|
2065
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2066
|
+
harnessId: z.ZodString;
|
|
2067
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
2068
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
2069
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
2070
|
+
attemptId: z.ZodString;
|
|
2071
|
+
tryIndex: z.ZodNumber;
|
|
2072
|
+
observedAt: z.ZodString;
|
|
2073
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
2074
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
2075
|
+
error: z.ZodString;
|
|
2076
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
2077
|
+
code: z.ZodNullable<z.ZodString>;
|
|
2078
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2079
|
+
source: z.ZodString;
|
|
2080
|
+
}, "strip", z.ZodTypeAny, {
|
|
2081
|
+
code: string | null;
|
|
2082
|
+
message: string | null;
|
|
2083
|
+
source: string;
|
|
2084
|
+
}, {
|
|
2085
|
+
code: string | null;
|
|
2086
|
+
message: string | null;
|
|
2087
|
+
source: string;
|
|
2088
|
+
}>>;
|
|
2089
|
+
}, "strip", z.ZodTypeAny, {
|
|
2090
|
+
harnessId: string;
|
|
2091
|
+
profileId: string | null;
|
|
2092
|
+
profileDisplayName: string | null;
|
|
2093
|
+
requestedModel: string | null;
|
|
2094
|
+
attemptId: string;
|
|
2095
|
+
tryIndex: number;
|
|
2096
|
+
observedAt: string;
|
|
2097
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2098
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2099
|
+
error: string;
|
|
2100
|
+
vendorFailure: {
|
|
2101
|
+
code: string | null;
|
|
2102
|
+
message: string | null;
|
|
2103
|
+
source: string;
|
|
2104
|
+
} | null;
|
|
2105
|
+
}, {
|
|
2106
|
+
harnessId: string;
|
|
2107
|
+
profileId: string | null;
|
|
2108
|
+
profileDisplayName: string | null;
|
|
2109
|
+
requestedModel: string | null;
|
|
2110
|
+
attemptId: string;
|
|
2111
|
+
tryIndex: number;
|
|
2112
|
+
observedAt: string;
|
|
2113
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2114
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2115
|
+
error: string;
|
|
2116
|
+
vendorFailure: {
|
|
2117
|
+
code: string | null;
|
|
2118
|
+
message: string | null;
|
|
2119
|
+
source: string;
|
|
2120
|
+
} | null;
|
|
2121
|
+
}>, "many">>;
|
|
1774
2122
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1775
2123
|
}, "strip", z.ZodTypeAny, {
|
|
1776
2124
|
requestRefusal?: {
|
|
@@ -1788,6 +2136,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1788
2136
|
binary_path: string | null;
|
|
1789
2137
|
installed_version: string | null;
|
|
1790
2138
|
} | undefined;
|
|
2139
|
+
captureFailure?: {
|
|
2140
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2141
|
+
message: string;
|
|
2142
|
+
causeCode?: string | undefined;
|
|
2143
|
+
bufferBudgetBytes?: number | undefined;
|
|
2144
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2145
|
+
drain?: "truncated" | undefined;
|
|
2146
|
+
cleanup?: {
|
|
2147
|
+
code: string | null;
|
|
2148
|
+
message: string;
|
|
2149
|
+
} | undefined;
|
|
2150
|
+
} | undefined;
|
|
1791
2151
|
phase: string;
|
|
1792
2152
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1793
2153
|
code: "access_profile_incompatible" | "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;
|
|
@@ -1804,6 +2164,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1804
2164
|
message: string | null;
|
|
1805
2165
|
source: string;
|
|
1806
2166
|
} | null;
|
|
2167
|
+
poolAttempts: {
|
|
2168
|
+
harnessId: string;
|
|
2169
|
+
profileId: string | null;
|
|
2170
|
+
profileDisplayName: string | null;
|
|
2171
|
+
requestedModel: string | null;
|
|
2172
|
+
attemptId: string;
|
|
2173
|
+
tryIndex: number;
|
|
2174
|
+
observedAt: string;
|
|
2175
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2176
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2177
|
+
error: string;
|
|
2178
|
+
vendorFailure: {
|
|
2179
|
+
code: string | null;
|
|
2180
|
+
message: string | null;
|
|
2181
|
+
source: string;
|
|
2182
|
+
} | null;
|
|
2183
|
+
}[];
|
|
1807
2184
|
nextActions: string[];
|
|
1808
2185
|
}, {
|
|
1809
2186
|
requestRefusal?: {
|
|
@@ -1821,6 +2198,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1821
2198
|
binary_path: string | null;
|
|
1822
2199
|
installed_version: string | null;
|
|
1823
2200
|
} | undefined;
|
|
2201
|
+
captureFailure?: {
|
|
2202
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2203
|
+
message: string;
|
|
2204
|
+
causeCode?: string | undefined;
|
|
2205
|
+
bufferBudgetBytes?: number | undefined;
|
|
2206
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2207
|
+
drain?: "truncated" | undefined;
|
|
2208
|
+
cleanup?: {
|
|
2209
|
+
code: string | null;
|
|
2210
|
+
message: string;
|
|
2211
|
+
} | undefined;
|
|
2212
|
+
} | undefined;
|
|
1824
2213
|
phase?: string | undefined;
|
|
1825
2214
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1826
2215
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -1837,6 +2226,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
1837
2226
|
message: string | null;
|
|
1838
2227
|
source: string;
|
|
1839
2228
|
} | null | undefined;
|
|
2229
|
+
poolAttempts?: {
|
|
2230
|
+
harnessId: string;
|
|
2231
|
+
profileId: string | null;
|
|
2232
|
+
profileDisplayName: string | null;
|
|
2233
|
+
requestedModel: string | null;
|
|
2234
|
+
attemptId: string;
|
|
2235
|
+
tryIndex: number;
|
|
2236
|
+
observedAt: string;
|
|
2237
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2238
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2239
|
+
error: string;
|
|
2240
|
+
vendorFailure: {
|
|
2241
|
+
code: string | null;
|
|
2242
|
+
message: string | null;
|
|
2243
|
+
source: string;
|
|
2244
|
+
} | null;
|
|
2245
|
+
}[] | undefined;
|
|
1840
2246
|
nextActions?: string[] | undefined;
|
|
1841
2247
|
}>>>;
|
|
1842
2248
|
project: z.ZodDefault<z.ZodObject<{
|
|
@@ -2173,6 +2579,28 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2173
2579
|
} | undefined;
|
|
2174
2580
|
}>>>;
|
|
2175
2581
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
2582
|
+
processScope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2583
|
+
settled: z.ZodBoolean;
|
|
2584
|
+
coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
|
|
2585
|
+
completeness: z.ZodEnum<["complete", "not_provable"]>;
|
|
2586
|
+
census: z.ZodEnum<["ok", "failed", "unsupported"]>;
|
|
2587
|
+
survivors: z.ZodNumber;
|
|
2588
|
+
unreadable: z.ZodNumber;
|
|
2589
|
+
}, "strict", z.ZodTypeAny, {
|
|
2590
|
+
settled: boolean;
|
|
2591
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2592
|
+
completeness: "complete" | "not_provable";
|
|
2593
|
+
census: "failed" | "ok" | "unsupported";
|
|
2594
|
+
survivors: number;
|
|
2595
|
+
unreadable: number;
|
|
2596
|
+
}, {
|
|
2597
|
+
settled: boolean;
|
|
2598
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2599
|
+
completeness: "complete" | "not_provable";
|
|
2600
|
+
census: "failed" | "ok" | "unsupported";
|
|
2601
|
+
survivors: number;
|
|
2602
|
+
unreadable: number;
|
|
2603
|
+
}>>>;
|
|
2176
2604
|
route: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2177
2605
|
requestedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2178
2606
|
observedModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2333,6 +2761,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2333
2761
|
binary_path: string | null;
|
|
2334
2762
|
installed_version: string | null;
|
|
2335
2763
|
} | undefined;
|
|
2764
|
+
captureFailure?: {
|
|
2765
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2766
|
+
message: string;
|
|
2767
|
+
causeCode?: string | undefined;
|
|
2768
|
+
bufferBudgetBytes?: number | undefined;
|
|
2769
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2770
|
+
drain?: "truncated" | undefined;
|
|
2771
|
+
cleanup?: {
|
|
2772
|
+
code: string | null;
|
|
2773
|
+
message: string;
|
|
2774
|
+
} | undefined;
|
|
2775
|
+
} | undefined;
|
|
2336
2776
|
phase: string;
|
|
2337
2777
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2338
2778
|
code: "access_profile_incompatible" | "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;
|
|
@@ -2349,6 +2789,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2349
2789
|
message: string | null;
|
|
2350
2790
|
source: string;
|
|
2351
2791
|
} | null;
|
|
2792
|
+
poolAttempts: {
|
|
2793
|
+
harnessId: string;
|
|
2794
|
+
profileId: string | null;
|
|
2795
|
+
profileDisplayName: string | null;
|
|
2796
|
+
requestedModel: string | null;
|
|
2797
|
+
attemptId: string;
|
|
2798
|
+
tryIndex: number;
|
|
2799
|
+
observedAt: string;
|
|
2800
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2801
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2802
|
+
error: string;
|
|
2803
|
+
vendorFailure: {
|
|
2804
|
+
code: string | null;
|
|
2805
|
+
message: string | null;
|
|
2806
|
+
source: string;
|
|
2807
|
+
} | null;
|
|
2808
|
+
}[];
|
|
2352
2809
|
nextActions: string[];
|
|
2353
2810
|
} | null;
|
|
2354
2811
|
project: {
|
|
@@ -2473,6 +2930,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2473
2930
|
} | undefined;
|
|
2474
2931
|
} | null;
|
|
2475
2932
|
waitingOnUser: boolean;
|
|
2933
|
+
processScope: {
|
|
2934
|
+
settled: boolean;
|
|
2935
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
2936
|
+
completeness: "complete" | "not_provable";
|
|
2937
|
+
census: "failed" | "ok" | "unsupported";
|
|
2938
|
+
survivors: number;
|
|
2939
|
+
unreadable: number;
|
|
2940
|
+
} | null;
|
|
2476
2941
|
route: {
|
|
2477
2942
|
requestedModel: string | null;
|
|
2478
2943
|
observedModel: string | null;
|
|
@@ -2579,6 +3044,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2579
3044
|
binary_path: string | null;
|
|
2580
3045
|
installed_version: string | null;
|
|
2581
3046
|
} | undefined;
|
|
3047
|
+
captureFailure?: {
|
|
3048
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
3049
|
+
message: string;
|
|
3050
|
+
causeCode?: string | undefined;
|
|
3051
|
+
bufferBudgetBytes?: number | undefined;
|
|
3052
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
3053
|
+
drain?: "truncated" | undefined;
|
|
3054
|
+
cleanup?: {
|
|
3055
|
+
code: string | null;
|
|
3056
|
+
message: string;
|
|
3057
|
+
} | undefined;
|
|
3058
|
+
} | undefined;
|
|
2582
3059
|
phase?: string | undefined;
|
|
2583
3060
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2584
3061
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -2595,6 +3072,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2595
3072
|
message: string | null;
|
|
2596
3073
|
source: string;
|
|
2597
3074
|
} | null | undefined;
|
|
3075
|
+
poolAttempts?: {
|
|
3076
|
+
harnessId: string;
|
|
3077
|
+
profileId: string | null;
|
|
3078
|
+
profileDisplayName: string | null;
|
|
3079
|
+
requestedModel: string | null;
|
|
3080
|
+
attemptId: string;
|
|
3081
|
+
tryIndex: number;
|
|
3082
|
+
observedAt: string;
|
|
3083
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
3084
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
3085
|
+
error: string;
|
|
3086
|
+
vendorFailure: {
|
|
3087
|
+
code: string | null;
|
|
3088
|
+
message: string | null;
|
|
3089
|
+
source: string;
|
|
3090
|
+
} | null;
|
|
3091
|
+
}[] | undefined;
|
|
2598
3092
|
nextActions?: string[] | undefined;
|
|
2599
3093
|
} | null | undefined;
|
|
2600
3094
|
project?: {
|
|
@@ -2719,6 +3213,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
2719
3213
|
} | undefined;
|
|
2720
3214
|
} | null | undefined;
|
|
2721
3215
|
waitingOnUser?: boolean | undefined;
|
|
3216
|
+
processScope?: {
|
|
3217
|
+
settled: boolean;
|
|
3218
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
3219
|
+
completeness: "complete" | "not_provable";
|
|
3220
|
+
census: "failed" | "ok" | "unsupported";
|
|
3221
|
+
survivors: number;
|
|
3222
|
+
unreadable: number;
|
|
3223
|
+
} | null | undefined;
|
|
2722
3224
|
route?: {
|
|
2723
3225
|
requestedModel?: string | null | undefined;
|
|
2724
3226
|
observedModel?: string | null | undefined;
|
|
@@ -4162,6 +4664,46 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4162
4664
|
binary_path: string | null;
|
|
4163
4665
|
installed_version: string | null;
|
|
4164
4666
|
}>]>>;
|
|
4667
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
4668
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
4669
|
+
message: z.ZodString;
|
|
4670
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
4671
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
4672
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
4673
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
4674
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
4675
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4676
|
+
message: z.ZodString;
|
|
4677
|
+
}, "strip", z.ZodTypeAny, {
|
|
4678
|
+
code: string | null;
|
|
4679
|
+
message: string;
|
|
4680
|
+
}, {
|
|
4681
|
+
code: string | null;
|
|
4682
|
+
message: string;
|
|
4683
|
+
}>>;
|
|
4684
|
+
}, "strip", z.ZodTypeAny, {
|
|
4685
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
4686
|
+
message: string;
|
|
4687
|
+
causeCode?: string | undefined;
|
|
4688
|
+
bufferBudgetBytes?: number | undefined;
|
|
4689
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
4690
|
+
drain?: "truncated" | undefined;
|
|
4691
|
+
cleanup?: {
|
|
4692
|
+
code: string | null;
|
|
4693
|
+
message: string;
|
|
4694
|
+
} | undefined;
|
|
4695
|
+
}, {
|
|
4696
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
4697
|
+
message: string;
|
|
4698
|
+
causeCode?: string | undefined;
|
|
4699
|
+
bufferBudgetBytes?: number | undefined;
|
|
4700
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
4701
|
+
drain?: "truncated" | undefined;
|
|
4702
|
+
cleanup?: {
|
|
4703
|
+
code: string | null;
|
|
4704
|
+
message: string;
|
|
4705
|
+
} | undefined;
|
|
4706
|
+
}>>;
|
|
4165
4707
|
phase: z.ZodDefault<z.ZodString>;
|
|
4166
4708
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
4167
4709
|
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", "retired_access_profile"]>>>;
|
|
@@ -4186,6 +4728,63 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4186
4728
|
message: string | null;
|
|
4187
4729
|
source: string;
|
|
4188
4730
|
}>>>;
|
|
4731
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4732
|
+
harnessId: z.ZodString;
|
|
4733
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
4734
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
4735
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
4736
|
+
attemptId: z.ZodString;
|
|
4737
|
+
tryIndex: z.ZodNumber;
|
|
4738
|
+
observedAt: z.ZodString;
|
|
4739
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
4740
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
4741
|
+
error: z.ZodString;
|
|
4742
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
4743
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4744
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4745
|
+
source: z.ZodString;
|
|
4746
|
+
}, "strip", z.ZodTypeAny, {
|
|
4747
|
+
code: string | null;
|
|
4748
|
+
message: string | null;
|
|
4749
|
+
source: string;
|
|
4750
|
+
}, {
|
|
4751
|
+
code: string | null;
|
|
4752
|
+
message: string | null;
|
|
4753
|
+
source: string;
|
|
4754
|
+
}>>;
|
|
4755
|
+
}, "strip", z.ZodTypeAny, {
|
|
4756
|
+
harnessId: string;
|
|
4757
|
+
profileId: string | null;
|
|
4758
|
+
profileDisplayName: string | null;
|
|
4759
|
+
requestedModel: string | null;
|
|
4760
|
+
attemptId: string;
|
|
4761
|
+
tryIndex: number;
|
|
4762
|
+
observedAt: string;
|
|
4763
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
4764
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
4765
|
+
error: string;
|
|
4766
|
+
vendorFailure: {
|
|
4767
|
+
code: string | null;
|
|
4768
|
+
message: string | null;
|
|
4769
|
+
source: string;
|
|
4770
|
+
} | null;
|
|
4771
|
+
}, {
|
|
4772
|
+
harnessId: string;
|
|
4773
|
+
profileId: string | null;
|
|
4774
|
+
profileDisplayName: string | null;
|
|
4775
|
+
requestedModel: string | null;
|
|
4776
|
+
attemptId: string;
|
|
4777
|
+
tryIndex: number;
|
|
4778
|
+
observedAt: string;
|
|
4779
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
4780
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
4781
|
+
error: string;
|
|
4782
|
+
vendorFailure: {
|
|
4783
|
+
code: string | null;
|
|
4784
|
+
message: string | null;
|
|
4785
|
+
source: string;
|
|
4786
|
+
} | null;
|
|
4787
|
+
}>, "many">>;
|
|
4189
4788
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4190
4789
|
}, "strip", z.ZodTypeAny, {
|
|
4191
4790
|
requestRefusal?: {
|
|
@@ -4203,6 +4802,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4203
4802
|
binary_path: string | null;
|
|
4204
4803
|
installed_version: string | null;
|
|
4205
4804
|
} | undefined;
|
|
4805
|
+
captureFailure?: {
|
|
4806
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
4807
|
+
message: string;
|
|
4808
|
+
causeCode?: string | undefined;
|
|
4809
|
+
bufferBudgetBytes?: number | undefined;
|
|
4810
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
4811
|
+
drain?: "truncated" | undefined;
|
|
4812
|
+
cleanup?: {
|
|
4813
|
+
code: string | null;
|
|
4814
|
+
message: string;
|
|
4815
|
+
} | undefined;
|
|
4816
|
+
} | undefined;
|
|
4206
4817
|
phase: string;
|
|
4207
4818
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
4208
4819
|
code: "access_profile_incompatible" | "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;
|
|
@@ -4219,6 +4830,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4219
4830
|
message: string | null;
|
|
4220
4831
|
source: string;
|
|
4221
4832
|
} | null;
|
|
4833
|
+
poolAttempts: {
|
|
4834
|
+
harnessId: string;
|
|
4835
|
+
profileId: string | null;
|
|
4836
|
+
profileDisplayName: string | null;
|
|
4837
|
+
requestedModel: string | null;
|
|
4838
|
+
attemptId: string;
|
|
4839
|
+
tryIndex: number;
|
|
4840
|
+
observedAt: string;
|
|
4841
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
4842
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
4843
|
+
error: string;
|
|
4844
|
+
vendorFailure: {
|
|
4845
|
+
code: string | null;
|
|
4846
|
+
message: string | null;
|
|
4847
|
+
source: string;
|
|
4848
|
+
} | null;
|
|
4849
|
+
}[];
|
|
4222
4850
|
nextActions: string[];
|
|
4223
4851
|
}, {
|
|
4224
4852
|
requestRefusal?: {
|
|
@@ -4236,6 +4864,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4236
4864
|
binary_path: string | null;
|
|
4237
4865
|
installed_version: string | null;
|
|
4238
4866
|
} | undefined;
|
|
4867
|
+
captureFailure?: {
|
|
4868
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
4869
|
+
message: string;
|
|
4870
|
+
causeCode?: string | undefined;
|
|
4871
|
+
bufferBudgetBytes?: number | undefined;
|
|
4872
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
4873
|
+
drain?: "truncated" | undefined;
|
|
4874
|
+
cleanup?: {
|
|
4875
|
+
code: string | null;
|
|
4876
|
+
message: string;
|
|
4877
|
+
} | undefined;
|
|
4878
|
+
} | undefined;
|
|
4239
4879
|
phase?: string | undefined;
|
|
4240
4880
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
4241
4881
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -4252,6 +4892,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4252
4892
|
message: string | null;
|
|
4253
4893
|
source: string;
|
|
4254
4894
|
} | null | undefined;
|
|
4895
|
+
poolAttempts?: {
|
|
4896
|
+
harnessId: string;
|
|
4897
|
+
profileId: string | null;
|
|
4898
|
+
profileDisplayName: string | null;
|
|
4899
|
+
requestedModel: string | null;
|
|
4900
|
+
attemptId: string;
|
|
4901
|
+
tryIndex: number;
|
|
4902
|
+
observedAt: string;
|
|
4903
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
4904
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
4905
|
+
error: string;
|
|
4906
|
+
vendorFailure: {
|
|
4907
|
+
code: string | null;
|
|
4908
|
+
message: string | null;
|
|
4909
|
+
source: string;
|
|
4910
|
+
} | null;
|
|
4911
|
+
}[] | undefined;
|
|
4255
4912
|
nextActions?: string[] | undefined;
|
|
4256
4913
|
}>>>;
|
|
4257
4914
|
/** Minimal typed required-operator-actions for a succeeded-but-BLOCKED run
|
|
@@ -4374,6 +5031,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4374
5031
|
binary_path: string | null;
|
|
4375
5032
|
installed_version: string | null;
|
|
4376
5033
|
} | undefined;
|
|
5034
|
+
captureFailure?: {
|
|
5035
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
5036
|
+
message: string;
|
|
5037
|
+
causeCode?: string | undefined;
|
|
5038
|
+
bufferBudgetBytes?: number | undefined;
|
|
5039
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
5040
|
+
drain?: "truncated" | undefined;
|
|
5041
|
+
cleanup?: {
|
|
5042
|
+
code: string | null;
|
|
5043
|
+
message: string;
|
|
5044
|
+
} | undefined;
|
|
5045
|
+
} | undefined;
|
|
4377
5046
|
phase: string;
|
|
4378
5047
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
4379
5048
|
code: "access_profile_incompatible" | "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;
|
|
@@ -4390,6 +5059,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4390
5059
|
message: string | null;
|
|
4391
5060
|
source: string;
|
|
4392
5061
|
} | null;
|
|
5062
|
+
poolAttempts: {
|
|
5063
|
+
harnessId: string;
|
|
5064
|
+
profileId: string | null;
|
|
5065
|
+
profileDisplayName: string | null;
|
|
5066
|
+
requestedModel: string | null;
|
|
5067
|
+
attemptId: string;
|
|
5068
|
+
tryIndex: number;
|
|
5069
|
+
observedAt: string;
|
|
5070
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
5071
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
5072
|
+
error: string;
|
|
5073
|
+
vendorFailure: {
|
|
5074
|
+
code: string | null;
|
|
5075
|
+
message: string | null;
|
|
5076
|
+
source: string;
|
|
5077
|
+
} | null;
|
|
5078
|
+
}[];
|
|
4393
5079
|
nextActions: string[];
|
|
4394
5080
|
} | null;
|
|
4395
5081
|
project: {
|
|
@@ -4514,6 +5200,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4514
5200
|
} | undefined;
|
|
4515
5201
|
} | null;
|
|
4516
5202
|
waitingOnUser: boolean;
|
|
5203
|
+
processScope: {
|
|
5204
|
+
settled: boolean;
|
|
5205
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
5206
|
+
completeness: "complete" | "not_provable";
|
|
5207
|
+
census: "failed" | "ok" | "unsupported";
|
|
5208
|
+
survivors: number;
|
|
5209
|
+
unreadable: number;
|
|
5210
|
+
} | null;
|
|
4517
5211
|
route: {
|
|
4518
5212
|
requestedModel: string | null;
|
|
4519
5213
|
observedModel: string | null;
|
|
@@ -4621,6 +5315,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4621
5315
|
binary_path: string | null;
|
|
4622
5316
|
installed_version: string | null;
|
|
4623
5317
|
} | undefined;
|
|
5318
|
+
captureFailure?: {
|
|
5319
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
5320
|
+
message: string;
|
|
5321
|
+
causeCode?: string | undefined;
|
|
5322
|
+
bufferBudgetBytes?: number | undefined;
|
|
5323
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
5324
|
+
drain?: "truncated" | undefined;
|
|
5325
|
+
cleanup?: {
|
|
5326
|
+
code: string | null;
|
|
5327
|
+
message: string;
|
|
5328
|
+
} | undefined;
|
|
5329
|
+
} | undefined;
|
|
4624
5330
|
phase: string;
|
|
4625
5331
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
4626
5332
|
code: "access_profile_incompatible" | "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;
|
|
@@ -4637,6 +5343,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4637
5343
|
message: string | null;
|
|
4638
5344
|
source: string;
|
|
4639
5345
|
} | null;
|
|
5346
|
+
poolAttempts: {
|
|
5347
|
+
harnessId: string;
|
|
5348
|
+
profileId: string | null;
|
|
5349
|
+
profileDisplayName: string | null;
|
|
5350
|
+
requestedModel: string | null;
|
|
5351
|
+
attemptId: string;
|
|
5352
|
+
tryIndex: number;
|
|
5353
|
+
observedAt: string;
|
|
5354
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
5355
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
5356
|
+
error: string;
|
|
5357
|
+
vendorFailure: {
|
|
5358
|
+
code: string | null;
|
|
5359
|
+
message: string | null;
|
|
5360
|
+
source: string;
|
|
5361
|
+
} | null;
|
|
5362
|
+
}[];
|
|
4640
5363
|
nextActions: string[];
|
|
4641
5364
|
} | null;
|
|
4642
5365
|
project: {
|
|
@@ -4761,6 +5484,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
4761
5484
|
} | undefined;
|
|
4762
5485
|
} | null;
|
|
4763
5486
|
waitingOnUser: boolean;
|
|
5487
|
+
processScope: {
|
|
5488
|
+
settled: boolean;
|
|
5489
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
5490
|
+
completeness: "complete" | "not_provable";
|
|
5491
|
+
census: "failed" | "ok" | "unsupported";
|
|
5492
|
+
survivors: number;
|
|
5493
|
+
unreadable: number;
|
|
5494
|
+
} | null;
|
|
4764
5495
|
route: {
|
|
4765
5496
|
requestedModel: string | null;
|
|
4766
5497
|
observedModel: string | null;
|
|
@@ -5120,6 +5851,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5120
5851
|
binary_path: string | null;
|
|
5121
5852
|
installed_version: string | null;
|
|
5122
5853
|
} | undefined;
|
|
5854
|
+
captureFailure?: {
|
|
5855
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
5856
|
+
message: string;
|
|
5857
|
+
causeCode?: string | undefined;
|
|
5858
|
+
bufferBudgetBytes?: number | undefined;
|
|
5859
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
5860
|
+
drain?: "truncated" | undefined;
|
|
5861
|
+
cleanup?: {
|
|
5862
|
+
code: string | null;
|
|
5863
|
+
message: string;
|
|
5864
|
+
} | undefined;
|
|
5865
|
+
} | undefined;
|
|
5123
5866
|
phase: string;
|
|
5124
5867
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
5125
5868
|
code: "access_profile_incompatible" | "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;
|
|
@@ -5136,6 +5879,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5136
5879
|
message: string | null;
|
|
5137
5880
|
source: string;
|
|
5138
5881
|
} | null;
|
|
5882
|
+
poolAttempts: {
|
|
5883
|
+
harnessId: string;
|
|
5884
|
+
profileId: string | null;
|
|
5885
|
+
profileDisplayName: string | null;
|
|
5886
|
+
requestedModel: string | null;
|
|
5887
|
+
attemptId: string;
|
|
5888
|
+
tryIndex: number;
|
|
5889
|
+
observedAt: string;
|
|
5890
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
5891
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
5892
|
+
error: string;
|
|
5893
|
+
vendorFailure: {
|
|
5894
|
+
code: string | null;
|
|
5895
|
+
message: string | null;
|
|
5896
|
+
source: string;
|
|
5897
|
+
} | null;
|
|
5898
|
+
}[];
|
|
5139
5899
|
nextActions: string[];
|
|
5140
5900
|
} | null;
|
|
5141
5901
|
requiredActions: {
|
|
@@ -5246,6 +6006,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5246
6006
|
binary_path: string | null;
|
|
5247
6007
|
installed_version: string | null;
|
|
5248
6008
|
} | undefined;
|
|
6009
|
+
captureFailure?: {
|
|
6010
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
6011
|
+
message: string;
|
|
6012
|
+
causeCode?: string | undefined;
|
|
6013
|
+
bufferBudgetBytes?: number | undefined;
|
|
6014
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
6015
|
+
drain?: "truncated" | undefined;
|
|
6016
|
+
cleanup?: {
|
|
6017
|
+
code: string | null;
|
|
6018
|
+
message: string;
|
|
6019
|
+
} | undefined;
|
|
6020
|
+
} | undefined;
|
|
5249
6021
|
phase?: string | undefined;
|
|
5250
6022
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
5251
6023
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -5262,6 +6034,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5262
6034
|
message: string | null;
|
|
5263
6035
|
source: string;
|
|
5264
6036
|
} | null | undefined;
|
|
6037
|
+
poolAttempts?: {
|
|
6038
|
+
harnessId: string;
|
|
6039
|
+
profileId: string | null;
|
|
6040
|
+
profileDisplayName: string | null;
|
|
6041
|
+
requestedModel: string | null;
|
|
6042
|
+
attemptId: string;
|
|
6043
|
+
tryIndex: number;
|
|
6044
|
+
observedAt: string;
|
|
6045
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
6046
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
6047
|
+
error: string;
|
|
6048
|
+
vendorFailure: {
|
|
6049
|
+
code: string | null;
|
|
6050
|
+
message: string | null;
|
|
6051
|
+
source: string;
|
|
6052
|
+
} | null;
|
|
6053
|
+
}[] | undefined;
|
|
5265
6054
|
nextActions?: string[] | undefined;
|
|
5266
6055
|
} | null | undefined;
|
|
5267
6056
|
project?: {
|
|
@@ -5386,6 +6175,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5386
6175
|
} | undefined;
|
|
5387
6176
|
} | null | undefined;
|
|
5388
6177
|
waitingOnUser?: boolean | undefined;
|
|
6178
|
+
processScope?: {
|
|
6179
|
+
settled: boolean;
|
|
6180
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
6181
|
+
completeness: "complete" | "not_provable";
|
|
6182
|
+
census: "failed" | "ok" | "unsupported";
|
|
6183
|
+
survivors: number;
|
|
6184
|
+
unreadable: number;
|
|
6185
|
+
} | null | undefined;
|
|
5389
6186
|
route?: {
|
|
5390
6187
|
requestedModel?: string | null | undefined;
|
|
5391
6188
|
observedModel?: string | null | undefined;
|
|
@@ -5493,6 +6290,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5493
6290
|
binary_path: string | null;
|
|
5494
6291
|
installed_version: string | null;
|
|
5495
6292
|
} | undefined;
|
|
6293
|
+
captureFailure?: {
|
|
6294
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
6295
|
+
message: string;
|
|
6296
|
+
causeCode?: string | undefined;
|
|
6297
|
+
bufferBudgetBytes?: number | undefined;
|
|
6298
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
6299
|
+
drain?: "truncated" | undefined;
|
|
6300
|
+
cleanup?: {
|
|
6301
|
+
code: string | null;
|
|
6302
|
+
message: string;
|
|
6303
|
+
} | undefined;
|
|
6304
|
+
} | undefined;
|
|
5496
6305
|
phase?: string | undefined;
|
|
5497
6306
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
5498
6307
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -5509,6 +6318,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5509
6318
|
message: string | null;
|
|
5510
6319
|
source: string;
|
|
5511
6320
|
} | null | undefined;
|
|
6321
|
+
poolAttempts?: {
|
|
6322
|
+
harnessId: string;
|
|
6323
|
+
profileId: string | null;
|
|
6324
|
+
profileDisplayName: string | null;
|
|
6325
|
+
requestedModel: string | null;
|
|
6326
|
+
attemptId: string;
|
|
6327
|
+
tryIndex: number;
|
|
6328
|
+
observedAt: string;
|
|
6329
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
6330
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
6331
|
+
error: string;
|
|
6332
|
+
vendorFailure: {
|
|
6333
|
+
code: string | null;
|
|
6334
|
+
message: string | null;
|
|
6335
|
+
source: string;
|
|
6336
|
+
} | null;
|
|
6337
|
+
}[] | undefined;
|
|
5512
6338
|
nextActions?: string[] | undefined;
|
|
5513
6339
|
} | null | undefined;
|
|
5514
6340
|
project?: {
|
|
@@ -5633,6 +6459,14 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5633
6459
|
} | undefined;
|
|
5634
6460
|
} | null | undefined;
|
|
5635
6461
|
waitingOnUser?: boolean | undefined;
|
|
6462
|
+
processScope?: {
|
|
6463
|
+
settled: boolean;
|
|
6464
|
+
coverage: "marker" | "marker+capture" | "tree_only";
|
|
6465
|
+
completeness: "complete" | "not_provable";
|
|
6466
|
+
census: "failed" | "ok" | "unsupported";
|
|
6467
|
+
survivors: number;
|
|
6468
|
+
unreadable: number;
|
|
6469
|
+
} | null | undefined;
|
|
5636
6470
|
route?: {
|
|
5637
6471
|
requestedModel?: string | null | undefined;
|
|
5638
6472
|
observedModel?: string | null | undefined;
|
|
@@ -5992,6 +6826,18 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
5992
6826
|
binary_path: string | null;
|
|
5993
6827
|
installed_version: string | null;
|
|
5994
6828
|
} | undefined;
|
|
6829
|
+
captureFailure?: {
|
|
6830
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
6831
|
+
message: string;
|
|
6832
|
+
causeCode?: string | undefined;
|
|
6833
|
+
bufferBudgetBytes?: number | undefined;
|
|
6834
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
6835
|
+
drain?: "truncated" | undefined;
|
|
6836
|
+
cleanup?: {
|
|
6837
|
+
code: string | null;
|
|
6838
|
+
message: string;
|
|
6839
|
+
} | undefined;
|
|
6840
|
+
} | undefined;
|
|
5995
6841
|
phase?: string | undefined;
|
|
5996
6842
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
5997
6843
|
code?: "access_profile_incompatible" | "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;
|
|
@@ -6008,6 +6854,23 @@ export declare const ControlRunDetail: z.ZodObject<{
|
|
|
6008
6854
|
message: string | null;
|
|
6009
6855
|
source: string;
|
|
6010
6856
|
} | null | undefined;
|
|
6857
|
+
poolAttempts?: {
|
|
6858
|
+
harnessId: string;
|
|
6859
|
+
profileId: string | null;
|
|
6860
|
+
profileDisplayName: string | null;
|
|
6861
|
+
requestedModel: string | null;
|
|
6862
|
+
attemptId: string;
|
|
6863
|
+
tryIndex: number;
|
|
6864
|
+
observedAt: string;
|
|
6865
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
6866
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
6867
|
+
error: string;
|
|
6868
|
+
vendorFailure: {
|
|
6869
|
+
code: string | null;
|
|
6870
|
+
message: string | null;
|
|
6871
|
+
source: string;
|
|
6872
|
+
} | null;
|
|
6873
|
+
}[] | undefined;
|
|
6011
6874
|
nextActions?: string[] | undefined;
|
|
6012
6875
|
} | null | undefined;
|
|
6013
6876
|
requiredActions?: {
|