Commit 2bbb04e
Bubba
v0.0.2: replace codebuff.com login with PlanExe auth method selector
- Add cli/src/utils/planexe-auth.ts — local auth config at ~/.config/planexe/auth.json
- Supports: claude, codex, openrouter (BYOK), lmstudio (local)
- OpenRouter key stored at ~/.config/planexe/openrouter-key
- LM Studio baseUrl defaults to http://localhost:1234/v1
- Add cli/src/components/auth-method-selector.tsx — replaces LoginModal
- Menu: 1. Claude Code 2. OpenAI Codex 3. OpenRouter API Key 4. LM Studio
- Arrow keys / 1-4 + Enter to select
- Claude & Codex OAuth flows preserved
- OpenRouter: prompt for API key, persist locally
- LM Studio: no auth, just save config and continue
- Modify cli/src/index.tsx
- AppWithAsyncAuth checks hasPlanExeAuth() before rendering App
- If not configured → show AuthMethodSelector
- If configured → pass requireAuth=false to App (bypasses LoginModal)
- Update cli/release/package.json version to 0.0.21 parent c88f594 commit 2bbb04e
4 files changed
Lines changed: 539 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments