feat: chronicle alias (#18651)

Rename Telepathy to Chronicle and add an alias for backward
compatibility
This commit is contained in:
jif-oai authored and GitHub committed 2026-04-20 11:52:21 +01:00
1 parent fc758af9eb
commit 1c24347772
4 files changed
+22 -4

No files matched your search

+6
View File
@@ -344,6 +344,9 @@
"child_agents_md": { "child_agents_md": {
"type": "boolean" "type": "boolean"
}, },
"chronicle": {
"type": "boolean"
},
"code_mode": { "code_mode": {
"type": "boolean" "type": "boolean"
}, },
@@ -2319,6 +2322,9 @@
"child_agents_md": { "child_agents_md": {
"type": "boolean" "type": "boolean"
}, },
"chronicle": {
"type": "boolean"
},
"code_mode": { "code_mode": {
"type": "boolean" "type": "boolean"
}, },
+4
View File
@@ -45,6 +45,10 @@ const ALIASES: &[Alias] = &[
legacy_key: "memory_tool", legacy_key: "memory_tool",
feature: Feature::MemoryTool, feature: Feature::MemoryTool,
}, },
Alias {
legacy_key: "telepathy",
feature: Feature::Chronicle,
},
]; ];
pub fn legacy_feature_keys() -> impl Iterator<Item = &'static str> { pub fn legacy_feature_keys() -> impl Iterator<Item = &'static str> {
+4 -4
View File
@@ -132,8 +132,8 @@ pub enum Feature {
Sqlite, Sqlite,
/// Enable startup memory extraction and file-backed memory consolidation. /// Enable startup memory extraction and file-backed memory consolidation.
MemoryTool, MemoryTool,
/// Enable the Telepathy sidecar for passive screen-context memories. /// Enable the Chronicle sidecar for passive screen-context memories.
Telepathy, Chronicle,
/// Append additional AGENTS.md guidance to user instructions. /// Append additional AGENTS.md guidance to user instructions.
ChildAgentsMd, ChildAgentsMd,
/// Compress request bodies (zstd) when sending streaming requests to codex-backend. /// Compress request bodies (zstd) when sending streaming requests to codex-backend.
@@ -711,8 +711,8 @@ pub const FEATURES: &[FeatureSpec] = &[
default_enabled: false, default_enabled: false,
}, },
FeatureSpec { FeatureSpec {
id: Feature::Telepathy, id: Feature::Chronicle,
key: "telepathy", key: "chronicle",
stage: Stage::UnderDevelopment, stage: Stage::UnderDevelopment,
default_enabled: false, default_enabled: false,
}, },
+8
View File
@@ -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] #[test]
fn collab_is_legacy_alias_for_multi_agent() { fn collab_is_legacy_alias_for_multi_agent() {
assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab)); assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab));