ocmm 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/.codex/agents/dw-builder.toml +3 -3
  2. package/.codex/agents/dw-clarifier.toml +2 -2
  3. package/.codex/agents/dw-code-search.toml +2 -2
  4. package/.codex/agents/dw-coding.toml +2 -2
  5. package/.codex/agents/dw-complex.toml +2 -2
  6. package/.codex/agents/dw-creative.toml +2 -2
  7. package/.codex/agents/dw-deep.toml +3 -3
  8. package/.codex/agents/dw-doc-search.toml +2 -2
  9. package/.codex/agents/dw-documenting.toml +2 -2
  10. package/.codex/agents/dw-explore.toml +2 -2
  11. package/.codex/agents/dw-frontend.toml +2 -2
  12. package/.codex/agents/dw-hard-reasoning.toml +2 -2
  13. package/.codex/agents/dw-media-reader.toml +2 -2
  14. package/.codex/agents/dw-normal-task.toml +2 -2
  15. package/.codex/agents/dw-oracle-2nd.toml +8 -0
  16. package/.codex/agents/dw-oracle.toml +3 -3
  17. package/.codex/agents/dw-orchestrator.toml +2 -2
  18. package/.codex/agents/dw-plan-critic.toml +2 -2
  19. package/.codex/agents/dw-planner.toml +3 -3
  20. package/.codex/agents/dw-quick.toml +2 -2
  21. package/.codex/agents/dw-research.toml +2 -2
  22. package/.codex/agents/dw-reviewer.toml +2 -2
  23. package/README.md +193 -46
  24. package/dist/cli/shim.d.ts +4 -2
  25. package/dist/cli/shim.js +26 -11
  26. package/dist/cli/shim.js.map +1 -1
  27. package/dist/codex/plugin-generator.js +121 -96
  28. package/dist/codex/plugin-generator.js.map +1 -1
  29. package/dist/config/load.d.ts +32 -23
  30. package/dist/config/load.js +384 -90
  31. package/dist/config/load.js.map +1 -1
  32. package/dist/config/merge.d.ts +18 -0
  33. package/dist/config/merge.js +46 -0
  34. package/dist/config/merge.js.map +1 -0
  35. package/dist/config/normalize.d.ts +1 -0
  36. package/dist/config/normalize.js +22 -16
  37. package/dist/config/normalize.js.map +1 -1
  38. package/dist/config/profile-aliases.d.ts +12 -0
  39. package/dist/config/profile-aliases.js +127 -0
  40. package/dist/config/profile-aliases.js.map +1 -0
  41. package/dist/config/profile-types.d.ts +13 -0
  42. package/dist/config/profile-types.js +2 -0
  43. package/dist/config/profile-types.js.map +1 -0
  44. package/dist/config/review-agent-migration.d.ts +89 -0
  45. package/dist/config/review-agent-migration.js +237 -0
  46. package/dist/config/review-agent-migration.js.map +1 -0
  47. package/dist/config/schema.d.ts +1364 -219
  48. package/dist/config/schema.js +169 -36
  49. package/dist/config/schema.js.map +1 -1
  50. package/dist/config/tolerant-parse.d.ts +41 -0
  51. package/dist/config/tolerant-parse.js +164 -0
  52. package/dist/config/tolerant-parse.js.map +1 -0
  53. package/dist/data/agents.d.ts +2 -1
  54. package/dist/data/agents.js +25 -10
  55. package/dist/data/agents.js.map +1 -1
  56. package/dist/data/categories.js +2 -1
  57. package/dist/data/categories.js.map +1 -1
  58. package/dist/hooks/chat-params.d.ts +2 -0
  59. package/dist/hooks/chat-params.js +182 -16
  60. package/dist/hooks/chat-params.js.map +1 -1
  61. package/dist/hooks/config.d.ts +14 -2
  62. package/dist/hooks/config.js +538 -60
  63. package/dist/hooks/config.js.map +1 -1
  64. package/dist/hooks/event.d.ts +3 -11
  65. package/dist/hooks/event.js +5 -9
  66. package/dist/hooks/event.js.map +1 -1
  67. package/dist/index.js +21 -14
  68. package/dist/index.js.map +1 -1
  69. package/dist/intent/model-family.d.ts +2 -0
  70. package/dist/intent/model-family.js +11 -0
  71. package/dist/intent/model-family.js.map +1 -1
  72. package/dist/intent/prompt-loader.d.ts +3 -3
  73. package/dist/intent/prompt-loader.js +3 -3
  74. package/dist/permissions/index.d.ts +3 -0
  75. package/dist/permissions/index.js +43 -28
  76. package/dist/permissions/index.js.map +1 -1
  77. package/dist/review-agents/expand.d.ts +36 -0
  78. package/dist/review-agents/expand.js +157 -0
  79. package/dist/review-agents/expand.js.map +1 -0
  80. package/dist/review-agents/names.d.ts +16 -0
  81. package/dist/review-agents/names.js +55 -0
  82. package/dist/review-agents/names.js.map +1 -0
  83. package/dist/routing/effective-route.d.ts +19 -0
  84. package/dist/routing/effective-route.js +133 -0
  85. package/dist/routing/effective-route.js.map +1 -0
  86. package/dist/routing/model-upgrades.d.ts +5 -0
  87. package/dist/routing/model-upgrades.js +59 -11
  88. package/dist/routing/model-upgrades.js.map +1 -1
  89. package/dist/routing/resolver.d.ts +8 -1
  90. package/dist/routing/resolver.js +29 -9
  91. package/dist/routing/resolver.js.map +1 -1
  92. package/dist/routing/route-registry.d.ts +13 -0
  93. package/dist/routing/route-registry.js +84 -0
  94. package/dist/routing/route-registry.js.map +1 -0
  95. package/dist/routing/variant-translator.js +7 -4
  96. package/dist/routing/variant-translator.js.map +1 -1
  97. package/dist/runtime-fallback/dispatcher.d.ts +1 -0
  98. package/dist/runtime-fallback/dispatcher.js +7 -5
  99. package/dist/runtime-fallback/dispatcher.js.map +1 -1
  100. package/dist/runtime-fallback/error-classifier.d.ts +3 -1
  101. package/dist/runtime-fallback/error-classifier.js +135 -1
  102. package/dist/runtime-fallback/error-classifier.js.map +1 -1
  103. package/dist/runtime-fallback/event-handler-generic-fallback.d.ts +26 -0
  104. package/dist/runtime-fallback/event-handler-generic-fallback.js +54 -0
  105. package/dist/runtime-fallback/event-handler-generic-fallback.js.map +1 -0
  106. package/dist/runtime-fallback/event-handler-idle-continuation.d.ts +9 -0
  107. package/dist/runtime-fallback/event-handler-idle-continuation.js +48 -0
  108. package/dist/runtime-fallback/event-handler-idle-continuation.js.map +1 -0
  109. package/dist/runtime-fallback/event-handler-support.d.ts +39 -0
  110. package/dist/runtime-fallback/event-handler-support.js +194 -0
  111. package/dist/runtime-fallback/event-handler-support.js.map +1 -0
  112. package/dist/runtime-fallback/event-handler-test-fixtures.d.ts +874 -0
  113. package/dist/runtime-fallback/event-handler-test-fixtures.js +150 -0
  114. package/dist/runtime-fallback/event-handler-test-fixtures.js.map +1 -0
  115. package/dist/runtime-fallback/event-handler.d.ts +13 -1
  116. package/dist/runtime-fallback/event-handler.js +334 -192
  117. package/dist/runtime-fallback/event-handler.js.map +1 -1
  118. package/dist/runtime-fallback/fallback-state.d.ts +8 -5
  119. package/dist/runtime-fallback/fallback-state.js +9 -6
  120. package/dist/runtime-fallback/fallback-state.js.map +1 -1
  121. package/dist/runtime-fallback/index.d.ts +21 -1
  122. package/dist/runtime-fallback/index.js +7 -1
  123. package/dist/runtime-fallback/index.js.map +1 -1
  124. package/dist/runtime-fallback/interruption-output-adapter.d.ts +7 -0
  125. package/dist/runtime-fallback/interruption-output-adapter.js +91 -0
  126. package/dist/runtime-fallback/interruption-output-adapter.js.map +1 -0
  127. package/dist/runtime-fallback/subagent-429-controller-fixture.d.ts +105 -0
  128. package/dist/runtime-fallback/subagent-429-controller-fixture.js +116 -0
  129. package/dist/runtime-fallback/subagent-429-controller-fixture.js.map +1 -0
  130. package/dist/runtime-fallback/subagent-429-controller.d.ts +167 -0
  131. package/dist/runtime-fallback/subagent-429-controller.js +334 -0
  132. package/dist/runtime-fallback/subagent-429-controller.js.map +1 -0
  133. package/dist/runtime-fallback/subagent-429-policy.d.ts +13 -0
  134. package/dist/runtime-fallback/subagent-429-policy.js +37 -0
  135. package/dist/runtime-fallback/subagent-429-policy.js.map +1 -0
  136. package/dist/runtime-fallback/subagent-429-session.d.ts +48 -0
  137. package/dist/runtime-fallback/subagent-429-session.js +316 -0
  138. package/dist/runtime-fallback/subagent-429-session.js.map +1 -0
  139. package/dist/shared/opencode-events.d.ts +22 -0
  140. package/dist/shared/opencode-events.js +75 -0
  141. package/dist/shared/opencode-events.js.map +1 -0
  142. package/dist/shared/types.d.ts +12 -1
  143. package/package.json +1 -1
  144. package/plugins/deepwork/.codex-plugin/plugin.json +1 -1
  145. package/plugins/deepwork/README.md +3 -2
  146. package/plugins/deepwork/agents/dw-builder.toml +3 -3
  147. package/plugins/deepwork/agents/dw-clarifier.toml +2 -2
  148. package/plugins/deepwork/agents/dw-code-search.toml +2 -2
  149. package/plugins/deepwork/agents/dw-coding.toml +2 -2
  150. package/plugins/deepwork/agents/dw-complex.toml +2 -2
  151. package/plugins/deepwork/agents/dw-creative.toml +2 -2
  152. package/plugins/deepwork/agents/dw-deep.toml +3 -3
  153. package/plugins/deepwork/agents/dw-doc-search.toml +2 -2
  154. package/plugins/deepwork/agents/dw-documenting.toml +2 -2
  155. package/plugins/deepwork/agents/dw-explore.toml +2 -2
  156. package/plugins/deepwork/agents/dw-frontend.toml +2 -2
  157. package/plugins/deepwork/agents/dw-hard-reasoning.toml +2 -2
  158. package/plugins/deepwork/agents/dw-media-reader.toml +2 -2
  159. package/plugins/deepwork/agents/dw-normal-task.toml +2 -2
  160. package/plugins/deepwork/agents/dw-oracle-2nd.toml +8 -0
  161. package/plugins/deepwork/agents/dw-oracle.toml +3 -3
  162. package/plugins/deepwork/agents/dw-orchestrator.toml +2 -2
  163. package/plugins/deepwork/agents/dw-plan-critic.toml +2 -2
  164. package/plugins/deepwork/agents/dw-planner.toml +3 -3
  165. package/plugins/deepwork/agents/dw-quick.toml +2 -2
  166. package/plugins/deepwork/agents/dw-research.toml +2 -2
  167. package/plugins/deepwork/agents/dw-reviewer.toml +2 -2
  168. package/plugins/deepwork/dist/cli/shim.d.ts +4 -2
  169. package/plugins/deepwork/dist/cli/shim.js +26 -11
  170. package/plugins/deepwork/dist/cli/shim.js.map +1 -1
  171. package/plugins/deepwork/dist/shared/opencode-events.d.ts +22 -0
  172. package/plugins/deepwork/dist/shared/opencode-events.js +75 -0
  173. package/plugins/deepwork/dist/shared/opencode-events.js.map +1 -0
  174. package/plugins/deepwork/dist/shared/types.d.ts +12 -1
  175. package/plugins/deepwork/package.json +1 -1
  176. package/plugins/deepwork/skills/deepwork/SKILL.md +74 -58
  177. package/plugins/deepwork/skills/deepwork-requesting-code-review/SKILL.md +53 -27
  178. package/plugins/deepwork/skills/deepwork-requesting-code-review/code-reviewer.md +11 -7
  179. package/plugins/deepwork/skills/deepwork-subagent-driven-development/SKILL.md +34 -21
  180. package/plugins/deepwork/skills/deepwork-subagent-driven-development/implementer-prompt.md +10 -3
  181. package/prompts/codex/agents/clarifier.md +4 -0
  182. package/prompts/codex/agents/orchestrator.md +12 -2
  183. package/prompts/codex/agents/plan-critic.md +4 -0
  184. package/prompts/codex/agents/planner.md +15 -10
  185. package/prompts/codex/agents/reviewer.md +8 -2
  186. package/prompts/codex/deepwork/gpt-5.6.md +20 -37
  187. package/prompts/omo/agents/clarifier.md +4 -0
  188. package/prompts/omo/agents/orchestrator.md +11 -0
  189. package/prompts/omo/agents/plan-critic.md +4 -0
  190. package/prompts/omo/agents/planner.md +15 -3
  191. package/prompts/omo/agents/reviewer.md +8 -2
  192. package/prompts/omo/deepwork/gpt-5.6.md +20 -37
  193. package/prompts/v1/agents/clarifier.md +4 -0
  194. package/prompts/v1/agents/orchestrator.md +12 -2
  195. package/prompts/v1/agents/plan-critic.md +4 -0
  196. package/prompts/v1/agents/planner.md +15 -10
  197. package/prompts/v1/agents/reviewer.md +8 -2
  198. package/prompts/v1/deepwork/gpt-5.6.md +20 -37
  199. package/skills/v1/requesting-code-review/SKILL.md +53 -27
  200. package/skills/v1/requesting-code-review/code-reviewer.md +11 -7
  201. package/skills/v1/subagent-driven-development/SKILL.md +34 -21
  202. package/skills/v1/subagent-driven-development/implementer-prompt.md +10 -3
@@ -1,19 +1,693 @@
1
1
  import { z } from "zod";
2
+ export declare const VariantEnum: z.ZodEnum<{
3
+ low: "low";
4
+ high: "high";
5
+ max: "max";
6
+ medium: "medium";
7
+ xhigh: "xhigh";
8
+ minimal: "minimal";
9
+ none: "none";
10
+ auto: "auto";
11
+ thinking: "thinking";
12
+ }>;
2
13
  export declare const FallbackEntrySchema: z.ZodObject<{
3
14
  providers: z.ZodArray<z.ZodString>;
4
15
  model: z.ZodString;
5
16
  variant: z.ZodOptional<z.ZodEnum<{
6
17
  low: "low";
18
+ high: "high";
19
+ max: "max";
7
20
  medium: "medium";
21
+ xhigh: "xhigh";
22
+ minimal: "minimal";
23
+ none: "none";
24
+ auto: "auto";
25
+ thinking: "thinking";
26
+ }>>;
27
+ reasoningEffort: z.ZodOptional<z.ZodString>;
28
+ temperature: z.ZodOptional<z.ZodNumber>;
29
+ topP: z.ZodOptional<z.ZodNumber>;
30
+ maxTokens: z.ZodOptional<z.ZodNumber>;
31
+ thinking: z.ZodOptional<z.ZodObject<{
32
+ type: z.ZodEnum<{
33
+ enabled: "enabled";
34
+ disabled: "disabled";
35
+ }>;
36
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>;
39
+ export declare const ModelRequirementSchema: z.ZodObject<{
40
+ fallbackChain: z.ZodArray<z.ZodObject<{
41
+ providers: z.ZodArray<z.ZodString>;
42
+ model: z.ZodString;
43
+ variant: z.ZodOptional<z.ZodEnum<{
44
+ low: "low";
45
+ high: "high";
46
+ max: "max";
47
+ medium: "medium";
48
+ xhigh: "xhigh";
49
+ minimal: "minimal";
50
+ none: "none";
51
+ auto: "auto";
52
+ thinking: "thinking";
53
+ }>>;
54
+ reasoningEffort: z.ZodOptional<z.ZodString>;
55
+ temperature: z.ZodOptional<z.ZodNumber>;
56
+ topP: z.ZodOptional<z.ZodNumber>;
57
+ maxTokens: z.ZodOptional<z.ZodNumber>;
58
+ thinking: z.ZodOptional<z.ZodObject<{
59
+ type: z.ZodEnum<{
60
+ enabled: "enabled";
61
+ disabled: "disabled";
62
+ }>;
63
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strip>>;
66
+ variant: z.ZodOptional<z.ZodEnum<{
67
+ low: "low";
8
68
  high: "high";
69
+ max: "max";
70
+ medium: "medium";
9
71
  xhigh: "xhigh";
72
+ minimal: "minimal";
73
+ none: "none";
74
+ auto: "auto";
75
+ thinking: "thinking";
76
+ }>>;
77
+ requiresModel: z.ZodOptional<z.ZodString>;
78
+ requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
79
+ requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
+ }, z.core.$strip>;
81
+ declare const HOOK_NAMES: readonly ["directory-readme-injector", "directory-agents-injector", "rules-injector", "write-existing-file-guard", "notepad-write-guard", "bash-file-read-guard", "bash-file-write-guard", "question-label-truncator", "tasks-todowrite-disabler", "webfetch-redirect-guard", "empty-task-response-detector", "comment-checker", "plan-format-validator", "read-image-resizer", "json-error-recovery", "fsync-skip-warning", "tool-output-truncator", "todo-description-override", "commit-guard-injector", "subagent-git-guard", "subagent-depth-guard", "subagent-interruption-recovery"];
82
+ export type HookName = (typeof HOOK_NAMES)[number];
83
+ export type AgentName = (typeof AGENT_NAMES)[number];
84
+ export type CommandName = (typeof COMMAND_NAMES)[number];
85
+ declare const AGENT_NAMES: readonly ["orchestrator", "builder", "reviewer", "oracle", "oracle-2nd", "oracle-3rd", "oracle-4th", "oracle-5th", "oracle-6th", "oracle-7th", "oracle-8th", "oracle-9th", "doc-search", "code-search", "planner", "clarifier", "plan-critic", "media-reader", "frontend", "creative", "hard-reasoning", "research", "quick", "coding", "normal-task", "complex", "deep", "documenting"];
86
+ declare const COMMAND_NAMES: readonly ["ralph-loop", "audit-loop", "dwloop", "idle-continuation"];
87
+ export declare const FastModelsConfigSchema: z.ZodDefault<z.ZodObject<{
88
+ providers: z.ZodDefault<z.ZodArray<z.ZodString>>;
89
+ mappings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
90
+ }, z.core.$strict>>;
91
+ export declare const SkillSourceEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
92
+ path: z.ZodString;
93
+ recursive: z.ZodDefault<z.ZodBoolean>;
94
+ glob: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strip>]>;
96
+ export declare const SkillsConfigSchema: z.ZodDefault<z.ZodObject<{
97
+ sources: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
98
+ path: z.ZodString;
99
+ recursive: z.ZodDefault<z.ZodBoolean>;
100
+ glob: z.ZodOptional<z.ZodString>;
101
+ }, z.core.$strip>]>>>;
102
+ enable: z.ZodDefault<z.ZodArray<z.ZodString>>;
103
+ disable: z.ZodDefault<z.ZodArray<z.ZodString>>;
104
+ }, z.core.$strip>>;
105
+ export declare const CategoryEntrySchema: z.ZodObject<{
106
+ description: z.ZodOptional<z.ZodString>;
107
+ alias: z.ZodOptional<z.ZodString>;
108
+ variant: z.ZodOptional<z.ZodEnum<{
109
+ low: "low";
110
+ high: "high";
10
111
  max: "max";
112
+ medium: "medium";
113
+ xhigh: "xhigh";
11
114
  minimal: "minimal";
12
115
  none: "none";
13
116
  auto: "auto";
14
117
  thinking: "thinking";
15
118
  }>>;
16
- reasoningEffort: z.ZodOptional<z.ZodString>;
119
+ model: z.ZodOptional<z.ZodString>;
120
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
121
+ providers: z.ZodArray<z.ZodString>;
122
+ model: z.ZodString;
123
+ variant: z.ZodOptional<z.ZodEnum<{
124
+ low: "low";
125
+ high: "high";
126
+ max: "max";
127
+ medium: "medium";
128
+ xhigh: "xhigh";
129
+ minimal: "minimal";
130
+ none: "none";
131
+ auto: "auto";
132
+ thinking: "thinking";
133
+ }>>;
134
+ reasoningEffort: z.ZodOptional<z.ZodString>;
135
+ temperature: z.ZodOptional<z.ZodNumber>;
136
+ topP: z.ZodOptional<z.ZodNumber>;
137
+ maxTokens: z.ZodOptional<z.ZodNumber>;
138
+ thinking: z.ZodOptional<z.ZodObject<{
139
+ type: z.ZodEnum<{
140
+ enabled: "enabled";
141
+ disabled: "disabled";
142
+ }>;
143
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
144
+ }, z.core.$strip>>;
145
+ }, z.core.$strip>]>>>;
146
+ requirement: z.ZodOptional<z.ZodObject<{
147
+ fallbackChain: z.ZodArray<z.ZodObject<{
148
+ providers: z.ZodArray<z.ZodString>;
149
+ model: z.ZodString;
150
+ variant: z.ZodOptional<z.ZodEnum<{
151
+ low: "low";
152
+ high: "high";
153
+ max: "max";
154
+ medium: "medium";
155
+ xhigh: "xhigh";
156
+ minimal: "minimal";
157
+ none: "none";
158
+ auto: "auto";
159
+ thinking: "thinking";
160
+ }>>;
161
+ reasoningEffort: z.ZodOptional<z.ZodString>;
162
+ temperature: z.ZodOptional<z.ZodNumber>;
163
+ topP: z.ZodOptional<z.ZodNumber>;
164
+ maxTokens: z.ZodOptional<z.ZodNumber>;
165
+ thinking: z.ZodOptional<z.ZodObject<{
166
+ type: z.ZodEnum<{
167
+ enabled: "enabled";
168
+ disabled: "disabled";
169
+ }>;
170
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
171
+ }, z.core.$strip>>;
172
+ }, z.core.$strip>>;
173
+ variant: z.ZodOptional<z.ZodEnum<{
174
+ low: "low";
175
+ high: "high";
176
+ max: "max";
177
+ medium: "medium";
178
+ xhigh: "xhigh";
179
+ minimal: "minimal";
180
+ none: "none";
181
+ auto: "auto";
182
+ thinking: "thinking";
183
+ }>>;
184
+ requiresModel: z.ZodOptional<z.ZodString>;
185
+ requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
186
+ requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strip>;
189
+ /**
190
+ * Logical review-tier override for a canonical Oracle/Reviewer normal slot.
191
+ *
192
+ * - A string materializes the native variant for that tier.
193
+ * - An object may override `model` and/or `variant`; at least one is required.
194
+ * `normal` is not a tier key (the unsuffixed slot IS normal).
195
+ */
196
+ export declare const ReviewVariantOverrideSchema: z.ZodUnion<readonly [z.ZodEnum<{
197
+ low: "low";
198
+ high: "high";
199
+ max: "max";
200
+ medium: "medium";
201
+ xhigh: "xhigh";
202
+ minimal: "minimal";
203
+ none: "none";
204
+ auto: "auto";
205
+ thinking: "thinking";
206
+ }>, z.ZodObject<{
207
+ model: z.ZodString;
208
+ variant: z.ZodOptional<z.ZodEnum<{
209
+ low: "low";
210
+ high: "high";
211
+ max: "max";
212
+ medium: "medium";
213
+ xhigh: "xhigh";
214
+ minimal: "minimal";
215
+ none: "none";
216
+ auto: "auto";
217
+ thinking: "thinking";
218
+ }>>;
219
+ }, z.core.$strict>, z.ZodObject<{
220
+ variant: z.ZodEnum<{
221
+ low: "low";
222
+ high: "high";
223
+ max: "max";
224
+ medium: "medium";
225
+ xhigh: "xhigh";
226
+ minimal: "minimal";
227
+ none: "none";
228
+ auto: "auto";
229
+ thinking: "thinking";
230
+ }>;
231
+ }, z.core.$strict>]>;
232
+ export declare const ReviewVariantsSchema: z.ZodObject<{
233
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
234
+ low: "low";
235
+ high: "high";
236
+ max: "max";
237
+ medium: "medium";
238
+ xhigh: "xhigh";
239
+ minimal: "minimal";
240
+ none: "none";
241
+ auto: "auto";
242
+ thinking: "thinking";
243
+ }>, z.ZodObject<{
244
+ model: z.ZodString;
245
+ variant: z.ZodOptional<z.ZodEnum<{
246
+ low: "low";
247
+ high: "high";
248
+ max: "max";
249
+ medium: "medium";
250
+ xhigh: "xhigh";
251
+ minimal: "minimal";
252
+ none: "none";
253
+ auto: "auto";
254
+ thinking: "thinking";
255
+ }>>;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ variant: z.ZodEnum<{
258
+ low: "low";
259
+ high: "high";
260
+ max: "max";
261
+ medium: "medium";
262
+ xhigh: "xhigh";
263
+ minimal: "minimal";
264
+ none: "none";
265
+ auto: "auto";
266
+ thinking: "thinking";
267
+ }>;
268
+ }, z.core.$strict>]>>;
269
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
270
+ low: "low";
271
+ high: "high";
272
+ max: "max";
273
+ medium: "medium";
274
+ xhigh: "xhigh";
275
+ minimal: "minimal";
276
+ none: "none";
277
+ auto: "auto";
278
+ thinking: "thinking";
279
+ }>, z.ZodObject<{
280
+ model: z.ZodString;
281
+ variant: z.ZodOptional<z.ZodEnum<{
282
+ low: "low";
283
+ high: "high";
284
+ max: "max";
285
+ medium: "medium";
286
+ xhigh: "xhigh";
287
+ minimal: "minimal";
288
+ none: "none";
289
+ auto: "auto";
290
+ thinking: "thinking";
291
+ }>>;
292
+ }, z.core.$strict>, z.ZodObject<{
293
+ variant: z.ZodEnum<{
294
+ low: "low";
295
+ high: "high";
296
+ max: "max";
297
+ medium: "medium";
298
+ xhigh: "xhigh";
299
+ minimal: "minimal";
300
+ none: "none";
301
+ auto: "auto";
302
+ thinking: "thinking";
303
+ }>;
304
+ }, z.core.$strict>]>>;
305
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
306
+ low: "low";
307
+ high: "high";
308
+ max: "max";
309
+ medium: "medium";
310
+ xhigh: "xhigh";
311
+ minimal: "minimal";
312
+ none: "none";
313
+ auto: "auto";
314
+ thinking: "thinking";
315
+ }>, z.ZodObject<{
316
+ model: z.ZodString;
317
+ variant: z.ZodOptional<z.ZodEnum<{
318
+ low: "low";
319
+ high: "high";
320
+ max: "max";
321
+ medium: "medium";
322
+ xhigh: "xhigh";
323
+ minimal: "minimal";
324
+ none: "none";
325
+ auto: "auto";
326
+ thinking: "thinking";
327
+ }>>;
328
+ }, z.core.$strict>, z.ZodObject<{
329
+ variant: z.ZodEnum<{
330
+ low: "low";
331
+ high: "high";
332
+ max: "max";
333
+ medium: "medium";
334
+ xhigh: "xhigh";
335
+ minimal: "minimal";
336
+ none: "none";
337
+ auto: "auto";
338
+ thinking: "thinking";
339
+ }>;
340
+ }, z.core.$strict>]>>;
341
+ }, z.core.$strict>;
342
+ export type ReviewVariantOverride = z.infer<typeof ReviewVariantOverrideSchema>;
343
+ export type ReviewVariants = z.infer<typeof ReviewVariantsSchema>;
344
+ export declare const AgentEntrySchema: z.ZodObject<{
345
+ variants: z.ZodOptional<z.ZodObject<{
346
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
347
+ low: "low";
348
+ high: "high";
349
+ max: "max";
350
+ medium: "medium";
351
+ xhigh: "xhigh";
352
+ minimal: "minimal";
353
+ none: "none";
354
+ auto: "auto";
355
+ thinking: "thinking";
356
+ }>, z.ZodObject<{
357
+ model: z.ZodString;
358
+ variant: z.ZodOptional<z.ZodEnum<{
359
+ low: "low";
360
+ high: "high";
361
+ max: "max";
362
+ medium: "medium";
363
+ xhigh: "xhigh";
364
+ minimal: "minimal";
365
+ none: "none";
366
+ auto: "auto";
367
+ thinking: "thinking";
368
+ }>>;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ variant: z.ZodEnum<{
371
+ low: "low";
372
+ high: "high";
373
+ max: "max";
374
+ medium: "medium";
375
+ xhigh: "xhigh";
376
+ minimal: "minimal";
377
+ none: "none";
378
+ auto: "auto";
379
+ thinking: "thinking";
380
+ }>;
381
+ }, z.core.$strict>]>>;
382
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
383
+ low: "low";
384
+ high: "high";
385
+ max: "max";
386
+ medium: "medium";
387
+ xhigh: "xhigh";
388
+ minimal: "minimal";
389
+ none: "none";
390
+ auto: "auto";
391
+ thinking: "thinking";
392
+ }>, z.ZodObject<{
393
+ model: z.ZodString;
394
+ variant: z.ZodOptional<z.ZodEnum<{
395
+ low: "low";
396
+ high: "high";
397
+ max: "max";
398
+ medium: "medium";
399
+ xhigh: "xhigh";
400
+ minimal: "minimal";
401
+ none: "none";
402
+ auto: "auto";
403
+ thinking: "thinking";
404
+ }>>;
405
+ }, z.core.$strict>, z.ZodObject<{
406
+ variant: z.ZodEnum<{
407
+ low: "low";
408
+ high: "high";
409
+ max: "max";
410
+ medium: "medium";
411
+ xhigh: "xhigh";
412
+ minimal: "minimal";
413
+ none: "none";
414
+ auto: "auto";
415
+ thinking: "thinking";
416
+ }>;
417
+ }, z.core.$strict>]>>;
418
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
419
+ low: "low";
420
+ high: "high";
421
+ max: "max";
422
+ medium: "medium";
423
+ xhigh: "xhigh";
424
+ minimal: "minimal";
425
+ none: "none";
426
+ auto: "auto";
427
+ thinking: "thinking";
428
+ }>, z.ZodObject<{
429
+ model: z.ZodString;
430
+ variant: z.ZodOptional<z.ZodEnum<{
431
+ low: "low";
432
+ high: "high";
433
+ max: "max";
434
+ medium: "medium";
435
+ xhigh: "xhigh";
436
+ minimal: "minimal";
437
+ none: "none";
438
+ auto: "auto";
439
+ thinking: "thinking";
440
+ }>>;
441
+ }, z.core.$strict>, z.ZodObject<{
442
+ variant: z.ZodEnum<{
443
+ low: "low";
444
+ high: "high";
445
+ max: "max";
446
+ medium: "medium";
447
+ xhigh: "xhigh";
448
+ minimal: "minimal";
449
+ none: "none";
450
+ auto: "auto";
451
+ thinking: "thinking";
452
+ }>;
453
+ }, z.core.$strict>]>>;
454
+ }, z.core.$strict>>;
455
+ disabled: z.ZodOptional<z.ZodBoolean>;
456
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
457
+ permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
458
+ ask: "ask";
459
+ allow: "allow";
460
+ deny: "deny";
461
+ }>>>;
462
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
463
+ promptAppend: z.ZodOptional<z.ZodString>;
464
+ temperature: z.ZodOptional<z.ZodNumber>;
465
+ topP: z.ZodOptional<z.ZodNumber>;
466
+ maxTokens: z.ZodOptional<z.ZodNumber>;
467
+ thinking: z.ZodOptional<z.ZodObject<{
468
+ type: z.ZodEnum<{
469
+ enabled: "enabled";
470
+ disabled: "disabled";
471
+ }>;
472
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
473
+ }, z.core.$strip>>;
474
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
475
+ low: "low";
476
+ high: "high";
477
+ max: "max";
478
+ medium: "medium";
479
+ xhigh: "xhigh";
480
+ minimal: "minimal";
481
+ none: "none";
482
+ }>>;
483
+ description: z.ZodOptional<z.ZodString>;
484
+ alias: z.ZodOptional<z.ZodString>;
485
+ variant: z.ZodOptional<z.ZodEnum<{
486
+ low: "low";
487
+ high: "high";
488
+ max: "max";
489
+ medium: "medium";
490
+ xhigh: "xhigh";
491
+ minimal: "minimal";
492
+ none: "none";
493
+ auto: "auto";
494
+ thinking: "thinking";
495
+ }>>;
496
+ model: z.ZodOptional<z.ZodString>;
497
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
498
+ providers: z.ZodArray<z.ZodString>;
499
+ model: z.ZodString;
500
+ variant: z.ZodOptional<z.ZodEnum<{
501
+ low: "low";
502
+ high: "high";
503
+ max: "max";
504
+ medium: "medium";
505
+ xhigh: "xhigh";
506
+ minimal: "minimal";
507
+ none: "none";
508
+ auto: "auto";
509
+ thinking: "thinking";
510
+ }>>;
511
+ reasoningEffort: z.ZodOptional<z.ZodString>;
512
+ temperature: z.ZodOptional<z.ZodNumber>;
513
+ topP: z.ZodOptional<z.ZodNumber>;
514
+ maxTokens: z.ZodOptional<z.ZodNumber>;
515
+ thinking: z.ZodOptional<z.ZodObject<{
516
+ type: z.ZodEnum<{
517
+ enabled: "enabled";
518
+ disabled: "disabled";
519
+ }>;
520
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
521
+ }, z.core.$strip>>;
522
+ }, z.core.$strip>]>>>;
523
+ requirement: z.ZodOptional<z.ZodObject<{
524
+ fallbackChain: z.ZodArray<z.ZodObject<{
525
+ providers: z.ZodArray<z.ZodString>;
526
+ model: z.ZodString;
527
+ variant: z.ZodOptional<z.ZodEnum<{
528
+ low: "low";
529
+ high: "high";
530
+ max: "max";
531
+ medium: "medium";
532
+ xhigh: "xhigh";
533
+ minimal: "minimal";
534
+ none: "none";
535
+ auto: "auto";
536
+ thinking: "thinking";
537
+ }>>;
538
+ reasoningEffort: z.ZodOptional<z.ZodString>;
539
+ temperature: z.ZodOptional<z.ZodNumber>;
540
+ topP: z.ZodOptional<z.ZodNumber>;
541
+ maxTokens: z.ZodOptional<z.ZodNumber>;
542
+ thinking: z.ZodOptional<z.ZodObject<{
543
+ type: z.ZodEnum<{
544
+ enabled: "enabled";
545
+ disabled: "disabled";
546
+ }>;
547
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
548
+ }, z.core.$strip>>;
549
+ }, z.core.$strip>>;
550
+ variant: z.ZodOptional<z.ZodEnum<{
551
+ low: "low";
552
+ high: "high";
553
+ max: "max";
554
+ medium: "medium";
555
+ xhigh: "xhigh";
556
+ minimal: "minimal";
557
+ none: "none";
558
+ auto: "auto";
559
+ thinking: "thinking";
560
+ }>>;
561
+ requiresModel: z.ZodOptional<z.ZodString>;
562
+ requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
563
+ requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
+ }, z.core.$strip>>;
565
+ }, z.core.$strip>;
566
+ /**
567
+ * Declarative `agents` map schema used for JSON-schema generation. The
568
+ * runtime schema below adds cross-entry review-agent constraints that JSON
569
+ * Schema cannot express.
570
+ */
571
+ export declare const AgentsConfigSchemaForJsonSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
572
+ variants: z.ZodOptional<z.ZodObject<{
573
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
574
+ low: "low";
575
+ high: "high";
576
+ max: "max";
577
+ medium: "medium";
578
+ xhigh: "xhigh";
579
+ minimal: "minimal";
580
+ none: "none";
581
+ auto: "auto";
582
+ thinking: "thinking";
583
+ }>, z.ZodObject<{
584
+ model: z.ZodString;
585
+ variant: z.ZodOptional<z.ZodEnum<{
586
+ low: "low";
587
+ high: "high";
588
+ max: "max";
589
+ medium: "medium";
590
+ xhigh: "xhigh";
591
+ minimal: "minimal";
592
+ none: "none";
593
+ auto: "auto";
594
+ thinking: "thinking";
595
+ }>>;
596
+ }, z.core.$strict>, z.ZodObject<{
597
+ variant: z.ZodEnum<{
598
+ low: "low";
599
+ high: "high";
600
+ max: "max";
601
+ medium: "medium";
602
+ xhigh: "xhigh";
603
+ minimal: "minimal";
604
+ none: "none";
605
+ auto: "auto";
606
+ thinking: "thinking";
607
+ }>;
608
+ }, z.core.$strict>]>>;
609
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
610
+ low: "low";
611
+ high: "high";
612
+ max: "max";
613
+ medium: "medium";
614
+ xhigh: "xhigh";
615
+ minimal: "minimal";
616
+ none: "none";
617
+ auto: "auto";
618
+ thinking: "thinking";
619
+ }>, z.ZodObject<{
620
+ model: z.ZodString;
621
+ variant: z.ZodOptional<z.ZodEnum<{
622
+ low: "low";
623
+ high: "high";
624
+ max: "max";
625
+ medium: "medium";
626
+ xhigh: "xhigh";
627
+ minimal: "minimal";
628
+ none: "none";
629
+ auto: "auto";
630
+ thinking: "thinking";
631
+ }>>;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ variant: z.ZodEnum<{
634
+ low: "low";
635
+ high: "high";
636
+ max: "max";
637
+ medium: "medium";
638
+ xhigh: "xhigh";
639
+ minimal: "minimal";
640
+ none: "none";
641
+ auto: "auto";
642
+ thinking: "thinking";
643
+ }>;
644
+ }, z.core.$strict>]>>;
645
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
646
+ low: "low";
647
+ high: "high";
648
+ max: "max";
649
+ medium: "medium";
650
+ xhigh: "xhigh";
651
+ minimal: "minimal";
652
+ none: "none";
653
+ auto: "auto";
654
+ thinking: "thinking";
655
+ }>, z.ZodObject<{
656
+ model: z.ZodString;
657
+ variant: z.ZodOptional<z.ZodEnum<{
658
+ low: "low";
659
+ high: "high";
660
+ max: "max";
661
+ medium: "medium";
662
+ xhigh: "xhigh";
663
+ minimal: "minimal";
664
+ none: "none";
665
+ auto: "auto";
666
+ thinking: "thinking";
667
+ }>>;
668
+ }, z.core.$strict>, z.ZodObject<{
669
+ variant: z.ZodEnum<{
670
+ low: "low";
671
+ high: "high";
672
+ max: "max";
673
+ medium: "medium";
674
+ xhigh: "xhigh";
675
+ minimal: "minimal";
676
+ none: "none";
677
+ auto: "auto";
678
+ thinking: "thinking";
679
+ }>;
680
+ }, z.core.$strict>]>>;
681
+ }, z.core.$strict>>;
682
+ disabled: z.ZodOptional<z.ZodBoolean>;
683
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
684
+ permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
685
+ ask: "ask";
686
+ allow: "allow";
687
+ deny: "deny";
688
+ }>>>;
689
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
690
+ promptAppend: z.ZodOptional<z.ZodString>;
17
691
  temperature: z.ZodOptional<z.ZodNumber>;
18
692
  topP: z.ZodOptional<z.ZodNumber>;
19
693
  maxTokens: z.ZodOptional<z.ZodNumber>;
@@ -24,78 +698,23 @@ export declare const FallbackEntrySchema: z.ZodObject<{
24
698
  }>;
25
699
  budgetTokens: z.ZodOptional<z.ZodNumber>;
26
700
  }, z.core.$strip>>;
27
- }, z.core.$strip>;
28
- export declare const ModelRequirementSchema: z.ZodObject<{
29
- fallbackChain: z.ZodArray<z.ZodObject<{
30
- providers: z.ZodArray<z.ZodString>;
31
- model: z.ZodString;
32
- variant: z.ZodOptional<z.ZodEnum<{
33
- low: "low";
34
- medium: "medium";
35
- high: "high";
36
- xhigh: "xhigh";
37
- max: "max";
38
- minimal: "minimal";
39
- none: "none";
40
- auto: "auto";
41
- thinking: "thinking";
42
- }>>;
43
- reasoningEffort: z.ZodOptional<z.ZodString>;
44
- temperature: z.ZodOptional<z.ZodNumber>;
45
- topP: z.ZodOptional<z.ZodNumber>;
46
- maxTokens: z.ZodOptional<z.ZodNumber>;
47
- thinking: z.ZodOptional<z.ZodObject<{
48
- type: z.ZodEnum<{
49
- enabled: "enabled";
50
- disabled: "disabled";
51
- }>;
52
- budgetTokens: z.ZodOptional<z.ZodNumber>;
53
- }, z.core.$strip>>;
54
- }, z.core.$strip>>;
55
- variant: z.ZodOptional<z.ZodEnum<{
701
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
56
702
  low: "low";
57
- medium: "medium";
58
703
  high: "high";
59
- xhigh: "xhigh";
60
704
  max: "max";
705
+ medium: "medium";
706
+ xhigh: "xhigh";
61
707
  minimal: "minimal";
62
708
  none: "none";
63
- auto: "auto";
64
- thinking: "thinking";
65
709
  }>>;
66
- requiresModel: z.ZodOptional<z.ZodString>;
67
- requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
68
- requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
- }, z.core.$strip>;
70
- declare const HOOK_NAMES: readonly ["directory-readme-injector", "directory-agents-injector", "rules-injector", "write-existing-file-guard", "notepad-write-guard", "bash-file-read-guard", "bash-file-write-guard", "question-label-truncator", "tasks-todowrite-disabler", "webfetch-redirect-guard", "empty-task-response-detector", "comment-checker", "plan-format-validator", "read-image-resizer", "json-error-recovery", "fsync-skip-warning", "tool-output-truncator", "todo-description-override", "commit-guard-injector", "subagent-git-guard", "subagent-depth-guard"];
71
- export type HookName = (typeof HOOK_NAMES)[number];
72
- export type AgentName = (typeof AGENT_NAMES)[number];
73
- export type CommandName = (typeof COMMAND_NAMES)[number];
74
- declare const AGENT_NAMES: readonly ["orchestrator", "builder", "reviewer", "oracle", "doc-search", "code-search", "planner", "clarifier", "plan-critic", "media-reader", "frontend", "creative", "hard-reasoning", "research", "quick", "coding", "normal-task", "complex", "deep", "documenting"];
75
- declare const COMMAND_NAMES: readonly ["ralph-loop", "audit-loop", "dwloop", "idle-continuation"];
76
- export declare const SkillSourceEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
77
- path: z.ZodString;
78
- recursive: z.ZodDefault<z.ZodBoolean>;
79
- glob: z.ZodOptional<z.ZodString>;
80
- }, z.core.$strict>]>;
81
- export declare const SkillsConfigSchema: z.ZodDefault<z.ZodObject<{
82
- sources: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
83
- path: z.ZodString;
84
- recursive: z.ZodDefault<z.ZodBoolean>;
85
- glob: z.ZodOptional<z.ZodString>;
86
- }, z.core.$strict>]>>>;
87
- enable: z.ZodDefault<z.ZodArray<z.ZodString>>;
88
- disable: z.ZodDefault<z.ZodArray<z.ZodString>>;
89
- }, z.core.$strict>>;
90
- export declare const CategoryEntrySchema: z.ZodObject<{
91
710
  description: z.ZodOptional<z.ZodString>;
92
711
  alias: z.ZodOptional<z.ZodString>;
93
712
  variant: z.ZodOptional<z.ZodEnum<{
94
713
  low: "low";
95
- medium: "medium";
96
714
  high: "high";
97
- xhigh: "xhigh";
98
715
  max: "max";
716
+ medium: "medium";
717
+ xhigh: "xhigh";
99
718
  minimal: "minimal";
100
719
  none: "none";
101
720
  auto: "auto";
@@ -107,10 +726,10 @@ export declare const CategoryEntrySchema: z.ZodObject<{
107
726
  model: z.ZodString;
108
727
  variant: z.ZodOptional<z.ZodEnum<{
109
728
  low: "low";
110
- medium: "medium";
111
729
  high: "high";
112
- xhigh: "xhigh";
113
730
  max: "max";
731
+ medium: "medium";
732
+ xhigh: "xhigh";
114
733
  minimal: "minimal";
115
734
  none: "none";
116
735
  auto: "auto";
@@ -134,10 +753,10 @@ export declare const CategoryEntrySchema: z.ZodObject<{
134
753
  model: z.ZodString;
135
754
  variant: z.ZodOptional<z.ZodEnum<{
136
755
  low: "low";
137
- medium: "medium";
138
756
  high: "high";
139
- xhigh: "xhigh";
140
757
  max: "max";
758
+ medium: "medium";
759
+ xhigh: "xhigh";
141
760
  minimal: "minimal";
142
761
  none: "none";
143
762
  auto: "auto";
@@ -157,10 +776,10 @@ export declare const CategoryEntrySchema: z.ZodObject<{
157
776
  }, z.core.$strip>>;
158
777
  variant: z.ZodOptional<z.ZodEnum<{
159
778
  low: "low";
160
- medium: "medium";
161
779
  high: "high";
162
- xhigh: "xhigh";
163
780
  max: "max";
781
+ medium: "medium";
782
+ xhigh: "xhigh";
164
783
  minimal: "minimal";
165
784
  none: "none";
166
785
  auto: "auto";
@@ -170,8 +789,123 @@ export declare const CategoryEntrySchema: z.ZodObject<{
170
789
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
171
790
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
791
  }, z.core.$strip>>;
173
- }, z.core.$strict>;
174
- export declare const AgentEntrySchema: z.ZodObject<{
792
+ }, z.core.$strip>>;
793
+ /**
794
+ * Strict configuration boundary for every agent map. Generic runtime loading
795
+ * applies `tolerantParse` before this schema, but direct callers must receive
796
+ * errors for any malformed entry or invalid review-agent declaration.
797
+ */
798
+ export declare const AgentsConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
799
+ variants: z.ZodOptional<z.ZodObject<{
800
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
801
+ low: "low";
802
+ high: "high";
803
+ max: "max";
804
+ medium: "medium";
805
+ xhigh: "xhigh";
806
+ minimal: "minimal";
807
+ none: "none";
808
+ auto: "auto";
809
+ thinking: "thinking";
810
+ }>, z.ZodObject<{
811
+ model: z.ZodString;
812
+ variant: z.ZodOptional<z.ZodEnum<{
813
+ low: "low";
814
+ high: "high";
815
+ max: "max";
816
+ medium: "medium";
817
+ xhigh: "xhigh";
818
+ minimal: "minimal";
819
+ none: "none";
820
+ auto: "auto";
821
+ thinking: "thinking";
822
+ }>>;
823
+ }, z.core.$strict>, z.ZodObject<{
824
+ variant: z.ZodEnum<{
825
+ low: "low";
826
+ high: "high";
827
+ max: "max";
828
+ medium: "medium";
829
+ xhigh: "xhigh";
830
+ minimal: "minimal";
831
+ none: "none";
832
+ auto: "auto";
833
+ thinking: "thinking";
834
+ }>;
835
+ }, z.core.$strict>]>>;
836
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
837
+ low: "low";
838
+ high: "high";
839
+ max: "max";
840
+ medium: "medium";
841
+ xhigh: "xhigh";
842
+ minimal: "minimal";
843
+ none: "none";
844
+ auto: "auto";
845
+ thinking: "thinking";
846
+ }>, z.ZodObject<{
847
+ model: z.ZodString;
848
+ variant: z.ZodOptional<z.ZodEnum<{
849
+ low: "low";
850
+ high: "high";
851
+ max: "max";
852
+ medium: "medium";
853
+ xhigh: "xhigh";
854
+ minimal: "minimal";
855
+ none: "none";
856
+ auto: "auto";
857
+ thinking: "thinking";
858
+ }>>;
859
+ }, z.core.$strict>, z.ZodObject<{
860
+ variant: z.ZodEnum<{
861
+ low: "low";
862
+ high: "high";
863
+ max: "max";
864
+ medium: "medium";
865
+ xhigh: "xhigh";
866
+ minimal: "minimal";
867
+ none: "none";
868
+ auto: "auto";
869
+ thinking: "thinking";
870
+ }>;
871
+ }, z.core.$strict>]>>;
872
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
873
+ low: "low";
874
+ high: "high";
875
+ max: "max";
876
+ medium: "medium";
877
+ xhigh: "xhigh";
878
+ minimal: "minimal";
879
+ none: "none";
880
+ auto: "auto";
881
+ thinking: "thinking";
882
+ }>, z.ZodObject<{
883
+ model: z.ZodString;
884
+ variant: z.ZodOptional<z.ZodEnum<{
885
+ low: "low";
886
+ high: "high";
887
+ max: "max";
888
+ medium: "medium";
889
+ xhigh: "xhigh";
890
+ minimal: "minimal";
891
+ none: "none";
892
+ auto: "auto";
893
+ thinking: "thinking";
894
+ }>>;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ variant: z.ZodEnum<{
897
+ low: "low";
898
+ high: "high";
899
+ max: "max";
900
+ medium: "medium";
901
+ xhigh: "xhigh";
902
+ minimal: "minimal";
903
+ none: "none";
904
+ auto: "auto";
905
+ thinking: "thinking";
906
+ }>;
907
+ }, z.core.$strict>]>>;
908
+ }, z.core.$strict>>;
175
909
  disabled: z.ZodOptional<z.ZodBoolean>;
176
910
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
177
911
  permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
@@ -193,10 +927,10 @@ export declare const AgentEntrySchema: z.ZodObject<{
193
927
  }, z.core.$strip>>;
194
928
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
195
929
  low: "low";
196
- medium: "medium";
197
930
  high: "high";
198
- xhigh: "xhigh";
199
931
  max: "max";
932
+ medium: "medium";
933
+ xhigh: "xhigh";
200
934
  minimal: "minimal";
201
935
  none: "none";
202
936
  }>>;
@@ -204,10 +938,10 @@ export declare const AgentEntrySchema: z.ZodObject<{
204
938
  alias: z.ZodOptional<z.ZodString>;
205
939
  variant: z.ZodOptional<z.ZodEnum<{
206
940
  low: "low";
207
- medium: "medium";
208
941
  high: "high";
209
- xhigh: "xhigh";
210
942
  max: "max";
943
+ medium: "medium";
944
+ xhigh: "xhigh";
211
945
  minimal: "minimal";
212
946
  none: "none";
213
947
  auto: "auto";
@@ -219,10 +953,10 @@ export declare const AgentEntrySchema: z.ZodObject<{
219
953
  model: z.ZodString;
220
954
  variant: z.ZodOptional<z.ZodEnum<{
221
955
  low: "low";
222
- medium: "medium";
223
956
  high: "high";
224
- xhigh: "xhigh";
225
957
  max: "max";
958
+ medium: "medium";
959
+ xhigh: "xhigh";
226
960
  minimal: "minimal";
227
961
  none: "none";
228
962
  auto: "auto";
@@ -246,10 +980,10 @@ export declare const AgentEntrySchema: z.ZodObject<{
246
980
  model: z.ZodString;
247
981
  variant: z.ZodOptional<z.ZodEnum<{
248
982
  low: "low";
249
- medium: "medium";
250
983
  high: "high";
251
- xhigh: "xhigh";
252
984
  max: "max";
985
+ medium: "medium";
986
+ xhigh: "xhigh";
253
987
  minimal: "minimal";
254
988
  none: "none";
255
989
  auto: "auto";
@@ -269,10 +1003,10 @@ export declare const AgentEntrySchema: z.ZodObject<{
269
1003
  }, z.core.$strip>>;
270
1004
  variant: z.ZodOptional<z.ZodEnum<{
271
1005
  low: "low";
272
- medium: "medium";
273
1006
  high: "high";
274
- xhigh: "xhigh";
275
1007
  max: "max";
1008
+ medium: "medium";
1009
+ xhigh: "xhigh";
276
1010
  minimal: "minimal";
277
1011
  none: "none";
278
1012
  auto: "auto";
@@ -282,7 +1016,7 @@ export declare const AgentEntrySchema: z.ZodObject<{
282
1016
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
283
1017
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
284
1018
  }, z.core.$strip>>;
285
- }, z.core.$strict>;
1019
+ }, z.core.$strip>>;
286
1020
  /**
287
1021
  * Reactive runtime-fallback config.
288
1022
  *
@@ -292,6 +1026,14 @@ export declare const AgentEntrySchema: z.ZodObject<{
292
1026
  *
293
1027
  * `dispatch: false` makes the hook observe-only (classify + log, no retry).
294
1028
  */
1029
+ export declare const Subagent429ConfigSchema: z.ZodDefault<z.ZodObject<{
1030
+ enabled: z.ZodDefault<z.ZodBoolean>;
1031
+ maxRetries: z.ZodDefault<z.ZodNumber>;
1032
+ providerScopes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<{
1033
+ model: "model";
1034
+ provider: "provider";
1035
+ }>>>;
1036
+ }, z.core.$strip>>;
295
1037
  export declare const RuntimeFallbackConfigSchema: z.ZodDefault<z.ZodObject<{
296
1038
  enabled: z.ZodDefault<z.ZodBoolean>;
297
1039
  dispatch: z.ZodDefault<z.ZodBoolean>;
@@ -299,6 +1041,14 @@ export declare const RuntimeFallbackConfigSchema: z.ZodDefault<z.ZodObject<{
299
1041
  cooldownSeconds: z.ZodDefault<z.ZodNumber>;
300
1042
  retryOnStatusCodes: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
301
1043
  retryOnPatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
1044
+ subagent429: z.ZodDefault<z.ZodObject<{
1045
+ enabled: z.ZodDefault<z.ZodBoolean>;
1046
+ maxRetries: z.ZodDefault<z.ZodNumber>;
1047
+ providerScopes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<{
1048
+ model: "model";
1049
+ provider: "provider";
1050
+ }>>>;
1051
+ }, z.core.$strip>>;
302
1052
  }, z.core.$strip>>;
303
1053
  export declare const IdleContinuationConfigSchema: z.ZodDefault<z.ZodObject<{
304
1054
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -307,11 +1057,11 @@ export declare const IdleContinuationConfigSchema: z.ZodDefault<z.ZodObject<{
307
1057
  }, z.core.$strip>>;
308
1058
  export declare const HashlineConfigSchema: z.ZodDefault<z.ZodObject<{
309
1059
  enabled: z.ZodDefault<z.ZodBoolean>;
310
- }, z.core.$strict>>;
1060
+ }, z.core.$strip>>;
311
1061
  export declare const RulesConfigSchema: z.ZodDefault<z.ZodObject<{
312
1062
  enabled: z.ZodDefault<z.ZodBoolean>;
313
1063
  skipClaudeUserRules: z.ZodDefault<z.ZodBoolean>;
314
- }, z.core.$strict>>;
1064
+ }, z.core.$strip>>;
315
1065
  export declare const McpServerConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
316
1066
  type: z.ZodLiteral<"local">;
317
1067
  command: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -319,13 +1069,13 @@ export declare const McpServerConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject
319
1069
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
320
1070
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
321
1071
  enabled: z.ZodDefault<z.ZodBoolean>;
322
- }, z.core.$strict>, z.ZodObject<{
1072
+ }, z.core.$strip>, z.ZodObject<{
323
1073
  type: z.ZodLiteral<"remote">;
324
1074
  url: z.ZodString;
325
1075
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
326
1076
  oauth: z.ZodOptional<z.ZodBoolean>;
327
1077
  enabled: z.ZodDefault<z.ZodBoolean>;
328
- }, z.core.$strict>], "type">;
1078
+ }, z.core.$strip>], "type">;
329
1079
  export declare const McpConfigSchema: z.ZodDefault<z.ZodObject<{
330
1080
  enabled: z.ZodDefault<z.ZodBoolean>;
331
1081
  envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -334,7 +1084,7 @@ export declare const McpConfigSchema: z.ZodDefault<z.ZodObject<{
334
1084
  exa: "exa";
335
1085
  tavily: "tavily";
336
1086
  }>>;
337
- }, z.core.$strict>>;
1087
+ }, z.core.$strip>>;
338
1088
  servers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
339
1089
  type: z.ZodLiteral<"local">;
340
1090
  command: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -342,17 +1092,17 @@ export declare const McpConfigSchema: z.ZodDefault<z.ZodObject<{
342
1092
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
343
1093
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
344
1094
  enabled: z.ZodDefault<z.ZodBoolean>;
345
- }, z.core.$strict>, z.ZodObject<{
1095
+ }, z.core.$strip>, z.ZodObject<{
346
1096
  type: z.ZodLiteral<"remote">;
347
1097
  url: z.ZodString;
348
1098
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
349
1099
  oauth: z.ZodOptional<z.ZodBoolean>;
350
1100
  enabled: z.ZodDefault<z.ZodBoolean>;
351
- }, z.core.$strict>], "type">>>;
352
- }, z.core.$strict>>;
1101
+ }, z.core.$strip>], "type">>>;
1102
+ }, z.core.$strip>>;
353
1103
  export declare const SubagentConfigSchema: z.ZodDefault<z.ZodObject<{
354
1104
  maxDepth: z.ZodDefault<z.ZodNumber>;
355
- }, z.core.$strict>>;
1105
+ }, z.core.$strip>>;
356
1106
  /**
357
1107
  * A profile is a partial config overlay. It may carry any top-level field
358
1108
  * EXCEPT `profiles` and `activeProfile` themselves (nested profiles are not
@@ -367,10 +1117,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
367
1117
  path: z.ZodString;
368
1118
  recursive: z.ZodDefault<z.ZodBoolean>;
369
1119
  glob: z.ZodOptional<z.ZodString>;
370
- }, z.core.$strict>]>>>;
1120
+ }, z.core.$strip>]>>>;
371
1121
  enable: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
1122
  disable: z.ZodOptional<z.ZodArray<z.ZodString>>;
373
- }, z.core.$strict>>;
1123
+ }, z.core.$strip>>;
374
1124
  fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
375
1125
  systemDefaultModel: z.ZodOptional<z.ZodString>;
376
1126
  locale: z.ZodOptional<z.ZodString>;
@@ -385,6 +1135,14 @@ export declare const ProfileEntrySchema: z.ZodObject<{
385
1135
  cooldownSeconds: z.ZodOptional<z.ZodNumber>;
386
1136
  retryOnStatusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
387
1137
  retryOnPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1138
+ subagent429: z.ZodOptional<z.ZodObject<{
1139
+ enabled: z.ZodOptional<z.ZodBoolean>;
1140
+ maxRetries: z.ZodOptional<z.ZodNumber>;
1141
+ providerScopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
1142
+ model: "model";
1143
+ provider: "provider";
1144
+ }>>>;
1145
+ }, z.core.$strip>>;
388
1146
  }, z.core.$strip>>;
389
1147
  idleContinuation: z.ZodOptional<z.ZodObject<{
390
1148
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -393,11 +1151,11 @@ export declare const ProfileEntrySchema: z.ZodObject<{
393
1151
  }, z.core.$strip>>;
394
1152
  hashline: z.ZodOptional<z.ZodObject<{
395
1153
  enabled: z.ZodOptional<z.ZodBoolean>;
396
- }, z.core.$strict>>;
1154
+ }, z.core.$strip>>;
397
1155
  rules: z.ZodOptional<z.ZodObject<{
398
1156
  enabled: z.ZodOptional<z.ZodBoolean>;
399
1157
  skipClaudeUserRules: z.ZodOptional<z.ZodBoolean>;
400
- }, z.core.$strict>>;
1158
+ }, z.core.$strip>>;
401
1159
  mcp: z.ZodOptional<z.ZodObject<{
402
1160
  enabled: z.ZodOptional<z.ZodBoolean>;
403
1161
  envAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -406,7 +1164,7 @@ export declare const ProfileEntrySchema: z.ZodObject<{
406
1164
  exa: "exa";
407
1165
  tavily: "tavily";
408
1166
  }>>;
409
- }, z.core.$strict>>;
1167
+ }, z.core.$strip>>;
410
1168
  servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
411
1169
  type: z.ZodLiteral<"local">;
412
1170
  command: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -414,16 +1172,20 @@ export declare const ProfileEntrySchema: z.ZodObject<{
414
1172
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
415
1173
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
416
1174
  enabled: z.ZodDefault<z.ZodBoolean>;
417
- }, z.core.$strict>, z.ZodObject<{
1175
+ }, z.core.$strip>, z.ZodObject<{
418
1176
  type: z.ZodLiteral<"remote">;
419
1177
  url: z.ZodString;
420
1178
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
421
1179
  oauth: z.ZodOptional<z.ZodBoolean>;
422
1180
  enabled: z.ZodDefault<z.ZodBoolean>;
423
- }, z.core.$strict>], "type">>>;
424
- }, z.core.$strict>>;
1181
+ }, z.core.$strip>], "type">>>;
1182
+ }, z.core.$strip>>;
425
1183
  subagent: z.ZodOptional<z.ZodObject<{
426
1184
  maxDepth: z.ZodOptional<z.ZodNumber>;
1185
+ }, z.core.$strip>>;
1186
+ fastModels: z.ZodOptional<z.ZodObject<{
1187
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1188
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
427
1189
  }, z.core.$strict>>;
428
1190
  registerBuiltinAgents: z.ZodOptional<z.ZodBoolean>;
429
1191
  promptsRoot: z.ZodOptional<z.ZodString>;
@@ -450,6 +1212,7 @@ export declare const ProfileEntrySchema: z.ZodObject<{
450
1212
  "commit-guard-injector": "commit-guard-injector";
451
1213
  "subagent-git-guard": "subagent-git-guard";
452
1214
  "subagent-depth-guard": "subagent-depth-guard";
1215
+ "subagent-interruption-recovery": "subagent-interruption-recovery";
453
1216
  }>, z.ZodString]>>>;
454
1217
  disabledTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
455
1218
  disabledSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -465,10 +1228,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
465
1228
  alias: z.ZodOptional<z.ZodString>;
466
1229
  variant: z.ZodOptional<z.ZodEnum<{
467
1230
  low: "low";
468
- medium: "medium";
469
1231
  high: "high";
470
- xhigh: "xhigh";
471
1232
  max: "max";
1233
+ medium: "medium";
1234
+ xhigh: "xhigh";
472
1235
  minimal: "minimal";
473
1236
  none: "none";
474
1237
  auto: "auto";
@@ -480,10 +1243,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
480
1243
  model: z.ZodString;
481
1244
  variant: z.ZodOptional<z.ZodEnum<{
482
1245
  low: "low";
483
- medium: "medium";
484
1246
  high: "high";
485
- xhigh: "xhigh";
486
1247
  max: "max";
1248
+ medium: "medium";
1249
+ xhigh: "xhigh";
487
1250
  minimal: "minimal";
488
1251
  none: "none";
489
1252
  auto: "auto";
@@ -507,10 +1270,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
507
1270
  model: z.ZodString;
508
1271
  variant: z.ZodOptional<z.ZodEnum<{
509
1272
  low: "low";
510
- medium: "medium";
511
1273
  high: "high";
512
- xhigh: "xhigh";
513
1274
  max: "max";
1275
+ medium: "medium";
1276
+ xhigh: "xhigh";
514
1277
  minimal: "minimal";
515
1278
  none: "none";
516
1279
  auto: "auto";
@@ -530,10 +1293,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
530
1293
  }, z.core.$strip>>;
531
1294
  variant: z.ZodOptional<z.ZodEnum<{
532
1295
  low: "low";
533
- medium: "medium";
534
1296
  high: "high";
535
- xhigh: "xhigh";
536
1297
  max: "max";
1298
+ medium: "medium";
1299
+ xhigh: "xhigh";
537
1300
  minimal: "minimal";
538
1301
  none: "none";
539
1302
  auto: "auto";
@@ -543,8 +1306,118 @@ export declare const ProfileEntrySchema: z.ZodObject<{
543
1306
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
544
1307
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
545
1308
  }, z.core.$strip>>;
546
- }, z.core.$strict>>>;
1309
+ }, z.core.$strip>>>;
547
1310
  agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1311
+ variants: z.ZodOptional<z.ZodObject<{
1312
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1313
+ low: "low";
1314
+ high: "high";
1315
+ max: "max";
1316
+ medium: "medium";
1317
+ xhigh: "xhigh";
1318
+ minimal: "minimal";
1319
+ none: "none";
1320
+ auto: "auto";
1321
+ thinking: "thinking";
1322
+ }>, z.ZodObject<{
1323
+ model: z.ZodString;
1324
+ variant: z.ZodOptional<z.ZodEnum<{
1325
+ low: "low";
1326
+ high: "high";
1327
+ max: "max";
1328
+ medium: "medium";
1329
+ xhigh: "xhigh";
1330
+ minimal: "minimal";
1331
+ none: "none";
1332
+ auto: "auto";
1333
+ thinking: "thinking";
1334
+ }>>;
1335
+ }, z.core.$strict>, z.ZodObject<{
1336
+ variant: z.ZodEnum<{
1337
+ low: "low";
1338
+ high: "high";
1339
+ max: "max";
1340
+ medium: "medium";
1341
+ xhigh: "xhigh";
1342
+ minimal: "minimal";
1343
+ none: "none";
1344
+ auto: "auto";
1345
+ thinking: "thinking";
1346
+ }>;
1347
+ }, z.core.$strict>]>>;
1348
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1349
+ low: "low";
1350
+ high: "high";
1351
+ max: "max";
1352
+ medium: "medium";
1353
+ xhigh: "xhigh";
1354
+ minimal: "minimal";
1355
+ none: "none";
1356
+ auto: "auto";
1357
+ thinking: "thinking";
1358
+ }>, z.ZodObject<{
1359
+ model: z.ZodString;
1360
+ variant: z.ZodOptional<z.ZodEnum<{
1361
+ low: "low";
1362
+ high: "high";
1363
+ max: "max";
1364
+ medium: "medium";
1365
+ xhigh: "xhigh";
1366
+ minimal: "minimal";
1367
+ none: "none";
1368
+ auto: "auto";
1369
+ thinking: "thinking";
1370
+ }>>;
1371
+ }, z.core.$strict>, z.ZodObject<{
1372
+ variant: z.ZodEnum<{
1373
+ low: "low";
1374
+ high: "high";
1375
+ max: "max";
1376
+ medium: "medium";
1377
+ xhigh: "xhigh";
1378
+ minimal: "minimal";
1379
+ none: "none";
1380
+ auto: "auto";
1381
+ thinking: "thinking";
1382
+ }>;
1383
+ }, z.core.$strict>]>>;
1384
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1385
+ low: "low";
1386
+ high: "high";
1387
+ max: "max";
1388
+ medium: "medium";
1389
+ xhigh: "xhigh";
1390
+ minimal: "minimal";
1391
+ none: "none";
1392
+ auto: "auto";
1393
+ thinking: "thinking";
1394
+ }>, z.ZodObject<{
1395
+ model: z.ZodString;
1396
+ variant: z.ZodOptional<z.ZodEnum<{
1397
+ low: "low";
1398
+ high: "high";
1399
+ max: "max";
1400
+ medium: "medium";
1401
+ xhigh: "xhigh";
1402
+ minimal: "minimal";
1403
+ none: "none";
1404
+ auto: "auto";
1405
+ thinking: "thinking";
1406
+ }>>;
1407
+ }, z.core.$strict>, z.ZodObject<{
1408
+ variant: z.ZodEnum<{
1409
+ low: "low";
1410
+ high: "high";
1411
+ max: "max";
1412
+ medium: "medium";
1413
+ xhigh: "xhigh";
1414
+ minimal: "minimal";
1415
+ none: "none";
1416
+ auto: "auto";
1417
+ thinking: "thinking";
1418
+ }>;
1419
+ }, z.core.$strict>]>>;
1420
+ }, z.core.$strict>>;
548
1421
  disabled: z.ZodOptional<z.ZodBoolean>;
549
1422
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
550
1423
  permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
@@ -566,10 +1439,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
566
1439
  }, z.core.$strip>>;
567
1440
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
568
1441
  low: "low";
569
- medium: "medium";
570
1442
  high: "high";
571
- xhigh: "xhigh";
572
1443
  max: "max";
1444
+ medium: "medium";
1445
+ xhigh: "xhigh";
573
1446
  minimal: "minimal";
574
1447
  none: "none";
575
1448
  }>>;
@@ -577,10 +1450,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
577
1450
  alias: z.ZodOptional<z.ZodString>;
578
1451
  variant: z.ZodOptional<z.ZodEnum<{
579
1452
  low: "low";
580
- medium: "medium";
581
1453
  high: "high";
582
- xhigh: "xhigh";
583
1454
  max: "max";
1455
+ medium: "medium";
1456
+ xhigh: "xhigh";
584
1457
  minimal: "minimal";
585
1458
  none: "none";
586
1459
  auto: "auto";
@@ -592,10 +1465,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
592
1465
  model: z.ZodString;
593
1466
  variant: z.ZodOptional<z.ZodEnum<{
594
1467
  low: "low";
595
- medium: "medium";
596
1468
  high: "high";
597
- xhigh: "xhigh";
598
1469
  max: "max";
1470
+ medium: "medium";
1471
+ xhigh: "xhigh";
599
1472
  minimal: "minimal";
600
1473
  none: "none";
601
1474
  auto: "auto";
@@ -619,10 +1492,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
619
1492
  model: z.ZodString;
620
1493
  variant: z.ZodOptional<z.ZodEnum<{
621
1494
  low: "low";
622
- medium: "medium";
623
1495
  high: "high";
624
- xhigh: "xhigh";
625
1496
  max: "max";
1497
+ medium: "medium";
1498
+ xhigh: "xhigh";
626
1499
  minimal: "minimal";
627
1500
  none: "none";
628
1501
  auto: "auto";
@@ -642,10 +1515,10 @@ export declare const ProfileEntrySchema: z.ZodObject<{
642
1515
  }, z.core.$strip>>;
643
1516
  variant: z.ZodOptional<z.ZodEnum<{
644
1517
  low: "low";
645
- medium: "medium";
646
1518
  high: "high";
647
- xhigh: "xhigh";
648
1519
  max: "max";
1520
+ medium: "medium";
1521
+ xhigh: "xhigh";
649
1522
  minimal: "minimal";
650
1523
  none: "none";
651
1524
  auto: "auto";
@@ -655,12 +1528,20 @@ export declare const ProfileEntrySchema: z.ZodObject<{
655
1528
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
656
1529
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
657
1530
  }, z.core.$strip>>;
658
- }, z.core.$strict>>>;
1531
+ }, z.core.$strip>>>;
659
1532
  disabledAgents: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
1533
+ oracle: "oracle";
1534
+ "oracle-2nd": "oracle-2nd";
1535
+ "oracle-3rd": "oracle-3rd";
1536
+ "oracle-4th": "oracle-4th";
1537
+ "oracle-5th": "oracle-5th";
1538
+ "oracle-6th": "oracle-6th";
1539
+ "oracle-7th": "oracle-7th";
1540
+ "oracle-8th": "oracle-8th";
1541
+ "oracle-9th": "oracle-9th";
1542
+ reviewer: "reviewer";
660
1543
  orchestrator: "orchestrator";
661
1544
  builder: "builder";
662
- reviewer: "reviewer";
663
- oracle: "oracle";
664
1545
  "doc-search": "doc-search";
665
1546
  "code-search": "code-search";
666
1547
  planner: "planner";
@@ -678,7 +1559,7 @@ export declare const ProfileEntrySchema: z.ZodObject<{
678
1559
  deep: "deep";
679
1560
  documenting: "documenting";
680
1561
  }>, z.ZodString]>>>;
681
- }, z.core.$strict>;
1562
+ }, z.core.$strip>;
682
1563
  export declare const IsolationModeSchema: z.ZodEnum<{
683
1564
  none: "none";
684
1565
  inline: "inline";
@@ -700,7 +1581,7 @@ export declare const ShimConfigSchema: z.ZodObject<{
700
1581
  keepOmo: z.ZodOptional<z.ZodBoolean>;
701
1582
  noProviders: z.ZodOptional<z.ZodBoolean>;
702
1583
  noPlugins: z.ZodOptional<z.ZodBoolean>;
703
- }, z.core.$strict>;
1584
+ }, z.core.$strip>;
704
1585
  export type IsolationMode = z.infer<typeof IsolationModeSchema>;
705
1586
  export type ShimConfig = z.infer<typeof ShimConfigSchema>;
706
1587
  export declare const OcmmConfigSchema: z.ZodObject<{
@@ -709,10 +1590,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
709
1590
  path: z.ZodString;
710
1591
  recursive: z.ZodDefault<z.ZodBoolean>;
711
1592
  glob: z.ZodOptional<z.ZodString>;
712
- }, z.core.$strict>]>>>;
1593
+ }, z.core.$strip>]>>>;
713
1594
  enable: z.ZodDefault<z.ZodArray<z.ZodString>>;
714
1595
  disable: z.ZodDefault<z.ZodArray<z.ZodString>>;
715
- }, z.core.$strict>>;
1596
+ }, z.core.$strip>>;
716
1597
  fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
717
1598
  systemDefaultModel: z.ZodOptional<z.ZodString>;
718
1599
  locale: z.ZodOptional<z.ZodString>;
@@ -732,6 +1613,14 @@ export declare const OcmmConfigSchema: z.ZodObject<{
732
1613
  cooldownSeconds: z.ZodDefault<z.ZodNumber>;
733
1614
  retryOnStatusCodes: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
734
1615
  retryOnPatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
1616
+ subagent429: z.ZodDefault<z.ZodObject<{
1617
+ enabled: z.ZodDefault<z.ZodBoolean>;
1618
+ maxRetries: z.ZodDefault<z.ZodNumber>;
1619
+ providerScopes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<{
1620
+ model: "model";
1621
+ provider: "provider";
1622
+ }>>>;
1623
+ }, z.core.$strip>>;
735
1624
  }, z.core.$strip>>;
736
1625
  idleContinuation: z.ZodDefault<z.ZodObject<{
737
1626
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -740,11 +1629,11 @@ export declare const OcmmConfigSchema: z.ZodObject<{
740
1629
  }, z.core.$strip>>;
741
1630
  hashline: z.ZodDefault<z.ZodObject<{
742
1631
  enabled: z.ZodDefault<z.ZodBoolean>;
743
- }, z.core.$strict>>;
1632
+ }, z.core.$strip>>;
744
1633
  rules: z.ZodDefault<z.ZodObject<{
745
1634
  enabled: z.ZodDefault<z.ZodBoolean>;
746
1635
  skipClaudeUserRules: z.ZodDefault<z.ZodBoolean>;
747
- }, z.core.$strict>>;
1636
+ }, z.core.$strip>>;
748
1637
  mcp: z.ZodDefault<z.ZodObject<{
749
1638
  enabled: z.ZodDefault<z.ZodBoolean>;
750
1639
  envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -753,7 +1642,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
753
1642
  exa: "exa";
754
1643
  tavily: "tavily";
755
1644
  }>>;
756
- }, z.core.$strict>>;
1645
+ }, z.core.$strip>>;
757
1646
  servers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
758
1647
  type: z.ZodLiteral<"local">;
759
1648
  command: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -761,16 +1650,20 @@ export declare const OcmmConfigSchema: z.ZodObject<{
761
1650
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
762
1651
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
763
1652
  enabled: z.ZodDefault<z.ZodBoolean>;
764
- }, z.core.$strict>, z.ZodObject<{
1653
+ }, z.core.$strip>, z.ZodObject<{
765
1654
  type: z.ZodLiteral<"remote">;
766
1655
  url: z.ZodString;
767
1656
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
768
1657
  oauth: z.ZodOptional<z.ZodBoolean>;
769
1658
  enabled: z.ZodDefault<z.ZodBoolean>;
770
- }, z.core.$strict>], "type">>>;
771
- }, z.core.$strict>>;
1659
+ }, z.core.$strip>], "type">>>;
1660
+ }, z.core.$strip>>;
772
1661
  subagent: z.ZodDefault<z.ZodObject<{
773
1662
  maxDepth: z.ZodDefault<z.ZodNumber>;
1663
+ }, z.core.$strip>>;
1664
+ fastModels: z.ZodDefault<z.ZodObject<{
1665
+ providers: z.ZodDefault<z.ZodArray<z.ZodString>>;
1666
+ mappings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
774
1667
  }, z.core.$strict>>;
775
1668
  profiles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
776
1669
  skills: z.ZodOptional<z.ZodObject<{
@@ -778,10 +1671,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
778
1671
  path: z.ZodString;
779
1672
  recursive: z.ZodDefault<z.ZodBoolean>;
780
1673
  glob: z.ZodOptional<z.ZodString>;
781
- }, z.core.$strict>]>>>;
1674
+ }, z.core.$strip>]>>>;
782
1675
  enable: z.ZodOptional<z.ZodArray<z.ZodString>>;
783
1676
  disable: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
- }, z.core.$strict>>;
1677
+ }, z.core.$strip>>;
785
1678
  fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
786
1679
  systemDefaultModel: z.ZodOptional<z.ZodString>;
787
1680
  locale: z.ZodOptional<z.ZodString>;
@@ -796,6 +1689,14 @@ export declare const OcmmConfigSchema: z.ZodObject<{
796
1689
  cooldownSeconds: z.ZodOptional<z.ZodNumber>;
797
1690
  retryOnStatusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
798
1691
  retryOnPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1692
+ subagent429: z.ZodOptional<z.ZodObject<{
1693
+ enabled: z.ZodOptional<z.ZodBoolean>;
1694
+ maxRetries: z.ZodOptional<z.ZodNumber>;
1695
+ providerScopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
1696
+ model: "model";
1697
+ provider: "provider";
1698
+ }>>>;
1699
+ }, z.core.$strip>>;
799
1700
  }, z.core.$strip>>;
800
1701
  idleContinuation: z.ZodOptional<z.ZodObject<{
801
1702
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -804,11 +1705,11 @@ export declare const OcmmConfigSchema: z.ZodObject<{
804
1705
  }, z.core.$strip>>;
805
1706
  hashline: z.ZodOptional<z.ZodObject<{
806
1707
  enabled: z.ZodOptional<z.ZodBoolean>;
807
- }, z.core.$strict>>;
1708
+ }, z.core.$strip>>;
808
1709
  rules: z.ZodOptional<z.ZodObject<{
809
1710
  enabled: z.ZodOptional<z.ZodBoolean>;
810
1711
  skipClaudeUserRules: z.ZodOptional<z.ZodBoolean>;
811
- }, z.core.$strict>>;
1712
+ }, z.core.$strip>>;
812
1713
  mcp: z.ZodOptional<z.ZodObject<{
813
1714
  enabled: z.ZodOptional<z.ZodBoolean>;
814
1715
  envAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -817,7 +1718,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
817
1718
  exa: "exa";
818
1719
  tavily: "tavily";
819
1720
  }>>;
820
- }, z.core.$strict>>;
1721
+ }, z.core.$strip>>;
821
1722
  servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
822
1723
  type: z.ZodLiteral<"local">;
823
1724
  command: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -825,16 +1726,20 @@ export declare const OcmmConfigSchema: z.ZodObject<{
825
1726
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
826
1727
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
827
1728
  enabled: z.ZodDefault<z.ZodBoolean>;
828
- }, z.core.$strict>, z.ZodObject<{
1729
+ }, z.core.$strip>, z.ZodObject<{
829
1730
  type: z.ZodLiteral<"remote">;
830
1731
  url: z.ZodString;
831
1732
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
832
1733
  oauth: z.ZodOptional<z.ZodBoolean>;
833
1734
  enabled: z.ZodDefault<z.ZodBoolean>;
834
- }, z.core.$strict>], "type">>>;
835
- }, z.core.$strict>>;
1735
+ }, z.core.$strip>], "type">>>;
1736
+ }, z.core.$strip>>;
836
1737
  subagent: z.ZodOptional<z.ZodObject<{
837
1738
  maxDepth: z.ZodOptional<z.ZodNumber>;
1739
+ }, z.core.$strip>>;
1740
+ fastModels: z.ZodOptional<z.ZodObject<{
1741
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1742
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
838
1743
  }, z.core.$strict>>;
839
1744
  registerBuiltinAgents: z.ZodOptional<z.ZodBoolean>;
840
1745
  promptsRoot: z.ZodOptional<z.ZodString>;
@@ -861,6 +1766,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
861
1766
  "commit-guard-injector": "commit-guard-injector";
862
1767
  "subagent-git-guard": "subagent-git-guard";
863
1768
  "subagent-depth-guard": "subagent-depth-guard";
1769
+ "subagent-interruption-recovery": "subagent-interruption-recovery";
864
1770
  }>, z.ZodString]>>>;
865
1771
  disabledTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
866
1772
  disabledSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -876,10 +1782,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
876
1782
  alias: z.ZodOptional<z.ZodString>;
877
1783
  variant: z.ZodOptional<z.ZodEnum<{
878
1784
  low: "low";
879
- medium: "medium";
880
1785
  high: "high";
881
- xhigh: "xhigh";
882
1786
  max: "max";
1787
+ medium: "medium";
1788
+ xhigh: "xhigh";
883
1789
  minimal: "minimal";
884
1790
  none: "none";
885
1791
  auto: "auto";
@@ -891,71 +1797,181 @@ export declare const OcmmConfigSchema: z.ZodObject<{
891
1797
  model: z.ZodString;
892
1798
  variant: z.ZodOptional<z.ZodEnum<{
893
1799
  low: "low";
894
- medium: "medium";
895
1800
  high: "high";
896
- xhigh: "xhigh";
897
1801
  max: "max";
1802
+ medium: "medium";
1803
+ xhigh: "xhigh";
1804
+ minimal: "minimal";
1805
+ none: "none";
1806
+ auto: "auto";
1807
+ thinking: "thinking";
1808
+ }>>;
1809
+ reasoningEffort: z.ZodOptional<z.ZodString>;
1810
+ temperature: z.ZodOptional<z.ZodNumber>;
1811
+ topP: z.ZodOptional<z.ZodNumber>;
1812
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1813
+ thinking: z.ZodOptional<z.ZodObject<{
1814
+ type: z.ZodEnum<{
1815
+ enabled: "enabled";
1816
+ disabled: "disabled";
1817
+ }>;
1818
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1819
+ }, z.core.$strip>>;
1820
+ }, z.core.$strip>]>>>;
1821
+ requirement: z.ZodOptional<z.ZodObject<{
1822
+ fallbackChain: z.ZodArray<z.ZodObject<{
1823
+ providers: z.ZodArray<z.ZodString>;
1824
+ model: z.ZodString;
1825
+ variant: z.ZodOptional<z.ZodEnum<{
1826
+ low: "low";
1827
+ high: "high";
1828
+ max: "max";
1829
+ medium: "medium";
1830
+ xhigh: "xhigh";
1831
+ minimal: "minimal";
1832
+ none: "none";
1833
+ auto: "auto";
1834
+ thinking: "thinking";
1835
+ }>>;
1836
+ reasoningEffort: z.ZodOptional<z.ZodString>;
1837
+ temperature: z.ZodOptional<z.ZodNumber>;
1838
+ topP: z.ZodOptional<z.ZodNumber>;
1839
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1840
+ thinking: z.ZodOptional<z.ZodObject<{
1841
+ type: z.ZodEnum<{
1842
+ enabled: "enabled";
1843
+ disabled: "disabled";
1844
+ }>;
1845
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1846
+ }, z.core.$strip>>;
1847
+ }, z.core.$strip>>;
1848
+ variant: z.ZodOptional<z.ZodEnum<{
1849
+ low: "low";
1850
+ high: "high";
1851
+ max: "max";
1852
+ medium: "medium";
1853
+ xhigh: "xhigh";
1854
+ minimal: "minimal";
1855
+ none: "none";
1856
+ auto: "auto";
1857
+ thinking: "thinking";
1858
+ }>>;
1859
+ requiresModel: z.ZodOptional<z.ZodString>;
1860
+ requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1861
+ requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1862
+ }, z.core.$strip>>;
1863
+ }, z.core.$strip>>>;
1864
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1865
+ variants: z.ZodOptional<z.ZodObject<{
1866
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1867
+ low: "low";
1868
+ high: "high";
1869
+ max: "max";
1870
+ medium: "medium";
1871
+ xhigh: "xhigh";
1872
+ minimal: "minimal";
1873
+ none: "none";
1874
+ auto: "auto";
1875
+ thinking: "thinking";
1876
+ }>, z.ZodObject<{
1877
+ model: z.ZodString;
1878
+ variant: z.ZodOptional<z.ZodEnum<{
1879
+ low: "low";
1880
+ high: "high";
1881
+ max: "max";
1882
+ medium: "medium";
1883
+ xhigh: "xhigh";
1884
+ minimal: "minimal";
1885
+ none: "none";
1886
+ auto: "auto";
1887
+ thinking: "thinking";
1888
+ }>>;
1889
+ }, z.core.$strict>, z.ZodObject<{
1890
+ variant: z.ZodEnum<{
1891
+ low: "low";
1892
+ high: "high";
1893
+ max: "max";
1894
+ medium: "medium";
1895
+ xhigh: "xhigh";
1896
+ minimal: "minimal";
1897
+ none: "none";
1898
+ auto: "auto";
1899
+ thinking: "thinking";
1900
+ }>;
1901
+ }, z.core.$strict>]>>;
1902
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1903
+ low: "low";
1904
+ high: "high";
1905
+ max: "max";
1906
+ medium: "medium";
1907
+ xhigh: "xhigh";
898
1908
  minimal: "minimal";
899
1909
  none: "none";
900
1910
  auto: "auto";
901
1911
  thinking: "thinking";
902
- }>>;
903
- reasoningEffort: z.ZodOptional<z.ZodString>;
904
- temperature: z.ZodOptional<z.ZodNumber>;
905
- topP: z.ZodOptional<z.ZodNumber>;
906
- maxTokens: z.ZodOptional<z.ZodNumber>;
907
- thinking: z.ZodOptional<z.ZodObject<{
908
- type: z.ZodEnum<{
909
- enabled: "enabled";
910
- disabled: "disabled";
911
- }>;
912
- budgetTokens: z.ZodOptional<z.ZodNumber>;
913
- }, z.core.$strip>>;
914
- }, z.core.$strip>]>>>;
915
- requirement: z.ZodOptional<z.ZodObject<{
916
- fallbackChain: z.ZodArray<z.ZodObject<{
917
- providers: z.ZodArray<z.ZodString>;
1912
+ }>, z.ZodObject<{
918
1913
  model: z.ZodString;
919
1914
  variant: z.ZodOptional<z.ZodEnum<{
920
1915
  low: "low";
921
- medium: "medium";
922
1916
  high: "high";
923
- xhigh: "xhigh";
924
1917
  max: "max";
1918
+ medium: "medium";
1919
+ xhigh: "xhigh";
925
1920
  minimal: "minimal";
926
1921
  none: "none";
927
1922
  auto: "auto";
928
1923
  thinking: "thinking";
929
1924
  }>>;
930
- reasoningEffort: z.ZodOptional<z.ZodString>;
931
- temperature: z.ZodOptional<z.ZodNumber>;
932
- topP: z.ZodOptional<z.ZodNumber>;
933
- maxTokens: z.ZodOptional<z.ZodNumber>;
934
- thinking: z.ZodOptional<z.ZodObject<{
935
- type: z.ZodEnum<{
936
- enabled: "enabled";
937
- disabled: "disabled";
938
- }>;
939
- budgetTokens: z.ZodOptional<z.ZodNumber>;
940
- }, z.core.$strip>>;
941
- }, z.core.$strip>>;
942
- variant: z.ZodOptional<z.ZodEnum<{
1925
+ }, z.core.$strict>, z.ZodObject<{
1926
+ variant: z.ZodEnum<{
1927
+ low: "low";
1928
+ high: "high";
1929
+ max: "max";
1930
+ medium: "medium";
1931
+ xhigh: "xhigh";
1932
+ minimal: "minimal";
1933
+ none: "none";
1934
+ auto: "auto";
1935
+ thinking: "thinking";
1936
+ }>;
1937
+ }, z.core.$strict>]>>;
1938
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
943
1939
  low: "low";
944
- medium: "medium";
945
1940
  high: "high";
946
- xhigh: "xhigh";
947
1941
  max: "max";
1942
+ medium: "medium";
1943
+ xhigh: "xhigh";
948
1944
  minimal: "minimal";
949
1945
  none: "none";
950
1946
  auto: "auto";
951
1947
  thinking: "thinking";
952
- }>>;
953
- requiresModel: z.ZodOptional<z.ZodString>;
954
- requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
955
- requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
956
- }, z.core.$strip>>;
957
- }, z.core.$strict>>>;
958
- agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1948
+ }>, z.ZodObject<{
1949
+ model: z.ZodString;
1950
+ variant: z.ZodOptional<z.ZodEnum<{
1951
+ low: "low";
1952
+ high: "high";
1953
+ max: "max";
1954
+ medium: "medium";
1955
+ xhigh: "xhigh";
1956
+ minimal: "minimal";
1957
+ none: "none";
1958
+ auto: "auto";
1959
+ thinking: "thinking";
1960
+ }>>;
1961
+ }, z.core.$strict>, z.ZodObject<{
1962
+ variant: z.ZodEnum<{
1963
+ low: "low";
1964
+ high: "high";
1965
+ max: "max";
1966
+ medium: "medium";
1967
+ xhigh: "xhigh";
1968
+ minimal: "minimal";
1969
+ none: "none";
1970
+ auto: "auto";
1971
+ thinking: "thinking";
1972
+ }>;
1973
+ }, z.core.$strict>]>>;
1974
+ }, z.core.$strict>>;
959
1975
  disabled: z.ZodOptional<z.ZodBoolean>;
960
1976
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
961
1977
  permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
@@ -977,10 +1993,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
977
1993
  }, z.core.$strip>>;
978
1994
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
979
1995
  low: "low";
980
- medium: "medium";
981
1996
  high: "high";
982
- xhigh: "xhigh";
983
1997
  max: "max";
1998
+ medium: "medium";
1999
+ xhigh: "xhigh";
984
2000
  minimal: "minimal";
985
2001
  none: "none";
986
2002
  }>>;
@@ -988,10 +2004,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
988
2004
  alias: z.ZodOptional<z.ZodString>;
989
2005
  variant: z.ZodOptional<z.ZodEnum<{
990
2006
  low: "low";
991
- medium: "medium";
992
2007
  high: "high";
993
- xhigh: "xhigh";
994
2008
  max: "max";
2009
+ medium: "medium";
2010
+ xhigh: "xhigh";
995
2011
  minimal: "minimal";
996
2012
  none: "none";
997
2013
  auto: "auto";
@@ -1003,10 +2019,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1003
2019
  model: z.ZodString;
1004
2020
  variant: z.ZodOptional<z.ZodEnum<{
1005
2021
  low: "low";
1006
- medium: "medium";
1007
2022
  high: "high";
1008
- xhigh: "xhigh";
1009
2023
  max: "max";
2024
+ medium: "medium";
2025
+ xhigh: "xhigh";
1010
2026
  minimal: "minimal";
1011
2027
  none: "none";
1012
2028
  auto: "auto";
@@ -1030,10 +2046,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1030
2046
  model: z.ZodString;
1031
2047
  variant: z.ZodOptional<z.ZodEnum<{
1032
2048
  low: "low";
1033
- medium: "medium";
1034
2049
  high: "high";
1035
- xhigh: "xhigh";
1036
2050
  max: "max";
2051
+ medium: "medium";
2052
+ xhigh: "xhigh";
1037
2053
  minimal: "minimal";
1038
2054
  none: "none";
1039
2055
  auto: "auto";
@@ -1053,10 +2069,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1053
2069
  }, z.core.$strip>>;
1054
2070
  variant: z.ZodOptional<z.ZodEnum<{
1055
2071
  low: "low";
1056
- medium: "medium";
1057
2072
  high: "high";
1058
- xhigh: "xhigh";
1059
2073
  max: "max";
2074
+ medium: "medium";
2075
+ xhigh: "xhigh";
1060
2076
  minimal: "minimal";
1061
2077
  none: "none";
1062
2078
  auto: "auto";
@@ -1066,12 +2082,20 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1066
2082
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1067
2083
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1068
2084
  }, z.core.$strip>>;
1069
- }, z.core.$strict>>>;
2085
+ }, z.core.$strip>>>;
1070
2086
  disabledAgents: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
2087
+ oracle: "oracle";
2088
+ "oracle-2nd": "oracle-2nd";
2089
+ "oracle-3rd": "oracle-3rd";
2090
+ "oracle-4th": "oracle-4th";
2091
+ "oracle-5th": "oracle-5th";
2092
+ "oracle-6th": "oracle-6th";
2093
+ "oracle-7th": "oracle-7th";
2094
+ "oracle-8th": "oracle-8th";
2095
+ "oracle-9th": "oracle-9th";
2096
+ reviewer: "reviewer";
1071
2097
  orchestrator: "orchestrator";
1072
2098
  builder: "builder";
1073
- reviewer: "reviewer";
1074
- oracle: "oracle";
1075
2099
  "doc-search": "doc-search";
1076
2100
  "code-search": "code-search";
1077
2101
  planner: "planner";
@@ -1089,7 +2113,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1089
2113
  deep: "deep";
1090
2114
  documenting: "documenting";
1091
2115
  }>, z.ZodString]>>>;
1092
- }, z.core.$strict>>>;
2116
+ }, z.core.$strip>>>;
1093
2117
  activeProfile: z.ZodOptional<z.ZodString>;
1094
2118
  registerBuiltinAgents: z.ZodDefault<z.ZodBoolean>;
1095
2119
  defaultAgent: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
@@ -1110,7 +2134,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1110
2134
  keepOmo: z.ZodOptional<z.ZodBoolean>;
1111
2135
  noProviders: z.ZodOptional<z.ZodBoolean>;
1112
2136
  noPlugins: z.ZodOptional<z.ZodBoolean>;
1113
- }, z.core.$strict>>;
2137
+ }, z.core.$strip>>;
1114
2138
  disabledHooks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
1115
2139
  "directory-readme-injector": "directory-readme-injector";
1116
2140
  "directory-agents-injector": "directory-agents-injector";
@@ -1133,6 +2157,7 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1133
2157
  "commit-guard-injector": "commit-guard-injector";
1134
2158
  "subagent-git-guard": "subagent-git-guard";
1135
2159
  "subagent-depth-guard": "subagent-depth-guard";
2160
+ "subagent-interruption-recovery": "subagent-interruption-recovery";
1136
2161
  }>, z.ZodString]>>>;
1137
2162
  disabledTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1138
2163
  disabledSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1149,10 +2174,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1149
2174
  alias: z.ZodOptional<z.ZodString>;
1150
2175
  variant: z.ZodOptional<z.ZodEnum<{
1151
2176
  low: "low";
1152
- medium: "medium";
1153
2177
  high: "high";
1154
- xhigh: "xhigh";
1155
2178
  max: "max";
2179
+ medium: "medium";
2180
+ xhigh: "xhigh";
1156
2181
  minimal: "minimal";
1157
2182
  none: "none";
1158
2183
  auto: "auto";
@@ -1164,10 +2189,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1164
2189
  model: z.ZodString;
1165
2190
  variant: z.ZodOptional<z.ZodEnum<{
1166
2191
  low: "low";
1167
- medium: "medium";
1168
2192
  high: "high";
1169
- xhigh: "xhigh";
1170
2193
  max: "max";
2194
+ medium: "medium";
2195
+ xhigh: "xhigh";
1171
2196
  minimal: "minimal";
1172
2197
  none: "none";
1173
2198
  auto: "auto";
@@ -1191,10 +2216,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1191
2216
  model: z.ZodString;
1192
2217
  variant: z.ZodOptional<z.ZodEnum<{
1193
2218
  low: "low";
1194
- medium: "medium";
1195
2219
  high: "high";
1196
- xhigh: "xhigh";
1197
2220
  max: "max";
2221
+ medium: "medium";
2222
+ xhigh: "xhigh";
1198
2223
  minimal: "minimal";
1199
2224
  none: "none";
1200
2225
  auto: "auto";
@@ -1214,10 +2239,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1214
2239
  }, z.core.$strip>>;
1215
2240
  variant: z.ZodOptional<z.ZodEnum<{
1216
2241
  low: "low";
1217
- medium: "medium";
1218
2242
  high: "high";
1219
- xhigh: "xhigh";
1220
2243
  max: "max";
2244
+ medium: "medium";
2245
+ xhigh: "xhigh";
1221
2246
  minimal: "minimal";
1222
2247
  none: "none";
1223
2248
  auto: "auto";
@@ -1227,8 +2252,118 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1227
2252
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1228
2253
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1229
2254
  }, z.core.$strip>>;
1230
- }, z.core.$strict>>>;
2255
+ }, z.core.$strip>>>;
1231
2256
  agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2257
+ variants: z.ZodOptional<z.ZodObject<{
2258
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2259
+ low: "low";
2260
+ high: "high";
2261
+ max: "max";
2262
+ medium: "medium";
2263
+ xhigh: "xhigh";
2264
+ minimal: "minimal";
2265
+ none: "none";
2266
+ auto: "auto";
2267
+ thinking: "thinking";
2268
+ }>, z.ZodObject<{
2269
+ model: z.ZodString;
2270
+ variant: z.ZodOptional<z.ZodEnum<{
2271
+ low: "low";
2272
+ high: "high";
2273
+ max: "max";
2274
+ medium: "medium";
2275
+ xhigh: "xhigh";
2276
+ minimal: "minimal";
2277
+ none: "none";
2278
+ auto: "auto";
2279
+ thinking: "thinking";
2280
+ }>>;
2281
+ }, z.core.$strict>, z.ZodObject<{
2282
+ variant: z.ZodEnum<{
2283
+ low: "low";
2284
+ high: "high";
2285
+ max: "max";
2286
+ medium: "medium";
2287
+ xhigh: "xhigh";
2288
+ minimal: "minimal";
2289
+ none: "none";
2290
+ auto: "auto";
2291
+ thinking: "thinking";
2292
+ }>;
2293
+ }, z.core.$strict>]>>;
2294
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2295
+ low: "low";
2296
+ high: "high";
2297
+ max: "max";
2298
+ medium: "medium";
2299
+ xhigh: "xhigh";
2300
+ minimal: "minimal";
2301
+ none: "none";
2302
+ auto: "auto";
2303
+ thinking: "thinking";
2304
+ }>, z.ZodObject<{
2305
+ model: z.ZodString;
2306
+ variant: z.ZodOptional<z.ZodEnum<{
2307
+ low: "low";
2308
+ high: "high";
2309
+ max: "max";
2310
+ medium: "medium";
2311
+ xhigh: "xhigh";
2312
+ minimal: "minimal";
2313
+ none: "none";
2314
+ auto: "auto";
2315
+ thinking: "thinking";
2316
+ }>>;
2317
+ }, z.core.$strict>, z.ZodObject<{
2318
+ variant: z.ZodEnum<{
2319
+ low: "low";
2320
+ high: "high";
2321
+ max: "max";
2322
+ medium: "medium";
2323
+ xhigh: "xhigh";
2324
+ minimal: "minimal";
2325
+ none: "none";
2326
+ auto: "auto";
2327
+ thinking: "thinking";
2328
+ }>;
2329
+ }, z.core.$strict>]>>;
2330
+ max: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2331
+ low: "low";
2332
+ high: "high";
2333
+ max: "max";
2334
+ medium: "medium";
2335
+ xhigh: "xhigh";
2336
+ minimal: "minimal";
2337
+ none: "none";
2338
+ auto: "auto";
2339
+ thinking: "thinking";
2340
+ }>, z.ZodObject<{
2341
+ model: z.ZodString;
2342
+ variant: z.ZodOptional<z.ZodEnum<{
2343
+ low: "low";
2344
+ high: "high";
2345
+ max: "max";
2346
+ medium: "medium";
2347
+ xhigh: "xhigh";
2348
+ minimal: "minimal";
2349
+ none: "none";
2350
+ auto: "auto";
2351
+ thinking: "thinking";
2352
+ }>>;
2353
+ }, z.core.$strict>, z.ZodObject<{
2354
+ variant: z.ZodEnum<{
2355
+ low: "low";
2356
+ high: "high";
2357
+ max: "max";
2358
+ medium: "medium";
2359
+ xhigh: "xhigh";
2360
+ minimal: "minimal";
2361
+ none: "none";
2362
+ auto: "auto";
2363
+ thinking: "thinking";
2364
+ }>;
2365
+ }, z.core.$strict>]>>;
2366
+ }, z.core.$strict>>;
1232
2367
  disabled: z.ZodOptional<z.ZodBoolean>;
1233
2368
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1234
2369
  permission: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
@@ -1250,10 +2385,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1250
2385
  }, z.core.$strip>>;
1251
2386
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
1252
2387
  low: "low";
1253
- medium: "medium";
1254
2388
  high: "high";
1255
- xhigh: "xhigh";
1256
2389
  max: "max";
2390
+ medium: "medium";
2391
+ xhigh: "xhigh";
1257
2392
  minimal: "minimal";
1258
2393
  none: "none";
1259
2394
  }>>;
@@ -1261,10 +2396,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1261
2396
  alias: z.ZodOptional<z.ZodString>;
1262
2397
  variant: z.ZodOptional<z.ZodEnum<{
1263
2398
  low: "low";
1264
- medium: "medium";
1265
2399
  high: "high";
1266
- xhigh: "xhigh";
1267
2400
  max: "max";
2401
+ medium: "medium";
2402
+ xhigh: "xhigh";
1268
2403
  minimal: "minimal";
1269
2404
  none: "none";
1270
2405
  auto: "auto";
@@ -1276,10 +2411,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1276
2411
  model: z.ZodString;
1277
2412
  variant: z.ZodOptional<z.ZodEnum<{
1278
2413
  low: "low";
1279
- medium: "medium";
1280
2414
  high: "high";
1281
- xhigh: "xhigh";
1282
2415
  max: "max";
2416
+ medium: "medium";
2417
+ xhigh: "xhigh";
1283
2418
  minimal: "minimal";
1284
2419
  none: "none";
1285
2420
  auto: "auto";
@@ -1303,10 +2438,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1303
2438
  model: z.ZodString;
1304
2439
  variant: z.ZodOptional<z.ZodEnum<{
1305
2440
  low: "low";
1306
- medium: "medium";
1307
2441
  high: "high";
1308
- xhigh: "xhigh";
1309
2442
  max: "max";
2443
+ medium: "medium";
2444
+ xhigh: "xhigh";
1310
2445
  minimal: "minimal";
1311
2446
  none: "none";
1312
2447
  auto: "auto";
@@ -1326,10 +2461,10 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1326
2461
  }, z.core.$strip>>;
1327
2462
  variant: z.ZodOptional<z.ZodEnum<{
1328
2463
  low: "low";
1329
- medium: "medium";
1330
2464
  high: "high";
1331
- xhigh: "xhigh";
1332
2465
  max: "max";
2466
+ medium: "medium";
2467
+ xhigh: "xhigh";
1333
2468
  minimal: "minimal";
1334
2469
  none: "none";
1335
2470
  auto: "auto";
@@ -1339,12 +2474,20 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1339
2474
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1340
2475
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1341
2476
  }, z.core.$strip>>;
1342
- }, z.core.$strict>>>;
2477
+ }, z.core.$strip>>>;
1343
2478
  disabledAgents: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
2479
+ oracle: "oracle";
2480
+ "oracle-2nd": "oracle-2nd";
2481
+ "oracle-3rd": "oracle-3rd";
2482
+ "oracle-4th": "oracle-4th";
2483
+ "oracle-5th": "oracle-5th";
2484
+ "oracle-6th": "oracle-6th";
2485
+ "oracle-7th": "oracle-7th";
2486
+ "oracle-8th": "oracle-8th";
2487
+ "oracle-9th": "oracle-9th";
2488
+ reviewer: "reviewer";
1344
2489
  orchestrator: "orchestrator";
1345
2490
  builder: "builder";
1346
- reviewer: "reviewer";
1347
- oracle: "oracle";
1348
2491
  "doc-search": "doc-search";
1349
2492
  "code-search": "code-search";
1350
2493
  planner: "planner";
@@ -1362,19 +2505,21 @@ export declare const OcmmConfigSchema: z.ZodObject<{
1362
2505
  deep: "deep";
1363
2506
  documenting: "documenting";
1364
2507
  }>, z.ZodString]>>>;
1365
- }, z.core.$strict>;
2508
+ }, z.core.$strip>;
1366
2509
  export type OcmmConfig = z.infer<typeof OcmmConfigSchema>;
1367
2510
  export type AgentEntry = z.infer<typeof AgentEntrySchema>;
1368
2511
  export type CategoryEntry = z.infer<typeof CategoryEntrySchema>;
1369
2512
  export type FallbackEntryConfig = z.infer<typeof FallbackEntrySchema>;
1370
2513
  export type ModelRequirementConfig = z.infer<typeof ModelRequirementSchema>;
1371
2514
  export type RuntimeFallbackConfig = z.infer<typeof RuntimeFallbackConfigSchema>;
2515
+ export type Subagent429Config = z.infer<typeof Subagent429ConfigSchema>;
1372
2516
  export type IdleContinuationConfig = z.infer<typeof IdleContinuationConfigSchema>;
1373
2517
  export type HashlineConfig = z.infer<typeof HashlineConfigSchema>;
1374
2518
  export type RulesConfig = z.infer<typeof RulesConfigSchema>;
1375
2519
  export type McpServerConfig = z.infer<typeof McpServerConfigSchema>;
1376
2520
  export type McpConfig = z.infer<typeof McpConfigSchema>;
1377
2521
  export type SubagentConfig = z.infer<typeof SubagentConfigSchema>;
2522
+ export type FastModelsConfig = z.infer<typeof FastModelsConfigSchema>;
1378
2523
  export type ProfileEntry = z.infer<typeof ProfileEntrySchema>;
1379
2524
  export type SkillSourceEntry = z.infer<typeof SkillSourceEntrySchema>;
1380
2525
  export type SkillsConfig = z.infer<typeof SkillsConfigSchema>;