fix(config): detect OpenCode API key completion#934
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded tests for CLI auth config validation and extended OpenCode provider's success pattern matching to detect done-state responses. Reformatted prompt patterns across multiple providers (Anthropic, Google, Cursor, Copilot) into consistent multi-line regex expressions and adjusted function signature layouts for consistency. ChangesCLI Auth Configuration Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Summary
Doneline as a successful provider-auth signalVerification
npm --prefix packages/config test -- --runnpm --prefix packages/config run buildnpm --prefix packages/config test -- --run src/cli-auth-config.test.tsNotes
This is the canonical package-side fix. The published
agent-relay cloud connect opencodepath importsCLI_AUTH_CONFIGfrom@agent-relay/config/cli-auth-config. The remaining duplicate config copy lives in the cloud repo, so removing that duplication needs a cloud-side follow-up that imports this package instead of maintaining a local copy.