Skip to content

refactor(cli): share package version lookup with local doctor #36

Closed

Description

@abruption

The local doctor MCP client currently hardcodes 0.3.0, matching package.json today but requiring a second update on future versions. Share the existing --version package.json lookup with that in-memory client. Keep doctor tool enumeration and exit behavior unchanged. Verify source and packed fixtures use the package version in the actual in-memory handshake, with no provider generation or production Worker calls. Run typecheck, tests, and package smoke. Maintenance-only change; no version bump or standalone release.

Activity

  1. abruption commented on Nov 16, 2026

    @abruption
    OwnerAuthor

    Implemented in Draft PR #37, head 9d11899. Source and installed tarball fixtures both observe the actual in-memory doctor handshake using a changed fixture manifest version; fetch/undici Agent attempt counters remain zero. Tools and exit behavior retained. Local typecheck, build dry-run, 223 tests and package smoke passed; all four macOS/Ubuntu Node24/26 CI jobs, verify and trusted policy checks passed. Two independent CLI reviewers (Claude Opus 5.5 and Gemini 4 Argon medium) reviewed the final frozen revision with no required changes. No version bump, release, host installation changes, paid generation, or production Worker connection. Draft retained for owner Ready conversion and Codex review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions