You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(plugin): drop npx — install pinned devcoach from npm once, run via node
The plugin previously fetched devcoach via `npx -y` on every MCP launch AND every
Stop hook (which fire after each turn). Now it ships only config + a tiny bootstrap
(plugin/scripts/launch.mjs) — no committed binary:
- launch.mjs installs the pinned version (plugin/package.json) once into the plugin's
persistent data dir (${CLAUDE_PLUGIN_DATA}), then runs dist/bin.js in-process; it
re-installs only when a plugin update bumps the pin
- .mcp.json + both Stop hooks call `node ${CLAUDE_PLUGIN_ROOT}/scripts/launch.mjs <cmd>`
— zero per-invocation npx (warm hook run measured ~0.15s vs npx resolution each time)
- npm stays the single source of truth (no build artifact in git); sync-plugin.mjs keeps
the pin in lockstep with package.json and CI commits plugin/package.json on release
Verified: launcher installs devcoach@0.3.65 from npm, --version dispatches, and the MCP
server answers initialize through the launcher. Docs updated; Docusaurus build clean.
0 commit comments