Skip to content

feat(doctor): --online says whether npm has a newer drive - #305

Merged
leemour merged 1 commit into
mainfrom
chore/cli-core-0507
Oct 31, 2026
Merged

leemour merged 1 commit into
mainfrom
chore/cli-core-0507

Conversation

@leemour

@leemour leemour commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

What

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 --online and moves cli-base to 0.68.1.

Checks

pnpm release:check, step by step:

  • Pass: standards:check, lint, typecheck, test:coverage (484 tests, 1 expected fail), contracts:check, docs:check, generate:check, version:check, security:no-leak, package:check.
  • Pass after two fixes:
  • contracts:upgrade: its script stops on this machine's corepack pnpm pin (11.20 vs 11.28). Run directly with cli-contract contracts/upgrade.json, every case passes.
  • audit:commands fails: audit: 7 CLIs, 415 findings, 23 new that block.
    • Two lines name drive under doctor, mcp or skill: doctor --online and the doctor summary. 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.
    • No mcp or skill line names drive.
    • The other 21 lines are notes (drive against memo) and search: the shared contracts still to come in cli-base#390.

Packed tarball: I ran pnpm pack, then npm install -g into a scratch prefix. The installed drive gives:

  • --version: 0.53.0
  • doctor --online --json: online.version reports current, latest and newer: false
  • skill show and commands --json: run
  • default mcp serve: exits 0 when stdin closes
  • personal mcp check --json: healthy: true, tools: 3

🤖 Generated with Claude Code

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
leemour force-pushed the chore/cli-core-0507 branch from 9ee52ff to fdd4e21 Compare October 31, 2026 21:08
@leemour leemour changed the title feat(doctor): --online checks npm for a newer drive; cli-core 0.507.0 feat(doctor): --online says whether npm has a newer drive Oct 31, 2026
@leemour
leemour merged commit 527cd11 into main Oct 31, 2026
9 checks passed
@leemour leemour mentioned this pull request Oct 31, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant