Lightweight coding agent that runs in your terminal
Rust
chore(features) codex dependencies feat (#17960)
Dylan Hurd652380d36286
diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.jsonindex d5d832d6cb..9280895b5e 100644--- a/codex-rs/core/config.schema.json+++ b/codex-rs/core/config.schema.json@@ -523,6 +523,9 @@},"web_search_request": {"type": "boolean"+ },+ "workspace_dependencies": {+ "type": "boolean"}},"type": "object"@@ -2380,6 +2383,9 @@},"web_search_request": {"type": "boolean"+ },+ "workspace_dependencies": {+ "type": "boolean"}},"type": "object"diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rsindex 18daae1b1a..4d7a83b628 100644--- a/codex-rs/features/src/lib.rs+++ b/codex-rs/features/src/lib.rs@@ -191,6 +191,8 @@ pub enum Feature {ResponsesWebsocketsV2,/// Use the agent identity registration flow for ChatGPT-authenticated sessions.UseAgentIdentity,+ /// Enable workspace dependency support.+ WorkspaceDependencies,}impl Feature {@@ -929,6 +931,12 @@ pub const FEATURES: &[FeatureSpec] = &[stage: Stage::UnderDevelopment,default_enabled: false,},+ FeatureSpec {+ id: Feature::WorkspaceDependencies,+ key: "workspace_dependencies",+ stage: Stage::Stable,+ default_enabled: true,+ },];pub fn unstable_features_warning_event(diff --git a/codex-rs/features/src/tests.rs b/codex-rs/features/src/tests.rsindex 367527ba15..f55578dbd6 100644--- a/codex-rs/features/src/tests.rs+++ b/codex-rs/features/src/tests.rs@@ -183,6 +183,16 @@ fn use_agent_identity_is_under_development() {assert_eq!(Feature::UseAgentIdentity.default_enabled(), false);}+#[test]+fn workspace_dependencies_is_stable_and_enabled_by_default() {+ assert_eq!(Feature::WorkspaceDependencies.stage(), Stage::Stable);+ assert_eq!(Feature::WorkspaceDependencies.default_enabled(), true);+ assert_eq!(+ feature_for_key("workspace_dependencies"),+ Some(Feature::WorkspaceDependencies)+ );+}+#[test]fn collab_is_legacy_alias_for_multi_agent() {assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab));