oh-my-codex 0.11.13 → 0.12.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/Cargo.lock +5 -5
- package/Cargo.toml +1 -1
- package/README.md +34 -17
- package/crates/omx-runtime/src/main.rs +6 -2
- package/dist/agents/native-config.js +1 -1
- package/dist/agents/native-config.js.map +1 -1
- package/dist/cli/__tests__/autoresearch-guided.test.js +74 -2
- package/dist/cli/__tests__/autoresearch-guided.test.js.map +1 -1
- package/dist/cli/__tests__/cleanup.test.js +37 -30
- package/dist/cli/__tests__/cleanup.test.js.map +1 -1
- package/dist/cli/__tests__/error-handling-warnings.test.js +3 -1
- package/dist/cli/__tests__/error-handling-warnings.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +276 -5
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +95 -1
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +49 -9
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +9 -0
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +136 -11
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/uninstall.test.js +10 -0
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js +1 -0
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -1
- package/dist/cli/autoresearch-guided.d.ts.map +1 -1
- package/dist/cli/autoresearch-guided.js +2 -1
- package/dist/cli/autoresearch-guided.js.map +1 -1
- package/dist/cli/autoresearch.d.ts.map +1 -1
- package/dist/cli/autoresearch.js +2 -1
- package/dist/cli/autoresearch.js.map +1 -1
- package/dist/cli/cleanup.d.ts.map +1 -1
- package/dist/cli/cleanup.js +10 -5
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/index.d.ts +21 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +298 -36
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/omx.js +2 -0
- package/dist/cli/omx.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -0
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +41 -7
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/team.d.ts.map +1 -1
- package/dist/cli/team.js +16 -557
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +34 -9
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +79 -2
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +2 -0
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/codex-hooks.d.ts +11 -0
- package/dist/config/codex-hooks.d.ts.map +1 -0
- package/dist/config/codex-hooks.js +50 -0
- package/dist/config/codex-hooks.js.map +1 -0
- package/dist/config/generator.d.ts +5 -3
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +24 -14
- package/dist/config/generator.js.map +1 -1
- package/dist/hooks/__tests__/debugger-log-recency-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/debugger-log-recency-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/debugger-log-recency-contract.test.js +20 -0
- package/dist/hooks/__tests__/debugger-log-recency-contract.test.js.map +1 -0
- package/dist/hooks/__tests__/keyword-detector.test.js +132 -0
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js +292 -4
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +86 -0
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +40 -0
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.d.ts +2 -0
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js +54 -0
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js.map +1 -0
- package/dist/hooks/__tests__/notify-hook-modules.test.js +31 -0
- package/dist/hooks/__tests__/notify-hook-modules.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +51 -0
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.d.ts +2 -0
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js +136 -0
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js.map +1 -0
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +120 -0
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +145 -20
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js +116 -0
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +86 -0
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js +1 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -1
- package/dist/hooks/extensibility/__tests__/runtime.test.js +49 -0
- package/dist/hooks/extensibility/__tests__/runtime.test.js.map +1 -1
- package/dist/hooks/extensibility/runtime.d.ts.map +1 -1
- package/dist/hooks/extensibility/runtime.js +10 -0
- package/dist/hooks/extensibility/runtime.js.map +1 -1
- package/dist/hooks/extensibility/types.d.ts +1 -1
- package/dist/hooks/extensibility/types.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +2 -0
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +76 -4
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
- package/dist/hooks/prompt-guidance-contract.js +12 -8
- package/dist/hooks/prompt-guidance-contract.js.map +1 -1
- package/dist/hooks/session.d.ts +5 -1
- package/dist/hooks/session.d.ts.map +1 -1
- package/dist/hooks/session.js +10 -6
- package/dist/hooks/session.js.map +1 -1
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +6 -1
- package/dist/hud/index.js.map +1 -1
- package/dist/mcp/__tests__/bootstrap.test.js +0 -3
- package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
- package/dist/mcp/__tests__/code-intel-server.test.js +27 -1
- package/dist/mcp/__tests__/code-intel-server.test.js.map +1 -1
- package/dist/mcp/__tests__/server-lifecycle.test.js +0 -5
- package/dist/mcp/__tests__/server-lifecycle.test.js.map +1 -1
- package/dist/mcp/bootstrap.d.ts +1 -1
- package/dist/mcp/bootstrap.d.ts.map +1 -1
- package/dist/mcp/bootstrap.js +0 -1
- package/dist/mcp/bootstrap.js.map +1 -1
- package/dist/mcp/code-intel-server.d.ts +20 -0
- package/dist/mcp/code-intel-server.d.ts.map +1 -1
- package/dist/mcp/code-intel-server.js +6 -5
- package/dist/mcp/code-intel-server.js.map +1 -1
- package/dist/notifications/__tests__/idle-cooldown.test.js +24 -1
- package/dist/notifications/__tests__/idle-cooldown.test.js.map +1 -1
- package/dist/notifications/__tests__/reply-listener.test.js +20 -1
- package/dist/notifications/__tests__/reply-listener.test.js.map +1 -1
- package/dist/notifications/__tests__/tmux.test.js +41 -0
- package/dist/notifications/__tests__/tmux.test.js.map +1 -1
- package/dist/notifications/idle-cooldown.d.ts +13 -0
- package/dist/notifications/idle-cooldown.d.ts.map +1 -1
- package/dist/notifications/idle-cooldown.js +50 -16
- package/dist/notifications/idle-cooldown.js.map +1 -1
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +2 -0
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/notifications/tmux.d.ts.map +1 -1
- package/dist/notifications/tmux.js +4 -0
- package/dist/notifications/tmux.js.map +1 -1
- package/dist/scripts/__tests__/codex-native-hook.test.d.ts +2 -0
- package/dist/scripts/__tests__/codex-native-hook.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/codex-native-hook.test.js +1050 -0
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -0
- package/dist/scripts/codex-native-hook.d.ts +22 -0
- package/dist/scripts/codex-native-hook.d.ts.map +1 -0
- package/dist/scripts/codex-native-hook.js +792 -0
- package/dist/scripts/codex-native-hook.js.map +1 -0
- package/dist/scripts/codex-native-pre-post.d.ts +26 -0
- package/dist/scripts/codex-native-pre-post.d.ts.map +1 -0
- package/dist/scripts/codex-native-pre-post.js +118 -0
- package/dist/scripts/codex-native-pre-post.js.map +1 -0
- package/dist/scripts/notify-fallback-watcher.js +322 -21
- package/dist/scripts/notify-fallback-watcher.js.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.js +5 -6
- package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/log.d.ts +2 -2
- package/dist/scripts/notify-hook/log.d.ts.map +1 -1
- package/dist/scripts/notify-hook/log.js +10 -2
- package/dist/scripts/notify-hook/log.js.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.js +2 -0
- package/dist/scripts/notify-hook/managed-tmux.js.map +1 -1
- package/dist/scripts/notify-hook/orchestration-intent.d.ts +18 -0
- package/dist/scripts/notify-hook/orchestration-intent.d.ts.map +1 -0
- package/dist/scripts/notify-hook/orchestration-intent.js +72 -0
- package/dist/scripts/notify-hook/orchestration-intent.js.map +1 -0
- package/dist/scripts/notify-hook/process-runner.js.map +1 -1
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +1 -1
- package/dist/scripts/notify-hook/ralph-session-resume.js +7 -0
- package/dist/scripts/notify-hook/ralph-session-resume.js.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts +15 -6
- package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.js +125 -6
- package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts +3 -2
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.js +165 -37
- package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts +4 -1
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.js +33 -44
- package/dist/scripts/notify-hook/team-tmux-guard.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-worker.js +68 -5
- package/dist/scripts/notify-hook/team-worker.js.map +1 -1
- package/dist/scripts/notify-hook/utils.d.ts +1 -1
- package/dist/scripts/notify-hook/utils.d.ts.map +1 -1
- package/dist/scripts/notify-hook/utils.js.map +1 -1
- package/dist/scripts/notify-hook.js +55 -32
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/team/__tests__/api-interop.test.js +344 -18
- package/dist/team/__tests__/api-interop.test.js.map +1 -1
- package/dist/team/__tests__/delivery-e2e-smoke.test.d.ts +2 -0
- package/dist/team/__tests__/delivery-e2e-smoke.test.d.ts.map +1 -0
- package/dist/team/__tests__/delivery-e2e-smoke.test.js +671 -0
- package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -0
- package/dist/team/__tests__/mcp-comm.test.js +5 -0
- package/dist/team/__tests__/mcp-comm.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +543 -15
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/state.test.js +133 -8
- package/dist/team/__tests__/state.test.js.map +1 -1
- package/dist/team/__tests__/team-ops-contract.test.js +4 -0
- package/dist/team/__tests__/team-ops-contract.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +160 -0
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +19 -1
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +95 -23
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/contracts.d.ts +11 -1
- package/dist/team/contracts.d.ts.map +1 -1
- package/dist/team/contracts.js +29 -0
- package/dist/team/contracts.js.map +1 -1
- package/dist/team/delivery-log.d.ts +14 -0
- package/dist/team/delivery-log.d.ts.map +1 -0
- package/dist/team/delivery-log.js +35 -0
- package/dist/team/delivery-log.js.map +1 -0
- package/dist/team/idle-nudge.d.ts +2 -2
- package/dist/team/idle-nudge.js +2 -2
- package/dist/team/mcp-comm.d.ts +4 -0
- package/dist/team/mcp-comm.d.ts.map +1 -1
- package/dist/team/mcp-comm.js +84 -1
- package/dist/team/mcp-comm.js.map +1 -1
- package/dist/team/pane-status.d.ts +149 -0
- package/dist/team/pane-status.d.ts.map +1 -0
- package/dist/team/pane-status.js +558 -0
- package/dist/team/pane-status.js.map +1 -0
- package/dist/team/reminder-intents.d.ts +11 -0
- package/dist/team/reminder-intents.d.ts.map +1 -0
- package/dist/team/reminder-intents.js +40 -0
- package/dist/team/reminder-intents.js.map +1 -0
- package/dist/team/runtime-cli.d.ts +1 -1
- package/dist/team/runtime-cli.js +2 -2
- 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 +409 -191
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +6 -5
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/dispatch.d.ts +4 -1
- package/dist/team/state/dispatch.d.ts.map +1 -1
- package/dist/team/state/dispatch.js +59 -18
- package/dist/team/state/dispatch.js.map +1 -1
- package/dist/team/state/mailbox.d.ts.map +1 -1
- package/dist/team/state/mailbox.js +45 -2
- package/dist/team/state/mailbox.js.map +1 -1
- package/dist/team/state/monitor.d.ts +2 -1
- package/dist/team/state/monitor.d.ts.map +1 -1
- package/dist/team/state/monitor.js +30 -1
- package/dist/team/state/monitor.js.map +1 -1
- package/dist/team/state/types.d.ts +5 -2
- package/dist/team/state/types.d.ts.map +1 -1
- package/dist/team/state/types.js.map +1 -1
- package/dist/team/state.d.ts +30 -3
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +170 -2
- package/dist/team/state.js.map +1 -1
- package/dist/team/team-ops.d.ts +5 -1
- package/dist/team/team-ops.d.ts.map +1 -1
- package/dist/team/team-ops.js +4 -0
- package/dist/team/team-ops.js.map +1 -1
- package/dist/team/tmux-session.d.ts +2 -0
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +19 -3
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts +4 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +33 -6
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/utils/__tests__/paths.test.js +63 -1
- package/dist/utils/__tests__/paths.test.js.map +1 -1
- package/dist/utils/__tests__/platform-command.test.js +50 -4
- package/dist/utils/__tests__/platform-command.test.js.map +1 -1
- package/dist/utils/paths.d.ts +12 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +44 -2
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/platform-command.d.ts.map +1 -1
- package/dist/utils/platform-command.js +13 -5
- package/dist/utils/platform-command.js.map +1 -1
- package/dist/utils/sleep.d.ts.map +1 -1
- package/dist/utils/sleep.js +10 -1
- package/dist/utils/sleep.js.map +1 -1
- package/package.json +1 -1
- package/prompts/analyst.md +2 -2
- package/prompts/api-reviewer.md +2 -2
- package/prompts/architect.md +2 -2
- package/prompts/build-fixer.md +2 -2
- package/prompts/code-reviewer.md +2 -2
- package/prompts/code-simplifier.md +1 -1
- package/prompts/critic.md +2 -2
- package/prompts/debugger.md +3 -2
- package/prompts/dependency-expert.md +2 -2
- package/prompts/designer.md +2 -2
- package/prompts/executor.md +3 -2
- package/prompts/explore.md +2 -2
- package/prompts/git-master.md +2 -2
- package/prompts/information-architect.md +15 -102
- package/prompts/performance-reviewer.md +2 -2
- package/prompts/planner.md +3 -2
- package/prompts/product-analyst.md +2 -2
- package/prompts/product-manager.md +2 -2
- package/prompts/qa-tester.md +2 -2
- package/prompts/quality-reviewer.md +2 -2
- package/prompts/quality-strategist.md +2 -2
- package/prompts/researcher.md +2 -2
- package/prompts/security-reviewer.md +2 -2
- package/prompts/sisyphus-lite.md +2 -2
- package/prompts/style-reviewer.md +2 -2
- package/prompts/team-executor.md +2 -2
- package/prompts/test-engineer.md +2 -2
- package/prompts/ux-researcher.md +2 -2
- package/prompts/verifier.md +3 -2
- package/prompts/vision.md +2 -2
- package/prompts/writer.md +2 -2
- package/skills/team/SKILL.md +18 -33
- package/src/scripts/__tests__/codex-native-hook.test.ts +1346 -0
- package/src/scripts/codex-native-hook.ts +983 -0
- package/src/scripts/codex-native-pre-post.ts +161 -0
- package/src/scripts/notify-fallback-watcher.ts +378 -29
- package/src/scripts/notify-hook/auto-nudge.ts +5 -10
- package/src/scripts/notify-hook/log.ts +18 -4
- package/src/scripts/notify-hook/managed-tmux.ts +1 -0
- package/src/scripts/notify-hook/orchestration-intent.ts +82 -0
- package/src/scripts/notify-hook/process-runner.ts +4 -4
- package/src/scripts/notify-hook/ralph-session-resume.ts +9 -0
- package/src/scripts/notify-hook/team-dispatch.ts +134 -6
- package/src/scripts/notify-hook/team-leader-nudge.ts +183 -37
- package/src/scripts/notify-hook/team-tmux-guard.ts +35 -43
- package/src/scripts/notify-hook/team-worker.ts +73 -4
- package/src/scripts/notify-hook/utils.ts +1 -1
- package/src/scripts/notify-hook.ts +64 -32
- package/templates/AGENTS.md +21 -11
- package/README.de.md +0 -263
- package/README.el.md +0 -223
- package/README.es.md +0 -263
- package/README.fr.md +0 -263
- package/README.it.md +0 -263
- package/README.ja.md +0 -264
- package/README.ko.md +0 -264
- package/README.pl.md +0 -216
- package/README.pt.md +0 -263
- package/README.ru.md +0 -263
- package/README.tr.md +0 -263
- package/README.vi.md +0 -223
- package/README.zh-TW.md +0 -293
- package/README.zh.md +0 -264
- package/dist/mcp/__tests__/team-server-cleanup.test.d.ts +0 -2
- package/dist/mcp/__tests__/team-server-cleanup.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/team-server-cleanup.test.js +0 -219
- package/dist/mcp/__tests__/team-server-cleanup.test.js.map +0 -1
- package/dist/mcp/__tests__/team-server-runtime-deps.test.d.ts +0 -2
- package/dist/mcp/__tests__/team-server-runtime-deps.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/team-server-runtime-deps.test.js +0 -13
- package/dist/mcp/__tests__/team-server-runtime-deps.test.js.map +0 -1
- package/dist/mcp/__tests__/team-server-wait.test.d.ts +0 -2
- package/dist/mcp/__tests__/team-server-wait.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/team-server-wait.test.js +0 -155
- package/dist/mcp/__tests__/team-server-wait.test.js.map +0 -1
- package/dist/mcp/team-server.d.ts +0 -24
- package/dist/mcp/team-server.d.ts.map +0 -1
- package/dist/mcp/team-server.js +0 -482
- package/dist/mcp/team-server.js.map +0 -1
package/README.es.md
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
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>Tu codex no está solo.</em>
|
|
7
|
-
</p>
|
|
8
|
-
|
|
9
|
-
[](https://www.npmjs.com/package/oh-my-codex)
|
|
10
|
-
[](https://opensource.org/licenses/MIT)
|
|
11
|
-
[](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)** | **[Guía de integración de OpenClaw](./docs/openclaw-integration.es.md)** | **[GitHub](https://github.com/Yeachan-Heo/oh-my-codex)** | **[npm](https://www.npmjs.com/package/oh-my-codex)**
|
|
14
|
-
|
|
15
|
-
Capa de orquestación multiagente para [OpenAI Codex CLI](https://github.com/openai/codex).
|
|
16
|
-
|
|
17
|
-
## Novedades en v0.9.0 — Spark Initiative
|
|
18
|
-
|
|
19
|
-
Spark Initiative es la versión que refuerza la ruta nativa de exploración e inspección en OMX.
|
|
20
|
-
|
|
21
|
-
- **Harness nativo para `omx explore`** — ejecuta exploración de repositorio en modo solo lectura con una vía Rust más rápida y más estricta.
|
|
22
|
-
- **`omx sparkshell`** — superficie nativa para operadores, con resúmenes de salidas largas y captura explícita de paneles tmux.
|
|
23
|
-
- **Assets nativos multiplataforma** — la ruta de hidratación de `omx-explore-harness`, `omx-sparkshell` y `native-release-manifest.json` ya forma parte del pipeline de release.
|
|
24
|
-
- **CI/CD reforzado** — se añadió configuración explícita de Rust en el job `build`, además de `cargo fmt --check` y `cargo clippy -- -D warnings`.
|
|
25
|
-
|
|
26
|
-
Consulta también las [notas de lanzamiento v0.9.0](./docs/release-notes-0.9.0.md) y el [release body](./docs/release-body-0.9.0.md).
|
|
27
|
-
|
|
28
|
-
## Primera sesión
|
|
29
|
-
|
|
30
|
-
Dentro de Codex:
|
|
31
|
-
|
|
32
|
-
```text
|
|
33
|
-
$deep-interview "clarify the auth change"
|
|
34
|
-
$ralplan "approve the auth plan and review tradeoffs"
|
|
35
|
-
$ralph "carry the approved plan to completion"
|
|
36
|
-
$team 3:executor "execute the approved plan in parallel"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Desde la terminal:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
omx team 4:executor "parallelize a multi-module refactor"
|
|
43
|
-
omx team status <team-name>
|
|
44
|
-
omx team shutdown <team-name>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Flujo recomendado
|
|
48
|
-
|
|
49
|
-
1. `$deep-interview` — cuando el alcance o los límites aún no están claros.
|
|
50
|
-
2. `$ralplan` — para convertir ese alcance aclarado en un plan acordado de arquitectura e implementación.
|
|
51
|
-
3. `$team` o `$ralph` — usa `$team` para ejecución paralela coordinada, o `$ralph` para un bucle persistente de finalización/verificación con un solo responsable.
|
|
52
|
-
|
|
53
|
-
## Modelo central
|
|
54
|
-
|
|
55
|
-
OMX instala y conecta estas capas:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
User
|
|
59
|
-
-> Codex CLI
|
|
60
|
-
-> AGENTS.md (cerebro de orquestación)
|
|
61
|
-
-> ~/.codex/prompts/*.md (catálogo de prompts de agentes)
|
|
62
|
-
-> ~/.codex/skills/*/SKILL.md (catálogo de skills)
|
|
63
|
-
-> ~/.codex/config.toml (características, notificaciones, MCP)
|
|
64
|
-
-> .omx/ (estado en ejecución, memoria, planes, registros)
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Comandos principales
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
omx # Lanzar Codex (+ HUD en tmux cuando está disponible)
|
|
71
|
-
omx setup # Instalar prompts/skills/config por alcance + .omx del proyecto + AGENTS.md específico del alcance
|
|
72
|
-
omx doctor # Diagnósticos de instalación/ejecución
|
|
73
|
-
omx doctor --team # Diagnósticos de Team/swarm
|
|
74
|
-
omx team ... # Iniciar/estado/reanudar/apagar workers tmux del equipo
|
|
75
|
-
omx status # Mostrar modos activos
|
|
76
|
-
omx cancel # Cancelar modos de ejecución activos
|
|
77
|
-
omx reasoning <mode> # low|medium|high|xhigh
|
|
78
|
-
omx tmux-hook ... # init|status|validate|test
|
|
79
|
-
omx hooks ... # init|status|validate|test (flujo de trabajo de extensión de plugins)
|
|
80
|
-
omx hud ... # --watch|--json|--preset
|
|
81
|
-
omx help
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Extensión de Hooks (Superficie adicional)
|
|
85
|
-
|
|
86
|
-
OMX ahora incluye `omx hooks` para scaffolding y validación de plugins.
|
|
87
|
-
|
|
88
|
-
- `omx tmux-hook` sigue siendo compatible y no ha cambiado.
|
|
89
|
-
- `omx hooks` es aditivo y no reemplaza los flujos de trabajo de tmux-hook.
|
|
90
|
-
- Los archivos de plugins se encuentran en `.omx/hooks/*.mjs`.
|
|
91
|
-
- Los plugins están desactivados por defecto; actívalos con `OMX_HOOK_PLUGINS=1`.
|
|
92
|
-
|
|
93
|
-
Consulta `docs/hooks-extension.md` para el flujo de trabajo completo de extensiones y el modelo de eventos.
|
|
94
|
-
|
|
95
|
-
## Flags de inicio
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
--yolo
|
|
99
|
-
--high
|
|
100
|
-
--xhigh
|
|
101
|
-
--madmax
|
|
102
|
-
--force
|
|
103
|
-
--dry-run
|
|
104
|
-
--verbose
|
|
105
|
-
--scope <user|project> # solo para setup
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
`--madmax` se mapea a Codex `--dangerously-bypass-approvals-and-sandbox`.
|
|
109
|
-
Úsalo solo en entornos sandbox de confianza o externos.
|
|
110
|
-
|
|
111
|
-
### Política de workingDirectory MCP (endurecimiento opcional)
|
|
112
|
-
|
|
113
|
-
Por defecto, las herramientas MCP de state/memory/trace aceptan el `workingDirectory` proporcionado por el llamador.
|
|
114
|
-
Para restringir esto, establece una lista de raíces permitidas:
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Cuando se establece, los valores de `workingDirectory` fuera de estas raíces son rechazados.
|
|
121
|
-
|
|
122
|
-
## Control de prompts Codex-First
|
|
123
|
-
|
|
124
|
-
Por defecto, OMX inyecta:
|
|
125
|
-
|
|
126
|
-
```text
|
|
127
|
-
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
Esto combina el `AGENTS.md` de `CODEX_HOME` con el `AGENTS.md` del proyecto (si existe) y luego añade la superposición de runtime.
|
|
131
|
-
Extiende el comportamiento de Codex, pero no reemplaza ni elude las políticas centrales del sistema Codex.
|
|
132
|
-
|
|
133
|
-
Controles:
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # desactivar inyección de AGENTS.md
|
|
137
|
-
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
## Modo equipo
|
|
141
|
-
|
|
142
|
-
Usa el modo equipo para trabajo amplio que se beneficia de workers paralelos.
|
|
143
|
-
|
|
144
|
-
Ciclo de vida:
|
|
145
|
-
|
|
146
|
-
```text
|
|
147
|
-
start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
Comandos operacionales:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
omx team <args>
|
|
154
|
-
omx team status <team-name>
|
|
155
|
-
omx team resume <team-name>
|
|
156
|
-
omx team shutdown <team-name>
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
Regla importante: no apagues mientras las tareas estén en estado `in_progress` a menos que estés abortando.
|
|
160
|
-
|
|
161
|
-
### Team shutdown policy
|
|
162
|
-
|
|
163
|
-
Use `omx team shutdown <team-name>` after the team reaches a terminal state.
|
|
164
|
-
Team cleanup now follows one standalone path; legacy linked-Ralph shutdown handling is no longer a separate public workflow.
|
|
165
|
-
|
|
166
|
-
Selección de Worker CLI para los workers del equipo:
|
|
167
|
-
|
|
168
|
-
```bash
|
|
169
|
-
OMX_TEAM_WORKER_CLI=auto # predeterminado; usa claude cuando worker --model contiene "claude"
|
|
170
|
-
OMX_TEAM_WORKER_CLI=codex # forzar workers Codex CLI
|
|
171
|
-
OMX_TEAM_WORKER_CLI=claude # forzar workers Claude CLI
|
|
172
|
-
OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mezcla de CLI por worker (longitud=1 o cantidad de workers)
|
|
173
|
-
OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # opcional: desactivar fallback adaptativo queue->resend
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Notas:
|
|
177
|
-
- Los argumentos de inicio de workers se comparten a través de `OMX_TEAM_WORKER_LAUNCH_ARGS`.
|
|
178
|
-
- `OMX_TEAM_WORKER_CLI_MAP` anula `OMX_TEAM_WORKER_CLI` para selección por worker.
|
|
179
|
-
- El envío de triggers usa reintentos adaptativos por defecto (queue/submit, luego fallback seguro clear-line+resend cuando es necesario).
|
|
180
|
-
- En modo Claude worker, OMX lanza workers como `claude` simple (sin argumentos de inicio extra) e ignora anulaciones explícitas de `--model` / `--config` / `--effort` para que Claude use el `settings.json` predeterminado.
|
|
181
|
-
|
|
182
|
-
## Qué escribe `omx setup`
|
|
183
|
-
|
|
184
|
-
- `.omx/setup-scope.json` (alcance de instalación persistido)
|
|
185
|
-
- Instalaciones dependientes del alcance:
|
|
186
|
-
- `user`: `~/.codex/prompts/`, `~/.codex/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`, `~/.codex/AGENTS.md`
|
|
187
|
-
- `project`: `./.codex/prompts/`, `./.codex/skills/`, `./.codex/config.toml`, `./.omx/agents/`, `./AGENTS.md`
|
|
188
|
-
- Comportamiento de inicio: si el alcance persistido es `project`, el lanzamiento de `omx` usa automáticamente `CODEX_HOME=./.codex` (a menos que `CODEX_HOME` ya esté establecido).
|
|
189
|
-
- Las instrucciones de inicio combinan `~/.codex/AGENTS.md` (o `CODEX_HOME/AGENTS.md` si se sobrescribe) con `./AGENTS.md` del proyecto y luego añaden la superposición de runtime.
|
|
190
|
-
- Los archivos `AGENTS.md` existentes nunca se sobrescriben silenciosamente: en TTY interactivo se pregunta antes de reemplazar; en modo no interactivo se omite salvo que pases `--force` (las verificaciones de seguridad de sesiones activas siguen aplicándose).
|
|
191
|
-
- Actualizaciones de `config.toml` (para ambos alcances):
|
|
192
|
-
- `notify = ["node", "..."]`
|
|
193
|
-
- `model_reasoning_effort = "high"`
|
|
194
|
-
- `developer_instructions = "..."`
|
|
195
|
-
- `[features] multi_agent = true, child_agents_md = true`
|
|
196
|
-
- Entradas de servidores MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
|
|
197
|
-
- `[tui] status_line`
|
|
198
|
-
- `AGENTS.md` específico del alcance
|
|
199
|
-
- Directorios `.omx/` de ejecución y configuración de HUD
|
|
200
|
-
|
|
201
|
-
## Agentes y skills
|
|
202
|
-
|
|
203
|
-
- Prompts: `prompts/*.md` (instalados en `~/.codex/prompts/` para `user`, `./.codex/prompts/` para `project`)
|
|
204
|
-
- Skills: `skills/*/SKILL.md` (instalados en `~/.codex/skills/` para `user`, `./.codex/skills/` para `project`)
|
|
205
|
-
|
|
206
|
-
Ejemplos:
|
|
207
|
-
- Agentes: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
208
|
-
- Skills: `deep-interview`, `ralplan`, `team`, `ralph`, `plan`, `cancel`
|
|
209
|
-
|
|
210
|
-
## Estructura del proyecto
|
|
211
|
-
|
|
212
|
-
```text
|
|
213
|
-
oh-my-codex/
|
|
214
|
-
bin/omx.js
|
|
215
|
-
src/
|
|
216
|
-
cli/
|
|
217
|
-
team/
|
|
218
|
-
mcp/
|
|
219
|
-
hooks/
|
|
220
|
-
hud/
|
|
221
|
-
config/
|
|
222
|
-
modes/
|
|
223
|
-
notifications/
|
|
224
|
-
verification/
|
|
225
|
-
prompts/
|
|
226
|
-
skills/
|
|
227
|
-
templates/
|
|
228
|
-
scripts/
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
## Desarrollo
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
git clone https://github.com/Yeachan-Heo/oh-my-codex.git
|
|
235
|
-
cd oh-my-codex
|
|
236
|
-
npm install
|
|
237
|
-
npm run build
|
|
238
|
-
npm test
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
## Documentación
|
|
242
|
-
|
|
243
|
-
- **[Documentación completa](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guía completa
|
|
244
|
-
- **[Referencia CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Todos los comandos `omx`, flags y herramientas
|
|
245
|
-
- **[Guía de notificaciones](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuración de Discord, Telegram, Slack y webhooks
|
|
246
|
-
- **[Flujos de trabajo recomendados](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Cadenas de skills probadas en batalla para tareas comunes
|
|
247
|
-
- **[Notas de versión](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Novedades en cada versión
|
|
248
|
-
|
|
249
|
-
## Notas
|
|
250
|
-
|
|
251
|
-
- Registro de cambios completo: `CHANGELOG.md`
|
|
252
|
-
- Guía de migración (post-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
|
|
253
|
-
- Notas de cobertura y paridad: `COVERAGE.md`
|
|
254
|
-
- Flujo de trabajo de extensión de hooks: `docs/hooks-extension.md`
|
|
255
|
-
- Detalles de instalación y contribución: `CONTRIBUTING.md`
|
|
256
|
-
|
|
257
|
-
## Agradecimientos
|
|
258
|
-
|
|
259
|
-
Inspirado en [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adaptado para Codex CLI.
|
|
260
|
-
|
|
261
|
-
## Licencia
|
|
262
|
-
|
|
263
|
-
MIT
|
package/README.fr.md
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
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
|
-
[](https://www.npmjs.com/package/oh-my-codex)
|
|
10
|
-
[](https://opensource.org/licenses/MIT)
|
|
11
|
-
[](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)** | **[Guide d’intégration OpenClaw](./docs/openclaw-integration.fr.md)** | **[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
|
-
## Nouveautés de la v0.9.0 — Spark Initiative
|
|
18
|
-
|
|
19
|
-
Spark Initiative est la version qui renforce la voie native d’exploration et d’inspection dans OMX.
|
|
20
|
-
|
|
21
|
-
- **Harness natif pour `omx explore`** — exécute l’exploration read-only du dépôt via une voie Rust plus rapide et plus stricte.
|
|
22
|
-
- **`omx sparkshell`** — surface native orientée opérateur, avec résumés de sorties longues et capture explicite de panneaux tmux.
|
|
23
|
-
- **Artifacts natifs multiplateformes** — le chemin d’hydratation de `omx-explore-harness`, `omx-sparkshell` et `native-release-manifest.json` fait désormais partie du pipeline de release.
|
|
24
|
-
- **CI/CD renforcé** — ajoute une configuration explicite de la toolchain Rust dans le job `build`, ainsi que `cargo fmt --check` et `cargo clippy -- -D warnings`.
|
|
25
|
-
|
|
26
|
-
Voir aussi les [notes de version v0.9.0](./docs/release-notes-0.9.0.md) et le [corps de release](./docs/release-body-0.9.0.md).
|
|
27
|
-
|
|
28
|
-
## Première session
|
|
29
|
-
|
|
30
|
-
Dans Codex :
|
|
31
|
-
|
|
32
|
-
```text
|
|
33
|
-
$deep-interview "clarify the auth change"
|
|
34
|
-
$ralplan "approve the auth plan and review tradeoffs"
|
|
35
|
-
$ralph "carry the approved plan to completion"
|
|
36
|
-
$team 3:executor "execute the approved plan in parallel"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Depuis le terminal :
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
omx team 4:executor "parallelize a multi-module refactor"
|
|
43
|
-
omx team status <team-name>
|
|
44
|
-
omx team shutdown <team-name>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Flux recommandé
|
|
48
|
-
|
|
49
|
-
1. `$deep-interview` — quand le périmètre ou les limites restent flous.
|
|
50
|
-
2. `$ralplan` — pour transformer ce périmètre clarifié en plan validé d’architecture et d’implémentation.
|
|
51
|
-
3. `$team` ou `$ralph` — utilisez `$team` pour une exécution parallèle coordonnée, ou `$ralph` pour une boucle persistante de finalisation/vérification avec un seul responsable.
|
|
52
|
-
|
|
53
|
-
## Modèle de base
|
|
54
|
-
|
|
55
|
-
OMX installe et connecte ces couches :
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
User
|
|
59
|
-
-> Codex CLI
|
|
60
|
-
-> AGENTS.md (cerveau d'orchestration)
|
|
61
|
-
-> ~/.codex/prompts/*.md (catalogue de prompts d'agents)
|
|
62
|
-
-> ~/.codex/skills/*/SKILL.md (catalogue de skills)
|
|
63
|
-
-> ~/.codex/config.toml (fonctionnalités, notifications, MCP)
|
|
64
|
-
-> .omx/ (état d'exécution, mémoire, plans, journaux)
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Commandes principales
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
omx # Lancer Codex (+ HUD dans tmux si disponible)
|
|
71
|
-
omx setup # Installer prompts/skills/config par scope + .omx du projet + AGENTS.md propre au scope
|
|
72
|
-
omx doctor # Diagnostics d'installation/exécution
|
|
73
|
-
omx doctor --team # Diagnostics Team/Swarm
|
|
74
|
-
omx team ... # Démarrer/statut/reprendre/arrêter les workers d'équipe tmux
|
|
75
|
-
omx status # Afficher les modes actifs
|
|
76
|
-
omx cancel # Annuler les modes d'exécution actifs
|
|
77
|
-
omx reasoning <mode> # low|medium|high|xhigh
|
|
78
|
-
omx tmux-hook ... # init|status|validate|test
|
|
79
|
-
omx hooks ... # init|status|validate|test (workflow d'extension de plugins)
|
|
80
|
-
omx hud ... # --watch|--json|--preset
|
|
81
|
-
omx help
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Extension Hooks (Surface additive)
|
|
85
|
-
|
|
86
|
-
OMX inclut désormais `omx hooks` pour l'échafaudage et la validation de plugins.
|
|
87
|
-
|
|
88
|
-
- `omx tmux-hook` reste supporté et inchangé.
|
|
89
|
-
- `omx hooks` est additif et ne remplace pas les workflows tmux-hook.
|
|
90
|
-
- Les fichiers de plugins se trouvent dans `.omx/hooks/*.mjs`.
|
|
91
|
-
- Les plugins sont désactivés par défaut ; activez-les avec `OMX_HOOK_PLUGINS=1`.
|
|
92
|
-
|
|
93
|
-
Consultez `docs/hooks-extension.md` pour le workflow d'extension complet et le modèle d'événements.
|
|
94
|
-
|
|
95
|
-
## Flags de lancement
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
--yolo
|
|
99
|
-
--high
|
|
100
|
-
--xhigh
|
|
101
|
-
--madmax
|
|
102
|
-
--force
|
|
103
|
-
--dry-run
|
|
104
|
-
--verbose
|
|
105
|
-
--scope <user|project> # uniquement pour setup
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
`--madmax` correspond à Codex `--dangerously-bypass-approvals-and-sandbox`.
|
|
109
|
-
À utiliser uniquement dans des environnements sandbox de confiance/externes.
|
|
110
|
-
|
|
111
|
-
### Politique MCP workingDirectory (durcissement optionnel)
|
|
112
|
-
|
|
113
|
-
Par défaut, les outils MCP état/mémoire/trace acceptent le `workingDirectory` fourni par l'appelant.
|
|
114
|
-
Pour restreindre cela, définissez une liste d'autorisation de racines :
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Lorsque défini, les valeurs `workingDirectory` en dehors de ces racines sont rejetées.
|
|
121
|
-
|
|
122
|
-
## Contrôle Codex-First des prompts
|
|
123
|
-
|
|
124
|
-
Par défaut, OMX injecte :
|
|
125
|
-
|
|
126
|
-
```text
|
|
127
|
-
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
Cela fusionne le `AGENTS.md` de `CODEX_HOME` avec le `AGENTS.md` du projet (s'il existe), puis ajoute l'overlay d'exécution.
|
|
131
|
-
Cela étend le comportement de Codex, mais ne remplace/contourne pas les politiques système de base de Codex.
|
|
132
|
-
|
|
133
|
-
Contrôles :
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # désactiver l'injection AGENTS.md
|
|
137
|
-
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
## Mode équipe
|
|
141
|
-
|
|
142
|
-
Utilisez le mode équipe pour les travaux importants qui bénéficient de workers parallèles.
|
|
143
|
-
|
|
144
|
-
Cycle de vie :
|
|
145
|
-
|
|
146
|
-
```text
|
|
147
|
-
start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
Commandes opérationnelles :
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
omx team <args>
|
|
154
|
-
omx team status <team-name>
|
|
155
|
-
omx team resume <team-name>
|
|
156
|
-
omx team shutdown <team-name>
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
Règle importante : n'arrêtez pas tant que des tâches sont encore `in_progress`, sauf en cas d'abandon.
|
|
160
|
-
|
|
161
|
-
### Team shutdown policy
|
|
162
|
-
|
|
163
|
-
Use `omx team shutdown <team-name>` after the team reaches a terminal state.
|
|
164
|
-
Team cleanup now follows one standalone path; legacy linked-Ralph shutdown handling is no longer a separate public workflow.
|
|
165
|
-
|
|
166
|
-
Sélection du CLI worker pour les workers d'équipe :
|
|
167
|
-
|
|
168
|
-
```bash
|
|
169
|
-
OMX_TEAM_WORKER_CLI=auto # par défaut ; utilise claude quand worker --model contient "claude"
|
|
170
|
-
OMX_TEAM_WORKER_CLI=codex # forcer les workers Codex CLI
|
|
171
|
-
OMX_TEAM_WORKER_CLI=claude # forcer les workers Claude CLI
|
|
172
|
-
OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mix CLI par worker (longueur=1 ou nombre de workers)
|
|
173
|
-
OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # optionnel : désactiver le fallback adaptatif queue->resend
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Notes :
|
|
177
|
-
- Les arguments de lancement des workers sont toujours partagés via `OMX_TEAM_WORKER_LAUNCH_ARGS`.
|
|
178
|
-
- `OMX_TEAM_WORKER_CLI_MAP` remplace `OMX_TEAM_WORKER_CLI` pour la sélection par worker.
|
|
179
|
-
- La soumission de déclencheurs utilise par défaut des tentatives adaptatives (queue/submit, puis fallback sécurisé clear-line+resend si nécessaire).
|
|
180
|
-
- 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.
|
|
181
|
-
|
|
182
|
-
## Ce que `omx setup` écrit
|
|
183
|
-
|
|
184
|
-
- `.omx/setup-scope.json` (scope de setup persisté)
|
|
185
|
-
- Installations dépendantes du scope :
|
|
186
|
-
- `user` : `~/.codex/prompts/`, `~/.codex/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`, `~/.codex/AGENTS.md`
|
|
187
|
-
- `project` : `./.codex/prompts/`, `./.codex/skills/`, `./.codex/config.toml`, `./.omx/agents/`, `./AGENTS.md`
|
|
188
|
-
- 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).
|
|
189
|
-
- Les instructions de lancement fusionnent `~/.codex/AGENTS.md` (ou `CODEX_HOME/AGENTS.md` s'il est redéfini) avec `./AGENTS.md` du projet, puis ajoutent l'overlay d'exécution.
|
|
190
|
-
- Les fichiers `AGENTS.md` existants ne sont jamais écrasés silencieusement : en TTY interactif, setup demande avant de remplacer ; en non-interactif, le remplacement est ignoré sauf avec `--force` (les vérifications de sécurité de session active s'appliquent toujours).
|
|
191
|
-
- Mises à jour de `config.toml` (pour les deux scopes) :
|
|
192
|
-
- `notify = ["node", "..."]`
|
|
193
|
-
- `model_reasoning_effort = "high"`
|
|
194
|
-
- `developer_instructions = "..."`
|
|
195
|
-
- `[features] multi_agent = true, child_agents_md = true`
|
|
196
|
-
- Entrées de serveurs MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
|
|
197
|
-
- `[tui] status_line`
|
|
198
|
-
- `AGENTS.md` spécifique au scope
|
|
199
|
-
- Répertoires d'exécution `.omx/` et configuration HUD
|
|
200
|
-
|
|
201
|
-
## Agents et Skills
|
|
202
|
-
|
|
203
|
-
- Prompts : `prompts/*.md` (installés dans `~/.codex/prompts/` pour `user`, `./.codex/prompts/` pour `project`)
|
|
204
|
-
- Skills : `skills/*/SKILL.md` (installés dans `~/.codex/skills/` pour `user`, `./.codex/skills/` pour `project`)
|
|
205
|
-
|
|
206
|
-
Exemples :
|
|
207
|
-
- Agents : `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
208
|
-
- Skills : `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
|
|
209
|
-
|
|
210
|
-
## Structure du projet
|
|
211
|
-
|
|
212
|
-
```text
|
|
213
|
-
oh-my-codex/
|
|
214
|
-
bin/omx.js
|
|
215
|
-
src/
|
|
216
|
-
cli/
|
|
217
|
-
team/
|
|
218
|
-
mcp/
|
|
219
|
-
hooks/
|
|
220
|
-
hud/
|
|
221
|
-
config/
|
|
222
|
-
modes/
|
|
223
|
-
notifications/
|
|
224
|
-
verification/
|
|
225
|
-
prompts/
|
|
226
|
-
skills/
|
|
227
|
-
templates/
|
|
228
|
-
scripts/
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
## Développement
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
git clone https://github.com/Yeachan-Heo/oh-my-codex.git
|
|
235
|
-
cd oh-my-codex
|
|
236
|
-
npm install
|
|
237
|
-
npm run build
|
|
238
|
-
npm test
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
## Documentation
|
|
242
|
-
|
|
243
|
-
- **[Documentation complète](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guide complet
|
|
244
|
-
- **[Référence CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Toutes les commandes `omx`, flags et outils
|
|
245
|
-
- **[Guide des notifications](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuration Discord, Telegram, Slack et webhooks
|
|
246
|
-
- **[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
|
|
247
|
-
- **[Notes de version](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Nouveautés de chaque version
|
|
248
|
-
|
|
249
|
-
## Notes
|
|
250
|
-
|
|
251
|
-
- Journal des modifications complet : `CHANGELOG.md`
|
|
252
|
-
- Guide de migration (post-v0.4.4 mainline) : `docs/migration-mainline-post-v0.4.4.md`
|
|
253
|
-
- Notes de couverture et parité : `COVERAGE.md`
|
|
254
|
-
- Workflow d'extension hooks : `docs/hooks-extension.md`
|
|
255
|
-
- Détails de configuration et contribution : `CONTRIBUTING.md`
|
|
256
|
-
|
|
257
|
-
## Remerciements
|
|
258
|
-
|
|
259
|
-
Inspiré par [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adapté pour Codex CLI.
|
|
260
|
-
|
|
261
|
-
## Licence
|
|
262
|
-
|
|
263
|
-
MIT
|