Skip to content

feat(voice): /devscope:voice model chooses the server's voice (0.27.0) - #38

Merged
DowLucas merged 1 commit into
mainfrom
feat/voice-model
Oct 7, 2026
Merged

DowLucas merged 1 commit into
mainfrom
feat/voice-model

Conversation

@DowLucas

@DowLucas DowLucas commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Choose which of the server's voices speaks:

/devscope:voice model              # list: "This server offers: chatterbox kokoro (the first is its default)"
/devscope:voice model kokoro       # keep the previous voice
/devscope:voice model chatterbox
/devscope:voice model default      # back to the server's choice
  • The choice lives in voice.json as model and is sent with every /api/ai/voice-audio request. Unset, nothing is sent and the server's default speaks.
  • The list comes from GET /api/ai/voice-models; a name the server doesn't offer, or a malformed one, is refused.
  • If the chosen voice is busy or down, the server uses its next one (Chatterbox ↔ Kokoro).
  • status shows the chosen voice. Docs: README, /devscope:voice help, CLAUDE.md, CHANGELOG.

Depends on DowLucas/devscope#85 (named voices). An older server ignores the choice.

Test plan

  • bash tests/voice/run.sh: 119 pass (new: no model by default, chosen model sent, list via /voice-models, set, refuse unknown, refuse malformed, default clears).
  • shellcheck clean.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Choose from available server voices, view the current selection, or restore the server’s default with the voice command.
    • Voice announcements use the selected model when supported; servers may fall back to another voice if it is unavailable.
    • The homelab’s default voice is now Chatterbox Turbo, with Kokoro available as an alternative.
  • Documentation
    • Updated voice setup and command guidance, including local voice fallbacks when the server is unavailable.

`model` lists the server's voices (/api/ai/voice-models, default first),
`model <name>` stores the choice in voice.json and sends it as `model` with
every voice-audio request, `model default` clears it. The homelab offers
Chatterbox Turbo (new default, Arc B580) and Kokoro (previous voice, CPU,
also the server's fallback). A name the server does not offer is refused.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3eb626db-c992-40f2-994c-356cc0f859df
📥 Commits

Reviewing files that changed from the base of the PR and between ec6a975 and 36910d3.

📒 Files selected for processing (9)
  • .claude-plugin/marketplace.json
  • .claude-plugin/plugin.json
  • CHANGELOG.md
  • CLAUDE.md
  • README.md
  • commands/voice.md
  • scripts/voice/cli.sh
  • scripts/voice/lib.sh
  • tests/voice/run.sh
 ___________________________________________________________
< Did you mean to handle errors, or just *experience* them? >
 -----------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@DowLucas
DowLucas merged commit 4a14ca0 into main Oct 7, 2026
11 of 12 checks passed
@DowLucas
DowLucas deleted the feat/voice-model branch October 7, 2026 12:34
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.

1 participant