Alias tui.whimsy to tui.effects.starfield (#47908)

Normalize the legacy setting so existing `tui.whimsy` values control the
starfield effect. If both keys appear in the same config layer, the explicit
`tui.effects.starfield` value takes precedence.

GitOrigin-RevId: 2884dbd643690d500ed8d1493ce47950d93d6ab3
This commit is contained in:
Ian MacLeod
2026-09-24 18:23:11 +00:00
committed by copyberry
parent f0f38b68f7
commit 5c8fc15cc9
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -10,6 +10,10 @@ struct ConfigKeyAlias {
}
const CONFIG_KEY_ALIASES: &[ConfigKeyAlias] = &[
ConfigKeyAlias {
legacy: &["tui", "whimsy"],
canonical: &["tui", "effects", "starfield"],
},
ConfigKeyAlias {
legacy: &["memories", "no_memories_if_mcp_or_web_search"],
canonical: &["memories", "disable_on_external_context"],
-1
View File
@@ -97,7 +97,6 @@ async fn local_load_preserves_defaults_and_resolved_overrides() -> anyhow::Resul
r#"
[tui]
animations = false
whimsy = false # Retired: must not override effects or prevent strict loading.
show_tooltips = false
show_server_version_notice = false
auto_recap = false