diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs index 9b9dddfc9..b9eb71a8e 100644 --- a/codex-rs/features/src/lib.rs +++ b/codex-rs/features/src/lib.rs @@ -75,6 +75,8 @@ pub enum Feature { GhostCommit, /// Enable the default shell tool. ShellTool, + /// Enable Claude-style lifecycle hooks loaded from hooks.json files. + CodexHooks, // Experimental /// Enable JavaScript REPL tools backed by a persistent Node kernel. @@ -95,8 +97,6 @@ pub enum Feature { ApplyPatchStreamingEvents, /// Allow exec tools to request additional permissions while staying sandboxed. ExecPermissionApprovals, - /// Enable Claude-style lifecycle hooks loaded from hooks.json files. - CodexHooks, /// Expose the built-in request_permissions tool. RequestPermissionsTool, /// Allow the model to request web searches that fetch live content. @@ -751,8 +751,8 @@ pub const FEATURES: &[FeatureSpec] = &[ FeatureSpec { id: Feature::CodexHooks, key: "codex_hooks", - stage: Stage::UnderDevelopment, - default_enabled: false, + stage: Stage::Stable, + default_enabled: true, }, FeatureSpec { id: Feature::RequestPermissionsTool,