Skip to content

Prefer enrollment on first-run CLI installs - #21

Merged
gersham merged 2 commits into
mainfrom
cursor/first-run-enroll-3b8a
Sep 21, 2026
Merged

gersham merged 2 commits into
mainfrom
cursor/first-run-enroll-3b8a

Conversation

@gersham

@gersham gersham commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • direct revoked/disconnected installs without a pending connection to agent enroll
  • retain agent connect for durable pending existing-account reconnects
  • add machine-readable first_run_enroll and reconnect_existing path labels
  • add agent enroll --force to discard unwanted pending connection state and any collected pending credential
  • update agent help/guidance and enrollment/reconnect tests

Testing

  • npm run build && node --test dist/cli.test.js (169 passed)
  • npm run check (706 passed, 1 skipped)
  • npm run check:public
  • stale reconnect-language scan (no matches)
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 21, 2026 23:09
Co-authored-by: Gersham Meharg <gersham@users.noreply.github.com>
Co-authored-by: Gersham Meharg <gersham@users.noreply.github.com>
@gersham
gersham marked this pull request as ready for review September 21, 2026 23:14
@gersham
gersham merged commit 36a84c3 into main Sep 21, 2026
6 checks passed
@gersham
gersham deleted the cursor/first-run-enroll-3b8a branch September 21, 2026 23:14
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