Skip to content

fix(onboard): wire auxiliary provider auth flags to non-interactive onboarding#484

Merged
alexey-pelykh merged 1 commit intomainfrom
fix/onboard-auxiliary-auth-flags
Mar 8, 2026
Merged

fix(onboard): wire auxiliary provider auth flags to non-interactive onboarding#484
alexey-pelykh merged 1 commit intomainfrom
fix/onboard-auxiliary-auth-flags

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Summary

  • Wire 23 auxiliary provider CLI flags (e.g., --mistral-api-key, --elevenlabs-api-key) that were registered but silently ignored during non-interactive onboarding
  • Replace explicit 4-key forwarding in register.onboard.ts with a dynamic spread over ONBOARD_PROVIDER_AUTH_FLAGS
  • Add applyNonInteractiveAuxiliaryAuth() to call credential setters for all auxiliary provider keys after runtime auth
  • Add ElevenLabs entry (--elevenlabs-api-key) to the provider auth flag system

Test plan

  • Existing register.onboard.test.ts tests pass (mock updated to include optionKey)
  • Type-check passes — no errors in changed files
  • Pre-commit lint (oxlint) passes with 0 warnings/errors
  • CI build + test green

Closes #478

🤖 Generated with Claude Code

…nboarding (#478)

ONBOARD_PROVIDER_AUTH_FLAGS defined 23 auxiliary provider CLI flags that
were registered on the Commander command but never forwarded to
onboardCommand() or consumed during non-interactive onboarding.

- Replace explicit 4-key forwarding in register.onboard.ts with a spread
  over ONBOARD_PROVIDER_AUTH_FLAGS, ensuring all provider flags reach
  onboardCommand()
- Add applyNonInteractiveAuxiliaryAuth() that maps 18 auxiliary provider
  option keys to their credential setters and calls them after runtime
  auth completes
- Add ElevenLabs entry to ONBOARD_PROVIDER_AUTH_FLAGS, AuthChoice, and
  OnboardOptions — unblocking --elevenlabs-api-key for TTS onboarding

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 8, 2026 18:11
@alexey-pelykh alexey-pelykh merged commit 98963b3 into main Mar 8, 2026
5 checks passed
@alexey-pelykh alexey-pelykh deleted the fix/onboard-auxiliary-auth-flags branch March 8, 2026 18:19
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.

fix(onboard): wire auxiliary provider auth flags to non-interactive onboarding

1 participant