Skip to content

feat(coding-agent): silent background self-update on startup - #9

Merged
ingoau merged 1 commit into
mainfrom
cursor/silent-startup-auto-update-9e6f
Sep 1, 2026
Merged

feat(coding-agent): silent background self-update on startup#9
ingoau merged 1 commit into
mainfrom
cursor/silent-startup-auto-update-9e6f

Conversation

@ingoau

@ingoau ingoau commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

Adds seamless silent self-updates on every pi startup for global package-manager installs (npm, pnpm, yarn, bun).

  • On startup, pi checks npm for a newer @southbag/code release via npm view
  • If a newer version exists and the install is a writable global package-manager install, pi runs the existing self-update command in the background
  • No output is shown; failures are swallowed so startup is never blocked
  • There is no opt-out flag or env var

The current session keeps running the version it started with; the update applies before the next launch.

Test plan

  • npx tsgo --noEmit passes
  • Global npm install: confirm background update runs when registry has a newer version
  • Source/dev checkout: confirm no update attempt (not a global install)
  • Startup remains instant with no visible output
Open in Web Open in Cursor 

Check npm for a newer @southbag/code release on every startup and run
the global package-manager update in the background with no output.
Failures are ignored so startup stays seamless.

Co-authored-by: Ingo Wolf <me@ingo.au>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 1, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
southbag-code 8ca01f8 Sep 01 2026, 07:25 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying editor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8ca01f8
Status: ✅  Deploy successful!
Preview URL: https://a08893d4.editor-015.pages.dev
Branch Preview URL: https://cursor-silent-startup-auto-u.editor-015.pages.dev

View logs

@ingoau
ingoau marked this pull request as ready for review September 1, 2026 07:26
@ingoau
ingoau merged commit e2f058a into main Sep 1, 2026
2 of 3 checks passed
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