feat(cli): add waves commands (tts, stt, voices, clones) - #83
Merged
Merged
Conversation
Extends the CLI beyond atoms to the models (waves) surface, dogfooding the
published client.waves:
- waves voices — list available voices for a model (gender + languages)
- waves clones — list cloned voices
- waves tts — synthesize speech to a file (--voice-id, --format, --model,
--sample-rate, --speed); defaults to wav
- waves stt — transcribe an audio file (--model pulse|pulse-pro, --lang,
--diarize)
Matches the existing calls/agents command style (make_client, rich tables,
--json). No version bump: rides the next release.
- Extract the repeated response-list unwrapper to _items(data, key). - Document that get-voices uses the hyphen form (lightning-v3.1) while tts uses the underscore form (lightning_v3.1); they are distinct API enums per endpoint, now noted in the --model help and a comment so it isn't mistaken for a typo.
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
Extends
smallestaiCLI to the models (waves) surface, matching the existingcalls/agentscommand style (make_client, rich tables,--json):waves voiceswaves cloneswaves tts <text> --voice-id …--format,--model,--sample-rate,--speed; defaults to wav)waves stt <file>--model pulse|pulse-pro,--lang,--diarize)Verification (live, against the API)
waves voices→ 234 voices, columns populated fromtags.waves clones→ 74 cloned voices.waves tts "Hello from the smallest CLI." --voice-id kanik→ wrote 155276 bytes.waves stton that file →Hello from the smallest CLI.(clean round-trip).No version bump — rides the next release (after #82's 5.4.2). To place a call,
smallestai agents callalready exists.🤖 Generated with Claude Code