| ... | ... | @@ -554,6 +554,8 @@ function toolDetailTextLooksLikeFailure(text: string): boolean { |
| 554 | 554 | normalized.includes("command not found") || |
| 555 | 555 | (normalized.includes("cannot find path") && normalized.includes("because it does not exist")) || |
| 556 | 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") || |
| 557 | 559 | /<exited with exit code\s+[1-9]\d*\s*>/i.test(text) || |
| 558 | 560 | /exit(?:ed)? with exit code\s+[1-9]\d*/i.test(text) || |
| 559 | 561 | /exit code\s*[:\s]\s*[1-9]\d*\b/i.test(text) |