Disable hooks on windows for now (#15252)
We'll verify a bit later that all of this works correctly and re-enable
This commit is contained in:
parent
f7201e5a9f
commit
cc192763e1
1 changed files with 11 additions and 0 deletions
|
|
@ -74,6 +74,17 @@ 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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue