Skip to content

feat(channels): require STT/TTS auth credentials for voice-only channels#485

Merged
alexey-pelykh merged 1 commit intomainfrom
feat/voice-channel-credentials
Mar 8, 2026
Merged

feat(channels): require STT/TTS auth credentials for voice-only channels#485
alexey-pelykh merged 1 commit intomainfrom
feat/voice-channel-credentials

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Summary

  • Add voiceOnly flag to ChannelCapabilities type and display it in capabilities output
  • Create shared voice credential validation utilities (checkSttCredentials, checkTtsCredentials, validateVoiceCredentials) with plugin-sdk exports
  • Validate credentials at three points: remoteclaw channels add (warns after adding voice-only channel), voice-call plugin service start (runtime warnings via logger), and remoteclaw doctor (health check note)
  • Edge TTS counts as a valid free provider; STT has no free fallback and requires a configured provider key

Closes #471

Test plan

  • Unit tests for checkSttCredentials — verifies provider iteration, error handling, first-available selection
  • Unit tests for checkTtsCredentials — verifies edge TTS counts as valid, provider iteration
  • Unit tests for validateVoiceCredentials — combined report
  • Unit tests for noteVoiceChannelHealth — skip when plugin absent/disabled, warn on missing STT/TTS/both
  • Manual: remoteclaw channels add voice-call without STT credentials → warning printed
  • Manual: remoteclaw doctor with voice-call enabled but missing credentials → note displayed

🤖 Generated with Claude Code

…els (#471)

Add voice credential validation at three levels: channel enable time
(channels add), runtime (voice-call plugin service start), and health
check (remoteclaw doctor). Edge TTS counts as a valid free provider;
STT has no free fallback and requires a configured provider.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 8, 2026 18:18
@alexey-pelykh alexey-pelykh merged commit da482d8 into main Mar 8, 2026
5 checks passed
@alexey-pelykh alexey-pelykh deleted the feat/voice-channel-credentials branch March 8, 2026 18:27
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.

feat(channels): require STT/TTS auth credentials for voice-only channels

1 participant