@claudexor/schema 4.1.1 → 4.3.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-resources.d.ts +3957 -662
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +32 -0
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +5989 -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/agent-capabilities.js +1 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +5 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/budget.d.ts +16 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +13 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +12 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +298 -24
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +816 -42
- 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 +258 -39
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -21
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +332 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -2
- package/dist/decision.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +11 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +7 -0
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +32 -4
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -4
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +445 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/model-image.d.ts +7 -0
- package/dist/model-image.d.ts.map +1 -1
- package/dist/model-operation.d.ts +26 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +56 -0
- package/dist/processing.d.ts.map +1 -1
- package/dist/processing.js +15 -0
- package/dist/processing.js.map +1 -1
- package/dist/quota-read.d.ts +3 -3
- package/dist/quota-read.js +1 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/run-continuation.d.ts +9 -6
- 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/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-time-limit.d.ts +81 -0
- package/dist/run-time-limit.d.ts.map +1 -0
- package/dist/run-time-limit.js +36 -0
- package/dist/run-time-limit.js.map +1 -0
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +9 -0
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/telemetry.d.ts +12 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/AttemptExecutionEvidence.schema.json +6 -1
- package/generated/BudgetLease.schema.json +5 -0
- package/generated/ControlAccountResetResponse.schema.json +51 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
- package/generated/ControlAccountResourcesResponse.schema.json +71 -20
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
- package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
- package/generated/ControlModelCatalogResponse.schema.json +2 -1
- package/generated/ControlModelOperationDetail.schema.json +5 -0
- package/generated/ControlQuotaQueryResponse.schema.json +131 -20
- package/generated/ControlQuotaReadRequest.schema.json +2 -1
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +9 -1
- package/generated/ControlRunDetail.schema.json +187 -4
- package/generated/ControlRunListResponse.schema.json +164 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlRunSummary.schema.json +164 -1
- package/generated/ControlSettingsSnapshot.schema.json +10 -3
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/EnvelopeCustody.schema.json +6 -1
- package/generated/GlobalConfig.schema.json +10 -3
- package/generated/HarnessEvent.schema.json +24 -0
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/ImageCallResult.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +2578 -0
- package/generated/McpRunHandleResult.schema.json +177 -2
- package/generated/McpRunToolResult.schema.json +168 -1
- package/generated/ModelCallResult.schema.json +5 -0
- package/generated/ProcessingCostBasis.schema.json +5 -0
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFailure.schema.json +162 -0
- package/generated/RunProcessingIntent.schema.json +117 -0
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +6 -1
- package/generated/RunTimeLimitRequest.schema.json +92 -0
- package/generated/RunTimeLimitSnapshot.schema.json +61 -0
- package/generated/UsageCostSummary.schema.json +1 -1
- package/package.json +2 -2
package/dist/mcp-run-result.d.ts
CHANGED
|
@@ -101,14 +101,17 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
101
101
|
nativeMode: z.ZodNullable<z.ZodString>;
|
|
102
102
|
kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
|
|
103
103
|
source: z.ZodString;
|
|
104
|
+
debit: z.ZodOptional<z.ZodLiteral<"unobserved">>;
|
|
104
105
|
}, "strict", z.ZodTypeAny, {
|
|
105
106
|
nativeMode: string | null;
|
|
106
107
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
107
108
|
source: string;
|
|
109
|
+
debit?: "unobserved" | undefined;
|
|
108
110
|
}, {
|
|
109
111
|
nativeMode: string | null;
|
|
110
112
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
111
113
|
source: string;
|
|
114
|
+
debit?: "unobserved" | undefined;
|
|
112
115
|
}>>;
|
|
113
116
|
usageCost: z.ZodOptional<z.ZodObject<{
|
|
114
117
|
cashUsd: z.ZodNumber;
|
|
@@ -145,6 +148,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
145
148
|
nativeMode: string | null;
|
|
146
149
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
147
150
|
source: string;
|
|
151
|
+
debit?: "unobserved" | undefined;
|
|
148
152
|
} | undefined;
|
|
149
153
|
usageCost?: {
|
|
150
154
|
cashUsd: number;
|
|
@@ -169,6 +173,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
169
173
|
nativeMode: string | null;
|
|
170
174
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
171
175
|
source: string;
|
|
176
|
+
debit?: "unobserved" | undefined;
|
|
172
177
|
} | undefined;
|
|
173
178
|
usageCost?: {
|
|
174
179
|
cashUsd: number;
|
|
@@ -697,6 +702,46 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
697
702
|
binary_path: string | null;
|
|
698
703
|
installed_version: string | null;
|
|
699
704
|
}>]>>;
|
|
705
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
706
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
707
|
+
message: z.ZodString;
|
|
708
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
709
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
710
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
711
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
712
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
713
|
+
code: z.ZodNullable<z.ZodString>;
|
|
714
|
+
message: z.ZodString;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
code: string | null;
|
|
717
|
+
message: string;
|
|
718
|
+
}, {
|
|
719
|
+
code: string | null;
|
|
720
|
+
message: string;
|
|
721
|
+
}>>;
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
724
|
+
message: string;
|
|
725
|
+
causeCode?: string | undefined;
|
|
726
|
+
bufferBudgetBytes?: number | undefined;
|
|
727
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
728
|
+
drain?: "truncated" | undefined;
|
|
729
|
+
cleanup?: {
|
|
730
|
+
code: string | null;
|
|
731
|
+
message: string;
|
|
732
|
+
} | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
735
|
+
message: string;
|
|
736
|
+
causeCode?: string | undefined;
|
|
737
|
+
bufferBudgetBytes?: number | undefined;
|
|
738
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
739
|
+
drain?: "truncated" | undefined;
|
|
740
|
+
cleanup?: {
|
|
741
|
+
code: string | null;
|
|
742
|
+
message: string;
|
|
743
|
+
} | undefined;
|
|
744
|
+
}>>;
|
|
700
745
|
phase: z.ZodDefault<z.ZodString>;
|
|
701
746
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
702
747
|
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"]>>>;
|
|
@@ -721,6 +766,63 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
721
766
|
message: string | null;
|
|
722
767
|
source: string;
|
|
723
768
|
}>>>;
|
|
769
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
770
|
+
harnessId: z.ZodString;
|
|
771
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
772
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
773
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
774
|
+
attemptId: z.ZodString;
|
|
775
|
+
tryIndex: z.ZodNumber;
|
|
776
|
+
observedAt: z.ZodString;
|
|
777
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
778
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
779
|
+
error: z.ZodString;
|
|
780
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
781
|
+
code: z.ZodNullable<z.ZodString>;
|
|
782
|
+
message: z.ZodNullable<z.ZodString>;
|
|
783
|
+
source: z.ZodString;
|
|
784
|
+
}, "strip", z.ZodTypeAny, {
|
|
785
|
+
code: string | null;
|
|
786
|
+
message: string | null;
|
|
787
|
+
source: string;
|
|
788
|
+
}, {
|
|
789
|
+
code: string | null;
|
|
790
|
+
message: string | null;
|
|
791
|
+
source: string;
|
|
792
|
+
}>>;
|
|
793
|
+
}, "strip", z.ZodTypeAny, {
|
|
794
|
+
harnessId: string;
|
|
795
|
+
profileId: string | null;
|
|
796
|
+
profileDisplayName: string | null;
|
|
797
|
+
requestedModel: string | null;
|
|
798
|
+
attemptId: string;
|
|
799
|
+
tryIndex: number;
|
|
800
|
+
observedAt: string;
|
|
801
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
802
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
803
|
+
error: string;
|
|
804
|
+
vendorFailure: {
|
|
805
|
+
code: string | null;
|
|
806
|
+
message: string | null;
|
|
807
|
+
source: string;
|
|
808
|
+
} | null;
|
|
809
|
+
}, {
|
|
810
|
+
harnessId: string;
|
|
811
|
+
profileId: string | null;
|
|
812
|
+
profileDisplayName: string | null;
|
|
813
|
+
requestedModel: string | null;
|
|
814
|
+
attemptId: string;
|
|
815
|
+
tryIndex: number;
|
|
816
|
+
observedAt: string;
|
|
817
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
818
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
819
|
+
error: string;
|
|
820
|
+
vendorFailure: {
|
|
821
|
+
code: string | null;
|
|
822
|
+
message: string | null;
|
|
823
|
+
source: string;
|
|
824
|
+
} | null;
|
|
825
|
+
}>, "many">>;
|
|
724
826
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
725
827
|
}, "strip", z.ZodTypeAny, {
|
|
726
828
|
requestRefusal?: {
|
|
@@ -738,6 +840,18 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
738
840
|
binary_path: string | null;
|
|
739
841
|
installed_version: string | null;
|
|
740
842
|
} | undefined;
|
|
843
|
+
captureFailure?: {
|
|
844
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
845
|
+
message: string;
|
|
846
|
+
causeCode?: string | undefined;
|
|
847
|
+
bufferBudgetBytes?: number | undefined;
|
|
848
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
849
|
+
drain?: "truncated" | undefined;
|
|
850
|
+
cleanup?: {
|
|
851
|
+
code: string | null;
|
|
852
|
+
message: string;
|
|
853
|
+
} | undefined;
|
|
854
|
+
} | undefined;
|
|
741
855
|
phase: string;
|
|
742
856
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
743
857
|
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;
|
|
@@ -754,6 +868,23 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
754
868
|
message: string | null;
|
|
755
869
|
source: string;
|
|
756
870
|
} | null;
|
|
871
|
+
poolAttempts: {
|
|
872
|
+
harnessId: string;
|
|
873
|
+
profileId: string | null;
|
|
874
|
+
profileDisplayName: string | null;
|
|
875
|
+
requestedModel: string | null;
|
|
876
|
+
attemptId: string;
|
|
877
|
+
tryIndex: number;
|
|
878
|
+
observedAt: string;
|
|
879
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
880
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
881
|
+
error: string;
|
|
882
|
+
vendorFailure: {
|
|
883
|
+
code: string | null;
|
|
884
|
+
message: string | null;
|
|
885
|
+
source: string;
|
|
886
|
+
} | null;
|
|
887
|
+
}[];
|
|
757
888
|
nextActions: string[];
|
|
758
889
|
}, {
|
|
759
890
|
requestRefusal?: {
|
|
@@ -771,6 +902,18 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
771
902
|
binary_path: string | null;
|
|
772
903
|
installed_version: string | null;
|
|
773
904
|
} | undefined;
|
|
905
|
+
captureFailure?: {
|
|
906
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
907
|
+
message: string;
|
|
908
|
+
causeCode?: string | undefined;
|
|
909
|
+
bufferBudgetBytes?: number | undefined;
|
|
910
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
911
|
+
drain?: "truncated" | undefined;
|
|
912
|
+
cleanup?: {
|
|
913
|
+
code: string | null;
|
|
914
|
+
message: string;
|
|
915
|
+
} | undefined;
|
|
916
|
+
} | undefined;
|
|
774
917
|
phase?: string | undefined;
|
|
775
918
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
776
919
|
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;
|
|
@@ -787,6 +930,23 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
787
930
|
message: string | null;
|
|
788
931
|
source: string;
|
|
789
932
|
} | null | undefined;
|
|
933
|
+
poolAttempts?: {
|
|
934
|
+
harnessId: string;
|
|
935
|
+
profileId: string | null;
|
|
936
|
+
profileDisplayName: string | null;
|
|
937
|
+
requestedModel: string | null;
|
|
938
|
+
attemptId: string;
|
|
939
|
+
tryIndex: number;
|
|
940
|
+
observedAt: string;
|
|
941
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
942
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
943
|
+
error: string;
|
|
944
|
+
vendorFailure: {
|
|
945
|
+
code: string | null;
|
|
946
|
+
message: string | null;
|
|
947
|
+
source: string;
|
|
948
|
+
} | null;
|
|
949
|
+
}[] | undefined;
|
|
790
950
|
nextActions?: string[] | undefined;
|
|
791
951
|
}>>>;
|
|
792
952
|
applyEligibility: z.ZodNullable<z.ZodObject<{
|
|
@@ -929,6 +1089,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
929
1089
|
nativeMode: string | null;
|
|
930
1090
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
931
1091
|
source: string;
|
|
1092
|
+
debit?: "unobserved" | undefined;
|
|
932
1093
|
} | undefined;
|
|
933
1094
|
usageCost?: {
|
|
934
1095
|
cashUsd: number;
|
|
@@ -1050,6 +1211,18 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1050
1211
|
binary_path: string | null;
|
|
1051
1212
|
installed_version: string | null;
|
|
1052
1213
|
} | undefined;
|
|
1214
|
+
captureFailure?: {
|
|
1215
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1216
|
+
message: string;
|
|
1217
|
+
causeCode?: string | undefined;
|
|
1218
|
+
bufferBudgetBytes?: number | undefined;
|
|
1219
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1220
|
+
drain?: "truncated" | undefined;
|
|
1221
|
+
cleanup?: {
|
|
1222
|
+
code: string | null;
|
|
1223
|
+
message: string;
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
} | undefined;
|
|
1053
1226
|
phase: string;
|
|
1054
1227
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1055
1228
|
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;
|
|
@@ -1066,6 +1239,23 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1066
1239
|
message: string | null;
|
|
1067
1240
|
source: string;
|
|
1068
1241
|
} | null;
|
|
1242
|
+
poolAttempts: {
|
|
1243
|
+
harnessId: string;
|
|
1244
|
+
profileId: string | null;
|
|
1245
|
+
profileDisplayName: string | null;
|
|
1246
|
+
requestedModel: string | null;
|
|
1247
|
+
attemptId: string;
|
|
1248
|
+
tryIndex: number;
|
|
1249
|
+
observedAt: string;
|
|
1250
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1251
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1252
|
+
error: string;
|
|
1253
|
+
vendorFailure: {
|
|
1254
|
+
code: string | null;
|
|
1255
|
+
message: string | null;
|
|
1256
|
+
source: string;
|
|
1257
|
+
} | null;
|
|
1258
|
+
}[];
|
|
1069
1259
|
nextActions: string[];
|
|
1070
1260
|
} | null;
|
|
1071
1261
|
applyEligibility: {
|
|
@@ -1122,6 +1312,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1122
1312
|
nativeMode: string | null;
|
|
1123
1313
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1124
1314
|
source: string;
|
|
1315
|
+
debit?: "unobserved" | undefined;
|
|
1125
1316
|
} | undefined;
|
|
1126
1317
|
usageCost?: {
|
|
1127
1318
|
cashUsd: number;
|
|
@@ -1243,6 +1434,18 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1243
1434
|
binary_path: string | null;
|
|
1244
1435
|
installed_version: string | null;
|
|
1245
1436
|
} | undefined;
|
|
1437
|
+
captureFailure?: {
|
|
1438
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1439
|
+
message: string;
|
|
1440
|
+
causeCode?: string | undefined;
|
|
1441
|
+
bufferBudgetBytes?: number | undefined;
|
|
1442
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1443
|
+
drain?: "truncated" | undefined;
|
|
1444
|
+
cleanup?: {
|
|
1445
|
+
code: string | null;
|
|
1446
|
+
message: string;
|
|
1447
|
+
} | undefined;
|
|
1448
|
+
} | undefined;
|
|
1246
1449
|
phase?: string | undefined;
|
|
1247
1450
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1248
1451
|
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;
|
|
@@ -1259,6 +1462,23 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1259
1462
|
message: string | null;
|
|
1260
1463
|
source: string;
|
|
1261
1464
|
} | null | undefined;
|
|
1465
|
+
poolAttempts?: {
|
|
1466
|
+
harnessId: string;
|
|
1467
|
+
profileId: string | null;
|
|
1468
|
+
profileDisplayName: string | null;
|
|
1469
|
+
requestedModel: string | null;
|
|
1470
|
+
attemptId: string;
|
|
1471
|
+
tryIndex: number;
|
|
1472
|
+
observedAt: string;
|
|
1473
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1474
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1475
|
+
error: string;
|
|
1476
|
+
vendorFailure: {
|
|
1477
|
+
code: string | null;
|
|
1478
|
+
message: string | null;
|
|
1479
|
+
source: string;
|
|
1480
|
+
} | null;
|
|
1481
|
+
}[] | undefined;
|
|
1262
1482
|
nextActions?: string[] | undefined;
|
|
1263
1483
|
} | null | undefined;
|
|
1264
1484
|
applyEligibility: {
|
|
@@ -1340,14 +1560,17 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1340
1560
|
nativeMode: z.ZodNullable<z.ZodString>;
|
|
1341
1561
|
kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
|
|
1342
1562
|
source: z.ZodString;
|
|
1563
|
+
debit: z.ZodOptional<z.ZodLiteral<"unobserved">>;
|
|
1343
1564
|
}, "strict", z.ZodTypeAny, {
|
|
1344
1565
|
nativeMode: string | null;
|
|
1345
1566
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1346
1567
|
source: string;
|
|
1568
|
+
debit?: "unobserved" | undefined;
|
|
1347
1569
|
}, {
|
|
1348
1570
|
nativeMode: string | null;
|
|
1349
1571
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1350
1572
|
source: string;
|
|
1573
|
+
debit?: "unobserved" | undefined;
|
|
1351
1574
|
}>>;
|
|
1352
1575
|
usageCost: z.ZodOptional<z.ZodObject<{
|
|
1353
1576
|
cashUsd: z.ZodNumber;
|
|
@@ -1384,6 +1607,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1384
1607
|
nativeMode: string | null;
|
|
1385
1608
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1386
1609
|
source: string;
|
|
1610
|
+
debit?: "unobserved" | undefined;
|
|
1387
1611
|
} | undefined;
|
|
1388
1612
|
usageCost?: {
|
|
1389
1613
|
cashUsd: number;
|
|
@@ -1408,6 +1632,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1408
1632
|
nativeMode: string | null;
|
|
1409
1633
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1410
1634
|
source: string;
|
|
1635
|
+
debit?: "unobserved" | undefined;
|
|
1411
1636
|
} | undefined;
|
|
1412
1637
|
usageCost?: {
|
|
1413
1638
|
cashUsd: number;
|
|
@@ -1938,6 +2163,46 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1938
2163
|
binary_path: string | null;
|
|
1939
2164
|
installed_version: string | null;
|
|
1940
2165
|
}>]>>;
|
|
2166
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
2167
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
2168
|
+
message: z.ZodString;
|
|
2169
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
2171
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
2172
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
2173
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
2174
|
+
code: z.ZodNullable<z.ZodString>;
|
|
2175
|
+
message: z.ZodString;
|
|
2176
|
+
}, "strip", z.ZodTypeAny, {
|
|
2177
|
+
code: string | null;
|
|
2178
|
+
message: string;
|
|
2179
|
+
}, {
|
|
2180
|
+
code: string | null;
|
|
2181
|
+
message: string;
|
|
2182
|
+
}>>;
|
|
2183
|
+
}, "strip", z.ZodTypeAny, {
|
|
2184
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2185
|
+
message: string;
|
|
2186
|
+
causeCode?: string | undefined;
|
|
2187
|
+
bufferBudgetBytes?: number | undefined;
|
|
2188
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2189
|
+
drain?: "truncated" | undefined;
|
|
2190
|
+
cleanup?: {
|
|
2191
|
+
code: string | null;
|
|
2192
|
+
message: string;
|
|
2193
|
+
} | undefined;
|
|
2194
|
+
}, {
|
|
2195
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2196
|
+
message: string;
|
|
2197
|
+
causeCode?: string | undefined;
|
|
2198
|
+
bufferBudgetBytes?: number | undefined;
|
|
2199
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2200
|
+
drain?: "truncated" | undefined;
|
|
2201
|
+
cleanup?: {
|
|
2202
|
+
code: string | null;
|
|
2203
|
+
message: string;
|
|
2204
|
+
} | undefined;
|
|
2205
|
+
}>>;
|
|
1941
2206
|
phase: z.ZodDefault<z.ZodString>;
|
|
1942
2207
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1943
2208
|
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"]>>>;
|
|
@@ -1962,6 +2227,63 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1962
2227
|
message: string | null;
|
|
1963
2228
|
source: string;
|
|
1964
2229
|
}>>>;
|
|
2230
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2231
|
+
harnessId: z.ZodString;
|
|
2232
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
2233
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
2234
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
2235
|
+
attemptId: z.ZodString;
|
|
2236
|
+
tryIndex: z.ZodNumber;
|
|
2237
|
+
observedAt: z.ZodString;
|
|
2238
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
2239
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
2240
|
+
error: z.ZodString;
|
|
2241
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
2242
|
+
code: z.ZodNullable<z.ZodString>;
|
|
2243
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2244
|
+
source: z.ZodString;
|
|
2245
|
+
}, "strip", z.ZodTypeAny, {
|
|
2246
|
+
code: string | null;
|
|
2247
|
+
message: string | null;
|
|
2248
|
+
source: string;
|
|
2249
|
+
}, {
|
|
2250
|
+
code: string | null;
|
|
2251
|
+
message: string | null;
|
|
2252
|
+
source: string;
|
|
2253
|
+
}>>;
|
|
2254
|
+
}, "strip", z.ZodTypeAny, {
|
|
2255
|
+
harnessId: string;
|
|
2256
|
+
profileId: string | null;
|
|
2257
|
+
profileDisplayName: string | null;
|
|
2258
|
+
requestedModel: string | null;
|
|
2259
|
+
attemptId: string;
|
|
2260
|
+
tryIndex: number;
|
|
2261
|
+
observedAt: string;
|
|
2262
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2263
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2264
|
+
error: string;
|
|
2265
|
+
vendorFailure: {
|
|
2266
|
+
code: string | null;
|
|
2267
|
+
message: string | null;
|
|
2268
|
+
source: string;
|
|
2269
|
+
} | null;
|
|
2270
|
+
}, {
|
|
2271
|
+
harnessId: string;
|
|
2272
|
+
profileId: string | null;
|
|
2273
|
+
profileDisplayName: string | null;
|
|
2274
|
+
requestedModel: string | null;
|
|
2275
|
+
attemptId: string;
|
|
2276
|
+
tryIndex: number;
|
|
2277
|
+
observedAt: string;
|
|
2278
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2279
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2280
|
+
error: string;
|
|
2281
|
+
vendorFailure: {
|
|
2282
|
+
code: string | null;
|
|
2283
|
+
message: string | null;
|
|
2284
|
+
source: string;
|
|
2285
|
+
} | null;
|
|
2286
|
+
}>, "many">>;
|
|
1965
2287
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1966
2288
|
}, "strip", z.ZodTypeAny, {
|
|
1967
2289
|
requestRefusal?: {
|
|
@@ -1979,6 +2301,18 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1979
2301
|
binary_path: string | null;
|
|
1980
2302
|
installed_version: string | null;
|
|
1981
2303
|
} | undefined;
|
|
2304
|
+
captureFailure?: {
|
|
2305
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2306
|
+
message: string;
|
|
2307
|
+
causeCode?: string | undefined;
|
|
2308
|
+
bufferBudgetBytes?: number | undefined;
|
|
2309
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2310
|
+
drain?: "truncated" | undefined;
|
|
2311
|
+
cleanup?: {
|
|
2312
|
+
code: string | null;
|
|
2313
|
+
message: string;
|
|
2314
|
+
} | undefined;
|
|
2315
|
+
} | undefined;
|
|
1982
2316
|
phase: string;
|
|
1983
2317
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1984
2318
|
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;
|
|
@@ -1995,6 +2329,23 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1995
2329
|
message: string | null;
|
|
1996
2330
|
source: string;
|
|
1997
2331
|
} | null;
|
|
2332
|
+
poolAttempts: {
|
|
2333
|
+
harnessId: string;
|
|
2334
|
+
profileId: string | null;
|
|
2335
|
+
profileDisplayName: string | null;
|
|
2336
|
+
requestedModel: string | null;
|
|
2337
|
+
attemptId: string;
|
|
2338
|
+
tryIndex: number;
|
|
2339
|
+
observedAt: string;
|
|
2340
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2341
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2342
|
+
error: string;
|
|
2343
|
+
vendorFailure: {
|
|
2344
|
+
code: string | null;
|
|
2345
|
+
message: string | null;
|
|
2346
|
+
source: string;
|
|
2347
|
+
} | null;
|
|
2348
|
+
}[];
|
|
1998
2349
|
nextActions: string[];
|
|
1999
2350
|
}, {
|
|
2000
2351
|
requestRefusal?: {
|
|
@@ -2012,6 +2363,18 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2012
2363
|
binary_path: string | null;
|
|
2013
2364
|
installed_version: string | null;
|
|
2014
2365
|
} | undefined;
|
|
2366
|
+
captureFailure?: {
|
|
2367
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2368
|
+
message: string;
|
|
2369
|
+
causeCode?: string | undefined;
|
|
2370
|
+
bufferBudgetBytes?: number | undefined;
|
|
2371
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2372
|
+
drain?: "truncated" | undefined;
|
|
2373
|
+
cleanup?: {
|
|
2374
|
+
code: string | null;
|
|
2375
|
+
message: string;
|
|
2376
|
+
} | undefined;
|
|
2377
|
+
} | undefined;
|
|
2015
2378
|
phase?: string | undefined;
|
|
2016
2379
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2017
2380
|
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;
|
|
@@ -2028,6 +2391,23 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2028
2391
|
message: string | null;
|
|
2029
2392
|
source: string;
|
|
2030
2393
|
} | null | undefined;
|
|
2394
|
+
poolAttempts?: {
|
|
2395
|
+
harnessId: string;
|
|
2396
|
+
profileId: string | null;
|
|
2397
|
+
profileDisplayName: string | null;
|
|
2398
|
+
requestedModel: string | null;
|
|
2399
|
+
attemptId: string;
|
|
2400
|
+
tryIndex: number;
|
|
2401
|
+
observedAt: string;
|
|
2402
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2403
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2404
|
+
error: string;
|
|
2405
|
+
vendorFailure: {
|
|
2406
|
+
code: string | null;
|
|
2407
|
+
message: string | null;
|
|
2408
|
+
source: string;
|
|
2409
|
+
} | null;
|
|
2410
|
+
}[] | undefined;
|
|
2031
2411
|
nextActions?: string[] | undefined;
|
|
2032
2412
|
}>>>;
|
|
2033
2413
|
outcomeBanner: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2126,6 +2506,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2126
2506
|
maxUsd: number;
|
|
2127
2507
|
}>]>>;
|
|
2128
2508
|
spendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2509
|
+
controllableSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2129
2510
|
valuationUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2130
2511
|
valuationKnowledge: z.ZodDefault<z.ZodEnum<["exact", "estimated", "unknown"]>>;
|
|
2131
2512
|
remainingUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2141,6 +2522,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2141
2522
|
maxUsd: number;
|
|
2142
2523
|
};
|
|
2143
2524
|
spendUsd: number | null;
|
|
2525
|
+
controllableSpendUsd: number | null;
|
|
2144
2526
|
valuationUsd: number | null;
|
|
2145
2527
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
2146
2528
|
remainingUsd: number | null;
|
|
@@ -2156,6 +2538,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2156
2538
|
maxUsd: number;
|
|
2157
2539
|
} | undefined;
|
|
2158
2540
|
spendUsd?: number | null | undefined;
|
|
2541
|
+
controllableSpendUsd?: number | null | undefined;
|
|
2159
2542
|
valuationUsd?: number | null | undefined;
|
|
2160
2543
|
valuationKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
2161
2544
|
remainingUsd?: number | null | undefined;
|
|
@@ -2272,6 +2655,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2272
2655
|
nativeMode: string | null;
|
|
2273
2656
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
2274
2657
|
source: string;
|
|
2658
|
+
debit?: "unobserved" | undefined;
|
|
2275
2659
|
} | undefined;
|
|
2276
2660
|
usageCost?: {
|
|
2277
2661
|
cashUsd: number;
|
|
@@ -2395,6 +2779,18 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2395
2779
|
binary_path: string | null;
|
|
2396
2780
|
installed_version: string | null;
|
|
2397
2781
|
} | undefined;
|
|
2782
|
+
captureFailure?: {
|
|
2783
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2784
|
+
message: string;
|
|
2785
|
+
causeCode?: string | undefined;
|
|
2786
|
+
bufferBudgetBytes?: number | undefined;
|
|
2787
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2788
|
+
drain?: "truncated" | undefined;
|
|
2789
|
+
cleanup?: {
|
|
2790
|
+
code: string | null;
|
|
2791
|
+
message: string;
|
|
2792
|
+
} | undefined;
|
|
2793
|
+
} | undefined;
|
|
2398
2794
|
phase: string;
|
|
2399
2795
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2400
2796
|
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;
|
|
@@ -2411,6 +2807,23 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2411
2807
|
message: string | null;
|
|
2412
2808
|
source: string;
|
|
2413
2809
|
} | null;
|
|
2810
|
+
poolAttempts: {
|
|
2811
|
+
harnessId: string;
|
|
2812
|
+
profileId: string | null;
|
|
2813
|
+
profileDisplayName: string | null;
|
|
2814
|
+
requestedModel: string | null;
|
|
2815
|
+
attemptId: string;
|
|
2816
|
+
tryIndex: number;
|
|
2817
|
+
observedAt: string;
|
|
2818
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2819
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2820
|
+
error: string;
|
|
2821
|
+
vendorFailure: {
|
|
2822
|
+
code: string | null;
|
|
2823
|
+
message: string | null;
|
|
2824
|
+
source: string;
|
|
2825
|
+
} | null;
|
|
2826
|
+
}[];
|
|
2414
2827
|
nextActions: string[];
|
|
2415
2828
|
} | null;
|
|
2416
2829
|
outcomeBanner: string | null;
|
|
@@ -2445,6 +2858,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2445
2858
|
maxUsd: number;
|
|
2446
2859
|
};
|
|
2447
2860
|
spendUsd: number | null;
|
|
2861
|
+
controllableSpendUsd: number | null;
|
|
2448
2862
|
valuationUsd: number | null;
|
|
2449
2863
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
2450
2864
|
remainingUsd: number | null;
|
|
@@ -2496,6 +2910,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2496
2910
|
nativeMode: string | null;
|
|
2497
2911
|
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
2498
2912
|
source: string;
|
|
2913
|
+
debit?: "unobserved" | undefined;
|
|
2499
2914
|
} | undefined;
|
|
2500
2915
|
usageCost?: {
|
|
2501
2916
|
cashUsd: number;
|
|
@@ -2619,6 +3034,18 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2619
3034
|
binary_path: string | null;
|
|
2620
3035
|
installed_version: string | null;
|
|
2621
3036
|
} | undefined;
|
|
3037
|
+
captureFailure?: {
|
|
3038
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
3039
|
+
message: string;
|
|
3040
|
+
causeCode?: string | undefined;
|
|
3041
|
+
bufferBudgetBytes?: number | undefined;
|
|
3042
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
3043
|
+
drain?: "truncated" | undefined;
|
|
3044
|
+
cleanup?: {
|
|
3045
|
+
code: string | null;
|
|
3046
|
+
message: string;
|
|
3047
|
+
} | undefined;
|
|
3048
|
+
} | undefined;
|
|
2622
3049
|
phase?: string | undefined;
|
|
2623
3050
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2624
3051
|
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;
|
|
@@ -2635,6 +3062,23 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2635
3062
|
message: string | null;
|
|
2636
3063
|
source: string;
|
|
2637
3064
|
} | null | undefined;
|
|
3065
|
+
poolAttempts?: {
|
|
3066
|
+
harnessId: string;
|
|
3067
|
+
profileId: string | null;
|
|
3068
|
+
profileDisplayName: string | null;
|
|
3069
|
+
requestedModel: string | null;
|
|
3070
|
+
attemptId: string;
|
|
3071
|
+
tryIndex: number;
|
|
3072
|
+
observedAt: string;
|
|
3073
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
3074
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
3075
|
+
error: string;
|
|
3076
|
+
vendorFailure: {
|
|
3077
|
+
code: string | null;
|
|
3078
|
+
message: string | null;
|
|
3079
|
+
source: string;
|
|
3080
|
+
} | null;
|
|
3081
|
+
}[] | undefined;
|
|
2638
3082
|
nextActions?: string[] | undefined;
|
|
2639
3083
|
} | null | undefined;
|
|
2640
3084
|
outcomeBanner?: string | null | undefined;
|
|
@@ -2669,6 +3113,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2669
3113
|
maxUsd: number;
|
|
2670
3114
|
} | undefined;
|
|
2671
3115
|
spendUsd?: number | null | undefined;
|
|
3116
|
+
controllableSpendUsd?: number | null | undefined;
|
|
2672
3117
|
valuationUsd?: number | null | undefined;
|
|
2673
3118
|
valuationKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
2674
3119
|
remainingUsd?: number | null | undefined;
|