feat(update): add source-based update flow from local git checkout#461
Open
Steven17D wants to merge 4 commits intoasheshgoplani:mainfrom
Open
feat(update): add source-based update flow from local git checkout#461Steven17D wants to merge 4 commits intoasheshgoplani:mainfrom
Steven17D wants to merge 4 commits intoasheshgoplani:mainfrom
Conversation
5fb66f5 to
e83c987
Compare
Introduce source-based self-updates as an alternative to release binary updates. Adds source_dir/source_ref config for tracking a local checkout, compares HEAD vs source_ref to compute update availability, runs git pull and builds directly to the install path during source-mode updates. Skips update prompt on diverged branches, validates source_dir is a git repository, and shows build commit hash in version output via ldflags. Builds directly to the executable path and re-signs with codesign on macOS to preserve the ad-hoc code signature.
e83c987 to
abc58fe
Compare
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
source_dirin user config (defaults to~/agent-deck)Test plan
make build, verify version shows commit hashsource_dirand runagent-deck update, verify it pulls and rebuilds🤖 Generated with Claude Code