@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
|
@@ -99,12 +99,168 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
99
99
|
reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
|
|
100
100
|
remediation?: string | null | undefined;
|
|
101
101
|
}>>>;
|
|
102
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
103
|
+
resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
104
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
105
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
106
|
+
limitWindow: z.ZodNullable<z.ZodString>;
|
|
107
|
+
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
108
|
+
carriers: z.ZodArray<z.ZodEnum<["native", "native_moved", "packet"]>, "many">;
|
|
109
|
+
limitCode: z.ZodNullable<z.ZodString>;
|
|
110
|
+
session: z.ZodNullable<z.ZodObject<{
|
|
111
|
+
harness: z.ZodString;
|
|
112
|
+
nativeSessionId: z.ZodString;
|
|
113
|
+
holderProfileId: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
harness: string;
|
|
116
|
+
nativeSessionId: string;
|
|
117
|
+
holderProfileId: string | null;
|
|
118
|
+
}, {
|
|
119
|
+
harness: string;
|
|
120
|
+
nativeSessionId: string;
|
|
121
|
+
holderProfileId: string | null;
|
|
122
|
+
}>>;
|
|
123
|
+
workspace: z.ZodObject<{
|
|
124
|
+
kind: z.ZodEnum<["in_place", "retained_envelope", "none"]>;
|
|
125
|
+
root: z.ZodNullable<z.ZodString>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
128
|
+
root: string | null;
|
|
129
|
+
}, {
|
|
130
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
131
|
+
root: string | null;
|
|
132
|
+
}>;
|
|
133
|
+
}, "strict", z.ZodTypeAny, {
|
|
134
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
135
|
+
resetsAt: string | null;
|
|
136
|
+
limitWindow: string | null;
|
|
137
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
138
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
139
|
+
limitCode: string | null;
|
|
140
|
+
session: {
|
|
141
|
+
harness: string;
|
|
142
|
+
nativeSessionId: string;
|
|
143
|
+
holderProfileId: string | null;
|
|
144
|
+
} | null;
|
|
145
|
+
workspace: {
|
|
146
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
147
|
+
root: string | null;
|
|
148
|
+
};
|
|
149
|
+
}, {
|
|
150
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
151
|
+
resetsAt: string | null;
|
|
152
|
+
limitWindow: string | null;
|
|
153
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
154
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
155
|
+
limitCode: string | null;
|
|
156
|
+
session: {
|
|
157
|
+
harness: string;
|
|
158
|
+
nativeSessionId: string;
|
|
159
|
+
holderProfileId: string | null;
|
|
160
|
+
} | null;
|
|
161
|
+
workspace: {
|
|
162
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
163
|
+
root: string | null;
|
|
164
|
+
};
|
|
165
|
+
}>>>;
|
|
166
|
+
continuity: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
167
|
+
tryIndex: z.ZodNumber;
|
|
168
|
+
attemptId: z.ZodString;
|
|
169
|
+
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
170
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
171
|
+
from: z.ZodObject<{
|
|
172
|
+
runId: z.ZodString;
|
|
173
|
+
attemptId: z.ZodString;
|
|
174
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
runId: string;
|
|
177
|
+
attemptId: string;
|
|
178
|
+
profileId: string | null;
|
|
179
|
+
}, {
|
|
180
|
+
runId: string;
|
|
181
|
+
attemptId: string;
|
|
182
|
+
profileId: string | null;
|
|
183
|
+
}>;
|
|
184
|
+
to: z.ZodObject<{
|
|
185
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
|
187
|
+
profileId: string | null;
|
|
188
|
+
}, {
|
|
189
|
+
profileId: string | null;
|
|
190
|
+
}>;
|
|
191
|
+
workspace: z.ZodEnum<["same_root", "different_root"]>;
|
|
192
|
+
memory: z.ZodEnum<["full", "partial", "unknown"]>;
|
|
193
|
+
instructions: z.ZodEnum<["as_sent", "vendor_snapshot"]>;
|
|
194
|
+
reingestedTokens: z.ZodNullable<z.ZodNumber>;
|
|
195
|
+
observedModel: z.ZodNullable<z.ZodString>;
|
|
196
|
+
modelMismatch: z.ZodNullable<z.ZodBoolean>;
|
|
197
|
+
identityCheck: z.ZodEnum<["matched_before_effects", "mismatch_before_effects", "mismatch_after_possible_effects", "not_applicable"]>;
|
|
198
|
+
inputDelivery: z.ZodEnum<["confirmed", "uncertain", "not_applicable"]>;
|
|
199
|
+
}, "strict", z.ZodTypeAny, {
|
|
200
|
+
tryIndex: number;
|
|
201
|
+
attemptId: string;
|
|
202
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
203
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
204
|
+
from: {
|
|
205
|
+
runId: string;
|
|
206
|
+
attemptId: string;
|
|
207
|
+
profileId: string | null;
|
|
208
|
+
};
|
|
209
|
+
to: {
|
|
210
|
+
profileId: string | null;
|
|
211
|
+
};
|
|
212
|
+
workspace: "different_root" | "same_root";
|
|
213
|
+
memory: "full" | "partial" | "unknown";
|
|
214
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
215
|
+
reingestedTokens: number | null;
|
|
216
|
+
observedModel: string | null;
|
|
217
|
+
modelMismatch: boolean | null;
|
|
218
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
219
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
220
|
+
}, {
|
|
221
|
+
tryIndex: number;
|
|
222
|
+
attemptId: string;
|
|
223
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
224
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
225
|
+
from: {
|
|
226
|
+
runId: string;
|
|
227
|
+
attemptId: string;
|
|
228
|
+
profileId: string | null;
|
|
229
|
+
};
|
|
230
|
+
to: {
|
|
231
|
+
profileId: string | null;
|
|
232
|
+
};
|
|
233
|
+
workspace: "different_root" | "same_root";
|
|
234
|
+
memory: "full" | "partial" | "unknown";
|
|
235
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
236
|
+
reingestedTokens: number | null;
|
|
237
|
+
observedModel: string | null;
|
|
238
|
+
modelMismatch: boolean | null;
|
|
239
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
240
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
241
|
+
}>, "many">>;
|
|
242
|
+
retainedEnvelope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
243
|
+
root: z.ZodString;
|
|
244
|
+
bytes: z.ZodNullable<z.ZodNumber>;
|
|
245
|
+
retainedAt: z.ZodString;
|
|
246
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
247
|
+
}, "strict", z.ZodTypeAny, {
|
|
248
|
+
root: string;
|
|
249
|
+
bytes: number | null;
|
|
250
|
+
retainedAt: string;
|
|
251
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
252
|
+
}, {
|
|
253
|
+
root: string;
|
|
254
|
+
bytes: number | null;
|
|
255
|
+
retainedAt: string;
|
|
256
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
257
|
+
}>>>;
|
|
102
258
|
taskId: z.ZodOptional<z.ZodString>;
|
|
103
259
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
104
260
|
runDir: z.ZodOptional<z.ZodString>;
|
|
105
261
|
error: z.ZodOptional<z.ZodString>;
|
|
106
262
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
107
|
-
requestRefusal: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
108
264
|
scope: z.ZodLiteral<"turn_text">;
|
|
109
265
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
110
266
|
source: z.ZodString;
|
|
@@ -129,10 +285,28 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
129
285
|
limit: number | null;
|
|
130
286
|
actual: number | null;
|
|
131
287
|
native_code: string;
|
|
132
|
-
}
|
|
288
|
+
}>, z.ZodObject<{
|
|
289
|
+
kind: z.ZodLiteral<"vendor_cli_too_old">;
|
|
290
|
+
native_code: z.ZodLiteral<"claude_code_version_too_old">;
|
|
291
|
+
source: z.ZodLiteral<"claude_stdout">;
|
|
292
|
+
binary_path: z.ZodNullable<z.ZodString>;
|
|
293
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
kind: "vendor_cli_too_old";
|
|
296
|
+
native_code: "claude_code_version_too_old";
|
|
297
|
+
source: "claude_stdout";
|
|
298
|
+
binary_path: string | null;
|
|
299
|
+
installed_version: string | null;
|
|
300
|
+
}, {
|
|
301
|
+
kind: "vendor_cli_too_old";
|
|
302
|
+
native_code: "claude_code_version_too_old";
|
|
303
|
+
source: "claude_stdout";
|
|
304
|
+
binary_path: string | null;
|
|
305
|
+
installed_version: string | null;
|
|
306
|
+
}>]>>;
|
|
133
307
|
phase: z.ZodDefault<z.ZodString>;
|
|
134
308
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
135
|
-
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"]>>>;
|
|
309
|
+
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"]>>>;
|
|
136
310
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
137
311
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
138
312
|
safeMessage: z.ZodString;
|
|
@@ -164,10 +338,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
164
338
|
limit: number | null;
|
|
165
339
|
actual: number | null;
|
|
166
340
|
native_code: string;
|
|
341
|
+
} | {
|
|
342
|
+
kind: "vendor_cli_too_old";
|
|
343
|
+
native_code: "claude_code_version_too_old";
|
|
344
|
+
source: "claude_stdout";
|
|
345
|
+
binary_path: string | null;
|
|
346
|
+
installed_version: string | null;
|
|
167
347
|
} | undefined;
|
|
168
348
|
phase: string;
|
|
169
349
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
170
|
-
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;
|
|
350
|
+
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;
|
|
171
351
|
harnessId: string | null;
|
|
172
352
|
attemptId: string | null;
|
|
173
353
|
safeMessage: string;
|
|
@@ -191,10 +371,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
191
371
|
limit: number | null;
|
|
192
372
|
actual: number | null;
|
|
193
373
|
native_code: string;
|
|
374
|
+
} | {
|
|
375
|
+
kind: "vendor_cli_too_old";
|
|
376
|
+
native_code: "claude_code_version_too_old";
|
|
377
|
+
source: "claude_stdout";
|
|
378
|
+
binary_path: string | null;
|
|
379
|
+
installed_version: string | null;
|
|
194
380
|
} | undefined;
|
|
195
381
|
phase?: string | undefined;
|
|
196
382
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
197
|
-
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;
|
|
383
|
+
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;
|
|
198
384
|
harnessId?: string | null | undefined;
|
|
199
385
|
attemptId?: string | null | undefined;
|
|
200
386
|
safeMessage: string;
|
|
@@ -487,6 +673,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
487
673
|
locator?: string | null | undefined;
|
|
488
674
|
description: string;
|
|
489
675
|
}>, "many">>;
|
|
676
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
490
677
|
}, "strip", z.ZodTypeAny, {
|
|
491
678
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
492
679
|
source: "absent" | "constrained" | "validated";
|
|
@@ -495,6 +682,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
495
682
|
locator: string | null;
|
|
496
683
|
description: string;
|
|
497
684
|
}[] | undefined;
|
|
685
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
498
686
|
}, {
|
|
499
687
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
500
688
|
source: "absent" | "constrained" | "validated";
|
|
@@ -503,6 +691,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
503
691
|
locator?: string | null | undefined;
|
|
504
692
|
description: string;
|
|
505
693
|
}[] | undefined;
|
|
694
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
506
695
|
}>>;
|
|
507
696
|
}, "strict", z.ZodTypeAny, {
|
|
508
697
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -519,6 +708,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
519
708
|
locator: string | null;
|
|
520
709
|
description: string;
|
|
521
710
|
}[] | undefined;
|
|
711
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
522
712
|
} | undefined;
|
|
523
713
|
}, {
|
|
524
714
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -535,6 +725,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
535
725
|
locator?: string | null | undefined;
|
|
536
726
|
description: string;
|
|
537
727
|
}[] | undefined;
|
|
728
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
538
729
|
} | undefined;
|
|
539
730
|
}>>>;
|
|
540
731
|
waitingOnUser: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -632,6 +823,52 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
632
823
|
reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
|
|
633
824
|
remediation: string | null;
|
|
634
825
|
} | null;
|
|
826
|
+
continueFrom: string | null;
|
|
827
|
+
resumable: {
|
|
828
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
829
|
+
resetsAt: string | null;
|
|
830
|
+
limitWindow: string | null;
|
|
831
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
832
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
833
|
+
limitCode: string | null;
|
|
834
|
+
session: {
|
|
835
|
+
harness: string;
|
|
836
|
+
nativeSessionId: string;
|
|
837
|
+
holderProfileId: string | null;
|
|
838
|
+
} | null;
|
|
839
|
+
workspace: {
|
|
840
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
841
|
+
root: string | null;
|
|
842
|
+
};
|
|
843
|
+
} | null;
|
|
844
|
+
continuity?: {
|
|
845
|
+
tryIndex: number;
|
|
846
|
+
attemptId: string;
|
|
847
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
848
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
849
|
+
from: {
|
|
850
|
+
runId: string;
|
|
851
|
+
attemptId: string;
|
|
852
|
+
profileId: string | null;
|
|
853
|
+
};
|
|
854
|
+
to: {
|
|
855
|
+
profileId: string | null;
|
|
856
|
+
};
|
|
857
|
+
workspace: "different_root" | "same_root";
|
|
858
|
+
memory: "full" | "partial" | "unknown";
|
|
859
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
860
|
+
reingestedTokens: number | null;
|
|
861
|
+
observedModel: string | null;
|
|
862
|
+
modelMismatch: boolean | null;
|
|
863
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
864
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
retainedEnvelope: {
|
|
867
|
+
root: string;
|
|
868
|
+
bytes: number | null;
|
|
869
|
+
retainedAt: string;
|
|
870
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
871
|
+
} | null;
|
|
635
872
|
taskId?: string | undefined;
|
|
636
873
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
637
874
|
runDir?: string | undefined;
|
|
@@ -645,10 +882,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
645
882
|
limit: number | null;
|
|
646
883
|
actual: number | null;
|
|
647
884
|
native_code: string;
|
|
885
|
+
} | {
|
|
886
|
+
kind: "vendor_cli_too_old";
|
|
887
|
+
native_code: "claude_code_version_too_old";
|
|
888
|
+
source: "claude_stdout";
|
|
889
|
+
binary_path: string | null;
|
|
890
|
+
installed_version: string | null;
|
|
648
891
|
} | undefined;
|
|
649
892
|
phase: string;
|
|
650
893
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
651
|
-
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;
|
|
894
|
+
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;
|
|
652
895
|
harnessId: string | null;
|
|
653
896
|
attemptId: string | null;
|
|
654
897
|
safeMessage: string;
|
|
@@ -781,6 +1024,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
781
1024
|
locator: string | null;
|
|
782
1025
|
description: string;
|
|
783
1026
|
}[] | undefined;
|
|
1027
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
784
1028
|
} | undefined;
|
|
785
1029
|
} | null;
|
|
786
1030
|
waitingOnUser: boolean;
|
|
@@ -824,6 +1068,52 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
824
1068
|
reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
|
|
825
1069
|
remediation?: string | null | undefined;
|
|
826
1070
|
} | null | undefined;
|
|
1071
|
+
continueFrom?: string | null | undefined;
|
|
1072
|
+
resumable?: {
|
|
1073
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1074
|
+
resetsAt: string | null;
|
|
1075
|
+
limitWindow: string | null;
|
|
1076
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
1077
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
1078
|
+
limitCode: string | null;
|
|
1079
|
+
session: {
|
|
1080
|
+
harness: string;
|
|
1081
|
+
nativeSessionId: string;
|
|
1082
|
+
holderProfileId: string | null;
|
|
1083
|
+
} | null;
|
|
1084
|
+
workspace: {
|
|
1085
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1086
|
+
root: string | null;
|
|
1087
|
+
};
|
|
1088
|
+
} | null | undefined;
|
|
1089
|
+
continuity?: {
|
|
1090
|
+
tryIndex: number;
|
|
1091
|
+
attemptId: string;
|
|
1092
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1093
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1094
|
+
from: {
|
|
1095
|
+
runId: string;
|
|
1096
|
+
attemptId: string;
|
|
1097
|
+
profileId: string | null;
|
|
1098
|
+
};
|
|
1099
|
+
to: {
|
|
1100
|
+
profileId: string | null;
|
|
1101
|
+
};
|
|
1102
|
+
workspace: "different_root" | "same_root";
|
|
1103
|
+
memory: "full" | "partial" | "unknown";
|
|
1104
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
1105
|
+
reingestedTokens: number | null;
|
|
1106
|
+
observedModel: string | null;
|
|
1107
|
+
modelMismatch: boolean | null;
|
|
1108
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
1109
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
1110
|
+
}[] | undefined;
|
|
1111
|
+
retainedEnvelope?: {
|
|
1112
|
+
root: string;
|
|
1113
|
+
bytes: number | null;
|
|
1114
|
+
retainedAt: string;
|
|
1115
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1116
|
+
} | null | undefined;
|
|
827
1117
|
taskId?: string | undefined;
|
|
828
1118
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
829
1119
|
runDir?: string | undefined;
|
|
@@ -837,10 +1127,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
837
1127
|
limit: number | null;
|
|
838
1128
|
actual: number | null;
|
|
839
1129
|
native_code: string;
|
|
1130
|
+
} | {
|
|
1131
|
+
kind: "vendor_cli_too_old";
|
|
1132
|
+
native_code: "claude_code_version_too_old";
|
|
1133
|
+
source: "claude_stdout";
|
|
1134
|
+
binary_path: string | null;
|
|
1135
|
+
installed_version: string | null;
|
|
840
1136
|
} | undefined;
|
|
841
1137
|
phase?: string | undefined;
|
|
842
1138
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
843
|
-
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;
|
|
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" | "vendor_cli_too_old" | null | undefined;
|
|
844
1140
|
harnessId?: string | null | undefined;
|
|
845
1141
|
attemptId?: string | null | undefined;
|
|
846
1142
|
safeMessage: string;
|
|
@@ -973,6 +1269,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
973
1269
|
locator?: string | null | undefined;
|
|
974
1270
|
description: string;
|
|
975
1271
|
}[] | undefined;
|
|
1272
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
976
1273
|
} | undefined;
|
|
977
1274
|
} | null | undefined;
|
|
978
1275
|
waitingOnUser?: boolean | undefined;
|
|
@@ -1026,6 +1323,52 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1026
1323
|
reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
|
|
1027
1324
|
remediation: string | null;
|
|
1028
1325
|
} | null;
|
|
1326
|
+
continueFrom: string | null;
|
|
1327
|
+
resumable: {
|
|
1328
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1329
|
+
resetsAt: string | null;
|
|
1330
|
+
limitWindow: string | null;
|
|
1331
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
1332
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
1333
|
+
limitCode: string | null;
|
|
1334
|
+
session: {
|
|
1335
|
+
harness: string;
|
|
1336
|
+
nativeSessionId: string;
|
|
1337
|
+
holderProfileId: string | null;
|
|
1338
|
+
} | null;
|
|
1339
|
+
workspace: {
|
|
1340
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1341
|
+
root: string | null;
|
|
1342
|
+
};
|
|
1343
|
+
} | null;
|
|
1344
|
+
continuity?: {
|
|
1345
|
+
tryIndex: number;
|
|
1346
|
+
attemptId: string;
|
|
1347
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1348
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1349
|
+
from: {
|
|
1350
|
+
runId: string;
|
|
1351
|
+
attemptId: string;
|
|
1352
|
+
profileId: string | null;
|
|
1353
|
+
};
|
|
1354
|
+
to: {
|
|
1355
|
+
profileId: string | null;
|
|
1356
|
+
};
|
|
1357
|
+
workspace: "different_root" | "same_root";
|
|
1358
|
+
memory: "full" | "partial" | "unknown";
|
|
1359
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
1360
|
+
reingestedTokens: number | null;
|
|
1361
|
+
observedModel: string | null;
|
|
1362
|
+
modelMismatch: boolean | null;
|
|
1363
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
1364
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
1365
|
+
}[] | undefined;
|
|
1366
|
+
retainedEnvelope: {
|
|
1367
|
+
root: string;
|
|
1368
|
+
bytes: number | null;
|
|
1369
|
+
retainedAt: string;
|
|
1370
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1371
|
+
} | null;
|
|
1029
1372
|
taskId?: string | undefined;
|
|
1030
1373
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
1031
1374
|
runDir?: string | undefined;
|
|
@@ -1039,10 +1382,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1039
1382
|
limit: number | null;
|
|
1040
1383
|
actual: number | null;
|
|
1041
1384
|
native_code: string;
|
|
1385
|
+
} | {
|
|
1386
|
+
kind: "vendor_cli_too_old";
|
|
1387
|
+
native_code: "claude_code_version_too_old";
|
|
1388
|
+
source: "claude_stdout";
|
|
1389
|
+
binary_path: string | null;
|
|
1390
|
+
installed_version: string | null;
|
|
1042
1391
|
} | undefined;
|
|
1043
1392
|
phase: string;
|
|
1044
1393
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1045
|
-
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;
|
|
1394
|
+
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;
|
|
1046
1395
|
harnessId: string | null;
|
|
1047
1396
|
attemptId: string | null;
|
|
1048
1397
|
safeMessage: string;
|
|
@@ -1175,6 +1524,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1175
1524
|
locator: string | null;
|
|
1176
1525
|
description: string;
|
|
1177
1526
|
}[] | undefined;
|
|
1527
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1178
1528
|
} | undefined;
|
|
1179
1529
|
} | null;
|
|
1180
1530
|
waitingOnUser: boolean;
|
|
@@ -1222,6 +1572,52 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1222
1572
|
reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
|
|
1223
1573
|
remediation?: string | null | undefined;
|
|
1224
1574
|
} | null | undefined;
|
|
1575
|
+
continueFrom?: string | null | undefined;
|
|
1576
|
+
resumable?: {
|
|
1577
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1578
|
+
resetsAt: string | null;
|
|
1579
|
+
limitWindow: string | null;
|
|
1580
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
1581
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
1582
|
+
limitCode: string | null;
|
|
1583
|
+
session: {
|
|
1584
|
+
harness: string;
|
|
1585
|
+
nativeSessionId: string;
|
|
1586
|
+
holderProfileId: string | null;
|
|
1587
|
+
} | null;
|
|
1588
|
+
workspace: {
|
|
1589
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1590
|
+
root: string | null;
|
|
1591
|
+
};
|
|
1592
|
+
} | null | undefined;
|
|
1593
|
+
continuity?: {
|
|
1594
|
+
tryIndex: number;
|
|
1595
|
+
attemptId: string;
|
|
1596
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1597
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1598
|
+
from: {
|
|
1599
|
+
runId: string;
|
|
1600
|
+
attemptId: string;
|
|
1601
|
+
profileId: string | null;
|
|
1602
|
+
};
|
|
1603
|
+
to: {
|
|
1604
|
+
profileId: string | null;
|
|
1605
|
+
};
|
|
1606
|
+
workspace: "different_root" | "same_root";
|
|
1607
|
+
memory: "full" | "partial" | "unknown";
|
|
1608
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
1609
|
+
reingestedTokens: number | null;
|
|
1610
|
+
observedModel: string | null;
|
|
1611
|
+
modelMismatch: boolean | null;
|
|
1612
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
1613
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
1614
|
+
}[] | undefined;
|
|
1615
|
+
retainedEnvelope?: {
|
|
1616
|
+
root: string;
|
|
1617
|
+
bytes: number | null;
|
|
1618
|
+
retainedAt: string;
|
|
1619
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1620
|
+
} | null | undefined;
|
|
1225
1621
|
taskId?: string | undefined;
|
|
1226
1622
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
1227
1623
|
runDir?: string | undefined;
|
|
@@ -1235,10 +1631,16 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1235
1631
|
limit: number | null;
|
|
1236
1632
|
actual: number | null;
|
|
1237
1633
|
native_code: string;
|
|
1634
|
+
} | {
|
|
1635
|
+
kind: "vendor_cli_too_old";
|
|
1636
|
+
native_code: "claude_code_version_too_old";
|
|
1637
|
+
source: "claude_stdout";
|
|
1638
|
+
binary_path: string | null;
|
|
1639
|
+
installed_version: string | null;
|
|
1238
1640
|
} | undefined;
|
|
1239
1641
|
phase?: string | undefined;
|
|
1240
1642
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1241
|
-
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;
|
|
1643
|
+
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;
|
|
1242
1644
|
harnessId?: string | null | undefined;
|
|
1243
1645
|
attemptId?: string | null | undefined;
|
|
1244
1646
|
safeMessage: string;
|
|
@@ -1371,6 +1773,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1371
1773
|
locator?: string | null | undefined;
|
|
1372
1774
|
description: string;
|
|
1373
1775
|
}[] | undefined;
|
|
1776
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
1374
1777
|
} | undefined;
|
|
1375
1778
|
} | null | undefined;
|
|
1376
1779
|
waitingOnUser?: boolean | undefined;
|
|
@@ -1685,6 +2088,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
1685
2088
|
path: string;
|
|
1686
2089
|
reason?: string | undefined;
|
|
1687
2090
|
}>, "many">>;
|
|
2091
|
+
continueModelInherited: z.ZodOptional<z.ZodBoolean>;
|
|
1688
2092
|
planRunId: z.ZodOptional<z.ZodString>;
|
|
1689
2093
|
reviewerPanel: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1690
2094
|
harness: z.ZodString;
|
|
@@ -1773,6 +2177,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
1773
2177
|
path: string;
|
|
1774
2178
|
reason?: string | undefined;
|
|
1775
2179
|
}[] | undefined;
|
|
2180
|
+
continueModelInherited?: boolean | undefined;
|
|
1776
2181
|
planRunId?: string | undefined;
|
|
1777
2182
|
reviewerPanel?: {
|
|
1778
2183
|
harness: string;
|
|
@@ -1840,6 +2245,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
1840
2245
|
path: string;
|
|
1841
2246
|
reason?: string | undefined;
|
|
1842
2247
|
}[] | undefined;
|
|
2248
|
+
continueModelInherited?: boolean | undefined;
|
|
1843
2249
|
planRunId?: string | undefined;
|
|
1844
2250
|
reviewerPanel?: {
|
|
1845
2251
|
harness: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC6D,CAAC;AACnG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -86,6 +86,8 @@ export const ControlThreadTurnRequest = ControlRunStartRequest.omit({
|
|
|
86
86
|
delegatedFromRunId: true,
|
|
87
87
|
retryOf: true,
|
|
88
88
|
planRef: true,
|
|
89
|
+
continueFrom: true,
|
|
90
|
+
continueCarrier: true,
|
|
89
91
|
})
|
|
90
92
|
.extend({
|
|
91
93
|
mode: ModeKind.optional().describe("Turn mode override; omission inherits the thread's default mode."),
|