buddy-agent-harness@0.4.0
Minor Changes
-
9f1ee23: Run the CLI that ships with the skill, and pin the
npxfallback.Both skills told an agent to run
npx -y buddy-agent-harness, which downloads the package even when an installed plugin already has it on disk. Each skill now ships a launcher atskills/<name>/scripts/<name>.mjsthat resolves the CLI from its own location, so it runs against the working directory without fetching anything.npxstays documented as the fallback, now pinned to the caret range of the version that generated the skill. Unpinned, a skill from an older install drove whatever npm called latest, and its flags and findings table stopped describing the command it had just run.The fallback is not redundant. A plugin installed from git is a source checkout whose dependencies are never installed, so the launcher cannot resolve
clibuilderandnpxis the only path that works. An npm-installed plugin has them and takes the launcher.renderDoctorSkillnow takes the version to pin, andscripts/generate-doctor-skill.tsbecomesscripts/generate-skills.ts(pnpm skill:gen), which writes both launchers, regenerates thedoctorskill, and rewrites the pinned fallback in the hand-writteninitskill. It runs duringchangeset versionso the pin follows the release.