@claudexor/schema 4.1.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-resources.d.ts +3957 -662
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +32 -0
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +5989 -0
- package/dist/account-routing-evidence.d.ts.map +1 -0
- package/dist/account-routing-evidence.js +49 -0
- package/dist/account-routing-evidence.js.map +1 -0
- package/dist/agent-capabilities.js +1 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +5 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/budget.d.ts +16 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +13 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +12 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +298 -24
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +816 -42
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +258 -0
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +55 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +258 -39
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -21
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +332 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -2
- package/dist/decision.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +11 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +7 -0
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +32 -4
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -4
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +445 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/model-image.d.ts +7 -0
- package/dist/model-image.d.ts.map +1 -1
- package/dist/model-operation.d.ts +26 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +56 -0
- package/dist/processing.d.ts.map +1 -1
- package/dist/processing.js +15 -0
- package/dist/processing.js.map +1 -1
- package/dist/quota-read.d.ts +3 -3
- package/dist/quota-read.js +1 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/run-continuation.d.ts +9 -6
- package/dist/run-continuation.d.ts.map +1 -1
- package/dist/run-continuation.js +4 -0
- package/dist/run-continuation.js.map +1 -1
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-time-limit.d.ts +81 -0
- package/dist/run-time-limit.d.ts.map +1 -0
- package/dist/run-time-limit.js +36 -0
- package/dist/run-time-limit.js.map +1 -0
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +9 -0
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/telemetry.d.ts +12 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/AttemptExecutionEvidence.schema.json +6 -1
- package/generated/BudgetLease.schema.json +5 -0
- package/generated/ControlAccountResetResponse.schema.json +51 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
- package/generated/ControlAccountResourcesResponse.schema.json +71 -20
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
- package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
- package/generated/ControlModelCatalogResponse.schema.json +2 -1
- package/generated/ControlModelOperationDetail.schema.json +5 -0
- package/generated/ControlQuotaQueryResponse.schema.json +131 -20
- package/generated/ControlQuotaReadRequest.schema.json +2 -1
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +9 -1
- package/generated/ControlRunDetail.schema.json +187 -4
- package/generated/ControlRunListResponse.schema.json +164 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlRunSummary.schema.json +164 -1
- package/generated/ControlSettingsSnapshot.schema.json +10 -3
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/EnvelopeCustody.schema.json +6 -1
- package/generated/GlobalConfig.schema.json +10 -3
- package/generated/HarnessEvent.schema.json +24 -0
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/ImageCallResult.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +2578 -0
- package/generated/McpRunHandleResult.schema.json +177 -2
- package/generated/McpRunToolResult.schema.json +168 -1
- package/generated/ModelCallResult.schema.json +5 -0
- package/generated/ProcessingCostBasis.schema.json +5 -0
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFailure.schema.json +162 -0
- package/generated/RunProcessingIntent.schema.json +117 -0
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +6 -1
- package/generated/RunTimeLimitRequest.schema.json +92 -0
- package/generated/RunTimeLimitSnapshot.schema.json +61 -0
- package/generated/UsageCostSummary.schema.json +1 -1
- package/package.json +2 -2
|
@@ -101,7 +101,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
101
101
|
}>>>;
|
|
102
102
|
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
103
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"]>;
|
|
104
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
105
105
|
resetsAt: z.ZodNullable<z.ZodString>;
|
|
106
106
|
limitWindow: z.ZodNullable<z.ZodString>;
|
|
107
107
|
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
@@ -131,7 +131,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
131
131
|
root: string | null;
|
|
132
132
|
}>;
|
|
133
133
|
}, "strict", z.ZodTypeAny, {
|
|
134
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
134
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
135
135
|
resetsAt: string | null;
|
|
136
136
|
limitWindow: string | null;
|
|
137
137
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -147,7 +147,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
147
147
|
root: string | null;
|
|
148
148
|
};
|
|
149
149
|
}, {
|
|
150
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
150
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
151
151
|
resetsAt: string | null;
|
|
152
152
|
limitWindow: string | null;
|
|
153
153
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -167,7 +167,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
167
167
|
tryIndex: z.ZodNumber;
|
|
168
168
|
attemptId: z.ZodString;
|
|
169
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"]>;
|
|
170
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
171
171
|
from: z.ZodObject<{
|
|
172
172
|
runId: z.ZodString;
|
|
173
173
|
attemptId: z.ZodString;
|
|
@@ -200,7 +200,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
200
200
|
tryIndex: number;
|
|
201
201
|
attemptId: string;
|
|
202
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";
|
|
203
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
204
204
|
from: {
|
|
205
205
|
runId: string;
|
|
206
206
|
attemptId: string;
|
|
@@ -221,7 +221,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
221
221
|
tryIndex: number;
|
|
222
222
|
attemptId: string;
|
|
223
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";
|
|
224
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
225
225
|
from: {
|
|
226
226
|
runId: string;
|
|
227
227
|
attemptId: string;
|
|
@@ -243,17 +243,17 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
243
243
|
root: z.ZodString;
|
|
244
244
|
bytes: z.ZodNullable<z.ZodNumber>;
|
|
245
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"]>>;
|
|
246
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
247
247
|
}, "strict", z.ZodTypeAny, {
|
|
248
248
|
root: string;
|
|
249
249
|
bytes: number | null;
|
|
250
250
|
retainedAt: string;
|
|
251
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
251
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
252
252
|
}, {
|
|
253
253
|
root: string;
|
|
254
254
|
bytes: number | null;
|
|
255
255
|
retainedAt: string;
|
|
256
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
256
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
257
257
|
}>>>;
|
|
258
258
|
taskId: z.ZodOptional<z.ZodString>;
|
|
259
259
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
@@ -304,6 +304,46 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
304
304
|
binary_path: string | null;
|
|
305
305
|
installed_version: string | null;
|
|
306
306
|
}>]>>;
|
|
307
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
308
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
309
|
+
message: z.ZodString;
|
|
310
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
311
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
313
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
314
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
code: z.ZodNullable<z.ZodString>;
|
|
316
|
+
message: z.ZodString;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
code: string | null;
|
|
319
|
+
message: string;
|
|
320
|
+
}, {
|
|
321
|
+
code: string | null;
|
|
322
|
+
message: string;
|
|
323
|
+
}>>;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
326
|
+
message: string;
|
|
327
|
+
causeCode?: string | undefined;
|
|
328
|
+
bufferBudgetBytes?: number | undefined;
|
|
329
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
330
|
+
drain?: "truncated" | undefined;
|
|
331
|
+
cleanup?: {
|
|
332
|
+
code: string | null;
|
|
333
|
+
message: string;
|
|
334
|
+
} | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
337
|
+
message: string;
|
|
338
|
+
causeCode?: string | undefined;
|
|
339
|
+
bufferBudgetBytes?: number | undefined;
|
|
340
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
341
|
+
drain?: "truncated" | undefined;
|
|
342
|
+
cleanup?: {
|
|
343
|
+
code: string | null;
|
|
344
|
+
message: string;
|
|
345
|
+
} | undefined;
|
|
346
|
+
}>>;
|
|
307
347
|
phase: z.ZodDefault<z.ZodString>;
|
|
308
348
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
309
349
|
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"]>>>;
|
|
@@ -328,6 +368,63 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
328
368
|
message: string | null;
|
|
329
369
|
source: string;
|
|
330
370
|
}>>>;
|
|
371
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
372
|
+
harnessId: z.ZodString;
|
|
373
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
374
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
375
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
376
|
+
attemptId: z.ZodString;
|
|
377
|
+
tryIndex: z.ZodNumber;
|
|
378
|
+
observedAt: z.ZodString;
|
|
379
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
380
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
381
|
+
error: z.ZodString;
|
|
382
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
383
|
+
code: z.ZodNullable<z.ZodString>;
|
|
384
|
+
message: z.ZodNullable<z.ZodString>;
|
|
385
|
+
source: z.ZodString;
|
|
386
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
code: string | null;
|
|
388
|
+
message: string | null;
|
|
389
|
+
source: string;
|
|
390
|
+
}, {
|
|
391
|
+
code: string | null;
|
|
392
|
+
message: string | null;
|
|
393
|
+
source: string;
|
|
394
|
+
}>>;
|
|
395
|
+
}, "strip", z.ZodTypeAny, {
|
|
396
|
+
harnessId: string;
|
|
397
|
+
profileId: string | null;
|
|
398
|
+
profileDisplayName: string | null;
|
|
399
|
+
requestedModel: string | null;
|
|
400
|
+
attemptId: string;
|
|
401
|
+
tryIndex: number;
|
|
402
|
+
observedAt: string;
|
|
403
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
404
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
405
|
+
error: string;
|
|
406
|
+
vendorFailure: {
|
|
407
|
+
code: string | null;
|
|
408
|
+
message: string | null;
|
|
409
|
+
source: string;
|
|
410
|
+
} | null;
|
|
411
|
+
}, {
|
|
412
|
+
harnessId: string;
|
|
413
|
+
profileId: string | null;
|
|
414
|
+
profileDisplayName: string | null;
|
|
415
|
+
requestedModel: string | null;
|
|
416
|
+
attemptId: string;
|
|
417
|
+
tryIndex: number;
|
|
418
|
+
observedAt: string;
|
|
419
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
420
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
421
|
+
error: string;
|
|
422
|
+
vendorFailure: {
|
|
423
|
+
code: string | null;
|
|
424
|
+
message: string | null;
|
|
425
|
+
source: string;
|
|
426
|
+
} | null;
|
|
427
|
+
}>, "many">>;
|
|
331
428
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
332
429
|
}, "strip", z.ZodTypeAny, {
|
|
333
430
|
requestRefusal?: {
|
|
@@ -345,6 +442,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
345
442
|
binary_path: string | null;
|
|
346
443
|
installed_version: string | null;
|
|
347
444
|
} | undefined;
|
|
445
|
+
captureFailure?: {
|
|
446
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
447
|
+
message: string;
|
|
448
|
+
causeCode?: string | undefined;
|
|
449
|
+
bufferBudgetBytes?: number | undefined;
|
|
450
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
451
|
+
drain?: "truncated" | undefined;
|
|
452
|
+
cleanup?: {
|
|
453
|
+
code: string | null;
|
|
454
|
+
message: string;
|
|
455
|
+
} | undefined;
|
|
456
|
+
} | undefined;
|
|
348
457
|
phase: string;
|
|
349
458
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
350
459
|
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;
|
|
@@ -361,6 +470,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
361
470
|
message: string | null;
|
|
362
471
|
source: string;
|
|
363
472
|
} | null;
|
|
473
|
+
poolAttempts: {
|
|
474
|
+
harnessId: string;
|
|
475
|
+
profileId: string | null;
|
|
476
|
+
profileDisplayName: string | null;
|
|
477
|
+
requestedModel: string | null;
|
|
478
|
+
attemptId: string;
|
|
479
|
+
tryIndex: number;
|
|
480
|
+
observedAt: string;
|
|
481
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
482
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
483
|
+
error: string;
|
|
484
|
+
vendorFailure: {
|
|
485
|
+
code: string | null;
|
|
486
|
+
message: string | null;
|
|
487
|
+
source: string;
|
|
488
|
+
} | null;
|
|
489
|
+
}[];
|
|
364
490
|
nextActions: string[];
|
|
365
491
|
}, {
|
|
366
492
|
requestRefusal?: {
|
|
@@ -378,6 +504,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
378
504
|
binary_path: string | null;
|
|
379
505
|
installed_version: string | null;
|
|
380
506
|
} | undefined;
|
|
507
|
+
captureFailure?: {
|
|
508
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
509
|
+
message: string;
|
|
510
|
+
causeCode?: string | undefined;
|
|
511
|
+
bufferBudgetBytes?: number | undefined;
|
|
512
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
513
|
+
drain?: "truncated" | undefined;
|
|
514
|
+
cleanup?: {
|
|
515
|
+
code: string | null;
|
|
516
|
+
message: string;
|
|
517
|
+
} | undefined;
|
|
518
|
+
} | undefined;
|
|
381
519
|
phase?: string | undefined;
|
|
382
520
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
383
521
|
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;
|
|
@@ -394,6 +532,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
394
532
|
message: string | null;
|
|
395
533
|
source: string;
|
|
396
534
|
} | null | undefined;
|
|
535
|
+
poolAttempts?: {
|
|
536
|
+
harnessId: string;
|
|
537
|
+
profileId: string | null;
|
|
538
|
+
profileDisplayName: string | null;
|
|
539
|
+
requestedModel: string | null;
|
|
540
|
+
attemptId: string;
|
|
541
|
+
tryIndex: number;
|
|
542
|
+
observedAt: string;
|
|
543
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
544
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
545
|
+
error: string;
|
|
546
|
+
vendorFailure: {
|
|
547
|
+
code: string | null;
|
|
548
|
+
message: string | null;
|
|
549
|
+
source: string;
|
|
550
|
+
} | null;
|
|
551
|
+
}[] | undefined;
|
|
397
552
|
nextActions?: string[] | undefined;
|
|
398
553
|
}>>>;
|
|
399
554
|
project: z.ZodDefault<z.ZodObject<{
|
|
@@ -848,7 +1003,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
848
1003
|
} | null;
|
|
849
1004
|
continueFrom: string | null;
|
|
850
1005
|
resumable: {
|
|
851
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1006
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
852
1007
|
resetsAt: string | null;
|
|
853
1008
|
limitWindow: string | null;
|
|
854
1009
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -868,7 +1023,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
868
1023
|
tryIndex: number;
|
|
869
1024
|
attemptId: string;
|
|
870
1025
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
871
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1026
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
872
1027
|
from: {
|
|
873
1028
|
runId: string;
|
|
874
1029
|
attemptId: string;
|
|
@@ -890,7 +1045,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
890
1045
|
root: string;
|
|
891
1046
|
bytes: number | null;
|
|
892
1047
|
retainedAt: string;
|
|
893
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1048
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
894
1049
|
} | null;
|
|
895
1050
|
taskId?: string | undefined;
|
|
896
1051
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -912,6 +1067,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
912
1067
|
binary_path: string | null;
|
|
913
1068
|
installed_version: string | null;
|
|
914
1069
|
} | undefined;
|
|
1070
|
+
captureFailure?: {
|
|
1071
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1072
|
+
message: string;
|
|
1073
|
+
causeCode?: string | undefined;
|
|
1074
|
+
bufferBudgetBytes?: number | undefined;
|
|
1075
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1076
|
+
drain?: "truncated" | undefined;
|
|
1077
|
+
cleanup?: {
|
|
1078
|
+
code: string | null;
|
|
1079
|
+
message: string;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
} | undefined;
|
|
915
1082
|
phase: string;
|
|
916
1083
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
917
1084
|
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;
|
|
@@ -928,6 +1095,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
928
1095
|
message: string | null;
|
|
929
1096
|
source: string;
|
|
930
1097
|
} | null;
|
|
1098
|
+
poolAttempts: {
|
|
1099
|
+
harnessId: string;
|
|
1100
|
+
profileId: string | null;
|
|
1101
|
+
profileDisplayName: string | null;
|
|
1102
|
+
requestedModel: string | null;
|
|
1103
|
+
attemptId: string;
|
|
1104
|
+
tryIndex: number;
|
|
1105
|
+
observedAt: string;
|
|
1106
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1107
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1108
|
+
error: string;
|
|
1109
|
+
vendorFailure: {
|
|
1110
|
+
code: string | null;
|
|
1111
|
+
message: string | null;
|
|
1112
|
+
source: string;
|
|
1113
|
+
} | null;
|
|
1114
|
+
}[];
|
|
931
1115
|
nextActions: string[];
|
|
932
1116
|
} | null;
|
|
933
1117
|
project: {
|
|
@@ -1102,7 +1286,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1102
1286
|
} | null | undefined;
|
|
1103
1287
|
continueFrom?: string | null | undefined;
|
|
1104
1288
|
resumable?: {
|
|
1105
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1289
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1106
1290
|
resetsAt: string | null;
|
|
1107
1291
|
limitWindow: string | null;
|
|
1108
1292
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1122,7 +1306,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1122
1306
|
tryIndex: number;
|
|
1123
1307
|
attemptId: string;
|
|
1124
1308
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1125
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1309
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1126
1310
|
from: {
|
|
1127
1311
|
runId: string;
|
|
1128
1312
|
attemptId: string;
|
|
@@ -1144,7 +1328,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1144
1328
|
root: string;
|
|
1145
1329
|
bytes: number | null;
|
|
1146
1330
|
retainedAt: string;
|
|
1147
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1331
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1148
1332
|
} | null | undefined;
|
|
1149
1333
|
taskId?: string | undefined;
|
|
1150
1334
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -1166,6 +1350,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1166
1350
|
binary_path: string | null;
|
|
1167
1351
|
installed_version: string | null;
|
|
1168
1352
|
} | undefined;
|
|
1353
|
+
captureFailure?: {
|
|
1354
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1355
|
+
message: string;
|
|
1356
|
+
causeCode?: string | undefined;
|
|
1357
|
+
bufferBudgetBytes?: number | undefined;
|
|
1358
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1359
|
+
drain?: "truncated" | undefined;
|
|
1360
|
+
cleanup?: {
|
|
1361
|
+
code: string | null;
|
|
1362
|
+
message: string;
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
} | undefined;
|
|
1169
1365
|
phase?: string | undefined;
|
|
1170
1366
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1171
1367
|
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;
|
|
@@ -1182,6 +1378,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1182
1378
|
message: string | null;
|
|
1183
1379
|
source: string;
|
|
1184
1380
|
} | null | undefined;
|
|
1381
|
+
poolAttempts?: {
|
|
1382
|
+
harnessId: string;
|
|
1383
|
+
profileId: string | null;
|
|
1384
|
+
profileDisplayName: string | null;
|
|
1385
|
+
requestedModel: string | null;
|
|
1386
|
+
attemptId: string;
|
|
1387
|
+
tryIndex: number;
|
|
1388
|
+
observedAt: string;
|
|
1389
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1390
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1391
|
+
error: string;
|
|
1392
|
+
vendorFailure: {
|
|
1393
|
+
code: string | null;
|
|
1394
|
+
message: string | null;
|
|
1395
|
+
source: string;
|
|
1396
|
+
} | null;
|
|
1397
|
+
}[] | undefined;
|
|
1185
1398
|
nextActions?: string[] | undefined;
|
|
1186
1399
|
} | null | undefined;
|
|
1187
1400
|
project?: {
|
|
@@ -1366,7 +1579,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1366
1579
|
} | null;
|
|
1367
1580
|
continueFrom: string | null;
|
|
1368
1581
|
resumable: {
|
|
1369
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1582
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1370
1583
|
resetsAt: string | null;
|
|
1371
1584
|
limitWindow: string | null;
|
|
1372
1585
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1386,7 +1599,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1386
1599
|
tryIndex: number;
|
|
1387
1600
|
attemptId: string;
|
|
1388
1601
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1389
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1602
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1390
1603
|
from: {
|
|
1391
1604
|
runId: string;
|
|
1392
1605
|
attemptId: string;
|
|
@@ -1408,7 +1621,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1408
1621
|
root: string;
|
|
1409
1622
|
bytes: number | null;
|
|
1410
1623
|
retainedAt: string;
|
|
1411
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1624
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1412
1625
|
} | null;
|
|
1413
1626
|
taskId?: string | undefined;
|
|
1414
1627
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -1430,6 +1643,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1430
1643
|
binary_path: string | null;
|
|
1431
1644
|
installed_version: string | null;
|
|
1432
1645
|
} | undefined;
|
|
1646
|
+
captureFailure?: {
|
|
1647
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1648
|
+
message: string;
|
|
1649
|
+
causeCode?: string | undefined;
|
|
1650
|
+
bufferBudgetBytes?: number | undefined;
|
|
1651
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1652
|
+
drain?: "truncated" | undefined;
|
|
1653
|
+
cleanup?: {
|
|
1654
|
+
code: string | null;
|
|
1655
|
+
message: string;
|
|
1656
|
+
} | undefined;
|
|
1657
|
+
} | undefined;
|
|
1433
1658
|
phase: string;
|
|
1434
1659
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1435
1660
|
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;
|
|
@@ -1446,6 +1671,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1446
1671
|
message: string | null;
|
|
1447
1672
|
source: string;
|
|
1448
1673
|
} | null;
|
|
1674
|
+
poolAttempts: {
|
|
1675
|
+
harnessId: string;
|
|
1676
|
+
profileId: string | null;
|
|
1677
|
+
profileDisplayName: string | null;
|
|
1678
|
+
requestedModel: string | null;
|
|
1679
|
+
attemptId: string;
|
|
1680
|
+
tryIndex: number;
|
|
1681
|
+
observedAt: string;
|
|
1682
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1683
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1684
|
+
error: string;
|
|
1685
|
+
vendorFailure: {
|
|
1686
|
+
code: string | null;
|
|
1687
|
+
message: string | null;
|
|
1688
|
+
source: string;
|
|
1689
|
+
} | null;
|
|
1690
|
+
}[];
|
|
1449
1691
|
nextActions: string[];
|
|
1450
1692
|
} | null;
|
|
1451
1693
|
project: {
|
|
@@ -1624,7 +1866,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1624
1866
|
} | null | undefined;
|
|
1625
1867
|
continueFrom?: string | null | undefined;
|
|
1626
1868
|
resumable?: {
|
|
1627
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1869
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1628
1870
|
resetsAt: string | null;
|
|
1629
1871
|
limitWindow: string | null;
|
|
1630
1872
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1644,7 +1886,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1644
1886
|
tryIndex: number;
|
|
1645
1887
|
attemptId: string;
|
|
1646
1888
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1647
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1889
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1648
1890
|
from: {
|
|
1649
1891
|
runId: string;
|
|
1650
1892
|
attemptId: string;
|
|
@@ -1666,7 +1908,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1666
1908
|
root: string;
|
|
1667
1909
|
bytes: number | null;
|
|
1668
1910
|
retainedAt: string;
|
|
1669
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1911
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1670
1912
|
} | null | undefined;
|
|
1671
1913
|
taskId?: string | undefined;
|
|
1672
1914
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -1688,6 +1930,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1688
1930
|
binary_path: string | null;
|
|
1689
1931
|
installed_version: string | null;
|
|
1690
1932
|
} | undefined;
|
|
1933
|
+
captureFailure?: {
|
|
1934
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1935
|
+
message: string;
|
|
1936
|
+
causeCode?: string | undefined;
|
|
1937
|
+
bufferBudgetBytes?: number | undefined;
|
|
1938
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1939
|
+
drain?: "truncated" | undefined;
|
|
1940
|
+
cleanup?: {
|
|
1941
|
+
code: string | null;
|
|
1942
|
+
message: string;
|
|
1943
|
+
} | undefined;
|
|
1944
|
+
} | undefined;
|
|
1691
1945
|
phase?: string | undefined;
|
|
1692
1946
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1693
1947
|
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;
|
|
@@ -1704,6 +1958,23 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1704
1958
|
message: string | null;
|
|
1705
1959
|
source: string;
|
|
1706
1960
|
} | null | undefined;
|
|
1961
|
+
poolAttempts?: {
|
|
1962
|
+
harnessId: string;
|
|
1963
|
+
profileId: string | null;
|
|
1964
|
+
profileDisplayName: string | null;
|
|
1965
|
+
requestedModel: string | null;
|
|
1966
|
+
attemptId: string;
|
|
1967
|
+
tryIndex: number;
|
|
1968
|
+
observedAt: string;
|
|
1969
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
1970
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
1971
|
+
error: string;
|
|
1972
|
+
vendorFailure: {
|
|
1973
|
+
code: string | null;
|
|
1974
|
+
message: string | null;
|
|
1975
|
+
source: string;
|
|
1976
|
+
} | null;
|
|
1977
|
+
}[] | undefined;
|
|
1707
1978
|
nextActions?: string[] | undefined;
|
|
1708
1979
|
} | null | undefined;
|
|
1709
1980
|
project?: {
|
|
@@ -2074,6 +2345,8 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
2074
2345
|
}>;
|
|
2075
2346
|
export type ControlDeliveryResponse = z.infer<typeof ControlDeliveryResponse>;
|
|
2076
2347
|
export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
2348
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2349
|
+
timeLimitMode: z.ZodOptional<z.ZodEnum<["soft", "hard"]>>;
|
|
2077
2350
|
prompt: z.ZodDefault<z.ZodString>;
|
|
2078
2351
|
instructions: z.ZodOptional<z.ZodString>;
|
|
2079
2352
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2171,7 +2444,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
2171
2444
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
2172
2445
|
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2173
2446
|
delegate: z.ZodOptional<z.ZodBoolean>;
|
|
2174
|
-
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2175
2447
|
denyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2176
2448
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2177
2449
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2193,6 +2465,8 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
2193
2465
|
answersPlanRunId: z.ZodOptional<z.ZodString>;
|
|
2194
2466
|
overridePlanReadiness: z.ZodOptional<z.ZodBoolean>;
|
|
2195
2467
|
}, "strict", z.ZodTypeAny, {
|
|
2468
|
+
maxSeconds?: number | undefined;
|
|
2469
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
2196
2470
|
prompt: string;
|
|
2197
2471
|
instructions?: string | undefined;
|
|
2198
2472
|
attachments?: {
|
|
@@ -2248,7 +2522,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
2248
2522
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
2249
2523
|
credentialProfileId?: string | null | undefined;
|
|
2250
2524
|
delegate?: boolean | undefined;
|
|
2251
|
-
maxSeconds?: number | undefined;
|
|
2252
2525
|
denyPaths?: string[] | undefined;
|
|
2253
2526
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2254
2527
|
maxTurns?: number | undefined;
|
|
@@ -2261,6 +2534,8 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
2261
2534
|
answersPlanRunId?: string | undefined;
|
|
2262
2535
|
overridePlanReadiness?: boolean | undefined;
|
|
2263
2536
|
}, {
|
|
2537
|
+
maxSeconds?: number | undefined;
|
|
2538
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
2264
2539
|
prompt?: string | undefined;
|
|
2265
2540
|
instructions?: string | undefined;
|
|
2266
2541
|
attachments?: {
|
|
@@ -2316,7 +2591,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
|
2316
2591
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
2317
2592
|
credentialProfileId?: string | null | undefined;
|
|
2318
2593
|
delegate?: boolean | undefined;
|
|
2319
|
-
maxSeconds?: number | undefined;
|
|
2320
2594
|
denyPaths?: string[] | undefined;
|
|
2321
2595
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2322
2596
|
maxTurns?: number | undefined;
|
|
@@ -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,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;EAUI,CAAC;AAClD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAEhG,eAAO,M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