Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(sessions): match placeholder session titles case-insensitively
Totopo274a9bec5aedf6
diff --git a/crates/host-core/src/sessions.rs b/crates/host-core/src/sessions.rsindex 685963495..df89a3dcc 100644--- a/crates/host-core/src/sessions.rs+++ b/crates/host-core/src/sessions.rs@@ -363,7 +363,8 @@ const PLACEHOLDER_TITLES: [&str; 13] = [];fn is_default_title(title: &str) -> bool {- PLACEHOLDER_TITLES.contains(&title.trim())+ let t = title.trim();+ PLACEHOLDER_TITLES.iter().any(|p| p.eq_ignore_ascii_case(t))}// ---- UiMessage ⇄ transcript record mapping -----------------------------------@@ -4905,6 +4906,12 @@ mod tests {"Tarefa sem título","Yeni görev","New chat",+ "new task",+ "new chat",+ "tarefa sem título",+ "nova conversa",+ "yeni görev",+ "yeni sohbet",] {let session =create_session(&db, Some(placeholder.into()), None, None, None, None).unwrap();