diff --git a/crates/tui/src/tui/views/mod.rs b/crates/tui/src/tui/views/mod.rs index 2f79796f..3ca08584 100644 --- a/crates/tui/src/tui/views/mod.rs +++ b/crates/tui/src/tui/views/mod.rs @@ -803,6 +803,13 @@ impl ConfigView { editable: true, scope: ConfigScope::Saved, }, + ConfigRow { + section: ConfigSection::History, + key: "auto_compact_threshold_percent".to_string(), + value: format!("{:.0}", settings.auto_compact_threshold_percent), + editable: true, + scope: ConfigScope::Saved, + }, ConfigRow { section: ConfigSection::History, key: "max_history".to_string(), @@ -1180,6 +1187,7 @@ fn config_hint_for_key(key: &str) -> &'static str { "sidebar_width" => "10..=50", "sidebar_focus" => "auto | work | tasks | agents | context | hidden", "max_history" => "integer (0 allowed)", + "auto_compact_threshold_percent" => "10..=100", "default_model" => "deepseek-v4-pro | deepseek-v4-flash | deepseek-* | none/default", "reasoning_effort" => "auto | off | low | medium | high | max | default", "mcp_config_path" => "path to mcp.json",