oh-my-codex 0.11.11 → 0.11.13

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 (342) hide show
  1. package/Cargo.lock +5 -5
  2. package/Cargo.toml +1 -1
  3. package/README.de.md +12 -6
  4. package/README.el.md +223 -0
  5. package/README.es.md +12 -6
  6. package/README.fr.md +11 -5
  7. package/README.it.md +12 -6
  8. package/README.ja.md +12 -6
  9. package/README.ko.md +12 -6
  10. package/README.md +56 -28
  11. package/README.pl.md +216 -0
  12. package/README.pt.md +12 -6
  13. package/README.ru.md +12 -6
  14. package/README.tr.md +12 -6
  15. package/README.vi.md +148 -183
  16. package/README.zh-TW.md +14 -17
  17. package/README.zh.md +12 -6
  18. package/crates/omx-runtime-core/src/engine.rs +122 -4
  19. package/crates/omx-runtime-core/src/lib.rs +17 -0
  20. package/dist/autoresearch/contracts.d.ts.map +1 -1
  21. package/dist/autoresearch/contracts.js +1 -0
  22. package/dist/autoresearch/contracts.js.map +1 -1
  23. package/dist/autoresearch/runtime.d.ts.map +1 -1
  24. package/dist/autoresearch/runtime.js +7 -1
  25. package/dist/autoresearch/runtime.js.map +1 -1
  26. package/dist/cli/__tests__/agents.test.js +24 -1
  27. package/dist/cli/__tests__/agents.test.js.map +1 -1
  28. package/dist/cli/__tests__/autoresearch.test.js +11 -0
  29. package/dist/cli/__tests__/autoresearch.test.js.map +1 -1
  30. package/dist/cli/__tests__/cleanup.test.js +117 -4
  31. package/dist/cli/__tests__/cleanup.test.js.map +1 -1
  32. package/dist/cli/__tests__/doctor-warning-copy.test.js +33 -3
  33. package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
  34. package/dist/cli/__tests__/error-handling-warnings.test.js +13 -0
  35. package/dist/cli/__tests__/error-handling-warnings.test.js.map +1 -1
  36. package/dist/cli/__tests__/exec.test.js +6 -0
  37. package/dist/cli/__tests__/exec.test.js.map +1 -1
  38. package/dist/cli/__tests__/index.test.js +101 -1
  39. package/dist/cli/__tests__/index.test.js.map +1 -1
  40. package/dist/cli/__tests__/launch-fallback.test.js +3 -0
  41. package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
  42. package/dist/cli/__tests__/package-bin-contract.test.js +10 -0
  43. package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
  44. package/dist/cli/__tests__/packaged-script-resolution.test.js +4 -3
  45. package/dist/cli/__tests__/packaged-script-resolution.test.js.map +1 -1
  46. package/dist/cli/__tests__/resume.test.js +6 -0
  47. package/dist/cli/__tests__/resume.test.js.map +1 -1
  48. package/dist/cli/__tests__/setup-refresh.test.js +29 -12
  49. package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
  50. package/dist/cli/__tests__/setup-scope.test.js +1 -1
  51. package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
  52. package/dist/cli/__tests__/star-prompt.test.js +16 -0
  53. package/dist/cli/__tests__/star-prompt.test.js.map +1 -1
  54. package/dist/cli/__tests__/uninstall.test.js +112 -1
  55. package/dist/cli/__tests__/uninstall.test.js.map +1 -1
  56. package/dist/cli/__tests__/windows-popup-loop-contract.test.d.ts +2 -0
  57. package/dist/cli/__tests__/windows-popup-loop-contract.test.d.ts.map +1 -0
  58. package/dist/cli/__tests__/windows-popup-loop-contract.test.js +30 -0
  59. package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -0
  60. package/dist/cli/agents.d.ts.map +1 -1
  61. package/dist/cli/agents.js +9 -3
  62. package/dist/cli/agents.js.map +1 -1
  63. package/dist/cli/autoresearch-guided.d.ts.map +1 -1
  64. package/dist/cli/autoresearch-guided.js +9 -3
  65. package/dist/cli/autoresearch-guided.js.map +1 -1
  66. package/dist/cli/autoresearch.d.ts.map +1 -1
  67. package/dist/cli/autoresearch.js +8 -2
  68. package/dist/cli/autoresearch.js.map +1 -1
  69. package/dist/cli/cleanup.d.ts +2 -0
  70. package/dist/cli/cleanup.d.ts.map +1 -1
  71. package/dist/cli/cleanup.js +27 -1
  72. package/dist/cli/cleanup.js.map +1 -1
  73. package/dist/cli/doctor.js +7 -0
  74. package/dist/cli/doctor.js.map +1 -1
  75. package/dist/cli/index.d.ts +9 -1
  76. package/dist/cli/index.d.ts.map +1 -1
  77. package/dist/cli/index.js +171 -55
  78. package/dist/cli/index.js.map +1 -1
  79. package/dist/cli/setup.d.ts.map +1 -1
  80. package/dist/cli/setup.js +18 -15
  81. package/dist/cli/setup.js.map +1 -1
  82. package/dist/cli/star-prompt.d.ts.map +1 -1
  83. package/dist/cli/star-prompt.js +2 -0
  84. package/dist/cli/star-prompt.js.map +1 -1
  85. package/dist/cli/team.d.ts.map +1 -1
  86. package/dist/cli/team.js +5 -1
  87. package/dist/cli/team.js.map +1 -1
  88. package/dist/cli/tmux-hook.d.ts.map +1 -1
  89. package/dist/cli/tmux-hook.js +4 -1
  90. package/dist/cli/tmux-hook.js.map +1 -1
  91. package/dist/cli/uninstall.d.ts.map +1 -1
  92. package/dist/cli/uninstall.js +26 -0
  93. package/dist/cli/uninstall.js.map +1 -1
  94. package/dist/cli/update.d.ts.map +1 -1
  95. package/dist/cli/update.js +1 -0
  96. package/dist/cli/update.js.map +1 -1
  97. package/dist/compat/__tests__/rust-runtime-compat.test.js +84 -1
  98. package/dist/compat/__tests__/rust-runtime-compat.test.js.map +1 -1
  99. package/dist/config/__tests__/generator-idempotent.test.js +4 -4
  100. package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
  101. package/dist/config/__tests__/mcp-registry.test.js +13 -16
  102. package/dist/config/__tests__/mcp-registry.test.js.map +1 -1
  103. package/dist/config/mcp-registry.d.ts +1 -0
  104. package/dist/config/mcp-registry.d.ts.map +1 -1
  105. package/dist/config/mcp-registry.js +4 -4
  106. package/dist/config/mcp-registry.js.map +1 -1
  107. package/dist/config/models.d.ts +1 -0
  108. package/dist/config/models.d.ts.map +1 -1
  109. package/dist/config/models.js +39 -1
  110. package/dist/config/models.js.map +1 -1
  111. package/dist/hooks/__tests__/keyword-detector.test.js +12 -1
  112. package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
  113. package/dist/hooks/__tests__/notify-fallback-watcher.test.js +554 -18
  114. package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
  115. package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +347 -16
  116. package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
  117. package/dist/hooks/__tests__/notify-hook-modules.test.js +5 -0
  118. package/dist/hooks/__tests__/notify-hook-modules.test.js.map +1 -1
  119. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.d.ts +2 -0
  120. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.d.ts.map +1 -0
  121. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +597 -0
  122. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -0
  123. package/dist/hooks/__tests__/notify-hook-regression-205.test.js +19 -1
  124. package/dist/hooks/__tests__/notify-hook-regression-205.test.js.map +1 -1
  125. package/dist/hooks/__tests__/notify-hook-session-scope.test.js +73 -53
  126. package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
  127. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +193 -2
  128. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
  129. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +183 -0
  130. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
  131. package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js +255 -97
  132. package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js.map +1 -1
  133. package/dist/hooks/__tests__/notify-hook-tmux-scrollback.test.js +0 -0
  134. package/dist/hooks/__tests__/notify-hook-tmux-scrollback.test.js.map +1 -1
  135. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +46 -0
  136. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
  137. package/dist/hooks/__tests__/prompt-team-routing.test.js +34 -0
  138. package/dist/hooks/__tests__/prompt-team-routing.test.js.map +1 -1
  139. package/dist/hooks/__tests__/tmux-hook-engine.test.js +32 -1
  140. package/dist/hooks/__tests__/tmux-hook-engine.test.js.map +1 -1
  141. package/dist/hooks/code-simplifier/index.d.ts.map +1 -1
  142. package/dist/hooks/code-simplifier/index.js +1 -0
  143. package/dist/hooks/code-simplifier/index.js.map +1 -1
  144. package/dist/hooks/codebase-map.d.ts.map +1 -1
  145. package/dist/hooks/codebase-map.js +1 -0
  146. package/dist/hooks/codebase-map.js.map +1 -1
  147. package/dist/hooks/extensibility/sdk/tmux.d.ts.map +1 -1
  148. package/dist/hooks/extensibility/sdk/tmux.js +3 -1
  149. package/dist/hooks/extensibility/sdk/tmux.js.map +1 -1
  150. package/dist/hooks/keyword-detector.d.ts +1 -0
  151. package/dist/hooks/keyword-detector.d.ts.map +1 -1
  152. package/dist/hooks/keyword-detector.js +48 -0
  153. package/dist/hooks/keyword-detector.js.map +1 -1
  154. package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
  155. package/dist/hooks/prompt-guidance-contract.js +6 -0
  156. package/dist/hooks/prompt-guidance-contract.js.map +1 -1
  157. package/dist/hooks/session.d.ts.map +1 -1
  158. package/dist/hooks/session.js +1 -0
  159. package/dist/hooks/session.js.map +1 -1
  160. package/dist/hud/__tests__/state.test.js +70 -1
  161. package/dist/hud/__tests__/state.test.js.map +1 -1
  162. package/dist/hud/authority.d.ts.map +1 -1
  163. package/dist/hud/authority.js +1 -0
  164. package/dist/hud/authority.js.map +1 -1
  165. package/dist/hud/state.d.ts.map +1 -1
  166. package/dist/hud/state.js +52 -0
  167. package/dist/hud/state.js.map +1 -1
  168. package/dist/mcp/state-server.d.ts.map +1 -1
  169. package/dist/mcp/state-server.js +5 -0
  170. package/dist/mcp/state-server.js.map +1 -1
  171. package/dist/modes/__tests__/base-session-scope.test.js +46 -0
  172. package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
  173. package/dist/modes/base.d.ts.map +1 -1
  174. package/dist/modes/base.js +4 -0
  175. package/dist/modes/base.js.map +1 -1
  176. package/dist/notifications/__tests__/custom-alias-enablement.test.d.ts +2 -0
  177. package/dist/notifications/__tests__/custom-alias-enablement.test.d.ts.map +1 -0
  178. package/dist/notifications/__tests__/custom-alias-enablement.test.js +84 -0
  179. package/dist/notifications/__tests__/custom-alias-enablement.test.js.map +1 -0
  180. package/dist/notifications/__tests__/idle-cooldown.test.js +55 -0
  181. package/dist/notifications/__tests__/idle-cooldown.test.js.map +1 -1
  182. package/dist/notifications/idle-cooldown.d.ts +8 -6
  183. package/dist/notifications/idle-cooldown.d.ts.map +1 -1
  184. package/dist/notifications/idle-cooldown.js +53 -22
  185. package/dist/notifications/idle-cooldown.js.map +1 -1
  186. package/dist/notifications/notifier.js +1 -1
  187. package/dist/notifications/notifier.js.map +1 -1
  188. package/dist/notifications/reply-listener.d.ts.map +1 -1
  189. package/dist/notifications/reply-listener.js +1 -0
  190. package/dist/notifications/reply-listener.js.map +1 -1
  191. package/dist/notifications/tmux.d.ts.map +1 -1
  192. package/dist/notifications/tmux.js +4 -0
  193. package/dist/notifications/tmux.js.map +1 -1
  194. package/dist/openclaw/config.js +2 -2
  195. package/dist/openclaw/config.js.map +1 -1
  196. package/dist/runtime/bridge.d.ts +2 -0
  197. package/dist/runtime/bridge.d.ts.map +1 -1
  198. package/dist/runtime/bridge.js +8 -0
  199. package/dist/runtime/bridge.js.map +1 -1
  200. package/dist/scripts/notify-fallback-watcher.js +103 -53
  201. package/dist/scripts/notify-fallback-watcher.js.map +1 -1
  202. package/dist/scripts/notify-hook/auto-nudge.d.ts +2 -1
  203. package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
  204. package/dist/scripts/notify-hook/auto-nudge.js +90 -104
  205. package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
  206. package/dist/scripts/notify-hook/managed-tmux.d.ts +19 -0
  207. package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -0
  208. package/dist/scripts/notify-hook/managed-tmux.js +320 -0
  209. package/dist/scripts/notify-hook/managed-tmux.js.map +1 -0
  210. package/dist/scripts/notify-hook/operational-events.d.ts.map +1 -1
  211. package/dist/scripts/notify-hook/operational-events.js +2 -0
  212. package/dist/scripts/notify-hook/operational-events.js.map +1 -1
  213. package/dist/scripts/notify-hook/ralph-session-resume.d.ts +22 -0
  214. package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +1 -0
  215. package/dist/scripts/notify-hook/ralph-session-resume.js +277 -0
  216. package/dist/scripts/notify-hook/ralph-session-resume.js.map +1 -0
  217. package/dist/scripts/notify-hook/state-io.d.ts +1 -1
  218. package/dist/scripts/notify-hook/state-io.d.ts.map +1 -1
  219. package/dist/scripts/notify-hook/state-io.js +2 -10
  220. package/dist/scripts/notify-hook/state-io.js.map +1 -1
  221. package/dist/scripts/notify-hook/team-dispatch.d.ts +1 -1
  222. package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
  223. package/dist/scripts/notify-hook/team-dispatch.js +123 -72
  224. package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
  225. package/dist/scripts/notify-hook/team-leader-nudge.d.ts +2 -1
  226. package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
  227. package/dist/scripts/notify-hook/team-leader-nudge.js +13 -5
  228. package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
  229. package/dist/scripts/notify-hook/team-tmux-guard.d.ts.map +1 -1
  230. package/dist/scripts/notify-hook/team-tmux-guard.js +1 -19
  231. package/dist/scripts/notify-hook/team-tmux-guard.js.map +1 -1
  232. package/dist/scripts/notify-hook/team-worker.js +4 -4
  233. package/dist/scripts/notify-hook/team-worker.js.map +1 -1
  234. package/dist/scripts/notify-hook/tmux-injection.d.ts +1 -1
  235. package/dist/scripts/notify-hook/tmux-injection.d.ts.map +1 -1
  236. package/dist/scripts/notify-hook/tmux-injection.js +102 -35
  237. package/dist/scripts/notify-hook/tmux-injection.js.map +1 -1
  238. package/dist/scripts/notify-hook.js +144 -20
  239. package/dist/scripts/notify-hook.js.map +1 -1
  240. package/dist/scripts/run-provider-advisor.js +2 -0
  241. package/dist/scripts/run-provider-advisor.js.map +1 -1
  242. package/dist/scripts/run-test-files.d.ts +2 -0
  243. package/dist/scripts/run-test-files.d.ts.map +1 -0
  244. package/dist/scripts/run-test-files.js +41 -0
  245. package/dist/scripts/run-test-files.js.map +1 -0
  246. package/dist/scripts/tmux-hook-engine.d.ts +2 -0
  247. package/dist/scripts/tmux-hook-engine.d.ts.map +1 -1
  248. package/dist/scripts/tmux-hook-engine.js +15 -0
  249. package/dist/scripts/tmux-hook-engine.js.map +1 -1
  250. package/dist/team/__tests__/api-interop.test.js +136 -4
  251. package/dist/team/__tests__/api-interop.test.js.map +1 -1
  252. package/dist/team/__tests__/leader-activity.test.js +107 -2
  253. package/dist/team/__tests__/leader-activity.test.js.map +1 -1
  254. package/dist/team/__tests__/runtime-cli.test.js +32 -0
  255. package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
  256. package/dist/team/__tests__/runtime.test.js +148 -0
  257. package/dist/team/__tests__/runtime.test.js.map +1 -1
  258. package/dist/team/__tests__/shutdown-fallback.test.js +13 -0
  259. package/dist/team/__tests__/shutdown-fallback.test.js.map +1 -1
  260. package/dist/team/__tests__/state-root.test.js +11 -1
  261. package/dist/team/__tests__/state-root.test.js.map +1 -1
  262. package/dist/team/__tests__/state.test.js +237 -0
  263. package/dist/team/__tests__/state.test.js.map +1 -1
  264. package/dist/team/__tests__/tmux-session.test.js +521 -2
  265. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  266. package/dist/team/api-interop.d.ts.map +1 -1
  267. package/dist/team/api-interop.js +41 -31
  268. package/dist/team/api-interop.js.map +1 -1
  269. package/dist/team/commit-hygiene.d.ts +60 -0
  270. package/dist/team/commit-hygiene.d.ts.map +1 -0
  271. package/dist/team/commit-hygiene.js +232 -0
  272. package/dist/team/commit-hygiene.js.map +1 -0
  273. package/dist/team/leader-activity.d.ts.map +1 -1
  274. package/dist/team/leader-activity.js +56 -4
  275. package/dist/team/leader-activity.js.map +1 -1
  276. package/dist/team/runtime-cli.d.ts +9 -1
  277. package/dist/team/runtime-cli.d.ts.map +1 -1
  278. package/dist/team/runtime-cli.js +15 -6
  279. package/dist/team/runtime-cli.js.map +1 -1
  280. package/dist/team/runtime.d.ts +7 -2
  281. package/dist/team/runtime.d.ts.map +1 -1
  282. package/dist/team/runtime.js +392 -171
  283. package/dist/team/runtime.js.map +1 -1
  284. package/dist/team/scaling.d.ts.map +1 -1
  285. package/dist/team/scaling.js +6 -2
  286. package/dist/team/scaling.js.map +1 -1
  287. package/dist/team/state/dispatch.d.ts +2 -0
  288. package/dist/team/state/dispatch.d.ts.map +1 -1
  289. package/dist/team/state/dispatch.js +86 -40
  290. package/dist/team/state/dispatch.js.map +1 -1
  291. package/dist/team/state/mailbox.d.ts +3 -0
  292. package/dist/team/state/mailbox.d.ts.map +1 -1
  293. package/dist/team/state/mailbox.js +93 -19
  294. package/dist/team/state/mailbox.js.map +1 -1
  295. package/dist/team/state-root.d.ts +1 -1
  296. package/dist/team/state-root.d.ts.map +1 -1
  297. package/dist/team/state-root.js +8 -3
  298. package/dist/team/state-root.js.map +1 -1
  299. package/dist/team/state.d.ts.map +1 -1
  300. package/dist/team/state.js +96 -2
  301. package/dist/team/state.js.map +1 -1
  302. package/dist/team/tmux-session.d.ts.map +1 -1
  303. package/dist/team/tmux-session.js +81 -29
  304. package/dist/team/tmux-session.js.map +1 -1
  305. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  306. package/dist/team/worker-bootstrap.js +4 -0
  307. package/dist/team/worker-bootstrap.js.map +1 -1
  308. package/dist/team/worktree.d.ts.map +1 -1
  309. package/dist/team/worktree.js +9 -0
  310. package/dist/team/worktree.js.map +1 -1
  311. package/dist/utils/__tests__/paths.test.js +98 -11
  312. package/dist/utils/__tests__/paths.test.js.map +1 -1
  313. package/dist/utils/__tests__/platform-command.test.js +101 -2
  314. package/dist/utils/__tests__/platform-command.test.js.map +1 -1
  315. package/dist/utils/git-layout.d.ts +8 -0
  316. package/dist/utils/git-layout.d.ts.map +1 -0
  317. package/dist/utils/git-layout.js +58 -0
  318. package/dist/utils/git-layout.js.map +1 -0
  319. package/dist/utils/paths.d.ts +3 -0
  320. package/dist/utils/paths.d.ts.map +1 -1
  321. package/dist/utils/paths.js +14 -4
  322. package/dist/utils/paths.js.map +1 -1
  323. package/dist/utils/platform-command.d.ts.map +1 -1
  324. package/dist/utils/platform-command.js +35 -3
  325. package/dist/utils/platform-command.js.map +1 -1
  326. package/package.json +9 -5
  327. package/src/scripts/notify-fallback-watcher.ts +103 -53
  328. package/src/scripts/notify-hook/auto-nudge.ts +97 -103
  329. package/src/scripts/notify-hook/managed-tmux.ts +324 -0
  330. package/src/scripts/notify-hook/operational-events.ts +2 -0
  331. package/src/scripts/notify-hook/ralph-session-resume.ts +337 -0
  332. package/src/scripts/notify-hook/state-io.ts +2 -10
  333. package/src/scripts/notify-hook/team-dispatch.ts +131 -66
  334. package/src/scripts/notify-hook/team-leader-nudge.ts +19 -5
  335. package/src/scripts/notify-hook/team-tmux-guard.ts +0 -20
  336. package/src/scripts/notify-hook/team-worker.ts +4 -4
  337. package/src/scripts/notify-hook/tmux-injection.ts +103 -33
  338. package/src/scripts/notify-hook.ts +150 -21
  339. package/src/scripts/run-provider-advisor.ts +4 -2
  340. package/src/scripts/run-test-files.ts +48 -0
  341. package/src/scripts/tmux-hook-engine.ts +16 -0
  342. package/templates/AGENTS.md +51 -43
package/README.vi.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">
4
4
  <img src="https://yeachan-heo.github.io/oh-my-codex-website/omx-character-nobg.png" alt="oh-my-codex character" width="280">
5
5
  <br>
6
- <em>Codex của bạn không đơn độc.</em>
6
+ <em>Dùng Codex hiệu quả hơn OMX lo phần prompt, workflow và runtime khi dự án phức tạp dần.</em>
7
7
  </p>
8
8
 
9
9
  [![npm version](https://img.shields.io/npm/v/oh-my-codex)](https://www.npmjs.com/package/oh-my-codex)
@@ -11,247 +11,212 @@
11
11
  [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)
12
12
  [![Discord](https://img.shields.io/discord/1452487457085063218?color=5865F2&logo=discord&logoColor=white&label=Discord)](https://discord.gg/PUwSMR9XNk)
13
13
 
14
- > **[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)** | **[Hướng dẫn tích hợp OpenClaw](./docs/openclaw-integration.vi.md)** | **[GitHub](https://github.com/Yeachan-Heo/oh-my-codex)** | **[npm](https://www.npmjs.com/package/oh-my-codex)**
14
+ **Website:** https://yeachan-heo.github.io/oh-my-codex-website/
15
+ **Tài liệu:** [Bắt đầu](./docs/getting-started.html) · [Agent](./docs/agents.html) · [Skill](./docs/skills.html) · [Tích hợp](./docs/integrations.html) · [Demo](./DEMO.md) · [Hướng dẫn OpenClaw](./docs/openclaw-integration.md)
15
16
 
16
- Lớp điều phối đa tác nhân cho [OpenAI Codex CLI](https://github.com/openai/codex).
17
+ OMX lớp workflow mở rộng cho [OpenAI Codex CLI](https://github.com/openai/codex).
17
18
 
18
- ## Điểm mới trong v0.9.0 Spark Initiative
19
+ Codex vẫn engine chính, OMX giúp bạn:
20
+ - cấu hình Codex tốt hơn ngay từ phiên đầu tiên
21
+ - chạy workflow nhất quán từ làm rõ yêu cầu đến hoàn thành
22
+ - gọi các skill chính bằng `$deep-interview`, `$ralplan`, `$team` và `$ralph`
23
+ - lưu trữ hướng dẫn dự án, kế hoạch, log và trạng thái trong `.omx/`
19
24
 
20
- Spark Initiative bản phát hành tăng cường đường đi native cho khám phá và kiểm tra trong OMX.
25
+ ## Workflow mặc định
21
26
 
22
- - **Native harness cho `omx explore`** — chạy khám phá kho mã chỉ đọc nhanh hơn chặt chẽ hơn bằng harness Rust.
23
- - **`omx sparkshell`** — bề mặt kiểm tra native cho operator, hỗ trợ tóm tắt đầu ra dài và chụp tmux pane.
24
- - **Tài sản phát hành native đa nền tảng** — đường hydration cho `omx-explore-harness`, `omx-sparkshell` và `native-release-manifest.json` nay đã nằm trong pipeline phát hành.
25
- - **CI/CD được tăng cường** — thêm thiết lập Rust toolchain tường minh cho `build` job cùng với `cargo fmt --check` và `cargo clippy -- -D warnings`.
26
-
27
- Xem thêm tại [ghi chú phát hành v0.9.0](./docs/release-notes-0.9.0.md) và [release body](./docs/release-body-0.9.0.md).
28
-
29
- ## Phiên đầu tiên
30
-
31
- Trong Codex:
32
-
33
- ```text
34
- /prompts:architect "analyze current auth boundaries"
35
- /prompts:executor "implement input validation in login"
36
- $plan "ship OAuth callback safely"
37
- $team 3:executor "fix all TypeScript errors"
38
- ```
39
-
40
- Từ terminal:
27
+ Nếu bạn muốn trải nghiệm OMX nhanh nhất, bắt đầu từ đây:
41
28
 
42
29
  ```bash
43
- omx team 4:executor "parallelize a multi-module refactor"
44
- omx team status <team-name>
45
- omx team shutdown <team-name>
30
+ npm install -g @openai/codex oh-my-codex
31
+ omx setup
32
+ omx --madmax --high
46
33
  ```
47
34
 
48
- ## hình cốt lõi
49
-
50
- OMX cài đặt và kết nối các lớp sau:
35
+ Sau đó làm việc bình thường trong Codex:
51
36
 
52
37
  ```text
53
- User
54
- -> Codex CLI
55
- -> AGENTS.md (bộ não điều phối)
56
- -> ~/.codex/prompts/*.md (danh mục prompt tác nhân)
57
- -> ~/.codex/skills/*/SKILL.md (danh mục skill)
58
- -> ~/.codex/config.toml (tính năng, thông báo, MCP)
59
- -> .omx/ (trạng thái runtime, bộ nhớ, kế hoạch, nhật ký)
38
+ $deep-interview "clarify the authentication change"
39
+ $ralplan "approve the auth plan and review tradeoffs"
40
+ $ralph "carry the approved plan to completion"
41
+ $team 3:executor "execute the approved plan in parallel"
60
42
  ```
61
43
 
62
- ## Các lệnh chính
44
+ Đó flow chính.
45
+ Khởi động OMX, làm rõ yêu cầu khi cần, duyệt kế hoạch, rồi chọn `$team` để chạy song song hoặc `$ralph` để một agent lo đến khi xong.
63
46
 
64
- ```bash
65
- omx # Khởi chạy Codex (+ HUD trong tmux khi có sẵn)
66
- omx setup # Cài đặt prompt/skill/config theo phạm vi + .omx của dự án + AGENTS.md theo phạm vi
67
- omx doctor # Chẩn đoán cài đặt/runtime
68
- omx doctor --team # Chẩn đoán Team/swarm
69
- omx team ... # Khởi động/trạng thái/tiếp tục/tắt worker tmux của đội
70
- omx status # Hiển thị các chế độ đang hoạt động
71
- omx cancel # Hủy các chế độ thực thi đang hoạt động
72
- omx reasoning <mode> # low|medium|high|xhigh
73
- omx tmux-hook ... # init|status|validate|test
74
- omx hooks ... # init|status|validate|test (quy trình mở rộng plugin)
75
- omx hud ... # --watch|--json|--preset
76
- omx help
77
- ```
47
+ ## OMX dùng để làm gì
48
+
49
+ Dùng OMX nếu bạn đã quen Codex muốn trải nghiệm tốt hơn:
50
+ - workflow chuẩn xoay quanh `$deep-interview`, `$ralplan`, `$team` và `$ralph`
51
+ - các role chuyên biệt và skill hỗ trợ cho từng loại task
52
+ - hướng dẫn dự án qua `AGENTS.md` theo scope
53
+ - lưu trạng thái lâu dài trong `.omx/` kế hoạch, log, memory theo dõi mode
78
54
 
79
- ## Mở rộng Hooks (Bề mặt bổ sung)
55
+ Nếu bạn chỉ muốn dùng Codex thuần mà không cần thêm workflow, thì có lẽ không cần OMX.
80
56
 
81
- OMX hiện bao gồm `omx hooks` cho scaffolding và xác thực plugin.
57
+ ## Bắt đầu nhanh
82
58
 
83
- - `omx tmux-hook` vẫn được hỗ trợ và không thay đổi.
84
- - `omx hooks` là bổ sung và không thay thế quy trình tmux-hook.
85
- - Tệp plugin nằm tại `.omx/hooks/*.mjs`.
86
- - Plugin tắt theo mặc định; kích hoạt bằng `OMX_HOOK_PLUGINS=1`.
59
+ ### Yêu cầu
87
60
 
88
- Xem `docs/hooks-extension.md` cho quy trình mở rộng đầy đủ và mô hình sự kiện.
61
+ - Node.js 20+
62
+ - Codex CLI đã cài: `npm install -g @openai/codex`
63
+ - Codex đã xác thực (auth)
64
+ - `tmux` trên macOS/Linux nếu muốn dùng team runtime
65
+ - `psmux` trên Windows nếu muốn dùng team mode
89
66
 
90
- ## Cờ khởi chạy
67
+ ### Phiên đầu tiên
68
+
69
+ Khởi chạy OMX:
91
70
 
92
71
  ```bash
93
- --yolo
94
- --high
95
- --xhigh
96
- --madmax
97
- --force
98
- --dry-run
99
- --verbose
100
- --scope <user|project> # chỉ dành cho setup
72
+ omx --madmax --high
101
73
  ```
102
74
 
103
- `--madmax` ánh xạ đến Codex `--dangerously-bypass-approvals-and-sandbox`.
104
- Chỉ sử dụng trong môi trường sandbox tin cậy hoặc bên ngoài.
75
+ Rồi thử workflow chính:
105
76
 
106
- ### Chính sách workingDirectory MCP (tăng cường tùy chọn)
77
+ ```text
78
+ $deep-interview "clarify the authentication change"
79
+ $ralplan "approve the safest implementation path"
80
+ $ralph "carry the approved plan to completion"
81
+ $team 3:executor "execute the approved plan in parallel"
82
+ ```
107
83
 
108
- Theo mặc định, các công cụ MCP state/memory/trace chấp nhận `workingDirectory` do người gọi cung cấp.
109
- Để hạn chế điều này, đặt danh sách gốc được phép:
84
+ Dùng `$team` khi cần nhiều worker chạy song song, hoặc `$ralph` khi muốn một agent lo từ đầu đến cuối.
110
85
 
111
- ```bash
112
- export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
113
- ```
86
+ ## Mô hình đơn giản
114
87
 
115
- Khi được đặt, các giá trị `workingDirectory` ngoài các gốc này sẽ bị từ chối.
88
+ OMX **không** thay thế Codex.
116
89
 
117
- ## Kiểm soát Prompt Codex-First
90
+ OMX bổ sung một lớp hỗ trợ phía trên Codex:
91
+ - **Codex** vẫn làm toàn bộ việc thực thi
92
+ - **Role của OMX** giúp gọi nhanh các vai trò chuyên biệt
93
+ - **Skill của OMX** đóng gói các workflow phổ biến thành lệnh
94
+ - **`.omx/`** lưu kế hoạch, log, memory và trạng thái runtime
118
95
 
119
- Theo mặc định, OMX tiêm:
96
+ Nói đơn giản: OMX giúp **phân task đúng chỗ + workflow rõ ràng + runtime ổn định hơn** — không phải một bảng điều khiển để gõ lệnh cả ngày.
120
97
 
121
- ```text
122
- -c model_instructions_file="<cwd>/AGENTS.md"
123
- ```
98
+ ## Hướng dẫn cho người mới
124
99
 
125
- Điều này kết hợp `AGENTS.md` trong `CODEX_HOME` với `AGENTS.md` của dự án (nếu có), rồi thêm lớp phủ runtime.
126
- Mở rộng hành vi Codex, nhưng không thay thế/bỏ qua các chính sách hệ thống cốt lõi của Codex.
100
+ 1. Chạy `omx setup`
101
+ 2. Khởi động với `omx --madmax --high`
102
+ 3. Dùng `$deep-interview "..."` khi yêu cầu còn mơ hồ
103
+ 4. Dùng `$ralplan "..."` để duyệt kế hoạch và cân nhắc trade-off
104
+ 5. Chọn `$team` để chạy song song hoặc `$ralph` để một agent lo đến khi xong
127
105
 
128
- Điều khiển:
106
+ ## Workflow khuyến nghị
129
107
 
130
- ```bash
131
- OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # tắt tiêm AGENTS.md
132
- OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
133
- ```
108
+ 1. `$deep-interview` — làm rõ scope khi yêu cầu còn mơ hồ.
109
+ 2. `$ralplan` chuyển scope đã rõ thành kế hoạch triển khai được duyệt.
110
+ 3. `$team` hoặc `$ralph` — dùng `$team` khi cần nhiều worker song song, hoặc `$ralph` khi muốn một agent chạy liên tục đến khi xong.
134
111
 
135
- ## Chế độ đội
112
+ ## Các lệnh thường dùng trong phiên
136
113
 
137
- Sử dụng chế độ đội cho công việc lớn được hưởng lợi từ worker song song.
114
+ | Lệnh | Dùng khi |
115
+ | --- | --- |
116
+ | `$deep-interview "..."` | Làm rõ ý định, scope và non-goal |
117
+ | `$ralplan "..."` | Duyệt kế hoạch triển khai và trade-off |
118
+ | `$ralph "..."` | Chạy liên tục đến khi hoàn thành và verify |
119
+ | `$team "..."` | Chạy song song khi task đủ lớn |
120
+ | `/skills` | Xem danh sách skill và helper đã cài |
138
121
 
139
- Vòng đời:
122
+ ## Nâng cao
140
123
 
141
- ```text
142
- start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
143
- ```
124
+ Các phần dưới đây hữu ích nhưng không phải là bước bắt đầu chính.
144
125
 
145
- Các lệnh vận hành:
126
+ ### Team runtime
127
+
128
+ Dùng team runtime khi cần phối hợp nhiều worker qua tmux/worktree — đây không phải bước bắt đầu mặc định.
146
129
 
147
130
  ```bash
148
- omx team <args>
131
+ omx team 3:executor "fix the failing tests with verification"
149
132
  omx team status <team-name>
150
133
  omx team resume <team-name>
151
134
  omx team shutdown <team-name>
152
135
  ```
153
136
 
154
- Quy tắc quan trọng: không tắt khi các tác vụ vẫn đang ở trạng thái `in_progress` trừ khi đang hủy bỏ.
155
-
156
- ### Team shutdown policy
137
+ ### Setup, doctor HUD
157
138
 
158
- Use `omx team shutdown <team-name>` after the team reaches a terminal state.
159
- Team cleanup now follows one standalone path; there is no separate `omx team ralph ...` shutdown policy anymore.
139
+ Đây các công cụ vận hành/hỗ trợ:
140
+ - `omx setup` cài prompt, skill, config scaffold AGENTS
141
+ - `omx doctor` kiểm tra cài đặt khi có vấn đề
142
+ - `omx hud --watch` theo dõi trạng thái, không phải workflow chính
160
143
 
161
- Chọn Worker CLI cho worker của đội:
162
-
163
- ```bash
164
- OMX_TEAM_WORKER_CLI=auto # mặc định; sử dụng claude khi worker --model chứa "claude"
165
- OMX_TEAM_WORKER_CLI=codex # ép buộc worker Codex CLI
166
- OMX_TEAM_WORKER_CLI=claude # ép buộc worker Claude CLI
167
- OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # hỗn hợp CLI theo worker (độ dài=1 hoặc số worker)
168
- OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # tùy chọn: tắt fallback thích ứng queue->resend
169
- ```
144
+ ### Explore sparkshell
170
145
 
171
- Lưu ý:
172
- - Tham số khởi chạy worker vẫn được chia sẻ qua `OMX_TEAM_WORKER_LAUNCH_ARGS`.
173
- - `OMX_TEAM_WORKER_CLI_MAP` ghi đè `OMX_TEAM_WORKER_CLI` cho lựa chọn theo worker.
174
- - Gửi trigger sử dụng thử lại thích ứng theo mặc định (queue/submit, sau đó fallback an toàn clear-line+resend khi cần).
175
- - Trong chế độ Claude worker, OMX khởi chạy worker dưới dạng `claude` thuần túy (không có tham số khởi chạy thêm) và bỏ qua các ghi đè rõ ràng `--model` / `--config` / `--effort` để Claude sử dụng `settings.json` mặc định.
176
-
177
- ## `omx setup` ghi những gì
178
-
179
- - `.omx/setup-scope.json` (phạm vi cài đặt được lưu trữ)
180
- - Cài đặt phụ thuộc phạm vi:
181
- - `user`: `~/.codex/prompts/`, `~/.codex/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`, `~/.codex/AGENTS.md`
182
- - `project`: `./.codex/prompts/`, `./.codex/skills/`, `./.codex/config.toml`, `./.omx/agents/`, `./AGENTS.md`
183
- - Hành vi khởi chạy: nếu phạm vi được lưu trữ là `project`, khởi chạy `omx` tự động sử dụng `CODEX_HOME=./.codex` (trừ khi `CODEX_HOME` đã được đặt).
184
- - Hướng dẫn khởi chạy sẽ kết hợp `~/.codex/AGENTS.md` (hoặc `CODEX_HOME/AGENTS.md` nếu đã ghi đè) với `./AGENTS.md` của dự án, rồi thêm lớp phủ runtime.
185
- - Các tệp `AGENTS.md` hiện có sẽ không bao giờ bị ghi đè âm thầm: ở TTY tương tác, setup hỏi trước khi thay thế; ở chế độ không tương tác, việc thay thế sẽ bị bỏ qua trừ khi dùng `--force` (kiểm tra an toàn phiên hoạt động vẫn áp dụng).
186
- - Cập nhật `config.toml` (cho cả hai phạm vi):
187
- - `notify = ["node", "..."]`
188
- - `model_reasoning_effort = "high"`
189
- - `developer_instructions = "..."`
190
- - `[features] multi_agent = true, child_agents_md = true`
191
- - Mục máy chủ MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
192
- - `[tui] status_line`
193
- - `AGENTS.md` theo phạm vi
194
- - Thư mục `.omx/` runtime và cấu hình HUD
195
-
196
- ## Tác nhân và skill
197
-
198
- - Prompt: `prompts/*.md` (cài vào `~/.codex/prompts/` cho `user`, `./.codex/prompts/` cho `project`)
199
- - Skill: `skills/*/SKILL.md` (cài vào `~/.codex/skills/` cho `user`, `./.codex/skills/` cho `project`)
146
+ - `omx explore --prompt "..."` tìm kiếm chỉ đọc trong repository
147
+ - `omx sparkshell <command>` chạy lệnh shell kiểm soát output
200
148
 
201
149
  Ví dụ:
202
- - Tác nhân: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
203
- - Skill: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
204
-
205
- ## Cấu trúc dự án
206
150
 
207
- ```text
208
- oh-my-codex/
209
- bin/omx.js
210
- src/
211
- cli/
212
- team/
213
- mcp/
214
- hooks/
215
- hud/
216
- config/
217
- modes/
218
- notifications/
219
- verification/
220
- prompts/
221
- skills/
222
- templates/
223
- scripts/
151
+ ```bash
152
+ omx explore --prompt "find where team state is written"
153
+ omx sparkshell git status
154
+ omx sparkshell --tmux-pane %12 --tail-lines 400
224
155
  ```
225
156
 
226
- ## Phát triển
157
+ ### Cài tmux theo nền tảng
227
158
 
228
- ```bash
229
- git clone https://github.com/Yeachan-Heo/oh-my-codex.git
230
- cd oh-my-codex
231
- npm install
232
- npm run build
233
- npm test
234
- ```
159
+ `omx team` cần backend tương thích tmux:
235
160
 
236
- ## Tài liệu
161
+ | Nền tảng | Cài đặt |
162
+ | --- | --- |
163
+ | macOS | `brew install tmux` |
164
+ | Ubuntu/Debian | `sudo apt install tmux` |
165
+ | Fedora | `sudo dnf install tmux` |
166
+ | Arch | `sudo pacman -S tmux` |
167
+ | Windows | `winget install psmux` |
168
+ | Windows (WSL2) | `sudo apt install tmux` |
237
169
 
238
- - **[Tài liệu đầy đủ](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Hướng dẫn hoàn chỉnh
239
- - **[Tham chiếu CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Tất cả lệnh `omx`, cờ và công cụ
240
- - **[Hướng dẫn thông báo](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Cài đặt Discord, Telegram, Slack và webhook
241
- - **[Quy trình công việc khuyến nghị](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Chuỗi skill đã thử nghiệm thực chiến cho các tác vụ phổ biến
242
- - **[Ghi chú phát hành](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Tính năng mới trong mỗi phiên bản
170
+ ## Vấn đề đã biết
243
171
 
244
- ## Ghi chú
172
+ ### Intel Mac: CPU `syspolicyd` / `trustd` cao khi khởi động
245
173
 
246
- - Nhật thay đổi đầy đủ: `CHANGELOG.md`
247
- - Hướng dẫn di chuyển (sau v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
248
- - Ghi chú về độ bao phủ và tương đương: `COVERAGE.md`
249
- - Quy trình mở rộng hook: `docs/hooks-extension.md`
250
- - Chi tiết cài đặt và đóng góp: `CONTRIBUTING.md`
174
+ Trên một số máy Intel Mac, khi khởi động OMX — đặc biệt với `--madmax --high` — CPU có thể tăng đột biến do macOS Gatekeeper xác thực nhiều tiến trình đồng thời.
251
175
 
252
- ## Lời cảm ơn
176
+ Nếu gặp tình trạng này, thử:
177
+ - `xattr -dr com.apple.quarantine $(which omx)`
178
+ - Thêm ứng dụng terminal vào danh sách Developer Tools trong cài đặt Security của macOS
179
+ - Dùng cấu hình nhẹ hơn (bỏ `--madmax --high`)
180
+
181
+ ## Tài liệu
253
182
 
254
- Lấy cảm hứng từ [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), được điều chỉnh cho Codex CLI.
183
+ - [Bắt đầu](./docs/getting-started.html)
184
+ - [Hướng dẫn demo](./DEMO.md)
185
+ - [Danh mục agent](./docs/agents.html)
186
+ - [Tham chiếu skill](./docs/skills.html)
187
+ - [Tích hợp](./docs/integrations.html)
188
+ - [Hướng dẫn OpenClaw / notification gateway](./docs/openclaw-integration.md)
189
+ - [Đóng góp](./CONTRIBUTING.md)
190
+ - [Nhật ký thay đổi](./CHANGELOG.md)
191
+
192
+ ## Ngôn ngữ
193
+
194
+ - [English](./README.md)
195
+ - [한국어](./README.ko.md)
196
+ - [日本語](./README.ja.md)
197
+ - [简体中文](./README.zh.md)
198
+ - [繁體中文](./README.zh-TW.md)
199
+ - [Tiếng Việt](./README.vi.md)
200
+ - [Español](./README.es.md)
201
+ - [Português](./README.pt.md)
202
+ - [Русский](./README.ru.md)
203
+ - [Türkçe](./README.tr.md)
204
+ - [Deutsch](./README.de.md)
205
+ - [Français](./README.fr.md)
206
+ - [Italiano](./README.it.md)
207
+ - [Ελληνικά](./README.el.md)
208
+ - [Polski](./README.pl.md)
209
+
210
+ ## Đóng góp
211
+
212
+ | Vai trò | Tên | GitHub |
213
+ | --- | --- | --- |
214
+ | Tác giả & Lead | Yeachan Heo | [@Yeachan-Heo](https://github.com/Yeachan-Heo) |
215
+ | Maintainer | HaD0Yun | [@HaD0Yun](https://github.com/HaD0Yun) |
216
+
217
+ ## Star History
218
+
219
+ [![Star History Chart](https://api.star-history.com/svg?repos=Yeachan-Heo/oh-my-codex&type=date&legend=top-left)](https://www.star-history.com/#Yeachan-Heo/oh-my-codex&type=date&legend=top-left)
255
220
 
256
221
  ## Giấy phép
257
222
 
package/README.zh-TW.md CHANGED
@@ -31,10 +31,10 @@ Spark Initiative 是一個強化 OMX 原生探索與檢查路徑的版本發布
31
31
  在 Codex 內部:
32
32
 
33
33
  ```text
34
- /prompts:architect "analyze current auth boundaries"
35
- /prompts:executor "implement input validation in login"
36
- $plan "ship OAuth callback safely"
37
- $team 3:executor "fix all TypeScript errors"
34
+ $deep-interview "clarify the auth change"
35
+ $ralplan "approve the auth plan and review tradeoffs"
36
+ $ralph "carry the approved plan to completion"
37
+ $team 3:executor "execute the approved plan in parallel"
38
38
  ```
39
39
 
40
40
  從終端機:
@@ -45,6 +45,12 @@ omx team status <team-name>
45
45
  omx team shutdown <team-name>
46
46
  ```
47
47
 
48
+ ## 建議工作流程
49
+
50
+ 1. `$deep-interview` — 當範圍或邊界仍不清楚時,先用它釐清需求。
51
+ 2. `$ralplan` — 把釐清後的範圍整理成可核准的架構與實作計畫。
52
+ 3. `$team` 或 `$ralph` — 需要協調平行執行時用 `$team`,需要單一負責人持續推進到完成並驗證時用 `$ralph`。
53
+
48
54
  ## 核心模型
49
55
 
50
56
  OMX 安裝並串接以下各層:
@@ -172,19 +178,10 @@ omx team shutdown <team-name>
172
178
 
173
179
  重要規則:除非要中止,否則請勿在任務仍處於 `in_progress` 狀態時關閉。
174
180
 
175
- ### Ralph 清理策略
176
-
177
- 當團隊以 ralph 模式執行(`omx team ralph ...`)時,關閉清理
178
- 會套用與一般路徑不同的專屬策略:
179
-
180
- | 行為 | 一般團隊 | Ralph 團隊 |
181
- |---|---|---|
182
- | 失敗時強制關閉 | 拋出 `shutdown_gate_blocked` | 略過閘門,記錄 `ralph_cleanup_policy` 事件 |
183
- | 自動刪除分支 | 復原時刪除 worktree 分支 | 保留分支(`skipBranchDeletion`) |
184
- | 完成日誌 | 標準 `shutdown_gate` 事件 | 附帶任務分解的 `ralph_cleanup_summary` 事件 |
181
+ ### Ralph 後續流程
185
182
 
186
- Ralph 策略會從團隊模式狀態(`linked_ralph`)自動偵測,
187
- 也可透過 `omx team shutdown <name> --ralph` 明確傳遞。
183
+ 若協調式 Team 執行之後仍需要單一負責人的持續修正 / 驗證迴圈,
184
+ 請在 Team 工作完成後另外執行 `omx ralph ...`。舊的 linked-Ralph 團隊路徑已不再是建議或支援的標準路徑。
188
185
 
189
186
  團隊工作進程的 Worker CLI 選擇:
190
187
 
@@ -228,7 +225,7 @@ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # 選用:停用自適應 queue->resend 回退
228
225
 
229
226
  範例:
230
227
  - 代理:`architect`、`planner`、`executor`、`debugger`、`verifier`、`security-reviewer`
231
- - 技能:`autopilot`、`plan`、`team`、`ralph`、`ultrawork`、`cancel`
228
+ - 技能:`deep-interview`、`ralplan`、`team`、`ralph`、`plan`、`cancel`
232
229
 
233
230
  ### 視覺品管迴圈(`$visual-verdict`)
234
231
 
package/README.zh.md CHANGED
@@ -31,10 +31,10 @@ Spark Initiative 是一次强化 OMX 原生探索与检查路径的版本发布
31
31
  在 Codex 内部:
32
32
 
33
33
  ```text
34
- /prompts:architect "analyze current auth boundaries"
35
- /prompts:executor "implement input validation in login"
36
- $plan "ship OAuth callback safely"
37
- $team 3:executor "fix all TypeScript errors"
34
+ $deep-interview "clarify the auth change"
35
+ $ralplan "approve the auth plan and review tradeoffs"
36
+ $ralph "carry the approved plan to completion"
37
+ $team 3:executor "execute the approved plan in parallel"
38
38
  ```
39
39
 
40
40
  从终端:
@@ -45,6 +45,12 @@ omx team status <team-name>
45
45
  omx team shutdown <team-name>
46
46
  ```
47
47
 
48
+ ## 推荐工作流
49
+
50
+ 1. `$deep-interview` — 当范围或边界还不清楚时,先用它澄清需求。
51
+ 2. `$ralplan` — 把澄清后的范围整理成可批准的架构与实施计划。
52
+ 3. `$team` 或 `$ralph` — 需要协调并行执行时用 `$team`,需要单一负责人持续推进到完成并验证时用 `$ralph`。
53
+
48
54
  ## 核心模型
49
55
 
50
56
  OMX 安装并连接以下层:
@@ -156,7 +162,7 @@ omx team shutdown <team-name>
156
162
  ### Team shutdown policy
157
163
 
158
164
  Use `omx team shutdown <team-name>` after the team reaches a terminal state.
159
- Team cleanup now follows one standalone path; there is no separate `omx team ralph ...` shutdown policy anymore.
165
+ Team cleanup now follows one standalone path; legacy linked-Ralph shutdown handling is no longer a separate public workflow.
160
166
 
161
167
  团队 worker 的 Worker CLI 选择:
162
168
 
@@ -200,7 +206,7 @@ OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # 可选:禁用自适应 queue->resend 回退
200
206
 
201
207
  示例:
202
208
  - 代理:`architect`、`planner`、`executor`、`debugger`、`verifier`、`security-reviewer`
203
- - 技能:`autopilot`、`plan`、`team`、`ralph`、`ultrawork`、`cancel`
209
+ - 技能:`deep-interview`、`ralplan`、`team`、`ralph`、`plan`、`cancel`
204
210
 
205
211
  ## 项目结构
206
212