The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 17:45 UTC
fix(mobile): detect PowerShell cmdlet errors in work log rows (#5726)
Mina Yacoub committed
Aug 10, 2026 at 12:34 UTC
67ef189d8b7b68c3096350db404bd649704ec6f2
1 file changed
+2
apps/mobile/src/lib/threadActivity.ts
+2
@@ -554,6 +554,8 @@ function toolDetailTextLooksLikeFailure(text: string): boolean {
554
normalized.includes("command not found") ||
555
(normalized.includes("cannot find path") && normalized.includes("because it does not exist")) ||
556
(normalized.includes("is not recognized") && normalized.includes("the term '")) ||
557
+ normalized.includes("is not recognized as the name of a cmdlet") ||
558
+ normalized.includes("a parameter cannot be found that matches parameter name") ||
559
/<exited with exit code\s+[1-9]\d*\s*>/i.test(text) ||
560
/exit(?:ed)? with exit code\s+[1-9]\d*/i.test(text) ||
561
/exit code\s*[:\s]\s*[1-9]\d*\b/i.test(text)