@cortexkit/opencode-magic-context 0.41.2 → 0.41.4

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 (230) hide show
  1. package/README.md +9 -3
  2. package/dist/announcement-3c1vertn.js +14 -0
  3. package/dist/config/index.d.ts +9 -0
  4. package/dist/config/index.d.ts.map +1 -1
  5. package/dist/config/project-security.d.ts.map +1 -1
  6. package/dist/config/schema/magic-context.d.ts +756 -4
  7. package/dist/config/schema/magic-context.d.ts.map +1 -1
  8. package/dist/conflict-warning-hook-ejkc9sjn.js +16 -0
  9. package/dist/derive-budgets-bc366cz8.js +13 -0
  10. package/dist/features/magic-context/compartment-lease.d.ts +6 -0
  11. package/dist/features/magic-context/compartment-lease.d.ts.map +1 -1
  12. package/dist/features/magic-context/dreamer/classify.d.ts.map +1 -1
  13. package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts +13 -0
  14. package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts.map +1 -1
  15. package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
  16. package/dist/features/magic-context/dreamer/task-scheduler.d.ts +3 -0
  17. package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
  18. package/dist/features/magic-context/dreamer/verify.d.ts.map +1 -1
  19. package/dist/features/magic-context/migrations.d.ts.map +1 -1
  20. package/dist/features/magic-context/storage-db.d.ts +18 -1
  21. package/dist/features/magic-context/storage-db.d.ts.map +1 -1
  22. package/dist/features/magic-context/storage-meta-persisted.d.ts +13 -14
  23. package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
  24. package/dist/features/magic-context/storage-meta.d.ts +1 -1
  25. package/dist/features/magic-context/storage-meta.d.ts.map +1 -1
  26. package/dist/features/magic-context/storage-subagent-invocations.d.ts +3 -2
  27. package/dist/features/magic-context/storage-subagent-invocations.d.ts.map +1 -1
  28. package/dist/features/magic-context/storage-tags.d.ts +6 -0
  29. package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
  30. package/dist/features/magic-context/storage.d.ts +2 -2
  31. package/dist/features/magic-context/storage.d.ts.map +1 -1
  32. package/dist/features/magic-context/subagent-token-capture.d.ts +2 -1
  33. package/dist/features/magic-context/subagent-token-capture.d.ts.map +1 -1
  34. package/dist/hooks/magic-context/command-handler.d.ts +5 -1
  35. package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
  36. package/dist/hooks/magic-context/compaction-marker-manager.d.ts +6 -1
  37. package/dist/hooks/magic-context/compaction-marker-manager.d.ts.map +1 -1
  38. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
  39. package/dist/hooks/magic-context/compartment-runner-types.d.ts +4 -0
  40. package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
  41. package/dist/hooks/magic-context/compartment-runner.d.ts +2 -1
  42. package/dist/hooks/magic-context/compartment-runner.d.ts.map +1 -1
  43. package/dist/hooks/magic-context/derive-budgets.d.ts +1 -0
  44. package/dist/hooks/magic-context/derive-budgets.d.ts.map +1 -1
  45. package/dist/hooks/magic-context/emergency-drop.d.ts +3 -1
  46. package/dist/hooks/magic-context/emergency-drop.d.ts.map +1 -1
  47. package/dist/hooks/magic-context/execute-status.d.ts +7 -1
  48. package/dist/hooks/magic-context/execute-status.d.ts.map +1 -1
  49. package/dist/hooks/magic-context/heuristic-cleanup.d.ts +4 -3
  50. package/dist/hooks/magic-context/heuristic-cleanup.d.ts.map +1 -1
  51. package/dist/hooks/magic-context/hook-handlers.d.ts +2 -0
  52. package/dist/hooks/magic-context/hook-handlers.d.ts.map +1 -1
  53. package/dist/hooks/magic-context/hook.d.ts +9 -5
  54. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  55. package/dist/hooks/magic-context/inject-compartments.d.ts +6 -0
  56. package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
  57. package/dist/hooks/magic-context/issue-423-fixture.d.ts +37 -0
  58. package/dist/hooks/magic-context/issue-423-fixture.d.ts.map +1 -0
  59. package/dist/hooks/magic-context/issue-424-fixture.d.ts +11 -0
  60. package/dist/hooks/magic-context/issue-424-fixture.d.ts.map +1 -0
  61. package/dist/hooks/magic-context/module-state-sync.d.ts +2 -1
  62. package/dist/hooks/magic-context/module-state-sync.d.ts.map +1 -1
  63. package/dist/hooks/magic-context/module-transport.d.ts +11 -4
  64. package/dist/hooks/magic-context/module-transport.d.ts.map +1 -1
  65. package/dist/hooks/magic-context/module-wire.d.ts +6 -1
  66. package/dist/hooks/magic-context/module-wire.d.ts.map +1 -1
  67. package/dist/hooks/magic-context/producer-window-guard.d.ts +8 -0
  68. package/dist/hooks/magic-context/producer-window-guard.d.ts.map +1 -0
  69. package/dist/hooks/magic-context/protected-tail-boundary.d.ts +59 -0
  70. package/dist/hooks/magic-context/protected-tail-boundary.d.ts.map +1 -1
  71. package/dist/hooks/magic-context/read-session-chunk.d.ts +2 -0
  72. package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
  73. package/dist/hooks/magic-context/read-session-db.d.ts +15 -0
  74. package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
  75. package/dist/hooks/magic-context/read-session-true-raw-tokens.d.ts +4 -1
  76. package/dist/hooks/magic-context/read-session-true-raw-tokens.d.ts.map +1 -1
  77. package/dist/hooks/magic-context/recomp-orchestrator.d.ts +2 -0
  78. package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
  79. package/dist/hooks/magic-context/rust-mode-transform.d.ts +15 -2
  80. package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
  81. package/dist/hooks/magic-context/send-session-notification.d.ts +6 -0
  82. package/dist/hooks/magic-context/send-session-notification.d.ts.map +1 -1
  83. package/dist/hooks/magic-context/sentinel.d.ts +8 -19
  84. package/dist/hooks/magic-context/sentinel.d.ts.map +1 -1
  85. package/dist/hooks/magic-context/strip-content.d.ts.map +1 -1
  86. package/dist/hooks/magic-context/tag-messages.d.ts +2 -0
  87. package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
  88. package/dist/hooks/magic-context/tail-hygiene-walk.d.ts +8 -3
  89. package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
  90. package/dist/hooks/magic-context/tool-drop-target.d.ts +1 -0
  91. package/dist/hooks/magic-context/tool-drop-target.d.ts.map +1 -1
  92. package/dist/hooks/magic-context/transform-compartment-phase.d.ts +2 -0
  93. package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
  94. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +32 -0
  95. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  96. package/dist/hooks/magic-context/transform.d.ts +4 -0
  97. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  98. package/dist/hooks/magic-context/wrapup-orchestrator.d.ts.map +1 -1
  99. package/dist/{index-j8r0ejb3.js → index-0y2mcg5y.js} +1971 -11203
  100. package/dist/{index-1yh8g550.js → index-22jkk6wg.js} +2 -15
  101. package/dist/{index-dmvy29z0.js → index-3wzdwt6p.js} +11 -15
  102. package/dist/{index-eq9wr75c.js → index-4avmwfp5.js} +57 -108
  103. package/dist/{index-d1mxrd3p.js → index-7k55qm8a.js} +17 -12
  104. package/dist/{index-2wchnyk6.js → index-avwt563y.js} +8 -1
  105. package/dist/{index-4x691bz5.js → index-dkv2dn46.js} +5 -2
  106. package/dist/{index-rgdqj8nj.js → index-e7vx3byk.js} +1 -1
  107. package/dist/{index-szf8w1p5.js → index-fmsr7v69.js} +2 -2
  108. package/dist/{index-y1yr57fw.js → index-fz104x1j.js} +18 -18
  109. package/dist/{index-d62ypazr.js → index-jdxxq8cz.js} +6 -11
  110. package/dist/{index-9j3tx8hy.js → index-may8skc8.js} +6 -25
  111. package/dist/{index-cvda5jb3.js → index-mjv9je4e.js} +23 -19
  112. package/dist/{index-zwjhba2r.js → index-q264erdp.js} +122 -41
  113. package/dist/{index-b9j85d29.js → index-raatkvw5.js} +49 -11
  114. package/dist/{index-9xexf8s7.js → index-rn7gafjr.js} +1 -9
  115. package/dist/index-sd3egckz.js +1583 -0
  116. package/dist/index-v6t0tg85.js +13 -0
  117. package/dist/index.d.ts.map +1 -1
  118. package/dist/index.js +2660 -3255
  119. package/dist/model-resolution-dxatzjde.js +12 -0
  120. package/dist/{index-dynqfgx1.js → module-asyncify-2EFITU5U-rkqjhjxd.js} +69 -8
  121. package/dist/plugin/boot-deadline.d.ts +47 -0
  122. package/dist/plugin/boot-deadline.d.ts.map +1 -0
  123. package/dist/plugin/conflict-warning-hook.d.ts +10 -0
  124. package/dist/plugin/conflict-warning-hook.d.ts.map +1 -1
  125. package/dist/plugin/hooks/create-session-hooks.d.ts +5 -0
  126. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  127. package/dist/plugin/messages-transform.d.ts.map +1 -1
  128. package/dist/plugin/rpc-handlers.d.ts.map +1 -1
  129. package/dist/prompt-context-5y5ms8f9.js +6 -0
  130. package/dist/recomp-orchestrator-q98r6rga.js +19 -0
  131. package/dist/rpc-notifications-4amf6mf4.js +14 -0
  132. package/dist/{index-vnz6jvdc.js → safe-notification-target-q9z81zt3.js} +4 -3
  133. package/dist/send-session-notification-hdh02wy9.js +16 -0
  134. package/dist/shared/cache-ttl-display.d.ts +23 -0
  135. package/dist/shared/cache-ttl-display.d.ts.map +1 -0
  136. package/dist/shared/cache-ttl-seed.d.ts +10 -0
  137. package/dist/shared/cache-ttl-seed.d.ts.map +1 -0
  138. package/dist/shared/config-diagnostics.d.ts +30 -0
  139. package/dist/shared/config-diagnostics.d.ts.map +1 -0
  140. package/dist/shared/config-warning-surface.d.ts +3 -0
  141. package/dist/shared/config-warning-surface.d.ts.map +1 -0
  142. package/dist/shared/conflict-detector.d.ts +3 -1
  143. package/dist/shared/conflict-detector.d.ts.map +1 -1
  144. package/dist/shared/data-path.d.ts +10 -9
  145. package/dist/shared/data-path.d.ts.map +1 -1
  146. package/dist/shared/harness-provider-map.d.ts +7 -0
  147. package/dist/shared/harness-provider-map.d.ts.map +1 -1
  148. package/dist/shared/harness.d.ts +3 -3
  149. package/dist/shared/harness.d.ts.map +1 -1
  150. package/dist/shared/jsonc-parser.d.ts +12 -0
  151. package/dist/shared/jsonc-parser.d.ts.map +1 -1
  152. package/dist/shared/model-resolution.d.ts +3 -3
  153. package/dist/shared/model-resolution.d.ts.map +1 -1
  154. package/dist/shared/model-suggestion-retry.d.ts +14 -10
  155. package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
  156. package/dist/shared/pi-executable.d.ts +6 -0
  157. package/dist/shared/pi-executable.d.ts.map +1 -0
  158. package/dist/shared/prompt-surface-runtime.d.ts +2 -2
  159. package/dist/shared/prompt-surface-runtime.d.ts.map +1 -1
  160. package/dist/shared/rpc-types.d.ts +6 -0
  161. package/dist/shared/rpc-types.d.ts.map +1 -1
  162. package/dist/shared/rpc-utils.d.ts.map +1 -1
  163. package/dist/shared/status-detail-text.d.ts.map +1 -1
  164. package/dist/shared/tag-transcript.d.ts.map +1 -1
  165. package/dist/shared/transcript.d.ts +2 -1
  166. package/dist/shared/transcript.d.ts.map +1 -1
  167. package/dist/storage-meta-session-dvwfw778.js +20 -0
  168. package/dist/task-config-hnv93r7p.js +9 -0
  169. package/dist/transformers-node-wasm.js +328 -328
  170. package/dist/transformers-web.js +72 -72
  171. package/dist/{transformers.node-b1wa0hgx.js → transformers.node-dpmf3wpx.js} +74 -74
  172. package/package.json +1 -1
  173. package/src/config/index.test.ts +72 -0
  174. package/src/config/index.ts +96 -15
  175. package/src/config/project-security.hostile-matrix.test.ts +78 -9
  176. package/src/config/project-security.ts +4 -3
  177. package/src/config/schema/magic-context.test.ts +64 -0
  178. package/src/config/schema/magic-context.ts +100 -6
  179. package/src/shared/cache-ttl-display.test.ts +84 -0
  180. package/src/shared/cache-ttl-display.ts +64 -0
  181. package/src/shared/cache-ttl-seed.ts +23 -0
  182. package/src/shared/config-diagnostics.test.ts +29 -0
  183. package/src/shared/config-diagnostics.ts +64 -0
  184. package/src/shared/config-warning-surface.ts +28 -0
  185. package/src/shared/conflict-detector.test.ts +24 -0
  186. package/src/shared/conflict-detector.ts +25 -7
  187. package/src/shared/data-path.ts +10 -9
  188. package/src/shared/harness-provider-map.test.ts +16 -0
  189. package/src/shared/harness-provider-map.ts +15 -0
  190. package/src/shared/harness.ts +3 -3
  191. package/src/shared/jsonc-parser.test.ts +14 -1
  192. package/src/shared/jsonc-parser.ts +93 -0
  193. package/src/shared/model-resolution.test.ts +61 -0
  194. package/src/shared/model-resolution.ts +14 -5
  195. package/src/shared/model-suggestion-retry.ts +143 -28
  196. package/src/shared/pi-executable.ts +20 -0
  197. package/src/shared/prompt-surface-runtime.ts +3 -3
  198. package/src/shared/rpc-types.ts +6 -0
  199. package/src/shared/rpc-utils.ts +2 -3
  200. package/src/shared/status-detail-text.test.ts +2 -1
  201. package/src/shared/status-detail-text.ts +5 -1
  202. package/src/shared/tag-transcript.ts +32 -2
  203. package/src/shared/transcript.ts +3 -1
  204. package/src/tui/index.tsx +15 -1
  205. package/src/tui-compiled/index.tsx +234 -222
  206. package/dist/announcement-3g9xg433.js +0 -18
  207. package/dist/conflict-warning-hook-rf17b6et.js +0 -17
  208. package/dist/derive-budgets-9q2d3r93.js +0 -14
  209. package/dist/emscripten-module-49k43zfy.js +0 -507
  210. package/dist/emscripten-module-ex4v0x4z.js +0 -606
  211. package/dist/emscripten-module-jfs3d1dq.js +0 -1536
  212. package/dist/emscripten-module-ss4g4spn.js +0 -4563
  213. package/dist/ffi-bbm9vkfa.js +0 -92
  214. package/dist/ffi-kb5r0x1j.js +0 -92
  215. package/dist/ffi-qnrt0y78.js +0 -80
  216. package/dist/ffi-yx2hpf4p.js +0 -80
  217. package/dist/index-8mtsfhyg.js +0 -146
  218. package/dist/index-8sseka65.js +0 -251
  219. package/dist/index-ss632za9.js +0 -77
  220. package/dist/model-resolution-6w6wzw18.js +0 -17
  221. package/dist/module-ES6BEMUI-1yjdz59c.js +0 -14
  222. package/dist/module-asyncify-2EFITU5U-fdkx4fhy.js +0 -9
  223. package/dist/prompt-context-29qkb28f.js +0 -7
  224. package/dist/recomp-orchestrator-m37p3fq6.js +0 -34
  225. package/dist/rpc-notifications-1ffm755w.js +0 -17
  226. package/dist/safe-notification-target-2a8py95v.js +0 -11
  227. package/dist/send-session-notification-bw7eex6w.js +0 -20
  228. package/dist/storage-meta-session-dse3qv6s.js +0 -23
  229. package/dist/task-config-gv6s04fp.js +0 -18
  230. /package/dist/{index-37yzyeca.js → index-3fe78beq.js} +0 -0
@@ -20,6 +20,19 @@ export declare const PiThinkingLevelSchema: z.ZodOptional<z.ZodEnum<{
20
20
  max: "max";
21
21
  }>>;
22
22
  export type PiThinkingLevel = z.infer<typeof PiThinkingLevelSchema>;
23
+ /** OMP accepts Pi's thinking levels plus host-managed inheritance and automatic selection. */
24
+ export declare const OmpThinkingLevelSchema: z.ZodOptional<z.ZodEnum<{
25
+ off: "off";
26
+ minimal: "minimal";
27
+ low: "low";
28
+ medium: "medium";
29
+ high: "high";
30
+ xhigh: "xhigh";
31
+ max: "max";
32
+ inherit: "inherit";
33
+ auto: "auto";
34
+ }>>;
35
+ export type OmpThinkingLevel = z.infer<typeof OmpThinkingLevelSchema>;
23
36
  /** Pi-only child-process controls. This block is intentionally optional so an
24
37
  * absent allowlist preserves Pi's normal extension discovery behavior. */
25
38
  export declare const PiConfigSchema: z.ZodOptional<z.ZodObject<{
@@ -67,6 +80,8 @@ export declare const PER_HARNESS_MIGRATION_INVENTORY: {
67
80
  readonly migrated_execution: readonly ["model", "fallback_models", "variant", "thinking_level", "timeout_minutes"];
68
81
  };
69
82
  };
83
+ /** Harness keys that own independent hidden-agent model-selection blocks. */
84
+ export declare const PER_HARNESS_MODEL_KEYS: readonly ["opencode", "pi", "omp"];
70
85
  export declare const OcEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
71
86
  model: z.ZodString;
72
87
  variant: z.ZodOptional<z.ZodString>;
@@ -85,6 +100,21 @@ export declare const PiEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObjec
85
100
  }>>;
86
101
  }, z.core.$strict>]>;
87
102
  export type PiEntry = z.infer<typeof PiEntrySchema>;
103
+ export declare const OmpEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
104
+ model: z.ZodString;
105
+ thinking_level: z.ZodOptional<z.ZodEnum<{
106
+ off: "off";
107
+ minimal: "minimal";
108
+ low: "low";
109
+ medium: "medium";
110
+ high: "high";
111
+ xhigh: "xhigh";
112
+ max: "max";
113
+ inherit: "inherit";
114
+ auto: "auto";
115
+ }>>;
116
+ }, z.core.$strict>]>;
117
+ export type OmpEntry = z.infer<typeof OmpEntrySchema>;
88
118
  /** Strict model-resolution block used by historian.opencode. */
89
119
  export declare const OpenCodeHarnessBlockSchema: z.ZodObject<{
90
120
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -135,6 +165,49 @@ export declare const PiHarnessBlockSchema: z.ZodObject<{
135
165
  }>>;
136
166
  }, z.core.$strict>;
137
167
  export type PiHarnessBlock = z.infer<typeof PiHarnessBlockSchema>;
168
+ /** Strict model-resolution block used by historian.omp. */
169
+ export declare const OmpHarnessBlockSchema: z.ZodObject<{
170
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
171
+ model: z.ZodString;
172
+ thinking_level: z.ZodOptional<z.ZodEnum<{
173
+ off: "off";
174
+ minimal: "minimal";
175
+ low: "low";
176
+ medium: "medium";
177
+ high: "high";
178
+ xhigh: "xhigh";
179
+ max: "max";
180
+ inherit: "inherit";
181
+ auto: "auto";
182
+ }>>;
183
+ }, z.core.$strict>]>>;
184
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
185
+ model: z.ZodString;
186
+ thinking_level: z.ZodOptional<z.ZodEnum<{
187
+ off: "off";
188
+ minimal: "minimal";
189
+ low: "low";
190
+ medium: "medium";
191
+ high: "high";
192
+ xhigh: "xhigh";
193
+ max: "max";
194
+ inherit: "inherit";
195
+ auto: "auto";
196
+ }>>;
197
+ }, z.core.$strict>]>>>;
198
+ thinking_level: z.ZodOptional<z.ZodEnum<{
199
+ off: "off";
200
+ minimal: "minimal";
201
+ low: "low";
202
+ medium: "medium";
203
+ high: "high";
204
+ xhigh: "xhigh";
205
+ max: "max";
206
+ inherit: "inherit";
207
+ auto: "auto";
208
+ }>>;
209
+ }, z.core.$strict>;
210
+ export type OmpHarnessBlock = z.infer<typeof OmpHarnessBlockSchema>;
138
211
  /** Strict OpenCode-only execution override for one dreamer task. */
139
212
  export declare const OpenCodeTaskExecutionSchema: z.ZodObject<{
140
213
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -187,6 +260,50 @@ export declare const PiTaskExecutionSchema: z.ZodObject<{
187
260
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
188
261
  }, z.core.$strict>;
189
262
  export type PiTaskExecution = z.infer<typeof PiTaskExecutionSchema>;
263
+ /** Strict OMP-only execution override for one dreamer task. */
264
+ export declare const OmpTaskExecutionSchema: z.ZodObject<{
265
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
266
+ model: z.ZodString;
267
+ thinking_level: z.ZodOptional<z.ZodEnum<{
268
+ off: "off";
269
+ minimal: "minimal";
270
+ low: "low";
271
+ medium: "medium";
272
+ high: "high";
273
+ xhigh: "xhigh";
274
+ max: "max";
275
+ inherit: "inherit";
276
+ auto: "auto";
277
+ }>>;
278
+ }, z.core.$strict>]>>;
279
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
280
+ model: z.ZodString;
281
+ thinking_level: z.ZodOptional<z.ZodEnum<{
282
+ off: "off";
283
+ minimal: "minimal";
284
+ low: "low";
285
+ medium: "medium";
286
+ high: "high";
287
+ xhigh: "xhigh";
288
+ max: "max";
289
+ inherit: "inherit";
290
+ auto: "auto";
291
+ }>>;
292
+ }, z.core.$strict>]>>>;
293
+ thinking_level: z.ZodOptional<z.ZodEnum<{
294
+ off: "off";
295
+ minimal: "minimal";
296
+ low: "low";
297
+ medium: "medium";
298
+ high: "high";
299
+ xhigh: "xhigh";
300
+ max: "max";
301
+ inherit: "inherit";
302
+ auto: "auto";
303
+ }>>;
304
+ timeout_minutes: z.ZodOptional<z.ZodNumber>;
305
+ }, z.core.$strict>;
306
+ export type OmpTaskExecution = z.infer<typeof OmpTaskExecutionSchema>;
190
307
  /** Strict OpenCode harness block for dreamer execution and task overrides. */
191
308
  export declare const DreamerOpenCodeHarnessBlockSchema: z.ZodObject<{
192
309
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -285,6 +402,91 @@ export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
285
402
  }, z.core.$strict>>>;
286
403
  }, z.core.$strict>;
287
404
  export type DreamerPiHarnessBlock = z.infer<typeof DreamerPiHarnessBlockSchema>;
405
+ /** Strict OMP harness block for dreamer execution and task overrides. */
406
+ export declare const DreamerOmpHarnessBlockSchema: z.ZodObject<{
407
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
408
+ model: z.ZodString;
409
+ thinking_level: z.ZodOptional<z.ZodEnum<{
410
+ off: "off";
411
+ minimal: "minimal";
412
+ low: "low";
413
+ medium: "medium";
414
+ high: "high";
415
+ xhigh: "xhigh";
416
+ max: "max";
417
+ inherit: "inherit";
418
+ auto: "auto";
419
+ }>>;
420
+ }, z.core.$strict>]>>;
421
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
422
+ model: z.ZodString;
423
+ thinking_level: z.ZodOptional<z.ZodEnum<{
424
+ off: "off";
425
+ minimal: "minimal";
426
+ low: "low";
427
+ medium: "medium";
428
+ high: "high";
429
+ xhigh: "xhigh";
430
+ max: "max";
431
+ inherit: "inherit";
432
+ auto: "auto";
433
+ }>>;
434
+ }, z.core.$strict>]>>>;
435
+ thinking_level: z.ZodOptional<z.ZodEnum<{
436
+ off: "off";
437
+ minimal: "minimal";
438
+ low: "low";
439
+ medium: "medium";
440
+ high: "high";
441
+ xhigh: "xhigh";
442
+ max: "max";
443
+ inherit: "inherit";
444
+ auto: "auto";
445
+ }>>;
446
+ tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
447
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
448
+ model: z.ZodString;
449
+ thinking_level: z.ZodOptional<z.ZodEnum<{
450
+ off: "off";
451
+ minimal: "minimal";
452
+ low: "low";
453
+ medium: "medium";
454
+ high: "high";
455
+ xhigh: "xhigh";
456
+ max: "max";
457
+ inherit: "inherit";
458
+ auto: "auto";
459
+ }>>;
460
+ }, z.core.$strict>]>>;
461
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
462
+ model: z.ZodString;
463
+ thinking_level: z.ZodOptional<z.ZodEnum<{
464
+ off: "off";
465
+ minimal: "minimal";
466
+ low: "low";
467
+ medium: "medium";
468
+ high: "high";
469
+ xhigh: "xhigh";
470
+ max: "max";
471
+ inherit: "inherit";
472
+ auto: "auto";
473
+ }>>;
474
+ }, z.core.$strict>]>>>;
475
+ thinking_level: z.ZodOptional<z.ZodEnum<{
476
+ off: "off";
477
+ minimal: "minimal";
478
+ low: "low";
479
+ medium: "medium";
480
+ high: "high";
481
+ xhigh: "xhigh";
482
+ max: "max";
483
+ inherit: "inherit";
484
+ auto: "auto";
485
+ }>>;
486
+ timeout_minutes: z.ZodOptional<z.ZodNumber>;
487
+ }, z.core.$strict>>>;
488
+ }, z.core.$strict>;
489
+ export type DreamerOmpHarnessBlock = z.infer<typeof DreamerOmpHarnessBlockSchema>;
288
490
  export declare const ConfigProfileSchema: z.ZodObject<{
289
491
  historian: z.ZodOptional<z.ZodObject<{
290
492
  opencode: z.ZodOptional<z.ZodObject<{
@@ -333,6 +535,47 @@ export declare const ConfigProfileSchema: z.ZodObject<{
333
535
  max: "max";
334
536
  }>>;
335
537
  }, z.core.$strict>>;
538
+ omp: z.ZodOptional<z.ZodObject<{
539
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
540
+ model: z.ZodString;
541
+ thinking_level: z.ZodOptional<z.ZodEnum<{
542
+ off: "off";
543
+ minimal: "minimal";
544
+ low: "low";
545
+ medium: "medium";
546
+ high: "high";
547
+ xhigh: "xhigh";
548
+ max: "max";
549
+ inherit: "inherit";
550
+ auto: "auto";
551
+ }>>;
552
+ }, z.core.$strict>]>>;
553
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
554
+ model: z.ZodString;
555
+ thinking_level: z.ZodOptional<z.ZodEnum<{
556
+ off: "off";
557
+ minimal: "minimal";
558
+ low: "low";
559
+ medium: "medium";
560
+ high: "high";
561
+ xhigh: "xhigh";
562
+ max: "max";
563
+ inherit: "inherit";
564
+ auto: "auto";
565
+ }>>;
566
+ }, z.core.$strict>]>>>;
567
+ thinking_level: z.ZodOptional<z.ZodEnum<{
568
+ off: "off";
569
+ minimal: "minimal";
570
+ low: "low";
571
+ medium: "medium";
572
+ high: "high";
573
+ xhigh: "xhigh";
574
+ max: "max";
575
+ inherit: "inherit";
576
+ auto: "auto";
577
+ }>>;
578
+ }, z.core.$strict>>;
336
579
  }, z.core.$strict>>;
337
580
  dreamer: z.ZodOptional<z.ZodObject<{
338
581
  opencode: z.ZodOptional<z.ZodObject<{
@@ -381,6 +624,47 @@ export declare const ConfigProfileSchema: z.ZodObject<{
381
624
  max: "max";
382
625
  }>>;
383
626
  }, z.core.$strict>>;
627
+ omp: z.ZodOptional<z.ZodObject<{
628
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
629
+ model: z.ZodString;
630
+ thinking_level: z.ZodOptional<z.ZodEnum<{
631
+ off: "off";
632
+ minimal: "minimal";
633
+ low: "low";
634
+ medium: "medium";
635
+ high: "high";
636
+ xhigh: "xhigh";
637
+ max: "max";
638
+ inherit: "inherit";
639
+ auto: "auto";
640
+ }>>;
641
+ }, z.core.$strict>]>>;
642
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
643
+ model: z.ZodString;
644
+ thinking_level: z.ZodOptional<z.ZodEnum<{
645
+ off: "off";
646
+ minimal: "minimal";
647
+ low: "low";
648
+ medium: "medium";
649
+ high: "high";
650
+ xhigh: "xhigh";
651
+ max: "max";
652
+ inherit: "inherit";
653
+ auto: "auto";
654
+ }>>;
655
+ }, z.core.$strict>]>>>;
656
+ thinking_level: z.ZodOptional<z.ZodEnum<{
657
+ off: "off";
658
+ minimal: "minimal";
659
+ low: "low";
660
+ medium: "medium";
661
+ high: "high";
662
+ xhigh: "xhigh";
663
+ max: "max";
664
+ inherit: "inherit";
665
+ auto: "auto";
666
+ }>>;
667
+ }, z.core.$strict>>;
384
668
  }, z.core.$strict>>;
385
669
  sidekick: z.ZodOptional<z.ZodObject<{
386
670
  model: z.ZodOptional<z.ZodString>;
@@ -446,6 +730,47 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
446
730
  max: "max";
447
731
  }>>;
448
732
  }, z.core.$strict>>;
733
+ omp: z.ZodOptional<z.ZodObject<{
734
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
735
+ model: z.ZodString;
736
+ thinking_level: z.ZodOptional<z.ZodEnum<{
737
+ off: "off";
738
+ minimal: "minimal";
739
+ low: "low";
740
+ medium: "medium";
741
+ high: "high";
742
+ xhigh: "xhigh";
743
+ max: "max";
744
+ inherit: "inherit";
745
+ auto: "auto";
746
+ }>>;
747
+ }, z.core.$strict>]>>;
748
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
749
+ model: z.ZodString;
750
+ thinking_level: z.ZodOptional<z.ZodEnum<{
751
+ off: "off";
752
+ minimal: "minimal";
753
+ low: "low";
754
+ medium: "medium";
755
+ high: "high";
756
+ xhigh: "xhigh";
757
+ max: "max";
758
+ inherit: "inherit";
759
+ auto: "auto";
760
+ }>>;
761
+ }, z.core.$strict>]>>>;
762
+ thinking_level: z.ZodOptional<z.ZodEnum<{
763
+ off: "off";
764
+ minimal: "minimal";
765
+ low: "low";
766
+ medium: "medium";
767
+ high: "high";
768
+ xhigh: "xhigh";
769
+ max: "max";
770
+ inherit: "inherit";
771
+ auto: "auto";
772
+ }>>;
773
+ }, z.core.$strict>>;
449
774
  }, z.core.$strict>>;
450
775
  dreamer: z.ZodOptional<z.ZodObject<{
451
776
  opencode: z.ZodOptional<z.ZodObject<{
@@ -494,6 +819,47 @@ export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<
494
819
  max: "max";
495
820
  }>>;
496
821
  }, z.core.$strict>>;
822
+ omp: z.ZodOptional<z.ZodObject<{
823
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
824
+ model: z.ZodString;
825
+ thinking_level: z.ZodOptional<z.ZodEnum<{
826
+ off: "off";
827
+ minimal: "minimal";
828
+ low: "low";
829
+ medium: "medium";
830
+ high: "high";
831
+ xhigh: "xhigh";
832
+ max: "max";
833
+ inherit: "inherit";
834
+ auto: "auto";
835
+ }>>;
836
+ }, z.core.$strict>]>>;
837
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
838
+ model: z.ZodString;
839
+ thinking_level: z.ZodOptional<z.ZodEnum<{
840
+ off: "off";
841
+ minimal: "minimal";
842
+ low: "low";
843
+ medium: "medium";
844
+ high: "high";
845
+ xhigh: "xhigh";
846
+ max: "max";
847
+ inherit: "inherit";
848
+ auto: "auto";
849
+ }>>;
850
+ }, z.core.$strict>]>>>;
851
+ thinking_level: z.ZodOptional<z.ZodEnum<{
852
+ off: "off";
853
+ minimal: "minimal";
854
+ low: "low";
855
+ medium: "medium";
856
+ high: "high";
857
+ xhigh: "xhigh";
858
+ max: "max";
859
+ inherit: "inherit";
860
+ auto: "auto";
861
+ }>>;
862
+ }, z.core.$strict>>;
497
863
  }, z.core.$strict>>;
498
864
  sidekick: z.ZodOptional<z.ZodObject<{
499
865
  model: z.ZodOptional<z.ZodString>;
@@ -558,7 +924,7 @@ export declare const DreamTasksSchema: z.ZodObject<{
558
924
  schedule: z.ZodDefault<z.ZodString>;
559
925
  }, z.core.$strict>>;
560
926
  }, z.core.$strip>;
561
- /** Combined dreamer metadata plus two independent strict execution blocks. */
927
+ /** Combined dreamer metadata plus independent strict execution blocks. */
562
928
  export declare const DreamerConfigSchema: z.ZodObject<{
563
929
  mode: z.ZodOptional<z.ZodEnum<{
564
930
  primary: "primary";
@@ -624,11 +990,82 @@ export declare const DreamerConfigSchema: z.ZodObject<{
624
990
  model: z.ZodString;
625
991
  variant: z.ZodOptional<z.ZodString>;
626
992
  }, z.core.$strict>]>>>;
627
- variant: z.ZodOptional<z.ZodString>;
993
+ variant: z.ZodOptional<z.ZodString>;
994
+ timeout_minutes: z.ZodOptional<z.ZodNumber>;
995
+ }, z.core.$strict>>>;
996
+ }, z.core.$strict>>;
997
+ pi: z.ZodOptional<z.ZodObject<{
998
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
999
+ model: z.ZodString;
1000
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1001
+ off: "off";
1002
+ minimal: "minimal";
1003
+ low: "low";
1004
+ medium: "medium";
1005
+ high: "high";
1006
+ xhigh: "xhigh";
1007
+ max: "max";
1008
+ }>>;
1009
+ }, z.core.$strict>]>>;
1010
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1011
+ model: z.ZodString;
1012
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1013
+ off: "off";
1014
+ minimal: "minimal";
1015
+ low: "low";
1016
+ medium: "medium";
1017
+ high: "high";
1018
+ xhigh: "xhigh";
1019
+ max: "max";
1020
+ }>>;
1021
+ }, z.core.$strict>]>>>;
1022
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1023
+ off: "off";
1024
+ minimal: "minimal";
1025
+ low: "low";
1026
+ medium: "medium";
1027
+ high: "high";
1028
+ xhigh: "xhigh";
1029
+ max: "max";
1030
+ }>>;
1031
+ tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1032
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1033
+ model: z.ZodString;
1034
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1035
+ off: "off";
1036
+ minimal: "minimal";
1037
+ low: "low";
1038
+ medium: "medium";
1039
+ high: "high";
1040
+ xhigh: "xhigh";
1041
+ max: "max";
1042
+ }>>;
1043
+ }, z.core.$strict>]>>;
1044
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1045
+ model: z.ZodString;
1046
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1047
+ off: "off";
1048
+ minimal: "minimal";
1049
+ low: "low";
1050
+ medium: "medium";
1051
+ high: "high";
1052
+ xhigh: "xhigh";
1053
+ max: "max";
1054
+ }>>;
1055
+ }, z.core.$strict>]>>>;
1056
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1057
+ off: "off";
1058
+ minimal: "minimal";
1059
+ low: "low";
1060
+ medium: "medium";
1061
+ high: "high";
1062
+ xhigh: "xhigh";
1063
+ max: "max";
1064
+ }>>;
628
1065
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
629
1066
  }, z.core.$strict>>>;
630
1067
  }, z.core.$strict>>;
631
- pi: z.ZodOptional<z.ZodObject<{
1068
+ omp: z.ZodOptional<z.ZodObject<{
632
1069
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
633
1070
  model: z.ZodString;
634
1071
  thinking_level: z.ZodOptional<z.ZodEnum<{
@@ -639,6 +1076,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
639
1076
  high: "high";
640
1077
  xhigh: "xhigh";
641
1078
  max: "max";
1079
+ inherit: "inherit";
1080
+ auto: "auto";
642
1081
  }>>;
643
1082
  }, z.core.$strict>]>>;
644
1083
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -651,6 +1090,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
651
1090
  high: "high";
652
1091
  xhigh: "xhigh";
653
1092
  max: "max";
1093
+ inherit: "inherit";
1094
+ auto: "auto";
654
1095
  }>>;
655
1096
  }, z.core.$strict>]>>>;
656
1097
  thinking_level: z.ZodOptional<z.ZodEnum<{
@@ -661,6 +1102,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
661
1102
  high: "high";
662
1103
  xhigh: "xhigh";
663
1104
  max: "max";
1105
+ inherit: "inherit";
1106
+ auto: "auto";
664
1107
  }>>;
665
1108
  tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
666
1109
  model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -673,6 +1116,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
673
1116
  high: "high";
674
1117
  xhigh: "xhigh";
675
1118
  max: "max";
1119
+ inherit: "inherit";
1120
+ auto: "auto";
676
1121
  }>>;
677
1122
  }, z.core.$strict>]>>;
678
1123
  fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -685,6 +1130,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
685
1130
  high: "high";
686
1131
  xhigh: "xhigh";
687
1132
  max: "max";
1133
+ inherit: "inherit";
1134
+ auto: "auto";
688
1135
  }>>;
689
1136
  }, z.core.$strict>]>>>;
690
1137
  thinking_level: z.ZodOptional<z.ZodEnum<{
@@ -695,6 +1142,8 @@ export declare const DreamerConfigSchema: z.ZodObject<{
695
1142
  high: "high";
696
1143
  xhigh: "xhigh";
697
1144
  max: "max";
1145
+ inherit: "inherit";
1146
+ auto: "auto";
698
1147
  }>>;
699
1148
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
700
1149
  }, z.core.$strict>>>;
@@ -806,7 +1255,7 @@ export declare const SidekickConfigSchema: z.ZodOptional<z.ZodObject<{
806
1255
  export type SidekickConfig = NonNullable<z.infer<typeof SidekickConfigSchema>>;
807
1256
  /**
808
1257
  * Historian metadata remains harness-independent. Only model resolution moves to
809
- * the strict opencode and pi blocks; two_pass and disallowed_tools stay here.
1258
+ * the strict opencode, pi, and omp blocks; two_pass and disallowed_tools stay here.
810
1259
  */
811
1260
  export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
812
1261
  mode: z.ZodOptional<z.ZodEnum<{
@@ -900,6 +1349,47 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
900
1349
  max: "max";
901
1350
  }>>;
902
1351
  }, z.core.$strict>>;
1352
+ omp: z.ZodOptional<z.ZodObject<{
1353
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1354
+ model: z.ZodString;
1355
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1356
+ off: "off";
1357
+ minimal: "minimal";
1358
+ low: "low";
1359
+ medium: "medium";
1360
+ high: "high";
1361
+ xhigh: "xhigh";
1362
+ max: "max";
1363
+ inherit: "inherit";
1364
+ auto: "auto";
1365
+ }>>;
1366
+ }, z.core.$strict>]>>;
1367
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1368
+ model: z.ZodString;
1369
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1370
+ off: "off";
1371
+ minimal: "minimal";
1372
+ low: "low";
1373
+ medium: "medium";
1374
+ high: "high";
1375
+ xhigh: "xhigh";
1376
+ max: "max";
1377
+ inherit: "inherit";
1378
+ auto: "auto";
1379
+ }>>;
1380
+ }, z.core.$strict>]>>>;
1381
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1382
+ off: "off";
1383
+ minimal: "minimal";
1384
+ low: "low";
1385
+ medium: "medium";
1386
+ high: "high";
1387
+ xhigh: "xhigh";
1388
+ max: "max";
1389
+ inherit: "inherit";
1390
+ auto: "auto";
1391
+ }>>;
1392
+ }, z.core.$strict>>;
903
1393
  two_pass: z.ZodDefault<z.ZodBoolean>;
904
1394
  disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
905
1395
  "*": "*";
@@ -1262,6 +1752,47 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1262
1752
  max: "max";
1263
1753
  }>>;
1264
1754
  }, z.core.$strict>>;
1755
+ omp: z.ZodOptional<z.ZodObject<{
1756
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1757
+ model: z.ZodString;
1758
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1759
+ off: "off";
1760
+ minimal: "minimal";
1761
+ low: "low";
1762
+ medium: "medium";
1763
+ high: "high";
1764
+ xhigh: "xhigh";
1765
+ max: "max";
1766
+ inherit: "inherit";
1767
+ auto: "auto";
1768
+ }>>;
1769
+ }, z.core.$strict>]>>;
1770
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1771
+ model: z.ZodString;
1772
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1773
+ off: "off";
1774
+ minimal: "minimal";
1775
+ low: "low";
1776
+ medium: "medium";
1777
+ high: "high";
1778
+ xhigh: "xhigh";
1779
+ max: "max";
1780
+ inherit: "inherit";
1781
+ auto: "auto";
1782
+ }>>;
1783
+ }, z.core.$strict>]>>>;
1784
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1785
+ off: "off";
1786
+ minimal: "minimal";
1787
+ low: "low";
1788
+ medium: "medium";
1789
+ high: "high";
1790
+ xhigh: "xhigh";
1791
+ max: "max";
1792
+ inherit: "inherit";
1793
+ auto: "auto";
1794
+ }>>;
1795
+ }, z.core.$strict>>;
1265
1796
  }, z.core.$strict>>;
1266
1797
  dreamer: z.ZodOptional<z.ZodObject<{
1267
1798
  opencode: z.ZodOptional<z.ZodObject<{
@@ -1310,6 +1841,47 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1310
1841
  max: "max";
1311
1842
  }>>;
1312
1843
  }, z.core.$strict>>;
1844
+ omp: z.ZodOptional<z.ZodObject<{
1845
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1846
+ model: z.ZodString;
1847
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1848
+ off: "off";
1849
+ minimal: "minimal";
1850
+ low: "low";
1851
+ medium: "medium";
1852
+ high: "high";
1853
+ xhigh: "xhigh";
1854
+ max: "max";
1855
+ inherit: "inherit";
1856
+ auto: "auto";
1857
+ }>>;
1858
+ }, z.core.$strict>]>>;
1859
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1860
+ model: z.ZodString;
1861
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1862
+ off: "off";
1863
+ minimal: "minimal";
1864
+ low: "low";
1865
+ medium: "medium";
1866
+ high: "high";
1867
+ xhigh: "xhigh";
1868
+ max: "max";
1869
+ inherit: "inherit";
1870
+ auto: "auto";
1871
+ }>>;
1872
+ }, z.core.$strict>]>>>;
1873
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1874
+ off: "off";
1875
+ minimal: "minimal";
1876
+ low: "low";
1877
+ medium: "medium";
1878
+ high: "high";
1879
+ xhigh: "xhigh";
1880
+ max: "max";
1881
+ inherit: "inherit";
1882
+ auto: "auto";
1883
+ }>>;
1884
+ }, z.core.$strict>>;
1313
1885
  }, z.core.$strict>>;
1314
1886
  sidekick: z.ZodOptional<z.ZodObject<{
1315
1887
  model: z.ZodOptional<z.ZodString>;
@@ -1418,6 +1990,47 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1418
1990
  max: "max";
1419
1991
  }>>;
1420
1992
  }, z.core.$strict>>;
1993
+ omp: z.ZodOptional<z.ZodObject<{
1994
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1995
+ model: z.ZodString;
1996
+ thinking_level: z.ZodOptional<z.ZodEnum<{
1997
+ off: "off";
1998
+ minimal: "minimal";
1999
+ low: "low";
2000
+ medium: "medium";
2001
+ high: "high";
2002
+ xhigh: "xhigh";
2003
+ max: "max";
2004
+ inherit: "inherit";
2005
+ auto: "auto";
2006
+ }>>;
2007
+ }, z.core.$strict>]>>;
2008
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2009
+ model: z.ZodString;
2010
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2011
+ off: "off";
2012
+ minimal: "minimal";
2013
+ low: "low";
2014
+ medium: "medium";
2015
+ high: "high";
2016
+ xhigh: "xhigh";
2017
+ max: "max";
2018
+ inherit: "inherit";
2019
+ auto: "auto";
2020
+ }>>;
2021
+ }, z.core.$strict>]>>>;
2022
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2023
+ off: "off";
2024
+ minimal: "minimal";
2025
+ low: "low";
2026
+ medium: "medium";
2027
+ high: "high";
2028
+ xhigh: "xhigh";
2029
+ max: "max";
2030
+ inherit: "inherit";
2031
+ auto: "auto";
2032
+ }>>;
2033
+ }, z.core.$strict>>;
1421
2034
  two_pass: z.ZodDefault<z.ZodBoolean>;
1422
2035
  disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1423
2036
  "*": "*";
@@ -1567,6 +2180,89 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1567
2180
  timeout_minutes: z.ZodOptional<z.ZodNumber>;
1568
2181
  }, z.core.$strict>>>;
1569
2182
  }, z.core.$strict>>;
2183
+ omp: z.ZodOptional<z.ZodObject<{
2184
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2185
+ model: z.ZodString;
2186
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2187
+ off: "off";
2188
+ minimal: "minimal";
2189
+ low: "low";
2190
+ medium: "medium";
2191
+ high: "high";
2192
+ xhigh: "xhigh";
2193
+ max: "max";
2194
+ inherit: "inherit";
2195
+ auto: "auto";
2196
+ }>>;
2197
+ }, z.core.$strict>]>>;
2198
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2199
+ model: z.ZodString;
2200
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2201
+ off: "off";
2202
+ minimal: "minimal";
2203
+ low: "low";
2204
+ medium: "medium";
2205
+ high: "high";
2206
+ xhigh: "xhigh";
2207
+ max: "max";
2208
+ inherit: "inherit";
2209
+ auto: "auto";
2210
+ }>>;
2211
+ }, z.core.$strict>]>>>;
2212
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2213
+ off: "off";
2214
+ minimal: "minimal";
2215
+ low: "low";
2216
+ medium: "medium";
2217
+ high: "high";
2218
+ xhigh: "xhigh";
2219
+ max: "max";
2220
+ inherit: "inherit";
2221
+ auto: "auto";
2222
+ }>>;
2223
+ tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2224
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2225
+ model: z.ZodString;
2226
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2227
+ off: "off";
2228
+ minimal: "minimal";
2229
+ low: "low";
2230
+ medium: "medium";
2231
+ high: "high";
2232
+ xhigh: "xhigh";
2233
+ max: "max";
2234
+ inherit: "inherit";
2235
+ auto: "auto";
2236
+ }>>;
2237
+ }, z.core.$strict>]>>;
2238
+ fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2239
+ model: z.ZodString;
2240
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2241
+ off: "off";
2242
+ minimal: "minimal";
2243
+ low: "low";
2244
+ medium: "medium";
2245
+ high: "high";
2246
+ xhigh: "xhigh";
2247
+ max: "max";
2248
+ inherit: "inherit";
2249
+ auto: "auto";
2250
+ }>>;
2251
+ }, z.core.$strict>]>>>;
2252
+ thinking_level: z.ZodOptional<z.ZodEnum<{
2253
+ off: "off";
2254
+ minimal: "minimal";
2255
+ low: "low";
2256
+ medium: "medium";
2257
+ high: "high";
2258
+ xhigh: "xhigh";
2259
+ max: "max";
2260
+ inherit: "inherit";
2261
+ auto: "auto";
2262
+ }>>;
2263
+ timeout_minutes: z.ZodOptional<z.ZodNumber>;
2264
+ }, z.core.$strict>>>;
2265
+ }, z.core.$strict>>;
1570
2266
  tasks: z.ZodDefault<z.ZodObject<{
1571
2267
  "map-memories": z.ZodDefault<z.ZodObject<{
1572
2268
  schedule: z.ZodDefault<z.ZodString>;
@@ -1972,6 +2668,17 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1972
2668
  })[] | undefined;
1973
2669
  thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1974
2670
  } | undefined;
2671
+ omp?: {
2672
+ model?: string | {
2673
+ model: string;
2674
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2675
+ } | undefined;
2676
+ fallback_models?: (string | {
2677
+ model: string;
2678
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2679
+ })[] | undefined;
2680
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2681
+ } | undefined;
1975
2682
  } | undefined;
1976
2683
  dreamer?: {
1977
2684
  opencode?: {
@@ -1996,6 +2703,17 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
1996
2703
  })[] | undefined;
1997
2704
  thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1998
2705
  } | undefined;
2706
+ omp?: {
2707
+ model?: string | {
2708
+ model: string;
2709
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2710
+ } | undefined;
2711
+ fallback_models?: (string | {
2712
+ model: string;
2713
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2714
+ })[] | undefined;
2715
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2716
+ } | undefined;
1999
2717
  } | undefined;
2000
2718
  sidekick?: {
2001
2719
  model?: string | undefined;
@@ -2046,6 +2764,17 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2046
2764
  })[] | undefined;
2047
2765
  thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
2048
2766
  } | undefined;
2767
+ omp?: {
2768
+ model?: string | {
2769
+ model: string;
2770
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2771
+ } | undefined;
2772
+ fallback_models?: (string | {
2773
+ model: string;
2774
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2775
+ })[] | undefined;
2776
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2777
+ } | undefined;
2049
2778
  } | undefined;
2050
2779
  dreamer?: {
2051
2780
  tasks: {
@@ -2152,6 +2881,29 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
2152
2881
  timeout_minutes?: number | undefined;
2153
2882
  }> | undefined;
2154
2883
  } | undefined;
2884
+ omp?: {
2885
+ model?: string | {
2886
+ model: string;
2887
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2888
+ } | undefined;
2889
+ fallback_models?: (string | {
2890
+ model: string;
2891
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2892
+ })[] | undefined;
2893
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2894
+ tasks?: Record<string, {
2895
+ model?: string | {
2896
+ model: string;
2897
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2898
+ } | undefined;
2899
+ fallback_models?: (string | {
2900
+ model: string;
2901
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2902
+ })[] | undefined;
2903
+ thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "inherit" | "auto" | undefined;
2904
+ timeout_minutes?: number | undefined;
2905
+ }> | undefined;
2906
+ } | undefined;
2155
2907
  } | undefined;
2156
2908
  output_reserve?: number | {
2157
2909
  [x: string]: number;