@reinamaccredy/oh-my-opencode 3.0.1-beta.2 → 3.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/README.md +28 -0
  2. package/dist/cli/index.js +116 -63
  3. package/dist/index.js +16840 -26541
  4. package/package.json +4 -3
  5. package/dist/agents/build-prompt.d.ts +0 -31
  6. package/dist/agents/document-writer.d.ts +0 -5
  7. package/dist/agents/explore.d.ts +0 -5
  8. package/dist/agents/frontend-ui-ux-engineer.d.ts +0 -5
  9. package/dist/agents/index.d.ts +0 -5
  10. package/dist/agents/librarian.d.ts +0 -5
  11. package/dist/agents/metis.d.ts +0 -19
  12. package/dist/agents/momus.d.ts +0 -6
  13. package/dist/agents/multimodal-looker.d.ts +0 -5
  14. package/dist/agents/oracle.d.ts +0 -5
  15. package/dist/agents/orchestrator-sisyphus.d.ts +0 -20
  16. package/dist/agents/plan-prompt.d.ts +0 -64
  17. package/dist/agents/prometheus-prompt.d.ts +0 -27
  18. package/dist/agents/sisyphus-junior.d.ts +0 -3
  19. package/dist/agents/sisyphus-prompt-builder.d.ts +0 -26
  20. package/dist/agents/sisyphus.d.ts +0 -4
  21. package/dist/agents/types.d.ts +0 -51
  22. package/dist/agents/utils.d.ts +0 -13
  23. package/dist/agents/utils.test.d.ts +0 -1
  24. package/dist/cli/config-manager.d.ts +0 -77
  25. package/dist/cli/doctor/checks/auth.d.ts +0 -7
  26. package/dist/cli/doctor/checks/auth.test.d.ts +0 -1
  27. package/dist/cli/doctor/checks/config.d.ts +0 -8
  28. package/dist/cli/doctor/checks/config.test.d.ts +0 -1
  29. package/dist/cli/doctor/checks/dependencies.d.ts +0 -8
  30. package/dist/cli/doctor/checks/dependencies.test.d.ts +0 -1
  31. package/dist/cli/doctor/checks/gh.d.ts +0 -13
  32. package/dist/cli/doctor/checks/gh.test.d.ts +0 -1
  33. package/dist/cli/doctor/checks/index.d.ts +0 -11
  34. package/dist/cli/doctor/checks/lsp.d.ts +0 -8
  35. package/dist/cli/doctor/checks/lsp.test.d.ts +0 -1
  36. package/dist/cli/doctor/checks/mcp.d.ts +0 -6
  37. package/dist/cli/doctor/checks/mcp.test.d.ts +0 -1
  38. package/dist/cli/doctor/checks/opencode.d.ts +0 -10
  39. package/dist/cli/doctor/checks/opencode.test.d.ts +0 -1
  40. package/dist/cli/doctor/checks/plugin.d.ts +0 -4
  41. package/dist/cli/doctor/checks/plugin.test.d.ts +0 -1
  42. package/dist/cli/doctor/checks/version.d.ts +0 -4
  43. package/dist/cli/doctor/checks/version.test.d.ts +0 -1
  44. package/dist/cli/doctor/constants.d.ts +0 -40
  45. package/dist/cli/doctor/formatter.d.ts +0 -12
  46. package/dist/cli/doctor/formatter.test.d.ts +0 -1
  47. package/dist/cli/doctor/index.d.ts +0 -5
  48. package/dist/cli/doctor/runner.d.ts +0 -7
  49. package/dist/cli/doctor/runner.test.d.ts +0 -1
  50. package/dist/cli/doctor/types.d.ts +0 -91
  51. package/dist/cli/get-local-version/formatter.d.ts +0 -3
  52. package/dist/cli/get-local-version/index.d.ts +0 -3
  53. package/dist/cli/get-local-version/types.d.ts +0 -13
  54. package/dist/cli/index.d.ts +0 -2
  55. package/dist/cli/install.d.ts +0 -2
  56. package/dist/cli/run/completion.d.ts +0 -2
  57. package/dist/cli/run/completion.test.d.ts +0 -1
  58. package/dist/cli/run/events.d.ts +0 -11
  59. package/dist/cli/run/events.test.d.ts +0 -1
  60. package/dist/cli/run/index.d.ts +0 -2
  61. package/dist/cli/run/runner.d.ts +0 -2
  62. package/dist/cli/run/types.d.ts +0 -71
  63. package/dist/cli/types.d.ts +0 -29
  64. package/dist/config/index.d.ts +0 -2
  65. package/dist/config/schema.d.ts +0 -1948
  66. package/dist/config/schema.test.d.ts +0 -1
  67. package/dist/features/background-agent/concurrency.d.ts +0 -10
  68. package/dist/features/background-agent/concurrency.test.d.ts +0 -1
  69. package/dist/features/background-agent/index.d.ts +0 -3
  70. package/dist/features/background-agent/manager.d.ts +0 -66
  71. package/dist/features/background-agent/manager.test.d.ts +0 -1
  72. package/dist/features/background-agent/types.d.ts +0 -68
  73. package/dist/features/boulder-state/constants.d.ts +0 -10
  74. package/dist/features/boulder-state/index.d.ts +0 -4
  75. package/dist/features/boulder-state/storage.d.ts +0 -28
  76. package/dist/features/boulder-state/storage.test.d.ts +0 -1
  77. package/dist/features/boulder-state/types.d.ts +0 -24
  78. package/dist/features/boulder-state/unified-state.d.ts +0 -86
  79. package/dist/features/builtin-commands/commands.d.ts +0 -2
  80. package/dist/features/builtin-commands/index.d.ts +0 -2
  81. package/dist/features/builtin-commands/templates/init-deep.d.ts +0 -1
  82. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +0 -2
  83. package/dist/features/builtin-commands/templates/refactor.d.ts +0 -1
  84. package/dist/features/builtin-commands/templates/start-work.d.ts +0 -1
  85. package/dist/features/builtin-commands/types.d.ts +0 -6
  86. package/dist/features/builtin-skills/index.d.ts +0 -2
  87. package/dist/features/builtin-skills/skills.d.ts +0 -2
  88. package/dist/features/builtin-skills/types.d.ts +0 -15
  89. package/dist/features/claude-code-agent-loader/index.d.ts +0 -2
  90. package/dist/features/claude-code-agent-loader/loader.d.ts +0 -3
  91. package/dist/features/claude-code-agent-loader/types.d.ts +0 -14
  92. package/dist/features/claude-code-command-loader/index.d.ts +0 -2
  93. package/dist/features/claude-code-command-loader/loader.d.ts +0 -6
  94. package/dist/features/claude-code-command-loader/types.d.ts +0 -42
  95. package/dist/features/claude-code-mcp-loader/env-expander.d.ts +0 -2
  96. package/dist/features/claude-code-mcp-loader/index.d.ts +0 -10
  97. package/dist/features/claude-code-mcp-loader/loader.d.ts +0 -4
  98. package/dist/features/claude-code-mcp-loader/loader.test.d.ts +0 -1
  99. package/dist/features/claude-code-mcp-loader/transformer.d.ts +0 -2
  100. package/dist/features/claude-code-mcp-loader/types.d.ts +0 -35
  101. package/dist/features/claude-code-plugin-loader/index.d.ts +0 -3
  102. package/dist/features/claude-code-plugin-loader/loader.d.ts +0 -20
  103. package/dist/features/claude-code-plugin-loader/types.d.ts +0 -186
  104. package/dist/features/claude-code-session-state/index.d.ts +0 -1
  105. package/dist/features/claude-code-session-state/state.d.ts +0 -4
  106. package/dist/features/context-injector/collector.d.ts +0 -11
  107. package/dist/features/context-injector/collector.test.d.ts +0 -1
  108. package/dist/features/context-injector/index.d.ts +0 -3
  109. package/dist/features/context-injector/injector.d.ts +0 -39
  110. package/dist/features/context-injector/injector.test.d.ts +0 -1
  111. package/dist/features/context-injector/types.d.ts +0 -83
  112. package/dist/features/hook-message-injector/constants.d.ts +0 -3
  113. package/dist/features/hook-message-injector/index.d.ts +0 -4
  114. package/dist/features/hook-message-injector/injector.d.ts +0 -11
  115. package/dist/features/hook-message-injector/types.d.ts +0 -44
  116. package/dist/features/maestro/hooks/index.d.ts +0 -16
  117. package/dist/features/maestro/index.d.ts +0 -4
  118. package/dist/features/maestro/skills/index.d.ts +0 -4
  119. package/dist/features/maestro/types.d.ts +0 -42
  120. package/dist/features/maestro/utils/index.d.ts +0 -4
  121. package/dist/features/opencode-skill-loader/async-loader.d.ts +0 -6
  122. package/dist/features/opencode-skill-loader/async-loader.test.d.ts +0 -1
  123. package/dist/features/opencode-skill-loader/blocking.d.ts +0 -2
  124. package/dist/features/opencode-skill-loader/blocking.test.d.ts +0 -1
  125. package/dist/features/opencode-skill-loader/discover-worker.d.ts +0 -1
  126. package/dist/features/opencode-skill-loader/index.d.ts +0 -4
  127. package/dist/features/opencode-skill-loader/loader.d.ts +0 -16
  128. package/dist/features/opencode-skill-loader/loader.test.d.ts +0 -1
  129. package/dist/features/opencode-skill-loader/merger.d.ts +0 -7
  130. package/dist/features/opencode-skill-loader/skill-content.d.ts +0 -5
  131. package/dist/features/opencode-skill-loader/skill-content.test.d.ts +0 -1
  132. package/dist/features/opencode-skill-loader/types.d.ts +0 -34
  133. package/dist/features/skill-mcp-manager/env-cleaner.d.ts +0 -2
  134. package/dist/features/skill-mcp-manager/env-cleaner.test.d.ts +0 -1
  135. package/dist/features/skill-mcp-manager/index.d.ts +0 -2
  136. package/dist/features/skill-mcp-manager/manager.d.ts +0 -29
  137. package/dist/features/skill-mcp-manager/manager.test.d.ts +0 -1
  138. package/dist/features/skill-mcp-manager/types.d.ts +0 -11
  139. package/dist/features/task-toast-manager/index.d.ts +0 -2
  140. package/dist/features/task-toast-manager/manager.d.ts +0 -56
  141. package/dist/features/task-toast-manager/manager.test.d.ts +0 -1
  142. package/dist/features/task-toast-manager/types.d.ts +0 -16
  143. package/dist/features/workflow-engine/adapters/index.d.ts +0 -2
  144. package/dist/features/workflow-engine/adapters/maestro/index.d.ts +0 -43
  145. package/dist/features/workflow-engine/adapters/sisyphus/index.d.ts +0 -30
  146. package/dist/features/workflow-engine/contracts/v1/contract.test.d.ts +0 -1
  147. package/dist/features/workflow-engine/contracts/v1/engine.contract.d.ts +0 -27
  148. package/dist/features/workflow-engine/contracts/v1/index.d.ts +0 -2
  149. package/dist/features/workflow-engine/contracts/v1/types.d.ts +0 -346
  150. package/dist/features/workflow-engine/engines/index.d.ts +0 -1
  151. package/dist/features/workflow-engine/engines/maestro-engine.d.ts +0 -40
  152. package/dist/features/workflow-engine/index.d.ts +0 -4
  153. package/dist/features/workflow-engine/service.d.ts +0 -6
  154. package/dist/hooks/agent-usage-reminder/constants.d.ts +0 -5
  155. package/dist/hooks/agent-usage-reminder/index.d.ts +0 -22
  156. package/dist/hooks/agent-usage-reminder/storage.d.ts +0 -4
  157. package/dist/hooks/agent-usage-reminder/types.d.ts +0 -6
  158. package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +0 -4
  159. package/dist/hooks/anthropic-context-window-limit-recovery/executor.test.d.ts +0 -1
  160. package/dist/hooks/anthropic-context-window-limit-recovery/index.d.ts +0 -17
  161. package/dist/hooks/anthropic-context-window-limit-recovery/parser.d.ts +0 -2
  162. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.d.ts +0 -7
  163. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.test.d.ts +0 -1
  164. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-executor.d.ts +0 -3
  165. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-purge-errors.d.ts +0 -7
  166. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-storage.d.ts +0 -2
  167. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-supersede.d.ts +0 -6
  168. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-types.d.ts +0 -36
  169. package/dist/hooks/anthropic-context-window-limit-recovery/storage.d.ts +0 -28
  170. package/dist/hooks/anthropic-context-window-limit-recovery/storage.test.d.ts +0 -1
  171. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +0 -42
  172. package/dist/hooks/auto-slash-command/constants.d.ts +0 -5
  173. package/dist/hooks/auto-slash-command/detector.d.ts +0 -9
  174. package/dist/hooks/auto-slash-command/detector.test.d.ts +0 -1
  175. package/dist/hooks/auto-slash-command/executor.d.ts +0 -11
  176. package/dist/hooks/auto-slash-command/index.d.ts +0 -12
  177. package/dist/hooks/auto-slash-command/index.test.d.ts +0 -1
  178. package/dist/hooks/auto-slash-command/types.d.ts +0 -27
  179. package/dist/hooks/auto-update-checker/cache.d.ts +0 -3
  180. package/dist/hooks/auto-update-checker/checker.d.ts +0 -20
  181. package/dist/hooks/auto-update-checker/constants.d.ts +0 -13
  182. package/dist/hooks/auto-update-checker/index.d.ts +0 -16
  183. package/dist/hooks/auto-update-checker/index.test.d.ts +0 -1
  184. package/dist/hooks/auto-update-checker/types.d.ts +0 -25
  185. package/dist/hooks/background-notification/index.d.ts +0 -22
  186. package/dist/hooks/background-notification/types.d.ts +0 -4
  187. package/dist/hooks/claude-code-hooks/config-loader.d.ts +0 -13
  188. package/dist/hooks/claude-code-hooks/config.d.ts +0 -3
  189. package/dist/hooks/claude-code-hooks/index.d.ts +0 -48
  190. package/dist/hooks/claude-code-hooks/plugin-config.d.ts +0 -8
  191. package/dist/hooks/claude-code-hooks/post-tool-use.d.ts +0 -40
  192. package/dist/hooks/claude-code-hooks/pre-compact.d.ts +0 -16
  193. package/dist/hooks/claude-code-hooks/pre-tool-use.d.ts +0 -25
  194. package/dist/hooks/claude-code-hooks/stop.d.ts +0 -20
  195. package/dist/hooks/claude-code-hooks/todo.d.ts +0 -12
  196. package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +0 -5
  197. package/dist/hooks/claude-code-hooks/transcript.d.ts +0 -38
  198. package/dist/hooks/claude-code-hooks/types.d.ts +0 -183
  199. package/dist/hooks/claude-code-hooks/user-prompt-submit.d.ts +0 -22
  200. package/dist/hooks/comment-checker/cli.d.ts +0 -53
  201. package/dist/hooks/comment-checker/constants.d.ts +0 -3
  202. package/dist/hooks/comment-checker/downloader.d.ts +0 -25
  203. package/dist/hooks/comment-checker/filters/bdd.d.ts +0 -2
  204. package/dist/hooks/comment-checker/filters/directive.d.ts +0 -2
  205. package/dist/hooks/comment-checker/filters/docstring.d.ts +0 -2
  206. package/dist/hooks/comment-checker/filters/index.d.ts +0 -7
  207. package/dist/hooks/comment-checker/filters/shebang.d.ts +0 -2
  208. package/dist/hooks/comment-checker/index.d.ts +0 -19
  209. package/dist/hooks/comment-checker/output/formatter.d.ts +0 -2
  210. package/dist/hooks/comment-checker/output/index.d.ts +0 -2
  211. package/dist/hooks/comment-checker/output/xml-builder.d.ts +0 -2
  212. package/dist/hooks/comment-checker/types.d.ts +0 -31
  213. package/dist/hooks/compaction-context-injector/index.d.ts +0 -2
  214. package/dist/hooks/context-window-monitor.d.ts +0 -18
  215. package/dist/hooks/directory-agents-injector/constants.d.ts +0 -3
  216. package/dist/hooks/directory-agents-injector/index.d.ts +0 -26
  217. package/dist/hooks/directory-agents-injector/storage.d.ts +0 -3
  218. package/dist/hooks/directory-agents-injector/types.d.ts +0 -5
  219. package/dist/hooks/directory-readme-injector/constants.d.ts +0 -3
  220. package/dist/hooks/directory-readme-injector/index.d.ts +0 -26
  221. package/dist/hooks/directory-readme-injector/storage.d.ts +0 -3
  222. package/dist/hooks/directory-readme-injector/types.d.ts +0 -5
  223. package/dist/hooks/edit-error-recovery/index.d.ts +0 -31
  224. package/dist/hooks/edit-error-recovery/index.test.d.ts +0 -1
  225. package/dist/hooks/empty-message-sanitizer/index.d.ts +0 -12
  226. package/dist/hooks/empty-task-response-detector.d.ts +0 -12
  227. package/dist/hooks/index.d.ts +0 -33
  228. package/dist/hooks/interactive-bash-session/constants.d.ts +0 -4
  229. package/dist/hooks/interactive-bash-session/index.d.ts +0 -23
  230. package/dist/hooks/interactive-bash-session/storage.d.ts +0 -4
  231. package/dist/hooks/interactive-bash-session/types.d.ts +0 -10
  232. package/dist/hooks/keyword-detector/constants.d.ts +0 -12
  233. package/dist/hooks/keyword-detector/detector.d.ts +0 -11
  234. package/dist/hooks/keyword-detector/index.d.ts +0 -22
  235. package/dist/hooks/keyword-detector/index.test.d.ts +0 -1
  236. package/dist/hooks/keyword-detector/types.d.ts +0 -4
  237. package/dist/hooks/maestro-sisyphus-bridge/constants.d.ts +0 -9
  238. package/dist/hooks/maestro-sisyphus-bridge/index.d.ts +0 -53
  239. package/dist/hooks/non-interactive-env/constants.d.ts +0 -34
  240. package/dist/hooks/non-interactive-env/detector.d.ts +0 -1
  241. package/dist/hooks/non-interactive-env/index.d.ts +0 -14
  242. package/dist/hooks/non-interactive-env/index.test.d.ts +0 -1
  243. package/dist/hooks/non-interactive-env/types.d.ts +0 -3
  244. package/dist/hooks/preemptive-compaction/constants.d.ts +0 -3
  245. package/dist/hooks/preemptive-compaction/index.d.ts +0 -24
  246. package/dist/hooks/preemptive-compaction/types.d.ts +0 -17
  247. package/dist/hooks/prometheus-md-only/constants.d.ts +0 -6
  248. package/dist/hooks/prometheus-md-only/index.d.ts +0 -12
  249. package/dist/hooks/prometheus-md-only/index.test.d.ts +0 -1
  250. package/dist/hooks/ralph-loop/constants.d.ts +0 -5
  251. package/dist/hooks/ralph-loop/index.d.ts +0 -20
  252. package/dist/hooks/ralph-loop/index.test.d.ts +0 -1
  253. package/dist/hooks/ralph-loop/storage.d.ts +0 -6
  254. package/dist/hooks/ralph-loop/types.d.ts +0 -16
  255. package/dist/hooks/rules-injector/constants.d.ts +0 -8
  256. package/dist/hooks/rules-injector/finder.d.ts +0 -33
  257. package/dist/hooks/rules-injector/finder.test.d.ts +0 -1
  258. package/dist/hooks/rules-injector/index.d.ts +0 -26
  259. package/dist/hooks/rules-injector/matcher.d.ts +0 -21
  260. package/dist/hooks/rules-injector/parser.d.ts +0 -18
  261. package/dist/hooks/rules-injector/parser.test.d.ts +0 -1
  262. package/dist/hooks/rules-injector/storage.d.ts +0 -9
  263. package/dist/hooks/rules-injector/types.d.ts +0 -54
  264. package/dist/hooks/session-notification-utils.d.ts +0 -9
  265. package/dist/hooks/session-notification.d.ts +0 -20
  266. package/dist/hooks/session-notification.test.d.ts +0 -1
  267. package/dist/hooks/session-recovery/constants.d.ts +0 -6
  268. package/dist/hooks/session-recovery/index.d.ts +0 -22
  269. package/dist/hooks/session-recovery/index.test.d.ts +0 -1
  270. package/dist/hooks/session-recovery/storage.d.ts +0 -19
  271. package/dist/hooks/session-recovery/types.d.ts +0 -90
  272. package/dist/hooks/sisyphus-orchestrator/index.d.ts +0 -35
  273. package/dist/hooks/sisyphus-orchestrator/index.test.d.ts +0 -1
  274. package/dist/hooks/start-work/index.d.ts +0 -16
  275. package/dist/hooks/start-work/index.test.d.ts +0 -1
  276. package/dist/hooks/task-resume-info/index.d.ts +0 -11
  277. package/dist/hooks/tdd-enforcement/constants.d.ts +0 -16
  278. package/dist/hooks/tdd-enforcement/index.d.ts +0 -54
  279. package/dist/hooks/think-mode/detector.d.ts +0 -5
  280. package/dist/hooks/think-mode/index.d.ts +0 -14
  281. package/dist/hooks/think-mode/index.test.d.ts +0 -1
  282. package/dist/hooks/think-mode/switcher.d.ts +0 -57
  283. package/dist/hooks/think-mode/switcher.test.d.ts +0 -1
  284. package/dist/hooks/think-mode/types.d.ts +0 -21
  285. package/dist/hooks/thinking-block-validator/index.d.ts +0 -30
  286. package/dist/hooks/todo-continuation-enforcer.d.ts +0 -17
  287. package/dist/hooks/todo-continuation-enforcer.test.d.ts +0 -1
  288. package/dist/hooks/tool-output-truncator.d.ts +0 -17
  289. package/dist/hooks/tool-output-truncator.test.d.ts +0 -1
  290. package/dist/index.d.ts +0 -5
  291. package/dist/mcp/context7.d.ts +0 -5
  292. package/dist/mcp/grep-app.d.ts +0 -5
  293. package/dist/mcp/index.d.ts +0 -8
  294. package/dist/mcp/index.test.d.ts +0 -1
  295. package/dist/mcp/types.d.ts +0 -9
  296. package/dist/mcp/websearch.d.ts +0 -8
  297. package/dist/plugin-config.d.ts +0 -4
  298. package/dist/plugin-handlers/config-handler.d.ts +0 -10
  299. package/dist/plugin-handlers/index.d.ts +0 -1
  300. package/dist/plugin-state.d.ts +0 -6
  301. package/dist/shared/claude-config-dir.d.ts +0 -1
  302. package/dist/shared/claude-config-dir.test.d.ts +0 -1
  303. package/dist/shared/command-executor.d.ts +0 -21
  304. package/dist/shared/config-errors.d.ts +0 -7
  305. package/dist/shared/config-path.d.ts +0 -17
  306. package/dist/shared/data-path.d.ts +0 -14
  307. package/dist/shared/deep-merge.d.ts +0 -13
  308. package/dist/shared/dynamic-truncator.d.ts +0 -27
  309. package/dist/shared/external-plugin-detector.d.ts +0 -18
  310. package/dist/shared/external-plugin-detector.test.d.ts +0 -1
  311. package/dist/shared/file-reference-resolver.d.ts +0 -1
  312. package/dist/shared/file-utils.d.ts +0 -7
  313. package/dist/shared/frontmatter.d.ts +0 -7
  314. package/dist/shared/frontmatter.test.d.ts +0 -1
  315. package/dist/shared/hook-disabled.d.ts +0 -2
  316. package/dist/shared/index.d.ts +0 -22
  317. package/dist/shared/jsonc-parser.d.ts +0 -15
  318. package/dist/shared/jsonc-parser.test.d.ts +0 -1
  319. package/dist/shared/logger.d.ts +0 -2
  320. package/dist/shared/migration.d.ts +0 -30
  321. package/dist/shared/migration.test.d.ts +0 -1
  322. package/dist/shared/model-sanitizer.d.ts +0 -3
  323. package/dist/shared/opencode-config-dir.d.ts +0 -19
  324. package/dist/shared/opencode-config-dir.test.d.ts +0 -1
  325. package/dist/shared/opencode-version.d.ts +0 -10
  326. package/dist/shared/opencode-version.test.d.ts +0 -1
  327. package/dist/shared/pattern-matcher.d.ts +0 -3
  328. package/dist/shared/permission-compat.d.ts +0 -12
  329. package/dist/shared/permission-compat.test.d.ts +0 -1
  330. package/dist/shared/snake-case.d.ts +0 -4
  331. package/dist/shared/tool-name.d.ts +0 -1
  332. package/dist/tools/ast-grep/cli.d.ts +0 -15
  333. package/dist/tools/ast-grep/constants.d.ts +0 -29
  334. package/dist/tools/ast-grep/downloader.d.ts +0 -5
  335. package/dist/tools/ast-grep/index.d.ts +0 -8
  336. package/dist/tools/ast-grep/napi.d.ts +0 -13
  337. package/dist/tools/ast-grep/tools.d.ts +0 -3
  338. package/dist/tools/ast-grep/types.d.ts +0 -58
  339. package/dist/tools/ast-grep/utils.d.ts +0 -5
  340. package/dist/tools/background-task/constants.d.ts +0 -3
  341. package/dist/tools/background-task/index.d.ts +0 -3
  342. package/dist/tools/background-task/tools.d.ts +0 -7
  343. package/dist/tools/background-task/types.d.ts +0 -14
  344. package/dist/tools/call-omo-agent/constants.d.ts +0 -2
  345. package/dist/tools/call-omo-agent/index.d.ts +0 -3
  346. package/dist/tools/call-omo-agent/tools.d.ts +0 -3
  347. package/dist/tools/call-omo-agent/types.d.ts +0 -24
  348. package/dist/tools/glob/cli.d.ts +0 -7
  349. package/dist/tools/glob/constants.d.ts +0 -6
  350. package/dist/tools/glob/index.d.ts +0 -2
  351. package/dist/tools/glob/tools.d.ts +0 -2
  352. package/dist/tools/glob/types.d.ts +0 -19
  353. package/dist/tools/glob/utils.d.ts +0 -2
  354. package/dist/tools/grep/cli.d.ts +0 -3
  355. package/dist/tools/grep/constants.d.ts +0 -17
  356. package/dist/tools/grep/downloader.d.ts +0 -3
  357. package/dist/tools/grep/downloader.test.d.ts +0 -1
  358. package/dist/tools/grep/index.d.ts +0 -2
  359. package/dist/tools/grep/tools.d.ts +0 -2
  360. package/dist/tools/grep/types.d.ts +0 -36
  361. package/dist/tools/grep/utils.d.ts +0 -3
  362. package/dist/tools/index.d.ts +0 -14
  363. package/dist/tools/interactive-bash/constants.d.ts +0 -3
  364. package/dist/tools/interactive-bash/index.d.ts +0 -3
  365. package/dist/tools/interactive-bash/tools.d.ts +0 -7
  366. package/dist/tools/interactive-bash/types.d.ts +0 -3
  367. package/dist/tools/interactive-bash/utils.d.ts +0 -3
  368. package/dist/tools/look-at/constants.d.ts +0 -2
  369. package/dist/tools/look-at/index.d.ts +0 -3
  370. package/dist/tools/look-at/tools.d.ts +0 -2
  371. package/dist/tools/look-at/types.d.ts +0 -4
  372. package/dist/tools/lsp/client.d.ts +0 -59
  373. package/dist/tools/lsp/config.d.ts +0 -17
  374. package/dist/tools/lsp/constants.d.ts +0 -9
  375. package/dist/tools/lsp/index.d.ts +0 -6
  376. package/dist/tools/lsp/tools.d.ts +0 -12
  377. package/dist/tools/lsp/types.d.ts +0 -156
  378. package/dist/tools/lsp/utils.d.ts +0 -29
  379. package/dist/tools/session-manager/constants.d.ts +0 -12
  380. package/dist/tools/session-manager/index.d.ts +0 -3
  381. package/dist/tools/session-manager/storage.d.ts +0 -12
  382. package/dist/tools/session-manager/storage.test.d.ts +0 -1
  383. package/dist/tools/session-manager/tools.d.ts +0 -5
  384. package/dist/tools/session-manager/tools.test.d.ts +0 -1
  385. package/dist/tools/session-manager/types.d.ts +0 -89
  386. package/dist/tools/session-manager/utils.d.ts +0 -11
  387. package/dist/tools/session-manager/utils.test.d.ts +0 -1
  388. package/dist/tools/sisyphus-task/constants.d.ts +0 -12
  389. package/dist/tools/sisyphus-task/index.d.ts +0 -3
  390. package/dist/tools/sisyphus-task/tools.d.ts +0 -16
  391. package/dist/tools/sisyphus-task/tools.test.d.ts +0 -1
  392. package/dist/tools/sisyphus-task/types.d.ts +0 -9
  393. package/dist/tools/skill/constants.d.ts +0 -3
  394. package/dist/tools/skill/index.d.ts +0 -3
  395. package/dist/tools/skill/tools.d.ts +0 -4
  396. package/dist/tools/skill/tools.test.d.ts +0 -1
  397. package/dist/tools/skill/types.d.ts +0 -25
  398. package/dist/tools/skill-mcp/constants.d.ts +0 -2
  399. package/dist/tools/skill-mcp/index.d.ts +0 -3
  400. package/dist/tools/skill-mcp/tools.d.ts +0 -11
  401. package/dist/tools/skill-mcp/tools.test.d.ts +0 -1
  402. package/dist/tools/skill-mcp/types.d.ts +0 -8
  403. package/dist/tools/slashcommand/index.d.ts +0 -2
  404. package/dist/tools/slashcommand/tools.d.ts +0 -5
  405. package/dist/tools/slashcommand/types.d.ts +0 -24
package/README.md CHANGED
@@ -820,6 +820,34 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
820
820
  }
821
821
  ```
822
822
 
823
+ ### ProxyPal Mode (Fork Feature)
824
+
825
+ This fork adds ProxyPal model integration via the `opencode-openai-codex-auth` plugin. Enable ProxyPal mode to use GPT-5.2 and GPT-5.1 models:
826
+
827
+ ```json
828
+ {
829
+ "proxypal_mode": true
830
+ }
831
+ ```
832
+
833
+ **During Installation:**
834
+ ```bash
835
+ bunx @reinamaccredy/oh-my-opencode install --proxypal=yes
836
+ ```
837
+
838
+ **ProxyPal Models Available:**
839
+ - **Agent Models**: `proxypal/gpt-5.2-codex`, `proxypal/gpt-5.1-codex`, `proxypal/gpt-5.1-codex-mini`
840
+ - **Category Models**: Used for task delegation with different reasoning effort levels
841
+
842
+ **Requirements:**
843
+ 1. Install the ProxyPal auth plugin: `opencode-openai-codex-auth@4.3.0`
844
+ 2. Configure provider/models in `opencode.json` (see [Installation > OpenAI](#openai-chatgpt-pluspro))
845
+ 3. Authenticate with ChatGPT Plus/Pro subscription
846
+
847
+ **See Also:**
848
+ - [Fork Architecture Documentation](#fork-architecture) (in `AGENTS.md`)
849
+ - [Upstream Sync Strategy](#upstream-sync-strategy) (in `AGENTS.md`)
850
+
823
851
  ### Google Auth
824
852
 
825
853
  **Recommended**: Use the external [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
package/dist/cli/index.js CHANGED
@@ -26,6 +26,7 @@ var __export = (target, all) => {
26
26
  set: (newValue) => all[name] = () => newValue
27
27
  });
28
28
  };
29
+ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
29
30
  var __require = import.meta.require;
30
31
 
31
32
  // node_modules/commander/lib/error.js
@@ -2249,11 +2250,38 @@ var require_picocolors = __commonJS((exports, module) => {
2249
2250
  module.exports.createColors = createColors;
2250
2251
  });
2251
2252
 
2253
+ // src/fork/proxypal/models.ts
2254
+ var PROXYPAL_AGENT_MODELS, PROXYPAL_CATEGORY_MODELS;
2255
+ var init_models = __esm(() => {
2256
+ PROXYPAL_AGENT_MODELS = {
2257
+ oracle: "proxypal/gpt-5.2-codex",
2258
+ "Momus (Plan Reviewer)": "proxypal/gpt-5.2-codex",
2259
+ "Metis (Plan Consultant)": "proxypal/gemini-claude-opus-4-5-thinking",
2260
+ librarian: "proxypal/gemini-claude-opus-4-5-thinking",
2261
+ explore: "proxypal/gemini-3-flash-preview",
2262
+ "frontend-ui-ux-engineer": "proxypal/gemini-3-pro-preview",
2263
+ "document-writer": "proxypal/gemini-3-flash-preview",
2264
+ "multimodal-looker": "proxypal/gemini-3-flash-preview",
2265
+ Sisyphus: "proxypal/gemini-claude-opus-4-5-thinking",
2266
+ "orchestrator-sisyphus": "proxypal/gemini-claude-sonnet-4-5-thinking",
2267
+ "Sisyphus-Junior": "proxypal/gemini-claude-sonnet-4-5-thinking"
2268
+ };
2269
+ PROXYPAL_CATEGORY_MODELS = {
2270
+ "visual-engineering": "proxypal/gemini-3-pro-preview",
2271
+ ultrabrain: "proxypal/gpt-5.2-codex",
2272
+ artistry: "proxypal/gemini-3-pro-preview",
2273
+ quick: "proxypal/gemini-3-flash-preview",
2274
+ "most-capable": "proxypal/gemini-claude-opus-4-5-thinking",
2275
+ writing: "proxypal/gemini-3-flash-preview",
2276
+ general: "proxypal/gemini-claude-sonnet-4-5-thinking"
2277
+ };
2278
+ });
2279
+
2252
2280
  // package.json
2253
2281
  var require_package = __commonJS((exports, module) => {
2254
2282
  module.exports = {
2255
2283
  name: "@reinamaccredy/oh-my-opencode",
2256
- version: "3.0.1-beta.2",
2284
+ version: "3.1.0-beta.1",
2257
2285
  description: "Fork of oh-my-opencode with Maestro workflow integration - Multi-Model Orchestration, Parallel Background Agents, Design Phases, and TDD Methodology",
2258
2286
  main: "dist/index.js",
2259
2287
  types: "dist/index.d.ts",
@@ -2273,7 +2301,8 @@ var require_package = __commonJS((exports, module) => {
2273
2301
  "./schema.json": "./dist/oh-my-opencode.schema.json"
2274
2302
  },
2275
2303
  scripts: {
2276
- build: "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
2304
+ build: "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
2305
+ "build:with-types": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
2277
2306
  "build:schema": "bun run script/build-schema.ts",
2278
2307
  clean: "rm -rf dist",
2279
2308
  prepublishOnly: "bun run clean && bun run build",
@@ -2317,7 +2346,7 @@ var require_package = __commonJS((exports, module) => {
2317
2346
  "@openauthjs/openauth": "^0.4.3",
2318
2347
  "@opencode-ai/plugin": "^1.1.1",
2319
2348
  "@opencode-ai/sdk": "^1.1.1",
2320
- "@reinamaccredy/oh-my-opencode": "^3.0.0-beta.13",
2349
+ "@reinamaccredy/oh-my-opencode": "^3.0.1-beta.3",
2321
2350
  commander: "^14.0.2",
2322
2351
  hono: "^4.10.4",
2323
2352
  "js-yaml": "^4.1.1",
@@ -6479,6 +6508,8 @@ function detectConfigFile(basePath) {
6479
6508
  }
6480
6509
  return { format: "none", path: jsonPath };
6481
6510
  }
6511
+ // src/shared/migration.ts
6512
+ init_models();
6482
6513
  // src/shared/opencode-config-dir.ts
6483
6514
  import { existsSync as existsSync2 } from "fs";
6484
6515
  import { homedir } from "os";
@@ -6554,6 +6585,7 @@ function getOpenCodeConfigPaths(options) {
6554
6585
  // src/shared/opencode-version.ts
6555
6586
  var NOT_CACHED = Symbol("NOT_CACHED");
6556
6587
  // src/cli/config-manager.ts
6588
+ init_models();
6557
6589
  var OPENCODE_BINARIES = ["opencode", "opencode-desktop"];
6558
6590
  var configContext = null;
6559
6591
  function initConfigContext(binary2, version) {
@@ -6727,32 +6759,33 @@ function deepMerge(target, source) {
6727
6759
  }
6728
6760
  function generateOmoConfig(installConfig) {
6729
6761
  const config = {
6730
- $schema: "https://raw.githubusercontent.com/ReinaMacCredy/oh-my-opencode/main/assets/oh-my-opencode.schema.json"
6762
+ $schema: "https://raw.githubusercontent.com/ReinaMacCredy/oh-my-opencode/main/assets/oh-my-opencode.schema.json",
6763
+ proxypal_mode: installConfig.hasProxyPal
6731
6764
  };
6732
6765
  if (installConfig.hasProxyPal || installConfig.hasGemini) {}
6733
6766
  const agents = {};
6734
6767
  if (installConfig.hasProxyPal) {
6735
- agents["Sisyphus"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6736
- agents["librarian"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6737
- agents["explore"] = { model: "proxypal/gemini-3-flash-preview" };
6738
- agents["frontend-ui-ux-engineer"] = { model: "proxypal/gemini-3-pro-preview" };
6739
- agents["document-writer"] = { model: "proxypal/gemini-3-flash-preview" };
6740
- agents["multimodal-looker"] = { model: "proxypal/gemini-3-flash-preview" };
6741
- agents["orchestrator-sisyphus"] = { model: "proxypal/gemini-claude-sonnet-4-5-thinking" };
6742
- agents["Prometheus (Planner)"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6743
- agents["Metis (Plan Consultant)"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6744
- agents["oracle"] = { model: "proxypal/gpt-5.2-codex" };
6745
- agents["Momus (Plan Reviewer)"] = { model: "proxypal/gpt-5.2-codex" };
6768
+ agents["Sisyphus"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6769
+ agents["librarian"] = { model: PROXYPAL_AGENT_MODELS.librarian };
6770
+ agents["explore"] = { model: PROXYPAL_AGENT_MODELS.explore };
6771
+ agents["frontend-ui-ux-engineer"] = { model: PROXYPAL_AGENT_MODELS["frontend-ui-ux-engineer"] };
6772
+ agents["document-writer"] = { model: PROXYPAL_AGENT_MODELS["document-writer"] };
6773
+ agents["multimodal-looker"] = { model: PROXYPAL_AGENT_MODELS["multimodal-looker"] };
6774
+ agents["orchestrator-sisyphus"] = { model: PROXYPAL_AGENT_MODELS["orchestrator-sisyphus"] };
6775
+ agents["Prometheus (Planner)"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6776
+ agents["Metis (Plan Consultant)"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6777
+ agents["oracle"] = { model: PROXYPAL_AGENT_MODELS.oracle };
6778
+ agents["Momus (Plan Reviewer)"] = { model: PROXYPAL_AGENT_MODELS["Momus (Plan Reviewer)"] };
6746
6779
  } else if (installConfig.hasGemini) {
6747
- agents["Sisyphus"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6748
- agents["librarian"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6749
- agents["explore"] = { model: "proxypal/gemini-3-flash-preview" };
6750
- agents["frontend-ui-ux-engineer"] = { model: "proxypal/gemini-3-pro-preview" };
6751
- agents["document-writer"] = { model: "proxypal/gemini-3-flash-preview" };
6752
- agents["multimodal-looker"] = { model: "proxypal/gemini-3-flash-preview" };
6753
- agents["orchestrator-sisyphus"] = { model: "proxypal/gemini-claude-sonnet-4-5-thinking" };
6754
- agents["Prometheus (Planner)"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6755
- agents["Metis (Plan Consultant)"] = { model: "proxypal/gemini-claude-opus-4-5-thinking" };
6780
+ agents["Sisyphus"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6781
+ agents["librarian"] = { model: PROXYPAL_AGENT_MODELS.librarian };
6782
+ agents["explore"] = { model: PROXYPAL_AGENT_MODELS.explore };
6783
+ agents["frontend-ui-ux-engineer"] = { model: PROXYPAL_AGENT_MODELS["frontend-ui-ux-engineer"] };
6784
+ agents["document-writer"] = { model: PROXYPAL_AGENT_MODELS["document-writer"] };
6785
+ agents["multimodal-looker"] = { model: PROXYPAL_AGENT_MODELS["multimodal-looker"] };
6786
+ agents["orchestrator-sisyphus"] = { model: PROXYPAL_AGENT_MODELS["orchestrator-sisyphus"] };
6787
+ agents["Prometheus (Planner)"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6788
+ agents["Metis (Plan Consultant)"] = { model: PROXYPAL_AGENT_MODELS.Sisyphus };
6756
6789
  } else if (installConfig.hasClaude) {
6757
6790
  agents["Sisyphus"] = { model: "anthropic/claude-opus-4-5" };
6758
6791
  agents["librarian"] = { model: "anthropic/claude-sonnet-4-5" };
@@ -6770,8 +6803,8 @@ function generateOmoConfig(installConfig) {
6770
6803
  }
6771
6804
  if (!installConfig.hasProxyPal) {
6772
6805
  if (installConfig.hasChatGPT) {
6773
- agents["oracle"] = { model: "proxypal/gpt-5.2-codex" };
6774
- agents["Momus (Plan Reviewer)"] = { model: "proxypal/gpt-5.2-codex" };
6806
+ agents["oracle"] = { model: PROXYPAL_AGENT_MODELS.oracle };
6807
+ agents["Momus (Plan Reviewer)"] = { model: PROXYPAL_AGENT_MODELS["Momus (Plan Reviewer)"] };
6775
6808
  } else if (installConfig.hasClaude) {
6776
6809
  agents["oracle"] = { model: "anthropic/claude-opus-4-5" };
6777
6810
  agents["Momus (Plan Reviewer)"] = { model: "anthropic/claude-opus-4-5" };
@@ -6784,27 +6817,27 @@ function generateOmoConfig(installConfig) {
6784
6817
  }
6785
6818
  if (installConfig.hasProxyPal) {
6786
6819
  config.categories = {
6787
- "visual-engineering": { model: "proxypal/gemini-3-pro-preview" },
6788
- ultrabrain: { model: "proxypal/gpt-5.2-codex" },
6789
- artistry: { model: "proxypal/gemini-3-pro-preview" },
6790
- quick: { model: "proxypal/gemini-3-flash-preview" },
6791
- "most-capable": { model: "proxypal/gemini-claude-opus-4-5-thinking" },
6792
- writing: { model: "proxypal/gemini-3-flash-preview" },
6793
- general: { model: "proxypal/gemini-claude-opus-4-5-thinking" }
6820
+ "visual-engineering": { model: PROXYPAL_CATEGORY_MODELS["visual-engineering"] },
6821
+ ultrabrain: { model: PROXYPAL_CATEGORY_MODELS.ultrabrain },
6822
+ artistry: { model: PROXYPAL_CATEGORY_MODELS.artistry },
6823
+ quick: { model: PROXYPAL_CATEGORY_MODELS.quick },
6824
+ "most-capable": { model: PROXYPAL_CATEGORY_MODELS["most-capable"] },
6825
+ writing: { model: PROXYPAL_CATEGORY_MODELS.writing },
6826
+ general: { model: PROXYPAL_CATEGORY_MODELS.general }
6794
6827
  };
6795
6828
  } else if (installConfig.hasGemini) {
6796
6829
  config.categories = {
6797
- "visual-engineering": { model: "proxypal/gemini-3-pro-preview" },
6798
- ultrabrain: { model: "proxypal/gpt-5.2-codex" },
6799
- artistry: { model: "proxypal/gemini-3-pro-preview" },
6800
- quick: { model: "proxypal/gemini-3-flash-preview" },
6801
- "most-capable": { model: "proxypal/gemini-claude-opus-4-5-thinking" },
6802
- writing: { model: "proxypal/gemini-3-flash-preview" },
6803
- general: { model: "proxypal/gemini-claude-opus-4-5-thinking" }
6830
+ "visual-engineering": { model: PROXYPAL_CATEGORY_MODELS["visual-engineering"] },
6831
+ ultrabrain: { model: PROXYPAL_CATEGORY_MODELS.ultrabrain },
6832
+ artistry: { model: PROXYPAL_CATEGORY_MODELS.artistry },
6833
+ quick: { model: PROXYPAL_CATEGORY_MODELS.quick },
6834
+ "most-capable": { model: PROXYPAL_CATEGORY_MODELS["most-capable"] },
6835
+ writing: { model: PROXYPAL_CATEGORY_MODELS.writing },
6836
+ general: { model: PROXYPAL_CATEGORY_MODELS.general }
6804
6837
  };
6805
6838
  } else if (installConfig.hasChatGPT) {
6806
6839
  config.categories = {
6807
- ultrabrain: { model: "proxypal/gpt-5.2-codex" }
6840
+ ultrabrain: { model: PROXYPAL_CATEGORY_MODELS.ultrabrain }
6808
6841
  };
6809
6842
  }
6810
6843
  return config;
@@ -7148,7 +7181,7 @@ function detectCurrentConfig() {
7148
7181
  return result;
7149
7182
  }
7150
7183
  const agents = omoConfig.agents ?? {};
7151
- if (agents["Sisyphus"]?.model?.startsWith("proxypal/")) {
7184
+ if (agents["Sisyphus"]?.model?.includes("proxypal/") || agents["Sisyphus"]?.model?.includes("openai/")) {
7152
7185
  result.hasProxyPal = true;
7153
7186
  result.hasClaude = false;
7154
7187
  result.isMax20 = false;
@@ -9757,6 +9790,7 @@ var CHECK_IDS = {
9757
9790
  LSP_SERVERS: "lsp-servers",
9758
9791
  MCP_BUILTIN: "mcp-builtin",
9759
9792
  MCP_USER: "mcp-user",
9793
+ MCP_CLI: "mcp-cli",
9760
9794
  VERSION_STATUS: "version-status"
9761
9795
  };
9762
9796
  var CHECK_NAMES = {
@@ -9773,6 +9807,7 @@ var CHECK_NAMES = {
9773
9807
  [CHECK_IDS.LSP_SERVERS]: "LSP Servers",
9774
9808
  [CHECK_IDS.MCP_BUILTIN]: "Built-in MCP Servers",
9775
9809
  [CHECK_IDS.MCP_USER]: "User MCP Configuration",
9810
+ [CHECK_IDS.MCP_CLI]: "MCP CLI",
9776
9811
  [CHECK_IDS.VERSION_STATUS]: "Version Status"
9777
9812
  };
9778
9813
  var CATEGORY_NAMES = {
@@ -22324,11 +22359,9 @@ function date4(params) {
22324
22359
 
22325
22360
  // node_modules/zod/v4/classic/external.js
22326
22361
  config(en_default());
22327
- // src/mcp/types.ts
22328
- var McpNameSchema = exports_external.enum(["websearch", "context7", "grep_app"]);
22329
- var AnyMcpNameSchema = exports_external.string().min(1);
22330
-
22331
22362
  // src/config/schema.ts
22363
+ var McpNameSchema = exports_external.enum(["context7", "grep_app", "websearch"]);
22364
+ var AnyMcpNameSchema = exports_external.union([McpNameSchema, exports_external.string().min(1)]);
22332
22365
  var PermissionValue = exports_external.enum(["ask", "allow", "deny"]);
22333
22366
  var BashPermission = exports_external.union([
22334
22367
  PermissionValue,
@@ -22405,9 +22438,7 @@ var HookNameSchema = exports_external.enum([
22405
22438
  "edit-error-recovery",
22406
22439
  "prometheus-md-only",
22407
22440
  "start-work",
22408
- "sisyphus-orchestrator",
22409
- "maestro-sisyphus-bridge",
22410
- "tdd-enforcement"
22441
+ "sisyphus-orchestrator"
22411
22442
  ]);
22412
22443
  var BuiltinCommandNameSchema = exports_external.enum([
22413
22444
  "init-deep",
@@ -22577,18 +22608,6 @@ var GitMasterConfigSchema = exports_external.object({
22577
22608
  commit_footer: exports_external.boolean().default(true),
22578
22609
  include_co_authored_by: exports_external.boolean().default(true)
22579
22610
  });
22580
- var MaestroConfigSchema = exports_external.object({
22581
- autoExecute: exports_external.boolean().default(false),
22582
- useDesignPhases: exports_external.boolean().default(true),
22583
- useTracking: exports_external.boolean().default(true),
22584
- preferredExecutionMode: exports_external.enum(["maestro", "sisyphus"]).default("maestro"),
22585
- enforceTdd: exports_external.boolean().default(false),
22586
- tddGates: exports_external.object({
22587
- requireFailingTest: exports_external.boolean().default(true),
22588
- requirePassingTest: exports_external.boolean().default(true),
22589
- runFullSuiteAfterRefactor: exports_external.boolean().default(true)
22590
- }).optional()
22591
- });
22592
22611
  var OhMyOpenCodeConfigSchema = exports_external.object({
22593
22612
  $schema: exports_external.string().optional(),
22594
22613
  disabled_mcps: exports_external.array(AnyMcpNameSchema).optional(),
@@ -22599,6 +22618,7 @@ var OhMyOpenCodeConfigSchema = exports_external.object({
22599
22618
  agents: AgentOverridesSchema.optional(),
22600
22619
  categories: CategoriesConfigSchema.optional(),
22601
22620
  claude_code: ClaudeCodeConfigSchema.optional(),
22621
+ google_auth: exports_external.boolean().optional(),
22602
22622
  sisyphus_agent: SisyphusAgentConfigSchema.optional(),
22603
22623
  comment_checker: CommentCheckerConfigSchema.optional(),
22604
22624
  experimental: ExperimentalConfigSchema.optional(),
@@ -22607,8 +22627,7 @@ var OhMyOpenCodeConfigSchema = exports_external.object({
22607
22627
  ralph_loop: RalphLoopConfigSchema.optional(),
22608
22628
  background_task: BackgroundTaskConfigSchema.optional(),
22609
22629
  notification: NotificationConfigSchema.optional(),
22610
- git_master: GitMasterConfigSchema.optional(),
22611
- maestro: MaestroConfigSchema.optional()
22630
+ git_master: GitMasterConfigSchema.optional()
22612
22631
  });
22613
22632
  // src/cli/doctor/checks/config.ts
22614
22633
  var USER_CONFIG_DIR2 = join5(homedir4(), ".config", "opencode");
@@ -23259,6 +23278,39 @@ function getMcpCheckDefinitions() {
23259
23278
  ];
23260
23279
  }
23261
23280
 
23281
+ // src/cli/doctor/checks/mcp-cli.ts
23282
+ async function checkMcpCli() {
23283
+ const mcpCliPath = Bun.which("mcp-cli");
23284
+ if (!mcpCliPath) {
23285
+ return {
23286
+ name: CHECK_NAMES[CHECK_IDS.MCP_CLI],
23287
+ status: "fail",
23288
+ message: "mcp-cli not found",
23289
+ details: [
23290
+ "Install mcp-cli to use CLI-based MCP server management:",
23291
+ " bun install -g @philschmid/mcp-cli",
23292
+ "",
23293
+ "For more information:",
23294
+ " https://github.com/philschmid/mcp-cli"
23295
+ ]
23296
+ };
23297
+ }
23298
+ return {
23299
+ name: CHECK_NAMES[CHECK_IDS.MCP_CLI],
23300
+ status: "pass",
23301
+ message: `mcp-cli installed at ${mcpCliPath}`
23302
+ };
23303
+ }
23304
+ function getMcpCliCheckDefinition() {
23305
+ return {
23306
+ id: CHECK_IDS.MCP_CLI,
23307
+ name: CHECK_NAMES[CHECK_IDS.MCP_CLI],
23308
+ category: "tools",
23309
+ check: checkMcpCli,
23310
+ critical: false
23311
+ };
23312
+ }
23313
+
23262
23314
  // src/cli/doctor/checks/version.ts
23263
23315
  function compareVersions2(current, latest) {
23264
23316
  const parseVersion = (v) => {
@@ -23379,6 +23431,7 @@ function getAllCheckDefinitions() {
23379
23431
  getGhCliCheckDefinition(),
23380
23432
  getLspCheckDefinition(),
23381
23433
  ...getMcpCheckDefinitions(),
23434
+ getMcpCliCheckDefinition(),
23382
23435
  getVersionCheckDefinition()
23383
23436
  ];
23384
23437
  }