fix: remove auth gate from onboarding launch#702
Conversation
…itself The auth check added in PR #698 incorrectly blocked the onboarding launch when no auth.json existed. OpenCode handles authentication interactively and doesn't need pre-auth. Restore the original auto-launch behavior.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Caution Review failedThe pull request is closed. WalkthroughThe setup.sh script now unconditionally offers OpenCode onboarding and dynamically selects a model based on detected authentication providers in auth.json. The conditional gating that checked for existing authentication is removed, replaced with inline provider detection that populates an optional --model parameter for the onboarding command. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Mon Feb 9 01:30:37 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
auth.jsoncheck that was blocking the onboarding launch when no auth was configuredWhat was wrong
PR #698 added an auth check that showed "run
opencode auth login" instead of launching OpenCode when noauth.jsonexisted. This was incorrect — OpenCode prompts for auth on first run.Net result (PR #698 + this PR)
The good parts of #698 are preserved:
find_opencode_configguard (commands work withoutopencode.json)update_opencode_configruns aftersetup_opencode_cliin interactive pathOnly the incorrect auth gate is removed.
Summary by CodeRabbit