remove windows gate that disables hooks (#17268)

they work!
This commit is contained in:
iceweasel-oai
2026-04-09 16:54:35 -07:00
committed by GitHub
parent ecca34209d
commit a44645129a

View File

@@ -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 {