openclaw/apps/macos/Sources
Guillaume Nodet 479fc7450e macOS: fix voice wake crash in trimmedAfterTrigger
Fixed an index out of bounds crash in VoiceWakeRuntime.trimmedAfterTrigger that occurred when processing voice transcripts. The issue was caused by attempting to subscript a string with an index that could exceed the string's endIndex when using indices from a lowercased version of the string.

Added a guard statement to check that the index is within bounds before attempting to subscript the string. If the index is out of bounds, the function continues to the next trigger instead of crashing.

Fixes the crash reported in crash.txt at line 743.
2026-01-28 15:15:36 +01:00
..
Moltbot macOS: fix voice wake crash in trimmedAfterTrigger 2026-01-28 15:15:36 +01:00
MoltbotDiscovery Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00
MoltbotIPC Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00
MoltbotMacCLI Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00
MoltbotProtocol Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00