@claudexor/schema 3.19.0 → 3.22.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/agent-capabilities.d.ts +1 -1
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +1 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/continuation-admission.d.ts +41 -0
- package/dist/continuation-admission.d.ts.map +1 -0
- package/dist/continuation-admission.js +136 -0
- package/dist/continuation-admission.js.map +1 -0
- package/dist/control-gc.d.ts +9 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +12 -0
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +415 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +891 -25
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +36 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +1 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-thread-requests.d.ts +101 -0
- package/dist/control-thread-requests.d.ts.map +1 -0
- package/dist/control-thread-requests.js +52 -0
- package/dist/control-thread-requests.js.map +1 -0
- package/dist/control.d.ts +377 -106
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +26 -45
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +172 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +4 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +3 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +12 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/effort.d.ts +33 -12
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +43 -13
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +7 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +11 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +20 -2
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +17 -6
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +57 -20
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -5
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +253 -14
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +38 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/quota.d.ts +507 -12
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +111 -15
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +0 -1
- package/dist/raw.js.map +1 -1
- package/dist/run-continuation.d.ts +166 -0
- package/dist/run-continuation.d.ts.map +1 -0
- package/dist/run-continuation.js +65 -0
- package/dist/run-continuation.js.map +1 -0
- package/dist/run-continuity.d.ts +215 -0
- package/dist/run-continuity.d.ts.map +1 -0
- package/dist/run-continuity.js +170 -0
- package/dist/run-continuity.js.map +1 -0
- package/dist/run-facts.d.ts +7 -0
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/setup-login.d.ts +35 -0
- package/dist/setup-login.d.ts.map +1 -1
- package/dist/setup-login.js +10 -0
- package/dist/setup-login.js.map +1 -1
- package/dist/status-projection.d.ts +8 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +22 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +109 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +4 -0
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +10 -1
- package/dist/thread.js.map +1 -1
- package/dist/work-report.d.ts +18 -4
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +26 -5
- package/dist/work-report.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +29 -7
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +29 -7
- package/generated/ControlGcReceipt.schema.json +14 -0
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +28 -6
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +16 -0
- package/generated/ControlRunDetail.schema.json +503 -54
- package/generated/ControlRunListResponse.schema.json +503 -54
- package/generated/ControlRunStartRequest.schema.json +16 -0
- package/generated/ControlRunSummary.schema.json +503 -54
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +16 -1
- package/generated/ControlThreadCreateRequest.schema.json +6 -0
- package/generated/ControlThreadDetail.schema.json +30 -2
- package/generated/ControlThreadListResponse.schema.json +16 -1
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/ControlThreadUpdateRequest.schema.json +15 -1
- package/generated/DecisionRecord.schema.json +14 -1
- package/generated/EnvelopeCustody.schema.json +195 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +114 -56
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +214 -54
- package/generated/McpRunToolResult.schema.json +119 -54
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunFailure.schema.json +105 -53
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +118 -54
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/generated/Thread.schema.json +16 -1
- package/package.json +2 -2
package/dist/mcp-run-result.d.ts
CHANGED
|
@@ -13,6 +13,57 @@ export declare const RunDetailProblem: z.ZodObject<{
|
|
|
13
13
|
retryable: boolean | null;
|
|
14
14
|
}>;
|
|
15
15
|
export type RunDetailProblem = z.infer<typeof RunDetailProblem>;
|
|
16
|
+
/**
|
|
17
|
+
* INV-062 disclosure for a run whose output held secret-like strings: the
|
|
18
|
+
* changes were kept and only Claudexor's saved/served copies hide them. Paths,
|
|
19
|
+
* rule ids and counts — never a matched value.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SecretLikeDisclosure: z.ZodObject<{
|
|
22
|
+
totalMatches: z.ZodNumber;
|
|
23
|
+
answerMatches: z.ZodNumber;
|
|
24
|
+
files: z.ZodArray<z.ZodObject<{
|
|
25
|
+
path: z.ZodString;
|
|
26
|
+
matches: z.ZodNumber;
|
|
27
|
+
kinds: z.ZodArray<z.ZodString, "many">;
|
|
28
|
+
}, "strict", z.ZodTypeAny, {
|
|
29
|
+
path: string;
|
|
30
|
+
matches: number;
|
|
31
|
+
kinds: string[];
|
|
32
|
+
}, {
|
|
33
|
+
path: string;
|
|
34
|
+
matches: number;
|
|
35
|
+
kinds: string[];
|
|
36
|
+
}>, "many">;
|
|
37
|
+
binaryPaths: z.ZodArray<z.ZodString, "many">;
|
|
38
|
+
mediaWithheld: z.ZodArray<z.ZodString, "many">;
|
|
39
|
+
persistedPatch: z.ZodEnum<["exact", "redacted"]>;
|
|
40
|
+
exactPatchRecorded: z.ZodNullable<z.ZodBoolean>;
|
|
41
|
+
}, "strict", z.ZodTypeAny, {
|
|
42
|
+
totalMatches: number;
|
|
43
|
+
answerMatches: number;
|
|
44
|
+
files: {
|
|
45
|
+
path: string;
|
|
46
|
+
matches: number;
|
|
47
|
+
kinds: string[];
|
|
48
|
+
}[];
|
|
49
|
+
binaryPaths: string[];
|
|
50
|
+
mediaWithheld: string[];
|
|
51
|
+
persistedPatch: "exact" | "redacted";
|
|
52
|
+
exactPatchRecorded: boolean | null;
|
|
53
|
+
}, {
|
|
54
|
+
totalMatches: number;
|
|
55
|
+
answerMatches: number;
|
|
56
|
+
files: {
|
|
57
|
+
path: string;
|
|
58
|
+
matches: number;
|
|
59
|
+
kinds: string[];
|
|
60
|
+
}[];
|
|
61
|
+
binaryPaths: string[];
|
|
62
|
+
mediaWithheld: string[];
|
|
63
|
+
persistedPatch: "exact" | "redacted";
|
|
64
|
+
exactPatchRecorded: boolean | null;
|
|
65
|
+
}>;
|
|
66
|
+
export type SecretLikeDisclosure = z.infer<typeof SecretLikeDisclosure>;
|
|
16
67
|
/**
|
|
17
68
|
* The structured result shape MCP run tools return (structuredContent).
|
|
18
69
|
* Text content mirrors it for hosts without structured-output support.
|
|
@@ -159,6 +210,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
159
210
|
locator?: string | null | undefined;
|
|
160
211
|
description: string;
|
|
161
212
|
}>, "many">>;
|
|
213
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
162
214
|
}, "strip", z.ZodTypeAny, {
|
|
163
215
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
164
216
|
source: "absent" | "constrained" | "validated";
|
|
@@ -167,6 +219,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
167
219
|
locator: string | null;
|
|
168
220
|
description: string;
|
|
169
221
|
}[] | undefined;
|
|
222
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
170
223
|
}, {
|
|
171
224
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
172
225
|
source: "absent" | "constrained" | "validated";
|
|
@@ -175,6 +228,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
175
228
|
locator?: string | null | undefined;
|
|
176
229
|
description: string;
|
|
177
230
|
}[] | undefined;
|
|
231
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
178
232
|
}>>;
|
|
179
233
|
}, "strict", z.ZodTypeAny, {
|
|
180
234
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -191,6 +245,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
191
245
|
locator: string | null;
|
|
192
246
|
description: string;
|
|
193
247
|
}[] | undefined;
|
|
248
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
194
249
|
} | undefined;
|
|
195
250
|
}, {
|
|
196
251
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -207,6 +262,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
207
262
|
locator?: string | null | undefined;
|
|
208
263
|
description: string;
|
|
209
264
|
}[] | undefined;
|
|
265
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
210
266
|
} | undefined;
|
|
211
267
|
}>;
|
|
212
268
|
deliverable: z.ZodObject<{
|
|
@@ -391,6 +447,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
391
447
|
locator: string | null;
|
|
392
448
|
description: string;
|
|
393
449
|
}[] | undefined;
|
|
450
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
394
451
|
} | undefined;
|
|
395
452
|
};
|
|
396
453
|
deliverable: {
|
|
@@ -463,6 +520,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
463
520
|
locator?: string | null | undefined;
|
|
464
521
|
description: string;
|
|
465
522
|
}[] | undefined;
|
|
523
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
466
524
|
} | undefined;
|
|
467
525
|
};
|
|
468
526
|
deliverable: {
|
|
@@ -539,6 +597,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
539
597
|
locator?: string | null | undefined;
|
|
540
598
|
description: string;
|
|
541
599
|
}>, "many">>;
|
|
600
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
542
601
|
}, "strip", z.ZodTypeAny, {
|
|
543
602
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
544
603
|
source: "absent" | "constrained" | "validated";
|
|
@@ -547,6 +606,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
547
606
|
locator: string | null;
|
|
548
607
|
description: string;
|
|
549
608
|
}[] | undefined;
|
|
609
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
550
610
|
}, {
|
|
551
611
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
552
612
|
source: "absent" | "constrained" | "validated";
|
|
@@ -555,6 +615,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
555
615
|
locator?: string | null | undefined;
|
|
556
616
|
description: string;
|
|
557
617
|
}[] | undefined;
|
|
618
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
558
619
|
}>>;
|
|
559
620
|
}, "strict", z.ZodTypeAny, {
|
|
560
621
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -571,6 +632,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
571
632
|
locator: string | null;
|
|
572
633
|
description: string;
|
|
573
634
|
}[] | undefined;
|
|
635
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
574
636
|
} | undefined;
|
|
575
637
|
}, {
|
|
576
638
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -587,10 +649,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
587
649
|
locator?: string | null | undefined;
|
|
588
650
|
description: string;
|
|
589
651
|
}[] | undefined;
|
|
652
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
590
653
|
} | undefined;
|
|
591
654
|
}>>>;
|
|
592
655
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
593
|
-
requestRefusal: z.ZodOptional<z.ZodObject<{
|
|
656
|
+
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
594
657
|
scope: z.ZodLiteral<"turn_text">;
|
|
595
658
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
596
659
|
source: z.ZodString;
|
|
@@ -615,10 +678,28 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
615
678
|
limit: number | null;
|
|
616
679
|
actual: number | null;
|
|
617
680
|
native_code: string;
|
|
618
|
-
}
|
|
681
|
+
}>, z.ZodObject<{
|
|
682
|
+
kind: z.ZodLiteral<"vendor_cli_too_old">;
|
|
683
|
+
native_code: z.ZodLiteral<"claude_code_version_too_old">;
|
|
684
|
+
source: z.ZodLiteral<"claude_stdout">;
|
|
685
|
+
binary_path: z.ZodNullable<z.ZodString>;
|
|
686
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
687
|
+
}, "strip", z.ZodTypeAny, {
|
|
688
|
+
kind: "vendor_cli_too_old";
|
|
689
|
+
native_code: "claude_code_version_too_old";
|
|
690
|
+
source: "claude_stdout";
|
|
691
|
+
binary_path: string | null;
|
|
692
|
+
installed_version: string | null;
|
|
693
|
+
}, {
|
|
694
|
+
kind: "vendor_cli_too_old";
|
|
695
|
+
native_code: "claude_code_version_too_old";
|
|
696
|
+
source: "claude_stdout";
|
|
697
|
+
binary_path: string | null;
|
|
698
|
+
installed_version: string | null;
|
|
699
|
+
}>]>>;
|
|
619
700
|
phase: z.ZodDefault<z.ZodString>;
|
|
620
701
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
621
|
-
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", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
702
|
+
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"]>>>;
|
|
622
703
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
623
704
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
624
705
|
safeMessage: z.ZodString;
|
|
@@ -650,10 +731,16 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
650
731
|
limit: number | null;
|
|
651
732
|
actual: number | null;
|
|
652
733
|
native_code: string;
|
|
734
|
+
} | {
|
|
735
|
+
kind: "vendor_cli_too_old";
|
|
736
|
+
native_code: "claude_code_version_too_old";
|
|
737
|
+
source: "claude_stdout";
|
|
738
|
+
binary_path: string | null;
|
|
739
|
+
installed_version: string | null;
|
|
653
740
|
} | undefined;
|
|
654
741
|
phase: string;
|
|
655
742
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
656
|
-
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" | null;
|
|
743
|
+
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;
|
|
657
744
|
harnessId: string | null;
|
|
658
745
|
attemptId: string | null;
|
|
659
746
|
safeMessage: string;
|
|
@@ -677,10 +764,16 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
677
764
|
limit: number | null;
|
|
678
765
|
actual: number | null;
|
|
679
766
|
native_code: string;
|
|
767
|
+
} | {
|
|
768
|
+
kind: "vendor_cli_too_old";
|
|
769
|
+
native_code: "claude_code_version_too_old";
|
|
770
|
+
source: "claude_stdout";
|
|
771
|
+
binary_path: string | null;
|
|
772
|
+
installed_version: string | null;
|
|
680
773
|
} | undefined;
|
|
681
774
|
phase?: string | undefined;
|
|
682
775
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
683
|
-
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" | null | undefined;
|
|
776
|
+
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;
|
|
684
777
|
harnessId?: string | null | undefined;
|
|
685
778
|
attemptId?: string | null | undefined;
|
|
686
779
|
safeMessage: string;
|
|
@@ -869,6 +962,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
869
962
|
locator: string | null;
|
|
870
963
|
description: string;
|
|
871
964
|
}[] | undefined;
|
|
965
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
872
966
|
} | undefined;
|
|
873
967
|
};
|
|
874
968
|
deliverable: {
|
|
@@ -937,6 +1031,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
937
1031
|
locator: string | null;
|
|
938
1032
|
description: string;
|
|
939
1033
|
}[] | undefined;
|
|
1034
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
940
1035
|
} | undefined;
|
|
941
1036
|
} | null;
|
|
942
1037
|
failure: {
|
|
@@ -948,10 +1043,16 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
948
1043
|
limit: number | null;
|
|
949
1044
|
actual: number | null;
|
|
950
1045
|
native_code: string;
|
|
1046
|
+
} | {
|
|
1047
|
+
kind: "vendor_cli_too_old";
|
|
1048
|
+
native_code: "claude_code_version_too_old";
|
|
1049
|
+
source: "claude_stdout";
|
|
1050
|
+
binary_path: string | null;
|
|
1051
|
+
installed_version: string | null;
|
|
951
1052
|
} | undefined;
|
|
952
1053
|
phase: string;
|
|
953
1054
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
954
|
-
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" | null;
|
|
1055
|
+
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;
|
|
955
1056
|
harnessId: string | null;
|
|
956
1057
|
attemptId: string | null;
|
|
957
1058
|
safeMessage: string;
|
|
@@ -1054,6 +1155,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1054
1155
|
locator?: string | null | undefined;
|
|
1055
1156
|
description: string;
|
|
1056
1157
|
}[] | undefined;
|
|
1158
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1057
1159
|
} | undefined;
|
|
1058
1160
|
};
|
|
1059
1161
|
deliverable: {
|
|
@@ -1122,6 +1224,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1122
1224
|
locator?: string | null | undefined;
|
|
1123
1225
|
description: string;
|
|
1124
1226
|
}[] | undefined;
|
|
1227
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1125
1228
|
} | undefined;
|
|
1126
1229
|
} | null | undefined;
|
|
1127
1230
|
failure?: {
|
|
@@ -1133,10 +1236,16 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1133
1236
|
limit: number | null;
|
|
1134
1237
|
actual: number | null;
|
|
1135
1238
|
native_code: string;
|
|
1239
|
+
} | {
|
|
1240
|
+
kind: "vendor_cli_too_old";
|
|
1241
|
+
native_code: "claude_code_version_too_old";
|
|
1242
|
+
source: "claude_stdout";
|
|
1243
|
+
binary_path: string | null;
|
|
1244
|
+
installed_version: string | null;
|
|
1136
1245
|
} | undefined;
|
|
1137
1246
|
phase?: string | undefined;
|
|
1138
1247
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1139
|
-
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" | null | undefined;
|
|
1248
|
+
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;
|
|
1140
1249
|
harnessId?: string | null | undefined;
|
|
1141
1250
|
attemptId?: string | null | undefined;
|
|
1142
1251
|
safeMessage: string;
|
|
@@ -1340,6 +1449,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1340
1449
|
locator?: string | null | undefined;
|
|
1341
1450
|
description: string;
|
|
1342
1451
|
}>, "many">>;
|
|
1452
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
1343
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1344
1454
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1345
1455
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1348,6 +1458,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1348
1458
|
locator: string | null;
|
|
1349
1459
|
description: string;
|
|
1350
1460
|
}[] | undefined;
|
|
1461
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1351
1462
|
}, {
|
|
1352
1463
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1353
1464
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1356,6 +1467,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1356
1467
|
locator?: string | null | undefined;
|
|
1357
1468
|
description: string;
|
|
1358
1469
|
}[] | undefined;
|
|
1470
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1359
1471
|
}>>;
|
|
1360
1472
|
}, "strict", z.ZodTypeAny, {
|
|
1361
1473
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -1372,6 +1484,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1372
1484
|
locator: string | null;
|
|
1373
1485
|
description: string;
|
|
1374
1486
|
}[] | undefined;
|
|
1487
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1375
1488
|
} | undefined;
|
|
1376
1489
|
}, {
|
|
1377
1490
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -1388,6 +1501,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1388
1501
|
locator?: string | null | undefined;
|
|
1389
1502
|
description: string;
|
|
1390
1503
|
}[] | undefined;
|
|
1504
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1391
1505
|
} | undefined;
|
|
1392
1506
|
}>;
|
|
1393
1507
|
deliverable: z.ZodObject<{
|
|
@@ -1572,6 +1686,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1572
1686
|
locator: string | null;
|
|
1573
1687
|
description: string;
|
|
1574
1688
|
}[] | undefined;
|
|
1689
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1575
1690
|
} | undefined;
|
|
1576
1691
|
};
|
|
1577
1692
|
deliverable: {
|
|
@@ -1644,6 +1759,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1644
1759
|
locator?: string | null | undefined;
|
|
1645
1760
|
description: string;
|
|
1646
1761
|
}[] | undefined;
|
|
1762
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1647
1763
|
} | undefined;
|
|
1648
1764
|
};
|
|
1649
1765
|
deliverable: {
|
|
@@ -1722,6 +1838,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1722
1838
|
locator?: string | null | undefined;
|
|
1723
1839
|
description: string;
|
|
1724
1840
|
}>, "many">>;
|
|
1841
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
1725
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1726
1843
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1727
1844
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1730,6 +1847,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1730
1847
|
locator: string | null;
|
|
1731
1848
|
description: string;
|
|
1732
1849
|
}[] | undefined;
|
|
1850
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1733
1851
|
}, {
|
|
1734
1852
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
1735
1853
|
source: "absent" | "constrained" | "validated";
|
|
@@ -1738,6 +1856,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1738
1856
|
locator?: string | null | undefined;
|
|
1739
1857
|
description: string;
|
|
1740
1858
|
}[] | undefined;
|
|
1859
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1741
1860
|
}>>;
|
|
1742
1861
|
}, "strict", z.ZodTypeAny, {
|
|
1743
1862
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -1754,6 +1873,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1754
1873
|
locator: string | null;
|
|
1755
1874
|
description: string;
|
|
1756
1875
|
}[] | undefined;
|
|
1876
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1757
1877
|
} | undefined;
|
|
1758
1878
|
}, {
|
|
1759
1879
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -1770,10 +1890,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1770
1890
|
locator?: string | null | undefined;
|
|
1771
1891
|
description: string;
|
|
1772
1892
|
}[] | undefined;
|
|
1893
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1773
1894
|
} | undefined;
|
|
1774
1895
|
}>>>;
|
|
1775
1896
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1776
|
-
requestRefusal: z.ZodOptional<z.ZodObject<{
|
|
1897
|
+
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1777
1898
|
scope: z.ZodLiteral<"turn_text">;
|
|
1778
1899
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
1779
1900
|
source: z.ZodString;
|
|
@@ -1798,10 +1919,28 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1798
1919
|
limit: number | null;
|
|
1799
1920
|
actual: number | null;
|
|
1800
1921
|
native_code: string;
|
|
1801
|
-
}
|
|
1922
|
+
}>, z.ZodObject<{
|
|
1923
|
+
kind: z.ZodLiteral<"vendor_cli_too_old">;
|
|
1924
|
+
native_code: z.ZodLiteral<"claude_code_version_too_old">;
|
|
1925
|
+
source: z.ZodLiteral<"claude_stdout">;
|
|
1926
|
+
binary_path: z.ZodNullable<z.ZodString>;
|
|
1927
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
1928
|
+
}, "strip", z.ZodTypeAny, {
|
|
1929
|
+
kind: "vendor_cli_too_old";
|
|
1930
|
+
native_code: "claude_code_version_too_old";
|
|
1931
|
+
source: "claude_stdout";
|
|
1932
|
+
binary_path: string | null;
|
|
1933
|
+
installed_version: string | null;
|
|
1934
|
+
}, {
|
|
1935
|
+
kind: "vendor_cli_too_old";
|
|
1936
|
+
native_code: "claude_code_version_too_old";
|
|
1937
|
+
source: "claude_stdout";
|
|
1938
|
+
binary_path: string | null;
|
|
1939
|
+
installed_version: string | null;
|
|
1940
|
+
}>]>>;
|
|
1802
1941
|
phase: z.ZodDefault<z.ZodString>;
|
|
1803
1942
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1804
|
-
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", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
1943
|
+
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"]>>>;
|
|
1805
1944
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1806
1945
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1807
1946
|
safeMessage: z.ZodString;
|
|
@@ -1833,10 +1972,16 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1833
1972
|
limit: number | null;
|
|
1834
1973
|
actual: number | null;
|
|
1835
1974
|
native_code: string;
|
|
1975
|
+
} | {
|
|
1976
|
+
kind: "vendor_cli_too_old";
|
|
1977
|
+
native_code: "claude_code_version_too_old";
|
|
1978
|
+
source: "claude_stdout";
|
|
1979
|
+
binary_path: string | null;
|
|
1980
|
+
installed_version: string | null;
|
|
1836
1981
|
} | undefined;
|
|
1837
1982
|
phase: string;
|
|
1838
1983
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1839
|
-
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" | null;
|
|
1984
|
+
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;
|
|
1840
1985
|
harnessId: string | null;
|
|
1841
1986
|
attemptId: string | null;
|
|
1842
1987
|
safeMessage: string;
|
|
@@ -1860,10 +2005,16 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1860
2005
|
limit: number | null;
|
|
1861
2006
|
actual: number | null;
|
|
1862
2007
|
native_code: string;
|
|
2008
|
+
} | {
|
|
2009
|
+
kind: "vendor_cli_too_old";
|
|
2010
|
+
native_code: "claude_code_version_too_old";
|
|
2011
|
+
source: "claude_stdout";
|
|
2012
|
+
binary_path: string | null;
|
|
2013
|
+
installed_version: string | null;
|
|
1863
2014
|
} | undefined;
|
|
1864
2015
|
phase?: string | undefined;
|
|
1865
2016
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1866
|
-
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" | null | undefined;
|
|
2017
|
+
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;
|
|
1867
2018
|
harnessId?: string | null | undefined;
|
|
1868
2019
|
attemptId?: string | null | undefined;
|
|
1869
2020
|
safeMessage: string;
|
|
@@ -2058,6 +2209,52 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2058
2209
|
message: string;
|
|
2059
2210
|
retryable: boolean | null;
|
|
2060
2211
|
}>>>;
|
|
2212
|
+
/** The answer-first `summary` of run_result would otherwise drop this fact. */
|
|
2213
|
+
secretLike: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2214
|
+
totalMatches: z.ZodNumber;
|
|
2215
|
+
answerMatches: z.ZodNumber;
|
|
2216
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2217
|
+
path: z.ZodString;
|
|
2218
|
+
matches: z.ZodNumber;
|
|
2219
|
+
kinds: z.ZodArray<z.ZodString, "many">;
|
|
2220
|
+
}, "strict", z.ZodTypeAny, {
|
|
2221
|
+
path: string;
|
|
2222
|
+
matches: number;
|
|
2223
|
+
kinds: string[];
|
|
2224
|
+
}, {
|
|
2225
|
+
path: string;
|
|
2226
|
+
matches: number;
|
|
2227
|
+
kinds: string[];
|
|
2228
|
+
}>, "many">;
|
|
2229
|
+
binaryPaths: z.ZodArray<z.ZodString, "many">;
|
|
2230
|
+
mediaWithheld: z.ZodArray<z.ZodString, "many">;
|
|
2231
|
+
persistedPatch: z.ZodEnum<["exact", "redacted"]>;
|
|
2232
|
+
exactPatchRecorded: z.ZodNullable<z.ZodBoolean>;
|
|
2233
|
+
}, "strict", z.ZodTypeAny, {
|
|
2234
|
+
totalMatches: number;
|
|
2235
|
+
answerMatches: number;
|
|
2236
|
+
files: {
|
|
2237
|
+
path: string;
|
|
2238
|
+
matches: number;
|
|
2239
|
+
kinds: string[];
|
|
2240
|
+
}[];
|
|
2241
|
+
binaryPaths: string[];
|
|
2242
|
+
mediaWithheld: string[];
|
|
2243
|
+
persistedPatch: "exact" | "redacted";
|
|
2244
|
+
exactPatchRecorded: boolean | null;
|
|
2245
|
+
}, {
|
|
2246
|
+
totalMatches: number;
|
|
2247
|
+
answerMatches: number;
|
|
2248
|
+
files: {
|
|
2249
|
+
path: string;
|
|
2250
|
+
matches: number;
|
|
2251
|
+
kinds: string[];
|
|
2252
|
+
}[];
|
|
2253
|
+
binaryPaths: string[];
|
|
2254
|
+
mediaWithheld: string[];
|
|
2255
|
+
persistedPatch: "exact" | "redacted";
|
|
2256
|
+
exactPatchRecorded: boolean | null;
|
|
2257
|
+
}>>>;
|
|
2061
2258
|
}, "strict", z.ZodTypeAny, {
|
|
2062
2259
|
attemptExecution?: {
|
|
2063
2260
|
attemptId: string;
|
|
@@ -2108,6 +2305,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2108
2305
|
locator: string | null;
|
|
2109
2306
|
description: string;
|
|
2110
2307
|
}[] | undefined;
|
|
2308
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2111
2309
|
} | undefined;
|
|
2112
2310
|
};
|
|
2113
2311
|
deliverable: {
|
|
@@ -2178,6 +2376,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2178
2376
|
locator: string | null;
|
|
2179
2377
|
description: string;
|
|
2180
2378
|
}[] | undefined;
|
|
2379
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2181
2380
|
} | undefined;
|
|
2182
2381
|
} | null;
|
|
2183
2382
|
failure: {
|
|
@@ -2189,10 +2388,16 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2189
2388
|
limit: number | null;
|
|
2190
2389
|
actual: number | null;
|
|
2191
2390
|
native_code: string;
|
|
2391
|
+
} | {
|
|
2392
|
+
kind: "vendor_cli_too_old";
|
|
2393
|
+
native_code: "claude_code_version_too_old";
|
|
2394
|
+
source: "claude_stdout";
|
|
2395
|
+
binary_path: string | null;
|
|
2396
|
+
installed_version: string | null;
|
|
2192
2397
|
} | undefined;
|
|
2193
2398
|
phase: string;
|
|
2194
2399
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2195
|
-
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" | null;
|
|
2400
|
+
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;
|
|
2196
2401
|
harnessId: string | null;
|
|
2197
2402
|
attemptId: string | null;
|
|
2198
2403
|
safeMessage: string;
|
|
@@ -2261,6 +2466,19 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2261
2466
|
message: string;
|
|
2262
2467
|
retryable: boolean | null;
|
|
2263
2468
|
} | null;
|
|
2469
|
+
secretLike: {
|
|
2470
|
+
totalMatches: number;
|
|
2471
|
+
answerMatches: number;
|
|
2472
|
+
files: {
|
|
2473
|
+
path: string;
|
|
2474
|
+
matches: number;
|
|
2475
|
+
kinds: string[];
|
|
2476
|
+
}[];
|
|
2477
|
+
binaryPaths: string[];
|
|
2478
|
+
mediaWithheld: string[];
|
|
2479
|
+
persistedPatch: "exact" | "redacted";
|
|
2480
|
+
exactPatchRecorded: boolean | null;
|
|
2481
|
+
} | null;
|
|
2264
2482
|
}, {
|
|
2265
2483
|
attemptExecution?: {
|
|
2266
2484
|
attemptId: string;
|
|
@@ -2311,6 +2529,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2311
2529
|
locator?: string | null | undefined;
|
|
2312
2530
|
description: string;
|
|
2313
2531
|
}[] | undefined;
|
|
2532
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2314
2533
|
} | undefined;
|
|
2315
2534
|
};
|
|
2316
2535
|
deliverable: {
|
|
@@ -2381,6 +2600,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2381
2600
|
locator?: string | null | undefined;
|
|
2382
2601
|
description: string;
|
|
2383
2602
|
}[] | undefined;
|
|
2603
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2384
2604
|
} | undefined;
|
|
2385
2605
|
} | null | undefined;
|
|
2386
2606
|
failure?: {
|
|
@@ -2392,10 +2612,16 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2392
2612
|
limit: number | null;
|
|
2393
2613
|
actual: number | null;
|
|
2394
2614
|
native_code: string;
|
|
2615
|
+
} | {
|
|
2616
|
+
kind: "vendor_cli_too_old";
|
|
2617
|
+
native_code: "claude_code_version_too_old";
|
|
2618
|
+
source: "claude_stdout";
|
|
2619
|
+
binary_path: string | null;
|
|
2620
|
+
installed_version: string | null;
|
|
2395
2621
|
} | undefined;
|
|
2396
2622
|
phase?: string | undefined;
|
|
2397
2623
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2398
|
-
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" | null | undefined;
|
|
2624
|
+
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;
|
|
2399
2625
|
harnessId?: string | null | undefined;
|
|
2400
2626
|
attemptId?: string | null | undefined;
|
|
2401
2627
|
safeMessage: string;
|
|
@@ -2464,6 +2690,19 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2464
2690
|
message: string;
|
|
2465
2691
|
retryable: boolean | null;
|
|
2466
2692
|
} | null | undefined;
|
|
2693
|
+
secretLike?: {
|
|
2694
|
+
totalMatches: number;
|
|
2695
|
+
answerMatches: number;
|
|
2696
|
+
files: {
|
|
2697
|
+
path: string;
|
|
2698
|
+
matches: number;
|
|
2699
|
+
kinds: string[];
|
|
2700
|
+
}[];
|
|
2701
|
+
binaryPaths: string[];
|
|
2702
|
+
mediaWithheld: string[];
|
|
2703
|
+
persistedPatch: "exact" | "redacted";
|
|
2704
|
+
exactPatchRecorded: boolean | null;
|
|
2705
|
+
} | null | undefined;
|
|
2467
2706
|
}>;
|
|
2468
2707
|
export type McpRunHandleResult = z.infer<typeof McpRunHandleResult>;
|
|
2469
2708
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-run-result.d.ts","sourceRoot":"","sources":["../src/mcp-run-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAOkE,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"mcp-run-result.d.ts","sourceRoot":"","sources":["../src/mcp-run-result.ts"],"names":[],"mappings":"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"}
|