Latest changes.
This commit is contained in:
@@ -81,7 +81,7 @@ read_numbers_as_digits = False
|
|||||||
# fenrirVolume = is replaced with the current volume
|
# fenrirVolume = is replaced with the current volume
|
||||||
# fenrirPitch = is replaced with the current pitch
|
# fenrirPitch = is replaced with the current pitch
|
||||||
# fenrirRate = is replaced with the current speed (speech rate)
|
# fenrirRate = is replaced with the current speed (speech rate)
|
||||||
generic_speech_command=espeak-ng -a fenrirVolume -s fenrirRate -p fenrirPitch -v fenrirVoice -- "fenrirText"
|
generic_speech_command=espeak-ng -a fenrir_volume -s fenrir_rate -p fenrir_pitch -v fenrir_voice -- "fenrir_text"
|
||||||
|
|
||||||
# min and max values of the TTS system that is used in generic_speech_command
|
# min and max values of the TTS system that is used in generic_speech_command
|
||||||
fenrir_min_volume=0
|
fenrir_min_volume=0
|
||||||
|
|||||||
@@ -284,8 +284,12 @@ class command:
|
|||||||
self.env["commandBuffer"]["lastProgressTime"] = current_time
|
self.env["commandBuffer"]["lastProgressTime"] = current_time
|
||||||
return
|
return
|
||||||
|
|
||||||
# Pattern 6: Claude Code progress indicators
|
# Pattern 6: Claude/Codex working indicators (bullets + "esc to interrupt")
|
||||||
claude_progress_match = re.search(r'[·✶✢✻✽*].*?\(esc to interrupt[^)]*\)', text)
|
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 claude_progress_match:
|
||||||
if current_time - self.env["commandBuffer"]["lastProgressTime"] >= 1.0:
|
if current_time - self.env["commandBuffer"]["lastProgressTime"] >= 1.0:
|
||||||
self.play_activity_beep()
|
self.play_activity_beep()
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
# Fenrir TTY screen reader
|
# Fenrir TTY screen reader
|
||||||
# By Chrys, Storm Dragon, and contributors.
|
# By Chrys, Storm Dragon, and contributors.
|
||||||
|
|
||||||
version = "2025.12.10"
|
version = "2025.12.14"
|
||||||
code_name = "master"
|
code_name = "master"
|
||||||
|
|||||||
Reference in New Issue
Block a user