v0.2.2
Fixed
npx @cave-man/realtime-register-skills <subcommand>now works.
Addedrealtime-register-skillsas 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.jsonviacreateRequire.
rtr --versionandskills --versionnow always report the published
version; future bumps only need a single edit inpackage.json. - Interactive target picker. When
skills installis run from a TTY,
no--targetis 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;doctorgated tomainpushes
only so PRs don't hammer upstream docs. - Release workflow (
release.yml) triggered byv*.*.*tags —
verifies the tag matchespackage.json, runs tests + audit, and
publishes with--provenancewhenNPM_TOKENis configured (skips
cleanly with a warning otherwise). - Weekly drift detection (
drift.yml+scripts/diff-live.mjs) —
every Monday 03:17 UTC runsrtr doctorand scrapes every operation,
diffingpath/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— cleantscoutput.
Install
npx @cave-man/realtime-register-skills installFull changelog: https://github.com/makafeli/realtime-register/blob/main/CHANGELOG.md