mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-17 04:12:17 +03:00
The `close` handlers in AuggieExecutor.runStreaming() and runNonStreaming() only ever checked the child's spawn-level `error` event against isEnoentLike()/cliNotFoundMessage(). On win32 (and any POSIX shell reporting via a non-zero exit instead of a Node spawn error), a missing `auggie` binary is reported as a normal process exit with "is not recognized..."/"not found" text on stderr, which close handlers surfaced verbatim instead of the existing friendly install-guidance message. Add isCliNotFoundText() to recognize these shell-reported shapes and route them through cliNotFoundMessage() in both close handlers.