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.
- package/Cargo.lock +5 -5
- package/Cargo.toml +1 -1
- package/README.de.md +12 -6
- package/README.el.md +223 -0
- package/README.es.md +12 -6
- package/README.fr.md +11 -5
- package/README.it.md +12 -6
- package/README.ja.md +12 -6
- package/README.ko.md +12 -6
- package/README.md +56 -28
- package/README.pl.md +216 -0
- package/README.pt.md +12 -6
- package/README.ru.md +12 -6
- package/README.tr.md +12 -6
- package/README.vi.md +148 -183
- package/README.zh-TW.md +14 -17
- package/README.zh.md +12 -6
- package/crates/omx-runtime-core/src/engine.rs +122 -4
- package/crates/omx-runtime-core/src/lib.rs +17 -0
- package/dist/autoresearch/contracts.d.ts.map +1 -1
- package/dist/autoresearch/contracts.js +1 -0
- package/dist/autoresearch/contracts.js.map +1 -1
- package/dist/autoresearch/runtime.d.ts.map +1 -1
- package/dist/autoresearch/runtime.js +7 -1
- package/dist/autoresearch/runtime.js.map +1 -1
- package/dist/cli/__tests__/agents.test.js +24 -1
- package/dist/cli/__tests__/agents.test.js.map +1 -1
- package/dist/cli/__tests__/autoresearch.test.js +11 -0
- package/dist/cli/__tests__/autoresearch.test.js.map +1 -1
- package/dist/cli/__tests__/cleanup.test.js +117 -4
- package/dist/cli/__tests__/cleanup.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-warning-copy.test.js +33 -3
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/error-handling-warnings.test.js +13 -0
- package/dist/cli/__tests__/error-handling-warnings.test.js.map +1 -1
- package/dist/cli/__tests__/exec.test.js +6 -0
- package/dist/cli/__tests__/exec.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +101 -1
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +3 -0
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/package-bin-contract.test.js +10 -0
- package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
- package/dist/cli/__tests__/packaged-script-resolution.test.js +4 -3
- package/dist/cli/__tests__/packaged-script-resolution.test.js.map +1 -1
- package/dist/cli/__tests__/resume.test.js +6 -0
- package/dist/cli/__tests__/resume.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +29 -12
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +1 -1
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/star-prompt.test.js +16 -0
- package/dist/cli/__tests__/star-prompt.test.js.map +1 -1
- package/dist/cli/__tests__/uninstall.test.js +112 -1
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/__tests__/windows-popup-loop-contract.test.d.ts +2 -0
- package/dist/cli/__tests__/windows-popup-loop-contract.test.d.ts.map +1 -0
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js +30 -0
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -0
- package/dist/cli/agents.d.ts.map +1 -1
- package/dist/cli/agents.js +9 -3
- package/dist/cli/agents.js.map +1 -1
- package/dist/cli/autoresearch-guided.d.ts.map +1 -1
- package/dist/cli/autoresearch-guided.js +9 -3
- package/dist/cli/autoresearch-guided.js.map +1 -1
- package/dist/cli/autoresearch.d.ts.map +1 -1
- package/dist/cli/autoresearch.js +8 -2
- package/dist/cli/autoresearch.js.map +1 -1
- package/dist/cli/cleanup.d.ts +2 -0
- package/dist/cli/cleanup.d.ts.map +1 -1
- package/dist/cli/cleanup.js +27 -1
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/doctor.js +7 -0
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +9 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +171 -55
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +18 -15
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/star-prompt.d.ts.map +1 -1
- package/dist/cli/star-prompt.js +2 -0
- package/dist/cli/star-prompt.js.map +1 -1
- package/dist/cli/team.d.ts.map +1 -1
- package/dist/cli/team.js +5 -1
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/tmux-hook.d.ts.map +1 -1
- package/dist/cli/tmux-hook.js +4 -1
- package/dist/cli/tmux-hook.js.map +1 -1
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +26 -0
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/cli/update.d.ts.map +1 -1
- package/dist/cli/update.js +1 -0
- package/dist/cli/update.js.map +1 -1
- package/dist/compat/__tests__/rust-runtime-compat.test.js +84 -1
- package/dist/compat/__tests__/rust-runtime-compat.test.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +4 -4
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/mcp-registry.test.js +13 -16
- package/dist/config/__tests__/mcp-registry.test.js.map +1 -1
- package/dist/config/mcp-registry.d.ts +1 -0
- package/dist/config/mcp-registry.d.ts.map +1 -1
- package/dist/config/mcp-registry.js +4 -4
- package/dist/config/mcp-registry.js.map +1 -1
- package/dist/config/models.d.ts +1 -0
- package/dist/config/models.d.ts.map +1 -1
- package/dist/config/models.js +39 -1
- package/dist/config/models.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +12 -1
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js +554 -18
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +347 -16
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-modules.test.js +5 -0
- package/dist/hooks/__tests__/notify-hook-modules.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.d.ts +2 -0
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +597 -0
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -0
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js +19 -1
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js +73 -53
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +193 -2
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +183 -0
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js +255 -97
- package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-tmux-scrollback.test.js +0 -0
- package/dist/hooks/__tests__/notify-hook-tmux-scrollback.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +46 -0
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-team-routing.test.js +34 -0
- package/dist/hooks/__tests__/prompt-team-routing.test.js.map +1 -1
- package/dist/hooks/__tests__/tmux-hook-engine.test.js +32 -1
- package/dist/hooks/__tests__/tmux-hook-engine.test.js.map +1 -1
- package/dist/hooks/code-simplifier/index.d.ts.map +1 -1
- package/dist/hooks/code-simplifier/index.js +1 -0
- package/dist/hooks/code-simplifier/index.js.map +1 -1
- package/dist/hooks/codebase-map.d.ts.map +1 -1
- package/dist/hooks/codebase-map.js +1 -0
- package/dist/hooks/codebase-map.js.map +1 -1
- package/dist/hooks/extensibility/sdk/tmux.d.ts.map +1 -1
- package/dist/hooks/extensibility/sdk/tmux.js +3 -1
- package/dist/hooks/extensibility/sdk/tmux.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +1 -0
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +48 -0
- 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 +6 -0
- package/dist/hooks/prompt-guidance-contract.js.map +1 -1
- package/dist/hooks/session.d.ts.map +1 -1
- package/dist/hooks/session.js +1 -0
- package/dist/hooks/session.js.map +1 -1
- package/dist/hud/__tests__/state.test.js +70 -1
- package/dist/hud/__tests__/state.test.js.map +1 -1
- package/dist/hud/authority.d.ts.map +1 -1
- package/dist/hud/authority.js +1 -0
- package/dist/hud/authority.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +52 -0
- package/dist/hud/state.js.map +1 -1
- package/dist/mcp/state-server.d.ts.map +1 -1
- package/dist/mcp/state-server.js +5 -0
- package/dist/mcp/state-server.js.map +1 -1
- package/dist/modes/__tests__/base-session-scope.test.js +46 -0
- package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
- package/dist/modes/base.d.ts.map +1 -1
- package/dist/modes/base.js +4 -0
- package/dist/modes/base.js.map +1 -1
- package/dist/notifications/__tests__/custom-alias-enablement.test.d.ts +2 -0
- package/dist/notifications/__tests__/custom-alias-enablement.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/custom-alias-enablement.test.js +84 -0
- package/dist/notifications/__tests__/custom-alias-enablement.test.js.map +1 -0
- package/dist/notifications/__tests__/idle-cooldown.test.js +55 -0
- package/dist/notifications/__tests__/idle-cooldown.test.js.map +1 -1
- package/dist/notifications/idle-cooldown.d.ts +8 -6
- package/dist/notifications/idle-cooldown.d.ts.map +1 -1
- package/dist/notifications/idle-cooldown.js +53 -22
- package/dist/notifications/idle-cooldown.js.map +1 -1
- package/dist/notifications/notifier.js +1 -1
- package/dist/notifications/notifier.js.map +1 -1
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +1 -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/openclaw/config.js +2 -2
- package/dist/openclaw/config.js.map +1 -1
- package/dist/runtime/bridge.d.ts +2 -0
- package/dist/runtime/bridge.d.ts.map +1 -1
- package/dist/runtime/bridge.js +8 -0
- package/dist/runtime/bridge.js.map +1 -1
- package/dist/scripts/notify-fallback-watcher.js +103 -53
- package/dist/scripts/notify-fallback-watcher.js.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.d.ts +2 -1
- package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.js +90 -104
- package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.d.ts +19 -0
- package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -0
- package/dist/scripts/notify-hook/managed-tmux.js +320 -0
- package/dist/scripts/notify-hook/managed-tmux.js.map +1 -0
- package/dist/scripts/notify-hook/operational-events.d.ts.map +1 -1
- package/dist/scripts/notify-hook/operational-events.js +2 -0
- package/dist/scripts/notify-hook/operational-events.js.map +1 -1
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts +22 -0
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +1 -0
- package/dist/scripts/notify-hook/ralph-session-resume.js +277 -0
- package/dist/scripts/notify-hook/ralph-session-resume.js.map +1 -0
- package/dist/scripts/notify-hook/state-io.d.ts +1 -1
- package/dist/scripts/notify-hook/state-io.d.ts.map +1 -1
- package/dist/scripts/notify-hook/state-io.js +2 -10
- package/dist/scripts/notify-hook/state-io.js.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.js +123 -72
- package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts +2 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.js +13 -5
- package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.js +1 -19
- package/dist/scripts/notify-hook/team-tmux-guard.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker.js +4 -4
- package/dist/scripts/notify-hook/team-worker.js.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.d.ts +1 -1
- package/dist/scripts/notify-hook/tmux-injection.d.ts.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.js +102 -35
- package/dist/scripts/notify-hook/tmux-injection.js.map +1 -1
- package/dist/scripts/notify-hook.js +144 -20
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/scripts/run-provider-advisor.js +2 -0
- package/dist/scripts/run-provider-advisor.js.map +1 -1
- package/dist/scripts/run-test-files.d.ts +2 -0
- package/dist/scripts/run-test-files.d.ts.map +1 -0
- package/dist/scripts/run-test-files.js +41 -0
- package/dist/scripts/run-test-files.js.map +1 -0
- package/dist/scripts/tmux-hook-engine.d.ts +2 -0
- package/dist/scripts/tmux-hook-engine.d.ts.map +1 -1
- package/dist/scripts/tmux-hook-engine.js +15 -0
- package/dist/scripts/tmux-hook-engine.js.map +1 -1
- package/dist/team/__tests__/api-interop.test.js +136 -4
- package/dist/team/__tests__/api-interop.test.js.map +1 -1
- package/dist/team/__tests__/leader-activity.test.js +107 -2
- package/dist/team/__tests__/leader-activity.test.js.map +1 -1
- package/dist/team/__tests__/runtime-cli.test.js +32 -0
- package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +148 -0
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/shutdown-fallback.test.js +13 -0
- package/dist/team/__tests__/shutdown-fallback.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js +11 -1
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/state.test.js +237 -0
- package/dist/team/__tests__/state.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +521 -2
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +41 -31
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/commit-hygiene.d.ts +60 -0
- package/dist/team/commit-hygiene.d.ts.map +1 -0
- package/dist/team/commit-hygiene.js +232 -0
- package/dist/team/commit-hygiene.js.map +1 -0
- package/dist/team/leader-activity.d.ts.map +1 -1
- package/dist/team/leader-activity.js +56 -4
- package/dist/team/leader-activity.js.map +1 -1
- package/dist/team/runtime-cli.d.ts +9 -1
- package/dist/team/runtime-cli.d.ts.map +1 -1
- package/dist/team/runtime-cli.js +15 -6
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime.d.ts +7 -2
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +392 -171
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +6 -2
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/dispatch.d.ts +2 -0
- package/dist/team/state/dispatch.d.ts.map +1 -1
- package/dist/team/state/dispatch.js +86 -40
- package/dist/team/state/dispatch.js.map +1 -1
- package/dist/team/state/mailbox.d.ts +3 -0
- package/dist/team/state/mailbox.d.ts.map +1 -1
- package/dist/team/state/mailbox.js +93 -19
- package/dist/team/state/mailbox.js.map +1 -1
- package/dist/team/state-root.d.ts +1 -1
- package/dist/team/state-root.d.ts.map +1 -1
- package/dist/team/state-root.js +8 -3
- package/dist/team/state-root.js.map +1 -1
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +96 -2
- package/dist/team/state.js.map +1 -1
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +81 -29
- 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 +4 -0
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/team/worktree.d.ts.map +1 -1
- package/dist/team/worktree.js +9 -0
- package/dist/team/worktree.js.map +1 -1
- package/dist/utils/__tests__/paths.test.js +98 -11
- package/dist/utils/__tests__/paths.test.js.map +1 -1
- package/dist/utils/__tests__/platform-command.test.js +101 -2
- package/dist/utils/__tests__/platform-command.test.js.map +1 -1
- package/dist/utils/git-layout.d.ts +8 -0
- package/dist/utils/git-layout.d.ts.map +1 -0
- package/dist/utils/git-layout.js +58 -0
- package/dist/utils/git-layout.js.map +1 -0
- package/dist/utils/paths.d.ts +3 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +14 -4
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/platform-command.d.ts.map +1 -1
- package/dist/utils/platform-command.js +35 -3
- package/dist/utils/platform-command.js.map +1 -1
- package/package.json +9 -5
- package/src/scripts/notify-fallback-watcher.ts +103 -53
- package/src/scripts/notify-hook/auto-nudge.ts +97 -103
- package/src/scripts/notify-hook/managed-tmux.ts +324 -0
- package/src/scripts/notify-hook/operational-events.ts +2 -0
- package/src/scripts/notify-hook/ralph-session-resume.ts +337 -0
- package/src/scripts/notify-hook/state-io.ts +2 -10
- package/src/scripts/notify-hook/team-dispatch.ts +131 -66
- package/src/scripts/notify-hook/team-leader-nudge.ts +19 -5
- package/src/scripts/notify-hook/team-tmux-guard.ts +0 -20
- package/src/scripts/notify-hook/team-worker.ts +4 -4
- package/src/scripts/notify-hook/tmux-injection.ts +103 -33
- package/src/scripts/notify-hook.ts +150 -21
- package/src/scripts/run-provider-advisor.ts +4 -2
- package/src/scripts/run-test-files.ts +48 -0
- package/src/scripts/tmux-hook-engine.ts +16 -0
- 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
|
|
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
|
[](https://www.npmjs.com/package/oh-my-codex)
|
|
@@ -11,247 +11,212 @@
|
|
|
11
11
|
[](https://nodejs.org)
|
|
12
12
|
[](https://discord.gg/PUwSMR9XNk)
|
|
13
13
|
|
|
14
|
-
|
|
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
|
-
|
|
17
|
+
OMX là lớp workflow mở rộng cho [OpenAI Codex CLI](https://github.com/openai/codex).
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
Codex vẫn là 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
|
-
|
|
25
|
+
## Workflow mặc định
|
|
21
26
|
|
|
22
|
-
|
|
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
|
-
|
|
44
|
-
omx
|
|
45
|
-
omx
|
|
30
|
+
npm install -g @openai/codex oh-my-codex
|
|
31
|
+
omx setup
|
|
32
|
+
omx --madmax --high
|
|
46
33
|
```
|
|
47
34
|
|
|
48
|
-
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
44
|
+
Đó là 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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
omx
|
|
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 và 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 và theo dõi mode
|
|
78
54
|
|
|
79
|
-
|
|
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
|
-
|
|
57
|
+
## Bắt đầu nhanh
|
|
82
58
|
|
|
83
|
-
|
|
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
|
-
|
|
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
|
-
|
|
67
|
+
### Phiên đầu tiên
|
|
68
|
+
|
|
69
|
+
Khởi chạy OMX:
|
|
91
70
|
|
|
92
71
|
```bash
|
|
93
|
-
--
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
112
|
-
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
113
|
-
```
|
|
86
|
+
## Mô hình đơn giản
|
|
114
87
|
|
|
115
|
-
|
|
88
|
+
OMX **không** thay thế Codex.
|
|
116
89
|
|
|
117
|
-
|
|
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
|
-
|
|
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
|
-
|
|
122
|
-
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
123
|
-
```
|
|
98
|
+
## Hướng dẫn cho người mới
|
|
124
99
|
|
|
125
|
-
|
|
126
|
-
|
|
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
|
-
|
|
106
|
+
## Workflow khuyến nghị
|
|
129
107
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
-
##
|
|
112
|
+
## Các lệnh thường dùng trong phiên
|
|
136
113
|
|
|
137
|
-
|
|
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
|
-
|
|
122
|
+
## Nâng cao
|
|
140
123
|
|
|
141
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
### Team shutdown policy
|
|
137
|
+
### Setup, doctor và HUD
|
|
157
138
|
|
|
158
|
-
|
|
159
|
-
|
|
139
|
+
Đây là các công cụ vận hành/hỗ trợ:
|
|
140
|
+
- `omx setup` cài prompt, skill, config và 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
|
-
|
|
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 và sparkshell
|
|
170
145
|
|
|
171
|
-
|
|
172
|
-
-
|
|
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 có 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
|
-
```
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
157
|
+
### Cài tmux theo nền tảng
|
|
227
158
|
|
|
228
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
172
|
+
### Intel Mac: CPU `syspolicyd` / `trustd` cao khi khởi động
|
|
245
173
|
|
|
246
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
[](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
|
-
|
|
35
|
-
|
|
36
|
-
$
|
|
37
|
-
$team 3:executor "
|
|
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
|
-
|
|
187
|
-
|
|
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
|
-
- 技能:`
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
$
|
|
37
|
-
$team 3:executor "
|
|
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;
|
|
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
|
-
- 技能:`
|
|
209
|
+
- 技能:`deep-interview`、`ralplan`、`team`、`ralph`、`plan`、`cancel`
|
|
204
210
|
|
|
205
211
|
## 项目结构
|
|
206
212
|
|