v3.12.1

mermaid-js/mermaidv3.12.1Jun 17, 2026by ruvnet

AI Summary

Hotfix ensuring metaharness plugin scripts are included in the published npm package tarball, resolving runtime errors where scripts were missing during execution.

Key Highlights

  • Fixed 'plugins/ruflo-metaharness/scripts/ not found' error.
  • Added `plugins` directory to the `files` field in package.json.
  • Added `prepublishOnly` hook to copy scripts before packaging.
  • Increased tarball size by 38 plugin scripts.

Full Release Notes

## Hotfix

3.12.0 shipped the metaharness CLI dispatcher + 9 MCP tools but the
plugin scripts the dispatcher delegates to weren't packed into the
published tarball. Real-user impact:

    $ npx ruflo@3.12.0 metaharness score --path .
    metaharness: plugins/ruflo-metaharness/scripts/ not found.
      Install ruflo with `npm i ruflo` or run from the ruflo repo.

## Fix

`@claude-flow/cli/package.json`:
- Added `"plugins"` to the `files` field
- Added `prepublishOnly` hook that copies `../../../plugins/ruflo-metaharness/` into the package before `npm pack`

Verified end-to-end on a fresh install — all 10 `npx ruflo metaharness *` subcommands now find their underlying scripts.

Tarball size: 1310 → 1348 files (+38 plugin scripts).

Anyone on 3.12.0 should `npm install ruflo@latest` (or `@3.12.1`) to pick up the fix.

šŸ¤– Generated with [RuFlo](https://github.com/ruvnet/ruflo)