v0.2.1 — flag consistency + self-update via nestagents.io#2
Merged
Conversation
…ory (alias --vault-slug)
…lf_update/GitHub path; bump to v0.2.1
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.
Small consistency pass before public release. All three changes are backward-compatible (old flags kept as visible aliases for one release cycle; plan to drop in v0.4.0).
1.
--user→--address(alias--user)Six redemption commands used
--user; three others already used--address. Unified on--addresseverywhere, with--userkept as a visible alias. Affected:claim {pending,submit},instant-redeem submit,update-redeem {pending,submit},auto-claim {status,enable,disable}.2.
--vault-slug→--vault(alias--vault-slug) onhistoryEvery other vault-targeting command uses
--vault;historywas the lone--vault-slug. Renamed, alias kept.3.
nest updatenow uses the nestagents.io version manifestReplaces the GitHub Releases lookup (which 401s while the repo is private). The GitHub/
self_updatepath is removed entirely.https://nestagents.io/downloads/version.json(override withNEST_UPDATE_MANIFEST_URL).--check: compares manifestversionto the running version → "Up to date" / "Update available".nest, and atomically replaces the running binary (stage-alongside +rename)..exeis out of scope for v0.2.x).curl … install.shfallback and exits non-zero.Dropped
self_update; addedsha2,flate2,tar.Tests
--userrenames + thehistory--vault-slugalias.updater:is_newer,host_triple, andfetch_manifestagainst a wiremock server.update:decide(current vs newer),verify_sha256(match/case-insensitive/mismatch), andinstall_archive(builds a real.tar.gz, extracts + replaces a temp dest).nest update --checkend-to-end against a local server (both "current" and "newer" responses).cargo test(32),cargo clippy --all-targets -- -D warnings,cargo fmt -- --checkall green.Out of scope (per spec)
version.jsontonest-agents(separate repo/commit, owned by the user).--addressmigration (inline doc comments updated; README left to the user).After tag + release I'll report the commit SHA and the four platform-tarball sha256 sums for
version.json.