Progress bar detection updates.

This commit is contained in:
Storm Dragon
2025-12-14 19:05:18 -05:00
parent 76472b83b5
commit 096aef9f08
2 changed files with 7 additions and 3 deletions

View File

@@ -284,8 +284,12 @@ class command:
self.env["commandBuffer"]["lastProgressTime"] = current_time
return
# Pattern 6: Claude Code progress indicators
claude_progress_match = re.search(r'[·✶✢✻✽*].*?\(esc to interrupt[^)]*\)', text)
# Pattern 6: Claude/Codex working indicators (bullets + "esc to interrupt")
claude_progress_match = re.search(
r'^[\s]*[•◦][^\n]*\(\s*(?:\d+m\s+)?\d+s?\s+•\s+esc to interrupt[^)]*\)',
text,
re.IGNORECASE,
)
if claude_progress_match:
if current_time - self.env["commandBuffer"]["lastProgressTime"] >= 1.0:
self.play_activity_beep()

View File

@@ -4,5 +4,5 @@
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributors.
version = "2025.12.10"
version = "2025.12.14"
code_name = "testing"