@cortexkit/opencode-magic-context 0.49.8 → 0.49.10

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 (105) hide show
  1. package/dist/agents/hidden-agent-registrations.d.ts +5 -3
  2. package/dist/agents/hidden-agent-registrations.d.ts.map +1 -1
  3. package/dist/auto-search-worker.js +1 -1
  4. package/dist/config/schema/agent-overrides.d.ts +13 -13
  5. package/dist/config/schema/magic-context.d.ts +500 -500
  6. package/dist/{context-x0ccfv0f.js → context-ey3ap3cc.js} +29 -24
  7. package/dist/features/magic-context/primer-clustering.d.ts.map +1 -1
  8. package/dist/features/magic-context/smart-notes/compiler-prompt.d.ts +1 -1
  9. package/dist/features/magic-context/smart-notes/compiler-prompt.d.ts.map +1 -1
  10. package/dist/features/magic-context/smart-notes/compiler.d.ts.map +1 -1
  11. package/dist/hooks/magic-context/__fixtures__/tail-hygiene-refresh.d.ts +34 -0
  12. package/dist/hooks/magic-context/__fixtures__/tail-hygiene-refresh.d.ts.map +1 -0
  13. package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
  14. package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts +1 -0
  15. package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts.map +1 -1
  16. package/dist/hooks/magic-context/dropped-input-guard.d.ts.map +1 -1
  17. package/dist/hooks/magic-context/final-wire-token-estimate.d.ts +2 -0
  18. package/dist/hooks/magic-context/final-wire-token-estimate.d.ts.map +1 -1
  19. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  20. package/dist/hooks/magic-context/provider-visible-parts.d.ts +10 -4
  21. package/dist/hooks/magic-context/provider-visible-parts.d.ts.map +1 -1
  22. package/dist/hooks/magic-context/supersession-reclaim.d.ts +5 -3
  23. package/dist/hooks/magic-context/supersession-reclaim.d.ts.map +1 -1
  24. package/dist/hooks/magic-context/tail-hygiene-output-count.d.ts +18 -0
  25. package/dist/hooks/magic-context/tail-hygiene-output-count.d.ts.map +1 -0
  26. package/dist/hooks/magic-context/tail-hygiene-walk.d.ts +5 -1
  27. package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
  28. package/dist/hooks/magic-context/tool-reclaim.d.ts +5 -2
  29. package/dist/hooks/magic-context/tool-reclaim.d.ts.map +1 -1
  30. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +1 -0
  31. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  32. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  33. package/dist/{index-b4gcb3rk.js → index-0x9cn9w1.js} +2 -2
  34. package/dist/{index-ydjgz36f.js → index-16vwdyy5.js} +1 -1
  35. package/dist/{index-xf6k8szp.js → index-21919gcq.js} +3 -3
  36. package/dist/{index-hxrvx6cy.js → index-3403gbzj.js} +129 -103
  37. package/dist/{index-gzg9ekc1.js → index-6k86es2p.js} +129 -15
  38. package/dist/{index-8kk7yh6m.js → index-9jvab89d.js} +1 -1
  39. package/dist/{index-qgp5vnt4.js → index-a865mj02.js} +1 -1
  40. package/dist/{index-xpn05jxq.js → index-f8cn4xqa.js} +287 -58
  41. package/dist/{index-2rw244rh.js → index-ffa8x2as.js} +4 -4
  42. package/dist/{index-bd9cjab3.js → index-g7jkrz0x.js} +35 -15
  43. package/dist/{index-pjgzdezw.js → index-nenz4gpb.js} +3 -3
  44. package/dist/{index-zf9nydbd.js → index-swgpe402.js} +4 -4
  45. package/dist/{index-9g1c4bt9.js → index-wpwpn7nj.js} +88 -8
  46. package/dist/{index-w1ejb9qr.js → index-x57ep4fp.js} +33 -19
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +50 -46
  49. package/dist/{message-index-zs882h8e.js → message-index-6r1x9cqh.js} +5 -5
  50. package/dist/{message-index-bounded-hxjp56qk.js → message-index-bounded-fskdyc81.js} +5 -5
  51. package/dist/migration-worker.js +4 -4
  52. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  53. package/dist/plugin/rpc-handlers.d.ts.map +1 -1
  54. package/dist/raw-ordinal-warmup-worker.js +3 -3
  55. package/dist/{read-session-chunk-t9r7r0sg.js → read-session-chunk-zgpvs423.js} +4 -4
  56. package/dist/{recomp-orchestrator-gr36zvd2.js → recomp-orchestrator-77xc8wpe.js} +10 -10
  57. package/dist/{search-qjen1pmz.js → search-72fkjwk2.js} +8 -8
  58. package/dist/shared/hidden-zen-read.d.ts +24 -0
  59. package/dist/shared/hidden-zen-read.d.ts.map +1 -0
  60. package/dist/shared/reclaim-distance.d.ts +33 -0
  61. package/dist/shared/reclaim-distance.d.ts.map +1 -0
  62. package/dist/shared/stable-json.d.ts +7 -0
  63. package/dist/shared/stable-json.d.ts.map +1 -1
  64. package/dist/shared/tail-hygiene-json.d.ts +22 -0
  65. package/dist/shared/tail-hygiene-json.d.ts.map +1 -0
  66. package/dist/shared/transcript.d.ts +5 -0
  67. package/dist/shared/transcript.d.ts.map +1 -1
  68. package/dist/{storage-tags-a513rkj3.js → storage-tags-35m4gms2.js} +2 -2
  69. package/dist/{transform-postprocess-phase-yv463b7y.js → transform-postprocess-phase-r8d406j0.js} +10 -10
  70. package/dist/v2/auto-search-worker.js +1 -1
  71. package/dist/v2/{context-wd82v9z6.js → context-z2yagwy4.js} +168 -35
  72. package/dist/v2/hidden-completion.d.ts.map +1 -1
  73. package/dist/v2/hooks/hidden-child.d.ts +2 -2
  74. package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
  75. package/dist/v2/{message-index-yd94vt9n.js → message-index-9ezq6wze.js} +5 -5
  76. package/dist/v2/{message-index-bounded-madg2kfr.js → message-index-bounded-rqc603f2.js} +5 -5
  77. package/dist/v2/migration-worker.js +4 -4
  78. package/dist/v2/raw-ordinal-warmup-worker.js +3 -3
  79. package/dist/v2/{read-session-chunk-7qs791f3.js → read-session-chunk-7f87tg2q.js} +4 -4
  80. package/dist/v2/{recomp-orchestrator-ee91r9s6.js → recomp-orchestrator-s5tdpsbs.js} +9 -9
  81. package/dist/v2/{search-pn15rr52.js → search-2td1b1wy.js} +8 -8
  82. package/dist/v2/{server-08k4zkfk.js → server-23znwjqk.js} +4 -4
  83. package/dist/v2/{server-y5g32dhq.js → server-2hxypdx5.js} +4 -4
  84. package/dist/v2/{server-yak3sxya.js → server-4zwx20yg.js} +1 -1
  85. package/dist/v2/{server-shme41gj.js → server-89fcbe37.js} +35 -15
  86. package/dist/v2/{server-q360kdb8.js → server-c9w52qss.js} +30 -13
  87. package/dist/v2/{server-4gz0xkrc.js → server-f27he3j1.js} +1 -1
  88. package/dist/v2/{server-xj4mewze.js → server-gc8x2xdb.js} +66 -8
  89. package/dist/v2/{server-jjsf29aq.js → server-kmapq3v0.js} +286 -57
  90. package/dist/v2/{server-adfte03x.js → server-xqf2d2mg.js} +1 -1
  91. package/dist/v2/{server-j3dm74ey.js → server-z0rjemg1.js} +2 -2
  92. package/dist/v2/server.js +2 -2
  93. package/dist/v2/{storage-tags-spa92sgj.js → storage-tags-c4zfcxv4.js} +2 -2
  94. package/dist/v2/{wrapup-orchestrator-5wxy1ggv.js → wrapup-orchestrator-wg8dmmm9.js} +9 -9
  95. package/dist/{wrapup-orchestrator-gv08c6f9.js → wrapup-orchestrator-b1z99yg5.js} +11 -11
  96. package/package.json +1 -1
  97. package/src/agents/hidden-agent-registrations.ts +22 -4
  98. package/src/shared/hidden-zen-read.test.ts +99 -0
  99. package/src/shared/hidden-zen-read.ts +88 -0
  100. package/src/shared/reclaim-distance.test.ts +111 -0
  101. package/src/shared/reclaim-distance.ts +91 -0
  102. package/src/shared/stable-json.ts +56 -14
  103. package/src/shared/tail-hygiene-json.test.ts +117 -0
  104. package/src/shared/tail-hygiene-json.ts +217 -0
  105. package/src/shared/transcript.ts +7 -0
@@ -12,25 +12,25 @@ export type DreamingTask = (typeof AGENTIC_DREAM_TASKS)[number];
12
12
  * `max` was added in Pi 0.83.0.
13
13
  * Pi-only — OpenCode uses `variant` in agent config instead. */
14
14
  export declare const PiThinkingLevelSchema: z.ZodOptional<z.ZodEnum<{
15
+ high: "high";
16
+ medium: "medium";
17
+ low: "low";
15
18
  off: "off";
16
19
  minimal: "minimal";
17
- low: "low";
18
- medium: "medium";
19
- high: "high";
20
20
  xhigh: "xhigh";
21
21
  max: "max";
22
22
  }>>;
23
23
  export type PiThinkingLevel = z.infer<typeof PiThinkingLevelSchema>;
24
24
  /** OMP accepts Pi's thinking levels plus host-managed inheritance and automatic selection. */
25
25
  export declare const OmpThinkingLevelSchema: z.ZodOptional<z.ZodEnum<{
26
+ inherit: "inherit";
27
+ high: "high";
28
+ medium: "medium";
29
+ low: "low";
26
30
  off: "off";
27
31
  minimal: "minimal";
28
- low: "low";
29
- medium: "medium";
30
- high: "high";
31
32
  xhigh: "xhigh";
32
33
  max: "max";
33
- inherit: "inherit";
34
34
  auto: "auto";
35
35
  }>>;
36
36
  export type OmpThinkingLevel = z.infer<typeof OmpThinkingLevelSchema>;
@@ -91,11 +91,11 @@ export type OcEntry = z.infer<typeof OcEntrySchema>;
91
91
  export declare const PiEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
92
92
  model: z.ZodString;
93
93
  thinking_level: z.ZodOptional<z.ZodEnum<{
94
+ high: "high";
95
+ medium: "medium";
96
+ low: "low";
94
97
  off: "off";
95
98
  minimal: "minimal";
96
- low: "low";
97
- medium: "medium";
98
- high: "high";
99
99
  xhigh: "xhigh";
100
100
  max: "max";
101
101
  }>>;
@@ -104,14 +104,14 @@ export type PiEntry = z.infer<typeof PiEntrySchema>;
104
104
  export declare const OmpEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
105
105
  model: z.ZodString;
106
106
  thinking_level: z.ZodOptional<z.ZodEnum<{
107
+ inherit: "inherit";
108
+ high: "high";
109
+ medium: "medium";
110
+ low: "low";
107
111
  off: "off";
108
112
  minimal: "minimal";
109
- low: "low";
110
- medium: "medium";
111
- high: "high";
112
113
  xhigh: "xhigh";
113
114
  max: "max";
114
- inherit: "inherit";
115
115
  auto: "auto";
116
116
  }>>;
117
117
  }, z.core.$strict>]>;
@@ -134,11 +134,11 @@ export declare const PiHarnessBlockSchema: z.ZodObject<{
134
134
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
135
135
  model: z.ZodString;
136
136
  thinking_level: z.ZodOptional<z.ZodEnum<{
137
+ high: "high";
138
+ medium: "medium";
139
+ low: "low";
137
140
  off: "off";
138
141
  minimal: "minimal";
139
- low: "low";
140
- medium: "medium";
141
- high: "high";
142
142
  xhigh: "xhigh";
143
143
  max: "max";
144
144
  }>>;
@@ -146,21 +146,21 @@ export declare const PiHarnessBlockSchema: z.ZodObject<{
146
146
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
147
147
  model: z.ZodString;
148
148
  thinking_level: z.ZodOptional<z.ZodEnum<{
149
+ high: "high";
150
+ medium: "medium";
151
+ low: "low";
149
152
  off: "off";
150
153
  minimal: "minimal";
151
- low: "low";
152
- medium: "medium";
153
- high: "high";
154
154
  xhigh: "xhigh";
155
155
  max: "max";
156
156
  }>>;
157
157
  }, z.core.$strict>]>>>;
158
158
  thinking_level: z.ZodOptional<z.ZodEnum<{
159
+ high: "high";
160
+ medium: "medium";
161
+ low: "low";
159
162
  off: "off";
160
163
  minimal: "minimal";
161
- low: "low";
162
- medium: "medium";
163
- high: "high";
164
164
  xhigh: "xhigh";
165
165
  max: "max";
166
166
  }>>;
@@ -171,40 +171,40 @@ export declare const OmpHarnessBlockSchema: z.ZodObject<{
171
171
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
172
172
  model: z.ZodString;
173
173
  thinking_level: z.ZodOptional<z.ZodEnum<{
174
+ inherit: "inherit";
175
+ high: "high";
176
+ medium: "medium";
177
+ low: "low";
174
178
  off: "off";
175
179
  minimal: "minimal";
176
- low: "low";
177
- medium: "medium";
178
- high: "high";
179
180
  xhigh: "xhigh";
180
181
  max: "max";
181
- inherit: "inherit";
182
182
  auto: "auto";
183
183
  }>>;
184
184
  }, z.core.$strict>]>>;
185
185
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
186
186
  model: z.ZodString;
187
187
  thinking_level: z.ZodOptional<z.ZodEnum<{
188
+ inherit: "inherit";
189
+ high: "high";
190
+ medium: "medium";
191
+ low: "low";
188
192
  off: "off";
189
193
  minimal: "minimal";
190
- low: "low";
191
- medium: "medium";
192
- high: "high";
193
194
  xhigh: "xhigh";
194
195
  max: "max";
195
- inherit: "inherit";
196
196
  auto: "auto";
197
197
  }>>;
198
198
  }, z.core.$strict>]>>>;
199
199
  thinking_level: z.ZodOptional<z.ZodEnum<{
200
+ inherit: "inherit";
201
+ high: "high";
202
+ medium: "medium";
203
+ low: "low";
200
204
  off: "off";
201
205
  minimal: "minimal";
202
- low: "low";
203
- medium: "medium";
204
- high: "high";
205
206
  xhigh: "xhigh";
206
207
  max: "max";
207
- inherit: "inherit";
208
208
  auto: "auto";
209
209
  }>>;
210
210
  }, z.core.$strict>;
@@ -228,11 +228,11 @@ export declare const PiTaskExecutionSchema: z.ZodObject<{
228
228
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
229
229
  model: z.ZodString;
230
230
  thinking_level: z.ZodOptional<z.ZodEnum<{
231
+ high: "high";
232
+ medium: "medium";
233
+ low: "low";
231
234
  off: "off";
232
235
  minimal: "minimal";
233
- low: "low";
234
- medium: "medium";
235
- high: "high";
236
236
  xhigh: "xhigh";
237
237
  max: "max";
238
238
  }>>;
@@ -240,21 +240,21 @@ export declare const PiTaskExecutionSchema: z.ZodObject<{
240
240
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
241
241
  model: z.ZodString;
242
242
  thinking_level: z.ZodOptional<z.ZodEnum<{
243
+ high: "high";
244
+ medium: "medium";
245
+ low: "low";
243
246
  off: "off";
244
247
  minimal: "minimal";
245
- low: "low";
246
- medium: "medium";
247
- high: "high";
248
248
  xhigh: "xhigh";
249
249
  max: "max";
250
250
  }>>;
251
251
  }, z.core.$strict>]>>>;
252
252
  thinking_level: z.ZodOptional<z.ZodEnum<{
253
+ high: "high";
254
+ medium: "medium";
255
+ low: "low";
253
256
  off: "off";
254
257
  minimal: "minimal";
255
- low: "low";
256
- medium: "medium";
257
- high: "high";
258
258
  xhigh: "xhigh";
259
259
  max: "max";
260
260
  }>>;
@@ -266,40 +266,40 @@ export declare const OmpTaskExecutionSchema: z.ZodObject<{
266
266
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
267
267
  model: z.ZodString;
268
268
  thinking_level: z.ZodOptional<z.ZodEnum<{
269
+ inherit: "inherit";
270
+ high: "high";
271
+ medium: "medium";
272
+ low: "low";
269
273
  off: "off";
270
274
  minimal: "minimal";
271
- low: "low";
272
- medium: "medium";
273
- high: "high";
274
275
  xhigh: "xhigh";
275
276
  max: "max";
276
- inherit: "inherit";
277
277
  auto: "auto";
278
278
  }>>;
279
279
  }, z.core.$strict>]>>;
280
280
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
281
281
  model: z.ZodString;
282
282
  thinking_level: z.ZodOptional<z.ZodEnum<{
283
+ inherit: "inherit";
284
+ high: "high";
285
+ medium: "medium";
286
+ low: "low";
283
287
  off: "off";
284
288
  minimal: "minimal";
285
- low: "low";
286
- medium: "medium";
287
- high: "high";
288
289
  xhigh: "xhigh";
289
290
  max: "max";
290
- inherit: "inherit";
291
291
  auto: "auto";
292
292
  }>>;
293
293
  }, z.core.$strict>]>>>;
294
294
  thinking_level: z.ZodOptional<z.ZodEnum<{
295
+ inherit: "inherit";
296
+ high: "high";
297
+ medium: "medium";
298
+ low: "low";
295
299
  off: "off";
296
300
  minimal: "minimal";
297
- low: "low";
298
- medium: "medium";
299
- high: "high";
300
301
  xhigh: "xhigh";
301
302
  max: "max";
302
- inherit: "inherit";
303
303
  auto: "auto";
304
304
  }>>;
305
305
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
@@ -335,11 +335,11 @@ export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
335
335
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
336
336
  model: z.ZodString;
337
337
  thinking_level: z.ZodOptional<z.ZodEnum<{
338
+ high: "high";
339
+ medium: "medium";
340
+ low: "low";
338
341
  off: "off";
339
342
  minimal: "minimal";
340
- low: "low";
341
- medium: "medium";
342
- high: "high";
343
343
  xhigh: "xhigh";
344
344
  max: "max";
345
345
  }>>;
@@ -347,21 +347,21 @@ export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
347
347
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
348
348
  model: z.ZodString;
349
349
  thinking_level: z.ZodOptional<z.ZodEnum<{
350
+ high: "high";
351
+ medium: "medium";
352
+ low: "low";
350
353
  off: "off";
351
354
  minimal: "minimal";
352
- low: "low";
353
- medium: "medium";
354
- high: "high";
355
355
  xhigh: "xhigh";
356
356
  max: "max";
357
357
  }>>;
358
358
  }, z.core.$strict>]>>>;
359
359
  thinking_level: z.ZodOptional<z.ZodEnum<{
360
+ high: "high";
361
+ medium: "medium";
362
+ low: "low";
360
363
  off: "off";
361
364
  minimal: "minimal";
362
- low: "low";
363
- medium: "medium";
364
- high: "high";
365
365
  xhigh: "xhigh";
366
366
  max: "max";
367
367
  }>>;
@@ -369,11 +369,11 @@ export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
369
369
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
370
370
  model: z.ZodString;
371
371
  thinking_level: z.ZodOptional<z.ZodEnum<{
372
+ high: "high";
373
+ medium: "medium";
374
+ low: "low";
372
375
  off: "off";
373
376
  minimal: "minimal";
374
- low: "low";
375
- medium: "medium";
376
- high: "high";
377
377
  xhigh: "xhigh";
378
378
  max: "max";
379
379
  }>>;
@@ -381,21 +381,21 @@ export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
381
381
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
382
382
  model: z.ZodString;
383
383
  thinking_level: z.ZodOptional<z.ZodEnum<{
384
+ high: "high";
385
+ medium: "medium";
386
+ low: "low";
384
387
  off: "off";
385
388
  minimal: "minimal";
386
- low: "low";
387
- medium: "medium";
388
- high: "high";
389
389
  xhigh: "xhigh";
390
390
  max: "max";
391
391
  }>>;
392
392
  }, z.core.$strict>]>>>;
393
393
  thinking_level: z.ZodOptional<z.ZodEnum<{
394
+ high: "high";
395
+ medium: "medium";
396
+ low: "low";
394
397
  off: "off";
395
398
  minimal: "minimal";
396
- low: "low";
397
- medium: "medium";
398
- high: "high";
399
399
  xhigh: "xhigh";
400
400
  max: "max";
401
401
  }>>;
@@ -408,80 +408,80 @@ export declare const DreamerOmpHarnessBlockSchema: z.ZodObject<{
408
408
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
409
409
  model: z.ZodString;
410
410
  thinking_level: z.ZodOptional<z.ZodEnum<{
411
+ inherit: "inherit";
412
+ high: "high";
413
+ medium: "medium";
414
+ low: "low";
411
415
  off: "off";
412
416
  minimal: "minimal";
413
- low: "low";
414
- medium: "medium";
415
- high: "high";
416
417
  xhigh: "xhigh";
417
418
  max: "max";
418
- inherit: "inherit";
419
419
  auto: "auto";
420
420
  }>>;
421
421
  }, z.core.$strict>]>>;
422
422
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
423
423
  model: z.ZodString;
424
424
  thinking_level: z.ZodOptional<z.ZodEnum<{
425
+ inherit: "inherit";
426
+ high: "high";
427
+ medium: "medium";
428
+ low: "low";
425
429
  off: "off";
426
430
  minimal: "minimal";
427
- low: "low";
428
- medium: "medium";
429
- high: "high";
430
431
  xhigh: "xhigh";
431
432
  max: "max";
432
- inherit: "inherit";
433
433
  auto: "auto";
434
434
  }>>;
435
435
  }, z.core.$strict>]>>>;
436
436
  thinking_level: z.ZodOptional<z.ZodEnum<{
437
+ inherit: "inherit";
438
+ high: "high";
439
+ medium: "medium";
440
+ low: "low";
437
441
  off: "off";
438
442
  minimal: "minimal";
439
- low: "low";
440
- medium: "medium";
441
- high: "high";
442
443
  xhigh: "xhigh";
443
444
  max: "max";
444
- inherit: "inherit";
445
445
  auto: "auto";
446
446
  }>>;
447
447
  tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
448
448
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
449
449
  model: z.ZodString;
450
450
  thinking_level: z.ZodOptional<z.ZodEnum<{
451
+ inherit: "inherit";
452
+ high: "high";
453
+ medium: "medium";
454
+ low: "low";
451
455
  off: "off";
452
456
  minimal: "minimal";
453
- low: "low";
454
- medium: "medium";
455
- high: "high";
456
457
  xhigh: "xhigh";
457
458
  max: "max";
458
- inherit: "inherit";
459
459
  auto: "auto";
460
460
  }>>;
461
461
  }, z.core.$strict>]>>;
462
462
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
463
463
  model: z.ZodString;
464
464
  thinking_level: z.ZodOptional<z.ZodEnum<{
465
+ inherit: "inherit";
466
+ high: "high";
467
+ medium: "medium";
468
+ low: "low";
465
469
  off: "off";
466
470
  minimal: "minimal";
467
- low: "low";
468
- medium: "medium";
469
- high: "high";
470
471
  xhigh: "xhigh";
471
472
  max: "max";
472
- inherit: "inherit";
473
473
  auto: "auto";
474
474
  }>>;
475
475
  }, z.core.$strict>]>>>;
476
476
  thinking_level: z.ZodOptional<z.ZodEnum<{
477
+ inherit: "inherit";
478
+ high: "high";
479
+ medium: "medium";
480
+ low: "low";
477
481
  off: "off";
478
482
  minimal: "minimal";
479
- low: "low";
480
- medium: "medium";
481
- high: "high";
482
483
  xhigh: "xhigh";
483
484
  max: "max";
484
- inherit: "inherit";
485
485
  auto: "auto";
486
486
  }>>;
487
487
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
@@ -505,11 +505,11 @@ export declare const ConfigProfileSchema: z.ZodObject<{
505
505
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
506
506
  model: z.ZodString;
507
507
  thinking_level: z.ZodOptional<z.ZodEnum<{
508
+ high: "high";
509
+ medium: "medium";
510
+ low: "low";
508
511
  off: "off";
509
512
  minimal: "minimal";
510
- low: "low";
511
- medium: "medium";
512
- high: "high";
513
513
  xhigh: "xhigh";
514
514
  max: "max";
515
515
  }>>;
@@ -517,21 +517,21 @@ export declare const ConfigProfileSchema: z.ZodObject<{
517
517
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
518
518
  model: z.ZodString;
519
519
  thinking_level: z.ZodOptional<z.ZodEnum<{
520
+ high: "high";
521
+ medium: "medium";
522
+ low: "low";
520
523
  off: "off";
521
524
  minimal: "minimal";
522
- low: "low";
523
- medium: "medium";
524
- high: "high";
525
525
  xhigh: "xhigh";
526
526
  max: "max";
527
527
  }>>;
528
528
  }, z.core.$strict>]>>>;
529
529
  thinking_level: z.ZodOptional<z.ZodEnum<{
530
+ high: "high";
531
+ medium: "medium";
532
+ low: "low";
530
533
  off: "off";
531
534
  minimal: "minimal";
532
- low: "low";
533
- medium: "medium";
534
- high: "high";
535
535
  xhigh: "xhigh";
536
536
  max: "max";
537
537
  }>>;
@@ -540,40 +540,40 @@ export declare const ConfigProfileSchema: z.ZodObject<{
540
540
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
541
541
  model: z.ZodString;
542
542
  thinking_level: z.ZodOptional<z.ZodEnum<{
543
+ inherit: "inherit";
544
+ high: "high";
545
+ medium: "medium";
546
+ low: "low";
543
547
  off: "off";
544
548
  minimal: "minimal";
545
- low: "low";
546
- medium: "medium";
547
- high: "high";
548
549
  xhigh: "xhigh";
549
550
  max: "max";
550
- inherit: "inherit";
551
551
  auto: "auto";
552
552
  }>>;
553
553
  }, z.core.$strict>]>>;
554
554
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
555
555
  model: z.ZodString;
556
556
  thinking_level: z.ZodOptional<z.ZodEnum<{
557
+ inherit: "inherit";
558
+ high: "high";
559
+ medium: "medium";
560
+ low: "low";
557
561
  off: "off";
558
562
  minimal: "minimal";
559
- low: "low";
560
- medium: "medium";
561
- high: "high";
562
563
  xhigh: "xhigh";
563
564
  max: "max";
564
- inherit: "inherit";
565
565
  auto: "auto";
566
566
  }>>;
567
567
  }, z.core.$strict>]>>>;
568
568
  thinking_level: z.ZodOptional<z.ZodEnum<{
569
+ inherit: "inherit";
570
+ high: "high";
571
+ medium: "medium";
572
+ low: "low";
569
573
  off: "off";
570
574
  minimal: "minimal";
571
- low: "low";
572
- medium: "medium";
573
- high: "high";
574
575
  xhigh: "xhigh";
575
576
  max: "max";
576
- inherit: "inherit";
577
577
  auto: "auto";
578
578
  }>>;
579
579
  }, z.core.$strict>>;
@@ -594,11 +594,11 @@ export declare const ConfigProfileSchema: z.ZodObject<{
594
594
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
595
595
  model: z.ZodString;
596
596
  thinking_level: z.ZodOptional<z.ZodEnum<{
597
+ high: "high";
598
+ medium: "medium";
599
+ low: "low";
597
600
  off: "off";
598
601
  minimal: "minimal";
599
- low: "low";
600
- medium: "medium";
601
- high: "high";
602
602
  xhigh: "xhigh";
603
603
  max: "max";
604
604
  }>>;
@@ -606,21 +606,21 @@ export declare const ConfigProfileSchema: z.ZodObject<{
606
606
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
607
607
  model: z.ZodString;
608
608
  thinking_level: z.ZodOptional<z.ZodEnum<{
609
+ high: "high";
610
+ medium: "medium";
611
+ low: "low";
609
612
  off: "off";
610
613
  minimal: "minimal";
611
- low: "low";
612
- medium: "medium";
613
- high: "high";
614
614
  xhigh: "xhigh";
615
615
  max: "max";
616
616
  }>>;
617
617
  }, z.core.$strict>]>>>;
618
618
  thinking_level: z.ZodOptional<z.ZodEnum<{
619
+ high: "high";
620
+ medium: "medium";
621
+ low: "low";
619
622
  off: "off";
620
623
  minimal: "minimal";
621
- low: "low";
622
- medium: "medium";
623
- high: "high";
624
624
  xhigh: "xhigh";
625
625
  max: "max";
626
626
  }>>;
@@ -629,40 +629,40 @@ export declare const ConfigProfileSchema: z.ZodObject<{
629
629
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
630
630
  model: z.ZodString;
631
631
  thinking_level: z.ZodOptional<z.ZodEnum<{
632
+ inherit: "inherit";
633
+ high: "high";
634
+ medium: "medium";
635
+ low: "low";
632
636
  off: "off";
633
637
  minimal: "minimal";
634
- low: "low";
635
- medium: "medium";
636
- high: "high";
637
638
  xhigh: "xhigh";
638
639
  max: "max";
639
- inherit: "inherit";
640
640
  auto: "auto";
641
641
  }>>;
642
642
  }, z.core.$strict>]>>;
643
643
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
644
644
  model: z.ZodString;
645
645
  thinking_level: z.ZodOptional<z.ZodEnum<{
646
+ inherit: "inherit";
647
+ high: "high";
648
+ medium: "medium";
649
+ low: "low";
646
650
  off: "off";
647
651
  minimal: "minimal";
648
- low: "low";
649
- medium: "medium";
650
- high: "high";
651
652
  xhigh: "xhigh";
652
653
  max: "max";
653
- inherit: "inherit";
654
654
  auto: "auto";
655
655
  }>>;
656
656
  }, z.core.$strict>]>>>;
657
657
  thinking_level: z.ZodOptional<z.ZodEnum<{
658
+ inherit: "inherit";
659
+ high: "high";
660
+ medium: "medium";
661
+ low: "low";
658
662
  off: "off";
659
663
  minimal: "minimal";
660
- low: "low";
661
- medium: "medium";
662
- high: "high";
663
664
  xhigh: "xhigh";
664
665
  max: "max";
665
- inherit: "inherit";
666
666
  auto: "auto";
667
667
  }>>;
668
668
  }, z.core.$strict>>;
@@ -686,11 +686,11 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
686
686
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
687
687
  model: z.ZodString;
688
688
  thinking_level: z.ZodOptional<z.ZodEnum<{
689
+ high: "high";
690
+ medium: "medium";
691
+ low: "low";
689
692
  off: "off";
690
693
  minimal: "minimal";
691
- low: "low";
692
- medium: "medium";
693
- high: "high";
694
694
  xhigh: "xhigh";
695
695
  max: "max";
696
696
  }>>;
@@ -698,21 +698,21 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
698
698
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
699
699
  model: z.ZodString;
700
700
  thinking_level: z.ZodOptional<z.ZodEnum<{
701
+ high: "high";
702
+ medium: "medium";
703
+ low: "low";
701
704
  off: "off";
702
705
  minimal: "minimal";
703
- low: "low";
704
- medium: "medium";
705
- high: "high";
706
706
  xhigh: "xhigh";
707
707
  max: "max";
708
708
  }>>;
709
709
  }, z.core.$strict>]>>>;
710
710
  thinking_level: z.ZodOptional<z.ZodEnum<{
711
+ high: "high";
712
+ medium: "medium";
713
+ low: "low";
711
714
  off: "off";
712
715
  minimal: "minimal";
713
- low: "low";
714
- medium: "medium";
715
- high: "high";
716
716
  xhigh: "xhigh";
717
717
  max: "max";
718
718
  }>>;
@@ -721,40 +721,40 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
721
721
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
722
722
  model: z.ZodString;
723
723
  thinking_level: z.ZodOptional<z.ZodEnum<{
724
+ inherit: "inherit";
725
+ high: "high";
726
+ medium: "medium";
727
+ low: "low";
724
728
  off: "off";
725
729
  minimal: "minimal";
726
- low: "low";
727
- medium: "medium";
728
- high: "high";
729
730
  xhigh: "xhigh";
730
731
  max: "max";
731
- inherit: "inherit";
732
732
  auto: "auto";
733
733
  }>>;
734
734
  }, z.core.$strict>]>>;
735
735
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
736
736
  model: z.ZodString;
737
737
  thinking_level: z.ZodOptional<z.ZodEnum<{
738
+ inherit: "inherit";
739
+ high: "high";
740
+ medium: "medium";
741
+ low: "low";
738
742
  off: "off";
739
743
  minimal: "minimal";
740
- low: "low";
741
- medium: "medium";
742
- high: "high";
743
744
  xhigh: "xhigh";
744
745
  max: "max";
745
- inherit: "inherit";
746
746
  auto: "auto";
747
747
  }>>;
748
748
  }, z.core.$strict>]>>>;
749
749
  thinking_level: z.ZodOptional<z.ZodEnum<{
750
+ inherit: "inherit";
751
+ high: "high";
752
+ medium: "medium";
753
+ low: "low";
750
754
  off: "off";
751
755
  minimal: "minimal";
752
- low: "low";
753
- medium: "medium";
754
- high: "high";
755
756
  xhigh: "xhigh";
756
757
  max: "max";
757
- inherit: "inherit";
758
758
  auto: "auto";
759
759
  }>>;
760
760
  }, z.core.$strict>>;
@@ -775,11 +775,11 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
775
775
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
776
776
  model: z.ZodString;
777
777
  thinking_level: z.ZodOptional<z.ZodEnum<{
778
+ high: "high";
779
+ medium: "medium";
780
+ low: "low";
778
781
  off: "off";
779
782
  minimal: "minimal";
780
- low: "low";
781
- medium: "medium";
782
- high: "high";
783
783
  xhigh: "xhigh";
784
784
  max: "max";
785
785
  }>>;
@@ -787,21 +787,21 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
787
787
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
788
788
  model: z.ZodString;
789
789
  thinking_level: z.ZodOptional<z.ZodEnum<{
790
+ high: "high";
791
+ medium: "medium";
792
+ low: "low";
790
793
  off: "off";
791
794
  minimal: "minimal";
792
- low: "low";
793
- medium: "medium";
794
- high: "high";
795
795
  xhigh: "xhigh";
796
796
  max: "max";
797
797
  }>>;
798
798
  }, z.core.$strict>]>>>;
799
799
  thinking_level: z.ZodOptional<z.ZodEnum<{
800
+ high: "high";
801
+ medium: "medium";
802
+ low: "low";
800
803
  off: "off";
801
804
  minimal: "minimal";
802
- low: "low";
803
- medium: "medium";
804
- high: "high";
805
805
  xhigh: "xhigh";
806
806
  max: "max";
807
807
  }>>;
@@ -810,40 +810,40 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
810
810
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
811
811
  model: z.ZodString;
812
812
  thinking_level: z.ZodOptional<z.ZodEnum<{
813
+ inherit: "inherit";
814
+ high: "high";
815
+ medium: "medium";
816
+ low: "low";
813
817
  off: "off";
814
818
  minimal: "minimal";
815
- low: "low";
816
- medium: "medium";
817
- high: "high";
818
819
  xhigh: "xhigh";
819
820
  max: "max";
820
- inherit: "inherit";
821
821
  auto: "auto";
822
822
  }>>;
823
823
  }, z.core.$strict>]>>;
824
824
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
825
825
  model: z.ZodString;
826
826
  thinking_level: z.ZodOptional<z.ZodEnum<{
827
+ inherit: "inherit";
828
+ high: "high";
829
+ medium: "medium";
830
+ low: "low";
827
831
  off: "off";
828
832
  minimal: "minimal";
829
- low: "low";
830
- medium: "medium";
831
- high: "high";
832
833
  xhigh: "xhigh";
833
834
  max: "max";
834
- inherit: "inherit";
835
835
  auto: "auto";
836
836
  }>>;
837
837
  }, z.core.$strict>]>>>;
838
838
  thinking_level: z.ZodOptional<z.ZodEnum<{
839
+ inherit: "inherit";
840
+ high: "high";
841
+ medium: "medium";
842
+ low: "low";
839
843
  off: "off";
840
844
  minimal: "minimal";
841
- low: "low";
842
- medium: "medium";
843
- high: "high";
844
845
  xhigh: "xhigh";
845
846
  max: "max";
846
- inherit: "inherit";
847
847
  auto: "auto";
848
848
  }>>;
849
849
  }, z.core.$strict>>;
@@ -920,48 +920,48 @@ export declare const DreamTasksSchema: z.ZodObject<{
920
920
  export declare const DreamerConfigSchema: z.ZodObject<{
921
921
  prompt: z.ZodOptional<z.ZodString>;
922
922
  mode: z.ZodOptional<z.ZodEnum<{
923
+ all: "all";
923
924
  primary: "primary";
924
925
  subagent: "subagent";
925
- all: "all";
926
926
  }>>;
927
+ maxTokens: z.ZodOptional<z.ZodNumber>;
928
+ description: z.ZodOptional<z.ZodString>;
929
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
930
+ temperature: z.ZodOptional<z.ZodNumber>;
931
+ top_p: z.ZodOptional<z.ZodNumber>;
932
+ color: z.ZodOptional<z.ZodString>;
933
+ maxSteps: z.ZodOptional<z.ZodNumber>;
927
934
  permission: z.ZodOptional<z.ZodObject<{
928
935
  edit: z.ZodOptional<z.ZodEnum<{
929
- deny: "deny";
930
- allow: "allow";
931
936
  ask: "ask";
937
+ allow: "allow";
938
+ deny: "deny";
932
939
  }>>;
933
940
  bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
934
- deny: "deny";
935
- allow: "allow";
936
941
  ask: "ask";
937
- }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
938
- deny: "deny";
939
942
  allow: "allow";
940
- ask: "ask";
941
- }>>]>>;
942
- webfetch: z.ZodOptional<z.ZodEnum<{
943
943
  deny: "deny";
944
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
945
+ ask: "ask";
944
946
  allow: "allow";
947
+ deny: "deny";
948
+ }>>]>>;
949
+ webfetch: z.ZodOptional<z.ZodEnum<{
945
950
  ask: "ask";
951
+ allow: "allow";
952
+ deny: "deny";
946
953
  }>>;
947
954
  doom_loop: z.ZodOptional<z.ZodEnum<{
948
- deny: "deny";
949
- allow: "allow";
950
955
  ask: "ask";
956
+ allow: "allow";
957
+ deny: "deny";
951
958
  }>>;
952
959
  external_directory: z.ZodOptional<z.ZodEnum<{
953
- deny: "deny";
954
- allow: "allow";
955
960
  ask: "ask";
961
+ allow: "allow";
962
+ deny: "deny";
956
963
  }>>;
957
964
  }, z.core.$strip>>;
958
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
959
- maxSteps: z.ZodOptional<z.ZodNumber>;
960
- description: z.ZodOptional<z.ZodString>;
961
- temperature: z.ZodOptional<z.ZodNumber>;
962
- top_p: z.ZodOptional<z.ZodNumber>;
963
- color: z.ZodOptional<z.ZodString>;
964
- maxTokens: z.ZodOptional<z.ZodNumber>;
965
965
  disable: z.ZodOptional<z.ZodBoolean>;
966
966
  runner: z.ZodOptional<z.ZodEnum<{
967
967
  broca: "broca";
@@ -994,11 +994,11 @@ export declare const DreamerConfigSchema: z.ZodObject<{
994
994
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
995
995
  model: z.ZodString;
996
996
  thinking_level: z.ZodOptional<z.ZodEnum<{
997
+ high: "high";
998
+ medium: "medium";
999
+ low: "low";
997
1000
  off: "off";
998
1001
  minimal: "minimal";
999
- low: "low";
1000
- medium: "medium";
1001
- high: "high";
1002
1002
  xhigh: "xhigh";
1003
1003
  max: "max";
1004
1004
  }>>;
@@ -1006,21 +1006,21 @@ export declare const DreamerConfigSchema: z.ZodObject<{
1006
1006
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1007
1007
  model: z.ZodString;
1008
1008
  thinking_level: z.ZodOptional<z.ZodEnum<{
1009
+ high: "high";
1010
+ medium: "medium";
1011
+ low: "low";
1009
1012
  off: "off";
1010
1013
  minimal: "minimal";
1011
- low: "low";
1012
- medium: "medium";
1013
- high: "high";
1014
1014
  xhigh: "xhigh";
1015
1015
  max: "max";
1016
1016
  }>>;
1017
1017
  }, z.core.$strict>]>>>;
1018
1018
  thinking_level: z.ZodOptional<z.ZodEnum<{
1019
+ high: "high";
1020
+ medium: "medium";
1021
+ low: "low";
1019
1022
  off: "off";
1020
1023
  minimal: "minimal";
1021
- low: "low";
1022
- medium: "medium";
1023
- high: "high";
1024
1024
  xhigh: "xhigh";
1025
1025
  max: "max";
1026
1026
  }>>;
@@ -1028,11 +1028,11 @@ export declare const DreamerConfigSchema: z.ZodObject<{
1028
1028
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1029
1029
  model: z.ZodString;
1030
1030
  thinking_level: z.ZodOptional<z.ZodEnum<{
1031
+ high: "high";
1032
+ medium: "medium";
1033
+ low: "low";
1031
1034
  off: "off";
1032
1035
  minimal: "minimal";
1033
- low: "low";
1034
- medium: "medium";
1035
- high: "high";
1036
1036
  xhigh: "xhigh";
1037
1037
  max: "max";
1038
1038
  }>>;
@@ -1040,21 +1040,21 @@ export declare const DreamerConfigSchema: z.ZodObject<{
1040
1040
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1041
1041
  model: z.ZodString;
1042
1042
  thinking_level: z.ZodOptional<z.ZodEnum<{
1043
+ high: "high";
1044
+ medium: "medium";
1045
+ low: "low";
1043
1046
  off: "off";
1044
1047
  minimal: "minimal";
1045
- low: "low";
1046
- medium: "medium";
1047
- high: "high";
1048
1048
  xhigh: "xhigh";
1049
1049
  max: "max";
1050
1050
  }>>;
1051
1051
  }, z.core.$strict>]>>>;
1052
1052
  thinking_level: z.ZodOptional<z.ZodEnum<{
1053
+ high: "high";
1054
+ medium: "medium";
1055
+ low: "low";
1053
1056
  off: "off";
1054
1057
  minimal: "minimal";
1055
- low: "low";
1056
- medium: "medium";
1057
- high: "high";
1058
1058
  xhigh: "xhigh";
1059
1059
  max: "max";
1060
1060
  }>>;
@@ -1065,80 +1065,80 @@ export declare const DreamerConfigSchema: z.ZodObject<{
1065
1065
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1066
1066
  model: z.ZodString;
1067
1067
  thinking_level: z.ZodOptional<z.ZodEnum<{
1068
+ inherit: "inherit";
1069
+ high: "high";
1070
+ medium: "medium";
1071
+ low: "low";
1068
1072
  off: "off";
1069
1073
  minimal: "minimal";
1070
- low: "low";
1071
- medium: "medium";
1072
- high: "high";
1073
1074
  xhigh: "xhigh";
1074
1075
  max: "max";
1075
- inherit: "inherit";
1076
1076
  auto: "auto";
1077
1077
  }>>;
1078
1078
  }, z.core.$strict>]>>;
1079
1079
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1080
1080
  model: z.ZodString;
1081
1081
  thinking_level: z.ZodOptional<z.ZodEnum<{
1082
+ inherit: "inherit";
1083
+ high: "high";
1084
+ medium: "medium";
1085
+ low: "low";
1082
1086
  off: "off";
1083
1087
  minimal: "minimal";
1084
- low: "low";
1085
- medium: "medium";
1086
- high: "high";
1087
1088
  xhigh: "xhigh";
1088
1089
  max: "max";
1089
- inherit: "inherit";
1090
1090
  auto: "auto";
1091
1091
  }>>;
1092
1092
  }, z.core.$strict>]>>>;
1093
1093
  thinking_level: z.ZodOptional<z.ZodEnum<{
1094
+ inherit: "inherit";
1095
+ high: "high";
1096
+ medium: "medium";
1097
+ low: "low";
1094
1098
  off: "off";
1095
1099
  minimal: "minimal";
1096
- low: "low";
1097
- medium: "medium";
1098
- high: "high";
1099
1100
  xhigh: "xhigh";
1100
1101
  max: "max";
1101
- inherit: "inherit";
1102
1102
  auto: "auto";
1103
1103
  }>>;
1104
1104
  tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1105
1105
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1106
1106
  model: z.ZodString;
1107
1107
  thinking_level: z.ZodOptional<z.ZodEnum<{
1108
+ inherit: "inherit";
1109
+ high: "high";
1110
+ medium: "medium";
1111
+ low: "low";
1108
1112
  off: "off";
1109
1113
  minimal: "minimal";
1110
- low: "low";
1111
- medium: "medium";
1112
- high: "high";
1113
1114
  xhigh: "xhigh";
1114
1115
  max: "max";
1115
- inherit: "inherit";
1116
1116
  auto: "auto";
1117
1117
  }>>;
1118
1118
  }, z.core.$strict>]>>;
1119
1119
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1120
1120
  model: z.ZodString;
1121
1121
  thinking_level: z.ZodOptional<z.ZodEnum<{
1122
+ inherit: "inherit";
1123
+ high: "high";
1124
+ medium: "medium";
1125
+ low: "low";
1122
1126
  off: "off";
1123
1127
  minimal: "minimal";
1124
- low: "low";
1125
- medium: "medium";
1126
- high: "high";
1127
1128
  xhigh: "xhigh";
1128
1129
  max: "max";
1129
- inherit: "inherit";
1130
1130
  auto: "auto";
1131
1131
  }>>;
1132
1132
  }, z.core.$strict>]>>>;
1133
1133
  thinking_level: z.ZodOptional<z.ZodEnum<{
1134
+ inherit: "inherit";
1135
+ high: "high";
1136
+ medium: "medium";
1137
+ low: "low";
1134
1138
  off: "off";
1135
1139
  minimal: "minimal";
1136
- low: "low";
1137
- medium: "medium";
1138
- high: "high";
1139
1140
  xhigh: "xhigh";
1140
1141
  max: "max";
1141
- inherit: "inherit";
1142
1142
  auto: "auto";
1143
1143
  }>>;
1144
1144
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
@@ -1208,49 +1208,49 @@ export type DreamerConfig = z.infer<typeof DreamerConfigSchema>;
1208
1208
  export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
1209
1209
  prompt: z.ZodOptional<z.ZodString>;
1210
1210
  mode: z.ZodOptional<z.ZodEnum<{
1211
+ all: "all";
1211
1212
  primary: "primary";
1212
1213
  subagent: "subagent";
1213
- all: "all";
1214
1214
  }>>;
1215
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1216
+ description: z.ZodOptional<z.ZodString>;
1217
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1218
+ temperature: z.ZodOptional<z.ZodNumber>;
1219
+ top_p: z.ZodOptional<z.ZodNumber>;
1220
+ disable: z.ZodOptional<z.ZodBoolean>;
1221
+ color: z.ZodOptional<z.ZodString>;
1222
+ maxSteps: z.ZodOptional<z.ZodNumber>;
1215
1223
  permission: z.ZodOptional<z.ZodObject<{
1216
1224
  edit: z.ZodOptional<z.ZodEnum<{
1217
- deny: "deny";
1218
- allow: "allow";
1219
1225
  ask: "ask";
1226
+ allow: "allow";
1227
+ deny: "deny";
1220
1228
  }>>;
1221
1229
  bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1222
- deny: "deny";
1223
- allow: "allow";
1224
1230
  ask: "ask";
1225
- }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
1226
- deny: "deny";
1227
1231
  allow: "allow";
1232
+ deny: "deny";
1233
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
1228
1234
  ask: "ask";
1235
+ allow: "allow";
1236
+ deny: "deny";
1229
1237
  }>>]>>;
1230
1238
  webfetch: z.ZodOptional<z.ZodEnum<{
1231
- deny: "deny";
1232
- allow: "allow";
1233
1239
  ask: "ask";
1240
+ allow: "allow";
1241
+ deny: "deny";
1234
1242
  }>>;
1235
1243
  doom_loop: z.ZodOptional<z.ZodEnum<{
1236
- deny: "deny";
1237
- allow: "allow";
1238
1244
  ask: "ask";
1245
+ allow: "allow";
1246
+ deny: "deny";
1239
1247
  }>>;
1240
1248
  external_directory: z.ZodOptional<z.ZodEnum<{
1241
- deny: "deny";
1242
- allow: "allow";
1243
1249
  ask: "ask";
1250
+ allow: "allow";
1251
+ deny: "deny";
1244
1252
  }>>;
1245
1253
  }, z.core.$strip>>;
1246
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1247
- maxSteps: z.ZodOptional<z.ZodNumber>;
1248
- description: z.ZodOptional<z.ZodString>;
1249
- disable: z.ZodOptional<z.ZodBoolean>;
1250
- temperature: z.ZodOptional<z.ZodNumber>;
1251
- top_p: z.ZodOptional<z.ZodNumber>;
1252
- color: z.ZodOptional<z.ZodString>;
1253
- maxTokens: z.ZodOptional<z.ZodNumber>;
1254
1254
  expand_tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>>;
1255
1255
  opencode: z.ZodOptional<z.ZodObject<{
1256
1256
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1267,11 +1267,11 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
1267
1267
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1268
1268
  model: z.ZodString;
1269
1269
  thinking_level: z.ZodOptional<z.ZodEnum<{
1270
+ high: "high";
1271
+ medium: "medium";
1272
+ low: "low";
1270
1273
  off: "off";
1271
1274
  minimal: "minimal";
1272
- low: "low";
1273
- medium: "medium";
1274
- high: "high";
1275
1275
  xhigh: "xhigh";
1276
1276
  max: "max";
1277
1277
  }>>;
@@ -1279,21 +1279,21 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
1279
1279
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1280
1280
  model: z.ZodString;
1281
1281
  thinking_level: z.ZodOptional<z.ZodEnum<{
1282
+ high: "high";
1283
+ medium: "medium";
1284
+ low: "low";
1282
1285
  off: "off";
1283
1286
  minimal: "minimal";
1284
- low: "low";
1285
- medium: "medium";
1286
- high: "high";
1287
1287
  xhigh: "xhigh";
1288
1288
  max: "max";
1289
1289
  }>>;
1290
1290
  }, z.core.$strict>]>>>;
1291
1291
  thinking_level: z.ZodOptional<z.ZodEnum<{
1292
+ high: "high";
1293
+ medium: "medium";
1294
+ low: "low";
1292
1295
  off: "off";
1293
1296
  minimal: "minimal";
1294
- low: "low";
1295
- medium: "medium";
1296
- high: "high";
1297
1297
  xhigh: "xhigh";
1298
1298
  max: "max";
1299
1299
  }>>;
@@ -1302,40 +1302,40 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
1302
1302
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1303
1303
  model: z.ZodString;
1304
1304
  thinking_level: z.ZodOptional<z.ZodEnum<{
1305
+ inherit: "inherit";
1306
+ high: "high";
1307
+ medium: "medium";
1308
+ low: "low";
1305
1309
  off: "off";
1306
1310
  minimal: "minimal";
1307
- low: "low";
1308
- medium: "medium";
1309
- high: "high";
1310
1311
  xhigh: "xhigh";
1311
1312
  max: "max";
1312
- inherit: "inherit";
1313
1313
  auto: "auto";
1314
1314
  }>>;
1315
1315
  }, z.core.$strict>]>>;
1316
1316
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1317
1317
  model: z.ZodString;
1318
1318
  thinking_level: z.ZodOptional<z.ZodEnum<{
1319
+ inherit: "inherit";
1320
+ high: "high";
1321
+ medium: "medium";
1322
+ low: "low";
1319
1323
  off: "off";
1320
1324
  minimal: "minimal";
1321
- low: "low";
1322
- medium: "medium";
1323
- high: "high";
1324
1325
  xhigh: "xhigh";
1325
1326
  max: "max";
1326
- inherit: "inherit";
1327
1327
  auto: "auto";
1328
1328
  }>>;
1329
1329
  }, z.core.$strict>]>>>;
1330
1330
  thinking_level: z.ZodOptional<z.ZodEnum<{
1331
+ inherit: "inherit";
1332
+ high: "high";
1333
+ medium: "medium";
1334
+ low: "low";
1331
1335
  off: "off";
1332
1336
  minimal: "minimal";
1333
- low: "low";
1334
- medium: "medium";
1335
- high: "high";
1336
1337
  xhigh: "xhigh";
1337
1338
  max: "max";
1338
- inherit: "inherit";
1339
1339
  auto: "auto";
1340
1340
  }>>;
1341
1341
  }, z.core.$strict>>;
@@ -1348,11 +1348,11 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
1348
1348
  }, z.core.$strip>>;
1349
1349
  two_pass: z.ZodDefault<z.ZodBoolean>;
1350
1350
  disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1351
- "*": "*";
1352
1351
  read: "read";
1353
1352
  aft_outline: "aft_outline";
1354
1353
  aft_zoom: "aft_zoom";
1355
1354
  aft_search: "aft_search";
1355
+ "*": "*";
1356
1356
  }>>>;
1357
1357
  }, z.core.$strip>>;
1358
1358
  export type HistorianConfig = NonNullable<z.infer<typeof HistorianConfigSchema>>;
@@ -1363,10 +1363,10 @@ declare const EmbeddingFallbackProviderSchema: z.ZodEnum<{
1363
1363
  }>;
1364
1364
  export declare const EmbeddingConfigSchema: z.ZodPipe<z.ZodObject<{
1365
1365
  provider: z.ZodDefault<z.ZodEnum<{
1366
+ synapse: "synapse";
1366
1367
  off: "off";
1367
1368
  local: "local";
1368
1369
  "openai-compatible": "openai-compatible";
1369
- synapse: "synapse";
1370
1370
  }>>;
1371
1371
  fallback_provider: z.ZodOptional<z.ZodEnum<{
1372
1372
  off: "off";
@@ -1383,8 +1383,8 @@ export declare const EmbeddingConfigSchema: z.ZodPipe<z.ZodObject<{
1383
1383
  truncate: z.ZodOptional<z.ZodString>;
1384
1384
  max_input_tokens: z.ZodOptional<z.ZodNumber>;
1385
1385
  local_runtime: z.ZodDefault<z.ZodEnum<{
1386
- auto: "auto";
1387
1386
  native: "native";
1387
+ auto: "auto";
1388
1388
  wasm: "wasm";
1389
1389
  }>>;
1390
1390
  local_dtype: z.ZodOptional<z.ZodEnum<{
@@ -1419,7 +1419,7 @@ export declare const EmbeddingConfigSchema: z.ZodPipe<z.ZodObject<{
1419
1419
  max_input_tokens?: number | undefined;
1420
1420
  provider: "local";
1421
1421
  model: string;
1422
- local_runtime: "auto" | "native" | "wasm";
1422
+ local_runtime: "native" | "auto" | "wasm";
1423
1423
  } | {
1424
1424
  max_input_tokens?: number | undefined;
1425
1425
  truncate?: string | undefined;
@@ -1434,8 +1434,8 @@ export declare const EmbeddingConfigSchema: z.ZodPipe<z.ZodObject<{
1434
1434
  } | {
1435
1435
  provider: "off";
1436
1436
  }, {
1437
- provider: "off" | "local" | "openai-compatible" | "synapse";
1438
- local_runtime: "auto" | "native" | "wasm";
1437
+ provider: "synapse" | "off" | "local" | "openai-compatible";
1438
+ local_runtime: "native" | "auto" | "wasm";
1439
1439
  fallback_provider?: "off" | "local" | "openai-compatible" | undefined;
1440
1440
  model?: string | undefined;
1441
1441
  endpoint?: string | undefined;
@@ -1694,11 +1694,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1694
1694
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1695
1695
  model: z.ZodString;
1696
1696
  thinking_level: z.ZodOptional<z.ZodEnum<{
1697
+ high: "high";
1698
+ medium: "medium";
1699
+ low: "low";
1697
1700
  off: "off";
1698
1701
  minimal: "minimal";
1699
- low: "low";
1700
- medium: "medium";
1701
- high: "high";
1702
1702
  xhigh: "xhigh";
1703
1703
  max: "max";
1704
1704
  }>>;
@@ -1706,21 +1706,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1706
1706
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1707
1707
  model: z.ZodString;
1708
1708
  thinking_level: z.ZodOptional<z.ZodEnum<{
1709
+ high: "high";
1710
+ medium: "medium";
1711
+ low: "low";
1709
1712
  off: "off";
1710
1713
  minimal: "minimal";
1711
- low: "low";
1712
- medium: "medium";
1713
- high: "high";
1714
1714
  xhigh: "xhigh";
1715
1715
  max: "max";
1716
1716
  }>>;
1717
1717
  }, z.core.$strict>]>>>;
1718
1718
  thinking_level: z.ZodOptional<z.ZodEnum<{
1719
+ high: "high";
1720
+ medium: "medium";
1721
+ low: "low";
1719
1722
  off: "off";
1720
1723
  minimal: "minimal";
1721
- low: "low";
1722
- medium: "medium";
1723
- high: "high";
1724
1724
  xhigh: "xhigh";
1725
1725
  max: "max";
1726
1726
  }>>;
@@ -1729,40 +1729,40 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1729
1729
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1730
1730
  model: z.ZodString;
1731
1731
  thinking_level: z.ZodOptional<z.ZodEnum<{
1732
+ inherit: "inherit";
1733
+ high: "high";
1734
+ medium: "medium";
1735
+ low: "low";
1732
1736
  off: "off";
1733
1737
  minimal: "minimal";
1734
- low: "low";
1735
- medium: "medium";
1736
- high: "high";
1737
1738
  xhigh: "xhigh";
1738
1739
  max: "max";
1739
- inherit: "inherit";
1740
1740
  auto: "auto";
1741
1741
  }>>;
1742
1742
  }, z.core.$strict>]>>;
1743
1743
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1744
1744
  model: z.ZodString;
1745
1745
  thinking_level: z.ZodOptional<z.ZodEnum<{
1746
+ inherit: "inherit";
1747
+ high: "high";
1748
+ medium: "medium";
1749
+ low: "low";
1746
1750
  off: "off";
1747
1751
  minimal: "minimal";
1748
- low: "low";
1749
- medium: "medium";
1750
- high: "high";
1751
1752
  xhigh: "xhigh";
1752
1753
  max: "max";
1753
- inherit: "inherit";
1754
1754
  auto: "auto";
1755
1755
  }>>;
1756
1756
  }, z.core.$strict>]>>>;
1757
1757
  thinking_level: z.ZodOptional<z.ZodEnum<{
1758
+ inherit: "inherit";
1759
+ high: "high";
1760
+ medium: "medium";
1761
+ low: "low";
1758
1762
  off: "off";
1759
1763
  minimal: "minimal";
1760
- low: "low";
1761
- medium: "medium";
1762
- high: "high";
1763
1764
  xhigh: "xhigh";
1764
1765
  max: "max";
1765
- inherit: "inherit";
1766
1766
  auto: "auto";
1767
1767
  }>>;
1768
1768
  }, z.core.$strict>>;
@@ -1783,11 +1783,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1783
1783
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1784
1784
  model: z.ZodString;
1785
1785
  thinking_level: z.ZodOptional<z.ZodEnum<{
1786
+ high: "high";
1787
+ medium: "medium";
1788
+ low: "low";
1786
1789
  off: "off";
1787
1790
  minimal: "minimal";
1788
- low: "low";
1789
- medium: "medium";
1790
- high: "high";
1791
1791
  xhigh: "xhigh";
1792
1792
  max: "max";
1793
1793
  }>>;
@@ -1795,21 +1795,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1795
1795
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1796
1796
  model: z.ZodString;
1797
1797
  thinking_level: z.ZodOptional<z.ZodEnum<{
1798
+ high: "high";
1799
+ medium: "medium";
1800
+ low: "low";
1798
1801
  off: "off";
1799
1802
  minimal: "minimal";
1800
- low: "low";
1801
- medium: "medium";
1802
- high: "high";
1803
1803
  xhigh: "xhigh";
1804
1804
  max: "max";
1805
1805
  }>>;
1806
1806
  }, z.core.$strict>]>>>;
1807
1807
  thinking_level: z.ZodOptional<z.ZodEnum<{
1808
+ high: "high";
1809
+ medium: "medium";
1810
+ low: "low";
1808
1811
  off: "off";
1809
1812
  minimal: "minimal";
1810
- low: "low";
1811
- medium: "medium";
1812
- high: "high";
1813
1813
  xhigh: "xhigh";
1814
1814
  max: "max";
1815
1815
  }>>;
@@ -1818,40 +1818,40 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1818
1818
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1819
1819
  model: z.ZodString;
1820
1820
  thinking_level: z.ZodOptional<z.ZodEnum<{
1821
+ inherit: "inherit";
1822
+ high: "high";
1823
+ medium: "medium";
1824
+ low: "low";
1821
1825
  off: "off";
1822
1826
  minimal: "minimal";
1823
- low: "low";
1824
- medium: "medium";
1825
- high: "high";
1826
1827
  xhigh: "xhigh";
1827
1828
  max: "max";
1828
- inherit: "inherit";
1829
1829
  auto: "auto";
1830
1830
  }>>;
1831
1831
  }, z.core.$strict>]>>;
1832
1832
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1833
1833
  model: z.ZodString;
1834
1834
  thinking_level: z.ZodOptional<z.ZodEnum<{
1835
+ inherit: "inherit";
1836
+ high: "high";
1837
+ medium: "medium";
1838
+ low: "low";
1835
1839
  off: "off";
1836
1840
  minimal: "minimal";
1837
- low: "low";
1838
- medium: "medium";
1839
- high: "high";
1840
1841
  xhigh: "xhigh";
1841
1842
  max: "max";
1842
- inherit: "inherit";
1843
1843
  auto: "auto";
1844
1844
  }>>;
1845
1845
  }, z.core.$strict>]>>>;
1846
1846
  thinking_level: z.ZodOptional<z.ZodEnum<{
1847
+ inherit: "inherit";
1848
+ high: "high";
1849
+ medium: "medium";
1850
+ low: "low";
1847
1851
  off: "off";
1848
1852
  minimal: "minimal";
1849
- low: "low";
1850
- medium: "medium";
1851
- high: "high";
1852
1853
  xhigh: "xhigh";
1853
1854
  max: "max";
1854
- inherit: "inherit";
1855
1855
  auto: "auto";
1856
1856
  }>>;
1857
1857
  }, z.core.$strict>>;
@@ -1860,49 +1860,49 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1860
1860
  historian: z.ZodOptional<z.ZodObject<{
1861
1861
  prompt: z.ZodOptional<z.ZodString>;
1862
1862
  mode: z.ZodOptional<z.ZodEnum<{
1863
+ all: "all";
1863
1864
  primary: "primary";
1864
1865
  subagent: "subagent";
1865
- all: "all";
1866
1866
  }>>;
1867
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1868
+ description: z.ZodOptional<z.ZodString>;
1869
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1870
+ temperature: z.ZodOptional<z.ZodNumber>;
1871
+ top_p: z.ZodOptional<z.ZodNumber>;
1872
+ disable: z.ZodOptional<z.ZodBoolean>;
1873
+ color: z.ZodOptional<z.ZodString>;
1874
+ maxSteps: z.ZodOptional<z.ZodNumber>;
1867
1875
  permission: z.ZodOptional<z.ZodObject<{
1868
1876
  edit: z.ZodOptional<z.ZodEnum<{
1869
- deny: "deny";
1870
- allow: "allow";
1871
1877
  ask: "ask";
1878
+ allow: "allow";
1879
+ deny: "deny";
1872
1880
  }>>;
1873
1881
  bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1874
- deny: "deny";
1875
- allow: "allow";
1876
1882
  ask: "ask";
1877
- }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
1878
- deny: "deny";
1879
1883
  allow: "allow";
1884
+ deny: "deny";
1885
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
1880
1886
  ask: "ask";
1887
+ allow: "allow";
1888
+ deny: "deny";
1881
1889
  }>>]>>;
1882
1890
  webfetch: z.ZodOptional<z.ZodEnum<{
1883
- deny: "deny";
1884
- allow: "allow";
1885
1891
  ask: "ask";
1892
+ allow: "allow";
1893
+ deny: "deny";
1886
1894
  }>>;
1887
1895
  doom_loop: z.ZodOptional<z.ZodEnum<{
1888
- deny: "deny";
1889
- allow: "allow";
1890
1896
  ask: "ask";
1897
+ allow: "allow";
1898
+ deny: "deny";
1891
1899
  }>>;
1892
1900
  external_directory: z.ZodOptional<z.ZodEnum<{
1893
- deny: "deny";
1894
- allow: "allow";
1895
1901
  ask: "ask";
1902
+ allow: "allow";
1903
+ deny: "deny";
1896
1904
  }>>;
1897
1905
  }, z.core.$strip>>;
1898
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1899
- maxSteps: z.ZodOptional<z.ZodNumber>;
1900
- description: z.ZodOptional<z.ZodString>;
1901
- disable: z.ZodOptional<z.ZodBoolean>;
1902
- temperature: z.ZodOptional<z.ZodNumber>;
1903
- top_p: z.ZodOptional<z.ZodNumber>;
1904
- color: z.ZodOptional<z.ZodString>;
1905
- maxTokens: z.ZodOptional<z.ZodNumber>;
1906
1906
  expand_tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>>;
1907
1907
  opencode: z.ZodOptional<z.ZodObject<{
1908
1908
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1919,11 +1919,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1919
1919
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1920
1920
  model: z.ZodString;
1921
1921
  thinking_level: z.ZodOptional<z.ZodEnum<{
1922
+ high: "high";
1923
+ medium: "medium";
1924
+ low: "low";
1922
1925
  off: "off";
1923
1926
  minimal: "minimal";
1924
- low: "low";
1925
- medium: "medium";
1926
- high: "high";
1927
1927
  xhigh: "xhigh";
1928
1928
  max: "max";
1929
1929
  }>>;
@@ -1931,21 +1931,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1931
1931
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1932
1932
  model: z.ZodString;
1933
1933
  thinking_level: z.ZodOptional<z.ZodEnum<{
1934
+ high: "high";
1935
+ medium: "medium";
1936
+ low: "low";
1934
1937
  off: "off";
1935
1938
  minimal: "minimal";
1936
- low: "low";
1937
- medium: "medium";
1938
- high: "high";
1939
1939
  xhigh: "xhigh";
1940
1940
  max: "max";
1941
1941
  }>>;
1942
1942
  }, z.core.$strict>]>>>;
1943
1943
  thinking_level: z.ZodOptional<z.ZodEnum<{
1944
+ high: "high";
1945
+ medium: "medium";
1946
+ low: "low";
1944
1947
  off: "off";
1945
1948
  minimal: "minimal";
1946
- low: "low";
1947
- medium: "medium";
1948
- high: "high";
1949
1949
  xhigh: "xhigh";
1950
1950
  max: "max";
1951
1951
  }>>;
@@ -1954,40 +1954,40 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1954
1954
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1955
1955
  model: z.ZodString;
1956
1956
  thinking_level: z.ZodOptional<z.ZodEnum<{
1957
+ inherit: "inherit";
1958
+ high: "high";
1959
+ medium: "medium";
1960
+ low: "low";
1957
1961
  off: "off";
1958
1962
  minimal: "minimal";
1959
- low: "low";
1960
- medium: "medium";
1961
- high: "high";
1962
1963
  xhigh: "xhigh";
1963
1964
  max: "max";
1964
- inherit: "inherit";
1965
1965
  auto: "auto";
1966
1966
  }>>;
1967
1967
  }, z.core.$strict>]>>;
1968
1968
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1969
1969
  model: z.ZodString;
1970
1970
  thinking_level: z.ZodOptional<z.ZodEnum<{
1971
+ inherit: "inherit";
1972
+ high: "high";
1973
+ medium: "medium";
1974
+ low: "low";
1971
1975
  off: "off";
1972
1976
  minimal: "minimal";
1973
- low: "low";
1974
- medium: "medium";
1975
- high: "high";
1976
1977
  xhigh: "xhigh";
1977
1978
  max: "max";
1978
- inherit: "inherit";
1979
1979
  auto: "auto";
1980
1980
  }>>;
1981
1981
  }, z.core.$strict>]>>>;
1982
1982
  thinking_level: z.ZodOptional<z.ZodEnum<{
1983
+ inherit: "inherit";
1984
+ high: "high";
1985
+ medium: "medium";
1986
+ low: "low";
1983
1987
  off: "off";
1984
1988
  minimal: "minimal";
1985
- low: "low";
1986
- medium: "medium";
1987
- high: "high";
1988
1989
  xhigh: "xhigh";
1989
1990
  max: "max";
1990
- inherit: "inherit";
1991
1991
  auto: "auto";
1992
1992
  }>>;
1993
1993
  }, z.core.$strict>>;
@@ -2000,58 +2000,58 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2000
2000
  }, z.core.$strip>>;
2001
2001
  two_pass: z.ZodDefault<z.ZodBoolean>;
2002
2002
  disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2003
- "*": "*";
2004
2003
  read: "read";
2005
2004
  aft_outline: "aft_outline";
2006
2005
  aft_zoom: "aft_zoom";
2007
2006
  aft_search: "aft_search";
2007
+ "*": "*";
2008
2008
  }>>>;
2009
2009
  }, z.core.$strip>>;
2010
2010
  dreamer: z.ZodOptional<z.ZodObject<{
2011
2011
  prompt: z.ZodOptional<z.ZodString>;
2012
2012
  mode: z.ZodOptional<z.ZodEnum<{
2013
+ all: "all";
2013
2014
  primary: "primary";
2014
2015
  subagent: "subagent";
2015
- all: "all";
2016
2016
  }>>;
2017
+ maxTokens: z.ZodOptional<z.ZodNumber>;
2018
+ description: z.ZodOptional<z.ZodString>;
2019
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2020
+ temperature: z.ZodOptional<z.ZodNumber>;
2021
+ top_p: z.ZodOptional<z.ZodNumber>;
2022
+ color: z.ZodOptional<z.ZodString>;
2023
+ maxSteps: z.ZodOptional<z.ZodNumber>;
2017
2024
  permission: z.ZodOptional<z.ZodObject<{
2018
2025
  edit: z.ZodOptional<z.ZodEnum<{
2019
- deny: "deny";
2020
- allow: "allow";
2021
2026
  ask: "ask";
2027
+ allow: "allow";
2028
+ deny: "deny";
2022
2029
  }>>;
2023
2030
  bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2024
- deny: "deny";
2025
- allow: "allow";
2026
2031
  ask: "ask";
2027
- }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2028
- deny: "deny";
2029
2032
  allow: "allow";
2033
+ deny: "deny";
2034
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2030
2035
  ask: "ask";
2036
+ allow: "allow";
2037
+ deny: "deny";
2031
2038
  }>>]>>;
2032
2039
  webfetch: z.ZodOptional<z.ZodEnum<{
2033
- deny: "deny";
2034
- allow: "allow";
2035
2040
  ask: "ask";
2041
+ allow: "allow";
2042
+ deny: "deny";
2036
2043
  }>>;
2037
2044
  doom_loop: z.ZodOptional<z.ZodEnum<{
2038
- deny: "deny";
2039
- allow: "allow";
2040
2045
  ask: "ask";
2046
+ allow: "allow";
2047
+ deny: "deny";
2041
2048
  }>>;
2042
2049
  external_directory: z.ZodOptional<z.ZodEnum<{
2043
- deny: "deny";
2044
- allow: "allow";
2045
2050
  ask: "ask";
2051
+ allow: "allow";
2052
+ deny: "deny";
2046
2053
  }>>;
2047
2054
  }, z.core.$strip>>;
2048
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2049
- maxSteps: z.ZodOptional<z.ZodNumber>;
2050
- description: z.ZodOptional<z.ZodString>;
2051
- temperature: z.ZodOptional<z.ZodNumber>;
2052
- top_p: z.ZodOptional<z.ZodNumber>;
2053
- color: z.ZodOptional<z.ZodString>;
2054
- maxTokens: z.ZodOptional<z.ZodNumber>;
2055
2055
  disable: z.ZodOptional<z.ZodBoolean>;
2056
2056
  runner: z.ZodOptional<z.ZodEnum<{
2057
2057
  broca: "broca";
@@ -2084,11 +2084,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2084
2084
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2085
2085
  model: z.ZodString;
2086
2086
  thinking_level: z.ZodOptional<z.ZodEnum<{
2087
+ high: "high";
2088
+ medium: "medium";
2089
+ low: "low";
2087
2090
  off: "off";
2088
2091
  minimal: "minimal";
2089
- low: "low";
2090
- medium: "medium";
2091
- high: "high";
2092
2092
  xhigh: "xhigh";
2093
2093
  max: "max";
2094
2094
  }>>;
@@ -2096,21 +2096,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2096
2096
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2097
2097
  model: z.ZodString;
2098
2098
  thinking_level: z.ZodOptional<z.ZodEnum<{
2099
+ high: "high";
2100
+ medium: "medium";
2101
+ low: "low";
2099
2102
  off: "off";
2100
2103
  minimal: "minimal";
2101
- low: "low";
2102
- medium: "medium";
2103
- high: "high";
2104
2104
  xhigh: "xhigh";
2105
2105
  max: "max";
2106
2106
  }>>;
2107
2107
  }, z.core.$strict>]>>>;
2108
2108
  thinking_level: z.ZodOptional<z.ZodEnum<{
2109
+ high: "high";
2110
+ medium: "medium";
2111
+ low: "low";
2109
2112
  off: "off";
2110
2113
  minimal: "minimal";
2111
- low: "low";
2112
- medium: "medium";
2113
- high: "high";
2114
2114
  xhigh: "xhigh";
2115
2115
  max: "max";
2116
2116
  }>>;
@@ -2118,11 +2118,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2118
2118
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2119
2119
  model: z.ZodString;
2120
2120
  thinking_level: z.ZodOptional<z.ZodEnum<{
2121
+ high: "high";
2122
+ medium: "medium";
2123
+ low: "low";
2121
2124
  off: "off";
2122
2125
  minimal: "minimal";
2123
- low: "low";
2124
- medium: "medium";
2125
- high: "high";
2126
2126
  xhigh: "xhigh";
2127
2127
  max: "max";
2128
2128
  }>>;
@@ -2130,21 +2130,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2130
2130
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2131
2131
  model: z.ZodString;
2132
2132
  thinking_level: z.ZodOptional<z.ZodEnum<{
2133
+ high: "high";
2134
+ medium: "medium";
2135
+ low: "low";
2133
2136
  off: "off";
2134
2137
  minimal: "minimal";
2135
- low: "low";
2136
- medium: "medium";
2137
- high: "high";
2138
2138
  xhigh: "xhigh";
2139
2139
  max: "max";
2140
2140
  }>>;
2141
2141
  }, z.core.$strict>]>>>;
2142
2142
  thinking_level: z.ZodOptional<z.ZodEnum<{
2143
+ high: "high";
2144
+ medium: "medium";
2145
+ low: "low";
2143
2146
  off: "off";
2144
2147
  minimal: "minimal";
2145
- low: "low";
2146
- medium: "medium";
2147
- high: "high";
2148
2148
  xhigh: "xhigh";
2149
2149
  max: "max";
2150
2150
  }>>;
@@ -2155,80 +2155,80 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2155
2155
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2156
2156
  model: z.ZodString;
2157
2157
  thinking_level: z.ZodOptional<z.ZodEnum<{
2158
+ inherit: "inherit";
2159
+ high: "high";
2160
+ medium: "medium";
2161
+ low: "low";
2158
2162
  off: "off";
2159
2163
  minimal: "minimal";
2160
- low: "low";
2161
- medium: "medium";
2162
- high: "high";
2163
2164
  xhigh: "xhigh";
2164
2165
  max: "max";
2165
- inherit: "inherit";
2166
2166
  auto: "auto";
2167
2167
  }>>;
2168
2168
  }, z.core.$strict>]>>;
2169
2169
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2170
2170
  model: z.ZodString;
2171
2171
  thinking_level: z.ZodOptional<z.ZodEnum<{
2172
+ inherit: "inherit";
2173
+ high: "high";
2174
+ medium: "medium";
2175
+ low: "low";
2172
2176
  off: "off";
2173
2177
  minimal: "minimal";
2174
- low: "low";
2175
- medium: "medium";
2176
- high: "high";
2177
2178
  xhigh: "xhigh";
2178
2179
  max: "max";
2179
- inherit: "inherit";
2180
2180
  auto: "auto";
2181
2181
  }>>;
2182
2182
  }, z.core.$strict>]>>>;
2183
2183
  thinking_level: z.ZodOptional<z.ZodEnum<{
2184
+ inherit: "inherit";
2185
+ high: "high";
2186
+ medium: "medium";
2187
+ low: "low";
2184
2188
  off: "off";
2185
2189
  minimal: "minimal";
2186
- low: "low";
2187
- medium: "medium";
2188
- high: "high";
2189
2190
  xhigh: "xhigh";
2190
2191
  max: "max";
2191
- inherit: "inherit";
2192
2192
  auto: "auto";
2193
2193
  }>>;
2194
2194
  tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2195
2195
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2196
2196
  model: z.ZodString;
2197
2197
  thinking_level: z.ZodOptional<z.ZodEnum<{
2198
+ inherit: "inherit";
2199
+ high: "high";
2200
+ medium: "medium";
2201
+ low: "low";
2198
2202
  off: "off";
2199
2203
  minimal: "minimal";
2200
- low: "low";
2201
- medium: "medium";
2202
- high: "high";
2203
2204
  xhigh: "xhigh";
2204
2205
  max: "max";
2205
- inherit: "inherit";
2206
2206
  auto: "auto";
2207
2207
  }>>;
2208
2208
  }, z.core.$strict>]>>;
2209
2209
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2210
2210
  model: z.ZodString;
2211
2211
  thinking_level: z.ZodOptional<z.ZodEnum<{
2212
+ inherit: "inherit";
2213
+ high: "high";
2214
+ medium: "medium";
2215
+ low: "low";
2212
2216
  off: "off";
2213
2217
  minimal: "minimal";
2214
- low: "low";
2215
- medium: "medium";
2216
- high: "high";
2217
2218
  xhigh: "xhigh";
2218
2219
  max: "max";
2219
- inherit: "inherit";
2220
2220
  auto: "auto";
2221
2221
  }>>;
2222
2222
  }, z.core.$strict>]>>>;
2223
2223
  thinking_level: z.ZodOptional<z.ZodEnum<{
2224
+ inherit: "inherit";
2225
+ high: "high";
2226
+ medium: "medium";
2227
+ low: "low";
2224
2228
  off: "off";
2225
2229
  minimal: "minimal";
2226
- low: "low";
2227
- medium: "medium";
2228
- high: "high";
2229
2230
  xhigh: "xhigh";
2230
2231
  max: "max";
2231
- inherit: "inherit";
2232
2232
  auto: "auto";
2233
2233
  }>>;
2234
2234
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
@@ -2347,10 +2347,10 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2347
2347
  }, z.core.$strip>>;
2348
2348
  embedding: z.ZodDefault<z.ZodPipe<z.ZodObject<{
2349
2349
  provider: z.ZodDefault<z.ZodEnum<{
2350
+ synapse: "synapse";
2350
2351
  off: "off";
2351
2352
  local: "local";
2352
2353
  "openai-compatible": "openai-compatible";
2353
- synapse: "synapse";
2354
2354
  }>>;
2355
2355
  fallback_provider: z.ZodOptional<z.ZodEnum<{
2356
2356
  off: "off";
@@ -2367,8 +2367,8 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2367
2367
  truncate: z.ZodOptional<z.ZodString>;
2368
2368
  max_input_tokens: z.ZodOptional<z.ZodNumber>;
2369
2369
  local_runtime: z.ZodDefault<z.ZodEnum<{
2370
- auto: "auto";
2371
2370
  native: "native";
2371
+ auto: "auto";
2372
2372
  wasm: "wasm";
2373
2373
  }>>;
2374
2374
  local_dtype: z.ZodOptional<z.ZodEnum<{
@@ -2403,7 +2403,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2403
2403
  max_input_tokens?: number | undefined;
2404
2404
  provider: "local";
2405
2405
  model: string;
2406
- local_runtime: "auto" | "native" | "wasm";
2406
+ local_runtime: "native" | "auto" | "wasm";
2407
2407
  } | {
2408
2408
  max_input_tokens?: number | undefined;
2409
2409
  truncate?: string | undefined;
@@ -2418,8 +2418,8 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2418
2418
  } | {
2419
2419
  provider: "off";
2420
2420
  }, {
2421
- provider: "off" | "local" | "openai-compatible" | "synapse";
2422
- local_runtime: "auto" | "native" | "wasm";
2421
+ provider: "synapse" | "off" | "local" | "openai-compatible";
2422
+ local_runtime: "native" | "auto" | "wasm";
2423
2423
  fallback_provider?: "off" | "local" | "openai-compatible" | undefined;
2424
2424
  model?: string | undefined;
2425
2425
  endpoint?: string | undefined;
@@ -2535,7 +2535,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2535
2535
  max_input_tokens?: number | undefined;
2536
2536
  provider: "local";
2537
2537
  model: string;
2538
- local_runtime: "auto" | "native" | "wasm";
2538
+ local_runtime: "native" | "auto" | "wasm";
2539
2539
  } | {
2540
2540
  max_input_tokens?: number | undefined;
2541
2541
  truncate?: string | undefined;
@@ -2604,24 +2604,24 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2604
2604
  pi?: {
2605
2605
  model?: string | {
2606
2606
  model: string;
2607
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2607
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2608
2608
  } | undefined;
2609
2609
  fallback_models?: (string | {
2610
2610
  model: string;
2611
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2611
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2612
2612
  })[] | undefined;
2613
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2613
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2614
2614
  } | undefined;
2615
2615
  omp?: {
2616
2616
  model?: string | {
2617
2617
  model: string;
2618
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2618
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2619
2619
  } | undefined;
2620
2620
  fallback_models?: (string | {
2621
2621
  model: string;
2622
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2622
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2623
2623
  })[] | undefined;
2624
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2624
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2625
2625
  } | undefined;
2626
2626
  } | undefined;
2627
2627
  dreamer?: {
@@ -2639,47 +2639,47 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2639
2639
  pi?: {
2640
2640
  model?: string | {
2641
2641
  model: string;
2642
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2642
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2643
2643
  } | undefined;
2644
2644
  fallback_models?: (string | {
2645
2645
  model: string;
2646
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2646
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2647
2647
  })[] | undefined;
2648
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2648
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2649
2649
  } | undefined;
2650
2650
  omp?: {
2651
2651
  model?: string | {
2652
2652
  model: string;
2653
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2653
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2654
2654
  } | undefined;
2655
2655
  fallback_models?: (string | {
2656
2656
  model: string;
2657
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2657
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2658
2658
  })[] | undefined;
2659
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2659
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2660
2660
  } | undefined;
2661
2661
  } | undefined;
2662
2662
  }> | undefined;
2663
2663
  historian?: {
2664
2664
  two_pass: boolean;
2665
- disallowed_tools: ("*" | "read" | "aft_outline" | "aft_zoom" | "aft_search")[];
2665
+ disallowed_tools: ("read" | "aft_outline" | "aft_zoom" | "aft_search" | "*")[];
2666
2666
  prompt?: string | undefined;
2667
- mode?: "primary" | "subagent" | "all" | undefined;
2668
- permission?: {
2669
- edit?: "deny" | "allow" | "ask" | undefined;
2670
- bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
2671
- webfetch?: "deny" | "allow" | "ask" | undefined;
2672
- doom_loop?: "deny" | "allow" | "ask" | undefined;
2673
- external_directory?: "deny" | "allow" | "ask" | undefined;
2674
- } | undefined;
2675
- tools?: Record<string, boolean> | undefined;
2676
- maxSteps?: number | undefined;
2667
+ mode?: "all" | "primary" | "subagent" | undefined;
2668
+ maxTokens?: number | undefined;
2677
2669
  description?: string | undefined;
2678
- disable?: boolean | undefined;
2670
+ tools?: Record<string, boolean> | undefined;
2679
2671
  temperature?: number | undefined;
2680
2672
  top_p?: number | undefined;
2673
+ disable?: boolean | undefined;
2681
2674
  color?: string | undefined;
2682
- maxTokens?: number | undefined;
2675
+ maxSteps?: number | undefined;
2676
+ permission?: {
2677
+ edit?: "ask" | "allow" | "deny" | undefined;
2678
+ bash?: "ask" | "allow" | "deny" | Record<string, "ask" | "allow" | "deny"> | undefined;
2679
+ webfetch?: "ask" | "allow" | "deny" | undefined;
2680
+ doom_loop?: "ask" | "allow" | "deny" | undefined;
2681
+ external_directory?: "ask" | "allow" | "deny" | undefined;
2682
+ } | undefined;
2683
2683
  expand_tools?: Record<string, string | false> | undefined;
2684
2684
  opencode?: {
2685
2685
  model?: string | {
@@ -2695,24 +2695,24 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2695
2695
  pi?: {
2696
2696
  model?: string | {
2697
2697
  model: string;
2698
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2698
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2699
2699
  } | undefined;
2700
2700
  fallback_models?: (string | {
2701
2701
  model: string;
2702
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2702
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2703
2703
  })[] | undefined;
2704
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2704
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2705
2705
  } | undefined;
2706
2706
  omp?: {
2707
2707
  model?: string | {
2708
2708
  model: string;
2709
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2709
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2710
2710
  } | undefined;
2711
2711
  fallback_models?: (string | {
2712
2712
  model: string;
2713
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2713
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2714
2714
  })[] | undefined;
2715
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2715
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2716
2716
  } | undefined;
2717
2717
  runner?: "broca" | "host" | undefined;
2718
2718
  host_runner?: {
@@ -2776,21 +2776,21 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2776
2776
  };
2777
2777
  inject_docs: boolean;
2778
2778
  prompt?: string | undefined;
2779
- mode?: "primary" | "subagent" | "all" | undefined;
2780
- permission?: {
2781
- edit?: "deny" | "allow" | "ask" | undefined;
2782
- bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
2783
- webfetch?: "deny" | "allow" | "ask" | undefined;
2784
- doom_loop?: "deny" | "allow" | "ask" | undefined;
2785
- external_directory?: "deny" | "allow" | "ask" | undefined;
2786
- } | undefined;
2787
- tools?: Record<string, boolean> | undefined;
2788
- maxSteps?: number | undefined;
2779
+ mode?: "all" | "primary" | "subagent" | undefined;
2780
+ maxTokens?: number | undefined;
2789
2781
  description?: string | undefined;
2782
+ tools?: Record<string, boolean> | undefined;
2790
2783
  temperature?: number | undefined;
2791
2784
  top_p?: number | undefined;
2792
2785
  color?: string | undefined;
2793
- maxTokens?: number | undefined;
2786
+ maxSteps?: number | undefined;
2787
+ permission?: {
2788
+ edit?: "ask" | "allow" | "deny" | undefined;
2789
+ bash?: "ask" | "allow" | "deny" | Record<string, "ask" | "allow" | "deny"> | undefined;
2790
+ webfetch?: "ask" | "allow" | "deny" | undefined;
2791
+ doom_loop?: "ask" | "allow" | "deny" | undefined;
2792
+ external_directory?: "ask" | "allow" | "deny" | undefined;
2793
+ } | undefined;
2794
2794
  disable?: boolean | undefined;
2795
2795
  runner?: "broca" | "host" | undefined;
2796
2796
  opencode?: {
@@ -2819,46 +2819,46 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2819
2819
  pi?: {
2820
2820
  model?: string | {
2821
2821
  model: string;
2822
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2822
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2823
2823
  } | undefined;
2824
2824
  fallback_models?: (string | {
2825
2825
  model: string;
2826
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2826
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2827
2827
  })[] | undefined;
2828
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2828
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2829
2829
  tasks?: Record<string, {
2830
2830
  model?: string | {
2831
2831
  model: string;
2832
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2832
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2833
2833
  } | undefined;
2834
2834
  fallback_models?: (string | {
2835
2835
  model: string;
2836
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2836
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2837
2837
  })[] | undefined;
2838
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2838
+ thinking_level?: "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | undefined;
2839
2839
  timeout_minutes?: number | undefined;
2840
2840
  }> | undefined;
2841
2841
  } | undefined;
2842
2842
  omp?: {
2843
2843
  model?: string | {
2844
2844
  model: string;
2845
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2845
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2846
2846
  } | undefined;
2847
2847
  fallback_models?: (string | {
2848
2848
  model: string;
2849
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2849
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2850
2850
  })[] | undefined;
2851
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2851
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2852
2852
  tasks?: Record<string, {
2853
2853
  model?: string | {
2854
2854
  model: string;
2855
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2855
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2856
2856
  } | undefined;
2857
2857
  fallback_models?: (string | {
2858
2858
  model: string;
2859
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2859
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2860
2860
  })[] | undefined;
2861
- thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2861
+ thinking_level?: "inherit" | "high" | "medium" | "low" | "off" | "minimal" | "xhigh" | "max" | "auto" | undefined;
2862
2862
  timeout_minutes?: number | undefined;
2863
2863
  }> | undefined;
2864
2864
  } | undefined;