oh-my-codex 0.7.6 → 0.8.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 (376) hide show
  1. package/README.de.md +315 -0
  2. package/README.es.md +296 -17
  3. package/README.fr.md +315 -0
  4. package/README.it.md +315 -0
  5. package/README.ja.md +297 -18
  6. package/README.ko.md +296 -17
  7. package/README.md +110 -13
  8. package/README.pt.md +296 -17
  9. package/README.ru.md +296 -17
  10. package/README.tr.md +315 -0
  11. package/README.vi.md +297 -18
  12. package/README.zh-TW.md +362 -0
  13. package/README.zh.md +293 -17
  14. package/dist/catalog/__tests__/generator.test.js +2 -0
  15. package/dist/catalog/__tests__/generator.test.js.map +1 -1
  16. package/dist/catalog/__tests__/schema.test.js +7 -0
  17. package/dist/catalog/__tests__/schema.test.js.map +1 -1
  18. package/dist/cli/__tests__/ask.test.d.ts +2 -0
  19. package/dist/cli/__tests__/ask.test.d.ts.map +1 -0
  20. package/dist/cli/__tests__/ask.test.js +236 -0
  21. package/dist/cli/__tests__/ask.test.js.map +1 -0
  22. package/dist/cli/__tests__/doctor-warning-copy.test.d.ts +2 -0
  23. package/dist/cli/__tests__/doctor-warning-copy.test.d.ts.map +1 -0
  24. package/dist/cli/__tests__/doctor-warning-copy.test.js +45 -0
  25. package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -0
  26. package/dist/cli/__tests__/index.test.js +85 -2
  27. package/dist/cli/__tests__/index.test.js.map +1 -1
  28. package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts +2 -0
  29. package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts.map +1 -0
  30. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +15 -0
  31. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -0
  32. package/dist/cli/__tests__/ralph.test.js +19 -43
  33. package/dist/cli/__tests__/ralph.test.js.map +1 -1
  34. package/dist/cli/__tests__/setup-scope.test.js +2 -0
  35. package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
  36. package/dist/cli/__tests__/team.test.js +219 -1
  37. package/dist/cli/__tests__/team.test.js.map +1 -1
  38. package/dist/cli/__tests__/version.test.d.ts +2 -0
  39. package/dist/cli/__tests__/version.test.d.ts.map +1 -0
  40. package/dist/cli/__tests__/version.test.js +21 -0
  41. package/dist/cli/__tests__/version.test.js.map +1 -0
  42. package/dist/cli/ask.d.ts +13 -0
  43. package/dist/cli/ask.d.ts.map +1 -0
  44. package/dist/cli/ask.js +174 -0
  45. package/dist/cli/ask.js.map +1 -0
  46. package/dist/cli/constants.d.ts +10 -0
  47. package/dist/cli/constants.d.ts.map +1 -0
  48. package/dist/cli/constants.js +10 -0
  49. package/dist/cli/constants.js.map +1 -0
  50. package/dist/cli/doctor.js +16 -5
  51. package/dist/cli/doctor.js.map +1 -1
  52. package/dist/cli/index.d.ts +8 -2
  53. package/dist/cli/index.d.ts.map +1 -1
  54. package/dist/cli/index.js +150 -52
  55. package/dist/cli/index.js.map +1 -1
  56. package/dist/cli/ralph.d.ts +3 -11
  57. package/dist/cli/ralph.d.ts.map +1 -1
  58. package/dist/cli/ralph.js +64 -45
  59. package/dist/cli/ralph.js.map +1 -1
  60. package/dist/cli/setup.d.ts.map +1 -1
  61. package/dist/cli/setup.js +17 -18
  62. package/dist/cli/setup.js.map +1 -1
  63. package/dist/cli/team.d.ts.map +1 -1
  64. package/dist/cli/team.js +257 -0
  65. package/dist/cli/team.js.map +1 -1
  66. package/dist/hooks/__tests__/deep-interview-contract.test.d.ts +2 -0
  67. package/dist/hooks/__tests__/deep-interview-contract.test.d.ts.map +1 -0
  68. package/dist/hooks/__tests__/deep-interview-contract.test.js +55 -0
  69. package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -0
  70. package/dist/hooks/__tests__/emulator.test.js +6 -0
  71. package/dist/hooks/__tests__/emulator.test.js.map +1 -1
  72. package/dist/hooks/__tests__/keyword-detector.test.js +44 -22
  73. package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
  74. package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +23 -7
  75. package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
  76. package/dist/hooks/__tests__/notify-hook-session-scope.test.js +59 -0
  77. package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
  78. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +264 -1
  79. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
  80. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +61 -1
  81. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
  82. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +17 -7
  83. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
  84. package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts +2 -0
  85. package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts.map +1 -0
  86. package/dist/hooks/__tests__/openclaw-setup-contract.test.js +61 -0
  87. package/dist/hooks/__tests__/openclaw-setup-contract.test.js.map +1 -0
  88. package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts +2 -0
  89. package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts.map +1 -0
  90. package/dist/hooks/__tests__/pre-context-gate-skills.test.js +34 -0
  91. package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -0
  92. package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts +2 -0
  93. package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts.map +1 -0
  94. package/dist/hooks/__tests__/visual-verdict-loop.test.js +35 -0
  95. package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -0
  96. package/dist/hooks/agents-overlay.d.ts.map +1 -1
  97. package/dist/hooks/agents-overlay.js +18 -16
  98. package/dist/hooks/agents-overlay.js.map +1 -1
  99. package/dist/hooks/codebase-map.d.ts.map +1 -1
  100. package/dist/hooks/codebase-map.js +6 -2
  101. package/dist/hooks/codebase-map.js.map +1 -1
  102. package/dist/hooks/emulator.d.ts.map +1 -1
  103. package/dist/hooks/emulator.js +2 -0
  104. package/dist/hooks/emulator.js.map +1 -1
  105. package/dist/hooks/extensibility/sdk.d.ts.map +1 -1
  106. package/dist/hooks/extensibility/sdk.js +2 -1
  107. package/dist/hooks/extensibility/sdk.js.map +1 -1
  108. package/dist/hooks/keyword-registry.d.ts.map +1 -1
  109. package/dist/hooks/keyword-registry.js +6 -0
  110. package/dist/hooks/keyword-registry.js.map +1 -1
  111. package/dist/hud/index.d.ts.map +1 -1
  112. package/dist/hud/index.js +2 -24
  113. package/dist/hud/index.js.map +1 -1
  114. package/dist/mcp/__tests__/path-traversal.test.js +9 -227
  115. package/dist/mcp/__tests__/path-traversal.test.js.map +1 -1
  116. package/dist/mcp/__tests__/state-server-schema.test.js +16 -20
  117. package/dist/mcp/__tests__/state-server-schema.test.js.map +1 -1
  118. package/dist/mcp/__tests__/state-server-team-tools.test.js +30 -487
  119. package/dist/mcp/__tests__/state-server-team-tools.test.js.map +1 -1
  120. package/dist/mcp/code-intel-server.d.ts.map +1 -1
  121. package/dist/mcp/code-intel-server.js +18 -8
  122. package/dist/mcp/code-intel-server.js.map +1 -1
  123. package/dist/mcp/memory-server.js +72 -11
  124. package/dist/mcp/memory-server.js.map +1 -1
  125. package/dist/mcp/state-paths.d.ts.map +1 -1
  126. package/dist/mcp/state-paths.js +4 -1
  127. package/dist/mcp/state-paths.js.map +1 -1
  128. package/dist/mcp/state-server.d.ts +179 -0
  129. package/dist/mcp/state-server.d.ts.map +1 -1
  130. package/dist/mcp/state-server.js +221 -1111
  131. package/dist/mcp/state-server.js.map +1 -1
  132. package/dist/mcp/team-server.d.ts.map +1 -1
  133. package/dist/mcp/team-server.js +9 -3
  134. package/dist/mcp/team-server.js.map +1 -1
  135. package/dist/mcp/trace-server.d.ts.map +1 -1
  136. package/dist/mcp/trace-server.js +8 -3
  137. package/dist/mcp/trace-server.js.map +1 -1
  138. package/dist/notifications/__tests__/dispatch-cooldown.test.d.ts +5 -0
  139. package/dist/notifications/__tests__/dispatch-cooldown.test.d.ts.map +1 -0
  140. package/dist/notifications/__tests__/dispatch-cooldown.test.js +100 -0
  141. package/dist/notifications/__tests__/dispatch-cooldown.test.js.map +1 -0
  142. package/dist/notifications/__tests__/temp-mode.test.d.ts +2 -0
  143. package/dist/notifications/__tests__/temp-mode.test.d.ts.map +1 -0
  144. package/dist/notifications/__tests__/temp-mode.test.js +172 -0
  145. package/dist/notifications/__tests__/temp-mode.test.js.map +1 -0
  146. package/dist/notifications/config.d.ts.map +1 -1
  147. package/dist/notifications/config.js +67 -7
  148. package/dist/notifications/config.js.map +1 -1
  149. package/dist/notifications/dispatch-cooldown.d.ts +36 -0
  150. package/dist/notifications/dispatch-cooldown.d.ts.map +1 -0
  151. package/dist/notifications/dispatch-cooldown.js +109 -0
  152. package/dist/notifications/dispatch-cooldown.js.map +1 -0
  153. package/dist/notifications/dispatcher.d.ts.map +1 -1
  154. package/dist/notifications/dispatcher.js +4 -4
  155. package/dist/notifications/dispatcher.js.map +1 -1
  156. package/dist/notifications/index.d.ts +5 -0
  157. package/dist/notifications/index.d.ts.map +1 -1
  158. package/dist/notifications/index.js +39 -8
  159. package/dist/notifications/index.js.map +1 -1
  160. package/dist/notifications/reply-listener.d.ts.map +1 -1
  161. package/dist/notifications/reply-listener.js +6 -2
  162. package/dist/notifications/reply-listener.js.map +1 -1
  163. package/dist/notifications/session-registry.d.ts.map +1 -1
  164. package/dist/notifications/session-registry.js +2 -2
  165. package/dist/notifications/session-registry.js.map +1 -1
  166. package/dist/notifications/temp-contract.d.ts +22 -0
  167. package/dist/notifications/temp-contract.d.ts.map +1 -0
  168. package/dist/notifications/temp-contract.js +147 -0
  169. package/dist/notifications/temp-contract.js.map +1 -0
  170. package/dist/notifications/tmux.js +2 -2
  171. package/dist/notifications/tmux.js.map +1 -1
  172. package/dist/notifications/types.d.ts +18 -0
  173. package/dist/notifications/types.d.ts.map +1 -1
  174. package/dist/openclaw/__tests__/config.test.js +81 -0
  175. package/dist/openclaw/__tests__/config.test.js.map +1 -1
  176. package/dist/openclaw/__tests__/dispatcher.test.js +40 -1
  177. package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
  178. package/dist/openclaw/config.d.ts +4 -0
  179. package/dist/openclaw/config.d.ts.map +1 -1
  180. package/dist/openclaw/config.js +110 -16
  181. package/dist/openclaw/config.js.map +1 -1
  182. package/dist/openclaw/dispatcher.d.ts +9 -3
  183. package/dist/openclaw/dispatcher.d.ts.map +1 -1
  184. package/dist/openclaw/dispatcher.js +42 -9
  185. package/dist/openclaw/dispatcher.js.map +1 -1
  186. package/dist/openclaw/types.d.ts +5 -1
  187. package/dist/openclaw/types.d.ts.map +1 -1
  188. package/dist/ralph/__tests__/persistence.test.js +28 -1
  189. package/dist/ralph/__tests__/persistence.test.js.map +1 -1
  190. package/dist/ralph/persistence.d.ts +21 -0
  191. package/dist/ralph/persistence.d.ts.map +1 -1
  192. package/dist/ralph/persistence.js +85 -2
  193. package/dist/ralph/persistence.js.map +1 -1
  194. package/dist/state/paths.d.ts +3 -0
  195. package/dist/state/paths.d.ts.map +1 -0
  196. package/dist/state/paths.js +2 -0
  197. package/dist/state/paths.js.map +1 -0
  198. package/dist/team/__tests__/api-interop.test.d.ts +2 -0
  199. package/dist/team/__tests__/api-interop.test.d.ts.map +1 -0
  200. package/dist/team/__tests__/api-interop.test.js +1052 -0
  201. package/dist/team/__tests__/api-interop.test.js.map +1 -0
  202. package/dist/team/__tests__/idle-nudge.test.d.ts +2 -0
  203. package/dist/team/__tests__/idle-nudge.test.d.ts.map +1 -0
  204. package/dist/team/__tests__/idle-nudge.test.js +225 -0
  205. package/dist/team/__tests__/idle-nudge.test.js.map +1 -0
  206. package/dist/team/__tests__/mcp-comm.test.js +30 -0
  207. package/dist/team/__tests__/mcp-comm.test.js.map +1 -1
  208. package/dist/team/__tests__/runtime.test.js +33 -26
  209. package/dist/team/__tests__/runtime.test.js.map +1 -1
  210. package/dist/team/__tests__/state-root.test.d.ts +2 -0
  211. package/dist/team/__tests__/state-root.test.d.ts.map +1 -0
  212. package/dist/team/__tests__/state-root.test.js +9 -0
  213. package/dist/team/__tests__/state-root.test.js.map +1 -0
  214. package/dist/team/__tests__/state.test.js +52 -17
  215. package/dist/team/__tests__/state.test.js.map +1 -1
  216. package/dist/team/__tests__/team-ops-contract.test.d.ts +2 -0
  217. package/dist/team/__tests__/team-ops-contract.test.d.ts.map +1 -0
  218. package/dist/team/__tests__/team-ops-contract.test.js +90 -0
  219. package/dist/team/__tests__/team-ops-contract.test.js.map +1 -0
  220. package/dist/team/__tests__/tmux-claude-workers-demo.test.d.ts +2 -0
  221. package/dist/team/__tests__/tmux-claude-workers-demo.test.d.ts.map +1 -0
  222. package/dist/team/__tests__/tmux-claude-workers-demo.test.js +176 -0
  223. package/dist/team/__tests__/tmux-claude-workers-demo.test.js.map +1 -0
  224. package/dist/team/__tests__/tmux-session.test.js +8 -0
  225. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  226. package/dist/team/__tests__/worker-bootstrap.test.js +29 -0
  227. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  228. package/dist/team/__tests__/worktree.test.js +54 -1
  229. package/dist/team/__tests__/worktree.test.js.map +1 -1
  230. package/dist/team/api-interop.d.ts +19 -0
  231. package/dist/team/api-interop.d.ts.map +1 -0
  232. package/dist/team/api-interop.js +578 -0
  233. package/dist/team/api-interop.js.map +1 -0
  234. package/dist/team/mcp-comm.d.ts.map +1 -1
  235. package/dist/team/mcp-comm.js +32 -2
  236. package/dist/team/mcp-comm.js.map +1 -1
  237. package/dist/team/orchestrator.d.ts +1 -10
  238. package/dist/team/orchestrator.d.ts.map +1 -1
  239. package/dist/team/orchestrator.js +8 -0
  240. package/dist/team/orchestrator.js.map +1 -1
  241. package/dist/team/runtime-cli.js +14 -8
  242. package/dist/team/runtime-cli.js.map +1 -1
  243. package/dist/team/runtime.d.ts +2 -1
  244. package/dist/team/runtime.d.ts.map +1 -1
  245. package/dist/team/runtime.js +103 -30
  246. package/dist/team/runtime.js.map +1 -1
  247. package/dist/team/scaling.d.ts.map +1 -1
  248. package/dist/team/scaling.js +33 -12
  249. package/dist/team/scaling.js.map +1 -1
  250. package/dist/team/state/approvals.d.ts +25 -0
  251. package/dist/team/state/approvals.d.ts.map +1 -0
  252. package/dist/team/state/approvals.js +31 -0
  253. package/dist/team/state/approvals.js.map +1 -0
  254. package/dist/team/state/config.d.ts +2 -0
  255. package/dist/team/state/config.d.ts.map +1 -0
  256. package/dist/team/state/config.js +2 -0
  257. package/dist/team/state/config.js.map +1 -0
  258. package/dist/team/state/dispatch-lock.d.ts +3 -0
  259. package/dist/team/state/dispatch-lock.d.ts.map +1 -0
  260. package/dist/team/state/dispatch-lock.js +81 -0
  261. package/dist/team/state/dispatch-lock.js.map +1 -0
  262. package/dist/team/state/dispatch.d.ts +61 -0
  263. package/dist/team/state/dispatch.d.ts.map +1 -0
  264. package/dist/team/state/dispatch.js +158 -0
  265. package/dist/team/state/dispatch.js.map +1 -0
  266. package/dist/team/state/events.d.ts +2 -0
  267. package/dist/team/state/events.d.ts.map +1 -0
  268. package/dist/team/state/events.js +2 -0
  269. package/dist/team/state/events.js.map +1 -0
  270. package/dist/team/state/index.d.ts +11 -0
  271. package/dist/team/state/index.d.ts.map +1 -0
  272. package/dist/team/state/index.js +11 -0
  273. package/dist/team/state/index.js.map +1 -0
  274. package/dist/team/state/io.d.ts +2 -0
  275. package/dist/team/state/io.d.ts.map +1 -0
  276. package/dist/team/state/io.js +2 -0
  277. package/dist/team/state/io.js.map +1 -0
  278. package/dist/team/state/locks.d.ts +16 -0
  279. package/dist/team/state/locks.d.ts.map +1 -0
  280. package/dist/team/state/locks.js +201 -0
  281. package/dist/team/state/locks.js.map +1 -0
  282. package/dist/team/state/mailbox.d.ts +39 -0
  283. package/dist/team/state/mailbox.d.ts.map +1 -0
  284. package/dist/team/state/mailbox.js +58 -0
  285. package/dist/team/state/mailbox.js.map +1 -0
  286. package/dist/team/state/monitor.d.ts +96 -0
  287. package/dist/team/state/monitor.d.ts.map +1 -0
  288. package/dist/team/state/monitor.js +163 -0
  289. package/dist/team/state/monitor.js.map +1 -0
  290. package/dist/team/state/shutdown.d.ts +2 -0
  291. package/dist/team/state/shutdown.d.ts.map +1 -0
  292. package/dist/team/state/shutdown.js +2 -0
  293. package/dist/team/state/shutdown.js.map +1 -0
  294. package/dist/team/state/summary.d.ts +2 -0
  295. package/dist/team/state/summary.d.ts.map +1 -0
  296. package/dist/team/state/summary.js +2 -0
  297. package/dist/team/state/summary.js.map +1 -0
  298. package/dist/team/state/tasks.d.ts +49 -0
  299. package/dist/team/state/tasks.d.ts.map +1 -0
  300. package/dist/team/state/tasks.js +182 -0
  301. package/dist/team/state/tasks.js.map +1 -0
  302. package/dist/team/state/types.d.ts +281 -0
  303. package/dist/team/state/types.d.ts.map +1 -0
  304. package/dist/team/state/types.js +3 -0
  305. package/dist/team/state/types.js.map +1 -0
  306. package/dist/team/state/workers.d.ts +2 -0
  307. package/dist/team/state/workers.d.ts.map +1 -0
  308. package/dist/team/state/workers.js +2 -0
  309. package/dist/team/state/workers.js.map +1 -0
  310. package/dist/team/state-root.d.ts +5 -0
  311. package/dist/team/state-root.d.ts.map +1 -0
  312. package/dist/team/state-root.js +8 -0
  313. package/dist/team/state-root.js.map +1 -0
  314. package/dist/team/state.d.ts +4 -1
  315. package/dist/team/state.d.ts.map +1 -1
  316. package/dist/team/state.js +200 -881
  317. package/dist/team/state.js.map +1 -1
  318. package/dist/team/tmux-session.d.ts.map +1 -1
  319. package/dist/team/tmux-session.js +11 -10
  320. package/dist/team/tmux-session.js.map +1 -1
  321. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  322. package/dist/team/worker-bootstrap.js +58 -26
  323. package/dist/team/worker-bootstrap.js.map +1 -1
  324. package/dist/team/worktree.d.ts.map +1 -1
  325. package/dist/team/worktree.js +43 -1
  326. package/dist/team/worktree.js.map +1 -1
  327. package/dist/utils/safe-json.d.ts +3 -0
  328. package/dist/utils/safe-json.d.ts.map +1 -0
  329. package/dist/utils/safe-json.js +19 -0
  330. package/dist/utils/safe-json.js.map +1 -0
  331. package/dist/utils/sleep.d.ts +3 -0
  332. package/dist/utils/sleep.d.ts.map +1 -0
  333. package/dist/utils/sleep.js +15 -0
  334. package/dist/utils/sleep.js.map +1 -0
  335. package/dist/visual/__tests__/verdict.test.d.ts +2 -0
  336. package/dist/visual/__tests__/verdict.test.d.ts.map +1 -0
  337. package/dist/visual/__tests__/verdict.test.js +81 -0
  338. package/dist/visual/__tests__/verdict.test.js.map +1 -0
  339. package/dist/visual/constants.d.ts +4 -0
  340. package/dist/visual/constants.d.ts.map +1 -0
  341. package/dist/visual/constants.js +3 -0
  342. package/dist/visual/constants.js.map +1 -0
  343. package/dist/visual/verdict.d.ts +17 -0
  344. package/dist/visual/verdict.d.ts.map +1 -0
  345. package/dist/visual/verdict.js +61 -0
  346. package/dist/visual/verdict.js.map +1 -0
  347. package/package.json +10 -3
  348. package/scripts/ask-claude.sh +17 -0
  349. package/scripts/ask-gemini.sh +14 -0
  350. package/scripts/demo-claude-workers.sh +241 -0
  351. package/scripts/demo-team-e2e.sh +179 -0
  352. package/scripts/fixtures/ask-advisor-stub.js +12 -0
  353. package/scripts/notify-hook/team-dispatch.js +234 -12
  354. package/scripts/notify-hook/team-leader-nudge.js +42 -2
  355. package/scripts/notify-hook/team-worker.js +63 -4
  356. package/scripts/notify-hook/visual-verdict.js +50 -1
  357. package/scripts/notify-hook.js +1 -0
  358. package/scripts/run-provider-advisor.js +179 -0
  359. package/skills/ask-claude/SKILL.md +61 -0
  360. package/skills/ask-gemini/SKILL.md +61 -0
  361. package/skills/autopilot/SKILL.md +32 -2
  362. package/skills/configure-notifications/SKILL.md +188 -186
  363. package/skills/deep-interview/SKILL.md +247 -0
  364. package/skills/omx-setup/SKILL.md +1 -1
  365. package/skills/ralph/SKILL.md +42 -11
  366. package/skills/ralplan/SKILL.md +17 -0
  367. package/skills/team/SKILL.md +64 -5
  368. package/skills/visual-verdict/SKILL.md +76 -0
  369. package/skills/web-clone/SKILL.md +366 -0
  370. package/skills/worker/SKILL.md +42 -11
  371. package/templates/AGENTS.md +9 -0
  372. package/templates/catalog-manifest.json +39 -18
  373. package/skills/configure-discord/SKILL.md +0 -256
  374. package/skills/configure-openclaw/SKILL.md +0 -267
  375. package/skills/configure-slack/SKILL.md +0 -226
  376. package/skills/configure-telegram/SKILL.md +0 -232
package/README.de.md ADDED
@@ -0,0 +1,315 @@
1
+ # oh-my-codex (OMX)
2
+
3
+ <p align="center">
4
+ <img src="https://yeachan-heo.github.io/oh-my-codex-website/omx-character-nobg.png" alt="oh-my-codex character" width="280">
5
+ <br>
6
+ <em>Dein Codex ist nicht allein.</em>
7
+ </p>
8
+
9
+ [![npm version](https://img.shields.io/npm/v/oh-my-codex)](https://www.npmjs.com/package/oh-my-codex)
10
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)
12
+
13
+ > **[Website](https://yeachan-heo.github.io/oh-my-codex-website/)** | **[Documentation](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** | **[CLI Reference](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** | **[Workflows](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** | **[GitHub](https://github.com/Yeachan-Heo/oh-my-codex)** | **[npm](https://www.npmjs.com/package/oh-my-codex)**
14
+
15
+ Multi-Agenten-Orchestrierungsschicht für [OpenAI Codex CLI](https://github.com/openai/codex).
16
+
17
+ ## Sprachen
18
+
19
+ - [English](./README.md)
20
+ - [한국어 (Korean)](./README.ko.md)
21
+ - [日本語 (Japanese)](./README.ja.md)
22
+ - [简体中文 (Chinese Simplified)](./README.zh.md)
23
+ - [繁體中文 (Chinese Traditional)](./README.zh-TW.md)
24
+ - [Tiếng Việt (Vietnamese)](./README.vi.md)
25
+ - [Español (Spanish)](./README.es.md)
26
+ - [Português (Portuguese)](./README.pt.md)
27
+ - [Русский (Russian)](./README.ru.md)
28
+ - [Türkçe (Turkish)](./README.tr.md)
29
+ - [Deutsch (German)](./README.de.md)
30
+ - [Français (French)](./README.fr.md)
31
+ - [Italiano (Italian)](./README.it.md)
32
+
33
+
34
+ OMX verwandelt Codex von einem Einzelsitzungs-Agenten in ein koordiniertes System mit:
35
+ - Role Prompts (`/prompts:name`) für spezialisierte Agenten
36
+ - Workflow Skills (`$name`) für wiederholbare Ausführungsmodi
37
+ - Team-Orchestrierung in tmux (`omx team`, `$team`)
38
+ - Persistenter Zustand und Speicher über MCP-Server
39
+
40
+ ## Warum OMX
41
+
42
+ Codex CLI ist stark für direkte Aufgaben. OMX fügt Struktur für größere Arbeiten hinzu:
43
+ - Zerlegung und stufenweise Ausführung (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
44
+ - Persistenter Modus-Lebenszyklus-Zustand (`.omx/state/`)
45
+ - Speicher- und Notepad-Oberflächen für langfristige Sitzungen
46
+ - Operationelle Steuerung für Start, Verifizierung und Abbruch
47
+
48
+ OMX ist ein Add-on, kein Fork. Es nutzt die nativen Erweiterungspunkte von Codex.
49
+
50
+ ## Voraussetzungen
51
+
52
+ - macOS oder Linux (Windows über WSL2)
53
+ - Node.js >= 20
54
+ - Codex CLI installiert (`npm install -g @openai/codex`)
55
+ - Codex-Authentifizierung konfiguriert
56
+
57
+ ## Schnellstart (3 Minuten)
58
+
59
+ ```bash
60
+ npm install -g oh-my-codex
61
+ omx setup
62
+ omx doctor
63
+ ```
64
+
65
+ Empfohlenes Startprofil für vertrauenswürdige Umgebungen:
66
+
67
+ ```bash
68
+ omx --xhigh --madmax
69
+ ```
70
+
71
+ ## Neu in v0.5.0
72
+
73
+ - **Bereichsbewusstes Setup** mit `omx setup --scope user|project` für flexible Installationsmodi.
74
+ - **Spark-Worker-Routing** über `--spark` / `--madmax-spark`, damit Team-Worker `gpt-5.3-codex-spark` nutzen können, ohne das Leader-Modell zu erzwingen.
75
+ - **Katalog-Konsolidierung** — veraltete Prompts (`deep-executor`, `scientist`) und 9 veraltete Skills entfernt.
76
+ - **Benachrichtigungs-Detailstufen** für feingranulare CCNotifier-Ausgabesteuerung.
77
+
78
+ ## Erste Sitzung
79
+
80
+ Innerhalb von Codex:
81
+
82
+ ```text
83
+ /prompts:architect "analyze current auth boundaries"
84
+ /prompts:executor "implement input validation in login"
85
+ $plan "ship OAuth callback safely"
86
+ $team 3:executor "fix all TypeScript errors"
87
+ ```
88
+
89
+ Vom Terminal:
90
+
91
+ ```bash
92
+ omx team 4:executor "parallelize a multi-module refactor"
93
+ omx team status <team-name>
94
+ omx team shutdown <team-name>
95
+ ```
96
+
97
+ ## Kernmodell
98
+
99
+ OMX installiert und verbindet diese Schichten:
100
+
101
+ ```text
102
+ User
103
+ -> Codex CLI
104
+ -> AGENTS.md (Orchestrierungs-Gehirn)
105
+ -> ~/.codex/prompts/*.md (Agenten-Prompt-Katalog)
106
+ -> ~/.agents/skills/*/SKILL.md (Skill-Katalog)
107
+ -> ~/.codex/config.toml (Features, Benachrichtigungen, MCP)
108
+ -> .omx/ (Laufzeitzustand, Speicher, Pläne, Protokolle)
109
+ ```
110
+
111
+ ## Hauptbefehle
112
+
113
+ ```bash
114
+ omx # Codex starten (+ HUD in tmux wenn verfügbar)
115
+ omx setup # Prompts/Skills/Config nach Bereich installieren + Projekt AGENTS.md/.omx
116
+ omx doctor # Installations-/Laufzeitdiagnose
117
+ omx doctor --team # Team/Swarm-Diagnose
118
+ omx team ... # tmux-Team-Worker starten/Status/fortsetzen/herunterfahren
119
+ omx status # Aktive Modi anzeigen
120
+ omx cancel # Aktive Ausführungsmodi abbrechen
121
+ omx reasoning <mode> # low|medium|high|xhigh
122
+ omx tmux-hook ... # init|status|validate|test
123
+ omx hooks ... # init|status|validate|test (Plugin-Erweiterungs-Workflow)
124
+ omx hud ... # --watch|--json|--preset
125
+ omx help
126
+ ```
127
+
128
+ ## Hooks-Erweiterung (Additive Oberfläche)
129
+
130
+ OMX enthält jetzt `omx hooks` für Plugin-Gerüstbau und -Validierung.
131
+
132
+ - `omx tmux-hook` wird weiterhin unterstützt und ist unverändert.
133
+ - `omx hooks` ist additiv und ersetzt keine tmux-hook-Workflows.
134
+ - Plugin-Dateien befinden sich unter `.omx/hooks/*.mjs`.
135
+ - Plugins sind standardmäßig deaktiviert; aktivieren mit `OMX_HOOK_PLUGINS=1`.
136
+
137
+ Siehe `docs/hooks-extension.md` für den vollständigen Erweiterungs-Workflow und das Ereignismodell.
138
+
139
+ ## Start-Flags
140
+
141
+ ```bash
142
+ --yolo
143
+ --high
144
+ --xhigh
145
+ --madmax
146
+ --force
147
+ --dry-run
148
+ --verbose
149
+ --scope <user|project> # nur bei setup
150
+ ```
151
+
152
+ `--madmax` entspricht Codex `--dangerously-bypass-approvals-and-sandbox`.
153
+ Nur in vertrauenswürdigen/externen Sandbox-Umgebungen verwenden.
154
+
155
+ ### MCP workingDirectory-Richtlinie (optionale Härtung)
156
+
157
+ Standardmäßig akzeptieren MCP-Zustand/Speicher/Trace-Tools das vom Aufrufer bereitgestellte `workingDirectory`.
158
+ Um dies einzuschränken, setzen Sie eine Erlaubnisliste von Wurzelverzeichnissen:
159
+
160
+ ```bash
161
+ export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
162
+ ```
163
+
164
+ Wenn gesetzt, werden `workingDirectory`-Werte außerhalb dieser Wurzeln abgelehnt.
165
+
166
+ ## Codex-First Prompt-Steuerung
167
+
168
+ Standardmäßig injiziert OMX:
169
+
170
+ ```text
171
+ -c model_instructions_file="<cwd>/AGENTS.md"
172
+ ```
173
+
174
+ Dies schichtet die `AGENTS.md`-Anweisungen des Projekts in die Codex-Startanweisungen.
175
+ Es erweitert das Codex-Verhalten, ersetzt/umgeht aber nicht die Codex-Kernsystemrichtlinien.
176
+
177
+ Steuerung:
178
+
179
+ ```bash
180
+ OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # AGENTS.md-Injektion deaktivieren
181
+ OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
182
+ ```
183
+
184
+ ## Team-Modus
185
+
186
+ Verwenden Sie den Team-Modus für umfangreiche Arbeiten, die von parallelen Workern profitieren.
187
+
188
+ Lebenszyklus:
189
+
190
+ ```text
191
+ start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
192
+ ```
193
+
194
+ Operationelle Befehle:
195
+
196
+ ```bash
197
+ omx team <args>
198
+ omx team status <team-name>
199
+ omx team resume <team-name>
200
+ omx team shutdown <team-name>
201
+ ```
202
+
203
+ Wichtige Regel: Fahren Sie nicht herunter, während Aufgaben noch `in_progress` sind, es sei denn, Sie brechen ab.
204
+
205
+ ### Ralph-Aufräumrichtlinie
206
+
207
+ Wenn ein Team im Ralph-Modus läuft (`omx team ralph ...`), wendet die Shutdown-Bereinigung
208
+ eine spezielle Richtlinie an, die sich vom normalen Pfad unterscheidet:
209
+
210
+ | Verhalten | Normales Team | Ralph-Team |
211
+ |---|---|---|
212
+ | Erzwungenes Herunterfahren bei Fehler | Wirft `shutdown_gate_blocked` | Umgeht Gate, protokolliert `ralph_cleanup_policy`-Ereignis |
213
+ | Automatische Branch-Löschung | Löscht Worktree-Branches bei Rollback | Bewahrt Branches (`skipBranchDeletion`) |
214
+ | Abschluss-Protokollierung | Standard-`shutdown_gate`-Ereignis | Zusätzliches `ralph_cleanup_summary`-Ereignis mit Aufgabenaufschlüsselung |
215
+
216
+ Die Ralph-Richtlinie wird automatisch aus dem Team-Modus-Zustand (`linked_ralph`) erkannt oder
217
+ kann explizit über `omx team shutdown <name> --ralph` übergeben werden.
218
+
219
+ Worker-CLI-Auswahl für Team-Worker:
220
+
221
+ ```bash
222
+ OMX_TEAM_WORKER_CLI=auto # Standard; verwendet claude wenn Worker --model "claude" enthält
223
+ OMX_TEAM_WORKER_CLI=codex # Codex-CLI-Worker erzwingen
224
+ OMX_TEAM_WORKER_CLI=claude # Claude-CLI-Worker erzwingen
225
+ OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # CLI-Mix pro Worker (Länge=1 oder Worker-Anzahl)
226
+ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # optional: adaptiven Queue->Resend-Fallback deaktivieren
227
+ ```
228
+
229
+ Hinweise:
230
+ - Worker-Startargumente werden weiterhin über `OMX_TEAM_WORKER_LAUNCH_ARGS` geteilt.
231
+ - `OMX_TEAM_WORKER_CLI_MAP` überschreibt `OMX_TEAM_WORKER_CLI` für Worker-spezifische Auswahl.
232
+ - Trigger-Übermittlung verwendet standardmäßig adaptive Wiederholungsversuche (Queue/Submit, dann sicherer Clear-Line+Resend-Fallback bei Bedarf).
233
+ - Im Claude-Worker-Modus startet OMX Worker als einfaches `claude` (keine zusätzlichen Startargumente) und ignoriert explizite `--model` / `--config` / `--effort`-Überschreibungen, sodass Claude die Standard-`settings.json` verwendet.
234
+
235
+ ## Was `omx setup` schreibt
236
+
237
+ - `.omx/setup-scope.json` (persistierter Setup-Bereich)
238
+ - Bereichsabhängige Installationen:
239
+ - `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
240
+ - `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
241
+ - Startverhalten: Wenn der persistierte Bereich `project` ist, verwendet `omx` automatisch `CODEX_HOME=./.codex` (sofern `CODEX_HOME` nicht bereits gesetzt ist).
242
+ - Vorhandene `AGENTS.md` wird standardmäßig beibehalten. Bei interaktiven TTY-Läufen fragt Setup vor dem Überschreiben; `--force` überschreibt ohne Nachfrage (aktive Sitzungs-Sicherheitsprüfungen gelten weiterhin).
243
+ - `config.toml`-Aktualisierungen (für beide Bereiche):
244
+ - `notify = ["node", "..."]`
245
+ - `model_reasoning_effort = "high"`
246
+ - `developer_instructions = "..."`
247
+ - `[features] multi_agent = true, child_agents_md = true`
248
+ - MCP-Server-Einträge (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
249
+ - `[tui] status_line`
250
+ - Projekt-`AGENTS.md`
251
+ - `.omx/`-Laufzeitverzeichnisse und HUD-Konfiguration
252
+
253
+ ## Agenten und Skills
254
+
255
+ - Prompts: `prompts/*.md` (installiert nach `~/.codex/prompts/` für `user`, `./.codex/prompts/` für `project`)
256
+ - Skills: `skills/*/SKILL.md` (installiert nach `~/.agents/skills/` für `user`, `./.agents/skills/` für `project`)
257
+
258
+ Beispiele:
259
+ - Agenten: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
260
+ - Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
261
+
262
+ ## Projektstruktur
263
+
264
+ ```text
265
+ oh-my-codex/
266
+ bin/omx.js
267
+ src/
268
+ cli/
269
+ team/
270
+ mcp/
271
+ hooks/
272
+ hud/
273
+ config/
274
+ modes/
275
+ notifications/
276
+ verification/
277
+ prompts/
278
+ skills/
279
+ templates/
280
+ scripts/
281
+ ```
282
+
283
+ ## Entwicklung
284
+
285
+ ```bash
286
+ git clone https://github.com/Yeachan-Heo/oh-my-codex.git
287
+ cd oh-my-codex
288
+ npm install
289
+ npm run build
290
+ npm test
291
+ ```
292
+
293
+ ## Dokumentation
294
+
295
+ - **[Vollständige Dokumentation](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Kompletter Leitfaden
296
+ - **[CLI-Referenz](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Alle `omx`-Befehle, Flags und Tools
297
+ - **[Benachrichtigungs-Leitfaden](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Discord, Telegram, Slack und Webhook-Einrichtung
298
+ - **[Empfohlene Workflows](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Praxiserprobte Skill-Ketten für häufige Aufgaben
299
+ - **[Versionshinweise](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Neuheiten in jeder Version
300
+
301
+ ## Hinweise
302
+
303
+ - Vollständiges Änderungsprotokoll: `CHANGELOG.md`
304
+ - Migrationsleitfaden (nach v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
305
+ - Abdeckungs- und Paritätsnotizen: `COVERAGE.md`
306
+ - Hook-Erweiterungs-Workflow: `docs/hooks-extension.md`
307
+ - Setup- und Beitragsdetails: `CONTRIBUTING.md`
308
+
309
+ ## Danksagungen
310
+
311
+ Inspiriert von [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), angepasst für Codex CLI.
312
+
313
+ ## Lizenz
314
+
315
+ MIT
package/README.es.md CHANGED
@@ -1,10 +1,60 @@
1
- # oh-my-codex (OMX) README en Español
1
+ # oh-my-codex (OMX)
2
2
 
3
- > Para la documentación completa original, consulta [English README](./README.md).
3
+ <p align="center">
4
+ <img src="https://yeachan-heo.github.io/oh-my-codex-website/omx-character-nobg.png" alt="oh-my-codex character" width="280">
5
+ <br>
6
+ <em>Tu codex no está solo.</em>
7
+ </p>
4
8
 
5
- OMX es una capa de orquestación multiagente para OpenAI Codex CLI.
9
+ [![npm version](https://img.shields.io/npm/v/oh-my-codex)](https://www.npmjs.com/package/oh-my-codex)
10
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)
6
12
 
7
- ## Inicio rápido
13
+ > **[Website](https://yeachan-heo.github.io/oh-my-codex-website/)** | **[Documentation](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** | **[CLI Reference](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** | **[Workflows](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** | **[GitHub](https://github.com/Yeachan-Heo/oh-my-codex)** | **[npm](https://www.npmjs.com/package/oh-my-codex)**
14
+
15
+ Capa de orquestación multiagente para [OpenAI Codex CLI](https://github.com/openai/codex).
16
+
17
+ ## Idiomas
18
+
19
+ - [English](./README.md)
20
+ - [한국어 (Korean)](./README.ko.md)
21
+ - [日本語 (Japanese)](./README.ja.md)
22
+ - [简体中文 (Chinese Simplified)](./README.zh.md)
23
+ - [繁體中文 (Chinese Traditional)](./README.zh-TW.md)
24
+ - [Tiếng Việt (Vietnamese)](./README.vi.md)
25
+ - [Español (Spanish)](./README.es.md)
26
+ - [Português (Portuguese)](./README.pt.md)
27
+ - [Русский (Russian)](./README.ru.md)
28
+ - [Türkçe (Turkish)](./README.tr.md)
29
+ - [Deutsch (German)](./README.de.md)
30
+ - [Français (French)](./README.fr.md)
31
+ - [Italiano (Italian)](./README.it.md)
32
+
33
+
34
+ OMX convierte Codex de un agente de sesión única en un sistema coordinado con:
35
+ - Role prompts (`/prompts:name`) para agentes especializados
36
+ - Workflow skills (`$name`) para modos de ejecución repetibles
37
+ - Orquestación de equipos en tmux (`omx team`, `$team`)
38
+ - Estado persistente y memoria a través de servidores MCP
39
+
40
+ ## Por qué OMX
41
+
42
+ Codex CLI es potente para tareas directas. OMX añade estructura para trabajo más amplio:
43
+ - Descomposición y ejecución por etapas (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
44
+ - Estado persistente del ciclo de vida de modos (`.omx/state/`)
45
+ - Superficies de memoria y bloc de notas para sesiones prolongadas
46
+ - Controles operacionales para inicio, verificación y cancelación
47
+
48
+ OMX es un complemento, no un fork. Utiliza los puntos de extensión nativos de Codex.
49
+
50
+ ## Requisitos
51
+
52
+ - macOS o Linux (Windows vía WSL2)
53
+ - Node.js >= 20
54
+ - Codex CLI instalado (`npm install -g @openai/codex`)
55
+ - Autenticación de Codex configurada
56
+
57
+ ## Inicio rápido (3 minutos)
8
58
 
9
59
  ```bash
10
60
  npm install -g oh-my-codex
@@ -12,25 +62,254 @@ omx setup
12
62
  omx doctor
13
63
  ```
14
64
 
15
- ## Funcionalidades clave
65
+ Perfil de inicio recomendado para entornos de confianza:
16
66
 
17
- - Ejecución de agentes especializados con prompts de rol (`/prompts:name`)
18
- - Automatización de flujos repetibles con skills (`$name`)
19
- - Orquestación en equipo con tmux (`omx team`, `$team`)
20
- - Estado y memoria persistentes mediante servidores MCP
67
+ ```bash
68
+ omx --xhigh --madmax
69
+ ```
70
+
71
+ ## Novedades en v0.5.0
72
+
73
+ - **Configuración con alcance** mediante `omx setup --scope user|project` para modos de instalación flexibles.
74
+ - **Enrutamiento de Spark worker** vía `--spark` / `--madmax-spark` — los workers del equipo pueden usar `gpt-5.3-codex-spark` sin forzar el modelo líder.
75
+ - **Consolidación del catálogo** — se eliminaron prompts obsoletos (`deep-executor`, `scientist`) y 9 skills obsoletos para una superficie más compacta.
76
+ - **Niveles de detalle de notificaciones** para control granular de la salida de CCNotifier.
77
+
78
+ ## Primera sesión
79
+
80
+ Dentro de Codex:
81
+
82
+ ```text
83
+ /prompts:architect "analyze current auth boundaries"
84
+ /prompts:executor "implement input validation in login"
85
+ $plan "ship OAuth callback safely"
86
+ $team 3:executor "fix all TypeScript errors"
87
+ ```
88
+
89
+ Desde la terminal:
90
+
91
+ ```bash
92
+ omx team 4:executor "parallelize a multi-module refactor"
93
+ omx team status <team-name>
94
+ omx team shutdown <team-name>
95
+ ```
96
+
97
+ ## Modelo central
98
+
99
+ OMX instala y conecta estas capas:
100
+
101
+ ```text
102
+ User
103
+ -> Codex CLI
104
+ -> AGENTS.md (cerebro de orquestación)
105
+ -> ~/.codex/prompts/*.md (catálogo de prompts de agentes)
106
+ -> ~/.agents/skills/*/SKILL.md (catálogo de skills)
107
+ -> ~/.codex/config.toml (características, notificaciones, MCP)
108
+ -> .omx/ (estado en ejecución, memoria, planes, registros)
109
+ ```
21
110
 
22
111
  ## Comandos principales
23
112
 
24
113
  ```bash
25
- omx
26
- omx setup
27
- omx doctor
114
+ omx # Lanzar Codex (+ HUD en tmux cuando está disponible)
115
+ omx setup # Instalar prompts/skills/config por alcance + proyecto AGENTS.md/.omx
116
+ omx doctor # Diagnósticos de instalación/ejecución
117
+ omx doctor --team # Diagnósticos de Team/swarm
118
+ omx team ... # Iniciar/estado/reanudar/apagar workers tmux del equipo
119
+ omx status # Mostrar modos activos
120
+ omx cancel # Cancelar modos de ejecución activos
121
+ omx reasoning <mode> # low|medium|high|xhigh
122
+ omx tmux-hook ... # init|status|validate|test
123
+ omx hooks ... # init|status|validate|test (flujo de trabajo de extensión de plugins)
124
+ omx hud ... # --watch|--json|--preset
125
+ omx help
126
+ ```
127
+
128
+ ## Extensión de Hooks (Superficie adicional)
129
+
130
+ OMX ahora incluye `omx hooks` para scaffolding y validación de plugins.
131
+
132
+ - `omx tmux-hook` sigue siendo compatible y no ha cambiado.
133
+ - `omx hooks` es aditivo y no reemplaza los flujos de trabajo de tmux-hook.
134
+ - Los archivos de plugins se encuentran en `.omx/hooks/*.mjs`.
135
+ - Los plugins están desactivados por defecto; actívalos con `OMX_HOOK_PLUGINS=1`.
136
+
137
+ Consulta `docs/hooks-extension.md` para el flujo de trabajo completo de extensiones y el modelo de eventos.
138
+
139
+ ## Flags de inicio
140
+
141
+ ```bash
142
+ --yolo
143
+ --high
144
+ --xhigh
145
+ --madmax
146
+ --force
147
+ --dry-run
148
+ --verbose
149
+ --scope <user|project> # solo para setup
150
+ ```
151
+
152
+ `--madmax` se mapea a Codex `--dangerously-bypass-approvals-and-sandbox`.
153
+ Úsalo solo en entornos sandbox de confianza o externos.
154
+
155
+ ### Política de workingDirectory MCP (endurecimiento opcional)
156
+
157
+ Por defecto, las herramientas MCP de state/memory/trace aceptan el `workingDirectory` proporcionado por el llamador.
158
+ Para restringir esto, establece una lista de raíces permitidas:
159
+
160
+ ```bash
161
+ export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
162
+ ```
163
+
164
+ Cuando se establece, los valores de `workingDirectory` fuera de estas raíces son rechazados.
165
+
166
+ ## Control de prompts Codex-First
167
+
168
+ Por defecto, OMX inyecta:
169
+
170
+ ```text
171
+ -c model_instructions_file="<cwd>/AGENTS.md"
172
+ ```
173
+
174
+ Esto añade las instrucciones del proyecto `AGENTS.md` a los comandos de inicio de Codex.
175
+ Extiende el comportamiento de Codex, pero no reemplaza ni elude las políticas centrales del sistema Codex.
176
+
177
+ Controles:
178
+
179
+ ```bash
180
+ OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # desactivar inyección de AGENTS.md
181
+ OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
182
+ ```
183
+
184
+ ## Modo equipo
185
+
186
+ Usa el modo equipo para trabajo amplio que se beneficia de workers paralelos.
187
+
188
+ Ciclo de vida:
189
+
190
+ ```text
191
+ start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
192
+ ```
193
+
194
+ Comandos operacionales:
195
+
196
+ ```bash
28
197
  omx team <args>
29
- omx status
30
- omx cancel
198
+ omx team status <team-name>
199
+ omx team resume <team-name>
200
+ omx team shutdown <team-name>
31
201
  ```
32
202
 
33
- ## Más información
203
+ Regla importante: no apagues mientras las tareas estén en estado `in_progress` a menos que estés abortando.
204
+
205
+ ### Política de limpieza Ralph
206
+
207
+ Cuando un equipo se ejecuta en modo ralph (`omx team ralph ...`), la limpieza al apagar
208
+ aplica una política dedicada diferente a la ruta normal:
209
+
210
+ | Comportamiento | Equipo normal | Equipo Ralph |
211
+ |---|---|---|
212
+ | Apagado forzado en caso de fallo | Lanza `shutdown_gate_blocked` | Omite la puerta, registra evento `ralph_cleanup_policy` |
213
+ | Eliminación automática de ramas | Elimina ramas de worktree en rollback | Preserva ramas (`skipBranchDeletion`) |
214
+ | Registro de finalización | Evento estándar `shutdown_gate` | Evento adicional `ralph_cleanup_summary` con desglose de tareas |
215
+
216
+ La política Ralph se detecta automáticamente del estado del modo equipo (`linked_ralph`) o
217
+ se puede pasar explícitamente vía `omx team shutdown <name> --ralph`.
218
+
219
+ Selección de Worker CLI para los workers del equipo:
220
+
221
+ ```bash
222
+ OMX_TEAM_WORKER_CLI=auto # predeterminado; usa claude cuando worker --model contiene "claude"
223
+ OMX_TEAM_WORKER_CLI=codex # forzar workers Codex CLI
224
+ OMX_TEAM_WORKER_CLI=claude # forzar workers Claude CLI
225
+ OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mezcla de CLI por worker (longitud=1 o cantidad de workers)
226
+ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # opcional: desactivar fallback adaptativo queue->resend
227
+ ```
228
+
229
+ Notas:
230
+ - Los argumentos de inicio de workers se comparten a través de `OMX_TEAM_WORKER_LAUNCH_ARGS`.
231
+ - `OMX_TEAM_WORKER_CLI_MAP` anula `OMX_TEAM_WORKER_CLI` para selección por worker.
232
+ - El envío de triggers usa reintentos adaptativos por defecto (queue/submit, luego fallback seguro clear-line+resend cuando es necesario).
233
+ - En modo Claude worker, OMX lanza workers como `claude` simple (sin argumentos de inicio extra) e ignora anulaciones explícitas de `--model` / `--config` / `--effort` para que Claude use el `settings.json` predeterminado.
234
+
235
+ ## Qué escribe `omx setup`
236
+
237
+ - `.omx/setup-scope.json` (alcance de instalación persistido)
238
+ - Instalaciones dependientes del alcance:
239
+ - `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
240
+ - `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
241
+ - Comportamiento de inicio: si el alcance persistido es `project`, el lanzamiento de `omx` usa automáticamente `CODEX_HOME=./.codex` (a menos que `CODEX_HOME` ya esté establecido).
242
+ - El `AGENTS.md` existente se preserva por defecto. En ejecuciones TTY interactivas, setup pregunta antes de sobrescribir; `--force` sobrescribe sin preguntar (las verificaciones de seguridad de sesiones activas siguen aplicándose).
243
+ - Actualizaciones de `config.toml` (para ambos alcances):
244
+ - `notify = ["node", "..."]`
245
+ - `model_reasoning_effort = "high"`
246
+ - `developer_instructions = "..."`
247
+ - `[features] multi_agent = true, child_agents_md = true`
248
+ - Entradas de servidores MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
249
+ - `[tui] status_line`
250
+ - `AGENTS.md` del proyecto
251
+ - Directorios `.omx/` de ejecución y configuración de HUD
252
+
253
+ ## Agentes y skills
254
+
255
+ - Prompts: `prompts/*.md` (instalados en `~/.codex/prompts/` para `user`, `./.codex/prompts/` para `project`)
256
+ - Skills: `skills/*/SKILL.md` (instalados en `~/.agents/skills/` para `user`, `./.agents/skills/` para `project`)
257
+
258
+ Ejemplos:
259
+ - Agentes: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
260
+ - Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
261
+
262
+ ## Estructura del proyecto
263
+
264
+ ```text
265
+ oh-my-codex/
266
+ bin/omx.js
267
+ src/
268
+ cli/
269
+ team/
270
+ mcp/
271
+ hooks/
272
+ hud/
273
+ config/
274
+ modes/
275
+ notifications/
276
+ verification/
277
+ prompts/
278
+ skills/
279
+ templates/
280
+ scripts/
281
+ ```
282
+
283
+ ## Desarrollo
284
+
285
+ ```bash
286
+ git clone https://github.com/Yeachan-Heo/oh-my-codex.git
287
+ cd oh-my-codex
288
+ npm install
289
+ npm run build
290
+ npm test
291
+ ```
292
+
293
+ ## Documentación
294
+
295
+ - **[Documentación completa](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guía completa
296
+ - **[Referencia CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Todos los comandos `omx`, flags y herramientas
297
+ - **[Guía de notificaciones](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuración de Discord, Telegram, Slack y webhooks
298
+ - **[Flujos de trabajo recomendados](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Cadenas de skills probadas en batalla para tareas comunes
299
+ - **[Notas de versión](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Novedades en cada versión
300
+
301
+ ## Notas
302
+
303
+ - Registro de cambios completo: `CHANGELOG.md`
304
+ - Guía de migración (post-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
305
+ - Notas de cobertura y paridad: `COVERAGE.md`
306
+ - Flujo de trabajo de extensión de hooks: `docs/hooks-extension.md`
307
+ - Detalles de instalación y contribución: `CONTRIBUTING.md`
308
+
309
+ ## Agradecimientos
310
+
311
+ Inspirado en [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adaptado para Codex CLI.
312
+
313
+ ## Licencia
34
314
 
35
- - Documento principal: [README.md](./README.md)
36
- - Sitio web: https://yeachan-heo.github.io/oh-my-codex-website/
315
+ MIT