feat(cli): add login and logout - #23
Conversation
Rate-limited users buy a key and had no official place to store it. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review limit reachedNext included review available in 10 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
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 |
Coverage Report for CI Build 32813496452Warning No base build found for commit Coverage: 76.285%Details
Uncovered Changes
Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5741af9. Configure here.
Co-authored-by: Cursor <cursoragent@cursor.com>

Summary
microlink login/logoutso a purchased API key can be saved locally (~/.config/microlink/config.json)./connecthandshake, fetches keys, and shows a TTY picker.--api-keystill wins overMICROLINK_API_KEYover the file.microlink login.Depends on the dashboard
/connectPR in microlinkhq/gateway.Test plan
microlink login --help/microlink logout --helpmicrolink logoutremoves~/.config/microlink/config.jsonMICROLINK_DASHBOARD_URL=http://localhost:3000 microlink loginsaves a key--api-key/ env)--api-keyandMICROLINK_API_KEYstill override the fileMade with Cursor