Skip to content

feat: [AI-7520] Altimate LLM Gateway CLI signup + onboarding UX#1001

Draft
saravmajestic wants to merge 2 commits into
mainfrom
feat/AI-7520-social-signup-authorize
Draft

feat: [AI-7520] Altimate LLM Gateway CLI signup + onboarding UX#1001
saravmajestic wants to merge 2 commits into
mainfrom
feat/AI-7520-social-signup-authorize

Conversation

@saravmajestic

@saravmajestic saravmajestic commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

CLI onboarding for the Altimate LLM Gateway + a welcoming first-run experience.

  • Gateway sign-in: loopback (:7317) + browser → web sign-up page → credential delivered back to the CLI; saved to ~/.altimate/altimate.json
  • WelcomePanel boot box on the home screen (readiness-aware tips: /connect/discover)
  • Model picker restructured into READY / NEEDS-SETUP + curated DialogModelWelcome (top 5 providers + "Search all providers")
  • Inline green "Authentication successful" confirmation that auto-closes and auto-selects a model (instead of dropping into the picker)
  • Don't force Google: land on the sign-up page and let the user choose (drop google_start)

Test plan

  • /connect → Altimate LLM Gateway → browser → provisioned + connected
  • Gateway key authenticates (/agents/v1/models200)
  • bun run typecheck clean

🤖 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.

  • New Features
    • Gateway OAuth flow: loopback on localhost:7317 with state check, opens web signup, saves creds to ~/.altimate/altimate.json (override with ALTIMATE_WEB_URL; defaults to https://app.myaltimate.com and https://api.myaltimate.com).
    • Inline success for gateway auth: shows green “Authentication successful”, auto-selects a model, then auto-closes; no longer forces Google—lands on signup so users can choose.
    • Home screen: new WelcomePanel with readiness-aware tips (/connect/discover); suppress update toast until ready.
    • /connect now opens DialogModelWelcome (top providers + “Search all providers…”); full picker reorganized into READY and NEEDS SETUP, adds Big Pickle fallback with confirm.
    • Provider ordering: surface altimate-backend first across TUI and CLI; renamed command to “Connect to your AI model provider”.
    • Readiness gating: new useReady/markSetupComplete unlock chat after selecting a model, Big Pickle, or finishing gateway sign-in.
    • Model picker tweaks: warn on known tool-calling issues (e.g., qwen-plus), simpler sections, “Paste API key” manual method.

Written for commit 43fc015. Summary will update on new commits.

Review in cubic

saravmajestic and others added 2 commits July 9, 2026 07:56
- 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>
@saravmajestic saravmajestic self-assigned this Jul 9, 2026
@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 23dc742d-8fcd-4c3f-975b-2ce8747b49b7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/AI-7520-social-signup-authorize

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant