Skip to content

feat(desktop): skip login; model setup then first chat - #86

Merged
XYAIStudio merged 2 commits into
mainfrom
cursor/desktop-skip-login-first-chat-ebaf
Sep 20, 2026
Merged

XYAIStudio merged 2 commits into
mainfrom
cursor/desktop-skip-login-first-chat-ebaf

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Summary

Desktop first-run no longer requires registration or login. After launch, the first screen is optional model setup (cloud API key or local Ollama). Skip or save then opens a conversation with the default first agent (/chat/main), not the workspace conversation list.

Existing users who already have providers or have skipped/saved this step are not sent through the wizard again.

Rebased onto main after #85 squash-merge. CHANGELOG Unreleased keeps both the security note (no packaged/prefilled cloud keys) and this first-run UX entry. No installers, no merge from this PR.

Target branch

  • Base is develop (feature / fix — default)
  • Base is main (requested product UX on the shipping desktop tree)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Before / after

Before: guest session could skip a login form, but first-run still dumped into /chat → conversation list (/projects), and the setup “already done” check compared against /chat (never matched /projects), so returning users could loop on model setup.

After:

  1. Launch → local guest session (no register/login wall)
  2. Optional model setup (Ollama / cloud key / skip)
  3. Skip or save → chat with default assistant (main)
  4. Later launches with providers or the skip flag → normal studio, not the wizard

Optional account claiming stays in the avatar menu for save/export/org room. Organization login remains a separate door.

Test plan

Checklist

  • Updated CHANGELOG.md (Unreleased: security + first-run UX)
  • README / docs updated (if needed) — product copy already covers local-studio-first; no README change

Intentional leftovers

  • Register/sign-in remains available later (avatar menu) for persist/export and for the organization room.
  • Remote/server installs still use the password + admin wizard; this PR only changes the desktop first-run path.
  • Merge and v0.0.4 rebuild are left to the coordinator. No Release packaging from this PR.
Open in Web Open in Cursor 

@XYAIStudio
XYAIStudio marked this pull request as ready for review September 20, 2026 13:56
cursoragent and others added 2 commits September 20, 2026 15:30
Desktop first launch no longer requires registration. The first screen is
optional model setup (cloud key or local Ollama, skippable). Skip or save
opens a conversation with the default assistant instead of the workspace
list. Returning users with providers or a finished onboarding flag are
not sent through the wizard again.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Stop the desktop local-session retry loop from touching window after the
login page unmounts, which was failing the first-run tests.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@cursor
cursor Bot force-pushed the cursor/desktop-skip-login-first-chat-ebaf branch from 91dbc3b to 5a4804d Compare September 20, 2026 15:30
@XYAIStudio
XYAIStudio merged commit 6a3ef5a into main Sep 20, 2026
5 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/desktop-skip-login-first-chat-ebaf branch September 20, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants