Release/v0.2.38#67
Merged
Merged
Conversation
On macOS/Linux the local provider claimed 'Prebuilt binary download was
attempted but failed' even though no prebuilt binaries exist there and
none was attempted. The actual failure (CMake missing, build error) was
only console.warn'd and ensureWhisperBinary's result was discarded, so
users got a misleading generic hint.
- buildToolsHint(platform): platform-aware guidance, exported for tests
- ensureWhisperBinary/buildFromSource return {ok, reason} with the real
cause (incl. truncated compiler stderr)
- transcribe() fails fast with that reason instead of letting
nodejs-whisper throw its generic 'executable not found'
A whisper-cli already installed on PATH (e.g. brew install whisper-cpp on macOS) is now copied into the nodejs-whisper tree before any prebuilt download or CMake build is attempted — local STT works with zero compilation. The macOS build hint now recommends this as the fastest path.
devglide setup now ends with a dependency check for the voice local provider (ffmpeg, whisper-cli, cmake) with platform-specific install hints. cmake is only flagged when whisper-cli actually needs a source build. Checks are injectable and unit-tested.
…-hint Fix/voice macos whisper hint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.