remove windows gate that disables hooks

This commit is contained in:
iceweasel-oai
2026-04-09 15:37:33 -07:00
parent 56dfe41605
commit 92025d9d77

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 {