oh-my-codex 0.7.5 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/README.de.md +314 -0
  2. package/README.es.md +295 -17
  3. package/README.fr.md +314 -0
  4. package/README.it.md +314 -0
  5. package/README.ja.md +296 -18
  6. package/README.ko.md +295 -17
  7. package/README.md +68 -3
  8. package/README.pt.md +295 -17
  9. package/README.ru.md +295 -17
  10. package/README.tr.md +314 -0
  11. package/README.vi.md +296 -18
  12. package/README.zh.md +292 -17
  13. package/dist/catalog/__tests__/generator.test.js +2 -0
  14. package/dist/catalog/__tests__/generator.test.js.map +1 -1
  15. package/dist/catalog/__tests__/schema.test.js +7 -0
  16. package/dist/catalog/__tests__/schema.test.js.map +1 -1
  17. package/dist/cli/__tests__/ask.test.d.ts +2 -0
  18. package/dist/cli/__tests__/ask.test.d.ts.map +1 -0
  19. package/dist/cli/__tests__/ask.test.js +236 -0
  20. package/dist/cli/__tests__/ask.test.js.map +1 -0
  21. package/dist/cli/__tests__/doctor-warning-copy.test.d.ts +2 -0
  22. package/dist/cli/__tests__/doctor-warning-copy.test.d.ts.map +1 -0
  23. package/dist/cli/__tests__/doctor-warning-copy.test.js +45 -0
  24. package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -0
  25. package/dist/cli/__tests__/index.test.js +43 -1
  26. package/dist/cli/__tests__/index.test.js.map +1 -1
  27. package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts +2 -0
  28. package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts.map +1 -0
  29. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +15 -0
  30. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -0
  31. package/dist/cli/__tests__/ralph.test.d.ts +2 -0
  32. package/dist/cli/__tests__/ralph.test.d.ts.map +1 -0
  33. package/dist/cli/__tests__/ralph.test.js +40 -0
  34. package/dist/cli/__tests__/ralph.test.js.map +1 -0
  35. package/dist/cli/__tests__/setup-scope.test.js +2 -0
  36. package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
  37. package/dist/cli/__tests__/team-decompose.test.d.ts +2 -0
  38. package/dist/cli/__tests__/team-decompose.test.d.ts.map +1 -0
  39. package/dist/cli/__tests__/team-decompose.test.js +67 -0
  40. package/dist/cli/__tests__/team-decompose.test.js.map +1 -0
  41. package/dist/cli/__tests__/version.test.d.ts +2 -0
  42. package/dist/cli/__tests__/version.test.d.ts.map +1 -0
  43. package/dist/cli/__tests__/version.test.js +21 -0
  44. package/dist/cli/__tests__/version.test.js.map +1 -0
  45. package/dist/cli/ask.d.ts +13 -0
  46. package/dist/cli/ask.d.ts.map +1 -0
  47. package/dist/cli/ask.js +174 -0
  48. package/dist/cli/ask.js.map +1 -0
  49. package/dist/cli/constants.d.ts +10 -0
  50. package/dist/cli/constants.d.ts.map +1 -0
  51. package/dist/cli/constants.js +10 -0
  52. package/dist/cli/constants.js.map +1 -0
  53. package/dist/cli/doctor.js +16 -5
  54. package/dist/cli/doctor.js.map +1 -1
  55. package/dist/cli/index.d.ts +7 -1
  56. package/dist/cli/index.d.ts.map +1 -1
  57. package/dist/cli/index.js +117 -43
  58. package/dist/cli/index.js.map +1 -1
  59. package/dist/cli/ralph.d.ts +4 -0
  60. package/dist/cli/ralph.d.ts.map +1 -1
  61. package/dist/cli/ralph.js +89 -13
  62. package/dist/cli/ralph.js.map +1 -1
  63. package/dist/cli/setup.js +1 -1
  64. package/dist/cli/setup.js.map +1 -1
  65. package/dist/cli/team.d.ts +18 -0
  66. package/dist/cli/team.d.ts.map +1 -1
  67. package/dist/cli/team.js +108 -16
  68. package/dist/cli/team.js.map +1 -1
  69. package/dist/config/generator.d.ts.map +1 -1
  70. package/dist/config/generator.js +8 -0
  71. package/dist/config/generator.js.map +1 -1
  72. package/dist/hooks/__tests__/deep-interview-contract.test.d.ts +2 -0
  73. package/dist/hooks/__tests__/deep-interview-contract.test.d.ts.map +1 -0
  74. package/dist/hooks/__tests__/deep-interview-contract.test.js +55 -0
  75. package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -0
  76. package/dist/hooks/__tests__/emulator.test.js +6 -0
  77. package/dist/hooks/__tests__/emulator.test.js.map +1 -1
  78. package/dist/hooks/__tests__/keyword-detector.test.js +44 -22
  79. package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
  80. package/dist/hooks/__tests__/notify-hook-session-scope.test.js +59 -0
  81. package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
  82. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +88 -0
  83. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
  84. package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js +199 -0
  85. package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js.map +1 -1
  86. package/dist/hooks/__tests__/notify-hook-visual-verdict.test.d.ts +11 -0
  87. package/dist/hooks/__tests__/notify-hook-visual-verdict.test.d.ts.map +1 -0
  88. package/dist/hooks/__tests__/notify-hook-visual-verdict.test.js +266 -0
  89. package/dist/hooks/__tests__/notify-hook-visual-verdict.test.js.map +1 -0
  90. package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts +2 -0
  91. package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts.map +1 -0
  92. package/dist/hooks/__tests__/openclaw-setup-contract.test.js +51 -0
  93. package/dist/hooks/__tests__/openclaw-setup-contract.test.js.map +1 -0
  94. package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts +2 -0
  95. package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts.map +1 -0
  96. package/dist/hooks/__tests__/pre-context-gate-skills.test.js +34 -0
  97. package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -0
  98. package/dist/hooks/__tests__/tmux-hook-engine.test.js +36 -1
  99. package/dist/hooks/__tests__/tmux-hook-engine.test.js.map +1 -1
  100. package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts +2 -0
  101. package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts.map +1 -0
  102. package/dist/hooks/__tests__/visual-verdict-loop.test.js +35 -0
  103. package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -0
  104. package/dist/hooks/agents-overlay.d.ts.map +1 -1
  105. package/dist/hooks/agents-overlay.js +18 -16
  106. package/dist/hooks/agents-overlay.js.map +1 -1
  107. package/dist/hooks/codebase-map.d.ts.map +1 -1
  108. package/dist/hooks/codebase-map.js +6 -2
  109. package/dist/hooks/codebase-map.js.map +1 -1
  110. package/dist/hooks/emulator.d.ts.map +1 -1
  111. package/dist/hooks/emulator.js +2 -0
  112. package/dist/hooks/emulator.js.map +1 -1
  113. package/dist/hooks/extensibility/sdk.d.ts.map +1 -1
  114. package/dist/hooks/extensibility/sdk.js +2 -1
  115. package/dist/hooks/extensibility/sdk.js.map +1 -1
  116. package/dist/hooks/keyword-registry.d.ts.map +1 -1
  117. package/dist/hooks/keyword-registry.js +6 -0
  118. package/dist/hooks/keyword-registry.js.map +1 -1
  119. package/dist/hud/index.d.ts.map +1 -1
  120. package/dist/hud/index.js +2 -24
  121. package/dist/hud/index.js.map +1 -1
  122. package/dist/mcp/__tests__/team-server-cleanup.test.d.ts +2 -0
  123. package/dist/mcp/__tests__/team-server-cleanup.test.d.ts.map +1 -0
  124. package/dist/mcp/__tests__/team-server-cleanup.test.js +219 -0
  125. package/dist/mcp/__tests__/team-server-cleanup.test.js.map +1 -0
  126. package/dist/mcp/bootstrap.d.ts +1 -1
  127. package/dist/mcp/bootstrap.d.ts.map +1 -1
  128. package/dist/mcp/bootstrap.js +1 -0
  129. package/dist/mcp/bootstrap.js.map +1 -1
  130. package/dist/mcp/code-intel-server.d.ts.map +1 -1
  131. package/dist/mcp/code-intel-server.js +18 -8
  132. package/dist/mcp/code-intel-server.js.map +1 -1
  133. package/dist/mcp/memory-server.js +72 -11
  134. package/dist/mcp/memory-server.js.map +1 -1
  135. package/dist/mcp/state-paths.d.ts.map +1 -1
  136. package/dist/mcp/state-paths.js +4 -1
  137. package/dist/mcp/state-paths.js.map +1 -1
  138. package/dist/mcp/state-server.d.ts.map +1 -1
  139. package/dist/mcp/state-server.js +18 -5
  140. package/dist/mcp/state-server.js.map +1 -1
  141. package/dist/mcp/team-server.d.ts +24 -0
  142. package/dist/mcp/team-server.d.ts.map +1 -0
  143. package/dist/mcp/team-server.js +425 -0
  144. package/dist/mcp/team-server.js.map +1 -0
  145. package/dist/mcp/trace-server.d.ts.map +1 -1
  146. package/dist/mcp/trace-server.js +8 -3
  147. package/dist/mcp/trace-server.js.map +1 -1
  148. package/dist/notifications/__tests__/verbosity.test.js +35 -0
  149. package/dist/notifications/__tests__/verbosity.test.js.map +1 -1
  150. package/dist/notifications/config.d.ts.map +1 -1
  151. package/dist/notifications/config.js +12 -3
  152. package/dist/notifications/config.js.map +1 -1
  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/reply-listener.d.ts.map +1 -1
  157. package/dist/notifications/reply-listener.js +6 -2
  158. package/dist/notifications/reply-listener.js.map +1 -1
  159. package/dist/notifications/session-registry.d.ts.map +1 -1
  160. package/dist/notifications/session-registry.js +2 -2
  161. package/dist/notifications/session-registry.js.map +1 -1
  162. package/dist/notifications/tmux.d.ts.map +1 -1
  163. package/dist/notifications/tmux.js +13 -4
  164. package/dist/notifications/tmux.js.map +1 -1
  165. package/dist/notifications/types.d.ts +4 -0
  166. package/dist/notifications/types.d.ts.map +1 -1
  167. package/dist/openclaw/__tests__/index.test.js +40 -0
  168. package/dist/openclaw/__tests__/index.test.js.map +1 -1
  169. package/dist/openclaw/dispatcher.d.ts.map +1 -1
  170. package/dist/openclaw/dispatcher.js +5 -2
  171. package/dist/openclaw/dispatcher.js.map +1 -1
  172. package/dist/openclaw/index.d.ts.map +1 -1
  173. package/dist/openclaw/index.js +1 -0
  174. package/dist/openclaw/index.js.map +1 -1
  175. package/dist/openclaw/types.d.ts +2 -0
  176. package/dist/openclaw/types.d.ts.map +1 -1
  177. package/dist/ralph/__tests__/persistence.test.js +28 -1
  178. package/dist/ralph/__tests__/persistence.test.js.map +1 -1
  179. package/dist/ralph/persistence.d.ts +21 -0
  180. package/dist/ralph/persistence.d.ts.map +1 -1
  181. package/dist/ralph/persistence.js +85 -2
  182. package/dist/ralph/persistence.js.map +1 -1
  183. package/dist/state/paths.d.ts +3 -0
  184. package/dist/state/paths.d.ts.map +1 -0
  185. package/dist/state/paths.js +2 -0
  186. package/dist/state/paths.js.map +1 -0
  187. package/dist/team/__tests__/idle-nudge.test.d.ts +2 -0
  188. package/dist/team/__tests__/idle-nudge.test.d.ts.map +1 -0
  189. package/dist/team/__tests__/idle-nudge.test.js +225 -0
  190. package/dist/team/__tests__/idle-nudge.test.js.map +1 -0
  191. package/dist/team/__tests__/role-router.test.d.ts +2 -0
  192. package/dist/team/__tests__/role-router.test.d.ts.map +1 -0
  193. package/dist/team/__tests__/role-router.test.js +204 -0
  194. package/dist/team/__tests__/role-router.test.js.map +1 -0
  195. package/dist/team/__tests__/runtime-cli.test.d.ts +2 -0
  196. package/dist/team/__tests__/runtime-cli.test.d.ts.map +1 -0
  197. package/dist/team/__tests__/runtime-cli.test.js +72 -0
  198. package/dist/team/__tests__/runtime-cli.test.js.map +1 -0
  199. package/dist/team/__tests__/runtime.test.js +195 -9
  200. package/dist/team/__tests__/runtime.test.js.map +1 -1
  201. package/dist/team/__tests__/scaling.test.js +132 -2
  202. package/dist/team/__tests__/scaling.test.js.map +1 -1
  203. package/dist/team/__tests__/state-root.test.d.ts +2 -0
  204. package/dist/team/__tests__/state-root.test.d.ts.map +1 -0
  205. package/dist/team/__tests__/state-root.test.js +9 -0
  206. package/dist/team/__tests__/state-root.test.js.map +1 -0
  207. package/dist/team/__tests__/state.test.js +52 -17
  208. package/dist/team/__tests__/state.test.js.map +1 -1
  209. package/dist/team/__tests__/team-ops-contract.test.d.ts +2 -0
  210. package/dist/team/__tests__/team-ops-contract.test.d.ts.map +1 -0
  211. package/dist/team/__tests__/team-ops-contract.test.js +90 -0
  212. package/dist/team/__tests__/team-ops-contract.test.js.map +1 -0
  213. package/dist/team/__tests__/tmux-session.test.js +94 -7
  214. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  215. package/dist/team/__tests__/worker-bootstrap.test.js +59 -0
  216. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  217. package/dist/team/__tests__/worktree.test.js +81 -2
  218. package/dist/team/__tests__/worktree.test.js.map +1 -1
  219. package/dist/team/idle-nudge.d.ts +53 -0
  220. package/dist/team/idle-nudge.d.ts.map +1 -0
  221. package/dist/team/idle-nudge.js +140 -0
  222. package/dist/team/idle-nudge.js.map +1 -0
  223. package/dist/team/mcp-comm.d.ts +1 -1
  224. package/dist/team/mcp-comm.d.ts.map +1 -1
  225. package/dist/team/mcp-comm.js +6 -2
  226. package/dist/team/mcp-comm.js.map +1 -1
  227. package/dist/team/orchestrator.d.ts +1 -10
  228. package/dist/team/orchestrator.d.ts.map +1 -1
  229. package/dist/team/orchestrator.js +8 -0
  230. package/dist/team/orchestrator.js.map +1 -1
  231. package/dist/team/role-router.d.ts +32 -0
  232. package/dist/team/role-router.d.ts.map +1 -0
  233. package/dist/team/role-router.js +137 -0
  234. package/dist/team/role-router.js.map +1 -0
  235. package/dist/team/runtime-cli.d.ts +18 -0
  236. package/dist/team/runtime-cli.d.ts.map +1 -0
  237. package/dist/team/runtime-cli.js +244 -0
  238. package/dist/team/runtime-cli.js.map +1 -0
  239. package/dist/team/runtime.d.ts +6 -1
  240. package/dist/team/runtime.d.ts.map +1 -1
  241. package/dist/team/runtime.js +148 -60
  242. package/dist/team/runtime.js.map +1 -1
  243. package/dist/team/scaling.d.ts +1 -0
  244. package/dist/team/scaling.d.ts.map +1 -1
  245. package/dist/team/scaling.js +74 -32
  246. package/dist/team/scaling.js.map +1 -1
  247. package/dist/team/state/approvals.d.ts +25 -0
  248. package/dist/team/state/approvals.d.ts.map +1 -0
  249. package/dist/team/state/approvals.js +31 -0
  250. package/dist/team/state/approvals.js.map +1 -0
  251. package/dist/team/state/config.d.ts +2 -0
  252. package/dist/team/state/config.d.ts.map +1 -0
  253. package/dist/team/state/config.js +2 -0
  254. package/dist/team/state/config.js.map +1 -0
  255. package/dist/team/state/dispatch-lock.d.ts +3 -0
  256. package/dist/team/state/dispatch-lock.d.ts.map +1 -0
  257. package/dist/team/state/dispatch-lock.js +81 -0
  258. package/dist/team/state/dispatch-lock.js.map +1 -0
  259. package/dist/team/state/dispatch.d.ts +61 -0
  260. package/dist/team/state/dispatch.d.ts.map +1 -0
  261. package/dist/team/state/dispatch.js +158 -0
  262. package/dist/team/state/dispatch.js.map +1 -0
  263. package/dist/team/state/events.d.ts +2 -0
  264. package/dist/team/state/events.d.ts.map +1 -0
  265. package/dist/team/state/events.js +2 -0
  266. package/dist/team/state/events.js.map +1 -0
  267. package/dist/team/state/index.d.ts +11 -0
  268. package/dist/team/state/index.d.ts.map +1 -0
  269. package/dist/team/state/index.js +11 -0
  270. package/dist/team/state/index.js.map +1 -0
  271. package/dist/team/state/io.d.ts +2 -0
  272. package/dist/team/state/io.d.ts.map +1 -0
  273. package/dist/team/state/io.js +2 -0
  274. package/dist/team/state/io.js.map +1 -0
  275. package/dist/team/state/locks.d.ts +16 -0
  276. package/dist/team/state/locks.d.ts.map +1 -0
  277. package/dist/team/state/locks.js +201 -0
  278. package/dist/team/state/locks.js.map +1 -0
  279. package/dist/team/state/mailbox.d.ts +39 -0
  280. package/dist/team/state/mailbox.d.ts.map +1 -0
  281. package/dist/team/state/mailbox.js +58 -0
  282. package/dist/team/state/mailbox.js.map +1 -0
  283. package/dist/team/state/monitor.d.ts +96 -0
  284. package/dist/team/state/monitor.d.ts.map +1 -0
  285. package/dist/team/state/monitor.js +163 -0
  286. package/dist/team/state/monitor.js.map +1 -0
  287. package/dist/team/state/shutdown.d.ts +2 -0
  288. package/dist/team/state/shutdown.d.ts.map +1 -0
  289. package/dist/team/state/shutdown.js +2 -0
  290. package/dist/team/state/shutdown.js.map +1 -0
  291. package/dist/team/state/summary.d.ts +2 -0
  292. package/dist/team/state/summary.d.ts.map +1 -0
  293. package/dist/team/state/summary.js +2 -0
  294. package/dist/team/state/summary.js.map +1 -0
  295. package/dist/team/state/tasks.d.ts +49 -0
  296. package/dist/team/state/tasks.d.ts.map +1 -0
  297. package/dist/team/state/tasks.js +182 -0
  298. package/dist/team/state/tasks.js.map +1 -0
  299. package/dist/team/state/types.d.ts +281 -0
  300. package/dist/team/state/types.d.ts.map +1 -0
  301. package/dist/team/state/types.js +3 -0
  302. package/dist/team/state/types.js.map +1 -0
  303. package/dist/team/state/workers.d.ts +2 -0
  304. package/dist/team/state/workers.d.ts.map +1 -0
  305. package/dist/team/state/workers.js +2 -0
  306. package/dist/team/state/workers.js.map +1 -0
  307. package/dist/team/state-root.d.ts +5 -0
  308. package/dist/team/state-root.d.ts.map +1 -0
  309. package/dist/team/state-root.js +8 -0
  310. package/dist/team/state-root.js.map +1 -0
  311. package/dist/team/state.d.ts +6 -2
  312. package/dist/team/state.d.ts.map +1 -1
  313. package/dist/team/state.js +200 -881
  314. package/dist/team/state.js.map +1 -1
  315. package/dist/team/tmux-session.d.ts +42 -2
  316. package/dist/team/tmux-session.d.ts.map +1 -1
  317. package/dist/team/tmux-session.js +229 -74
  318. package/dist/team/tmux-session.js.map +1 -1
  319. package/dist/team/worker-bootstrap.d.ts +2 -0
  320. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  321. package/dist/team/worker-bootstrap.js +47 -20
  322. package/dist/team/worker-bootstrap.js.map +1 -1
  323. package/dist/team/worktree.d.ts +5 -1
  324. package/dist/team/worktree.d.ts.map +1 -1
  325. package/dist/team/worktree.js +71 -17
  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/fixtures/ask-advisor-stub.js +12 -0
  351. package/scripts/notify-hook/log.js +5 -0
  352. package/scripts/notify-hook/team-dispatch.js +56 -1
  353. package/scripts/notify-hook/tmux-injection.js +45 -4
  354. package/scripts/notify-hook/visual-verdict.js +158 -0
  355. package/scripts/notify-hook.js +27 -0
  356. package/scripts/run-provider-advisor.js +179 -0
  357. package/scripts/tmux-hook-engine.js +24 -0
  358. package/skills/ask-claude/SKILL.md +61 -0
  359. package/skills/ask-gemini/SKILL.md +61 -0
  360. package/skills/autopilot/SKILL.md +34 -4
  361. package/skills/configure-notifications/SKILL.md +1 -1
  362. package/skills/configure-openclaw/SKILL.md +154 -157
  363. package/skills/deep-interview/SKILL.md +247 -0
  364. package/skills/doctor/SKILL.md +1 -1
  365. package/skills/help/SKILL.md +3 -3
  366. package/skills/ralph/SKILL.md +42 -11
  367. package/skills/ralplan/SKILL.md +17 -0
  368. package/skills/skill/SKILL.md +32 -32
  369. package/skills/team/SKILL.md +60 -0
  370. package/skills/visual-verdict/SKILL.md +76 -0
  371. package/skills/web-clone/SKILL.md +366 -0
  372. package/skills/worker/SKILL.md +5 -4
  373. package/templates/AGENTS.md +9 -0
  374. package/templates/catalog-manifest.json +39 -2
package/README.fr.md ADDED
@@ -0,0 +1,314 @@
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>Votre codex n'est pas seul.</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
+ Couche d'orchestration multi-agents pour [OpenAI Codex CLI](https://github.com/openai/codex).
16
+
17
+ ## Langues
18
+
19
+ - [English](./README.md)
20
+ - [한국어 (Korean)](./README.ko.md)
21
+ - [日本語 (Japanese)](./README.ja.md)
22
+ - [简体中文 (Chinese)](./README.zh.md)
23
+ - [Tiếng Việt (Vietnamese)](./README.vi.md)
24
+ - [Español (Spanish)](./README.es.md)
25
+ - [Português (Portuguese)](./README.pt.md)
26
+ - [Русский (Russian)](./README.ru.md)
27
+ - [Türkçe (Turkish)](./README.tr.md)
28
+ - [Deutsch (German)](./README.de.md)
29
+ - [Français (French)](./README.fr.md)
30
+ - [Italiano (Italian)](./README.it.md)
31
+
32
+
33
+ OMX transforme Codex d'un agent mono-session en un système coordonné avec :
34
+ - Des role prompts (`/prompts:name`) pour les agents spécialisés
35
+ - Des workflow skills (`$name`) pour les modes d'exécution reproductibles
36
+ - L'orchestration d'équipe dans tmux (`omx team`, `$team`)
37
+ - Un état et une mémoire persistants via les serveurs MCP
38
+
39
+ ## Pourquoi OMX
40
+
41
+ Codex CLI est performant pour les tâches directes. OMX ajoute de la structure pour les travaux plus importants :
42
+ - Décomposition et exécution par étapes (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
43
+ - État persistant du cycle de vie des modes (`.omx/state/`)
44
+ - Surfaces de mémoire et notepad pour les sessions longue durée
45
+ - Contrôles opérationnels pour le lancement, la vérification et l'annulation
46
+
47
+ OMX est un add-on, pas un fork. Il utilise les points d'extension natifs de Codex.
48
+
49
+ ## Prérequis
50
+
51
+ - macOS ou Linux (Windows via WSL2)
52
+ - Node.js >= 20
53
+ - Codex CLI installé (`npm install -g @openai/codex`)
54
+ - Authentification Codex configurée
55
+
56
+ ## Démarrage rapide (3 minutes)
57
+
58
+ ```bash
59
+ npm install -g oh-my-codex
60
+ omx setup
61
+ omx doctor
62
+ ```
63
+
64
+ Profil de lancement recommandé pour les environnements de confiance :
65
+
66
+ ```bash
67
+ omx --xhigh --madmax
68
+ ```
69
+
70
+ ## Nouveautés de la v0.5.0
71
+
72
+ - **Configuration sensible au scope** avec `omx setup --scope user|project` pour des modes d'installation flexibles.
73
+ - **Routage Spark worker** via `--spark` / `--madmax-spark` pour que les workers d'équipe puissent utiliser `gpt-5.3-codex-spark` sans forcer le modèle leader.
74
+ - **Consolidation du catalogue** — suppression des prompts obsolètes (`deep-executor`, `scientist`) et de 9 skills obsolètes.
75
+ - **Niveaux de verbosité des notifications** pour un contrôle fin de la sortie CCNotifier.
76
+
77
+ ## Première session
78
+
79
+ Dans Codex :
80
+
81
+ ```text
82
+ /prompts:architect "analyze current auth boundaries"
83
+ /prompts:executor "implement input validation in login"
84
+ $plan "ship OAuth callback safely"
85
+ $team 3:executor "fix all TypeScript errors"
86
+ ```
87
+
88
+ Depuis le terminal :
89
+
90
+ ```bash
91
+ omx team 4:executor "parallelize a multi-module refactor"
92
+ omx team status <team-name>
93
+ omx team shutdown <team-name>
94
+ ```
95
+
96
+ ## Modèle de base
97
+
98
+ OMX installe et connecte ces couches :
99
+
100
+ ```text
101
+ User
102
+ -> Codex CLI
103
+ -> AGENTS.md (cerveau d'orchestration)
104
+ -> ~/.codex/prompts/*.md (catalogue de prompts d'agents)
105
+ -> ~/.agents/skills/*/SKILL.md (catalogue de skills)
106
+ -> ~/.codex/config.toml (fonctionnalités, notifications, MCP)
107
+ -> .omx/ (état d'exécution, mémoire, plans, journaux)
108
+ ```
109
+
110
+ ## Commandes principales
111
+
112
+ ```bash
113
+ omx # Lancer Codex (+ HUD dans tmux si disponible)
114
+ omx setup # Installer prompts/skills/config par scope + projet AGENTS.md/.omx
115
+ omx doctor # Diagnostics d'installation/exécution
116
+ omx doctor --team # Diagnostics Team/Swarm
117
+ omx team ... # Démarrer/statut/reprendre/arrêter les workers d'équipe tmux
118
+ omx status # Afficher les modes actifs
119
+ omx cancel # Annuler les modes d'exécution actifs
120
+ omx reasoning <mode> # low|medium|high|xhigh
121
+ omx tmux-hook ... # init|status|validate|test
122
+ omx hooks ... # init|status|validate|test (workflow d'extension de plugins)
123
+ omx hud ... # --watch|--json|--preset
124
+ omx help
125
+ ```
126
+
127
+ ## Extension Hooks (Surface additive)
128
+
129
+ OMX inclut désormais `omx hooks` pour l'échafaudage et la validation de plugins.
130
+
131
+ - `omx tmux-hook` reste supporté et inchangé.
132
+ - `omx hooks` est additif et ne remplace pas les workflows tmux-hook.
133
+ - Les fichiers de plugins se trouvent dans `.omx/hooks/*.mjs`.
134
+ - Les plugins sont désactivés par défaut ; activez-les avec `OMX_HOOK_PLUGINS=1`.
135
+
136
+ Consultez `docs/hooks-extension.md` pour le workflow d'extension complet et le modèle d'événements.
137
+
138
+ ## Flags de lancement
139
+
140
+ ```bash
141
+ --yolo
142
+ --high
143
+ --xhigh
144
+ --madmax
145
+ --force
146
+ --dry-run
147
+ --verbose
148
+ --scope <user|project> # uniquement pour setup
149
+ ```
150
+
151
+ `--madmax` correspond à Codex `--dangerously-bypass-approvals-and-sandbox`.
152
+ À utiliser uniquement dans des environnements sandbox de confiance/externes.
153
+
154
+ ### Politique MCP workingDirectory (durcissement optionnel)
155
+
156
+ Par défaut, les outils MCP état/mémoire/trace acceptent le `workingDirectory` fourni par l'appelant.
157
+ Pour restreindre cela, définissez une liste d'autorisation de racines :
158
+
159
+ ```bash
160
+ export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
161
+ ```
162
+
163
+ Lorsque défini, les valeurs `workingDirectory` en dehors de ces racines sont rejetées.
164
+
165
+ ## Contrôle Codex-First des prompts
166
+
167
+ Par défaut, OMX injecte :
168
+
169
+ ```text
170
+ -c model_instructions_file="<cwd>/AGENTS.md"
171
+ ```
172
+
173
+ Cela superpose les instructions `AGENTS.md` du projet dans les instructions de lancement de Codex.
174
+ Cela étend le comportement de Codex, mais ne remplace/contourne pas les politiques système de base de Codex.
175
+
176
+ Contrôles :
177
+
178
+ ```bash
179
+ OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # désactiver l'injection AGENTS.md
180
+ OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
181
+ ```
182
+
183
+ ## Mode équipe
184
+
185
+ Utilisez le mode équipe pour les travaux importants qui bénéficient de workers parallèles.
186
+
187
+ Cycle de vie :
188
+
189
+ ```text
190
+ start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
191
+ ```
192
+
193
+ Commandes opérationnelles :
194
+
195
+ ```bash
196
+ omx team <args>
197
+ omx team status <team-name>
198
+ omx team resume <team-name>
199
+ omx team shutdown <team-name>
200
+ ```
201
+
202
+ Règle importante : n'arrêtez pas tant que des tâches sont encore `in_progress`, sauf en cas d'abandon.
203
+
204
+ ### Politique de nettoyage Ralph
205
+
206
+ Lorsqu'une équipe s'exécute en mode ralph (`omx team ralph ...`), le nettoyage à l'arrêt
207
+ applique une politique dédiée qui diffère du chemin normal :
208
+
209
+ | Comportement | Équipe normale | Équipe Ralph |
210
+ |---|---|---|
211
+ | Arrêt forcé en cas d'échec | Lance `shutdown_gate_blocked` | Contourne la porte, journalise l'événement `ralph_cleanup_policy` |
212
+ | Suppression automatique des branches | Supprime les branches worktree lors du rollback | Préserve les branches (`skipBranchDeletion`) |
213
+ | Journalisation de complétion | Événement standard `shutdown_gate` | Événement supplémentaire `ralph_cleanup_summary` avec détail des tâches |
214
+
215
+ La politique ralph est auto-détectée depuis l'état du mode équipe (`linked_ralph`) ou
216
+ peut être passée explicitement via `omx team shutdown <name> --ralph`.
217
+
218
+ Sélection du CLI worker pour les workers d'équipe :
219
+
220
+ ```bash
221
+ OMX_TEAM_WORKER_CLI=auto # par défaut ; utilise claude quand worker --model contient "claude"
222
+ OMX_TEAM_WORKER_CLI=codex # forcer les workers Codex CLI
223
+ OMX_TEAM_WORKER_CLI=claude # forcer les workers Claude CLI
224
+ OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mix CLI par worker (longueur=1 ou nombre de workers)
225
+ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # optionnel : désactiver le fallback adaptatif queue->resend
226
+ ```
227
+
228
+ Notes :
229
+ - Les arguments de lancement des workers sont toujours partagés via `OMX_TEAM_WORKER_LAUNCH_ARGS`.
230
+ - `OMX_TEAM_WORKER_CLI_MAP` remplace `OMX_TEAM_WORKER_CLI` pour la sélection par worker.
231
+ - La soumission de déclencheurs utilise par défaut des tentatives adaptatives (queue/submit, puis fallback sécurisé clear-line+resend si nécessaire).
232
+ - En mode worker Claude, OMX lance les workers en tant que simple `claude` (pas d'arguments de lancement supplémentaires) et ignore les surcharges explicites `--model` / `--config` / `--effort` pour que Claude utilise le `settings.json` par défaut.
233
+
234
+ ## Ce que `omx setup` écrit
235
+
236
+ - `.omx/setup-scope.json` (scope de setup persisté)
237
+ - Installations dépendantes du scope :
238
+ - `user` : `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
239
+ - `project` : `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
240
+ - Comportement au lancement : si le scope persisté est `project`, le lancement `omx` utilise automatiquement `CODEX_HOME=./.codex` (sauf si `CODEX_HOME` est déjà défini).
241
+ - Le `AGENTS.md` existant est préservé par défaut. Lors des exécutions TTY interactives, setup demande confirmation avant d'écraser ; `--force` écrase sans demander (les vérifications de sécurité de session active s'appliquent toujours).
242
+ - Mises à jour de `config.toml` (pour les deux scopes) :
243
+ - `notify = ["node", "..."]`
244
+ - `model_reasoning_effort = "high"`
245
+ - `developer_instructions = "..."`
246
+ - `[features] multi_agent = true, child_agents_md = true`
247
+ - Entrées de serveurs MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
248
+ - `[tui] status_line`
249
+ - `AGENTS.md` du projet
250
+ - Répertoires d'exécution `.omx/` et configuration HUD
251
+
252
+ ## Agents et Skills
253
+
254
+ - Prompts : `prompts/*.md` (installés dans `~/.codex/prompts/` pour `user`, `./.codex/prompts/` pour `project`)
255
+ - Skills : `skills/*/SKILL.md` (installés dans `~/.agents/skills/` pour `user`, `./.agents/skills/` pour `project`)
256
+
257
+ Exemples :
258
+ - Agents : `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
259
+ - Skills : `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
260
+
261
+ ## Structure du projet
262
+
263
+ ```text
264
+ oh-my-codex/
265
+ bin/omx.js
266
+ src/
267
+ cli/
268
+ team/
269
+ mcp/
270
+ hooks/
271
+ hud/
272
+ config/
273
+ modes/
274
+ notifications/
275
+ verification/
276
+ prompts/
277
+ skills/
278
+ templates/
279
+ scripts/
280
+ ```
281
+
282
+ ## Développement
283
+
284
+ ```bash
285
+ git clone https://github.com/Yeachan-Heo/oh-my-codex.git
286
+ cd oh-my-codex
287
+ npm install
288
+ npm run build
289
+ npm test
290
+ ```
291
+
292
+ ## Documentation
293
+
294
+ - **[Documentation complète](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guide complet
295
+ - **[Référence CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Toutes les commandes `omx`, flags et outils
296
+ - **[Guide des notifications](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuration Discord, Telegram, Slack et webhooks
297
+ - **[Workflows recommandés](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Chaînes de skills éprouvées pour les tâches courantes
298
+ - **[Notes de version](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Nouveautés de chaque version
299
+
300
+ ## Notes
301
+
302
+ - Journal des modifications complet : `CHANGELOG.md`
303
+ - Guide de migration (post-v0.4.4 mainline) : `docs/migration-mainline-post-v0.4.4.md`
304
+ - Notes de couverture et parité : `COVERAGE.md`
305
+ - Workflow d'extension hooks : `docs/hooks-extension.md`
306
+ - Détails de configuration et contribution : `CONTRIBUTING.md`
307
+
308
+ ## Remerciements
309
+
310
+ Inspiré par [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adapté pour Codex CLI.
311
+
312
+ ## Licence
313
+
314
+ MIT
package/README.it.md ADDED
@@ -0,0 +1,314 @@
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>Il tuo codex non è solo.</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
+ Livello di orchestrazione multi-agente per [OpenAI Codex CLI](https://github.com/openai/codex).
16
+
17
+ ## Lingue
18
+
19
+ - [English](./README.md)
20
+ - [한국어 (Korean)](./README.ko.md)
21
+ - [日本語 (Japanese)](./README.ja.md)
22
+ - [简体中文 (Chinese)](./README.zh.md)
23
+ - [Tiếng Việt (Vietnamese)](./README.vi.md)
24
+ - [Español (Spanish)](./README.es.md)
25
+ - [Português (Portuguese)](./README.pt.md)
26
+ - [Русский (Russian)](./README.ru.md)
27
+ - [Türkçe (Turkish)](./README.tr.md)
28
+ - [Deutsch (German)](./README.de.md)
29
+ - [Français (French)](./README.fr.md)
30
+ - [Italiano (Italian)](./README.it.md)
31
+
32
+
33
+ OMX trasforma Codex da un agente a sessione singola in un sistema coordinato con:
34
+ - Role prompts (`/prompts:name`) per agenti specializzati
35
+ - Workflow skills (`$name`) per modalità di esecuzione ripetibili
36
+ - Orchestrazione team in tmux (`omx team`, `$team`)
37
+ - Stato e memoria persistenti tramite server MCP
38
+
39
+ ## Perché OMX
40
+
41
+ Codex CLI è efficace per compiti diretti. OMX aggiunge struttura per lavori più ampi:
42
+ - Decomposizione ed esecuzione a stadi (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
43
+ - Stato persistente del ciclo di vita delle modalità (`.omx/state/`)
44
+ - Superfici di memoria e notepad per sessioni di lunga durata
45
+ - Controlli operativi per avvio, verifica e annullamento
46
+
47
+ OMX è un add-on, non un fork. Utilizza i punti di estensione nativi di Codex.
48
+
49
+ ## Requisiti
50
+
51
+ - macOS o Linux (Windows tramite WSL2)
52
+ - Node.js >= 20
53
+ - Codex CLI installato (`npm install -g @openai/codex`)
54
+ - Autenticazione Codex configurata
55
+
56
+ ## Avvio rapido (3 minuti)
57
+
58
+ ```bash
59
+ npm install -g oh-my-codex
60
+ omx setup
61
+ omx doctor
62
+ ```
63
+
64
+ Profilo di avvio consigliato per ambienti fidati:
65
+
66
+ ```bash
67
+ omx --xhigh --madmax
68
+ ```
69
+
70
+ ## Novità nella v0.5.0
71
+
72
+ - **Setup sensibile allo scope** con `omx setup --scope user|project` per modalità di installazione flessibili.
73
+ - **Routing Spark worker** tramite `--spark` / `--madmax-spark` in modo che i worker del team possano usare `gpt-5.3-codex-spark` senza forzare il modello leader.
74
+ - **Consolidamento del catalogo** — rimossi prompt obsoleti (`deep-executor`, `scientist`) e 9 skill obsolete.
75
+ - **Livelli di verbosità delle notifiche** per un controllo dettagliato dell'output CCNotifier.
76
+
77
+ ## Prima sessione
78
+
79
+ All'interno di Codex:
80
+
81
+ ```text
82
+ /prompts:architect "analyze current auth boundaries"
83
+ /prompts:executor "implement input validation in login"
84
+ $plan "ship OAuth callback safely"
85
+ $team 3:executor "fix all TypeScript errors"
86
+ ```
87
+
88
+ Dal terminale:
89
+
90
+ ```bash
91
+ omx team 4:executor "parallelize a multi-module refactor"
92
+ omx team status <team-name>
93
+ omx team shutdown <team-name>
94
+ ```
95
+
96
+ ## Modello di base
97
+
98
+ OMX installa e collega questi livelli:
99
+
100
+ ```text
101
+ User
102
+ -> Codex CLI
103
+ -> AGENTS.md (cervello dell'orchestrazione)
104
+ -> ~/.codex/prompts/*.md (catalogo prompt degli agenti)
105
+ -> ~/.agents/skills/*/SKILL.md (catalogo skill)
106
+ -> ~/.codex/config.toml (funzionalità, notifiche, MCP)
107
+ -> .omx/ (stato di esecuzione, memoria, piani, log)
108
+ ```
109
+
110
+ ## Comandi principali
111
+
112
+ ```bash
113
+ omx # Avvia Codex (+ HUD in tmux se disponibile)
114
+ omx setup # Installa prompt/skill/config per scope + progetto AGENTS.md/.omx
115
+ omx doctor # Diagnostica installazione/esecuzione
116
+ omx doctor --team # Diagnostica Team/Swarm
117
+ omx team ... # Avvia/stato/riprendi/arresta i worker del team tmux
118
+ omx status # Mostra le modalità attive
119
+ omx cancel # Annulla le modalità di esecuzione attive
120
+ omx reasoning <mode> # low|medium|high|xhigh
121
+ omx tmux-hook ... # init|status|validate|test
122
+ omx hooks ... # init|status|validate|test (workflow estensione plugin)
123
+ omx hud ... # --watch|--json|--preset
124
+ omx help
125
+ ```
126
+
127
+ ## Estensione Hooks (Superficie additiva)
128
+
129
+ OMX ora include `omx hooks` per lo scaffolding e la validazione dei plugin.
130
+
131
+ - `omx tmux-hook` resta supportato e invariato.
132
+ - `omx hooks` è additivo e non sostituisce i workflow tmux-hook.
133
+ - I file dei plugin si trovano in `.omx/hooks/*.mjs`.
134
+ - I plugin sono disattivati per impostazione predefinita; abilitali con `OMX_HOOK_PLUGINS=1`.
135
+
136
+ Consulta `docs/hooks-extension.md` per il workflow completo di estensione e il modello degli eventi.
137
+
138
+ ## Flag di avvio
139
+
140
+ ```bash
141
+ --yolo
142
+ --high
143
+ --xhigh
144
+ --madmax
145
+ --force
146
+ --dry-run
147
+ --verbose
148
+ --scope <user|project> # solo per setup
149
+ ```
150
+
151
+ `--madmax` corrisponde a Codex `--dangerously-bypass-approvals-and-sandbox`.
152
+ Utilizzare solo in ambienti sandbox fidati/esterni.
153
+
154
+ ### Policy MCP workingDirectory (hardening opzionale)
155
+
156
+ Per impostazione predefinita, gli strumenti MCP stato/memoria/trace accettano il `workingDirectory` fornito dal chiamante.
157
+ Per limitare questo, imposta una lista di directory root consentite:
158
+
159
+ ```bash
160
+ export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
161
+ ```
162
+
163
+ Quando impostato, i valori `workingDirectory` al di fuori di queste root vengono rifiutati.
164
+
165
+ ## Controllo Codex-First dei prompt
166
+
167
+ Per impostazione predefinita, OMX inietta:
168
+
169
+ ```text
170
+ -c model_instructions_file="<cwd>/AGENTS.md"
171
+ ```
172
+
173
+ Questo sovrappone le istruzioni `AGENTS.md` del progetto alle istruzioni di avvio di Codex.
174
+ Estende il comportamento di Codex, ma non sostituisce/aggira le policy di sistema core di Codex.
175
+
176
+ Controlli:
177
+
178
+ ```bash
179
+ OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # disabilita l'iniezione AGENTS.md
180
+ OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
181
+ ```
182
+
183
+ ## Modalità team
184
+
185
+ Usa la modalità team per lavori ampi che beneficiano di worker paralleli.
186
+
187
+ Ciclo di vita:
188
+
189
+ ```text
190
+ start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
191
+ ```
192
+
193
+ Comandi operativi:
194
+
195
+ ```bash
196
+ omx team <args>
197
+ omx team status <team-name>
198
+ omx team resume <team-name>
199
+ omx team shutdown <team-name>
200
+ ```
201
+
202
+ Regola importante: non arrestare mentre i task sono ancora `in_progress`, a meno che non si stia abortendo.
203
+
204
+ ### Policy di pulizia Ralph
205
+
206
+ Quando un team è in esecuzione in modalità ralph (`omx team ralph ...`), la pulizia allo shutdown
207
+ applica una policy dedicata che differisce dal percorso normale:
208
+
209
+ | Comportamento | Team normale | Team Ralph |
210
+ |---|---|---|
211
+ | Shutdown forzato in caso di errore | Lancia `shutdown_gate_blocked` | Aggira il gate, registra l'evento `ralph_cleanup_policy` |
212
+ | Eliminazione automatica dei branch | Elimina i branch worktree durante il rollback | Preserva i branch (`skipBranchDeletion`) |
213
+ | Logging di completamento | Evento standard `shutdown_gate` | Evento aggiuntivo `ralph_cleanup_summary` con dettaglio dei task |
214
+
215
+ La policy ralph viene rilevata automaticamente dallo stato della modalità team (`linked_ralph`) o
216
+ può essere passata esplicitamente tramite `omx team shutdown <name> --ralph`.
217
+
218
+ Selezione CLI worker per i worker del team:
219
+
220
+ ```bash
221
+ OMX_TEAM_WORKER_CLI=auto # predefinito; usa claude quando worker --model contiene "claude"
222
+ OMX_TEAM_WORKER_CLI=codex # forza i worker Codex CLI
223
+ OMX_TEAM_WORKER_CLI=claude # forza i worker Claude CLI
224
+ OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mix CLI per worker (lunghezza=1 o numero di worker)
225
+ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # opzionale: disabilita il fallback adattivo queue->resend
226
+ ```
227
+
228
+ Note:
229
+ - Gli argomenti di avvio dei worker sono ancora condivisi tramite `OMX_TEAM_WORKER_LAUNCH_ARGS`.
230
+ - `OMX_TEAM_WORKER_CLI_MAP` sovrascrive `OMX_TEAM_WORKER_CLI` per la selezione per singolo worker.
231
+ - L'invio dei trigger usa per impostazione predefinita tentativi adattivi (queue/submit, poi fallback sicuro clear-line+resend quando necessario).
232
+ - In modalità worker Claude, OMX avvia i worker come semplice `claude` (nessun argomento di avvio aggiuntivo) e ignora le sovrascritture esplicite `--model` / `--config` / `--effort` in modo che Claude usi il `settings.json` predefinito.
233
+
234
+ ## Cosa scrive `omx setup`
235
+
236
+ - `.omx/setup-scope.json` (scope di setup persistito)
237
+ - Installazioni dipendenti dallo scope:
238
+ - `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
239
+ - `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
240
+ - Comportamento all'avvio: se lo scope persistito è `project`, l'avvio `omx` usa automaticamente `CODEX_HOME=./.codex` (a meno che `CODEX_HOME` non sia già impostato).
241
+ - L'`AGENTS.md` esistente è preservato per impostazione predefinita. Nelle esecuzioni TTY interattive, il setup chiede conferma prima di sovrascrivere; `--force` sovrascrive senza chiedere (i controlli di sicurezza della sessione attiva si applicano comunque).
242
+ - Aggiornamenti `config.toml` (per entrambi gli scope):
243
+ - `notify = ["node", "..."]`
244
+ - `model_reasoning_effort = "high"`
245
+ - `developer_instructions = "..."`
246
+ - `[features] multi_agent = true, child_agents_md = true`
247
+ - Voci server MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
248
+ - `[tui] status_line`
249
+ - `AGENTS.md` del progetto
250
+ - Directory di esecuzione `.omx/` e configurazione HUD
251
+
252
+ ## Agenti e Skill
253
+
254
+ - Prompt: `prompts/*.md` (installati in `~/.codex/prompts/` per `user`, `./.codex/prompts/` per `project`)
255
+ - Skill: `skills/*/SKILL.md` (installati in `~/.agents/skills/` per `user`, `./.agents/skills/` per `project`)
256
+
257
+ Esempi:
258
+ - Agenti: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
259
+ - Skill: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
260
+
261
+ ## Struttura del progetto
262
+
263
+ ```text
264
+ oh-my-codex/
265
+ bin/omx.js
266
+ src/
267
+ cli/
268
+ team/
269
+ mcp/
270
+ hooks/
271
+ hud/
272
+ config/
273
+ modes/
274
+ notifications/
275
+ verification/
276
+ prompts/
277
+ skills/
278
+ templates/
279
+ scripts/
280
+ ```
281
+
282
+ ## Sviluppo
283
+
284
+ ```bash
285
+ git clone https://github.com/Yeachan-Heo/oh-my-codex.git
286
+ cd oh-my-codex
287
+ npm install
288
+ npm run build
289
+ npm test
290
+ ```
291
+
292
+ ## Documentazione
293
+
294
+ - **[Documentazione completa](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guida completa
295
+ - **[Riferimento CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Tutti i comandi `omx`, flag e strumenti
296
+ - **[Guida alle notifiche](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configurazione Discord, Telegram, Slack e webhook
297
+ - **[Workflow consigliati](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Catene di skill collaudate per i compiti comuni
298
+ - **[Note di rilascio](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Novità di ogni versione
299
+
300
+ ## Note
301
+
302
+ - Changelog completo: `CHANGELOG.md`
303
+ - Guida alla migrazione (post-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
304
+ - Note di copertura e parità: `COVERAGE.md`
305
+ - Workflow estensione hook: `docs/hooks-extension.md`
306
+ - Dettagli setup e contribuzione: `CONTRIBUTING.md`
307
+
308
+ ## Ringraziamenti
309
+
310
+ Ispirato da [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adattato per Codex CLI.
311
+
312
+ ## Licenza
313
+
314
+ MIT