AutoUpdater
A built-in update engine that runs inside the server process — no Claude session needed.
How It Works
Section titled “How It Works”- Checks npm for new versions every 30 minutes
- Downloads the update to a shadow install directory (
.instar/shadow-install/) - Notifies you via Telegram with a changelog summary
- Self-restarts with the new version
Since v0.17.3, updates use a shadow install pattern rather than global npm install. The new version is installed into a local shadow directory, and the server restarts using the shadow binary. This avoids permission issues, keeps updates isolated, and works whether Instar was installed globally or via npx.
Status
Section titled “Status”curl localhost:4040/updates/autoReturns last check time, current version, available version, and next check time.
Manual Check
Section titled “Manual Check”curl localhost:4040/updatescurl localhost:4040/updates/lastNo Session Required
Section titled “No Session Required”Previous versions used a update-check prompt job that spawned a Claude session to check for updates. The AutoUpdater replaces this with a lightweight server-side check — no Claude session needed, no quota consumed.