@claudexor/schema 4.2.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/account-resources.d.ts +3957 -662
  2. package/dist/account-resources.d.ts.map +1 -1
  3. package/dist/account-resources.js +32 -0
  4. package/dist/account-resources.js.map +1 -1
  5. package/dist/account-routing-evidence.d.ts +166 -0
  6. package/dist/account-routing-evidence.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +1 -1
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/attempt-execution.d.ts +5 -0
  10. package/dist/attempt-execution.d.ts.map +1 -1
  11. package/dist/budget.d.ts +16 -0
  12. package/dist/budget.d.ts.map +1 -1
  13. package/dist/budget.js +13 -1
  14. package/dist/budget.js.map +1 -1
  15. package/dist/config.d.ts +12 -12
  16. package/dist/config.d.ts.map +1 -1
  17. package/dist/config.js +2 -1
  18. package/dist/config.js.map +1 -1
  19. package/dist/control-operation-responses.d.ts +27 -24
  20. package/dist/control-operation-responses.d.ts.map +1 -1
  21. package/dist/control-run-detail.d.ts +61 -42
  22. package/dist/control-run-detail.d.ts.map +1 -1
  23. package/dist/control.d.ts +45 -39
  24. package/dist/control.d.ts.map +1 -1
  25. package/dist/control.js +9 -21
  26. package/dist/control.js.map +1 -1
  27. package/dist/credential-profile-snapshot.d.ts +332 -0
  28. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  29. package/dist/decision.d.ts +5 -0
  30. package/dist/decision.d.ts.map +1 -1
  31. package/dist/decision.js +9 -2
  32. package/dist/decision.js.map +1 -1
  33. package/dist/events.d.ts +4 -4
  34. package/dist/events.d.ts.map +1 -1
  35. package/dist/events.js +6 -0
  36. package/dist/events.js.map +1 -1
  37. package/dist/harness-input.d.ts +11 -0
  38. package/dist/harness-input.d.ts.map +1 -1
  39. package/dist/harness-input.js +7 -0
  40. package/dist/harness-input.js.map +1 -1
  41. package/dist/harness.d.ts +32 -4
  42. package/dist/harness.d.ts.map +1 -1
  43. package/dist/harness.js +5 -4
  44. package/dist/harness.js.map +1 -1
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +1 -0
  48. package/dist/index.js.map +1 -1
  49. package/dist/mcp-run-result.d.ts +19 -0
  50. package/dist/mcp-run-result.d.ts.map +1 -1
  51. package/dist/model-image.d.ts +7 -0
  52. package/dist/model-image.d.ts.map +1 -1
  53. package/dist/model-operation.d.ts +26 -0
  54. package/dist/model-operation.d.ts.map +1 -1
  55. package/dist/model-operation.js +3 -1
  56. package/dist/model-operation.js.map +1 -1
  57. package/dist/processing.d.ts +56 -0
  58. package/dist/processing.d.ts.map +1 -1
  59. package/dist/processing.js +15 -0
  60. package/dist/processing.js.map +1 -1
  61. package/dist/quota-read.d.ts +3 -3
  62. package/dist/quota-read.js +1 -1
  63. package/dist/quota-read.js.map +1 -1
  64. package/dist/run-continuation.d.ts +6 -6
  65. package/dist/run-continuity.d.ts +7 -7
  66. package/dist/run-continuity.d.ts.map +1 -1
  67. package/dist/run-continuity.js +2 -1
  68. package/dist/run-continuity.js.map +1 -1
  69. package/dist/run-time-limit.d.ts +81 -0
  70. package/dist/run-time-limit.d.ts.map +1 -0
  71. package/dist/run-time-limit.js +36 -0
  72. package/dist/run-time-limit.js.map +1 -0
  73. package/dist/surface-run-controls.d.ts.map +1 -1
  74. package/dist/surface-run-controls.js +9 -0
  75. package/dist/surface-run-controls.js.map +1 -1
  76. package/dist/telemetry.d.ts +12 -0
  77. package/dist/telemetry.d.ts.map +1 -1
  78. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  79. package/generated/AttemptExecutionEvidence.schema.json +6 -1
  80. package/generated/BudgetLease.schema.json +5 -0
  81. package/generated/ControlAccountResetResponse.schema.json +51 -0
  82. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
  83. package/generated/ControlAccountResourcesResponse.schema.json +71 -20
  84. package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
  85. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
  86. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
  87. package/generated/ControlHarnessListResponse.schema.json +1 -1
  88. package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
  89. package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
  90. package/generated/ControlModelCatalogResponse.schema.json +2 -1
  91. package/generated/ControlModelOperationDetail.schema.json +5 -0
  92. package/generated/ControlQuotaQueryResponse.schema.json +131 -20
  93. package/generated/ControlQuotaReadRequest.schema.json +2 -1
  94. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  95. package/generated/ControlRunAgainDraft.schema.json +9 -1
  96. package/generated/ControlRunDetail.schema.json +25 -4
  97. package/generated/ControlRunListResponse.schema.json +2 -1
  98. package/generated/ControlRunStartRequest.schema.json +9 -1
  99. package/generated/ControlRunSummary.schema.json +2 -1
  100. package/generated/ControlSettingsSnapshot.schema.json +10 -3
  101. package/generated/ControlThreadTurnRequest.schema.json +9 -1
  102. package/generated/DecisionRecord.schema.json +8 -1
  103. package/generated/EnvelopeCustody.schema.json +2 -1
  104. package/generated/GlobalConfig.schema.json +10 -3
  105. package/generated/HarnessEvent.schema.json +24 -0
  106. package/generated/HarnessManifest.schema.json +1 -1
  107. package/generated/HarnessStatusDto.schema.json +1 -1
  108. package/generated/ImageCallResult.schema.json +5 -0
  109. package/generated/McpAccountsToolResult.schema.json +72 -21
  110. package/generated/McpRunHandleResult.schema.json +15 -2
  111. package/generated/McpRunToolResult.schema.json +6 -1
  112. package/generated/ModelCallResult.schema.json +5 -0
  113. package/generated/ProcessingCostBasis.schema.json +5 -0
  114. package/generated/RunContinuityReceipt.schema.json +2 -1
  115. package/generated/RunEvent.schema.json +1 -0
  116. package/generated/RunProcessingIntent.schema.json +117 -0
  117. package/generated/RunResumable.schema.json +2 -1
  118. package/generated/RunTelemetry.schema.json +6 -1
  119. package/generated/RunTimeLimitRequest.schema.json +92 -0
  120. package/generated/RunTimeLimitSnapshot.schema.json +61 -0
  121. package/generated/UsageCostSummary.schema.json +1 -1
  122. 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"]>;
@@ -2639,7 +2642,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2639
2642
  } | null;
2640
2643
  continueFrom: string | null;
2641
2644
  resumable: {
2642
- 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";
2643
2646
  resetsAt: string | null;
2644
2647
  limitWindow: string | null;
2645
2648
  limitEvidence: "unspecified" | "window" | null;
@@ -2659,7 +2662,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2659
2662
  tryIndex: number;
2660
2663
  attemptId: string;
2661
2664
  carrier: "fresh" | "native" | "native_moved" | "packet";
2662
- 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";
2663
2666
  from: {
2664
2667
  runId: string;
2665
2668
  attemptId: string;
@@ -2681,7 +2684,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2681
2684
  root: string;
2682
2685
  bytes: number | null;
2683
2686
  retainedAt: string;
2684
- 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;
2685
2688
  } | null;
2686
2689
  taskId?: string | undefined;
2687
2690
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -2922,7 +2925,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2922
2925
  } | null | undefined;
2923
2926
  continueFrom?: string | null | undefined;
2924
2927
  resumable?: {
2925
- 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";
2926
2929
  resetsAt: string | null;
2927
2930
  limitWindow: string | null;
2928
2931
  limitEvidence: "unspecified" | "window" | null;
@@ -2942,7 +2945,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2942
2945
  tryIndex: number;
2943
2946
  attemptId: string;
2944
2947
  carrier: "fresh" | "native" | "native_moved" | "packet";
2945
- 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";
2946
2949
  from: {
2947
2950
  runId: string;
2948
2951
  attemptId: string;
@@ -2964,7 +2967,7 @@ export declare const ControlRunSummary: z.ZodObject<{
2964
2967
  root: string;
2965
2968
  bytes: number | null;
2966
2969
  retainedAt: string;
2967
- 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;
2968
2971
  } | null | undefined;
2969
2972
  taskId?: string | undefined;
2970
2973
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
@@ -3214,6 +3217,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
3214
3217
  maxUsd: number;
3215
3218
  }>]>>;
3216
3219
  spendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3220
+ controllableSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3217
3221
  /** Subscription VALUATION in USD (QA-023c/QA-017b): what this run's
3218
3222
  * native-subscription work would approximately have cost by token valuation,
3219
3223
  * accumulated separately from real billed cash. Null when no valuation is
@@ -3235,6 +3239,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
3235
3239
  maxUsd: number;
3236
3240
  };
3237
3241
  spendUsd: number | null;
3242
+ controllableSpendUsd: number | null;
3238
3243
  valuationUsd: number | null;
3239
3244
  valuationKnowledge: "estimated" | "exact" | "unknown";
3240
3245
  remainingUsd: number | null;
@@ -3250,6 +3255,7 @@ export declare const ControlBudgetSnapshot: z.ZodObject<{
3250
3255
  maxUsd: number;
3251
3256
  } | undefined;
3252
3257
  spendUsd?: number | null | undefined;
3258
+ controllableSpendUsd?: number | null | undefined;
3253
3259
  valuationUsd?: number | null | undefined;
3254
3260
  valuationKnowledge?: "estimated" | "exact" | "unknown" | undefined;
3255
3261
  remainingUsd?: number | null | undefined;
@@ -5696,7 +5702,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
5696
5702
  }>>;
5697
5703
  runtime: z.ZodDefault<z.ZodObject<{
5698
5704
  reviewerTimeoutMs: z.ZodDefault<z.ZodNumber>;
5699
- harnessInactivityTimeoutMs: z.ZodDefault<z.ZodNumber>;
5705
+ harnessInactivityTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5700
5706
  concurrency: z.ZodOptional<z.ZodObject<{
5701
5707
  configured: z.ZodObject<{
5702
5708
  maxConcurrent: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"unlimited">]>;
@@ -5903,7 +5909,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
5903
5909
  }>>;
5904
5910
  }, "strip", z.ZodTypeAny, {
5905
5911
  reviewerTimeoutMs: number;
5906
- harnessInactivityTimeoutMs: number;
5912
+ harnessInactivityTimeoutMs: number | null;
5907
5913
  concurrency?: {
5908
5914
  configured: {
5909
5915
  maxConcurrent: number | "unlimited";
@@ -5946,7 +5952,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
5946
5952
  };
5947
5953
  }, {
5948
5954
  reviewerTimeoutMs?: number | undefined;
5949
- harnessInactivityTimeoutMs?: number | undefined;
5955
+ harnessInactivityTimeoutMs?: number | null | undefined;
5950
5956
  concurrency?: {
5951
5957
  configured: {
5952
5958
  maxConcurrent: number | "unlimited";
@@ -6060,7 +6066,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
6060
6066
  };
6061
6067
  runtime: {
6062
6068
  reviewerTimeoutMs: number;
6063
- harnessInactivityTimeoutMs: number;
6069
+ harnessInactivityTimeoutMs: number | null;
6064
6070
  concurrency?: {
6065
6071
  configured: {
6066
6072
  maxConcurrent: number | "unlimited";
@@ -6143,7 +6149,7 @@ export declare const ControlSettingsSnapshot: z.ZodObject<{
6143
6149
  } | undefined;
6144
6150
  runtime?: {
6145
6151
  reviewerTimeoutMs?: number | undefined;
6146
- harnessInactivityTimeoutMs?: number | undefined;
6152
+ harnessInactivityTimeoutMs?: number | null | undefined;
6147
6153
  concurrency?: {
6148
6154
  configured: {
6149
6155
  maxConcurrent: number | "unlimited";
@@ -1 +1 @@
1
- {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../src/control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoB3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AA0BlD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,eAAO,MAAM,yBAAyB;IAElC;uEACmE;;IAInE,qEAAqE;;IAIrE,sEAAsE;;;;;;;;;;;;;;;;EAYvE,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,eAAO,MAAM,sBAAsB;;IAG/B;;;uEAGmE;;IAOnE,6EAA6E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB7E;;oDAEgD;;IAIhD;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCiB,CAAC;AACzF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
package/dist/control.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { z } from "zod/v3";
2
+ import { RunTimeLimitStart } from "./run-time-limit.js";
2
3
  import { CANCEL_REASON_CODES } from "./cancel-reason.js";
3
4
  import { AccessProfile, AuthPreference, ExternalContextPolicy, Id, ModeKind, NonBlankString, OutputReadyState, ProviderFamily, RecordedAccessProfile, } from "./primitives.js";
4
- import { PaidBudget, PaidFallback, QualityTierSet, RouteRankingRationale, RoutingGoal, } from "./budget.js";
5
+ import { ControllableSpendUsd, PaidBudget, PaidFallback, QualityTierSet, RemainingCapUsd, RouteRankingRationale, RoutingGoal, } from "./budget.js";
5
6
  export { ControlQuotaResponse } from "./quota.js";
6
7
  import { RunOutcomeFacts } from "./decision.js";
7
8
  import { EffortHint, InputTokenUsage, InteractionQuestion } from "./harness.js";
@@ -219,20 +220,9 @@ export const ControlRunStartRequest = z
219
220
  .boolean()
220
221
  .optional()
221
222
  .describe("Agent-only: inject the Claudexor delegation belt so the harness can spawn bounded isolated sub-runs; non-agent modes refuse, while known belt or harness unavailability degrades before start to ordinary Agent with a durable warning."),
222
- /** Hard wall-clock deadline for the WHOLE run, measured from scheduler
223
- * start. On expiry the run is cooperatively cancelled (hard-kill fallback)
224
- * and ends `cancelled` with reason `wall_clock_exceeded`, preserving partial
225
- * artifacts. Distinct from the inactivity watchdog (per-attempt silence). */
226
- maxSeconds: z
227
- .number()
228
- .int()
229
- .positive()
230
- // 7 days. Bounded so `maxSeconds * 1000` never exceeds setTimeout's 32-bit
231
- // ms ceiling (~24.8 days), where an over-large delay silently wraps to 1ms
232
- // and cancels the run almost immediately.
233
- .max(604_800)
234
- .optional()
235
- .describe("Hard wall-clock deadline for the whole run (seconds, from scheduler start, max 7 days); on expiry the run is cancelled with reason wall_clock_exceeded and partial artifacts are kept."),
223
+ /** Optional whole-run clock: explicit limits remain hard by default;
224
+ * soft limits warn without cancelling. Separate from attempt inactivity. */
225
+ ...RunTimeLimitStart.shape,
236
226
  /** Per-run globs no candidate may touch at all (create/modify/delete).
237
227
  * Envelope/isolated runs only: enforced by the engine's authoritative
238
228
  * post-diff policy gate (violation → blocking finding → blocked, patch
@@ -645,6 +635,7 @@ export const ControlBudgetSnapshot = z
645
635
  .nullable()
646
636
  .default(null)
647
637
  .describe("CASH spend so far in USD; null when unknown."),
638
+ controllableSpendUsd: ControllableSpendUsd,
648
639
  /** Subscription VALUATION in USD (QA-023c/QA-017b): what this run's
649
640
  * native-subscription work would approximately have cost by token valuation,
650
641
  * accumulated separately from real billed cash. Null when no valuation is
@@ -660,11 +651,7 @@ export const ControlBudgetSnapshot = z
660
651
  .enum(["exact", "estimated", "unknown"])
661
652
  .default("unknown")
662
653
  .describe("Confidence of valuationUsd: 'estimated' when token-derived, 'unknown' when no usage was reported (valuationUsd is then null), 'exact' when natively priced."),
663
- remainingUsd: z
664
- .number()
665
- .nullable()
666
- .default(null)
667
- .describe("Remaining budget in USD; null when no cap or unknown spend."),
654
+ remainingUsd: RemainingCapUsd,
668
655
  estimated: z
669
656
  .boolean()
670
657
  .default(false)
@@ -1153,8 +1140,9 @@ export const ControlSettingsSnapshot = z
1153
1140
  .number()
1154
1141
  .int()
1155
1142
  .positive()
1143
+ .nullable()
1156
1144
  .default(HARNESS_INACTIVITY_TIMEOUT_DEFAULT_MS)
1157
- .describe("Inactivity watchdog for harness streams, in milliseconds."),
1145
+ .describe("Inactivity watchdog in milliseconds; null disables inactivity timing, not cancellation or cleanup."),
1158
1146
  concurrency: RuntimeConcurrencyState.optional(),
1159
1147
  transientRetry: z
1160
1148
  .object({