Hands-free voice mode (VAD) + install-on-demand for voice dependencies (PR4 of 6) - #797
Merged
will-lamerton merged 12 commits intoAug 9, 2026
Conversation
…e the useVoice hook
RONAK-AI647
requested review from
Avtrkrb,
akramcodez and
will-lamerton
as code owners
August 5, 2026 12:43
Member
|
Nice work @RONAK-AI647 :) |
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.
What this does
Two things in this PR:
No more manual terminal installs. The first time you try voice mode and
the required tools (sox, whisper, piper) aren't installed, Nanocoder now asks
you right there in the app - "Install now? Y/N" - and installs everything
automatically if you say yes. No separate terminal, no manual steps.
Real hands-free voice. You can now switch to
/voice hands-freeand justtalk - no need to hold a button. Nanocoder listens continuously and
automatically detects when you start and stop speaking.
Known limitation
The hands-free listening uses a simple volume-based detection method rather than
a full AI speech detector. This keeps it lightweight and working across every
platform, but it means loud background noise could occasionally be picked up as
speech. This is a reasonable first version - a smarter version can come later if
needed.
Test 1: Install prompt
Test 2: Real install
(e.g.
which sox,which whisper-cli,which piper) and confirm all threeare genuinely present - not just sox.
Test 3: Hands-free mode
automatically.
the reply), then back to Listening automatically for the next turn.
Test 4: Push-to-talk still works