Skip to content

feat: add personas voices CLI command (API parity)#85

Merged
callumreid merged 3 commits into
mainfrom
feat/cli-api-parity-personas-voices
Jul 2, 2026
Merged

feat: add personas voices CLI command (API parity)#85
callumreid merged 3 commits into
mainfrom
feat/cli-api-parity-personas-voices

Conversation

@callumreid

@callumreid callumreid commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds voices subcommand to coval personas.

What's New

  • coval personas voices — list all available voices with supported languages

Matches GET /v1/personas/voices endpoint.

Verification

$ coval personas voices
╭────────────┬──────────────────────────────────────────────────────╮
│ Voice Name │ Supported Languages                                  │
├────────────┼──────────────────────────────────────────────────────┤
│ aria       │ bg-BG, da-DK, en-AU, en-IN, en-GB, en-US, fr-CA, ... │
│ ashwin     │ bg-BG, da-DK, en-AU, en-IN, en-GB, en-US, fr-CA, ... │
...
  • cargo build ✓ - cargo test 90/90 ✓

Greptile Summary

This PR adds a voices subcommand to coval personas, hitting GET /v1/personas/voices and rendering results as a table. The implementation follows the same patterns used by PhoneNumbers and other list commands already in the codebase.

  • New Voice model and ListVoicesResponse in persona.rs, with #[serde(flatten)] for forward-compatibility with unknown API fields.
  • PersonasClient::list_voices added to client/mod.rs, wired into the PersonaCommands::Voices match arm in commands/personas.rs.

Confidence Score: 5/5

Safe to merge — the change is an additive read-only command with no side effects and follows established patterns throughout the codebase.

The new command is a straightforward read-only addition: it calls a single GET endpoint, deserializes the response into a new model, and renders a table. No existing behavior is modified. The model, client method, and command handler all mirror the existing PhoneNumbers path closely, leaving little room for regression.

No files require special attention.

Reviews (3): Last reviewed commit: "fix: address review comments" | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@callumreid, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c00221fb-98ed-4b9e-b187-d2f538dc60f5

📥 Commits

Reviewing files that changed from the base of the PR and between 61d1d1d and e23c24e.

📒 Files selected for processing (4)
  • .gitignore
  • src/client/mod.rs
  • src/client/models/persona.rs
  • src/commands/personas.rs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread src/client/models/persona.rs
Comment thread src/client/models/persona.rs
@callumreid

Copy link
Copy Markdown
Contributor Author

🟢

@borgesius borgesius left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. This is a read-only voices command, and the response model matches the backend voices schema.

@callumreid callumreid merged commit 4f861ed into main Jul 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants