feat: [AI-7520] Altimate LLM Gateway CLI signup + onboarding UX#1001
feat: [AI-7520] Altimate LLM Gateway CLI signup + onboarding UX#1001saravmajestic wants to merge 2 commits into
Conversation
- Add an `oauth` `method:"auto"` to the Altimate auth plugin: bind a loopback server on `localhost:7317`, open the browser to the web authorize page, verify `state`, and save the gateway credential to `~/.altimate/altimate.json` - Surface `altimate-backend` first in provider selection (TUI + clack) with the "Recommended · best tool-calling · 10M free tokens" hint Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…uth success
- Add `WelcomePanel` boot box (readiness-aware tips + "What is Altimate Code")
on the home screen; first run is a welcoming panel, not an auto-opened modal
- Restructure the model picker into READY / NEEDS-SETUP; add the curated
`DialogModelWelcome` (top 5 providers + "Search all providers"), Big Pickle
fallback, and `useReady` / `markSetupComplete`
- `/connect` opens the curated picker
- Altimate LLM Gateway sign-in confirms inline ("Authentication successful") and
auto-closes (auto-selecting a model) instead of dropping into the model picker
- Don't force Google: land on the sign-up page and let the user choose
(drop `google_start`); reword the sign-in instruction
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
Summary
CLI onboarding for the Altimate LLM Gateway + a welcoming first-run experience.
:7317) + browser → web sign-up page → credential delivered back to the CLI; saved to~/.altimate/altimate.jsonWelcomePanelboot box on the home screen (readiness-aware tips:/connect→/discover)DialogModelWelcome(top 5 providers + "Search all providers")google_start)Test plan
/connect→ Altimate LLM Gateway → browser → provisioned + connected/agents/v1/models→200)bun run typecheckclean🤖 Generated with Claude Code
Summary by cubic
Adds browser-based signup for the Altimate LLM Gateway and a welcoming first-run experience with a curated provider picker, so new users can connect and start chatting faster. Implements the CLI onboarding from Linear AI-7520.
localhost:7317with state check, opens web signup, saves creds to~/.altimate/altimate.json(override withALTIMATE_WEB_URL; defaults tohttps://app.myaltimate.comandhttps://api.myaltimate.com).WelcomePanelwith readiness-aware tips (/connect→/discover); suppress update toast until ready./connectnow opensDialogModelWelcome(top providers + “Search all providers…”); full picker reorganized into READY and NEEDS SETUP, adds Big Pickle fallback with confirm.altimate-backendfirst across TUI and CLI; renamed command to “Connect to your AI model provider”.useReady/markSetupCompleteunlock chat after selecting a model, Big Pickle, or finishing gateway sign-in.qwen-plus), simpler sections, “Paste API key” manual method.Written for commit 43fc015. Summary will update on new commits.