Add OpenSuperWhisper local voice input #8

Merged
hermes merged 3 commits from fm/dotfiles-opensuperwhisper into main 2026-10-24 17:58:17 -04:00
Owner

Summary

Adds OpenSuperWhisper for local voice-first prompting: hold a shortcut, speak, release, and the transcript pastes into the focused agent. Audio and transcripts never leave the Mac.

  • Adds the opensuperwhisper cask in configuration.nix.
  • Adds home.activation.openSuperWhisper in home.nix:
    • downloads ggml-large-v3-turbo.bin to the app's Application Support directory when missing, verifies SHA256, and moves it into place atomically;
    • warns and cleans up on network or checksum failure instead of failing the switch;
    • seeds selectedWhisperModelPath only when no model is selected or the selected file is gone.
  • Does not write the trigger, language, paste settings, or hasCompletedOnboarding, so app-owned settings and macOS permissions stay manual.
  • Documents first-run steps, permissions, the default shortcut, the model path, and the type-don't-dictate fallback in readme.md and AGENTS.md.

Validation

  • nix build .#darwinConfigurations.lt-mbp.system passes on the final tree.
  • Built Brewfile contains cask "opensuperwhisper" and the built activation script contains the model seed block.
  • Model SHA256 matches the Hugging Face LFS metadata for the 1.62 GB file.
  • Download logic exercised in a temp HOME: valid checksum (file moved into place), bad checksum (warning, temp removed, exit 0), unreachable host (warning, temp removed, exit 0).
  • The 1.6 GB download is a first-run step on the machine, not a pipeline test.

First run on the machine

  1. ./rebuild.sh installs the cask and downloads the model.
  2. Open the app and grant Microphone and Accessibility. Input Monitoring is needed for a single-modifier trigger.
  3. The trigger is Right Option on this profile (the app default on a fresh profile is Option plus backtick).
  4. Hold the trigger, speak, release; the transcript auto-pastes.

Pipeline: no-mistakes, with pr and ci skipped because this forge is Gitea.

## Summary Adds OpenSuperWhisper for local voice-first prompting: hold a shortcut, speak, release, and the transcript pastes into the focused agent. Audio and transcripts never leave the Mac. - Adds the `opensuperwhisper` cask in `configuration.nix`. - Adds `home.activation.openSuperWhisper` in `home.nix`: - downloads `ggml-large-v3-turbo.bin` to the app's Application Support directory when missing, verifies SHA256, and moves it into place atomically; - warns and cleans up on network or checksum failure instead of failing the switch; - seeds `selectedWhisperModelPath` only when no model is selected or the selected file is gone. - Does not write the trigger, language, paste settings, or `hasCompletedOnboarding`, so app-owned settings and macOS permissions stay manual. - Documents first-run steps, permissions, the default shortcut, the model path, and the type-don't-dictate fallback in `readme.md` and `AGENTS.md`. ## Validation - `nix build .#darwinConfigurations.lt-mbp.system` passes on the final tree. - Built Brewfile contains `cask "opensuperwhisper"` and the built activation script contains the model seed block. - Model SHA256 matches the Hugging Face LFS metadata for the 1.62 GB file. - Download logic exercised in a temp HOME: valid checksum (file moved into place), bad checksum (warning, temp removed, exit 0), unreachable host (warning, temp removed, exit 0). - The 1.6 GB download is a first-run step on the machine, not a pipeline test. ## First run on the machine 1. `./rebuild.sh` installs the cask and downloads the model. 2. Open the app and grant Microphone and Accessibility. Input Monitoring is needed for a single-modifier trigger. 3. The trigger is Right Option on this profile (the app default on a fresh profile is Option plus backtick). 4. Hold the trigger, speak, release; the transcript auto-pastes. Pipeline: no-mistakes, with `pr` and `ci` skipped because this forge is Gitea.
hermes added 3 commits 2026-10-24 15:57:16 -04:00
Install the opensuperwhisper cask and add home.activation.openSuperWhisper
to download the Whisper V3 Large turbo model once, verify its SHA256, and
set the app defaults. Model and defaults stay outside the Nix store; macOS
TCC grants remain manual. Document first-run steps, permissions, and the
default shortcut in readme.md and AGENTS.md.
hermes merged commit b37ee69be1 into main 2026-10-24 17:58:17 -04:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: transnet/dotfiles#8