From b5b93c95477561662693cfd4797180a32e4e5410 Mon Sep 17 00:00:00 2001 From: Abhinav Vedmala Date: Wed, 13 May 2026 13:49:29 -0700 Subject: [PATCH] Enable plugin hooks by default --- codex-rs/features/src/lib.rs | 4 ++-- codex-rs/features/src/tests.rs | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs index 75535cbaaa..24b430d5c4 100644 --- a/codex-rs/features/src/lib.rs +++ b/codex-rs/features/src/lib.rs @@ -976,8 +976,8 @@ pub const FEATURES: &[FeatureSpec] = &[ FeatureSpec { id: Feature::PluginHooks, key: "plugin_hooks", - stage: Stage::UnderDevelopment, - default_enabled: false, + stage: Stage::Stable, + default_enabled: true, }, FeatureSpec { id: Feature::InAppBrowser, diff --git a/codex-rs/features/src/tests.rs b/codex-rs/features/src/tests.rs index 04e236f5ee..2b10f83362 100644 --- a/codex-rs/features/src/tests.rs +++ b/codex-rs/features/src/tests.rs @@ -183,6 +183,12 @@ fn tool_search_is_stable_and_enabled_by_default() { assert_eq!(Feature::ToolSearch.default_enabled(), true); } +#[test] +fn plugin_hooks_are_stable_and_enabled_by_default() { + assert_eq!(Feature::PluginHooks.stage(), Stage::Stable); + assert_eq!(Feature::PluginHooks.default_enabled(), true); +} + #[test] fn browser_controls_are_stable_and_enabled_by_default() { assert_eq!(Feature::InAppBrowser.stage(), Stage::Stable);