Lightweight coding agent that runs in your terminal
Rust
remove windows gate that disables hooks (#17268)
iceweasel-oaia44645129a37
diff --git a/codex-rs/hooks/src/engine/mod.rs b/codex-rs/hooks/src/engine/mod.rsindex f91fee24c9..b6ae4a365e 100644--- a/codex-rs/hooks/src/engine/mod.rs+++ b/codex-rs/hooks/src/engine/mod.rs@@ -80,17 +80,6 @@ impl ClaudeHooksEngine {};}- if cfg!(windows) {- return Self {- handlers: Vec::new(),- warnings: vec![- "Disabled `codex_hooks` for this session because `hooks.json` lifecycle hooks are not supported on Windows yet."- .to_string(),- ],- shell,- };- }-let _ = schema_loader::generated_hook_schemas();let discovered = discovery::discover_handlers(config_layer_stack);Self {