@claudexor/schema 4.1.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-resources.d.ts +3957 -662
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +32 -0
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +5989 -0
- package/dist/account-routing-evidence.d.ts.map +1 -0
- package/dist/account-routing-evidence.js +49 -0
- package/dist/account-routing-evidence.js.map +1 -0
- package/dist/agent-capabilities.js +1 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +5 -0
- package/dist/attempt-execution.d.ts.map +1 -1
- package/dist/budget.d.ts +16 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +13 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +12 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +298 -24
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +816 -42
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +258 -0
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +55 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +258 -39
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -21
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +332 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -2
- package/dist/decision.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +6 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +11 -0
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +7 -0
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +32 -4
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -4
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +445 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/model-image.d.ts +7 -0
- package/dist/model-image.d.ts.map +1 -1
- package/dist/model-operation.d.ts +26 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +3 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +56 -0
- package/dist/processing.d.ts.map +1 -1
- package/dist/processing.js +15 -0
- package/dist/processing.js.map +1 -1
- package/dist/quota-read.d.ts +3 -3
- package/dist/quota-read.js +1 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/run-continuation.d.ts +9 -6
- package/dist/run-continuation.d.ts.map +1 -1
- package/dist/run-continuation.js +4 -0
- package/dist/run-continuation.js.map +1 -1
- package/dist/run-continuity.d.ts +7 -7
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +2 -1
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-time-limit.d.ts +81 -0
- package/dist/run-time-limit.d.ts.map +1 -0
- package/dist/run-time-limit.js +36 -0
- package/dist/run-time-limit.js.map +1 -0
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +9 -0
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/telemetry.d.ts +12 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/AttemptExecutionEvidence.schema.json +6 -1
- package/generated/BudgetLease.schema.json +5 -0
- package/generated/ControlAccountResetResponse.schema.json +51 -0
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
- package/generated/ControlAccountResourcesResponse.schema.json +71 -20
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
- package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
- package/generated/ControlModelCatalogResponse.schema.json +2 -1
- package/generated/ControlModelOperationDetail.schema.json +5 -0
- package/generated/ControlQuotaQueryResponse.schema.json +131 -20
- package/generated/ControlQuotaReadRequest.schema.json +2 -1
- package/generated/ControlRetainedEnvelope.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +9 -1
- package/generated/ControlRunDetail.schema.json +187 -4
- package/generated/ControlRunListResponse.schema.json +164 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlRunSummary.schema.json +164 -1
- package/generated/ControlSettingsSnapshot.schema.json +10 -3
- package/generated/ControlThreadTurnRequest.schema.json +9 -1
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/EnvelopeCustody.schema.json +6 -1
- package/generated/GlobalConfig.schema.json +10 -3
- package/generated/HarnessEvent.schema.json +24 -0
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/ImageCallResult.schema.json +5 -0
- package/generated/McpAccountsToolResult.schema.json +2578 -0
- package/generated/McpRunHandleResult.schema.json +177 -2
- package/generated/McpRunToolResult.schema.json +168 -1
- package/generated/ModelCallResult.schema.json +5 -0
- package/generated/ProcessingCostBasis.schema.json +5 -0
- package/generated/RunContinuityReceipt.schema.json +2 -1
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFailure.schema.json +162 -0
- package/generated/RunProcessingIntent.schema.json +117 -0
- package/generated/RunResumable.schema.json +2 -1
- package/generated/RunTelemetry.schema.json +6 -1
- package/generated/RunTimeLimitRequest.schema.json +92 -0
- package/generated/RunTimeLimitSnapshot.schema.json +61 -0
- package/generated/UsageCostSummary.schema.json +1 -1
- package/package.json +2 -2
package/dist/control.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export declare const ControlReviewerPanelEntry: z.ZodObject<{
|
|
|
27
27
|
}>;
|
|
28
28
|
export type ControlReviewerPanelEntry = z.infer<typeof ControlReviewerPanelEntry>;
|
|
29
29
|
export declare const ControlRunStartRequest: z.ZodObject<{
|
|
30
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
timeLimitMode: z.ZodOptional<z.ZodEnum<["soft", "hard"]>>;
|
|
30
32
|
prompt: z.ZodDefault<z.ZodString>;
|
|
31
33
|
/** Caller-supplied system-level instructions layered onto every
|
|
32
34
|
* task-producing lane (primary, candidate, planner, explorer) — never
|
|
@@ -244,11 +246,6 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
244
246
|
* degrades before start to ordinary Agent with a durable warning; a
|
|
245
247
|
* non-agent mode still refuses the incoherent strategy flag. Default off. */
|
|
246
248
|
delegate: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
-
/** Hard wall-clock deadline for the WHOLE run, measured from scheduler
|
|
248
|
-
* start. On expiry the run is cooperatively cancelled (hard-kill fallback)
|
|
249
|
-
* and ends `cancelled` with reason `wall_clock_exceeded`, preserving partial
|
|
250
|
-
* artifacts. Distinct from the inactivity watchdog (per-attempt silence). */
|
|
251
|
-
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
252
249
|
/** Per-run globs no candidate may touch at all (create/modify/delete).
|
|
253
250
|
* Envelope/isolated runs only: enforced by the engine's authoritative
|
|
254
251
|
* post-diff policy gate (violation → blocking finding → blocked, patch
|
|
@@ -270,6 +267,8 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
270
267
|
* max_turns support discloses the ignored knob instead of dropping it. */
|
|
271
268
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
272
269
|
}, "strict", z.ZodTypeAny, {
|
|
270
|
+
maxSeconds?: number | undefined;
|
|
271
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
273
272
|
prompt: string;
|
|
274
273
|
instructions?: string | undefined;
|
|
275
274
|
attachments?: {
|
|
@@ -353,11 +352,12 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
353
352
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
354
353
|
credentialProfileId?: string | null | undefined;
|
|
355
354
|
delegate?: boolean | undefined;
|
|
356
|
-
maxSeconds?: number | undefined;
|
|
357
355
|
denyPaths?: string[] | undefined;
|
|
358
356
|
outputSchema?: Record<string, unknown> | undefined;
|
|
359
357
|
maxTurns?: number | undefined;
|
|
360
358
|
}, {
|
|
359
|
+
maxSeconds?: number | undefined;
|
|
360
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
361
361
|
prompt?: string | undefined;
|
|
362
362
|
instructions?: string | undefined;
|
|
363
363
|
attachments?: {
|
|
@@ -441,7 +441,6 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
441
441
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
442
442
|
credentialProfileId?: string | null | undefined;
|
|
443
443
|
delegate?: boolean | undefined;
|
|
444
|
-
maxSeconds?: number | undefined;
|
|
445
444
|
denyPaths?: string[] | undefined;
|
|
446
445
|
outputSchema?: Record<string, unknown> | undefined;
|
|
447
446
|
maxTurns?: number | undefined;
|
|
@@ -450,6 +449,8 @@ export type ControlRunStartRequest = z.infer<typeof ControlRunStartRequest>;
|
|
|
450
449
|
/** Bounded decoder for immutable accepted request bodies. Active ingress must
|
|
451
450
|
* continue to parse with ControlRunStartRequest. */
|
|
452
451
|
export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
452
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
453
|
+
timeLimitMode: z.ZodOptional<z.ZodEnum<["soft", "hard"]>>;
|
|
453
454
|
prompt: z.ZodDefault<z.ZodString>;
|
|
454
455
|
instructions: z.ZodOptional<z.ZodString>;
|
|
455
456
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -612,13 +613,14 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
612
613
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
613
614
|
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
615
|
delegate: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
-
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
616
616
|
denyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
617
617
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
618
618
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
619
619
|
} & {
|
|
620
620
|
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native", "external_sandbox_full"]>>;
|
|
621
621
|
}, "strict", z.ZodTypeAny, {
|
|
622
|
+
maxSeconds?: number | undefined;
|
|
623
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
622
624
|
prompt: string;
|
|
623
625
|
instructions?: string | undefined;
|
|
624
626
|
attachments?: {
|
|
@@ -701,12 +703,13 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
701
703
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
702
704
|
credentialProfileId?: string | null | undefined;
|
|
703
705
|
delegate?: boolean | undefined;
|
|
704
|
-
maxSeconds?: number | undefined;
|
|
705
706
|
denyPaths?: string[] | undefined;
|
|
706
707
|
outputSchema?: Record<string, unknown> | undefined;
|
|
707
708
|
maxTurns?: number | undefined;
|
|
708
709
|
access?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
709
710
|
}, {
|
|
711
|
+
maxSeconds?: number | undefined;
|
|
712
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
710
713
|
prompt?: string | undefined;
|
|
711
714
|
instructions?: string | undefined;
|
|
712
715
|
attachments?: {
|
|
@@ -789,7 +792,6 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
789
792
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
790
793
|
credentialProfileId?: string | null | undefined;
|
|
791
794
|
delegate?: boolean | undefined;
|
|
792
|
-
maxSeconds?: number | undefined;
|
|
793
795
|
denyPaths?: string[] | undefined;
|
|
794
796
|
outputSchema?: Record<string, unknown> | undefined;
|
|
795
797
|
maxTurns?: number | undefined;
|
|
@@ -835,6 +837,8 @@ export declare const ControlRunRetryResponse: z.ZodObject<{
|
|
|
835
837
|
export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
836
838
|
sourceRunId: z.ZodString;
|
|
837
839
|
request: z.ZodObject<{
|
|
840
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
841
|
+
timeLimitMode: z.ZodOptional<z.ZodEnum<["soft", "hard"]>>;
|
|
838
842
|
prompt: z.ZodDefault<z.ZodString>;
|
|
839
843
|
/** Caller-supplied system-level instructions layered onto every
|
|
840
844
|
* task-producing lane (primary, candidate, planner, explorer) — never
|
|
@@ -1052,11 +1056,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1052
1056
|
* degrades before start to ordinary Agent with a durable warning; a
|
|
1053
1057
|
* non-agent mode still refuses the incoherent strategy flag. Default off. */
|
|
1054
1058
|
delegate: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
-
/** Hard wall-clock deadline for the WHOLE run, measured from scheduler
|
|
1056
|
-
* start. On expiry the run is cooperatively cancelled (hard-kill fallback)
|
|
1057
|
-
* and ends `cancelled` with reason `wall_clock_exceeded`, preserving partial
|
|
1058
|
-
* artifacts. Distinct from the inactivity watchdog (per-attempt silence). */
|
|
1059
|
-
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1060
1059
|
/** Per-run globs no candidate may touch at all (create/modify/delete).
|
|
1061
1060
|
* Envelope/isolated runs only: enforced by the engine's authoritative
|
|
1062
1061
|
* post-diff policy gate (violation → blocking finding → blocked, patch
|
|
@@ -1078,6 +1077,8 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1078
1077
|
* max_turns support discloses the ignored knob instead of dropping it. */
|
|
1079
1078
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1080
1079
|
}, "strict", z.ZodTypeAny, {
|
|
1080
|
+
maxSeconds?: number | undefined;
|
|
1081
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
1081
1082
|
prompt: string;
|
|
1082
1083
|
instructions?: string | undefined;
|
|
1083
1084
|
attachments?: {
|
|
@@ -1161,11 +1162,12 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1161
1162
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1162
1163
|
credentialProfileId?: string | null | undefined;
|
|
1163
1164
|
delegate?: boolean | undefined;
|
|
1164
|
-
maxSeconds?: number | undefined;
|
|
1165
1165
|
denyPaths?: string[] | undefined;
|
|
1166
1166
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1167
1167
|
maxTurns?: number | undefined;
|
|
1168
1168
|
}, {
|
|
1169
|
+
maxSeconds?: number | undefined;
|
|
1170
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
1169
1171
|
prompt?: string | undefined;
|
|
1170
1172
|
instructions?: string | undefined;
|
|
1171
1173
|
attachments?: {
|
|
@@ -1249,7 +1251,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1249
1251
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1250
1252
|
credentialProfileId?: string | null | undefined;
|
|
1251
1253
|
delegate?: boolean | undefined;
|
|
1252
|
-
maxSeconds?: number | undefined;
|
|
1253
1254
|
denyPaths?: string[] | undefined;
|
|
1254
1255
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1255
1256
|
maxTurns?: number | undefined;
|
|
@@ -1277,6 +1278,8 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1277
1278
|
}, "strict", z.ZodTypeAny, {
|
|
1278
1279
|
sourceRunId: string;
|
|
1279
1280
|
request: {
|
|
1281
|
+
maxSeconds?: number | undefined;
|
|
1282
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
1280
1283
|
prompt: string;
|
|
1281
1284
|
instructions?: string | undefined;
|
|
1282
1285
|
attachments?: {
|
|
@@ -1360,7 +1363,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1360
1363
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1361
1364
|
credentialProfileId?: string | null | undefined;
|
|
1362
1365
|
delegate?: boolean | undefined;
|
|
1363
|
-
maxSeconds?: number | undefined;
|
|
1364
1366
|
denyPaths?: string[] | undefined;
|
|
1365
1367
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1366
1368
|
maxTurns?: number | undefined;
|
|
@@ -1376,6 +1378,8 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1376
1378
|
}, {
|
|
1377
1379
|
sourceRunId: string;
|
|
1378
1380
|
request: {
|
|
1381
|
+
maxSeconds?: number | undefined;
|
|
1382
|
+
timeLimitMode?: "hard" | "soft" | undefined;
|
|
1379
1383
|
prompt?: string | undefined;
|
|
1380
1384
|
instructions?: string | undefined;
|
|
1381
1385
|
attachments?: {
|
|
@@ -1459,7 +1463,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1459
1463
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1460
1464
|
credentialProfileId?: string | null | undefined;
|
|
1461
1465
|
delegate?: boolean | undefined;
|
|
1462
|
-
maxSeconds?: number | undefined;
|
|
1463
1466
|
denyPaths?: string[] | undefined;
|
|
1464
1467
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1465
1468
|
maxTurns?: number | undefined;
|
|
@@ -1705,7 +1708,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1705
1708
|
}>>>;
|
|
1706
1709
|
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1707
1710
|
resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1708
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1711
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1709
1712
|
resetsAt: z.ZodNullable<z.ZodString>;
|
|
1710
1713
|
limitWindow: z.ZodNullable<z.ZodString>;
|
|
1711
1714
|
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
@@ -1735,7 +1738,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1735
1738
|
root: string | null;
|
|
1736
1739
|
}>;
|
|
1737
1740
|
}, "strict", z.ZodTypeAny, {
|
|
1738
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1741
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1739
1742
|
resetsAt: string | null;
|
|
1740
1743
|
limitWindow: string | null;
|
|
1741
1744
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1751,7 +1754,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1751
1754
|
root: string | null;
|
|
1752
1755
|
};
|
|
1753
1756
|
}, {
|
|
1754
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1757
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1755
1758
|
resetsAt: string | null;
|
|
1756
1759
|
limitWindow: string | null;
|
|
1757
1760
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -1771,7 +1774,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1771
1774
|
tryIndex: z.ZodNumber;
|
|
1772
1775
|
attemptId: z.ZodString;
|
|
1773
1776
|
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
1774
|
-
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1777
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1775
1778
|
from: z.ZodObject<{
|
|
1776
1779
|
runId: z.ZodString;
|
|
1777
1780
|
attemptId: z.ZodString;
|
|
@@ -1804,7 +1807,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1804
1807
|
tryIndex: number;
|
|
1805
1808
|
attemptId: string;
|
|
1806
1809
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1807
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1810
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1808
1811
|
from: {
|
|
1809
1812
|
runId: string;
|
|
1810
1813
|
attemptId: string;
|
|
@@ -1825,7 +1828,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1825
1828
|
tryIndex: number;
|
|
1826
1829
|
attemptId: string;
|
|
1827
1830
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1828
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1831
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1829
1832
|
from: {
|
|
1830
1833
|
runId: string;
|
|
1831
1834
|
attemptId: string;
|
|
@@ -1847,17 +1850,17 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1847
1850
|
root: z.ZodString;
|
|
1848
1851
|
bytes: z.ZodNullable<z.ZodNumber>;
|
|
1849
1852
|
retainedAt: z.ZodString;
|
|
1850
|
-
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
1853
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
1851
1854
|
}, "strict", z.ZodTypeAny, {
|
|
1852
1855
|
root: string;
|
|
1853
1856
|
bytes: number | null;
|
|
1854
1857
|
retainedAt: string;
|
|
1855
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1858
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1856
1859
|
}, {
|
|
1857
1860
|
root: string;
|
|
1858
1861
|
bytes: number | null;
|
|
1859
1862
|
retainedAt: string;
|
|
1860
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1863
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1861
1864
|
}>>>;
|
|
1862
1865
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1863
1866
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
@@ -1908,6 +1911,46 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1908
1911
|
binary_path: string | null;
|
|
1909
1912
|
installed_version: string | null;
|
|
1910
1913
|
}>]>>;
|
|
1914
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
1915
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
1916
|
+
message: z.ZodString;
|
|
1917
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
1919
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
1920
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
1921
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
1922
|
+
code: z.ZodNullable<z.ZodString>;
|
|
1923
|
+
message: z.ZodString;
|
|
1924
|
+
}, "strip", z.ZodTypeAny, {
|
|
1925
|
+
code: string | null;
|
|
1926
|
+
message: string;
|
|
1927
|
+
}, {
|
|
1928
|
+
code: string | null;
|
|
1929
|
+
message: string;
|
|
1930
|
+
}>>;
|
|
1931
|
+
}, "strip", z.ZodTypeAny, {
|
|
1932
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1933
|
+
message: string;
|
|
1934
|
+
causeCode?: string | undefined;
|
|
1935
|
+
bufferBudgetBytes?: number | undefined;
|
|
1936
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1937
|
+
drain?: "truncated" | undefined;
|
|
1938
|
+
cleanup?: {
|
|
1939
|
+
code: string | null;
|
|
1940
|
+
message: string;
|
|
1941
|
+
} | undefined;
|
|
1942
|
+
}, {
|
|
1943
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
1944
|
+
message: string;
|
|
1945
|
+
causeCode?: string | undefined;
|
|
1946
|
+
bufferBudgetBytes?: number | undefined;
|
|
1947
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
1948
|
+
drain?: "truncated" | undefined;
|
|
1949
|
+
cleanup?: {
|
|
1950
|
+
code: string | null;
|
|
1951
|
+
message: string;
|
|
1952
|
+
} | undefined;
|
|
1953
|
+
}>>;
|
|
1911
1954
|
phase: z.ZodDefault<z.ZodString>;
|
|
1912
1955
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1913
1956
|
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"]>>>;
|
|
@@ -1932,6 +1975,63 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1932
1975
|
message: string | null;
|
|
1933
1976
|
source: string;
|
|
1934
1977
|
}>>>;
|
|
1978
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1979
|
+
harnessId: z.ZodString;
|
|
1980
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
1981
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
1982
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
1983
|
+
attemptId: z.ZodString;
|
|
1984
|
+
tryIndex: z.ZodNumber;
|
|
1985
|
+
observedAt: z.ZodString;
|
|
1986
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
1987
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
1988
|
+
error: z.ZodString;
|
|
1989
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
1990
|
+
code: z.ZodNullable<z.ZodString>;
|
|
1991
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1992
|
+
source: z.ZodString;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
code: string | null;
|
|
1995
|
+
message: string | null;
|
|
1996
|
+
source: string;
|
|
1997
|
+
}, {
|
|
1998
|
+
code: string | null;
|
|
1999
|
+
message: string | null;
|
|
2000
|
+
source: string;
|
|
2001
|
+
}>>;
|
|
2002
|
+
}, "strip", z.ZodTypeAny, {
|
|
2003
|
+
harnessId: string;
|
|
2004
|
+
profileId: string | null;
|
|
2005
|
+
profileDisplayName: string | null;
|
|
2006
|
+
requestedModel: string | null;
|
|
2007
|
+
attemptId: string;
|
|
2008
|
+
tryIndex: number;
|
|
2009
|
+
observedAt: string;
|
|
2010
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2011
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2012
|
+
error: string;
|
|
2013
|
+
vendorFailure: {
|
|
2014
|
+
code: string | null;
|
|
2015
|
+
message: string | null;
|
|
2016
|
+
source: string;
|
|
2017
|
+
} | null;
|
|
2018
|
+
}, {
|
|
2019
|
+
harnessId: string;
|
|
2020
|
+
profileId: string | null;
|
|
2021
|
+
profileDisplayName: string | null;
|
|
2022
|
+
requestedModel: string | null;
|
|
2023
|
+
attemptId: string;
|
|
2024
|
+
tryIndex: number;
|
|
2025
|
+
observedAt: string;
|
|
2026
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2027
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2028
|
+
error: string;
|
|
2029
|
+
vendorFailure: {
|
|
2030
|
+
code: string | null;
|
|
2031
|
+
message: string | null;
|
|
2032
|
+
source: string;
|
|
2033
|
+
} | null;
|
|
2034
|
+
}>, "many">>;
|
|
1935
2035
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1936
2036
|
}, "strip", z.ZodTypeAny, {
|
|
1937
2037
|
requestRefusal?: {
|
|
@@ -1949,6 +2049,18 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1949
2049
|
binary_path: string | null;
|
|
1950
2050
|
installed_version: string | null;
|
|
1951
2051
|
} | undefined;
|
|
2052
|
+
captureFailure?: {
|
|
2053
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2054
|
+
message: string;
|
|
2055
|
+
causeCode?: string | undefined;
|
|
2056
|
+
bufferBudgetBytes?: number | undefined;
|
|
2057
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2058
|
+
drain?: "truncated" | undefined;
|
|
2059
|
+
cleanup?: {
|
|
2060
|
+
code: string | null;
|
|
2061
|
+
message: string;
|
|
2062
|
+
} | undefined;
|
|
2063
|
+
} | undefined;
|
|
1952
2064
|
phase: string;
|
|
1953
2065
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1954
2066
|
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;
|
|
@@ -1965,6 +2077,23 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1965
2077
|
message: string | null;
|
|
1966
2078
|
source: string;
|
|
1967
2079
|
} | null;
|
|
2080
|
+
poolAttempts: {
|
|
2081
|
+
harnessId: string;
|
|
2082
|
+
profileId: string | null;
|
|
2083
|
+
profileDisplayName: string | null;
|
|
2084
|
+
requestedModel: string | null;
|
|
2085
|
+
attemptId: string;
|
|
2086
|
+
tryIndex: number;
|
|
2087
|
+
observedAt: string;
|
|
2088
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2089
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2090
|
+
error: string;
|
|
2091
|
+
vendorFailure: {
|
|
2092
|
+
code: string | null;
|
|
2093
|
+
message: string | null;
|
|
2094
|
+
source: string;
|
|
2095
|
+
} | null;
|
|
2096
|
+
}[];
|
|
1968
2097
|
nextActions: string[];
|
|
1969
2098
|
}, {
|
|
1970
2099
|
requestRefusal?: {
|
|
@@ -1982,6 +2111,18 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1982
2111
|
binary_path: string | null;
|
|
1983
2112
|
installed_version: string | null;
|
|
1984
2113
|
} | undefined;
|
|
2114
|
+
captureFailure?: {
|
|
2115
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2116
|
+
message: string;
|
|
2117
|
+
causeCode?: string | undefined;
|
|
2118
|
+
bufferBudgetBytes?: number | undefined;
|
|
2119
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2120
|
+
drain?: "truncated" | undefined;
|
|
2121
|
+
cleanup?: {
|
|
2122
|
+
code: string | null;
|
|
2123
|
+
message: string;
|
|
2124
|
+
} | undefined;
|
|
2125
|
+
} | undefined;
|
|
1985
2126
|
phase?: string | undefined;
|
|
1986
2127
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1987
2128
|
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;
|
|
@@ -1998,6 +2139,23 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1998
2139
|
message: string | null;
|
|
1999
2140
|
source: string;
|
|
2000
2141
|
} | null | undefined;
|
|
2142
|
+
poolAttempts?: {
|
|
2143
|
+
harnessId: string;
|
|
2144
|
+
profileId: string | null;
|
|
2145
|
+
profileDisplayName: string | null;
|
|
2146
|
+
requestedModel: string | null;
|
|
2147
|
+
attemptId: string;
|
|
2148
|
+
tryIndex: number;
|
|
2149
|
+
observedAt: string;
|
|
2150
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2151
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2152
|
+
error: string;
|
|
2153
|
+
vendorFailure: {
|
|
2154
|
+
code: string | null;
|
|
2155
|
+
message: string | null;
|
|
2156
|
+
source: string;
|
|
2157
|
+
} | null;
|
|
2158
|
+
}[] | undefined;
|
|
2001
2159
|
nextActions?: string[] | undefined;
|
|
2002
2160
|
}>>>;
|
|
2003
2161
|
project: z.ZodDefault<z.ZodObject<{
|
|
@@ -2484,7 +2642,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2484
2642
|
} | null;
|
|
2485
2643
|
continueFrom: string | null;
|
|
2486
2644
|
resumable: {
|
|
2487
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2645
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2488
2646
|
resetsAt: string | null;
|
|
2489
2647
|
limitWindow: string | null;
|
|
2490
2648
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -2504,7 +2662,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2504
2662
|
tryIndex: number;
|
|
2505
2663
|
attemptId: string;
|
|
2506
2664
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2507
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2665
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2508
2666
|
from: {
|
|
2509
2667
|
runId: string;
|
|
2510
2668
|
attemptId: string;
|
|
@@ -2526,7 +2684,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2526
2684
|
root: string;
|
|
2527
2685
|
bytes: number | null;
|
|
2528
2686
|
retainedAt: string;
|
|
2529
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2687
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2530
2688
|
} | null;
|
|
2531
2689
|
taskId?: string | undefined;
|
|
2532
2690
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -2548,6 +2706,18 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2548
2706
|
binary_path: string | null;
|
|
2549
2707
|
installed_version: string | null;
|
|
2550
2708
|
} | undefined;
|
|
2709
|
+
captureFailure?: {
|
|
2710
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2711
|
+
message: string;
|
|
2712
|
+
causeCode?: string | undefined;
|
|
2713
|
+
bufferBudgetBytes?: number | undefined;
|
|
2714
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2715
|
+
drain?: "truncated" | undefined;
|
|
2716
|
+
cleanup?: {
|
|
2717
|
+
code: string | null;
|
|
2718
|
+
message: string;
|
|
2719
|
+
} | undefined;
|
|
2720
|
+
} | undefined;
|
|
2551
2721
|
phase: string;
|
|
2552
2722
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2553
2723
|
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;
|
|
@@ -2564,6 +2734,23 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2564
2734
|
message: string | null;
|
|
2565
2735
|
source: string;
|
|
2566
2736
|
} | null;
|
|
2737
|
+
poolAttempts: {
|
|
2738
|
+
harnessId: string;
|
|
2739
|
+
profileId: string | null;
|
|
2740
|
+
profileDisplayName: string | null;
|
|
2741
|
+
requestedModel: string | null;
|
|
2742
|
+
attemptId: string;
|
|
2743
|
+
tryIndex: number;
|
|
2744
|
+
observedAt: string;
|
|
2745
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
2746
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
2747
|
+
error: string;
|
|
2748
|
+
vendorFailure: {
|
|
2749
|
+
code: string | null;
|
|
2750
|
+
message: string | null;
|
|
2751
|
+
source: string;
|
|
2752
|
+
} | null;
|
|
2753
|
+
}[];
|
|
2567
2754
|
nextActions: string[];
|
|
2568
2755
|
} | null;
|
|
2569
2756
|
project: {
|
|
@@ -2738,7 +2925,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2738
2925
|
} | null | undefined;
|
|
2739
2926
|
continueFrom?: string | null | undefined;
|
|
2740
2927
|
resumable?: {
|
|
2741
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2928
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2742
2929
|
resetsAt: string | null;
|
|
2743
2930
|
limitWindow: string | null;
|
|
2744
2931
|
limitEvidence: "unspecified" | "window" | null;
|
|
@@ -2758,7 +2945,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2758
2945
|
tryIndex: number;
|
|
2759
2946
|
attemptId: string;
|
|
2760
2947
|
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2761
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2948
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2762
2949
|
from: {
|
|
2763
2950
|
runId: string;
|
|
2764
2951
|
attemptId: string;
|
|
@@ -2780,7 +2967,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2780
2967
|
root: string;
|
|
2781
2968
|
bytes: number | null;
|
|
2782
2969
|
retainedAt: string;
|
|
2783
|
-
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2970
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2784
2971
|
} | null | undefined;
|
|
2785
2972
|
taskId?: string | undefined;
|
|
2786
2973
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
@@ -2802,6 +2989,18 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2802
2989
|
binary_path: string | null;
|
|
2803
2990
|
installed_version: string | null;
|
|
2804
2991
|
} | undefined;
|
|
2992
|
+
captureFailure?: {
|
|
2993
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
2994
|
+
message: string;
|
|
2995
|
+
causeCode?: string | undefined;
|
|
2996
|
+
bufferBudgetBytes?: number | undefined;
|
|
2997
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
2998
|
+
drain?: "truncated" | undefined;
|
|
2999
|
+
cleanup?: {
|
|
3000
|
+
code: string | null;
|
|
3001
|
+
message: string;
|
|
3002
|
+
} | undefined;
|
|
3003
|
+
} | undefined;
|
|
2805
3004
|
phase?: string | undefined;
|
|
2806
3005
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2807
3006
|
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;
|
|
@@ -2818,6 +3017,23 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2818
3017
|
message: string | null;
|
|
2819
3018
|
source: string;
|
|
2820
3019
|
} | null | undefined;
|
|
3020
|
+
poolAttempts?: {
|
|
3021
|
+
harnessId: string;
|
|
3022
|
+
profileId: string | null;
|
|
3023
|
+
profileDisplayName: string | null;
|
|
3024
|
+
requestedModel: string | null;
|
|
3025
|
+
attemptId: string;
|
|
3026
|
+
tryIndex: number;
|
|
3027
|
+
observedAt: string;
|
|
3028
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
3029
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
3030
|
+
error: string;
|
|
3031
|
+
vendorFailure: {
|
|
3032
|
+
code: string | null;
|
|
3033
|
+
message: string | null;
|
|
3034
|
+
source: string;
|
|
3035
|
+
} | null;
|
|
3036
|
+
}[] | undefined;
|
|
2821
3037
|
nextActions?: string[] | undefined;
|
|
2822
3038
|
} | null | undefined;
|
|
2823
3039
|
project?: {
|
|
@@ -3001,6 +3217,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
|
|
|
3001
3217
|
maxUsd: number;
|
|
3002
3218
|
}>]>>;
|
|
3003
3219
|
spendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3220
|
+
controllableSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3004
3221
|
/** Subscription VALUATION in USD (QA-023c/QA-017b): what this run's
|
|
3005
3222
|
* native-subscription work would approximately have cost by token valuation,
|
|
3006
3223
|
* accumulated separately from real billed cash. Null when no valuation is
|
|
@@ -3022,6 +3239,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
|
|
|
3022
3239
|
maxUsd: number;
|
|
3023
3240
|
};
|
|
3024
3241
|
spendUsd: number | null;
|
|
3242
|
+
controllableSpendUsd: number | null;
|
|
3025
3243
|
valuationUsd: number | null;
|
|
3026
3244
|
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
3027
3245
|
remainingUsd: number | null;
|
|
@@ -3037,6 +3255,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
|
|
|
3037
3255
|
maxUsd: number;
|
|
3038
3256
|
} | undefined;
|
|
3039
3257
|
spendUsd?: number | null | undefined;
|
|
3258
|
+
controllableSpendUsd?: number | null | undefined;
|
|
3040
3259
|
valuationUsd?: number | null | undefined;
|
|
3041
3260
|
valuationKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
3042
3261
|
remainingUsd?: number | null | undefined;
|
|
@@ -5483,7 +5702,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
|
|
|
5483
5702
|
}>>;
|
|
5484
5703
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
5485
5704
|
reviewerTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
5486
|
-
harnessInactivityTimeoutMs: z.ZodDefault<z.ZodNumber
|
|
5705
|
+
harnessInactivityTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5487
5706
|
concurrency: z.ZodOptional<z.ZodObject<{
|
|
5488
5707
|
configured: z.ZodObject<{
|
|
5489
5708
|
maxConcurrent: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"unlimited">]>;
|
|
@@ -5690,7 +5909,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
|
|
|
5690
5909
|
}>>;
|
|
5691
5910
|
}, "strip", z.ZodTypeAny, {
|
|
5692
5911
|
reviewerTimeoutMs: number;
|
|
5693
|
-
harnessInactivityTimeoutMs: number;
|
|
5912
|
+
harnessInactivityTimeoutMs: number | null;
|
|
5694
5913
|
concurrency?: {
|
|
5695
5914
|
configured: {
|
|
5696
5915
|
maxConcurrent: number | "unlimited";
|
|
@@ -5733,7 +5952,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
|
|
|
5733
5952
|
};
|
|
5734
5953
|
}, {
|
|
5735
5954
|
reviewerTimeoutMs?: number | undefined;
|
|
5736
|
-
harnessInactivityTimeoutMs?: number | undefined;
|
|
5955
|
+
harnessInactivityTimeoutMs?: number | null | undefined;
|
|
5737
5956
|
concurrency?: {
|
|
5738
5957
|
configured: {
|
|
5739
5958
|
maxConcurrent: number | "unlimited";
|
|
@@ -5847,7 +6066,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
|
|
|
5847
6066
|
};
|
|
5848
6067
|
runtime: {
|
|
5849
6068
|
reviewerTimeoutMs: number;
|
|
5850
|
-
harnessInactivityTimeoutMs: number;
|
|
6069
|
+
harnessInactivityTimeoutMs: number | null;
|
|
5851
6070
|
concurrency?: {
|
|
5852
6071
|
configured: {
|
|
5853
6072
|
maxConcurrent: number | "unlimited";
|
|
@@ -5930,7 +6149,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
|
|
|
5930
6149
|
} | undefined;
|
|
5931
6150
|
runtime?: {
|
|
5932
6151
|
reviewerTimeoutMs?: number | undefined;
|
|
5933
|
-
harnessInactivityTimeoutMs?: number | undefined;
|
|
6152
|
+
harnessInactivityTimeoutMs?: number | null | undefined;
|
|
5934
6153
|
concurrency?: {
|
|
5935
6154
|
configured: {
|
|
5936
6155
|
maxConcurrent: number | "unlimited";
|