Skip to content

feat: add update command and fix MSVC build issue#8

Merged
ockhamliu merged 1 commit into
heco-cli:mainfrom
ockhamliu:main
May 6, 2026
Merged

feat: add update command and fix MSVC build issue#8
ockhamliu merged 1 commit into
heco-cli:mainfrom
ockhamliu:main

Conversation

@ockhamliu

Copy link
Copy Markdown
Contributor
  • Add update subcommand to automatically detect installation method (Cargo, Homebrew, Winget) and upgrade heco.
  • Implement background update checking with a daily cache to notify users of new versions without blocking command execution.
  • Add ureq dependency configured with native-tls (disabling default rustls) to ensure cross-platform compilation compatibility, especially for Windows MSVC targets.
  • Update AGENTS.md and README.md to document the new update command.

- Add `update` subcommand to automatically detect installation method (Cargo, Homebrew, Winget) and upgrade `heco`.
- Implement background update checking with a daily cache to notify users of new versions without blocking command execution.
- Add `ureq` dependency configured with `native-tls` (disabling default `rustls`) to ensure cross-platform compilation compatibility, especially for Windows MSVC targets.
- Update `AGENTS.md` and `README.md` to document the new `update` command.
@ockhamliu ockhamliu merged commit 186c243 into heco-cli:main May 6, 2026
1 check 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