What's Changed
Codex CLI — Full Hook Dispatch Support (#225)
- Added
codexto CLIHOOK_MAP—context-mode hook codex <event>now works (wasexit(1)) - Dedicated
hooks/codex/directory — pretooluse, posttooluse, sessionstart with Codex-specific wire protocol - Added
CODEX_OPTSto session-helpers (configDir: ".codex",projectDirEnv: undefined— verified against source) - Fixed
hookEventNamefield — all CodexhookSpecificOutputresponses now include the requiredhookEventName(codex-rsdeny_unknown_fields+ no#[serde(default)]rejects output without it) - Codex PreToolUse formatter — deny works, ask/modify/context correctly dropped (verified:
codex-rs/hooks/src/engine/output_parser.rs) - Fixed tracking link in platform-support.md (
#15824→#16685)
Debug Script v2
- 18-section diagnostic script (
ctx-debug.sh) with JSON output - Cross-platform: macOS, Linux, Windows (Git Bash / WSL)
- Codex version check (≥0.118.0 exec-mode MCP warning)
Other
- Bug report template now requires JSON debug output
- OpenClaw e2e fix for
openclaw.jsonconfig path - Stale Codex + Cursor references cleaned up in README
Verified Against Source
All Codex wire protocol changes verified against codex-rs/hooks/src/schema.rs and codex-rs/hooks/src/engine/output_parser.rs. ENV vars verified against codex-rs/core/src/exec_env.rs and codex-rs/core/src/unified_exec/process_manager.rs.
Full Changelog: v1.0.59...v1.0.60