v0.6 — Speech I/O Settings schema (audio foundation)#41
Merged
Conversation
c029b2a to
a2e8d0d
Compare
Schema-only foundation. No runtime audio yet — this is just the
persistence layer the upcoming STTService / TTSService work will
read.
Five new Settings fields, audio-off defaults:
- audioEnabled : Bool master toggle (mic + playback off until set)
- sttModel : String? whisper-small / medium / large-v3 / fun-asr
- ttsModel : String? marvis / chatterbox / cosyvoice2
- ttsVoice : String? id passed to TTS; voice cloning via
~/.mac-mlx/audio/voices/<name>.wav
- ttsAutoSpeak : Bool auto-play assistant replies (off by default)
Backwards-compatible decode: pre-v0.6 settings.json files (which
have none of these keys) load unchanged via decodeIfPresent so
existing installs upgrade without surprise mic permission prompts.
3 new SettingsAudioTests cover default state, JSON round-trip, and
legacy-JSON decode against a hand-written v0.5-shape payload.
136/136 Core tests green; local Xcode app build green.
Subsequent v0.6 work (mlx-swift-audio SPM dep, STTService /
TTSService actors, mic capture, push-to-talk button, speaker
buttons on chat bubbles) is tracked in
docs/superpowers/plans/2026-05-10-v0.6.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
a2e8d0d to
6856665
Compare
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.
Summary
Schema-only foundation for v0.6 speech I/O. No runtime audio yet — this is just the persistence layer the upcoming `STTService` / `TTSService` actors will read.
Plan: `docs/superpowers/plans/2026-05-10-v0.6.md`.
What lands
Five new `Settings` fields, audio-off defaults:
Backwards-compatible decode: pre-v0.6 `settings.json` files (which have none of these keys) load unchanged via `decodeIfPresent` so existing installs upgrade without surprise mic permission prompts.
Test plan
What's deferred to v0.6 implementation
🤖 Generated with Claude Code