@claudexor/schema 3.1.2 → 3.3.7-rc.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.
Files changed (291) hide show
  1. package/dist/agent-capabilities.d.ts +157 -129
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +3 -1
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/apply-eligibility.d.ts +472 -273
  6. package/dist/apply-eligibility.d.ts.map +1 -1
  7. package/dist/apply-eligibility.js +25 -1
  8. package/dist/apply-eligibility.js.map +1 -1
  9. package/dist/attachment.d.ts +17 -17
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +1 -1
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/auth.d.ts +475 -475
  14. package/dist/auth.d.ts.map +1 -1
  15. package/dist/auth.js +1 -1
  16. package/dist/auth.js.map +1 -1
  17. package/dist/budget.d.ts +59 -59
  18. package/dist/budget.d.ts.map +1 -1
  19. package/dist/budget.js +1 -1
  20. package/dist/budget.js.map +1 -1
  21. package/dist/config.d.ts +320 -316
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/config.js +26 -19
  24. package/dist/config.js.map +1 -1
  25. package/dist/context.d.ts +38 -38
  26. package/dist/context.d.ts.map +1 -1
  27. package/dist/context.js +1 -1
  28. package/dist/context.js.map +1 -1
  29. package/dist/control-auth-route.d.ts +46 -0
  30. package/dist/control-auth-route.d.ts.map +1 -0
  31. package/dist/control-auth-route.js +24 -0
  32. package/dist/control-auth-route.js.map +1 -0
  33. package/dist/control-gc.d.ts +15 -15
  34. package/dist/control-gc.d.ts.map +1 -1
  35. package/dist/control-gc.js +1 -1
  36. package/dist/control-gc.js.map +1 -1
  37. package/dist/control-harness-list.d.ts +896 -0
  38. package/dist/control-harness-list.d.ts.map +1 -0
  39. package/dist/control-harness-list.js +13 -0
  40. package/dist/control-harness-list.js.map +1 -0
  41. package/dist/control-operation-responses.d.ts +644 -629
  42. package/dist/control-operation-responses.d.ts.map +1 -1
  43. package/dist/control-operation-responses.js +5 -1
  44. package/dist/control-operation-responses.js.map +1 -1
  45. package/dist/control-run-detail.d.ts +2229 -1569
  46. package/dist/control-run-detail.d.ts.map +1 -1
  47. package/dist/control-run-detail.js +46 -2
  48. package/dist/control-run-detail.js.map +1 -1
  49. package/dist/control-run-failure.d.ts +57 -0
  50. package/dist/control-run-failure.d.ts.map +1 -0
  51. package/dist/control-run-failure.js +89 -0
  52. package/dist/control-run-failure.js.map +1 -0
  53. package/dist/control-run-retry.d.ts +16 -16
  54. package/dist/control-run-retry.d.ts.map +1 -1
  55. package/dist/control-run-retry.js +1 -1
  56. package/dist/control-run-retry.js.map +1 -1
  57. package/dist/control-run-scope.d.ts +19 -2
  58. package/dist/control-run-scope.d.ts.map +1 -1
  59. package/dist/control-run-scope.js +22 -1
  60. package/dist/control-run-scope.js.map +1 -1
  61. package/dist/control-secret.d.ts +7 -7
  62. package/dist/control-secret.d.ts.map +1 -1
  63. package/dist/control-secret.js +1 -1
  64. package/dist/control-secret.js.map +1 -1
  65. package/dist/control-thread-apply.d.ts +65 -65
  66. package/dist/control-thread-apply.d.ts.map +1 -1
  67. package/dist/control-thread-apply.js +1 -1
  68. package/dist/control-thread-apply.js.map +1 -1
  69. package/dist/control-trust.d.ts +23 -23
  70. package/dist/control-trust.d.ts.map +1 -1
  71. package/dist/control-trust.js +1 -1
  72. package/dist/control-trust.js.map +1 -1
  73. package/dist/control.d.ts +1551 -2385
  74. package/dist/control.d.ts.map +1 -1
  75. package/dist/control.js +29 -107
  76. package/dist/control.js.map +1 -1
  77. package/dist/credential-profile-snapshot.d.ts +3206 -0
  78. package/dist/credential-profile-snapshot.d.ts.map +1 -0
  79. package/dist/credential-profile-snapshot.js +28 -0
  80. package/dist/credential-profile-snapshot.js.map +1 -0
  81. package/dist/credential-profile.d.ts +170 -107
  82. package/dist/credential-profile.d.ts.map +1 -1
  83. package/dist/credential-profile.js +24 -7
  84. package/dist/credential-profile.js.map +1 -1
  85. package/dist/decision.d.ts +121 -121
  86. package/dist/decision.d.ts.map +1 -1
  87. package/dist/decision.js +2 -1
  88. package/dist/decision.js.map +1 -1
  89. package/dist/deep-scan.d.ts +5 -5
  90. package/dist/deep-scan.d.ts.map +1 -1
  91. package/dist/deep-scan.js +1 -1
  92. package/dist/deep-scan.js.map +1 -1
  93. package/dist/delegation.d.ts +13 -13
  94. package/dist/delegation.d.ts.map +1 -1
  95. package/dist/delegation.js +1 -1
  96. package/dist/delegation.js.map +1 -1
  97. package/dist/delivery.d.ts +32 -32
  98. package/dist/delivery.d.ts.map +1 -1
  99. package/dist/delivery.js +1 -1
  100. package/dist/delivery.js.map +1 -1
  101. package/dist/effort.d.ts +1 -1
  102. package/dist/effort.d.ts.map +1 -1
  103. package/dist/effort.js +1 -1
  104. package/dist/effort.js.map +1 -1
  105. package/dist/events.d.ts +55 -35
  106. package/dist/events.d.ts.map +1 -1
  107. package/dist/events.js +20 -1
  108. package/dist/events.js.map +1 -1
  109. package/dist/gate.d.ts +7 -7
  110. package/dist/gate.d.ts.map +1 -1
  111. package/dist/gate.js +1 -1
  112. package/dist/gate.js.map +1 -1
  113. package/dist/git-capability.d.ts +23 -0
  114. package/dist/git-capability.d.ts.map +1 -0
  115. package/dist/git-capability.js +15 -0
  116. package/dist/git-capability.js.map +1 -0
  117. package/dist/harness-confinement.d.ts +64 -0
  118. package/dist/harness-confinement.d.ts.map +1 -0
  119. package/dist/harness-confinement.js +64 -0
  120. package/dist/harness-confinement.js.map +1 -0
  121. package/dist/harness.d.ts +428 -408
  122. package/dist/harness.d.ts.map +1 -1
  123. package/dist/harness.js +15 -26
  124. package/dist/harness.js.map +1 -1
  125. package/dist/index.d.ts +8 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +8 -0
  128. package/dist/index.js.map +1 -1
  129. package/dist/interaction.d.ts +10 -0
  130. package/dist/interaction.d.ts.map +1 -0
  131. package/dist/interaction.js +2 -0
  132. package/dist/interaction.js.map +1 -0
  133. package/dist/operation.d.ts +113 -113
  134. package/dist/operation.d.ts.map +1 -1
  135. package/dist/operation.js +1 -1
  136. package/dist/operation.js.map +1 -1
  137. package/dist/output-schema-dialect.d.ts +1 -1
  138. package/dist/output-schema-dialect.d.ts.map +1 -1
  139. package/dist/output-schema-dialect.js +1 -1
  140. package/dist/output-schema-dialect.js.map +1 -1
  141. package/dist/output-schema.d.ts +2 -2
  142. package/dist/output-schema.js +2 -2
  143. package/dist/plan.d.ts +29 -29
  144. package/dist/plan.d.ts.map +1 -1
  145. package/dist/plan.js +2 -2
  146. package/dist/plan.js.map +1 -1
  147. package/dist/primitives.d.ts +1 -1
  148. package/dist/primitives.d.ts.map +1 -1
  149. package/dist/primitives.js +1 -1
  150. package/dist/primitives.js.map +1 -1
  151. package/dist/problem.d.ts +6 -6
  152. package/dist/problem.d.ts.map +1 -1
  153. package/dist/problem.js +1 -1
  154. package/dist/problem.js.map +1 -1
  155. package/dist/project.d.ts +87 -25
  156. package/dist/project.d.ts.map +1 -1
  157. package/dist/project.js +21 -1
  158. package/dist/project.js.map +1 -1
  159. package/dist/quota.d.ts +51 -51
  160. package/dist/quota.d.ts.map +1 -1
  161. package/dist/quota.js +6 -1
  162. package/dist/quota.js.map +1 -1
  163. package/dist/raw.d.ts +16 -16
  164. package/dist/raw.d.ts.map +1 -1
  165. package/dist/raw.js +1 -1
  166. package/dist/raw.js.map +1 -1
  167. package/dist/readiness.d.ts +242 -242
  168. package/dist/readiness.d.ts.map +1 -1
  169. package/dist/readiness.js +1 -1
  170. package/dist/readiness.js.map +1 -1
  171. package/dist/recovery.d.ts +106 -106
  172. package/dist/recovery.d.ts.map +1 -1
  173. package/dist/recovery.js +1 -1
  174. package/dist/recovery.js.map +1 -1
  175. package/dist/request-requirements.d.ts +9 -9
  176. package/dist/request-requirements.d.ts.map +1 -1
  177. package/dist/request-requirements.js +1 -1
  178. package/dist/request-requirements.js.map +1 -1
  179. package/dist/review.d.ts +29 -29
  180. package/dist/review.d.ts.map +1 -1
  181. package/dist/review.js +1 -1
  182. package/dist/review.js.map +1 -1
  183. package/dist/route.d.ts +11 -11
  184. package/dist/route.d.ts.map +1 -1
  185. package/dist/route.js +1 -1
  186. package/dist/route.js.map +1 -1
  187. package/dist/run-applicability.d.ts +764 -0
  188. package/dist/run-applicability.d.ts.map +1 -0
  189. package/dist/run-applicability.js +56 -0
  190. package/dist/run-applicability.js.map +1 -0
  191. package/dist/run-facts.d.ts +628 -0
  192. package/dist/run-facts.d.ts.map +1 -0
  193. package/dist/run-facts.js +429 -0
  194. package/dist/run-facts.js.map +1 -0
  195. package/dist/run-strategy.d.ts +40 -0
  196. package/dist/run-strategy.d.ts.map +1 -1
  197. package/dist/run-strategy.js +68 -1
  198. package/dist/run-strategy.js.map +1 -1
  199. package/dist/setup-device-code-envelope.d.ts +67 -0
  200. package/dist/setup-device-code-envelope.d.ts.map +1 -0
  201. package/dist/setup-device-code-envelope.js +25 -0
  202. package/dist/setup-device-code-envelope.js.map +1 -0
  203. package/dist/setup-login-protocol.d.ts +6 -0
  204. package/dist/setup-login-protocol.d.ts.map +1 -0
  205. package/dist/setup-login-protocol.js +12 -0
  206. package/dist/setup-login-protocol.js.map +1 -0
  207. package/dist/setup-transport.d.ts +12 -0
  208. package/dist/setup-transport.d.ts.map +1 -0
  209. package/dist/setup-transport.js +22 -0
  210. package/dist/setup-transport.js.map +1 -0
  211. package/dist/setup.d.ts +12572 -3749
  212. package/dist/setup.d.ts.map +1 -1
  213. package/dist/setup.js +34 -38
  214. package/dist/setup.js.map +1 -1
  215. package/dist/status-projection.d.ts +7 -5
  216. package/dist/status-projection.d.ts.map +1 -1
  217. package/dist/status-projection.js +11 -6
  218. package/dist/status-projection.js.map +1 -1
  219. package/dist/surface-run-controls.d.ts.map +1 -1
  220. package/dist/surface-run-controls.js +10 -1
  221. package/dist/surface-run-controls.js.map +1 -1
  222. package/dist/task.d.ts +303 -303
  223. package/dist/task.d.ts.map +1 -1
  224. package/dist/task.js +1 -1
  225. package/dist/task.js.map +1 -1
  226. package/dist/telemetry.d.ts +1157 -633
  227. package/dist/telemetry.d.ts.map +1 -1
  228. package/dist/telemetry.js +7 -4
  229. package/dist/telemetry.js.map +1 -1
  230. package/dist/thread.d.ts +133 -84
  231. package/dist/thread.d.ts.map +1 -1
  232. package/dist/thread.js +21 -2
  233. package/dist/thread.js.map +1 -1
  234. package/dist/tool-ref.d.ts +7 -7
  235. package/dist/tool-ref.d.ts.map +1 -1
  236. package/dist/tool-ref.js +1 -1
  237. package/dist/tool-ref.js.map +1 -1
  238. package/dist/work-report.d.ts +28 -28
  239. package/dist/work-report.d.ts.map +1 -1
  240. package/dist/work-report.js +3 -3
  241. package/dist/work-report.js.map +1 -1
  242. package/dist/workproduct.d.ts +6 -9
  243. package/dist/workproduct.d.ts.map +1 -1
  244. package/dist/workproduct.js +1 -2
  245. package/dist/workproduct.js.map +1 -1
  246. package/dist/workspace.d.ts +13 -13
  247. package/dist/workspace.d.ts.map +1 -1
  248. package/dist/workspace.js +1 -1
  249. package/dist/workspace.js.map +1 -1
  250. package/generated/AgentCapabilityCatalog.schema.json +41 -0
  251. package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
  252. package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
  253. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
  254. package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
  255. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
  256. package/generated/ControlDirectoryEntry.schema.json +36 -0
  257. package/generated/ControlDirectoryListing.schema.json +77 -0
  258. package/generated/ControlHarnessListResponse.schema.json +41 -1
  259. package/generated/ControlQuotaResponse.schema.json +2 -1
  260. package/generated/ControlRunAgainDraft.schema.json +12 -2
  261. package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
  262. package/generated/ControlRunDetail.schema.json +494 -69
  263. package/generated/ControlRunListResponse.schema.json +30 -4
  264. package/generated/ControlRunStartRequest.schema.json +12 -2
  265. package/generated/ControlRunSummary.schema.json +30 -4
  266. package/generated/ControlSettingsSnapshot.schema.json +12 -3
  267. package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
  268. package/generated/ControlSetupJob.schema.json +9 -0
  269. package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
  270. package/generated/ControlSetupJobEvent.schema.json +858 -758
  271. package/generated/ControlSetupJobListResponse.schema.json +9 -0
  272. package/generated/ControlSetupJobSnapshot.schema.json +811 -736
  273. package/generated/ControlThreadCreateRequest.schema.json +5 -0
  274. package/generated/ControlThreadDetail.schema.json +31 -1
  275. package/generated/ControlThreadTurnRequest.schema.json +5 -24
  276. package/generated/CredentialProfileStatus.schema.json +10 -1
  277. package/generated/DecisionRecord.schema.json +2 -1
  278. package/generated/GitCapability.schema.json +46 -0
  279. package/generated/GlobalConfig.schema.json +13 -4
  280. package/generated/HarnessEvent.schema.json +2 -1
  281. package/generated/HarnessManifest.schema.json +1 -1
  282. package/generated/HarnessStatusDto.schema.json +1 -1
  283. package/generated/McpRunHandleResult.schema.json +182 -1
  284. package/generated/McpRunToolResult.schema.json +182 -1
  285. package/generated/OutputReadyPayload.schema.json +44 -0
  286. package/generated/RunFacts.schema.json +569 -0
  287. package/generated/RunFailure.schema.json +19 -2
  288. package/generated/RunTelemetry.schema.json +492 -2
  289. package/generated/ThreadTurn.schema.json +29 -0
  290. package/generated/WorkProduct.schema.json +0 -4
  291. package/package.json +3 -3
package/dist/config.d.ts CHANGED
@@ -1,4 +1,12 @@
1
- import { z } from "zod";
1
+ import { z } from "zod/v3";
2
+ /** Largest persisted finite interaction wait. It stays comfortably below the
3
+ * ECMAScript ISO-Date ceiling even after adding a contemporary epoch, while
4
+ * still exercising the chunked-timer path far beyond Node's 2^31-1 limit. */
5
+ export declare const INTERACTION_TIMEOUT_MAX_MS = 8000000000000000;
6
+ /** One finite-or-disabled value contract shared by persisted config and every
7
+ * control-plane projection. Defaults/optionality belong to the containing
8
+ * field, not to this scalar schema. */
9
+ export declare const InteractionTimeoutValue: z.ZodNullable<z.ZodNumber>;
2
10
  /**
3
11
  * Project config — safe, versioned settings. This shape may NOT carry sensitive
4
12
  * settings (full access, secrets, budget-above-cap, plugin auto-install, etc.);
@@ -26,10 +34,10 @@ export declare const ProjectConfig: z.ZodObject<{
26
34
  cwd: z.ZodOptional<z.ZodString>;
27
35
  envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
28
36
  }, "strict", z.ZodTypeAny, {
29
- args: string[];
30
37
  program: string;
31
- envAllowlist: string[];
38
+ args: string[];
32
39
  cwd?: string | undefined;
40
+ envAllowlist: string[];
33
41
  }, {
34
42
  program: string;
35
43
  args?: string[] | undefined;
@@ -38,10 +46,10 @@ export declare const ProjectConfig: z.ZodObject<{
38
46
  }>, "many">>;
39
47
  }, "strict", z.ZodTypeAny, {
40
48
  commands: {
41
- args: string[];
42
49
  program: string;
43
- envAllowlist: string[];
50
+ args: string[];
44
51
  cwd?: string | undefined;
52
+ envAllowlist: string[];
45
53
  }[];
46
54
  }, {
47
55
  commands?: {
@@ -54,9 +62,9 @@ export declare const ProjectConfig: z.ZodObject<{
54
62
  budget: z.ZodDefault<z.ZodObject<{
55
63
  routing_goal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
56
64
  }, "strict", z.ZodTypeAny, {
57
- routing_goal?: "auto" | "quality" | "economy" | undefined;
65
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
58
66
  }, {
59
- routing_goal?: "auto" | "quality" | "economy" | undefined;
67
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
60
68
  }>>;
61
69
  constraints: z.ZodDefault<z.ZodObject<{
62
70
  protected_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -66,9 +74,6 @@ export declare const ProjectConfig: z.ZodObject<{
66
74
  protected_paths?: string[] | undefined;
67
75
  }>>;
68
76
  }, "strict", z.ZodTypeAny, {
69
- constraints: {
70
- protected_paths: string[];
71
- };
72
77
  version: 1;
73
78
  context: {
74
79
  mandatory_files: string[];
@@ -77,19 +82,19 @@ export declare const ProjectConfig: z.ZodObject<{
77
82
  };
78
83
  tests: {
79
84
  commands: {
80
- args: string[];
81
85
  program: string;
82
- envAllowlist: string[];
86
+ args: string[];
83
87
  cwd?: string | undefined;
88
+ envAllowlist: string[];
84
89
  }[];
85
90
  };
86
91
  budget: {
87
- routing_goal?: "auto" | "quality" | "economy" | undefined;
92
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
93
+ };
94
+ constraints: {
95
+ protected_paths: string[];
88
96
  };
89
97
  }, {
90
- constraints?: {
91
- protected_paths?: string[] | undefined;
92
- } | undefined;
93
98
  version?: 1 | undefined;
94
99
  context?: {
95
100
  mandatory_files?: string[] | undefined;
@@ -105,7 +110,10 @@ export declare const ProjectConfig: z.ZodObject<{
105
110
  }[] | undefined;
106
111
  } | undefined;
107
112
  budget?: {
108
- routing_goal?: "auto" | "quality" | "economy" | undefined;
113
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
114
+ } | undefined;
115
+ constraints?: {
116
+ protected_paths?: string[] | undefined;
109
117
  } | undefined;
110
118
  }>;
111
119
  export type ProjectConfig = z.infer<typeof ProjectConfig>;
@@ -139,20 +147,20 @@ export declare const TrustConfig: z.ZodObject<{
139
147
  executableDigest: string;
140
148
  scriptPath: string | null;
141
149
  scriptDigest: string | null;
142
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
150
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
143
151
  }, {
144
152
  projectDigest: string;
145
153
  configDigest: string;
146
154
  commandDigest: string;
147
155
  executablePath: string;
148
156
  executableDigest: string;
149
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
150
157
  scriptPath?: string | null | undefined;
151
158
  scriptDigest?: string | null | undefined;
159
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
152
160
  }>, "many">>;
153
161
  }, "strict", z.ZodTypeAny, {
154
162
  version: 1;
155
- access_default: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
163
+ access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
156
164
  allow_full_access: boolean;
157
165
  repo_root: string | null;
158
166
  test_command_grants: {
@@ -163,11 +171,11 @@ export declare const TrustConfig: z.ZodObject<{
163
171
  executableDigest: string;
164
172
  scriptPath: string | null;
165
173
  scriptDigest: string | null;
166
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
174
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
167
175
  }[];
168
176
  }, {
169
177
  version?: 1 | undefined;
170
- access_default?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
178
+ access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
171
179
  allow_full_access?: boolean | undefined;
172
180
  repo_root?: string | null | undefined;
173
181
  test_command_grants?: {
@@ -176,21 +184,18 @@ export declare const TrustConfig: z.ZodObject<{
176
184
  commandDigest: string;
177
185
  executablePath: string;
178
186
  executableDigest: string;
179
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
180
187
  scriptPath?: string | null | undefined;
181
188
  scriptDigest?: string | null | undefined;
189
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
182
190
  }[] | undefined;
183
191
  }>;
184
192
  export type TrustConfig = z.infer<typeof TrustConfig>;
185
193
  /** Claudexor v3 global user config (~/.claudexor/v3/config.yaml). */
186
194
  export declare const GlobalConfig: z.ZodObject<{
187
195
  version: z.ZodDefault<z.ZodLiteral<1>>;
188
- /**
189
- * How long an interactive run waits for the user's answer to a harness
190
- * question (interaction.requested) before delivering a benign decline and
191
- * letting the model continue with assumptions.
192
- */
193
- interaction_timeout_ms: z.ZodDefault<z.ZodNumber>;
196
+ /** Automatic-expiry policy for one interaction wait. Positive milliseconds
197
+ * produce a benign decline at the deadline; null disables that expiry. */
198
+ interaction_timeout_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
194
199
  routing: z.ZodDefault<z.ZodObject<{
195
200
  primary_harness: z.ZodDefault<z.ZodNullable<z.ZodString>>;
196
201
  eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -218,25 +223,25 @@ export declare const GlobalConfig: z.ZodObject<{
218
223
  effort: string;
219
224
  }>, "many">, "many">>>;
220
225
  }, "strict", z.ZodTypeAny, {
221
- auth_preference: "auto" | "subscription" | "api_key";
222
- env_inheritance: "mirror_native" | "clean";
223
226
  primary_harness: string | null;
224
227
  eligible_harnesses: string[];
225
- goal: "auto" | "quality" | "economy";
226
- paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
227
- quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
228
+ env_inheritance: "clean" | "mirror_native";
229
+ auth_preference: "api_key" | "auto" | "subscription";
230
+ goal: "auto" | "economy" | "quality";
231
+ paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
232
+ quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
228
233
  harness: string;
229
234
  model: string;
230
235
  effort: string;
231
236
  }[][]>>;
232
237
  }, {
233
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
234
- env_inheritance?: "mirror_native" | "clean" | undefined;
235
238
  primary_harness?: string | null | undefined;
236
239
  eligible_harnesses?: string[] | undefined;
237
- goal?: "auto" | "quality" | "economy" | undefined;
238
- paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
239
- quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
240
+ env_inheritance?: "clean" | "mirror_native" | undefined;
241
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
242
+ goal?: "auto" | "economy" | "quality" | undefined;
243
+ paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
244
+ quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
240
245
  harness: string;
241
246
  model: string;
242
247
  effort: string;
@@ -260,12 +265,13 @@ export declare const GlobalConfig: z.ZodObject<{
260
265
  maxUsd: number;
261
266
  }>]>>;
262
267
  /**
263
- * Per-candidate reservation floor (USD) held against the run cap for
264
- * every race-wave slot AFTER the first, BEFORE any usage streams.
265
- * Makes concurrent in-flight candidates visible to the budget breaker
266
- * so a parallel wave cannot blow past the finite paid budget between
267
- * settlements. The first slot never holds it: a cap smaller than the
268
- * floor still runs one candidate and stops on real usage.
268
+ * Per-unit reservation floor (USD) held against the run cap BEFORE
269
+ * usage streams. It applies to later parallel race candidates,
270
+ * deep-scan scouts, and Council members; the Deep Scan reducer; the
271
+ * one-shot enveloped candidate continuation; and every paid attempt
272
+ * inside a server-proven Delegate child. The first ordinary top-level
273
+ * attempt remains unreserved: a cap smaller than the floor still runs
274
+ * one unit and stops on real usage.
269
275
  */
270
276
  estimate_usd_floor: z.ZodDefault<z.ZodNumber>;
271
277
  }, "strict", z.ZodTypeAny, {
@@ -466,14 +472,11 @@ export declare const GlobalConfig: z.ZodObject<{
466
472
  /** Per-harness auth route preference; overrides routing.auth_preference. */
467
473
  auth_preference: z.ZodDefault<z.ZodEnum<["subscription", "api_key", "auto"]>>;
468
474
  }, "strict", z.ZodTypeAny, {
469
- fallback_model: string | null;
470
475
  enabled: boolean;
471
476
  native_credentials_enabled: boolean;
472
- web: "off" | "auto" | "cached" | "live";
473
- max_turns: number | null;
474
- auth_preference: "auto" | "subscription" | "api_key";
475
- effort: string | null;
476
477
  default_model: string | null;
478
+ effort: string | null;
479
+ max_turns: number | null;
477
480
  max_rounds: number | null;
478
481
  profile_policy: {
479
482
  limit_action: "ask" | "fail" | "rotate";
@@ -482,15 +485,15 @@ export declare const GlobalConfig: z.ZodObject<{
482
485
  };
483
486
  tools_allow: string[];
484
487
  tools_deny: string[];
488
+ fallback_model: string | null;
489
+ web: "auto" | "cached" | "live" | "off";
490
+ auth_preference: "api_key" | "auto" | "subscription";
485
491
  }, {
486
- fallback_model?: string | null | undefined;
487
492
  enabled?: boolean | undefined;
488
493
  native_credentials_enabled?: boolean | undefined;
489
- web?: "off" | "auto" | "cached" | "live" | undefined;
490
- max_turns?: number | null | undefined;
491
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
492
- effort?: string | null | undefined;
493
494
  default_model?: string | null | undefined;
495
+ effort?: string | null | undefined;
496
+ max_turns?: number | null | undefined;
494
497
  max_rounds?: number | null | undefined;
495
498
  profile_policy?: {
496
499
  limit_action?: "ask" | "fail" | "rotate" | undefined;
@@ -499,27 +502,26 @@ export declare const GlobalConfig: z.ZodObject<{
499
502
  } | undefined;
500
503
  tools_allow?: string[] | undefined;
501
504
  tools_deny?: string[] | undefined;
505
+ fallback_model?: string | null | undefined;
506
+ web?: "auto" | "cached" | "live" | "off" | undefined;
507
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
502
508
  }>>>;
503
509
  }, "strict", z.ZodTypeAny, {
504
510
  version: 1;
505
- harnesses: Record<string, {
506
- fallback_model: string | null;
507
- enabled: boolean;
508
- native_credentials_enabled: boolean;
509
- web: "off" | "auto" | "cached" | "live";
510
- max_turns: number | null;
511
- auth_preference: "auto" | "subscription" | "api_key";
512
- effort: string | null;
513
- default_model: string | null;
514
- max_rounds: number | null;
515
- profile_policy: {
516
- limit_action: "ask" | "fail" | "rotate";
517
- rotation_eligible: string[];
518
- headroom_threshold: number;
519
- };
520
- tools_allow: string[];
521
- tools_deny: string[];
522
- }>;
511
+ interaction_timeout_ms: number | null;
512
+ routing: {
513
+ primary_harness: string | null;
514
+ eligible_harnesses: string[];
515
+ env_inheritance: "clean" | "mirror_native";
516
+ auth_preference: "api_key" | "auto" | "subscription";
517
+ goal: "auto" | "economy" | "quality";
518
+ paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
519
+ quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
520
+ harness: string;
521
+ model: string;
522
+ effort: string;
523
+ }[][]>>;
524
+ };
523
525
  budget: {
524
526
  paid_budget_per_run: {
525
527
  kind: "unlimited";
@@ -529,19 +531,6 @@ export declare const GlobalConfig: z.ZodObject<{
529
531
  };
530
532
  estimate_usd_floor: number;
531
533
  };
532
- routing: {
533
- auth_preference: "auto" | "subscription" | "api_key";
534
- env_inheritance: "mirror_native" | "clean";
535
- primary_harness: string | null;
536
- eligible_harnesses: string[];
537
- goal: "auto" | "quality" | "economy";
538
- paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
539
- quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
540
- harness: string;
541
- model: string;
542
- effort: string;
543
- }[][]>>;
544
- };
545
534
  runtime: {
546
535
  transient_retry: {
547
536
  max_retries: number;
@@ -551,7 +540,6 @@ export declare const GlobalConfig: z.ZodObject<{
551
540
  reviewer_timeout_ms: number;
552
541
  harness_inactivity_timeout_ms: number;
553
542
  };
554
- interaction_timeout_ms: number;
555
543
  retention: {
556
544
  runs_max_age_days: number;
557
545
  reviews_max_age_days: number;
@@ -567,26 +555,40 @@ export declare const GlobalConfig: z.ZodObject<{
567
555
  enabled: boolean;
568
556
  created_at: string | null;
569
557
  }[];
558
+ harnesses: Record<string, {
559
+ enabled: boolean;
560
+ native_credentials_enabled: boolean;
561
+ default_model: string | null;
562
+ effort: string | null;
563
+ max_turns: number | null;
564
+ max_rounds: number | null;
565
+ profile_policy: {
566
+ limit_action: "ask" | "fail" | "rotate";
567
+ rotation_eligible: string[];
568
+ headroom_threshold: number;
569
+ };
570
+ tools_allow: string[];
571
+ tools_deny: string[];
572
+ fallback_model: string | null;
573
+ web: "auto" | "cached" | "live" | "off";
574
+ auth_preference: "api_key" | "auto" | "subscription";
575
+ }>;
570
576
  }, {
571
577
  version?: 1 | undefined;
572
- harnesses?: Record<string, {
573
- fallback_model?: string | null | undefined;
574
- enabled?: boolean | undefined;
575
- native_credentials_enabled?: boolean | undefined;
576
- web?: "off" | "auto" | "cached" | "live" | undefined;
577
- max_turns?: number | null | undefined;
578
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
579
- effort?: string | null | undefined;
580
- default_model?: string | null | undefined;
581
- max_rounds?: number | null | undefined;
582
- profile_policy?: {
583
- limit_action?: "ask" | "fail" | "rotate" | undefined;
584
- rotation_eligible?: string[] | undefined;
585
- headroom_threshold?: number | undefined;
586
- } | undefined;
587
- tools_allow?: string[] | undefined;
588
- tools_deny?: string[] | undefined;
589
- }> | undefined;
578
+ interaction_timeout_ms?: number | null | undefined;
579
+ routing?: {
580
+ primary_harness?: string | null | undefined;
581
+ eligible_harnesses?: string[] | undefined;
582
+ env_inheritance?: "clean" | "mirror_native" | undefined;
583
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
584
+ goal?: "auto" | "economy" | "quality" | undefined;
585
+ paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
586
+ quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
587
+ harness: string;
588
+ model: string;
589
+ effort: string;
590
+ }[][]>> | undefined;
591
+ } | undefined;
590
592
  budget?: {
591
593
  paid_budget_per_run?: {
592
594
  kind: "unlimited";
@@ -596,19 +598,6 @@ export declare const GlobalConfig: z.ZodObject<{
596
598
  } | undefined;
597
599
  estimate_usd_floor?: number | undefined;
598
600
  } | undefined;
599
- routing?: {
600
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
601
- env_inheritance?: "mirror_native" | "clean" | undefined;
602
- primary_harness?: string | null | undefined;
603
- eligible_harnesses?: string[] | undefined;
604
- goal?: "auto" | "quality" | "economy" | undefined;
605
- paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
606
- quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
607
- harness: string;
608
- model: string;
609
- effort: string;
610
- }[][]>> | undefined;
611
- } | undefined;
612
601
  runtime?: {
613
602
  transient_retry?: {
614
603
  max_retries?: number | undefined;
@@ -618,7 +607,6 @@ export declare const GlobalConfig: z.ZodObject<{
618
607
  reviewer_timeout_ms?: number | undefined;
619
608
  harness_inactivity_timeout_ms?: number | undefined;
620
609
  } | undefined;
621
- interaction_timeout_ms?: number | undefined;
622
610
  retention?: {
623
611
  runs_max_age_days?: number | undefined;
624
612
  reviews_max_age_days?: number | undefined;
@@ -634,6 +622,24 @@ export declare const GlobalConfig: z.ZodObject<{
634
622
  enabled?: boolean | undefined;
635
623
  created_at?: string | null | undefined;
636
624
  }[] | undefined;
625
+ harnesses?: Record<string, {
626
+ enabled?: boolean | undefined;
627
+ native_credentials_enabled?: boolean | undefined;
628
+ default_model?: string | null | undefined;
629
+ effort?: string | null | undefined;
630
+ max_turns?: number | null | undefined;
631
+ max_rounds?: number | null | undefined;
632
+ profile_policy?: {
633
+ limit_action?: "ask" | "fail" | "rotate" | undefined;
634
+ rotation_eligible?: string[] | undefined;
635
+ headroom_threshold?: number | undefined;
636
+ } | undefined;
637
+ tools_allow?: string[] | undefined;
638
+ tools_deny?: string[] | undefined;
639
+ fallback_model?: string | null | undefined;
640
+ web?: "auto" | "cached" | "live" | "off" | undefined;
641
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
642
+ }> | undefined;
637
643
  }>;
638
644
  export type GlobalConfig = z.infer<typeof GlobalConfig>;
639
645
  /** The fully-resolved effective config after precedence merge. */
@@ -660,10 +666,10 @@ export declare const ResolvedConfig: z.ZodObject<{
660
666
  cwd: z.ZodOptional<z.ZodString>;
661
667
  envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
662
668
  }, "strict", z.ZodTypeAny, {
663
- args: string[];
664
669
  program: string;
665
- envAllowlist: string[];
670
+ args: string[];
666
671
  cwd?: string | undefined;
672
+ envAllowlist: string[];
667
673
  }, {
668
674
  program: string;
669
675
  args?: string[] | undefined;
@@ -672,10 +678,10 @@ export declare const ResolvedConfig: z.ZodObject<{
672
678
  }>, "many">>;
673
679
  }, "strict", z.ZodTypeAny, {
674
680
  commands: {
675
- args: string[];
676
681
  program: string;
677
- envAllowlist: string[];
682
+ args: string[];
678
683
  cwd?: string | undefined;
684
+ envAllowlist: string[];
679
685
  }[];
680
686
  }, {
681
687
  commands?: {
@@ -688,9 +694,9 @@ export declare const ResolvedConfig: z.ZodObject<{
688
694
  budget: z.ZodDefault<z.ZodObject<{
689
695
  routing_goal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
690
696
  }, "strict", z.ZodTypeAny, {
691
- routing_goal?: "auto" | "quality" | "economy" | undefined;
697
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
692
698
  }, {
693
- routing_goal?: "auto" | "quality" | "economy" | undefined;
699
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
694
700
  }>>;
695
701
  constraints: z.ZodDefault<z.ZodObject<{
696
702
  protected_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -700,9 +706,6 @@ export declare const ResolvedConfig: z.ZodObject<{
700
706
  protected_paths?: string[] | undefined;
701
707
  }>>;
702
708
  }, "strict", z.ZodTypeAny, {
703
- constraints: {
704
- protected_paths: string[];
705
- };
706
709
  version: 1;
707
710
  context: {
708
711
  mandatory_files: string[];
@@ -711,19 +714,19 @@ export declare const ResolvedConfig: z.ZodObject<{
711
714
  };
712
715
  tests: {
713
716
  commands: {
714
- args: string[];
715
717
  program: string;
716
- envAllowlist: string[];
718
+ args: string[];
717
719
  cwd?: string | undefined;
720
+ envAllowlist: string[];
718
721
  }[];
719
722
  };
720
723
  budget: {
721
- routing_goal?: "auto" | "quality" | "economy" | undefined;
724
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
725
+ };
726
+ constraints: {
727
+ protected_paths: string[];
722
728
  };
723
729
  }, {
724
- constraints?: {
725
- protected_paths?: string[] | undefined;
726
- } | undefined;
727
730
  version?: 1 | undefined;
728
731
  context?: {
729
732
  mandatory_files?: string[] | undefined;
@@ -739,7 +742,10 @@ export declare const ResolvedConfig: z.ZodObject<{
739
742
  }[] | undefined;
740
743
  } | undefined;
741
744
  budget?: {
742
- routing_goal?: "auto" | "quality" | "economy" | undefined;
745
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
746
+ } | undefined;
747
+ constraints?: {
748
+ protected_paths?: string[] | undefined;
743
749
  } | undefined;
744
750
  }>;
745
751
  trust: z.ZodObject<{
@@ -771,20 +777,20 @@ export declare const ResolvedConfig: z.ZodObject<{
771
777
  executableDigest: string;
772
778
  scriptPath: string | null;
773
779
  scriptDigest: string | null;
774
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
780
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
775
781
  }, {
776
782
  projectDigest: string;
777
783
  configDigest: string;
778
784
  commandDigest: string;
779
785
  executablePath: string;
780
786
  executableDigest: string;
781
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
782
787
  scriptPath?: string | null | undefined;
783
788
  scriptDigest?: string | null | undefined;
789
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
784
790
  }>, "many">>;
785
791
  }, "strict", z.ZodTypeAny, {
786
792
  version: 1;
787
- access_default: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
793
+ access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
788
794
  allow_full_access: boolean;
789
795
  repo_root: string | null;
790
796
  test_command_grants: {
@@ -795,11 +801,11 @@ export declare const ResolvedConfig: z.ZodObject<{
795
801
  executableDigest: string;
796
802
  scriptPath: string | null;
797
803
  scriptDigest: string | null;
798
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
804
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
799
805
  }[];
800
806
  }, {
801
807
  version?: 1 | undefined;
802
- access_default?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
808
+ access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
803
809
  allow_full_access?: boolean | undefined;
804
810
  repo_root?: string | null | undefined;
805
811
  test_command_grants?: {
@@ -808,19 +814,16 @@ export declare const ResolvedConfig: z.ZodObject<{
808
814
  commandDigest: string;
809
815
  executablePath: string;
810
816
  executableDigest: string;
811
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
812
817
  scriptPath?: string | null | undefined;
813
818
  scriptDigest?: string | null | undefined;
819
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
814
820
  }[] | undefined;
815
821
  }>;
816
822
  global: z.ZodObject<{
817
823
  version: z.ZodDefault<z.ZodLiteral<1>>;
818
- /**
819
- * How long an interactive run waits for the user's answer to a harness
820
- * question (interaction.requested) before delivering a benign decline and
821
- * letting the model continue with assumptions.
822
- */
823
- interaction_timeout_ms: z.ZodDefault<z.ZodNumber>;
824
+ /** Automatic-expiry policy for one interaction wait. Positive milliseconds
825
+ * produce a benign decline at the deadline; null disables that expiry. */
826
+ interaction_timeout_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
824
827
  routing: z.ZodDefault<z.ZodObject<{
825
828
  primary_harness: z.ZodDefault<z.ZodNullable<z.ZodString>>;
826
829
  eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -848,25 +851,25 @@ export declare const ResolvedConfig: z.ZodObject<{
848
851
  effort: string;
849
852
  }>, "many">, "many">>>;
850
853
  }, "strict", z.ZodTypeAny, {
851
- auth_preference: "auto" | "subscription" | "api_key";
852
- env_inheritance: "mirror_native" | "clean";
853
854
  primary_harness: string | null;
854
855
  eligible_harnesses: string[];
855
- goal: "auto" | "quality" | "economy";
856
- paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
857
- quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
856
+ env_inheritance: "clean" | "mirror_native";
857
+ auth_preference: "api_key" | "auto" | "subscription";
858
+ goal: "auto" | "economy" | "quality";
859
+ paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
860
+ quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
858
861
  harness: string;
859
862
  model: string;
860
863
  effort: string;
861
864
  }[][]>>;
862
865
  }, {
863
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
864
- env_inheritance?: "mirror_native" | "clean" | undefined;
865
866
  primary_harness?: string | null | undefined;
866
867
  eligible_harnesses?: string[] | undefined;
867
- goal?: "auto" | "quality" | "economy" | undefined;
868
- paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
869
- quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
868
+ env_inheritance?: "clean" | "mirror_native" | undefined;
869
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
870
+ goal?: "auto" | "economy" | "quality" | undefined;
871
+ paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
872
+ quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
870
873
  harness: string;
871
874
  model: string;
872
875
  effort: string;
@@ -890,12 +893,13 @@ export declare const ResolvedConfig: z.ZodObject<{
890
893
  maxUsd: number;
891
894
  }>]>>;
892
895
  /**
893
- * Per-candidate reservation floor (USD) held against the run cap for
894
- * every race-wave slot AFTER the first, BEFORE any usage streams.
895
- * Makes concurrent in-flight candidates visible to the budget breaker
896
- * so a parallel wave cannot blow past the finite paid budget between
897
- * settlements. The first slot never holds it: a cap smaller than the
898
- * floor still runs one candidate and stops on real usage.
896
+ * Per-unit reservation floor (USD) held against the run cap BEFORE
897
+ * usage streams. It applies to later parallel race candidates,
898
+ * deep-scan scouts, and Council members; the Deep Scan reducer; the
899
+ * one-shot enveloped candidate continuation; and every paid attempt
900
+ * inside a server-proven Delegate child. The first ordinary top-level
901
+ * attempt remains unreserved: a cap smaller than the floor still runs
902
+ * one unit and stops on real usage.
899
903
  */
900
904
  estimate_usd_floor: z.ZodDefault<z.ZodNumber>;
901
905
  }, "strict", z.ZodTypeAny, {
@@ -1096,14 +1100,11 @@ export declare const ResolvedConfig: z.ZodObject<{
1096
1100
  /** Per-harness auth route preference; overrides routing.auth_preference. */
1097
1101
  auth_preference: z.ZodDefault<z.ZodEnum<["subscription", "api_key", "auto"]>>;
1098
1102
  }, "strict", z.ZodTypeAny, {
1099
- fallback_model: string | null;
1100
1103
  enabled: boolean;
1101
1104
  native_credentials_enabled: boolean;
1102
- web: "off" | "auto" | "cached" | "live";
1103
- max_turns: number | null;
1104
- auth_preference: "auto" | "subscription" | "api_key";
1105
- effort: string | null;
1106
1105
  default_model: string | null;
1106
+ effort: string | null;
1107
+ max_turns: number | null;
1107
1108
  max_rounds: number | null;
1108
1109
  profile_policy: {
1109
1110
  limit_action: "ask" | "fail" | "rotate";
@@ -1112,15 +1113,15 @@ export declare const ResolvedConfig: z.ZodObject<{
1112
1113
  };
1113
1114
  tools_allow: string[];
1114
1115
  tools_deny: string[];
1116
+ fallback_model: string | null;
1117
+ web: "auto" | "cached" | "live" | "off";
1118
+ auth_preference: "api_key" | "auto" | "subscription";
1115
1119
  }, {
1116
- fallback_model?: string | null | undefined;
1117
1120
  enabled?: boolean | undefined;
1118
1121
  native_credentials_enabled?: boolean | undefined;
1119
- web?: "off" | "auto" | "cached" | "live" | undefined;
1120
- max_turns?: number | null | undefined;
1121
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
1122
- effort?: string | null | undefined;
1123
1122
  default_model?: string | null | undefined;
1123
+ effort?: string | null | undefined;
1124
+ max_turns?: number | null | undefined;
1124
1125
  max_rounds?: number | null | undefined;
1125
1126
  profile_policy?: {
1126
1127
  limit_action?: "ask" | "fail" | "rotate" | undefined;
@@ -1129,27 +1130,26 @@ export declare const ResolvedConfig: z.ZodObject<{
1129
1130
  } | undefined;
1130
1131
  tools_allow?: string[] | undefined;
1131
1132
  tools_deny?: string[] | undefined;
1133
+ fallback_model?: string | null | undefined;
1134
+ web?: "auto" | "cached" | "live" | "off" | undefined;
1135
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
1132
1136
  }>>>;
1133
1137
  }, "strict", z.ZodTypeAny, {
1134
1138
  version: 1;
1135
- harnesses: Record<string, {
1136
- fallback_model: string | null;
1137
- enabled: boolean;
1138
- native_credentials_enabled: boolean;
1139
- web: "off" | "auto" | "cached" | "live";
1140
- max_turns: number | null;
1141
- auth_preference: "auto" | "subscription" | "api_key";
1142
- effort: string | null;
1143
- default_model: string | null;
1144
- max_rounds: number | null;
1145
- profile_policy: {
1146
- limit_action: "ask" | "fail" | "rotate";
1147
- rotation_eligible: string[];
1148
- headroom_threshold: number;
1149
- };
1150
- tools_allow: string[];
1151
- tools_deny: string[];
1152
- }>;
1139
+ interaction_timeout_ms: number | null;
1140
+ routing: {
1141
+ primary_harness: string | null;
1142
+ eligible_harnesses: string[];
1143
+ env_inheritance: "clean" | "mirror_native";
1144
+ auth_preference: "api_key" | "auto" | "subscription";
1145
+ goal: "auto" | "economy" | "quality";
1146
+ paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
1147
+ quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
1148
+ harness: string;
1149
+ model: string;
1150
+ effort: string;
1151
+ }[][]>>;
1152
+ };
1153
1153
  budget: {
1154
1154
  paid_budget_per_run: {
1155
1155
  kind: "unlimited";
@@ -1159,19 +1159,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1159
1159
  };
1160
1160
  estimate_usd_floor: number;
1161
1161
  };
1162
- routing: {
1163
- auth_preference: "auto" | "subscription" | "api_key";
1164
- env_inheritance: "mirror_native" | "clean";
1165
- primary_harness: string | null;
1166
- eligible_harnesses: string[];
1167
- goal: "auto" | "quality" | "economy";
1168
- paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
1169
- quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
1170
- harness: string;
1171
- model: string;
1172
- effort: string;
1173
- }[][]>>;
1174
- };
1175
1162
  runtime: {
1176
1163
  transient_retry: {
1177
1164
  max_retries: number;
@@ -1181,7 +1168,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1181
1168
  reviewer_timeout_ms: number;
1182
1169
  harness_inactivity_timeout_ms: number;
1183
1170
  };
1184
- interaction_timeout_ms: number;
1185
1171
  retention: {
1186
1172
  runs_max_age_days: number;
1187
1173
  reviews_max_age_days: number;
@@ -1197,26 +1183,40 @@ export declare const ResolvedConfig: z.ZodObject<{
1197
1183
  enabled: boolean;
1198
1184
  created_at: string | null;
1199
1185
  }[];
1186
+ harnesses: Record<string, {
1187
+ enabled: boolean;
1188
+ native_credentials_enabled: boolean;
1189
+ default_model: string | null;
1190
+ effort: string | null;
1191
+ max_turns: number | null;
1192
+ max_rounds: number | null;
1193
+ profile_policy: {
1194
+ limit_action: "ask" | "fail" | "rotate";
1195
+ rotation_eligible: string[];
1196
+ headroom_threshold: number;
1197
+ };
1198
+ tools_allow: string[];
1199
+ tools_deny: string[];
1200
+ fallback_model: string | null;
1201
+ web: "auto" | "cached" | "live" | "off";
1202
+ auth_preference: "api_key" | "auto" | "subscription";
1203
+ }>;
1200
1204
  }, {
1201
1205
  version?: 1 | undefined;
1202
- harnesses?: Record<string, {
1203
- fallback_model?: string | null | undefined;
1204
- enabled?: boolean | undefined;
1205
- native_credentials_enabled?: boolean | undefined;
1206
- web?: "off" | "auto" | "cached" | "live" | undefined;
1207
- max_turns?: number | null | undefined;
1208
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
1209
- effort?: string | null | undefined;
1210
- default_model?: string | null | undefined;
1211
- max_rounds?: number | null | undefined;
1212
- profile_policy?: {
1213
- limit_action?: "ask" | "fail" | "rotate" | undefined;
1214
- rotation_eligible?: string[] | undefined;
1215
- headroom_threshold?: number | undefined;
1216
- } | undefined;
1217
- tools_allow?: string[] | undefined;
1218
- tools_deny?: string[] | undefined;
1219
- }> | undefined;
1206
+ interaction_timeout_ms?: number | null | undefined;
1207
+ routing?: {
1208
+ primary_harness?: string | null | undefined;
1209
+ eligible_harnesses?: string[] | undefined;
1210
+ env_inheritance?: "clean" | "mirror_native" | undefined;
1211
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
1212
+ goal?: "auto" | "economy" | "quality" | undefined;
1213
+ paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
1214
+ quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
1215
+ harness: string;
1216
+ model: string;
1217
+ effort: string;
1218
+ }[][]>> | undefined;
1219
+ } | undefined;
1220
1220
  budget?: {
1221
1221
  paid_budget_per_run?: {
1222
1222
  kind: "unlimited";
@@ -1226,19 +1226,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1226
1226
  } | undefined;
1227
1227
  estimate_usd_floor?: number | undefined;
1228
1228
  } | undefined;
1229
- routing?: {
1230
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
1231
- env_inheritance?: "mirror_native" | "clean" | undefined;
1232
- primary_harness?: string | null | undefined;
1233
- eligible_harnesses?: string[] | undefined;
1234
- goal?: "auto" | "quality" | "economy" | undefined;
1235
- paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
1236
- quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
1237
- harness: string;
1238
- model: string;
1239
- effort: string;
1240
- }[][]>> | undefined;
1241
- } | undefined;
1242
1229
  runtime?: {
1243
1230
  transient_retry?: {
1244
1231
  max_retries?: number | undefined;
@@ -1248,7 +1235,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1248
1235
  reviewer_timeout_ms?: number | undefined;
1249
1236
  harness_inactivity_timeout_ms?: number | undefined;
1250
1237
  } | undefined;
1251
- interaction_timeout_ms?: number | undefined;
1252
1238
  retention?: {
1253
1239
  runs_max_age_days?: number | undefined;
1254
1240
  reviews_max_age_days?: number | undefined;
@@ -1264,13 +1250,28 @@ export declare const ResolvedConfig: z.ZodObject<{
1264
1250
  enabled?: boolean | undefined;
1265
1251
  created_at?: string | null | undefined;
1266
1252
  }[] | undefined;
1253
+ harnesses?: Record<string, {
1254
+ enabled?: boolean | undefined;
1255
+ native_credentials_enabled?: boolean | undefined;
1256
+ default_model?: string | null | undefined;
1257
+ effort?: string | null | undefined;
1258
+ max_turns?: number | null | undefined;
1259
+ max_rounds?: number | null | undefined;
1260
+ profile_policy?: {
1261
+ limit_action?: "ask" | "fail" | "rotate" | undefined;
1262
+ rotation_eligible?: string[] | undefined;
1263
+ headroom_threshold?: number | undefined;
1264
+ } | undefined;
1265
+ tools_allow?: string[] | undefined;
1266
+ tools_deny?: string[] | undefined;
1267
+ fallback_model?: string | null | undefined;
1268
+ web?: "auto" | "cached" | "live" | "off" | undefined;
1269
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
1270
+ }> | undefined;
1267
1271
  }>;
1268
1272
  sources: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1269
1273
  }, "strip", z.ZodTypeAny, {
1270
1274
  project: {
1271
- constraints: {
1272
- protected_paths: string[];
1273
- };
1274
1275
  version: 1;
1275
1276
  context: {
1276
1277
  mandatory_files: string[];
@@ -1279,20 +1280,22 @@ export declare const ResolvedConfig: z.ZodObject<{
1279
1280
  };
1280
1281
  tests: {
1281
1282
  commands: {
1282
- args: string[];
1283
1283
  program: string;
1284
- envAllowlist: string[];
1284
+ args: string[];
1285
1285
  cwd?: string | undefined;
1286
+ envAllowlist: string[];
1286
1287
  }[];
1287
1288
  };
1288
1289
  budget: {
1289
- routing_goal?: "auto" | "quality" | "economy" | undefined;
1290
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
1291
+ };
1292
+ constraints: {
1293
+ protected_paths: string[];
1290
1294
  };
1291
1295
  };
1292
- sources: string[];
1293
1296
  trust: {
1294
1297
  version: 1;
1295
- access_default: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
1298
+ access_default: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
1296
1299
  allow_full_access: boolean;
1297
1300
  repo_root: string | null;
1298
1301
  test_command_grants: {
@@ -1303,29 +1306,25 @@ export declare const ResolvedConfig: z.ZodObject<{
1303
1306
  executableDigest: string;
1304
1307
  scriptPath: string | null;
1305
1308
  scriptDigest: string | null;
1306
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
1309
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
1307
1310
  }[];
1308
1311
  };
1309
1312
  global: {
1310
1313
  version: 1;
1311
- harnesses: Record<string, {
1312
- fallback_model: string | null;
1313
- enabled: boolean;
1314
- native_credentials_enabled: boolean;
1315
- web: "off" | "auto" | "cached" | "live";
1316
- max_turns: number | null;
1317
- auth_preference: "auto" | "subscription" | "api_key";
1318
- effort: string | null;
1319
- default_model: string | null;
1320
- max_rounds: number | null;
1321
- profile_policy: {
1322
- limit_action: "ask" | "fail" | "rotate";
1323
- rotation_eligible: string[];
1324
- headroom_threshold: number;
1325
- };
1326
- tools_allow: string[];
1327
- tools_deny: string[];
1328
- }>;
1314
+ interaction_timeout_ms: number | null;
1315
+ routing: {
1316
+ primary_harness: string | null;
1317
+ eligible_harnesses: string[];
1318
+ env_inheritance: "clean" | "mirror_native";
1319
+ auth_preference: "api_key" | "auto" | "subscription";
1320
+ goal: "auto" | "economy" | "quality";
1321
+ paid_fallback: "allowed_within_cap" | "never" | "when_unavailable";
1322
+ quality_tiers: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
1323
+ harness: string;
1324
+ model: string;
1325
+ effort: string;
1326
+ }[][]>>;
1327
+ };
1329
1328
  budget: {
1330
1329
  paid_budget_per_run: {
1331
1330
  kind: "unlimited";
@@ -1335,19 +1334,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1335
1334
  };
1336
1335
  estimate_usd_floor: number;
1337
1336
  };
1338
- routing: {
1339
- auth_preference: "auto" | "subscription" | "api_key";
1340
- env_inheritance: "mirror_native" | "clean";
1341
- primary_harness: string | null;
1342
- eligible_harnesses: string[];
1343
- goal: "auto" | "quality" | "economy";
1344
- paid_fallback: "never" | "when_unavailable" | "allowed_within_cap";
1345
- quality_tiers: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
1346
- harness: string;
1347
- model: string;
1348
- effort: string;
1349
- }[][]>>;
1350
- };
1351
1337
  runtime: {
1352
1338
  transient_retry: {
1353
1339
  max_retries: number;
@@ -1357,7 +1343,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1357
1343
  reviewer_timeout_ms: number;
1358
1344
  harness_inactivity_timeout_ms: number;
1359
1345
  };
1360
- interaction_timeout_ms: number;
1361
1346
  retention: {
1362
1347
  runs_max_age_days: number;
1363
1348
  reviews_max_age_days: number;
@@ -1373,12 +1358,28 @@ export declare const ResolvedConfig: z.ZodObject<{
1373
1358
  enabled: boolean;
1374
1359
  created_at: string | null;
1375
1360
  }[];
1361
+ harnesses: Record<string, {
1362
+ enabled: boolean;
1363
+ native_credentials_enabled: boolean;
1364
+ default_model: string | null;
1365
+ effort: string | null;
1366
+ max_turns: number | null;
1367
+ max_rounds: number | null;
1368
+ profile_policy: {
1369
+ limit_action: "ask" | "fail" | "rotate";
1370
+ rotation_eligible: string[];
1371
+ headroom_threshold: number;
1372
+ };
1373
+ tools_allow: string[];
1374
+ tools_deny: string[];
1375
+ fallback_model: string | null;
1376
+ web: "auto" | "cached" | "live" | "off";
1377
+ auth_preference: "api_key" | "auto" | "subscription";
1378
+ }>;
1376
1379
  };
1380
+ sources: string[];
1377
1381
  }, {
1378
1382
  project: {
1379
- constraints?: {
1380
- protected_paths?: string[] | undefined;
1381
- } | undefined;
1382
1383
  version?: 1 | undefined;
1383
1384
  context?: {
1384
1385
  mandatory_files?: string[] | undefined;
@@ -1394,12 +1395,15 @@ export declare const ResolvedConfig: z.ZodObject<{
1394
1395
  }[] | undefined;
1395
1396
  } | undefined;
1396
1397
  budget?: {
1397
- routing_goal?: "auto" | "quality" | "economy" | undefined;
1398
+ routing_goal?: "auto" | "economy" | "quality" | undefined;
1399
+ } | undefined;
1400
+ constraints?: {
1401
+ protected_paths?: string[] | undefined;
1398
1402
  } | undefined;
1399
1403
  };
1400
1404
  trust: {
1401
1405
  version?: 1 | undefined;
1402
- access_default?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
1406
+ access_default?: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
1403
1407
  allow_full_access?: boolean | undefined;
1404
1408
  repo_root?: string | null | undefined;
1405
1409
  test_command_grants?: {
@@ -1408,31 +1412,27 @@ export declare const ResolvedConfig: z.ZodObject<{
1408
1412
  commandDigest: string;
1409
1413
  executablePath: string;
1410
1414
  executableDigest: string;
1411
- accessProfile: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
1412
1415
  scriptPath?: string | null | undefined;
1413
1416
  scriptDigest?: string | null | undefined;
1417
+ accessProfile: "external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write";
1414
1418
  }[] | undefined;
1415
1419
  };
1416
1420
  global: {
1417
1421
  version?: 1 | undefined;
1418
- harnesses?: Record<string, {
1419
- fallback_model?: string | null | undefined;
1420
- enabled?: boolean | undefined;
1421
- native_credentials_enabled?: boolean | undefined;
1422
- web?: "off" | "auto" | "cached" | "live" | undefined;
1423
- max_turns?: number | null | undefined;
1424
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
1425
- effort?: string | null | undefined;
1426
- default_model?: string | null | undefined;
1427
- max_rounds?: number | null | undefined;
1428
- profile_policy?: {
1429
- limit_action?: "ask" | "fail" | "rotate" | undefined;
1430
- rotation_eligible?: string[] | undefined;
1431
- headroom_threshold?: number | undefined;
1432
- } | undefined;
1433
- tools_allow?: string[] | undefined;
1434
- tools_deny?: string[] | undefined;
1435
- }> | undefined;
1422
+ interaction_timeout_ms?: number | null | undefined;
1423
+ routing?: {
1424
+ primary_harness?: string | null | undefined;
1425
+ eligible_harnesses?: string[] | undefined;
1426
+ env_inheritance?: "clean" | "mirror_native" | undefined;
1427
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
1428
+ goal?: "auto" | "economy" | "quality" | undefined;
1429
+ paid_fallback?: "allowed_within_cap" | "never" | "when_unavailable" | undefined;
1430
+ quality_tiers?: Partial<Record<"audit" | "create_from_scratch" | "explain" | "implement" | "plan" | "repair" | "review" | "spec" | "synthesize" | "verify", {
1431
+ harness: string;
1432
+ model: string;
1433
+ effort: string;
1434
+ }[][]>> | undefined;
1435
+ } | undefined;
1436
1436
  budget?: {
1437
1437
  paid_budget_per_run?: {
1438
1438
  kind: "unlimited";
@@ -1442,19 +1442,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1442
1442
  } | undefined;
1443
1443
  estimate_usd_floor?: number | undefined;
1444
1444
  } | undefined;
1445
- routing?: {
1446
- auth_preference?: "auto" | "subscription" | "api_key" | undefined;
1447
- env_inheritance?: "mirror_native" | "clean" | undefined;
1448
- primary_harness?: string | null | undefined;
1449
- eligible_harnesses?: string[] | undefined;
1450
- goal?: "auto" | "quality" | "economy" | undefined;
1451
- paid_fallback?: "never" | "when_unavailable" | "allowed_within_cap" | undefined;
1452
- quality_tiers?: Partial<Record<"plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "review" | "verify" | "synthesize" | "explain" | "audit", {
1453
- harness: string;
1454
- model: string;
1455
- effort: string;
1456
- }[][]>> | undefined;
1457
- } | undefined;
1458
1445
  runtime?: {
1459
1446
  transient_retry?: {
1460
1447
  max_retries?: number | undefined;
@@ -1464,7 +1451,6 @@ export declare const ResolvedConfig: z.ZodObject<{
1464
1451
  reviewer_timeout_ms?: number | undefined;
1465
1452
  harness_inactivity_timeout_ms?: number | undefined;
1466
1453
  } | undefined;
1467
- interaction_timeout_ms?: number | undefined;
1468
1454
  retention?: {
1469
1455
  runs_max_age_days?: number | undefined;
1470
1456
  reviews_max_age_days?: number | undefined;
@@ -1480,6 +1466,24 @@ export declare const ResolvedConfig: z.ZodObject<{
1480
1466
  enabled?: boolean | undefined;
1481
1467
  created_at?: string | null | undefined;
1482
1468
  }[] | undefined;
1469
+ harnesses?: Record<string, {
1470
+ enabled?: boolean | undefined;
1471
+ native_credentials_enabled?: boolean | undefined;
1472
+ default_model?: string | null | undefined;
1473
+ effort?: string | null | undefined;
1474
+ max_turns?: number | null | undefined;
1475
+ max_rounds?: number | null | undefined;
1476
+ profile_policy?: {
1477
+ limit_action?: "ask" | "fail" | "rotate" | undefined;
1478
+ rotation_eligible?: string[] | undefined;
1479
+ headroom_threshold?: number | undefined;
1480
+ } | undefined;
1481
+ tools_allow?: string[] | undefined;
1482
+ tools_deny?: string[] | undefined;
1483
+ fallback_model?: string | null | undefined;
1484
+ web?: "auto" | "cached" | "live" | "off" | undefined;
1485
+ auth_preference?: "api_key" | "auto" | "subscription" | undefined;
1486
+ }> | undefined;
1483
1487
  };
1484
1488
  sources?: string[] | undefined;
1485
1489
  }>;