Lightweight coding agent that runs in your terminal
Rust
chore: rename memory feature flag (#12580)
jif-oaie8709bc11a00
diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.jsonindex 6a0f0a1745..b800cb6941 100644--- a/codex-rs/core/config.schema.json+++ b/codex-rs/core/config.schema.json@@ -349,6 +349,9 @@"js_repl_tools_only": {"type": "boolean"},+ "memories": {+ "type": "boolean"+ },"memory_tool": {"type": "boolean"},@@ -1627,6 +1630,9 @@"js_repl_tools_only": {"type": "boolean"},+ "memories": {+ "type": "boolean"+ },"memory_tool": {"type": "boolean"},diff --git a/codex-rs/core/src/features.rs b/codex-rs/core/src/features.rsindex 4cefe4b216..ce594bdd38 100644--- a/codex-rs/core/src/features.rs+++ b/codex-rs/core/src/features.rs@@ -499,7 +499,7 @@ pub const FEATURES: &[FeatureSpec] = &[},FeatureSpec {id: Feature::MemoryTool,- key: "memory_tool",+ key: "memories",stage: Stage::UnderDevelopment,default_enabled: false,},diff --git a/codex-rs/core/src/features/legacy.rs b/codex-rs/core/src/features/legacy.rsindex 41eab93bd1..45b3dfd5dc 100644--- a/codex-rs/core/src/features/legacy.rs+++ b/codex-rs/core/src/features/legacy.rs@@ -37,6 +37,10 @@ const ALIASES: &[Alias] = &[legacy_key: "collab",feature: Feature::Collab,},+ Alias {+ legacy_key: "memory_tool",+ feature: Feature::MemoryTool,+ },];pub(crate) fn legacy_feature_keys() -> impl Iterator<Item = &'static str> {