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.
- package/README.de.md +315 -0
- package/README.es.md +296 -17
- package/README.fr.md +315 -0
- package/README.it.md +315 -0
- package/README.ja.md +297 -18
- package/README.ko.md +296 -17
- package/README.md +110 -13
- package/README.pt.md +296 -17
- package/README.ru.md +296 -17
- package/README.tr.md +315 -0
- package/README.vi.md +297 -18
- package/README.zh-TW.md +362 -0
- package/README.zh.md +293 -17
- package/dist/catalog/__tests__/generator.test.js +2 -0
- package/dist/catalog/__tests__/generator.test.js.map +1 -1
- package/dist/catalog/__tests__/schema.test.js +7 -0
- package/dist/catalog/__tests__/schema.test.js.map +1 -1
- package/dist/cli/__tests__/ask.test.d.ts +2 -0
- package/dist/cli/__tests__/ask.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ask.test.js +236 -0
- package/dist/cli/__tests__/ask.test.js.map +1 -0
- package/dist/cli/__tests__/doctor-warning-copy.test.d.ts +2 -0
- package/dist/cli/__tests__/doctor-warning-copy.test.d.ts.map +1 -0
- package/dist/cli/__tests__/doctor-warning-copy.test.js +45 -0
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -0
- package/dist/cli/__tests__/index.test.js +85 -2
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts +2 -0
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +15 -0
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -0
- package/dist/cli/__tests__/ralph.test.js +19 -43
- package/dist/cli/__tests__/ralph.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +2 -0
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +219 -1
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/version.test.d.ts +2 -0
- package/dist/cli/__tests__/version.test.d.ts.map +1 -0
- package/dist/cli/__tests__/version.test.js +21 -0
- package/dist/cli/__tests__/version.test.js.map +1 -0
- package/dist/cli/ask.d.ts +13 -0
- package/dist/cli/ask.d.ts.map +1 -0
- package/dist/cli/ask.js +174 -0
- package/dist/cli/ask.js.map +1 -0
- package/dist/cli/constants.d.ts +10 -0
- package/dist/cli/constants.d.ts.map +1 -0
- package/dist/cli/constants.js +10 -0
- package/dist/cli/constants.js.map +1 -0
- package/dist/cli/doctor.js +16 -5
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +8 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +150 -52
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/ralph.d.ts +3 -11
- package/dist/cli/ralph.d.ts.map +1 -1
- package/dist/cli/ralph.js +64 -45
- package/dist/cli/ralph.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +17 -18
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/team.d.ts.map +1 -1
- package/dist/cli/team.js +257 -0
- package/dist/cli/team.js.map +1 -1
- package/dist/hooks/__tests__/deep-interview-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/deep-interview-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/deep-interview-contract.test.js +55 -0
- package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -0
- package/dist/hooks/__tests__/emulator.test.js +6 -0
- package/dist/hooks/__tests__/emulator.test.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +44 -22
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +23 -7
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js +59 -0
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +264 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +61 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +17 -7
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/openclaw-setup-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/openclaw-setup-contract.test.js +61 -0
- package/dist/hooks/__tests__/openclaw-setup-contract.test.js.map +1 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts +2 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js +34 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -0
- package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts +2 -0
- package/dist/hooks/__tests__/visual-verdict-loop.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/visual-verdict-loop.test.js +35 -0
- package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -0
- package/dist/hooks/agents-overlay.d.ts.map +1 -1
- package/dist/hooks/agents-overlay.js +18 -16
- package/dist/hooks/agents-overlay.js.map +1 -1
- package/dist/hooks/codebase-map.d.ts.map +1 -1
- package/dist/hooks/codebase-map.js +6 -2
- package/dist/hooks/codebase-map.js.map +1 -1
- package/dist/hooks/emulator.d.ts.map +1 -1
- package/dist/hooks/emulator.js +2 -0
- package/dist/hooks/emulator.js.map +1 -1
- package/dist/hooks/extensibility/sdk.d.ts.map +1 -1
- package/dist/hooks/extensibility/sdk.js +2 -1
- package/dist/hooks/extensibility/sdk.js.map +1 -1
- package/dist/hooks/keyword-registry.d.ts.map +1 -1
- package/dist/hooks/keyword-registry.js +6 -0
- package/dist/hooks/keyword-registry.js.map +1 -1
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +2 -24
- package/dist/hud/index.js.map +1 -1
- package/dist/mcp/__tests__/path-traversal.test.js +9 -227
- package/dist/mcp/__tests__/path-traversal.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server-schema.test.js +16 -20
- package/dist/mcp/__tests__/state-server-schema.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server-team-tools.test.js +30 -487
- package/dist/mcp/__tests__/state-server-team-tools.test.js.map +1 -1
- package/dist/mcp/code-intel-server.d.ts.map +1 -1
- package/dist/mcp/code-intel-server.js +18 -8
- package/dist/mcp/code-intel-server.js.map +1 -1
- package/dist/mcp/memory-server.js +72 -11
- package/dist/mcp/memory-server.js.map +1 -1
- package/dist/mcp/state-paths.d.ts.map +1 -1
- package/dist/mcp/state-paths.js +4 -1
- package/dist/mcp/state-paths.js.map +1 -1
- package/dist/mcp/state-server.d.ts +179 -0
- package/dist/mcp/state-server.d.ts.map +1 -1
- package/dist/mcp/state-server.js +221 -1111
- package/dist/mcp/state-server.js.map +1 -1
- package/dist/mcp/team-server.d.ts.map +1 -1
- package/dist/mcp/team-server.js +9 -3
- package/dist/mcp/team-server.js.map +1 -1
- package/dist/mcp/trace-server.d.ts.map +1 -1
- package/dist/mcp/trace-server.js +8 -3
- package/dist/mcp/trace-server.js.map +1 -1
- package/dist/notifications/__tests__/dispatch-cooldown.test.d.ts +5 -0
- package/dist/notifications/__tests__/dispatch-cooldown.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/dispatch-cooldown.test.js +100 -0
- package/dist/notifications/__tests__/dispatch-cooldown.test.js.map +1 -0
- package/dist/notifications/__tests__/temp-mode.test.d.ts +2 -0
- package/dist/notifications/__tests__/temp-mode.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/temp-mode.test.js +172 -0
- package/dist/notifications/__tests__/temp-mode.test.js.map +1 -0
- package/dist/notifications/config.d.ts.map +1 -1
- package/dist/notifications/config.js +67 -7
- package/dist/notifications/config.js.map +1 -1
- package/dist/notifications/dispatch-cooldown.d.ts +36 -0
- package/dist/notifications/dispatch-cooldown.d.ts.map +1 -0
- package/dist/notifications/dispatch-cooldown.js +109 -0
- package/dist/notifications/dispatch-cooldown.js.map +1 -0
- package/dist/notifications/dispatcher.d.ts.map +1 -1
- package/dist/notifications/dispatcher.js +4 -4
- package/dist/notifications/dispatcher.js.map +1 -1
- package/dist/notifications/index.d.ts +5 -0
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +39 -8
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +6 -2
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/notifications/session-registry.d.ts.map +1 -1
- package/dist/notifications/session-registry.js +2 -2
- package/dist/notifications/session-registry.js.map +1 -1
- package/dist/notifications/temp-contract.d.ts +22 -0
- package/dist/notifications/temp-contract.d.ts.map +1 -0
- package/dist/notifications/temp-contract.js +147 -0
- package/dist/notifications/temp-contract.js.map +1 -0
- package/dist/notifications/tmux.js +2 -2
- package/dist/notifications/tmux.js.map +1 -1
- package/dist/notifications/types.d.ts +18 -0
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/openclaw/__tests__/config.test.js +81 -0
- package/dist/openclaw/__tests__/config.test.js.map +1 -1
- package/dist/openclaw/__tests__/dispatcher.test.js +40 -1
- package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
- package/dist/openclaw/config.d.ts +4 -0
- package/dist/openclaw/config.d.ts.map +1 -1
- package/dist/openclaw/config.js +110 -16
- package/dist/openclaw/config.js.map +1 -1
- package/dist/openclaw/dispatcher.d.ts +9 -3
- package/dist/openclaw/dispatcher.d.ts.map +1 -1
- package/dist/openclaw/dispatcher.js +42 -9
- package/dist/openclaw/dispatcher.js.map +1 -1
- package/dist/openclaw/types.d.ts +5 -1
- package/dist/openclaw/types.d.ts.map +1 -1
- package/dist/ralph/__tests__/persistence.test.js +28 -1
- package/dist/ralph/__tests__/persistence.test.js.map +1 -1
- package/dist/ralph/persistence.d.ts +21 -0
- package/dist/ralph/persistence.d.ts.map +1 -1
- package/dist/ralph/persistence.js +85 -2
- package/dist/ralph/persistence.js.map +1 -1
- package/dist/state/paths.d.ts +3 -0
- package/dist/state/paths.d.ts.map +1 -0
- package/dist/state/paths.js +2 -0
- package/dist/state/paths.js.map +1 -0
- package/dist/team/__tests__/api-interop.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.test.js +1052 -0
- package/dist/team/__tests__/api-interop.test.js.map +1 -0
- package/dist/team/__tests__/idle-nudge.test.d.ts +2 -0
- package/dist/team/__tests__/idle-nudge.test.d.ts.map +1 -0
- package/dist/team/__tests__/idle-nudge.test.js +225 -0
- package/dist/team/__tests__/idle-nudge.test.js.map +1 -0
- package/dist/team/__tests__/mcp-comm.test.js +30 -0
- package/dist/team/__tests__/mcp-comm.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +33 -26
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.d.ts +2 -0
- package/dist/team/__tests__/state-root.test.d.ts.map +1 -0
- package/dist/team/__tests__/state-root.test.js +9 -0
- package/dist/team/__tests__/state-root.test.js.map +1 -0
- package/dist/team/__tests__/state.test.js +52 -17
- package/dist/team/__tests__/state.test.js.map +1 -1
- package/dist/team/__tests__/team-ops-contract.test.d.ts +2 -0
- package/dist/team/__tests__/team-ops-contract.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-ops-contract.test.js +90 -0
- package/dist/team/__tests__/team-ops-contract.test.js.map +1 -0
- package/dist/team/__tests__/tmux-claude-workers-demo.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-claude-workers-demo.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-claude-workers-demo.test.js +176 -0
- package/dist/team/__tests__/tmux-claude-workers-demo.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.test.js +8 -0
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +29 -0
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/__tests__/worktree.test.js +54 -1
- package/dist/team/__tests__/worktree.test.js.map +1 -1
- package/dist/team/api-interop.d.ts +19 -0
- package/dist/team/api-interop.d.ts.map +1 -0
- package/dist/team/api-interop.js +578 -0
- package/dist/team/api-interop.js.map +1 -0
- package/dist/team/mcp-comm.d.ts.map +1 -1
- package/dist/team/mcp-comm.js +32 -2
- package/dist/team/mcp-comm.js.map +1 -1
- package/dist/team/orchestrator.d.ts +1 -10
- package/dist/team/orchestrator.d.ts.map +1 -1
- package/dist/team/orchestrator.js +8 -0
- package/dist/team/orchestrator.js.map +1 -1
- package/dist/team/runtime-cli.js +14 -8
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime.d.ts +2 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +103 -30
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +33 -12
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/approvals.d.ts +25 -0
- package/dist/team/state/approvals.d.ts.map +1 -0
- package/dist/team/state/approvals.js +31 -0
- package/dist/team/state/approvals.js.map +1 -0
- package/dist/team/state/config.d.ts +2 -0
- package/dist/team/state/config.d.ts.map +1 -0
- package/dist/team/state/config.js +2 -0
- package/dist/team/state/config.js.map +1 -0
- package/dist/team/state/dispatch-lock.d.ts +3 -0
- package/dist/team/state/dispatch-lock.d.ts.map +1 -0
- package/dist/team/state/dispatch-lock.js +81 -0
- package/dist/team/state/dispatch-lock.js.map +1 -0
- package/dist/team/state/dispatch.d.ts +61 -0
- package/dist/team/state/dispatch.d.ts.map +1 -0
- package/dist/team/state/dispatch.js +158 -0
- package/dist/team/state/dispatch.js.map +1 -0
- package/dist/team/state/events.d.ts +2 -0
- package/dist/team/state/events.d.ts.map +1 -0
- package/dist/team/state/events.js +2 -0
- package/dist/team/state/events.js.map +1 -0
- package/dist/team/state/index.d.ts +11 -0
- package/dist/team/state/index.d.ts.map +1 -0
- package/dist/team/state/index.js +11 -0
- package/dist/team/state/index.js.map +1 -0
- package/dist/team/state/io.d.ts +2 -0
- package/dist/team/state/io.d.ts.map +1 -0
- package/dist/team/state/io.js +2 -0
- package/dist/team/state/io.js.map +1 -0
- package/dist/team/state/locks.d.ts +16 -0
- package/dist/team/state/locks.d.ts.map +1 -0
- package/dist/team/state/locks.js +201 -0
- package/dist/team/state/locks.js.map +1 -0
- package/dist/team/state/mailbox.d.ts +39 -0
- package/dist/team/state/mailbox.d.ts.map +1 -0
- package/dist/team/state/mailbox.js +58 -0
- package/dist/team/state/mailbox.js.map +1 -0
- package/dist/team/state/monitor.d.ts +96 -0
- package/dist/team/state/monitor.d.ts.map +1 -0
- package/dist/team/state/monitor.js +163 -0
- package/dist/team/state/monitor.js.map +1 -0
- package/dist/team/state/shutdown.d.ts +2 -0
- package/dist/team/state/shutdown.d.ts.map +1 -0
- package/dist/team/state/shutdown.js +2 -0
- package/dist/team/state/shutdown.js.map +1 -0
- package/dist/team/state/summary.d.ts +2 -0
- package/dist/team/state/summary.d.ts.map +1 -0
- package/dist/team/state/summary.js +2 -0
- package/dist/team/state/summary.js.map +1 -0
- package/dist/team/state/tasks.d.ts +49 -0
- package/dist/team/state/tasks.d.ts.map +1 -0
- package/dist/team/state/tasks.js +182 -0
- package/dist/team/state/tasks.js.map +1 -0
- package/dist/team/state/types.d.ts +281 -0
- package/dist/team/state/types.d.ts.map +1 -0
- package/dist/team/state/types.js +3 -0
- package/dist/team/state/types.js.map +1 -0
- package/dist/team/state/workers.d.ts +2 -0
- package/dist/team/state/workers.d.ts.map +1 -0
- package/dist/team/state/workers.js +2 -0
- package/dist/team/state/workers.js.map +1 -0
- package/dist/team/state-root.d.ts +5 -0
- package/dist/team/state-root.d.ts.map +1 -0
- package/dist/team/state-root.js +8 -0
- package/dist/team/state-root.js.map +1 -0
- package/dist/team/state.d.ts +4 -1
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +200 -881
- package/dist/team/state.js.map +1 -1
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +11 -10
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +58 -26
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/team/worktree.d.ts.map +1 -1
- package/dist/team/worktree.js +43 -1
- package/dist/team/worktree.js.map +1 -1
- package/dist/utils/safe-json.d.ts +3 -0
- package/dist/utils/safe-json.d.ts.map +1 -0
- package/dist/utils/safe-json.js +19 -0
- package/dist/utils/safe-json.js.map +1 -0
- package/dist/utils/sleep.d.ts +3 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/dist/utils/sleep.js +15 -0
- package/dist/utils/sleep.js.map +1 -0
- package/dist/visual/__tests__/verdict.test.d.ts +2 -0
- package/dist/visual/__tests__/verdict.test.d.ts.map +1 -0
- package/dist/visual/__tests__/verdict.test.js +81 -0
- package/dist/visual/__tests__/verdict.test.js.map +1 -0
- package/dist/visual/constants.d.ts +4 -0
- package/dist/visual/constants.d.ts.map +1 -0
- package/dist/visual/constants.js +3 -0
- package/dist/visual/constants.js.map +1 -0
- package/dist/visual/verdict.d.ts +17 -0
- package/dist/visual/verdict.d.ts.map +1 -0
- package/dist/visual/verdict.js +61 -0
- package/dist/visual/verdict.js.map +1 -0
- package/package.json +10 -3
- package/scripts/ask-claude.sh +17 -0
- package/scripts/ask-gemini.sh +14 -0
- package/scripts/demo-claude-workers.sh +241 -0
- package/scripts/demo-team-e2e.sh +179 -0
- package/scripts/fixtures/ask-advisor-stub.js +12 -0
- package/scripts/notify-hook/team-dispatch.js +234 -12
- package/scripts/notify-hook/team-leader-nudge.js +42 -2
- package/scripts/notify-hook/team-worker.js +63 -4
- package/scripts/notify-hook/visual-verdict.js +50 -1
- package/scripts/notify-hook.js +1 -0
- package/scripts/run-provider-advisor.js +179 -0
- package/skills/ask-claude/SKILL.md +61 -0
- package/skills/ask-gemini/SKILL.md +61 -0
- package/skills/autopilot/SKILL.md +32 -2
- package/skills/configure-notifications/SKILL.md +188 -186
- package/skills/deep-interview/SKILL.md +247 -0
- package/skills/omx-setup/SKILL.md +1 -1
- package/skills/ralph/SKILL.md +42 -11
- package/skills/ralplan/SKILL.md +17 -0
- package/skills/team/SKILL.md +64 -5
- package/skills/visual-verdict/SKILL.md +76 -0
- package/skills/web-clone/SKILL.md +366 -0
- package/skills/worker/SKILL.md +42 -11
- package/templates/AGENTS.md +9 -0
- package/templates/catalog-manifest.json +39 -18
- package/skills/configure-discord/SKILL.md +0 -256
- package/skills/configure-openclaw/SKILL.md +0 -267
- package/skills/configure-slack/SKILL.md +0 -226
- package/skills/configure-telegram/SKILL.md +0 -232
package/README.md
CHANGED
|
@@ -19,17 +19,22 @@ Multi-agent orchestration layer for [OpenAI Codex CLI](https://github.com/openai
|
|
|
19
19
|
- [English](./README.md)
|
|
20
20
|
- [한국어 (Korean)](./README.ko.md)
|
|
21
21
|
- [日本語 (Japanese)](./README.ja.md)
|
|
22
|
-
- [简体中文 (Chinese)](./README.zh.md)
|
|
22
|
+
- [简体中文 (Chinese Simplified)](./README.zh.md)
|
|
23
|
+
- [繁體中文 (Chinese Traditional)](./README.zh-TW.md)
|
|
23
24
|
- [Tiếng Việt (Vietnamese)](./README.vi.md)
|
|
24
25
|
- [Español (Spanish)](./README.es.md)
|
|
25
26
|
- [Português (Portuguese)](./README.pt.md)
|
|
26
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)
|
|
27
32
|
|
|
28
33
|
|
|
29
34
|
OMX turns Codex from a single-session agent into a coordinated system with:
|
|
30
35
|
- Role prompts (`/prompts:name`) for specialized agents
|
|
31
36
|
- Workflow skills (`$name`) for repeatable execution modes
|
|
32
|
-
- Team orchestration
|
|
37
|
+
- Team orchestration (`omx team`, `$team`) with tmux interactive mode (default) or non-tmux prompt mode
|
|
33
38
|
- Persistent state + memory via MCP servers
|
|
34
39
|
|
|
35
40
|
## Why OMX
|
|
@@ -42,10 +47,28 @@ Codex CLI is strong for direct tasks. OMX adds structure for larger work:
|
|
|
42
47
|
|
|
43
48
|
OMX is an add-on, not a fork. It uses Codex-native extension points.
|
|
44
49
|
|
|
50
|
+
## Positioning: CLI-first orchestration, MCP-backed state
|
|
51
|
+
|
|
52
|
+
OMX is best used as an **outer CLI orchestration layer**:
|
|
53
|
+
- **Control plane (CLI/runtime):** `omx team`, tmux workers, lifecycle commands
|
|
54
|
+
- **Capability/state plane (MCP):** task state, mailbox, memory, diagnostics tools
|
|
55
|
+
|
|
56
|
+
Practical mode split:
|
|
57
|
+
- **`$team` / `omx team`**: durable, inspectable, resumable multi-worker execution
|
|
58
|
+
- **`$ultrawork`**: lightweight parallel fanout for independent tasks (component mode)
|
|
59
|
+
|
|
60
|
+
Low-token team profile example:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
OMX_TEAM_WORKER_CLI=codex \
|
|
64
|
+
OMX_TEAM_WORKER_LAUNCH_ARGS='--model gpt-5.3-codex-spark -c model_reasoning_effort="low"' \
|
|
65
|
+
omx team 2:explore "short scoped analysis task"
|
|
66
|
+
```
|
|
67
|
+
|
|
45
68
|
## Requirements
|
|
46
69
|
|
|
47
70
|
- macOS or Linux (Windows via WSL2)
|
|
48
|
-
- Node.js >= 20
|
|
71
|
+
- Node.js >= 20 (CI validates Node 20 and current LTS, currently Node 22)
|
|
49
72
|
- Codex CLI installed (`npm install -g @openai/codex`)
|
|
50
73
|
- Codex auth configured
|
|
51
74
|
|
|
@@ -110,14 +133,35 @@ omx # Launch Codex (+ HUD in tmux when available)
|
|
|
110
133
|
omx setup # Install prompts/skills/config by scope + project AGENTS.md/.omx
|
|
111
134
|
omx doctor # Installation/runtime diagnostics
|
|
112
135
|
omx doctor --team # Team/swarm diagnostics
|
|
113
|
-
omx
|
|
136
|
+
omx ask ... # Ask local provider advisor (claude|gemini), writes .omx/artifacts/*
|
|
137
|
+
omx team ... # Start/status/resume/shutdown team workers (interactive tmux by default)
|
|
138
|
+
omx ralph # Launch Codex with ralph persistence mode active
|
|
114
139
|
omx status # Show active modes
|
|
115
140
|
omx cancel # Cancel active execution modes
|
|
116
141
|
omx reasoning <mode> # low|medium|high|xhigh
|
|
117
142
|
omx tmux-hook ... # init|status|validate|test
|
|
118
143
|
omx hooks ... # init|status|validate|test (plugin extension workflow)
|
|
119
144
|
omx hud ... # --watch|--json|--preset
|
|
120
|
-
omx
|
|
145
|
+
omx version # Show version information
|
|
146
|
+
omx help # Show help message
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Ask command examples:
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
omx ask claude "review this diff"
|
|
153
|
+
omx ask gemini "brainstorm alternatives"
|
|
154
|
+
omx ask claude --agent-prompt executor "implement feature X with tests"
|
|
155
|
+
omx ask gemini --agent-prompt=planner --prompt "draft a rollout plan"
|
|
156
|
+
# underlying provider flags from CLI help:
|
|
157
|
+
# claude -p|--print "<prompt>"
|
|
158
|
+
# gemini -p|--prompt "<prompt>"
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Non-tmux team launch (advanced):
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
OMX_TEAM_WORKER_LAUNCH_MODE=prompt omx team 2:executor "task"
|
|
121
165
|
```
|
|
122
166
|
|
|
123
167
|
## Hooks Extension (Additive Surface)
|
|
@@ -134,13 +178,18 @@ See `docs/hooks-extension.md` for the full extension workflow and event model.
|
|
|
134
178
|
## Launch Flags
|
|
135
179
|
|
|
136
180
|
```bash
|
|
137
|
-
--yolo
|
|
138
|
-
--high
|
|
139
|
-
--xhigh
|
|
140
|
-
--madmax
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
181
|
+
--yolo # Launch Codex in yolo mode
|
|
182
|
+
--high # High reasoning effort (shorthand for -c model_reasoning_effort="high")
|
|
183
|
+
--xhigh # xhigh reasoning effort (shorthand for -c model_reasoning_effort="xhigh")
|
|
184
|
+
--madmax # DANGEROUS: bypass Codex approvals and sandbox
|
|
185
|
+
--spark # Use Codex spark model for team workers only (~1.3x faster)
|
|
186
|
+
--madmax-spark # spark model for workers + bypass approvals for leader and workers
|
|
187
|
+
-w, --worktree[=<name>] # Launch Codex in a git worktree (detached when no name given)
|
|
188
|
+
--force # Force reinstall (overwrite existing files)
|
|
189
|
+
--dry-run # Show what would be done without doing it
|
|
190
|
+
--keep-config # Skip config.toml cleanup during uninstall
|
|
191
|
+
--purge # Remove .omx/ cache directory during uninstall
|
|
192
|
+
--verbose # Show detailed output
|
|
144
193
|
--scope <user|project> # setup only
|
|
145
194
|
```
|
|
146
195
|
|
|
@@ -190,6 +239,8 @@ Operational commands:
|
|
|
190
239
|
|
|
191
240
|
```bash
|
|
192
241
|
omx team <args>
|
|
242
|
+
omx team --help
|
|
243
|
+
omx team api --help
|
|
193
244
|
omx team status <team-name>
|
|
194
245
|
omx team resume <team-name>
|
|
195
246
|
omx team shutdown <team-name>
|
|
@@ -254,6 +305,50 @@ Examples:
|
|
|
254
305
|
- Agents: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
255
306
|
- Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
|
|
256
307
|
|
|
308
|
+
### Notification Setup Skill (`$configure-notifications`)
|
|
309
|
+
|
|
310
|
+
Use `$configure-notifications` as the unified entry point for notification setup:
|
|
311
|
+
|
|
312
|
+
- Discord (webhook/bot)
|
|
313
|
+
- Telegram (bot)
|
|
314
|
+
- Slack (webhook)
|
|
315
|
+
- OpenClaw / custom webhook / custom CLI command
|
|
316
|
+
|
|
317
|
+
Examples:
|
|
318
|
+
|
|
319
|
+
```text
|
|
320
|
+
$configure-notifications "configure discord notifications"
|
|
321
|
+
$configure-notifications "configure slack notifications"
|
|
322
|
+
$configure-notifications "configure openclaw notifications"
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
For OpenClaw with **clawdbot agent turns** (instead of direct message forwarding),
|
|
326
|
+
configure a command gateway using `clawdbot agent --deliver --reply-channel ... --reply-to ...`
|
|
327
|
+
and map hook events (`session-start`, `session-idle`, `ask-user-question`, `session-stop`, `session-end`).
|
|
328
|
+
|
|
329
|
+
For dev teams using `#omc-dev`, the OpenClaw guide includes a dedicated runbook for:
|
|
330
|
+
- Korean-only hook responses
|
|
331
|
+
- `sessionId` + `tmuxSession` tracing
|
|
332
|
+
- `SOUL.md`-based follow-up workflow
|
|
333
|
+
|
|
334
|
+
See: `docs/openclaw-integration.md` (Dev Guide section).
|
|
335
|
+
|
|
336
|
+
Required env gates for OpenClaw command mode:
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
export OMX_OPENCLAW=1
|
|
340
|
+
export OMX_OPENCLAW_COMMAND=1
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
### Visual QA Loop (`$visual-verdict`)
|
|
344
|
+
|
|
345
|
+
Use `$visual-verdict` when a task depends on visual fidelity (reference image(s) + generated screenshot).
|
|
346
|
+
|
|
347
|
+
- Return structured JSON: `score`, `verdict`, `category_match`, `differences[]`, `suggestions[]`, `reasoning`
|
|
348
|
+
- Recommended pass threshold: **90+**
|
|
349
|
+
- For visual tasks, run `$visual-verdict` every iteration before the next edit
|
|
350
|
+
- Use pixel diff / pixelmatch overlays as **secondary debugging aids** (not the primary pass/fail signal)
|
|
351
|
+
|
|
257
352
|
## Project Layout
|
|
258
353
|
|
|
259
354
|
```text
|
|
@@ -281,6 +376,7 @@ oh-my-codex/
|
|
|
281
376
|
git clone https://github.com/Yeachan-Heo/oh-my-codex.git
|
|
282
377
|
cd oh-my-codex
|
|
283
378
|
npm install
|
|
379
|
+
npm run lint
|
|
284
380
|
npm run build
|
|
285
381
|
npm test
|
|
286
382
|
```
|
|
@@ -289,7 +385,7 @@ npm test
|
|
|
289
385
|
|
|
290
386
|
- **[Full Documentation](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** - Complete guide
|
|
291
387
|
- **[CLI Reference](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** - All `omx` commands, flags, and tools
|
|
292
|
-
- **[Notifications Guide](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** - Discord, Telegram, Slack, and webhook setup
|
|
388
|
+
- **[Notifications Guide](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** - Discord, Telegram, Slack, OpenClaw, and custom command/webhook setup
|
|
293
389
|
- **[Recommended Workflows](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** - Battle-tested skill chains for common tasks
|
|
294
390
|
- **[Release Notes](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** - What's new in each version
|
|
295
391
|
|
|
@@ -299,6 +395,7 @@ npm test
|
|
|
299
395
|
- Migration guide (post-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
|
|
300
396
|
- Coverage and parity notes: `COVERAGE.md`
|
|
301
397
|
- Hook extension workflow: `docs/hooks-extension.md`
|
|
398
|
+
- OpenClaw integration examples: `docs/openclaw-integration.md`
|
|
302
399
|
- Setup and contribution details: `CONTRIBUTING.md`
|
|
303
400
|
|
|
304
401
|
## Acknowledgments
|
package/README.pt.md
CHANGED
|
@@ -1,10 +1,60 @@
|
|
|
1
|
-
# oh-my-codex (OMX)
|
|
1
|
+
# oh-my-codex (OMX)
|
|
2
2
|
|
|
3
|
-
>
|
|
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>Seu codex não está sozinho.</em>
|
|
7
|
+
</p>
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
[](https://www.npmjs.com/package/oh-my-codex)
|
|
10
|
+
[](https://opensource.org/licenses/MIT)
|
|
11
|
+
[](https://nodejs.org)
|
|
6
12
|
|
|
7
|
-
|
|
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
|
+
Camada de orquestração 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 transforma o Codex de um agente de sessão única em um sistema coordenado com:
|
|
35
|
+
- Role prompts (`/prompts:name`) para agentes especializados
|
|
36
|
+
- Workflow skills (`$name`) para modos de execução repetíveis
|
|
37
|
+
- Orquestração de equipes no tmux (`omx team`, `$team`)
|
|
38
|
+
- Estado persistente e memória via servidores MCP
|
|
39
|
+
|
|
40
|
+
## Por que OMX
|
|
41
|
+
|
|
42
|
+
Codex CLI é forte para tarefas diretas. OMX adiciona estrutura para trabalhos maiores:
|
|
43
|
+
- Decomposição e execução em etapas (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
|
|
44
|
+
- Estado persistente do ciclo de vida dos modos (`.omx/state/`)
|
|
45
|
+
- Superfícies de memória e bloco de notas para sessões longas
|
|
46
|
+
- Controles operacionais para início, verificação e cancelamento
|
|
47
|
+
|
|
48
|
+
OMX é um complemento, não um fork. Utiliza os pontos de extensão nativos do Codex.
|
|
49
|
+
|
|
50
|
+
## Requisitos
|
|
51
|
+
|
|
52
|
+
- macOS ou Linux (Windows via WSL2)
|
|
53
|
+
- Node.js >= 20
|
|
54
|
+
- Codex CLI instalado (`npm install -g @openai/codex`)
|
|
55
|
+
- Autenticação do Codex configurada
|
|
56
|
+
|
|
57
|
+
## Início 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
|
-
|
|
65
|
+
Perfil de inicialização recomendado para ambientes confiáveis:
|
|
16
66
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
67
|
+
```bash
|
|
68
|
+
omx --xhigh --madmax
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Novidades na v0.5.0
|
|
72
|
+
|
|
73
|
+
- **Configuração com escopo** via `omx setup --scope user|project` para modos de instalação flexíveis.
|
|
74
|
+
- **Roteamento de Spark worker** via `--spark` / `--madmax-spark` — workers da equipe podem usar `gpt-5.3-codex-spark` sem forçar o modelo líder.
|
|
75
|
+
- **Consolidação do catálogo** — removidos prompts obsoletos (`deep-executor`, `scientist`) e 9 skills obsoletas para uma superfície mais enxuta.
|
|
76
|
+
- **Níveis de detalhamento de notificações** para controle granular da saída do CCNotifier.
|
|
77
|
+
|
|
78
|
+
## Primeira sessão
|
|
79
|
+
|
|
80
|
+
Dentro do 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
|
+
Do 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 e conecta estas camadas:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
User
|
|
103
|
+
-> Codex CLI
|
|
104
|
+
-> AGENTS.md (cérebro de orquestração)
|
|
105
|
+
-> ~/.codex/prompts/*.md (catálogo de prompts de agentes)
|
|
106
|
+
-> ~/.agents/skills/*/SKILL.md (catálogo de skills)
|
|
107
|
+
-> ~/.codex/config.toml (funcionalidades, notificações, MCP)
|
|
108
|
+
-> .omx/ (estado de execução, memória, planos, logs)
|
|
109
|
+
```
|
|
21
110
|
|
|
22
111
|
## Comandos principais
|
|
23
112
|
|
|
24
113
|
```bash
|
|
25
|
-
omx
|
|
26
|
-
omx setup
|
|
27
|
-
omx doctor
|
|
114
|
+
omx # Iniciar Codex (+ HUD no tmux quando disponível)
|
|
115
|
+
omx setup # Instalar prompts/skills/config por escopo + projeto AGENTS.md/.omx
|
|
116
|
+
omx doctor # Diagnósticos de instalação/execução
|
|
117
|
+
omx doctor --team # Diagnósticos de Team/swarm
|
|
118
|
+
omx team ... # Iniciar/status/retomar/encerrar workers tmux da equipe
|
|
119
|
+
omx status # Mostrar modos ativos
|
|
120
|
+
omx cancel # Cancelar modos de execução ativos
|
|
121
|
+
omx reasoning <mode> # low|medium|high|xhigh
|
|
122
|
+
omx tmux-hook ... # init|status|validate|test
|
|
123
|
+
omx hooks ... # init|status|validate|test (fluxo de trabalho de extensão de plugins)
|
|
124
|
+
omx hud ... # --watch|--json|--preset
|
|
125
|
+
omx help
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Extensão de Hooks (Superfície adicional)
|
|
129
|
+
|
|
130
|
+
OMX agora inclui `omx hooks` para scaffolding e validação de plugins.
|
|
131
|
+
|
|
132
|
+
- `omx tmux-hook` continua sendo suportado e não foi alterado.
|
|
133
|
+
- `omx hooks` é aditivo e não substitui os fluxos de trabalho do tmux-hook.
|
|
134
|
+
- Arquivos de plugins ficam em `.omx/hooks/*.mjs`.
|
|
135
|
+
- Plugins estão desativados por padrão; ative com `OMX_HOOK_PLUGINS=1`.
|
|
136
|
+
|
|
137
|
+
Consulte `docs/hooks-extension.md` para o fluxo de trabalho completo de extensões e modelo de eventos.
|
|
138
|
+
|
|
139
|
+
## Flags de inicialização
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
--yolo
|
|
143
|
+
--high
|
|
144
|
+
--xhigh
|
|
145
|
+
--madmax
|
|
146
|
+
--force
|
|
147
|
+
--dry-run
|
|
148
|
+
--verbose
|
|
149
|
+
--scope <user|project> # apenas para setup
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
`--madmax` mapeia para Codex `--dangerously-bypass-approvals-and-sandbox`.
|
|
153
|
+
Use apenas em ambientes sandbox confiáveis ou externos.
|
|
154
|
+
|
|
155
|
+
### Política de workingDirectory MCP (endurecimento opcional)
|
|
156
|
+
|
|
157
|
+
Por padrão, as ferramentas MCP de state/memory/trace aceitam o `workingDirectory` fornecido pelo chamador.
|
|
158
|
+
Para restringir isso, defina uma lista de raízes permitidas:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Quando definido, valores de `workingDirectory` fora dessas raízes são rejeitados.
|
|
165
|
+
|
|
166
|
+
## Controle de prompts Codex-First
|
|
167
|
+
|
|
168
|
+
Por padrão, OMX injeta:
|
|
169
|
+
|
|
170
|
+
```text
|
|
171
|
+
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Isso adiciona as instruções do projeto `AGENTS.md` aos comandos de inicialização do Codex.
|
|
175
|
+
Estende o comportamento do Codex, mas não substitui nem contorna as políticas centrais do sistema Codex.
|
|
176
|
+
|
|
177
|
+
Controles:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # desativar injeção de AGENTS.md
|
|
181
|
+
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Modo equipe
|
|
185
|
+
|
|
186
|
+
Use o modo equipe para trabalhos amplos que se beneficiam 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 operacionais:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
28
197
|
omx team <args>
|
|
29
|
-
omx status
|
|
30
|
-
omx
|
|
198
|
+
omx team status <team-name>
|
|
199
|
+
omx team resume <team-name>
|
|
200
|
+
omx team shutdown <team-name>
|
|
31
201
|
```
|
|
32
202
|
|
|
33
|
-
|
|
203
|
+
Regra importante: não encerre enquanto tarefas estiverem em estado `in_progress`, a menos que esteja abortando.
|
|
204
|
+
|
|
205
|
+
### Política de limpeza Ralph
|
|
206
|
+
|
|
207
|
+
Quando uma equipe roda em modo ralph (`omx team ralph ...`), a limpeza no encerramento
|
|
208
|
+
aplica uma política dedicada diferente do caminho normal:
|
|
209
|
+
|
|
210
|
+
| Comportamento | Equipe normal | Equipe Ralph |
|
|
211
|
+
|---|---|---|
|
|
212
|
+
| Encerramento forçado em caso de falha | Lança `shutdown_gate_blocked` | Ignora a porta, registra evento `ralph_cleanup_policy` |
|
|
213
|
+
| Exclusão automática de branches | Exclui branches do worktree no rollback | Preserva branches (`skipBranchDeletion`) |
|
|
214
|
+
| Log de conclusão | Evento padrão `shutdown_gate` | Evento adicional `ralph_cleanup_summary` com detalhamento de tarefas |
|
|
215
|
+
|
|
216
|
+
A política Ralph é detectada automaticamente do estado do modo equipe (`linked_ralph`) ou
|
|
217
|
+
pode ser passada explicitamente via `omx team shutdown <name> --ralph`.
|
|
218
|
+
|
|
219
|
+
Seleção de Worker CLI para workers da equipe:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
OMX_TEAM_WORKER_CLI=auto # padrão; usa claude quando worker --model contém "claude"
|
|
223
|
+
OMX_TEAM_WORKER_CLI=codex # forçar workers Codex CLI
|
|
224
|
+
OMX_TEAM_WORKER_CLI=claude # forçar workers Claude CLI
|
|
225
|
+
OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mix de CLI por worker (comprimento=1 ou quantidade de workers)
|
|
226
|
+
OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # opcional: desativar fallback adaptativo queue->resend
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Notas:
|
|
230
|
+
- Argumentos de inicialização de workers são compartilhados via `OMX_TEAM_WORKER_LAUNCH_ARGS`.
|
|
231
|
+
- `OMX_TEAM_WORKER_CLI_MAP` sobrescreve `OMX_TEAM_WORKER_CLI` para seleção por worker.
|
|
232
|
+
- O envio de triggers usa retentativas adaptativas por padrão (queue/submit, depois fallback seguro clear-line+resend quando necessário).
|
|
233
|
+
- No modo Claude worker, OMX inicia workers como `claude` simples (sem argumentos extras de inicialização) e ignora substituições explícitas de `--model` / `--config` / `--effort` para que o Claude use o `settings.json` padrão.
|
|
234
|
+
|
|
235
|
+
## O que `omx setup` grava
|
|
236
|
+
|
|
237
|
+
- `.omx/setup-scope.json` (escopo de instalação persistido)
|
|
238
|
+
- Instalações dependentes do escopo:
|
|
239
|
+
- `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
|
|
240
|
+
- `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
|
|
241
|
+
- Comportamento de inicialização: se o escopo persistido for `project`, o lançamento do `omx` usa automaticamente `CODEX_HOME=./.codex` (a menos que `CODEX_HOME` já esteja definido).
|
|
242
|
+
- O `AGENTS.md` existente é preservado por padrão. Em execuções TTY interativas, o setup pergunta antes de sobrescrever; `--force` sobrescreve sem perguntar (verificações de segurança de sessões ativas continuam aplicáveis).
|
|
243
|
+
- Atualizações do `config.toml` (para ambos os escopos):
|
|
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` do projeto
|
|
251
|
+
- Diretórios `.omx/` de execução e configuração do HUD
|
|
252
|
+
|
|
253
|
+
## Agentes e skills
|
|
254
|
+
|
|
255
|
+
- Prompts: `prompts/*.md` (instalados em `~/.codex/prompts/` para `user`, `./.codex/prompts/` para `project`)
|
|
256
|
+
- Skills: `skills/*/SKILL.md` (instalados em `~/.agents/skills/` para `user`, `./.agents/skills/` para `project`)
|
|
257
|
+
|
|
258
|
+
Exemplos:
|
|
259
|
+
- Agentes: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
260
|
+
- Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
|
|
261
|
+
|
|
262
|
+
## Estrutura do projeto
|
|
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
|
+
## Desenvolvimento
|
|
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
|
+
## Documentação
|
|
294
|
+
|
|
295
|
+
- **[Documentação completa](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guia completo
|
|
296
|
+
- **[Referência CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Todos os comandos `omx`, flags e ferramentas
|
|
297
|
+
- **[Guia de notificações](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuração de Discord, Telegram, Slack e webhooks
|
|
298
|
+
- **[Fluxos de trabalho recomendados](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Cadeias de skills testadas em batalha para tarefas comuns
|
|
299
|
+
- **[Notas de versão](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Novidades em cada versão
|
|
300
|
+
|
|
301
|
+
## Notas
|
|
302
|
+
|
|
303
|
+
- Log de alterações completo: `CHANGELOG.md`
|
|
304
|
+
- Guia de migração (pós-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
|
|
305
|
+
- Notas de cobertura e paridade: `COVERAGE.md`
|
|
306
|
+
- Fluxo de trabalho de extensão de hooks: `docs/hooks-extension.md`
|
|
307
|
+
- Detalhes de instalação e contribuição: `CONTRIBUTING.md`
|
|
308
|
+
|
|
309
|
+
## Agradecimentos
|
|
310
|
+
|
|
311
|
+
Inspirado em [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adaptado para Codex CLI.
|
|
312
|
+
|
|
313
|
+
## Licença
|
|
34
314
|
|
|
35
|
-
|
|
36
|
-
- Website: https://yeachan-heo.github.io/oh-my-codex-website/
|
|
315
|
+
MIT
|