Repository navigation
feat(cli): restore package-owned update command - #107
Open
Simon Liang (AgentWings) wants to merge 1 commit into
Open
Simon Liang (AgentWings) wants to merge 1 commit into
Simon Liang (AgentWings) wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Restore
dedalus update [--check]. The command checks the latest stable release and upgrades only when it is newer than the running CLI. A verified global npm installation updates to that exact version; a verified Homebrew formula upgrades only after its published version matches the release.--checkdoes not probe or modify the installation, and the Node runtime is never replaced.Standalone binaries, Homebrew casks, Windows installs, local npm installs and unrecognized layouts receive manual instructions. Automatic startup prompts are outside this change. Development and prerelease builds require an explicit package-manager update.
Validation
npm run typechecknpm run buildnode --test tests/update.test.mjs: 10 passing tests covering read-only checks, no downgrades, package ownership, publication lag and failure propagation.node dist/esm/bin.js update --helppnpm run test:package: clean tarball installation passed all 36 selected tests, including the updater suite.Hosted regeneration and real package-manager upgrades have not been exercised. This PR is 239 additions and 4 deletions, including tests and documentation; the command and its ownership checks form one reviewable change.
Repro / Showcase
N/A (no visual surface changed)
Reviewers