@claudexor/schema 4.6.2 → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-resources.d.ts +37 -37
- package/dist/account-routing-evidence.d.ts +36 -14
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/agent-capabilities.d.ts +32 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +8 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attachment.d.ts +178 -0
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +46 -0
- package/dist/attachment.js.map +1 -1
- package/dist/auxiliary-writable-roots.d.ts +30 -0
- package/dist/auxiliary-writable-roots.d.ts.map +1 -0
- package/dist/auxiliary-writable-roots.js +40 -0
- package/dist/auxiliary-writable-roots.js.map +1 -0
- package/dist/captured-run-start.d.ts +1105 -0
- package/dist/captured-run-start.d.ts.map +1 -0
- package/dist/captured-run-start.js +41 -0
- package/dist/captured-run-start.js.map +1 -0
- package/dist/command-summary.d.ts +1 -1
- package/dist/command-summary.d.ts.map +1 -1
- package/dist/command-summary.js +1 -0
- package/dist/command-summary.js.map +1 -1
- package/dist/control-harness-list.d.ts +11 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.js +1 -1
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +206 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -3
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +277 -19
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +2 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +3 -0
- package/dist/control-run-execution.d.ts.map +1 -1
- package/dist/control-run-execution.js +2 -0
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-run-failure.d.ts +29 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +4 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +31 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +12 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control.d.ts +86 -5
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -7
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +72 -28
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +1 -1
- package/dist/credential-profile.js +2 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/credential-store.d.ts +3 -2
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +5 -4
- package/dist/credential-store.js.map +1 -1
- package/dist/deferred-message.d.ts +2450 -0
- package/dist/deferred-message.d.ts.map +1 -0
- package/dist/deferred-message.js +186 -0
- package/dist/deferred-message.js.map +1 -0
- package/dist/events.d.ts +3 -3
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/harness-confinement.d.ts +18 -0
- package/dist/harness-confinement.d.ts.map +1 -1
- package/dist/harness-confinement.js +18 -0
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness-input.d.ts +15 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +10 -1
- package/dist/harness-input.js.map +1 -1
- package/dist/harness-model.d.ts +65 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +42 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness-quota.d.ts +3 -3
- package/dist/harness.d.ts +77 -24
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +6 -19
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +356 -12
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +5 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +133 -0
- package/dist/mcp-run-wait.d.ts.map +1 -1
- package/dist/mcp-run-wait.js +4 -0
- package/dist/mcp-run-wait.js.map +1 -1
- package/dist/mcp-upload.d.ts +133 -0
- package/dist/mcp-upload.d.ts.map +1 -0
- package/dist/mcp-upload.js +40 -0
- package/dist/mcp-upload.js.map +1 -0
- package/dist/quota-read.d.ts +8 -8
- package/dist/quota.d.ts +26 -20
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +11 -1
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +9 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-observation.d.ts +189 -0
- package/dist/run-observation.d.ts.map +1 -0
- package/dist/run-observation.js +93 -0
- package/dist/run-observation.js.map +1 -0
- package/dist/setup-login.d.ts +5 -5
- package/dist/setup.d.ts +63 -63
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +1 -1
- package/dist/setup.js.map +1 -1
- package/dist/task-group-runs.d.ts +257 -0
- package/dist/task-group-runs.d.ts.map +1 -0
- package/dist/task-group-runs.js +91 -0
- package/dist/task-group-runs.js.map +1 -0
- package/dist/task-group.d.ts +23 -0
- package/dist/task-group.d.ts.map +1 -0
- package/dist/task-group.js +38 -0
- package/dist/task-group.js.map +1 -0
- package/dist/task.d.ts +15 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +136 -8
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -5
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +12553 -0
- package/dist/thread-history.d.ts.map +1 -0
- package/dist/thread-history.js +291 -0
- package/dist/thread-history.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +17 -0
- package/generated/ControlAccountResetResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1 -0
- package/generated/ControlAccountResourcesResponse.schema.json +1 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +6 -0
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +6 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +6 -0
- package/generated/ControlHarnessListResponse.schema.json +5 -0
- package/generated/ControlQueuedRunInfo.schema.json +10 -0
- package/generated/ControlQuotaFreshnessResponse.schema.json +1 -0
- package/generated/ControlQuotaQueryResponse.schema.json +1 -0
- package/generated/ControlQuotaResponse.schema.json +1 -0
- package/generated/ControlRunAgainDraft.schema.json +13 -0
- package/generated/ControlRunControlResponse.schema.json +169 -0
- package/generated/ControlRunDetail.schema.json +209 -1
- package/generated/ControlRunListResponse.schema.json +32 -1
- package/generated/ControlRunRetryResponse.schema.json +10 -0
- package/generated/ControlRunStartInfo.schema.json +10 -0
- package/generated/ControlRunStartRequest.schema.json +13 -0
- package/generated/ControlRunStartResponse.schema.json +18 -0
- package/generated/ControlRunSummary.schema.json +32 -1
- package/generated/ControlSetupJob.schema.json +2 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +2 -1
- package/generated/ControlSetupJobListFilter.schema.json +2 -1
- package/generated/ControlSetupJobListResponse.schema.json +2 -1
- package/generated/ControlSetupJobSnapshot.schema.json +2 -1
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/ControlUploadImport.schema.json +124 -0
- package/generated/ControlUploadImportRequest.schema.json +66 -0
- package/generated/DeferredMessageCall.schema.json +331 -0
- package/generated/DeferredMessageDetail.schema.json +917 -0
- package/generated/DeferredMessageMutation.schema.json +315 -0
- package/generated/DeferredMessageProjection.schema.json +177 -0
- package/generated/DeferredMessageReadInput.schema.json +20 -0
- package/generated/DeferredMessageReadResult.schema.json +399 -0
- package/generated/DeferredMessageReceipt.schema.json +193 -0
- package/generated/HarnessEvent.schema.json +75 -1
- package/generated/HarnessManifest.schema.json +5 -0
- package/generated/HarnessStatusDto.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +6 -0
- package/generated/McpRunHandleResult.schema.json +227 -19
- package/generated/McpRunToolResult.schema.json +229 -11
- package/generated/McpRunWaitResult.schema.json +180 -2
- package/generated/McpStoreIdentityInput.schema.json +11 -0
- package/generated/McpUploadCreateInput.schema.json +54 -0
- package/generated/McpUploadFinalizeInput.schema.json +40 -0
- package/generated/McpUploadImportInput.schema.json +52 -0
- package/generated/McpUploadImportLocalInput.schema.json +27 -0
- package/generated/McpUploadImportLocalResult.schema.json +45 -0
- package/generated/McpUploadTargetInput.schema.json +20 -0
- package/generated/ResourceAttachmentRef.schema.json +21 -0
- package/generated/RoutePrimaryDivergedPayload.schema.json +23 -14
- package/generated/RunFailure.schema.json +32 -1
- package/generated/RunObservationRecord.schema.json +64 -0
- package/generated/RunTelemetry.schema.json +83 -1
- package/generated/RunWaitManyInput.schema.json +47 -0
- package/generated/RunWaitManyResult.schema.json +110 -0
- package/generated/RunWaitManySummary.schema.json +75 -0
- package/generated/TaskContract.schema.json +8 -0
- package/generated/TaskGroupId.schema.json +11 -0
- package/generated/TaskGroupReceipt.schema.json +26 -0
- package/generated/TaskGroupRunsInput.schema.json +46 -0
- package/generated/TaskGroupRunsResult.schema.json +162 -0
- package/generated/ThreadHistoryInput.schema.json +48 -0
- package/generated/ThreadHistoryPage.schema.json +2857 -0
- package/generated/ThreadPromptPart.schema.json +57 -0
- package/generated/ThreadPromptPartInput.schema.json +41 -0
- package/package.json +2 -2
package/dist/mcp-run-result.d.ts
CHANGED
|
@@ -69,6 +69,99 @@ export type SecretLikeDisclosure = z.infer<typeof SecretLikeDisclosure>;
|
|
|
69
69
|
* Text content mirrors it for hosts without structured-output support.
|
|
70
70
|
*/
|
|
71
71
|
export declare const McpRunToolResult: z.ZodObject<{
|
|
72
|
+
taskGroupId: z.ZodOptional<z.ZodString>;
|
|
73
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
74
|
+
deferredMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
|
+
draftId: z.ZodString;
|
|
76
|
+
revision: z.ZodNumber;
|
|
77
|
+
state: z.ZodEnum<["waiting", "held", "dispatched", "cleared"]>;
|
|
78
|
+
predecessorJobId: z.ZodString;
|
|
79
|
+
predecessorRunId: z.ZodNullable<z.ZodString>;
|
|
80
|
+
predecessorResult: z.ZodString;
|
|
81
|
+
hold: z.ZodNullable<z.ZodObject<{
|
|
82
|
+
code: z.ZodEnum<["predecessor_failed", "predecessor_cancelled", "predecessor_interrupted", "predecessor_needs_input", "predecessor_incomplete", "predecessor_facts_unavailable", "predecessor_work_unverified", "predecessor_checks_failed", "predecessor_review_blocked", "predecessor_output_unavailable", "settlement_unknown", "stop_requested", "shutdown", "restart_requires_controller", "partition_retired", "admission_refused"]>;
|
|
83
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
message: z.ZodString;
|
|
85
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
87
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
88
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
89
|
+
}, "strict", z.ZodTypeAny, {
|
|
90
|
+
message: string;
|
|
91
|
+
code: string | null;
|
|
92
|
+
retryable: boolean;
|
|
93
|
+
required_actions: string[];
|
|
94
|
+
context: Record<string, unknown>;
|
|
95
|
+
}, {
|
|
96
|
+
message: string;
|
|
97
|
+
code?: string | null | undefined;
|
|
98
|
+
retryable?: boolean | undefined;
|
|
99
|
+
required_actions?: string[] | undefined;
|
|
100
|
+
context?: Record<string, unknown> | undefined;
|
|
101
|
+
}>>;
|
|
102
|
+
}, "strict", z.ZodTypeAny, {
|
|
103
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
104
|
+
problem?: {
|
|
105
|
+
message: string;
|
|
106
|
+
code: string | null;
|
|
107
|
+
retryable: boolean;
|
|
108
|
+
required_actions: string[];
|
|
109
|
+
context: Record<string, unknown>;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
113
|
+
problem?: {
|
|
114
|
+
message: string;
|
|
115
|
+
code?: string | null | undefined;
|
|
116
|
+
retryable?: boolean | undefined;
|
|
117
|
+
required_actions?: string[] | undefined;
|
|
118
|
+
context?: Record<string, unknown> | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}>>;
|
|
121
|
+
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
122
|
+
successorJobId: z.ZodNullable<z.ZodString>;
|
|
123
|
+
successorRunId: z.ZodNullable<z.ZodString>;
|
|
124
|
+
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
draftId: string;
|
|
126
|
+
revision: number;
|
|
127
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
128
|
+
predecessorJobId: string;
|
|
129
|
+
predecessorRunId: string | null;
|
|
130
|
+
predecessorResult: string;
|
|
131
|
+
hold: {
|
|
132
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
133
|
+
problem?: {
|
|
134
|
+
message: string;
|
|
135
|
+
code: string | null;
|
|
136
|
+
retryable: boolean;
|
|
137
|
+
required_actions: string[];
|
|
138
|
+
context: Record<string, unknown>;
|
|
139
|
+
} | undefined;
|
|
140
|
+
} | null;
|
|
141
|
+
dispatchedRevision: number | null;
|
|
142
|
+
successorJobId: string | null;
|
|
143
|
+
successorRunId: string | null;
|
|
144
|
+
}, {
|
|
145
|
+
draftId: string;
|
|
146
|
+
revision: number;
|
|
147
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
148
|
+
predecessorJobId: string;
|
|
149
|
+
predecessorRunId: string | null;
|
|
150
|
+
predecessorResult: string;
|
|
151
|
+
hold: {
|
|
152
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
153
|
+
problem?: {
|
|
154
|
+
message: string;
|
|
155
|
+
code?: string | null | undefined;
|
|
156
|
+
retryable?: boolean | undefined;
|
|
157
|
+
required_actions?: string[] | undefined;
|
|
158
|
+
context?: Record<string, unknown> | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
} | null;
|
|
161
|
+
dispatchedRevision: number | null;
|
|
162
|
+
successorJobId: string | null;
|
|
163
|
+
successorRunId: string | null;
|
|
164
|
+
}>>>;
|
|
72
165
|
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
73
166
|
attemptId: z.ZodString;
|
|
74
167
|
harnessId: z.ZodString;
|
|
@@ -702,6 +795,21 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
702
795
|
source: "claude_stdout";
|
|
703
796
|
binary_path: string | null;
|
|
704
797
|
installed_version: string | null;
|
|
798
|
+
}>, z.ZodObject<{
|
|
799
|
+
kind: z.ZodLiteral<"credential_source_unconfirmed">;
|
|
800
|
+
native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
|
|
801
|
+
source: z.ZodLiteral<"grok_init">;
|
|
802
|
+
reported_source: z.ZodString;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
804
|
+
kind: "credential_source_unconfirmed";
|
|
805
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
806
|
+
source: "grok_init";
|
|
807
|
+
reported_source: string;
|
|
808
|
+
}, {
|
|
809
|
+
kind: "credential_source_unconfirmed";
|
|
810
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
811
|
+
source: "grok_init";
|
|
812
|
+
reported_source: string;
|
|
705
813
|
}>]>>;
|
|
706
814
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
707
815
|
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
@@ -745,7 +853,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
745
853
|
}>>;
|
|
746
854
|
phase: z.ZodDefault<z.ZodString>;
|
|
747
855
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
748
|
-
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"]>>>;
|
|
856
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
749
857
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
750
858
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
751
859
|
safeMessage: z.ZodString;
|
|
@@ -840,6 +948,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
840
948
|
source: "claude_stdout";
|
|
841
949
|
binary_path: string | null;
|
|
842
950
|
installed_version: string | null;
|
|
951
|
+
} | {
|
|
952
|
+
kind: "credential_source_unconfirmed";
|
|
953
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
954
|
+
source: "grok_init";
|
|
955
|
+
reported_source: string;
|
|
843
956
|
} | undefined;
|
|
844
957
|
captureFailure?: {
|
|
845
958
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -855,7 +968,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
855
968
|
} | undefined;
|
|
856
969
|
phase: string;
|
|
857
970
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
858
|
-
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;
|
|
971
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
859
972
|
harnessId: string | null;
|
|
860
973
|
attemptId: string | null;
|
|
861
974
|
safeMessage: string;
|
|
@@ -902,6 +1015,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
902
1015
|
source: "claude_stdout";
|
|
903
1016
|
binary_path: string | null;
|
|
904
1017
|
installed_version: string | null;
|
|
1018
|
+
} | {
|
|
1019
|
+
kind: "credential_source_unconfirmed";
|
|
1020
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
1021
|
+
source: "grok_init";
|
|
1022
|
+
reported_source: string;
|
|
905
1023
|
} | undefined;
|
|
906
1024
|
captureFailure?: {
|
|
907
1025
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -917,7 +1035,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
917
1035
|
} | undefined;
|
|
918
1036
|
phase?: string | undefined;
|
|
919
1037
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
920
|
-
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;
|
|
1038
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
921
1039
|
harnessId?: string | null | undefined;
|
|
922
1040
|
attemptId?: string | null | undefined;
|
|
923
1041
|
safeMessage: string;
|
|
@@ -1074,6 +1192,29 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1074
1192
|
remediation?: string | null | undefined;
|
|
1075
1193
|
}>>>;
|
|
1076
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
+
taskGroupId?: string | undefined;
|
|
1196
|
+
storeId?: string | undefined;
|
|
1197
|
+
deferredMessage?: {
|
|
1198
|
+
draftId: string;
|
|
1199
|
+
revision: number;
|
|
1200
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1201
|
+
predecessorJobId: string;
|
|
1202
|
+
predecessorRunId: string | null;
|
|
1203
|
+
predecessorResult: string;
|
|
1204
|
+
hold: {
|
|
1205
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1206
|
+
problem?: {
|
|
1207
|
+
message: string;
|
|
1208
|
+
code: string | null;
|
|
1209
|
+
retryable: boolean;
|
|
1210
|
+
required_actions: string[];
|
|
1211
|
+
context: Record<string, unknown>;
|
|
1212
|
+
} | undefined;
|
|
1213
|
+
} | null;
|
|
1214
|
+
dispatchedRevision: number | null;
|
|
1215
|
+
successorJobId: string | null;
|
|
1216
|
+
successorRunId: string | null;
|
|
1217
|
+
} | null | undefined;
|
|
1077
1218
|
attemptExecution?: {
|
|
1078
1219
|
attemptId: string;
|
|
1079
1220
|
harnessId: string;
|
|
@@ -1212,6 +1353,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1212
1353
|
source: "claude_stdout";
|
|
1213
1354
|
binary_path: string | null;
|
|
1214
1355
|
installed_version: string | null;
|
|
1356
|
+
} | {
|
|
1357
|
+
kind: "credential_source_unconfirmed";
|
|
1358
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
1359
|
+
source: "grok_init";
|
|
1360
|
+
reported_source: string;
|
|
1215
1361
|
} | undefined;
|
|
1216
1362
|
captureFailure?: {
|
|
1217
1363
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -1227,7 +1373,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1227
1373
|
} | undefined;
|
|
1228
1374
|
phase: string;
|
|
1229
1375
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1230
|
-
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;
|
|
1376
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
1231
1377
|
harnessId: string | null;
|
|
1232
1378
|
attemptId: string | null;
|
|
1233
1379
|
safeMessage: string;
|
|
@@ -1298,6 +1444,29 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1298
1444
|
remediation: string | null;
|
|
1299
1445
|
} | null;
|
|
1300
1446
|
}, {
|
|
1447
|
+
taskGroupId?: string | undefined;
|
|
1448
|
+
storeId?: string | undefined;
|
|
1449
|
+
deferredMessage?: {
|
|
1450
|
+
draftId: string;
|
|
1451
|
+
revision: number;
|
|
1452
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1453
|
+
predecessorJobId: string;
|
|
1454
|
+
predecessorRunId: string | null;
|
|
1455
|
+
predecessorResult: string;
|
|
1456
|
+
hold: {
|
|
1457
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1458
|
+
problem?: {
|
|
1459
|
+
message: string;
|
|
1460
|
+
code?: string | null | undefined;
|
|
1461
|
+
retryable?: boolean | undefined;
|
|
1462
|
+
required_actions?: string[] | undefined;
|
|
1463
|
+
context?: Record<string, unknown> | undefined;
|
|
1464
|
+
} | undefined;
|
|
1465
|
+
} | null;
|
|
1466
|
+
dispatchedRevision: number | null;
|
|
1467
|
+
successorJobId: string | null;
|
|
1468
|
+
successorRunId: string | null;
|
|
1469
|
+
} | null | undefined;
|
|
1301
1470
|
attemptExecution?: {
|
|
1302
1471
|
attemptId: string;
|
|
1303
1472
|
harnessId: string;
|
|
@@ -1436,6 +1605,11 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1436
1605
|
source: "claude_stdout";
|
|
1437
1606
|
binary_path: string | null;
|
|
1438
1607
|
installed_version: string | null;
|
|
1608
|
+
} | {
|
|
1609
|
+
kind: "credential_source_unconfirmed";
|
|
1610
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
1611
|
+
source: "grok_init";
|
|
1612
|
+
reported_source: string;
|
|
1439
1613
|
} | undefined;
|
|
1440
1614
|
captureFailure?: {
|
|
1441
1615
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -1451,7 +1625,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
1451
1625
|
} | undefined;
|
|
1452
1626
|
phase?: string | undefined;
|
|
1453
1627
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1454
|
-
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;
|
|
1628
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
1455
1629
|
harnessId?: string | null | undefined;
|
|
1456
1630
|
attemptId?: string | null | undefined;
|
|
1457
1631
|
safeMessage: string;
|
|
@@ -1531,6 +1705,97 @@ export type McpRunToolResult = z.infer<typeof McpRunToolResult>;
|
|
|
1531
1705
|
* declared shape instead of a free-text blob (v3: no legacy extra fields).
|
|
1532
1706
|
*/
|
|
1533
1707
|
export declare const McpRunHandleResult: z.ZodObject<{
|
|
1708
|
+
deferredMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1709
|
+
draftId: z.ZodString;
|
|
1710
|
+
revision: z.ZodNumber;
|
|
1711
|
+
state: z.ZodEnum<["waiting", "held", "dispatched", "cleared"]>;
|
|
1712
|
+
predecessorJobId: z.ZodString;
|
|
1713
|
+
predecessorRunId: z.ZodNullable<z.ZodString>;
|
|
1714
|
+
predecessorResult: z.ZodString;
|
|
1715
|
+
hold: z.ZodNullable<z.ZodObject<{
|
|
1716
|
+
code: z.ZodEnum<["predecessor_failed", "predecessor_cancelled", "predecessor_interrupted", "predecessor_needs_input", "predecessor_incomplete", "predecessor_facts_unavailable", "predecessor_work_unverified", "predecessor_checks_failed", "predecessor_review_blocked", "predecessor_output_unavailable", "settlement_unknown", "stop_requested", "shutdown", "restart_requires_controller", "partition_retired", "admission_refused"]>;
|
|
1717
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
1718
|
+
message: z.ZodString;
|
|
1719
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1720
|
+
retryable: z.ZodDefault<z.ZodBoolean>;
|
|
1721
|
+
required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1722
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1723
|
+
}, "strict", z.ZodTypeAny, {
|
|
1724
|
+
message: string;
|
|
1725
|
+
code: string | null;
|
|
1726
|
+
retryable: boolean;
|
|
1727
|
+
required_actions: string[];
|
|
1728
|
+
context: Record<string, unknown>;
|
|
1729
|
+
}, {
|
|
1730
|
+
message: string;
|
|
1731
|
+
code?: string | null | undefined;
|
|
1732
|
+
retryable?: boolean | undefined;
|
|
1733
|
+
required_actions?: string[] | undefined;
|
|
1734
|
+
context?: Record<string, unknown> | undefined;
|
|
1735
|
+
}>>;
|
|
1736
|
+
}, "strict", z.ZodTypeAny, {
|
|
1737
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1738
|
+
problem?: {
|
|
1739
|
+
message: string;
|
|
1740
|
+
code: string | null;
|
|
1741
|
+
retryable: boolean;
|
|
1742
|
+
required_actions: string[];
|
|
1743
|
+
context: Record<string, unknown>;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
}, {
|
|
1746
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1747
|
+
problem?: {
|
|
1748
|
+
message: string;
|
|
1749
|
+
code?: string | null | undefined;
|
|
1750
|
+
retryable?: boolean | undefined;
|
|
1751
|
+
required_actions?: string[] | undefined;
|
|
1752
|
+
context?: Record<string, unknown> | undefined;
|
|
1753
|
+
} | undefined;
|
|
1754
|
+
}>>;
|
|
1755
|
+
dispatchedRevision: z.ZodNullable<z.ZodNumber>;
|
|
1756
|
+
successorJobId: z.ZodNullable<z.ZodString>;
|
|
1757
|
+
successorRunId: z.ZodNullable<z.ZodString>;
|
|
1758
|
+
}, "strict", z.ZodTypeAny, {
|
|
1759
|
+
draftId: string;
|
|
1760
|
+
revision: number;
|
|
1761
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1762
|
+
predecessorJobId: string;
|
|
1763
|
+
predecessorRunId: string | null;
|
|
1764
|
+
predecessorResult: string;
|
|
1765
|
+
hold: {
|
|
1766
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1767
|
+
problem?: {
|
|
1768
|
+
message: string;
|
|
1769
|
+
code: string | null;
|
|
1770
|
+
retryable: boolean;
|
|
1771
|
+
required_actions: string[];
|
|
1772
|
+
context: Record<string, unknown>;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
} | null;
|
|
1775
|
+
dispatchedRevision: number | null;
|
|
1776
|
+
successorJobId: string | null;
|
|
1777
|
+
successorRunId: string | null;
|
|
1778
|
+
}, {
|
|
1779
|
+
draftId: string;
|
|
1780
|
+
revision: number;
|
|
1781
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
1782
|
+
predecessorJobId: string;
|
|
1783
|
+
predecessorRunId: string | null;
|
|
1784
|
+
predecessorResult: string;
|
|
1785
|
+
hold: {
|
|
1786
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
1787
|
+
problem?: {
|
|
1788
|
+
message: string;
|
|
1789
|
+
code?: string | null | undefined;
|
|
1790
|
+
retryable?: boolean | undefined;
|
|
1791
|
+
required_actions?: string[] | undefined;
|
|
1792
|
+
context?: Record<string, unknown> | undefined;
|
|
1793
|
+
} | undefined;
|
|
1794
|
+
} | null;
|
|
1795
|
+
dispatchedRevision: number | null;
|
|
1796
|
+
successorJobId: string | null;
|
|
1797
|
+
successorRunId: string | null;
|
|
1798
|
+
}>>>;
|
|
1534
1799
|
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1535
1800
|
attemptId: z.ZodString;
|
|
1536
1801
|
harnessId: z.ZodString;
|
|
@@ -2165,6 +2430,21 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2165
2430
|
source: "claude_stdout";
|
|
2166
2431
|
binary_path: string | null;
|
|
2167
2432
|
installed_version: string | null;
|
|
2433
|
+
}>, z.ZodObject<{
|
|
2434
|
+
kind: z.ZodLiteral<"credential_source_unconfirmed">;
|
|
2435
|
+
native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
|
|
2436
|
+
source: z.ZodLiteral<"grok_init">;
|
|
2437
|
+
reported_source: z.ZodString;
|
|
2438
|
+
}, "strip", z.ZodTypeAny, {
|
|
2439
|
+
kind: "credential_source_unconfirmed";
|
|
2440
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2441
|
+
source: "grok_init";
|
|
2442
|
+
reported_source: string;
|
|
2443
|
+
}, {
|
|
2444
|
+
kind: "credential_source_unconfirmed";
|
|
2445
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2446
|
+
source: "grok_init";
|
|
2447
|
+
reported_source: string;
|
|
2168
2448
|
}>]>>;
|
|
2169
2449
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
2170
2450
|
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
@@ -2208,7 +2488,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2208
2488
|
}>>;
|
|
2209
2489
|
phase: z.ZodDefault<z.ZodString>;
|
|
2210
2490
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
2211
|
-
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"]>>>;
|
|
2491
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
2212
2492
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2213
2493
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2214
2494
|
safeMessage: z.ZodString;
|
|
@@ -2303,6 +2583,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2303
2583
|
source: "claude_stdout";
|
|
2304
2584
|
binary_path: string | null;
|
|
2305
2585
|
installed_version: string | null;
|
|
2586
|
+
} | {
|
|
2587
|
+
kind: "credential_source_unconfirmed";
|
|
2588
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2589
|
+
source: "grok_init";
|
|
2590
|
+
reported_source: string;
|
|
2306
2591
|
} | undefined;
|
|
2307
2592
|
captureFailure?: {
|
|
2308
2593
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2318,7 +2603,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2318
2603
|
} | undefined;
|
|
2319
2604
|
phase: string;
|
|
2320
2605
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2321
|
-
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;
|
|
2606
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2322
2607
|
harnessId: string | null;
|
|
2323
2608
|
attemptId: string | null;
|
|
2324
2609
|
safeMessage: string;
|
|
@@ -2365,6 +2650,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2365
2650
|
source: "claude_stdout";
|
|
2366
2651
|
binary_path: string | null;
|
|
2367
2652
|
installed_version: string | null;
|
|
2653
|
+
} | {
|
|
2654
|
+
kind: "credential_source_unconfirmed";
|
|
2655
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
2656
|
+
source: "grok_init";
|
|
2657
|
+
reported_source: string;
|
|
2368
2658
|
} | undefined;
|
|
2369
2659
|
captureFailure?: {
|
|
2370
2660
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2380,7 +2670,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2380
2670
|
} | undefined;
|
|
2381
2671
|
phase?: string | undefined;
|
|
2382
2672
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2383
|
-
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;
|
|
2673
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2384
2674
|
harnessId?: string | null | undefined;
|
|
2385
2675
|
attemptId?: string | null | undefined;
|
|
2386
2676
|
safeMessage: string;
|
|
@@ -2798,6 +3088,27 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2798
3088
|
exactPatchRecorded: boolean | null;
|
|
2799
3089
|
}>>>;
|
|
2800
3090
|
}, "strict", z.ZodTypeAny, {
|
|
3091
|
+
deferredMessage?: {
|
|
3092
|
+
draftId: string;
|
|
3093
|
+
revision: number;
|
|
3094
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
3095
|
+
predecessorJobId: string;
|
|
3096
|
+
predecessorRunId: string | null;
|
|
3097
|
+
predecessorResult: string;
|
|
3098
|
+
hold: {
|
|
3099
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
3100
|
+
problem?: {
|
|
3101
|
+
message: string;
|
|
3102
|
+
code: string | null;
|
|
3103
|
+
retryable: boolean;
|
|
3104
|
+
required_actions: string[];
|
|
3105
|
+
context: Record<string, unknown>;
|
|
3106
|
+
} | undefined;
|
|
3107
|
+
} | null;
|
|
3108
|
+
dispatchedRevision: number | null;
|
|
3109
|
+
successorJobId: string | null;
|
|
3110
|
+
successorRunId: string | null;
|
|
3111
|
+
} | null | undefined;
|
|
2801
3112
|
attemptExecution?: {
|
|
2802
3113
|
attemptId: string;
|
|
2803
3114
|
harnessId: string;
|
|
@@ -2937,6 +3248,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2937
3248
|
source: "claude_stdout";
|
|
2938
3249
|
binary_path: string | null;
|
|
2939
3250
|
installed_version: string | null;
|
|
3251
|
+
} | {
|
|
3252
|
+
kind: "credential_source_unconfirmed";
|
|
3253
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
3254
|
+
source: "grok_init";
|
|
3255
|
+
reported_source: string;
|
|
2940
3256
|
} | undefined;
|
|
2941
3257
|
captureFailure?: {
|
|
2942
3258
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -2952,7 +3268,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
2952
3268
|
} | undefined;
|
|
2953
3269
|
phase: string;
|
|
2954
3270
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2955
|
-
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;
|
|
3271
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2956
3272
|
harnessId: string | null;
|
|
2957
3273
|
attemptId: string | null;
|
|
2958
3274
|
safeMessage: string;
|
|
@@ -3099,6 +3415,27 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3099
3415
|
exactPatchRecorded: boolean | null;
|
|
3100
3416
|
} | null;
|
|
3101
3417
|
}, {
|
|
3418
|
+
deferredMessage?: {
|
|
3419
|
+
draftId: string;
|
|
3420
|
+
revision: number;
|
|
3421
|
+
state: "cleared" | "dispatched" | "held" | "waiting";
|
|
3422
|
+
predecessorJobId: string;
|
|
3423
|
+
predecessorRunId: string | null;
|
|
3424
|
+
predecessorResult: string;
|
|
3425
|
+
hold: {
|
|
3426
|
+
code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
|
|
3427
|
+
problem?: {
|
|
3428
|
+
message: string;
|
|
3429
|
+
code?: string | null | undefined;
|
|
3430
|
+
retryable?: boolean | undefined;
|
|
3431
|
+
required_actions?: string[] | undefined;
|
|
3432
|
+
context?: Record<string, unknown> | undefined;
|
|
3433
|
+
} | undefined;
|
|
3434
|
+
} | null;
|
|
3435
|
+
dispatchedRevision: number | null;
|
|
3436
|
+
successorJobId: string | null;
|
|
3437
|
+
successorRunId: string | null;
|
|
3438
|
+
} | null | undefined;
|
|
3102
3439
|
attemptExecution?: {
|
|
3103
3440
|
attemptId: string;
|
|
3104
3441
|
harnessId: string;
|
|
@@ -3238,6 +3575,11 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3238
3575
|
source: "claude_stdout";
|
|
3239
3576
|
binary_path: string | null;
|
|
3240
3577
|
installed_version: string | null;
|
|
3578
|
+
} | {
|
|
3579
|
+
kind: "credential_source_unconfirmed";
|
|
3580
|
+
native_code: "grok_credential_source_unconfirmed";
|
|
3581
|
+
source: "grok_init";
|
|
3582
|
+
reported_source: string;
|
|
3241
3583
|
} | undefined;
|
|
3242
3584
|
captureFailure?: {
|
|
3243
3585
|
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
@@ -3253,7 +3595,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
3253
3595
|
} | undefined;
|
|
3254
3596
|
phase?: string | undefined;
|
|
3255
3597
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
3256
|
-
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;
|
|
3598
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
3257
3599
|
harnessId?: string | null | undefined;
|
|
3258
3600
|
attemptId?: string | null | undefined;
|
|
3259
3601
|
safeMessage: string;
|
|
@@ -3406,12 +3748,14 @@ export type McpRunHandleResult = z.infer<typeof McpRunHandleResult>;
|
|
|
3406
3748
|
* thread-turn handle (a bound runId, or a queued jobId) plus the text summary.
|
|
3407
3749
|
* Each member stays as strict as the daemon handle it mirrors.
|
|
3408
3750
|
*/
|
|
3409
|
-
export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<{
|
|
3751
|
+
export declare const McpThreadTurnResult: z.ZodUnion<[z.ZodObject<Omit<{
|
|
3752
|
+
taskGroupId: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3410
3754
|
jobId: z.ZodOptional<z.ZodString>;
|
|
3411
3755
|
runId: z.ZodString;
|
|
3412
3756
|
taskId: z.ZodOptional<z.ZodString>;
|
|
3413
3757
|
runDir: z.ZodString;
|
|
3414
|
-
} & {
|
|
3758
|
+
}, "storeId" | "taskGroupId"> & {
|
|
3415
3759
|
threadId: z.ZodString;
|
|
3416
3760
|
turnId: z.ZodString;
|
|
3417
3761
|
} & {
|
|
@@ -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;
|
|
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;AAgB3B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAOkE,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC9B,CAAC;AACJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
import { Id } from "./primitives.js";
|
|
12
12
|
import { RunContinuityReceipt, RunResumable } from "./run-continuity.js";
|
|
13
13
|
import { ControlRetainedEnvelope } from "./run-continuation.js";
|
|
14
|
+
import { TaskGroupReceipt } from "./task-group.js";
|
|
15
|
+
import { DeferredMessageProjection } from "./deferred-message.js";
|
|
14
16
|
export const RunDetailProblem = z
|
|
15
17
|
.object({
|
|
16
18
|
code: z.string().nullable().describe("Stable machine code of the detail problem, if any."),
|
|
@@ -59,6 +61,8 @@ export const SecretLikeDisclosure = z
|
|
|
59
61
|
*/
|
|
60
62
|
export const McpRunToolResult = z
|
|
61
63
|
.object({
|
|
64
|
+
...TaskGroupReceipt.partial().shape,
|
|
65
|
+
deferredMessage: DeferredMessageProjection.nullable().optional(),
|
|
62
66
|
attemptExecution: z.array(AttemptExecutionEvidence).optional(),
|
|
63
67
|
summary: z
|
|
64
68
|
.string()
|
|
@@ -124,6 +128,7 @@ export const McpRunToolResult = z
|
|
|
124
128
|
*/
|
|
125
129
|
export const McpRunHandleResult = z
|
|
126
130
|
.object({
|
|
131
|
+
deferredMessage: DeferredMessageProjection.nullable().optional(),
|
|
127
132
|
attemptExecution: z.array(AttemptExecutionEvidence).optional(),
|
|
128
133
|
summary: z
|
|
129
134
|
.string()
|