oh-my-codex 0.7.6 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.de.md +314 -0
- package/README.es.md +295 -17
- package/README.fr.md +314 -0
- package/README.it.md +314 -0
- package/README.ja.md +296 -18
- package/README.ko.md +295 -17
- package/README.md +54 -3
- package/README.pt.md +295 -17
- package/README.ru.md +295 -17
- package/README.tr.md +314 -0
- package/README.vi.md +296 -18
- package/README.zh.md +292 -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 +18 -0
- 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__/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 +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +93 -41
- 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.js +1 -1
- package/dist/cli/setup.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-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 +88 -0
- package/dist/hooks/__tests__/notify-hook-team-dispatch.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 +51 -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/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.map +1 -1
- package/dist/mcp/state-server.js +7 -3
- 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/config.d.ts.map +1 -1
- package/dist/notifications/config.js +8 -1
- package/dist/notifications/config.js.map +1 -1
- 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/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/tmux.js +2 -2
- package/dist/notifications/tmux.js.map +1 -1
- package/dist/openclaw/dispatcher.d.ts.map +1 -1
- package/dist/openclaw/dispatcher.js +5 -2
- package/dist/openclaw/dispatcher.js.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__/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__/runtime.test.js +1 -4
- 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-session.test.js +8 -0
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +21 -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/mcp-comm.d.ts.map +1 -1
- package/dist/team/mcp-comm.js +6 -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 +42 -20
- 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 +21 -18
- 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/fixtures/ask-advisor-stub.js +12 -0
- package/scripts/notify-hook/team-dispatch.js +48 -0
- 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 +1 -1
- package/skills/configure-openclaw/SKILL.md +154 -157
- package/skills/deep-interview/SKILL.md +247 -0
- package/skills/ralph/SKILL.md +42 -11
- package/skills/ralplan/SKILL.md +17 -0
- package/skills/team/SKILL.md +17 -0
- package/skills/visual-verdict/SKILL.md +76 -0
- package/skills/web-clone/SKILL.md +366 -0
- package/skills/worker/SKILL.md +5 -4
- package/templates/AGENTS.md +9 -0
- package/templates/catalog-manifest.json +39 -2
package/README.de.md
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# oh-my-codex (OMX)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://yeachan-heo.github.io/oh-my-codex-website/omx-character-nobg.png" alt="oh-my-codex character" width="280">
|
|
5
|
+
<br>
|
|
6
|
+
<em>Dein Codex ist nicht allein.</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)** | **[GitHub](https://github.com/Yeachan-Heo/oh-my-codex)** | **[npm](https://www.npmjs.com/package/oh-my-codex)**
|
|
14
|
+
|
|
15
|
+
Multi-Agenten-Orchestrierungsschicht für [OpenAI Codex CLI](https://github.com/openai/codex).
|
|
16
|
+
|
|
17
|
+
## Sprachen
|
|
18
|
+
|
|
19
|
+
- [English](./README.md)
|
|
20
|
+
- [한국어 (Korean)](./README.ko.md)
|
|
21
|
+
- [日本語 (Japanese)](./README.ja.md)
|
|
22
|
+
- [简体中文 (Chinese)](./README.zh.md)
|
|
23
|
+
- [Tiếng Việt (Vietnamese)](./README.vi.md)
|
|
24
|
+
- [Español (Spanish)](./README.es.md)
|
|
25
|
+
- [Português (Portuguese)](./README.pt.md)
|
|
26
|
+
- [Русский (Russian)](./README.ru.md)
|
|
27
|
+
- [Türkçe (Turkish)](./README.tr.md)
|
|
28
|
+
- [Deutsch (German)](./README.de.md)
|
|
29
|
+
- [Français (French)](./README.fr.md)
|
|
30
|
+
- [Italiano (Italian)](./README.it.md)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
OMX verwandelt Codex von einem Einzelsitzungs-Agenten in ein koordiniertes System mit:
|
|
34
|
+
- Role Prompts (`/prompts:name`) für spezialisierte Agenten
|
|
35
|
+
- Workflow Skills (`$name`) für wiederholbare Ausführungsmodi
|
|
36
|
+
- Team-Orchestrierung in tmux (`omx team`, `$team`)
|
|
37
|
+
- Persistenter Zustand und Speicher über MCP-Server
|
|
38
|
+
|
|
39
|
+
## Warum OMX
|
|
40
|
+
|
|
41
|
+
Codex CLI ist stark für direkte Aufgaben. OMX fügt Struktur für größere Arbeiten hinzu:
|
|
42
|
+
- Zerlegung und stufenweise Ausführung (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
|
|
43
|
+
- Persistenter Modus-Lebenszyklus-Zustand (`.omx/state/`)
|
|
44
|
+
- Speicher- und Notepad-Oberflächen für langfristige Sitzungen
|
|
45
|
+
- Operationelle Steuerung für Start, Verifizierung und Abbruch
|
|
46
|
+
|
|
47
|
+
OMX ist ein Add-on, kein Fork. Es nutzt die nativen Erweiterungspunkte von Codex.
|
|
48
|
+
|
|
49
|
+
## Voraussetzungen
|
|
50
|
+
|
|
51
|
+
- macOS oder Linux (Windows über WSL2)
|
|
52
|
+
- Node.js >= 20
|
|
53
|
+
- Codex CLI installiert (`npm install -g @openai/codex`)
|
|
54
|
+
- Codex-Authentifizierung konfiguriert
|
|
55
|
+
|
|
56
|
+
## Schnellstart (3 Minuten)
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npm install -g oh-my-codex
|
|
60
|
+
omx setup
|
|
61
|
+
omx doctor
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Empfohlenes Startprofil für vertrauenswürdige Umgebungen:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
omx --xhigh --madmax
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Neu in v0.5.0
|
|
71
|
+
|
|
72
|
+
- **Bereichsbewusstes Setup** mit `omx setup --scope user|project` für flexible Installationsmodi.
|
|
73
|
+
- **Spark-Worker-Routing** über `--spark` / `--madmax-spark`, damit Team-Worker `gpt-5.3-codex-spark` nutzen können, ohne das Leader-Modell zu erzwingen.
|
|
74
|
+
- **Katalog-Konsolidierung** — veraltete Prompts (`deep-executor`, `scientist`) und 9 veraltete Skills entfernt.
|
|
75
|
+
- **Benachrichtigungs-Detailstufen** für feingranulare CCNotifier-Ausgabesteuerung.
|
|
76
|
+
|
|
77
|
+
## Erste Sitzung
|
|
78
|
+
|
|
79
|
+
Innerhalb von Codex:
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
/prompts:architect "analyze current auth boundaries"
|
|
83
|
+
/prompts:executor "implement input validation in login"
|
|
84
|
+
$plan "ship OAuth callback safely"
|
|
85
|
+
$team 3:executor "fix all TypeScript errors"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Vom Terminal:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
omx team 4:executor "parallelize a multi-module refactor"
|
|
92
|
+
omx team status <team-name>
|
|
93
|
+
omx team shutdown <team-name>
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Kernmodell
|
|
97
|
+
|
|
98
|
+
OMX installiert und verbindet diese Schichten:
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
User
|
|
102
|
+
-> Codex CLI
|
|
103
|
+
-> AGENTS.md (Orchestrierungs-Gehirn)
|
|
104
|
+
-> ~/.codex/prompts/*.md (Agenten-Prompt-Katalog)
|
|
105
|
+
-> ~/.agents/skills/*/SKILL.md (Skill-Katalog)
|
|
106
|
+
-> ~/.codex/config.toml (Features, Benachrichtigungen, MCP)
|
|
107
|
+
-> .omx/ (Laufzeitzustand, Speicher, Pläne, Protokolle)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Hauptbefehle
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
omx # Codex starten (+ HUD in tmux wenn verfügbar)
|
|
114
|
+
omx setup # Prompts/Skills/Config nach Bereich installieren + Projekt AGENTS.md/.omx
|
|
115
|
+
omx doctor # Installations-/Laufzeitdiagnose
|
|
116
|
+
omx doctor --team # Team/Swarm-Diagnose
|
|
117
|
+
omx team ... # tmux-Team-Worker starten/Status/fortsetzen/herunterfahren
|
|
118
|
+
omx status # Aktive Modi anzeigen
|
|
119
|
+
omx cancel # Aktive Ausführungsmodi abbrechen
|
|
120
|
+
omx reasoning <mode> # low|medium|high|xhigh
|
|
121
|
+
omx tmux-hook ... # init|status|validate|test
|
|
122
|
+
omx hooks ... # init|status|validate|test (Plugin-Erweiterungs-Workflow)
|
|
123
|
+
omx hud ... # --watch|--json|--preset
|
|
124
|
+
omx help
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Hooks-Erweiterung (Additive Oberfläche)
|
|
128
|
+
|
|
129
|
+
OMX enthält jetzt `omx hooks` für Plugin-Gerüstbau und -Validierung.
|
|
130
|
+
|
|
131
|
+
- `omx tmux-hook` wird weiterhin unterstützt und ist unverändert.
|
|
132
|
+
- `omx hooks` ist additiv und ersetzt keine tmux-hook-Workflows.
|
|
133
|
+
- Plugin-Dateien befinden sich unter `.omx/hooks/*.mjs`.
|
|
134
|
+
- Plugins sind standardmäßig deaktiviert; aktivieren mit `OMX_HOOK_PLUGINS=1`.
|
|
135
|
+
|
|
136
|
+
Siehe `docs/hooks-extension.md` für den vollständigen Erweiterungs-Workflow und das Ereignismodell.
|
|
137
|
+
|
|
138
|
+
## Start-Flags
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
--yolo
|
|
142
|
+
--high
|
|
143
|
+
--xhigh
|
|
144
|
+
--madmax
|
|
145
|
+
--force
|
|
146
|
+
--dry-run
|
|
147
|
+
--verbose
|
|
148
|
+
--scope <user|project> # nur bei setup
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`--madmax` entspricht Codex `--dangerously-bypass-approvals-and-sandbox`.
|
|
152
|
+
Nur in vertrauenswürdigen/externen Sandbox-Umgebungen verwenden.
|
|
153
|
+
|
|
154
|
+
### MCP workingDirectory-Richtlinie (optionale Härtung)
|
|
155
|
+
|
|
156
|
+
Standardmäßig akzeptieren MCP-Zustand/Speicher/Trace-Tools das vom Aufrufer bereitgestellte `workingDirectory`.
|
|
157
|
+
Um dies einzuschränken, setzen Sie eine Erlaubnisliste von Wurzelverzeichnissen:
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Wenn gesetzt, werden `workingDirectory`-Werte außerhalb dieser Wurzeln abgelehnt.
|
|
164
|
+
|
|
165
|
+
## Codex-First Prompt-Steuerung
|
|
166
|
+
|
|
167
|
+
Standardmäßig injiziert OMX:
|
|
168
|
+
|
|
169
|
+
```text
|
|
170
|
+
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Dies schichtet die `AGENTS.md`-Anweisungen des Projekts in die Codex-Startanweisungen.
|
|
174
|
+
Es erweitert das Codex-Verhalten, ersetzt/umgeht aber nicht die Codex-Kernsystemrichtlinien.
|
|
175
|
+
|
|
176
|
+
Steuerung:
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # AGENTS.md-Injektion deaktivieren
|
|
180
|
+
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Team-Modus
|
|
184
|
+
|
|
185
|
+
Verwenden Sie den Team-Modus für umfangreiche Arbeiten, die von parallelen Workern profitieren.
|
|
186
|
+
|
|
187
|
+
Lebenszyklus:
|
|
188
|
+
|
|
189
|
+
```text
|
|
190
|
+
start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Operationelle Befehle:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
omx team <args>
|
|
197
|
+
omx team status <team-name>
|
|
198
|
+
omx team resume <team-name>
|
|
199
|
+
omx team shutdown <team-name>
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Wichtige Regel: Fahren Sie nicht herunter, während Aufgaben noch `in_progress` sind, es sei denn, Sie brechen ab.
|
|
203
|
+
|
|
204
|
+
### Ralph-Aufräumrichtlinie
|
|
205
|
+
|
|
206
|
+
Wenn ein Team im Ralph-Modus läuft (`omx team ralph ...`), wendet die Shutdown-Bereinigung
|
|
207
|
+
eine spezielle Richtlinie an, die sich vom normalen Pfad unterscheidet:
|
|
208
|
+
|
|
209
|
+
| Verhalten | Normales Team | Ralph-Team |
|
|
210
|
+
|---|---|---|
|
|
211
|
+
| Erzwungenes Herunterfahren bei Fehler | Wirft `shutdown_gate_blocked` | Umgeht Gate, protokolliert `ralph_cleanup_policy`-Ereignis |
|
|
212
|
+
| Automatische Branch-Löschung | Löscht Worktree-Branches bei Rollback | Bewahrt Branches (`skipBranchDeletion`) |
|
|
213
|
+
| Abschluss-Protokollierung | Standard-`shutdown_gate`-Ereignis | Zusätzliches `ralph_cleanup_summary`-Ereignis mit Aufgabenaufschlüsselung |
|
|
214
|
+
|
|
215
|
+
Die Ralph-Richtlinie wird automatisch aus dem Team-Modus-Zustand (`linked_ralph`) erkannt oder
|
|
216
|
+
kann explizit über `omx team shutdown <name> --ralph` übergeben werden.
|
|
217
|
+
|
|
218
|
+
Worker-CLI-Auswahl für Team-Worker:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
OMX_TEAM_WORKER_CLI=auto # Standard; verwendet claude wenn Worker --model "claude" enthält
|
|
222
|
+
OMX_TEAM_WORKER_CLI=codex # Codex-CLI-Worker erzwingen
|
|
223
|
+
OMX_TEAM_WORKER_CLI=claude # Claude-CLI-Worker erzwingen
|
|
224
|
+
OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # CLI-Mix pro Worker (Länge=1 oder Worker-Anzahl)
|
|
225
|
+
OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # optional: adaptiven Queue->Resend-Fallback deaktivieren
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Hinweise:
|
|
229
|
+
- Worker-Startargumente werden weiterhin über `OMX_TEAM_WORKER_LAUNCH_ARGS` geteilt.
|
|
230
|
+
- `OMX_TEAM_WORKER_CLI_MAP` überschreibt `OMX_TEAM_WORKER_CLI` für Worker-spezifische Auswahl.
|
|
231
|
+
- Trigger-Übermittlung verwendet standardmäßig adaptive Wiederholungsversuche (Queue/Submit, dann sicherer Clear-Line+Resend-Fallback bei Bedarf).
|
|
232
|
+
- Im Claude-Worker-Modus startet OMX Worker als einfaches `claude` (keine zusätzlichen Startargumente) und ignoriert explizite `--model` / `--config` / `--effort`-Überschreibungen, sodass Claude die Standard-`settings.json` verwendet.
|
|
233
|
+
|
|
234
|
+
## Was `omx setup` schreibt
|
|
235
|
+
|
|
236
|
+
- `.omx/setup-scope.json` (persistierter Setup-Bereich)
|
|
237
|
+
- Bereichsabhängige Installationen:
|
|
238
|
+
- `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
|
|
239
|
+
- `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
|
|
240
|
+
- Startverhalten: Wenn der persistierte Bereich `project` ist, verwendet `omx` automatisch `CODEX_HOME=./.codex` (sofern `CODEX_HOME` nicht bereits gesetzt ist).
|
|
241
|
+
- Vorhandene `AGENTS.md` wird standardmäßig beibehalten. Bei interaktiven TTY-Läufen fragt Setup vor dem Überschreiben; `--force` überschreibt ohne Nachfrage (aktive Sitzungs-Sicherheitsprüfungen gelten weiterhin).
|
|
242
|
+
- `config.toml`-Aktualisierungen (für beide Bereiche):
|
|
243
|
+
- `notify = ["node", "..."]`
|
|
244
|
+
- `model_reasoning_effort = "high"`
|
|
245
|
+
- `developer_instructions = "..."`
|
|
246
|
+
- `[features] multi_agent = true, child_agents_md = true`
|
|
247
|
+
- MCP-Server-Einträge (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
|
|
248
|
+
- `[tui] status_line`
|
|
249
|
+
- Projekt-`AGENTS.md`
|
|
250
|
+
- `.omx/`-Laufzeitverzeichnisse und HUD-Konfiguration
|
|
251
|
+
|
|
252
|
+
## Agenten und Skills
|
|
253
|
+
|
|
254
|
+
- Prompts: `prompts/*.md` (installiert nach `~/.codex/prompts/` für `user`, `./.codex/prompts/` für `project`)
|
|
255
|
+
- Skills: `skills/*/SKILL.md` (installiert nach `~/.agents/skills/` für `user`, `./.agents/skills/` für `project`)
|
|
256
|
+
|
|
257
|
+
Beispiele:
|
|
258
|
+
- Agenten: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
259
|
+
- Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
|
|
260
|
+
|
|
261
|
+
## Projektstruktur
|
|
262
|
+
|
|
263
|
+
```text
|
|
264
|
+
oh-my-codex/
|
|
265
|
+
bin/omx.js
|
|
266
|
+
src/
|
|
267
|
+
cli/
|
|
268
|
+
team/
|
|
269
|
+
mcp/
|
|
270
|
+
hooks/
|
|
271
|
+
hud/
|
|
272
|
+
config/
|
|
273
|
+
modes/
|
|
274
|
+
notifications/
|
|
275
|
+
verification/
|
|
276
|
+
prompts/
|
|
277
|
+
skills/
|
|
278
|
+
templates/
|
|
279
|
+
scripts/
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## Entwicklung
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
git clone https://github.com/Yeachan-Heo/oh-my-codex.git
|
|
286
|
+
cd oh-my-codex
|
|
287
|
+
npm install
|
|
288
|
+
npm run build
|
|
289
|
+
npm test
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## Dokumentation
|
|
293
|
+
|
|
294
|
+
- **[Vollständige Dokumentation](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Kompletter Leitfaden
|
|
295
|
+
- **[CLI-Referenz](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Alle `omx`-Befehle, Flags und Tools
|
|
296
|
+
- **[Benachrichtigungs-Leitfaden](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Discord, Telegram, Slack und Webhook-Einrichtung
|
|
297
|
+
- **[Empfohlene Workflows](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#workflows)** — Praxiserprobte Skill-Ketten für häufige Aufgaben
|
|
298
|
+
- **[Versionshinweise](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Neuheiten in jeder Version
|
|
299
|
+
|
|
300
|
+
## Hinweise
|
|
301
|
+
|
|
302
|
+
- Vollständiges Änderungsprotokoll: `CHANGELOG.md`
|
|
303
|
+
- Migrationsleitfaden (nach v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
|
|
304
|
+
- Abdeckungs- und Paritätsnotizen: `COVERAGE.md`
|
|
305
|
+
- Hook-Erweiterungs-Workflow: `docs/hooks-extension.md`
|
|
306
|
+
- Setup- und Beitragsdetails: `CONTRIBUTING.md`
|
|
307
|
+
|
|
308
|
+
## Danksagungen
|
|
309
|
+
|
|
310
|
+
Inspiriert von [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), angepasst für Codex CLI.
|
|
311
|
+
|
|
312
|
+
## Lizenz
|
|
313
|
+
|
|
314
|
+
MIT
|
package/README.es.md
CHANGED
|
@@ -1,10 +1,59 @@
|
|
|
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>Tu codex no está solo.</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
|
+
Capa de orquestación 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)](./README.zh.md)
|
|
23
|
+
- [Tiếng Việt (Vietnamese)](./README.vi.md)
|
|
24
|
+
- [Español (Spanish)](./README.es.md)
|
|
25
|
+
- [Português (Portuguese)](./README.pt.md)
|
|
26
|
+
- [Русский (Russian)](./README.ru.md)
|
|
27
|
+
- [Türkçe (Turkish)](./README.tr.md)
|
|
28
|
+
- [Deutsch (German)](./README.de.md)
|
|
29
|
+
- [Français (French)](./README.fr.md)
|
|
30
|
+
- [Italiano (Italian)](./README.it.md)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
OMX convierte Codex de un agente de sesión única en un sistema coordinado con:
|
|
34
|
+
- Role prompts (`/prompts:name`) para agentes especializados
|
|
35
|
+
- Workflow skills (`$name`) para modos de ejecución repetibles
|
|
36
|
+
- Orquestación de equipos en tmux (`omx team`, `$team`)
|
|
37
|
+
- Estado persistente y memoria a través de servidores MCP
|
|
38
|
+
|
|
39
|
+
## Por qué OMX
|
|
40
|
+
|
|
41
|
+
Codex CLI es potente para tareas directas. OMX añade estructura para trabajo más amplio:
|
|
42
|
+
- Descomposición y ejecución por etapas (`team-plan -> team-prd -> team-exec -> team-verify -> team-fix`)
|
|
43
|
+
- Estado persistente del ciclo de vida de modos (`.omx/state/`)
|
|
44
|
+
- Superficies de memoria y bloc de notas para sesiones prolongadas
|
|
45
|
+
- Controles operacionales para inicio, verificación y cancelación
|
|
46
|
+
|
|
47
|
+
OMX es un complemento, no un fork. Utiliza los puntos de extensión nativos de Codex.
|
|
48
|
+
|
|
49
|
+
## Requisitos
|
|
50
|
+
|
|
51
|
+
- macOS o Linux (Windows vía WSL2)
|
|
52
|
+
- Node.js >= 20
|
|
53
|
+
- Codex CLI instalado (`npm install -g @openai/codex`)
|
|
54
|
+
- Autenticación de Codex configurada
|
|
55
|
+
|
|
56
|
+
## Inicio rápido (3 minutos)
|
|
8
57
|
|
|
9
58
|
```bash
|
|
10
59
|
npm install -g oh-my-codex
|
|
@@ -12,25 +61,254 @@ omx setup
|
|
|
12
61
|
omx doctor
|
|
13
62
|
```
|
|
14
63
|
|
|
15
|
-
|
|
64
|
+
Perfil de inicio recomendado para entornos de confianza:
|
|
16
65
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
66
|
+
```bash
|
|
67
|
+
omx --xhigh --madmax
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Novedades en v0.5.0
|
|
71
|
+
|
|
72
|
+
- **Configuración con alcance** mediante `omx setup --scope user|project` para modos de instalación flexibles.
|
|
73
|
+
- **Enrutamiento de Spark worker** vía `--spark` / `--madmax-spark` — los workers del equipo pueden usar `gpt-5.3-codex-spark` sin forzar el modelo líder.
|
|
74
|
+
- **Consolidación del catálogo** — se eliminaron prompts obsoletos (`deep-executor`, `scientist`) y 9 skills obsoletos para una superficie más compacta.
|
|
75
|
+
- **Niveles de detalle de notificaciones** para control granular de la salida de CCNotifier.
|
|
76
|
+
|
|
77
|
+
## Primera sesión
|
|
78
|
+
|
|
79
|
+
Dentro de Codex:
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
/prompts:architect "analyze current auth boundaries"
|
|
83
|
+
/prompts:executor "implement input validation in login"
|
|
84
|
+
$plan "ship OAuth callback safely"
|
|
85
|
+
$team 3:executor "fix all TypeScript errors"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Desde la terminal:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
omx team 4:executor "parallelize a multi-module refactor"
|
|
92
|
+
omx team status <team-name>
|
|
93
|
+
omx team shutdown <team-name>
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Modelo central
|
|
97
|
+
|
|
98
|
+
OMX instala y conecta estas capas:
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
User
|
|
102
|
+
-> Codex CLI
|
|
103
|
+
-> AGENTS.md (cerebro de orquestación)
|
|
104
|
+
-> ~/.codex/prompts/*.md (catálogo de prompts de agentes)
|
|
105
|
+
-> ~/.agents/skills/*/SKILL.md (catálogo de skills)
|
|
106
|
+
-> ~/.codex/config.toml (características, notificaciones, MCP)
|
|
107
|
+
-> .omx/ (estado en ejecución, memoria, planes, registros)
|
|
108
|
+
```
|
|
21
109
|
|
|
22
110
|
## Comandos principales
|
|
23
111
|
|
|
24
112
|
```bash
|
|
25
|
-
omx
|
|
26
|
-
omx setup
|
|
27
|
-
omx doctor
|
|
113
|
+
omx # Lanzar Codex (+ HUD en tmux cuando está disponible)
|
|
114
|
+
omx setup # Instalar prompts/skills/config por alcance + proyecto AGENTS.md/.omx
|
|
115
|
+
omx doctor # Diagnósticos de instalación/ejecución
|
|
116
|
+
omx doctor --team # Diagnósticos de Team/swarm
|
|
117
|
+
omx team ... # Iniciar/estado/reanudar/apagar workers tmux del equipo
|
|
118
|
+
omx status # Mostrar modos activos
|
|
119
|
+
omx cancel # Cancelar modos de ejecución activos
|
|
120
|
+
omx reasoning <mode> # low|medium|high|xhigh
|
|
121
|
+
omx tmux-hook ... # init|status|validate|test
|
|
122
|
+
omx hooks ... # init|status|validate|test (flujo de trabajo de extensión de plugins)
|
|
123
|
+
omx hud ... # --watch|--json|--preset
|
|
124
|
+
omx help
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Extensión de Hooks (Superficie adicional)
|
|
128
|
+
|
|
129
|
+
OMX ahora incluye `omx hooks` para scaffolding y validación de plugins.
|
|
130
|
+
|
|
131
|
+
- `omx tmux-hook` sigue siendo compatible y no ha cambiado.
|
|
132
|
+
- `omx hooks` es aditivo y no reemplaza los flujos de trabajo de tmux-hook.
|
|
133
|
+
- Los archivos de plugins se encuentran en `.omx/hooks/*.mjs`.
|
|
134
|
+
- Los plugins están desactivados por defecto; actívalos con `OMX_HOOK_PLUGINS=1`.
|
|
135
|
+
|
|
136
|
+
Consulta `docs/hooks-extension.md` para el flujo de trabajo completo de extensiones y el modelo de eventos.
|
|
137
|
+
|
|
138
|
+
## Flags de inicio
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
--yolo
|
|
142
|
+
--high
|
|
143
|
+
--xhigh
|
|
144
|
+
--madmax
|
|
145
|
+
--force
|
|
146
|
+
--dry-run
|
|
147
|
+
--verbose
|
|
148
|
+
--scope <user|project> # solo para setup
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`--madmax` se mapea a Codex `--dangerously-bypass-approvals-and-sandbox`.
|
|
152
|
+
Úsalo solo en entornos sandbox de confianza o externos.
|
|
153
|
+
|
|
154
|
+
### Política de workingDirectory MCP (endurecimiento opcional)
|
|
155
|
+
|
|
156
|
+
Por defecto, las herramientas MCP de state/memory/trace aceptan el `workingDirectory` proporcionado por el llamador.
|
|
157
|
+
Para restringir esto, establece una lista de raíces permitidas:
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
export OMX_MCP_WORKDIR_ROOTS="/path/to/project:/path/to/another-root"
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Cuando se establece, los valores de `workingDirectory` fuera de estas raíces son rechazados.
|
|
164
|
+
|
|
165
|
+
## Control de prompts Codex-First
|
|
166
|
+
|
|
167
|
+
Por defecto, OMX inyecta:
|
|
168
|
+
|
|
169
|
+
```text
|
|
170
|
+
-c model_instructions_file="<cwd>/AGENTS.md"
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Esto añade las instrucciones del proyecto `AGENTS.md` a los comandos de inicio de Codex.
|
|
174
|
+
Extiende el comportamiento de Codex, pero no reemplaza ni elude las políticas centrales del sistema Codex.
|
|
175
|
+
|
|
176
|
+
Controles:
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
OMX_BYPASS_DEFAULT_SYSTEM_PROMPT=0 omx # desactivar inyección de AGENTS.md
|
|
180
|
+
OMX_MODEL_INSTRUCTIONS_FILE=/path/to/instructions.md omx
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Modo equipo
|
|
184
|
+
|
|
185
|
+
Usa el modo equipo para trabajo amplio que se beneficia de workers paralelos.
|
|
186
|
+
|
|
187
|
+
Ciclo de vida:
|
|
188
|
+
|
|
189
|
+
```text
|
|
190
|
+
start -> assign scoped lanes -> monitor -> verify terminal tasks -> shutdown
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Comandos operacionales:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
28
196
|
omx team <args>
|
|
29
|
-
omx status
|
|
30
|
-
omx
|
|
197
|
+
omx team status <team-name>
|
|
198
|
+
omx team resume <team-name>
|
|
199
|
+
omx team shutdown <team-name>
|
|
31
200
|
```
|
|
32
201
|
|
|
33
|
-
|
|
202
|
+
Regla importante: no apagues mientras las tareas estén en estado `in_progress` a menos que estés abortando.
|
|
203
|
+
|
|
204
|
+
### Política de limpieza Ralph
|
|
205
|
+
|
|
206
|
+
Cuando un equipo se ejecuta en modo ralph (`omx team ralph ...`), la limpieza al apagar
|
|
207
|
+
aplica una política dedicada diferente a la ruta normal:
|
|
208
|
+
|
|
209
|
+
| Comportamiento | Equipo normal | Equipo Ralph |
|
|
210
|
+
|---|---|---|
|
|
211
|
+
| Apagado forzado en caso de fallo | Lanza `shutdown_gate_blocked` | Omite la puerta, registra evento `ralph_cleanup_policy` |
|
|
212
|
+
| Eliminación automática de ramas | Elimina ramas de worktree en rollback | Preserva ramas (`skipBranchDeletion`) |
|
|
213
|
+
| Registro de finalización | Evento estándar `shutdown_gate` | Evento adicional `ralph_cleanup_summary` con desglose de tareas |
|
|
214
|
+
|
|
215
|
+
La política Ralph se detecta automáticamente del estado del modo equipo (`linked_ralph`) o
|
|
216
|
+
se puede pasar explícitamente vía `omx team shutdown <name> --ralph`.
|
|
217
|
+
|
|
218
|
+
Selección de Worker CLI para los workers del equipo:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
OMX_TEAM_WORKER_CLI=auto # predeterminado; usa claude cuando worker --model contiene "claude"
|
|
222
|
+
OMX_TEAM_WORKER_CLI=codex # forzar workers Codex CLI
|
|
223
|
+
OMX_TEAM_WORKER_CLI=claude # forzar workers Claude CLI
|
|
224
|
+
OMX_TEAM_WORKER_CLI_MAP=codex,codex,claude,claude # mezcla de CLI por worker (longitud=1 o cantidad de workers)
|
|
225
|
+
OMX_TEAM_AUTO_INTERRUPT_RETRY=0 # opcional: desactivar fallback adaptativo queue->resend
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Notas:
|
|
229
|
+
- Los argumentos de inicio de workers se comparten a través de `OMX_TEAM_WORKER_LAUNCH_ARGS`.
|
|
230
|
+
- `OMX_TEAM_WORKER_CLI_MAP` anula `OMX_TEAM_WORKER_CLI` para selección por worker.
|
|
231
|
+
- El envío de triggers usa reintentos adaptativos por defecto (queue/submit, luego fallback seguro clear-line+resend cuando es necesario).
|
|
232
|
+
- 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.
|
|
233
|
+
|
|
234
|
+
## Qué escribe `omx setup`
|
|
235
|
+
|
|
236
|
+
- `.omx/setup-scope.json` (alcance de instalación persistido)
|
|
237
|
+
- Instalaciones dependientes del alcance:
|
|
238
|
+
- `user`: `~/.codex/prompts/`, `~/.agents/skills/`, `~/.codex/config.toml`, `~/.omx/agents/`
|
|
239
|
+
- `project`: `./.codex/prompts/`, `./.agents/skills/`, `./.codex/config.toml`, `./.omx/agents/`
|
|
240
|
+
- 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).
|
|
241
|
+
- El `AGENTS.md` existente se preserva por defecto. En ejecuciones TTY interactivas, setup pregunta antes de sobrescribir; `--force` sobrescribe sin preguntar (las verificaciones de seguridad de sesiones activas siguen aplicándose).
|
|
242
|
+
- Actualizaciones de `config.toml` (para ambos alcances):
|
|
243
|
+
- `notify = ["node", "..."]`
|
|
244
|
+
- `model_reasoning_effort = "high"`
|
|
245
|
+
- `developer_instructions = "..."`
|
|
246
|
+
- `[features] multi_agent = true, child_agents_md = true`
|
|
247
|
+
- Entradas de servidores MCP (`omx_state`, `omx_memory`, `omx_code_intel`, `omx_trace`)
|
|
248
|
+
- `[tui] status_line`
|
|
249
|
+
- `AGENTS.md` del proyecto
|
|
250
|
+
- Directorios `.omx/` de ejecución y configuración de HUD
|
|
251
|
+
|
|
252
|
+
## Agentes y skills
|
|
253
|
+
|
|
254
|
+
- Prompts: `prompts/*.md` (instalados en `~/.codex/prompts/` para `user`, `./.codex/prompts/` para `project`)
|
|
255
|
+
- Skills: `skills/*/SKILL.md` (instalados en `~/.agents/skills/` para `user`, `./.agents/skills/` para `project`)
|
|
256
|
+
|
|
257
|
+
Ejemplos:
|
|
258
|
+
- Agentes: `architect`, `planner`, `executor`, `debugger`, `verifier`, `security-reviewer`
|
|
259
|
+
- Skills: `autopilot`, `plan`, `team`, `ralph`, `ultrawork`, `cancel`
|
|
260
|
+
|
|
261
|
+
## Estructura del proyecto
|
|
262
|
+
|
|
263
|
+
```text
|
|
264
|
+
oh-my-codex/
|
|
265
|
+
bin/omx.js
|
|
266
|
+
src/
|
|
267
|
+
cli/
|
|
268
|
+
team/
|
|
269
|
+
mcp/
|
|
270
|
+
hooks/
|
|
271
|
+
hud/
|
|
272
|
+
config/
|
|
273
|
+
modes/
|
|
274
|
+
notifications/
|
|
275
|
+
verification/
|
|
276
|
+
prompts/
|
|
277
|
+
skills/
|
|
278
|
+
templates/
|
|
279
|
+
scripts/
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## Desarrollo
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
git clone https://github.com/Yeachan-Heo/oh-my-codex.git
|
|
286
|
+
cd oh-my-codex
|
|
287
|
+
npm install
|
|
288
|
+
npm run build
|
|
289
|
+
npm test
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## Documentación
|
|
293
|
+
|
|
294
|
+
- **[Documentación completa](https://yeachan-heo.github.io/oh-my-codex-website/docs.html)** — Guía completa
|
|
295
|
+
- **[Referencia CLI](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#cli-reference)** — Todos los comandos `omx`, flags y herramientas
|
|
296
|
+
- **[Guía de notificaciones](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#notifications)** — Configuración de Discord, Telegram, Slack y webhooks
|
|
297
|
+
- **[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
|
|
298
|
+
- **[Notas de versión](https://yeachan-heo.github.io/oh-my-codex-website/docs.html#release-notes)** — Novedades en cada versión
|
|
299
|
+
|
|
300
|
+
## Notas
|
|
301
|
+
|
|
302
|
+
- Registro de cambios completo: `CHANGELOG.md`
|
|
303
|
+
- Guía de migración (post-v0.4.4 mainline): `docs/migration-mainline-post-v0.4.4.md`
|
|
304
|
+
- Notas de cobertura y paridad: `COVERAGE.md`
|
|
305
|
+
- Flujo de trabajo de extensión de hooks: `docs/hooks-extension.md`
|
|
306
|
+
- Detalles de instalación y contribución: `CONTRIBUTING.md`
|
|
307
|
+
|
|
308
|
+
## Agradecimientos
|
|
309
|
+
|
|
310
|
+
Inspirado en [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode), adaptado para Codex CLI.
|
|
311
|
+
|
|
312
|
+
## Licencia
|
|
34
313
|
|
|
35
|
-
|
|
36
|
-
- Sitio web: https://yeachan-heo.github.io/oh-my-codex-website/
|
|
314
|
+
MIT
|