Repository navigation
feat(doctor): --online says whether npm has a newer drive - #305
Merged
Merged
Conversation
cli-core 0.507.0's shared appDoctorCommand checks npm for a newer version under `--online` only when it is given the package name; drive passed none, so `drive doctor --online` said nothing about updates. drive now passes `@wirecat/drive-cli`, the name `upgrade` already used (moved to src/identity.ts so both share it). cli-base 0.68.0 → 0.68.1, as the coordinator asked. `doctor --online` asks npm, so the test matrix names why no offline test runs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leemour
force-pushed
the
chore/cli-core-0507
branch
from
October 31, 2026 21:08
9ee52ff to
fdd4e21
Compare
Merged
leemour
added a commit
that referenced
this pull request
Oct 31, 2026
Release preparation for `drive doctor --online` checking npm for a newer drive (#305). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <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.
What
appDoctorCommandgetspackageName: "@wirecat/drive-cli".drive doctor --onlinenow also reports whether npm has a newer drive (online.version). It uses cli-core #2232's--onlineand the shareddoctorsummary.What breaks for users
Nothing new: #303 already bumped to cli-core 0.507.0 and cli-base 0.68.0 and took cli-base's credential fallback. This PR only adds the version check to
doctor --onlineand moves cli-base to 0.68.1.Checks
pnpm release:check, step by step:standards:check,lint,typecheck,test:coverage(484 tests, 1 expected fail),contracts:check,docs:check,generate:check,version:check,security:no-leak,package:check.lint:commands: cli-base 0.68 reported a stale baseline entry,session start --credential-storage; refactor(session): take the keyring's file fallback from cli-base 0.68.0 #303 removed it too.test:matrix:check:doctor --onlinegets an untested reason, because it asks npm.contracts:upgrade: its script stops on this machine's corepack pnpm pin (11.20 vs 11.28). Run directly withcli-contract contracts/upgrade.json, every case passes.audit:commandsfails:audit: 7 CLIs, 415 findings, 23 new that block.doctor --onlineand thedoctorsummary. In both, drive now matches tg, wa and max (max's summary says "MAX"). Only memo and zm differ: memo lacks--online, and zm keeps its old summary.notes(drive against memo) andsearch: the shared contracts still to come in cli-base#390.Packed tarball: I ran
pnpm pack, thennpm install -ginto a scratch prefix. The installeddrivegives:--version: 0.53.0doctor --online --json:online.versionreports current, latest andnewer: falseskill showandcommands --json: rundefault mcp serve: exits 0 when stdin closespersonal mcp check --json:healthy: true,tools: 3🤖 Generated with Claude Code