Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

feat: chronicle alias (#18651)

jif-oai1c243477725c
diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json
index 91972cc91e..a2d7b28a86 100644
--- a/codex-rs/core/config.schema.json
+++ b/codex-rs/core/config.schema.json
@@ -344,6 +344,9 @@
"child_agents_md": {
"type": "boolean"
},
+ "chronicle": {
+ "type": "boolean"
+ },
"code_mode": {
"type": "boolean"
},
@@ -2319,6 +2322,9 @@
"child_agents_md": {
"type": "boolean"
},
+ "chronicle": {
+ "type": "boolean"
+ },
"code_mode": {
"type": "boolean"
},
diff --git a/codex-rs/features/src/legacy.rs b/codex-rs/features/src/legacy.rs
index 2e3a0b37e7..0dfaf0b1cb 100644
--- a/codex-rs/features/src/legacy.rs
+++ b/codex-rs/features/src/legacy.rs
@@ -45,6 +45,10 @@ const ALIASES: &[Alias] = &[
legacy_key: "memory_tool",
feature: Feature::MemoryTool,
},
+ Alias {
+ legacy_key: "telepathy",
+ feature: Feature::Chronicle,
+ },
];
pub fn legacy_feature_keys() -> impl Iterator<Item = &'static str> {
diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs
index e800fc2d0f..046063a554 100644
--- a/codex-rs/features/src/lib.rs
+++ b/codex-rs/features/src/lib.rs
@@ -132,8 +132,8 @@ pub enum Feature {
Sqlite,
/// Enable startup memory extraction and file-backed memory consolidation.
MemoryTool,
- /// Enable the Telepathy sidecar for passive screen-context memories.
- Telepathy,
+ /// Enable the Chronicle sidecar for passive screen-context memories.
+ Chronicle,
/// Append additional AGENTS.md guidance to user instructions.
ChildAgentsMd,
/// Compress request bodies (zstd) when sending streaming requests to codex-backend.
@@ -711,8 +711,8 @@ pub const FEATURES: &[FeatureSpec] = &[
default_enabled: false,
},
FeatureSpec {
- id: Feature::Telepathy,
- key: "telepathy",
+ id: Feature::Chronicle,
+ key: "chronicle",
stage: Stage::UnderDevelopment,
default_enabled: false,
},
diff --git a/codex-rs/features/src/tests.rs b/codex-rs/features/src/tests.rs
index 18b030f88c..199ef9522a 100644
--- a/codex-rs/features/src/tests.rs
+++ b/codex-rs/features/src/tests.rs
@@ -241,6 +241,14 @@ fn workspace_dependencies_is_stable_and_enabled_by_default() {
);
}
+#[test]
+fn telepathy_is_legacy_alias_for_chronicle() {
+ assert_eq!(Feature::Chronicle.stage(), Stage::UnderDevelopment);
+ assert_eq!(Feature::Chronicle.default_enabled(), false);
+ assert_eq!(feature_for_key("chronicle"), Some(Feature::Chronicle));
+ assert_eq!(feature_for_key("telepathy"), Some(Feature::Chronicle));
+}
+
#[test]
fn collab_is_legacy_alias_for_multi_agent() {
assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab));