Skip to content

feat: add periodic self-update checks - #21

Merged
pentaoa merged 1 commit into
mainfrom
feat/self-update
Sep 14, 2026
Merged

pentaoa merged 1 commit into
mainfrom
feat/self-update

Conversation

@pentaoa

@pentaoa pentaoa commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • check the official npm latest release at most once every 24 hours in interactive terminals
  • prompt before updating and support explicit sustech update [--yes]
  • preserve clean JSON/JSONL, redirected, and CI behavior; support source-linked checkouts

Validation

  • npm run check
  • npm test (463 passed)
  • node dist/cli.js version --json
  • node dist/cli.js update --json (official npm latest: 0.12.1)

@pentaoa
pentaoa merged commit fe5b10c into main Sep 14, 2026
6 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.

1 participant