fix: strip claude title spinner frames (#2709)

* fix: source title activity glyphs from manifests

refs #2707

* fix: simplify manifest-driven title stripping

refs #2707

* fix: reconcile handoff title policies

refs #2707

* fix: strip claude title spinner frames

refs #2707

* fix: keep claude detection manifest unchanged

---------

Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
This commit is contained in:
akbash
2026-08-12 22:56:19 +03:00
committed by GitHub
co-authored by akbash-bot Ogulcan Celik
parent 1079fff412
commit 49e333ae87
+12 -2
View File
@@ -1,4 +1,4 @@
const CLAUDE_ACTIVITY_GLYPHS: &str = "·✢✳✶✻✽";
const CLAUDE_ACTIVITY_GLYPHS: &str = "·✢✳✶✻✽◐◓◑◒";
pub(crate) fn stripped_terminal_title(title: &str) -> Option<String> {
let title = crate::platform::terminal_title_for_presentation(title).trim();
@@ -28,7 +28,17 @@ mod tests {
#[test]
fn strips_one_recognized_leading_activity_glyph() {
for title in ["⠋ task", "✳ task", " ⠙ task ", "✢ task", "✻ task"] {
for title in [
"⠋ task",
"✳ task",
" ⠙ task ",
"✢ task",
"✻ task",
"◐ task",
"◓ task",
"◑ task",
"◒ task",
] {
assert_eq!(stripped_terminal_title(title).as_deref(), Some("task"));
}
assert_eq!(