Add auto-update support#36
Merged
Merged
Conversation
Auto-update: enabled via ~/.lattice/config.yaml (auto_update: true) or LATTICE_AUTO_UPDATE=1 env var. When enabled, silently updates instead of printing the notice. Disabled by default. Update notice now mentions auto-update option. README: added Updating section with auto-update docs, updated install description for ~/.local/bin default, updated status line. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lattice can now silently auto-update when a newer version is available.
How it works
Enable in
~/.lattice/config.yaml:Or per-session:
LATTICE_AUTO_UPDATE=1When enabled,
maybe_notify_update(which runs after every command) silently downloads and replaces the binary instead of printing the update notice. Works seamlessly with the~/.local/bininstall path (no sudo).Disabled by default. Skipped for dev builds, MCP mode, and when no TTY.
Also
🤖 Generated with Claude Code