Skip to content

feat: add --update lightweight mode + version check hook#171

Merged
Wool-xing merged 1 commit into
mainfrom
feat/update-version-check
Jun 1, 2026
Merged

feat: add --update lightweight mode + version check hook#171
Wool-xing merged 1 commit into
mainfrom
feat/update-version-check

Conversation

@Wool-xing
Copy link
Copy Markdown
Owner

Summary

  • --update flag: lightweight update — skip venv/dirs/prerequisites, sync files + deps only
  • Write .version during full install for future update detection
  • check_version.py: HTTP fetch remote VERSION, 24h cooldown, called by Claude Code Stop hook
  • settings.json: Claude Code Stop hook auto-checks version on session end

Test plan

  • python install.py --help shows --update flag
  • python install.py --update without .version shows helpful error
  • python install.py --update with same version reports "already up to date"
  • python install.py (full) writes .version file
  • Pre-commit hooks pass (utils count stays 78)

- --update flag: skip venv/dirs/prerequisites, sync files + deps only
- Write .version during full install for future update detection
- check_version.py: HTTP fetch remote VERSION, 24h cooldown, Stop hook
- settings.json: Claude Code Stop hook auto-checks on session end
@Wool-xing Wool-xing merged commit 6262a81 into main Jun 1, 2026
15 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