feat: chronicle alias (#18651)

Rename Telepathy to Chronicle and add an alias for backward
compatibility
This commit is contained in:
jif-oai
2026-04-20 11:52:21 +01:00
committed by GitHub
Unverified
parent fc758af9eb
commit 1c24347772
4 changed files with 22 additions and 4 deletions
+6
View File
@@ -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"
},
+4
View File
@@ -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> {
+4 -4
View File
@@ -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,
},
+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]
fn collab_is_legacy_alias_for_multi_agent() {
assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab));