Skip to content

v0.2.2 — fix npx bin resolution, interactive installer, CI + drift

Latest

Choose a tag to compare

@makafeli makafeli released this 17 Apr 14:35
· 1 commit to main since this release

v0.2.2

Fixed

  • npx @cave-man/realtime-register-skills <subcommand> now works.
    Added realtime-register-skills as a third bin alias so npx resolves a
    matching binary when invoked with the bare scoped package name.
    Previously npx errored with "could not determine executable to run"
    because no bin matched the unscoped name.

Changed

  • CLI versions are sourced from package.json via createRequire.
    rtr --version and skills --version now always report the published
    version; future bumps only need a single edit in package.json.
  • Interactive target picker. When skills install is run from a TTY,
    no --target is supplied, and multiple candidate targets exist, the
    installer now prompts via @inquirer/prompts. Non-TTY / --yes /
    piped input is unchanged.

Added

  • Vitest suite (22 tests, 3 files) covering skill-paths target
    detection, the YAML spec loader, and an end-to-end install/uninstall
    round-trip against an explicit --target.
  • GitHub Actions CI (ci.yml) — build, lint, audit, and tests on
    Node 20 and 22 for every push and PR; doctor gated to main pushes
    only so PRs don't hammer upstream docs.
  • Release workflow (release.yml) triggered by v*.*.* tags —
    verifies the tag matches package.json, runs tests + audit, and
    publishes with --provenance when NPM_TOKEN is configured (skips
    cleanly with a warning otherwise).
  • Weekly drift detection (drift.yml + scripts/diff-live.mjs) —
    every Monday 03:17 UTC runs rtr doctor and scrapes every operation,
    diffing path / method / required-field count against the shipped
    spec. Any mismatch opens or comments on an issue labelled
    fidelity-drift.
  • New module src/lib/package-version.ts — single source of truth
    for the CLI-reported version.

Quality gates

  • npm test — 22/22 passing across 3 suites.
  • npm run audit — 109 operations across 16 categories, 0 problems.
  • npm run build — clean tsc output.

Install

npx @cave-man/realtime-register-skills install

Full changelog: https://github.com/makafeli/realtime-register/blob/main/CHANGELOG.md