Skip to content
v1.5.6May 8, 2026

Hotfix on 1.5.5.

Hotfix on 1.5.5. 1.5.5 added the 6 Phase 7 adapters to `FIRST_PARTY_ADAPTERS` correctly, but the bundled `dist/cli.js` inlined `web-tree-sitter` while its companion `tree-sitter.wasm` runtime artifact was NOT copied to `dist/`. R-011 evidence (live test against published 1.5.5):

Hotfix on 1.5.5. 1.5.5 added the 6 Phase 7 adapters to FIRST_PARTY_ADAPTERS correctly, but the bundled dist/cli.js inlined web-tree-sitter while its companion tree-sitter.wasm runtime artifact was NOT copied to dist/. R-011 evidence (live test against published 1.5.5):

RuntimeError: Aborted(Error: ENOENT: no such file or directory,
  open '/Users/.../dist/tree-sitter.wasm')
  at abort (cli.js:13114:20)
  at Parser.init (cli.js:14585:19)
  at loadGrammar (cli.js:14946:3)

The bundled web-tree-sitter expects to find its sibling tree-sitter.wasm next to its own code. esbuild bundling inlines the JS but can't move companion wasm assets.

Fixed

  • Externalize web-tree-sitter (and other native-asset deps) from the cli bundlebuild:cli now passes --external:web-tree-sitter --external:tweetnacl --external:tar --external:smol-toml --external:vscode-languageserver-protocol. These remain dependencies in package.json so users get them via npm install and at runtime the bundle resolves them through normal node_modules. The companion tree-sitter.wasm resolves naturally next to web-tree-sitter's own code.

Verification

  • Rebuilt 1.5.6 cli.js loads grammars from <install>/node_modules/web-tree-sitter/tree-sitter.wasm correctly.
  • npx --yes @massu/core@1.5.6 init against a Phoenix fixture produces detected.phoenix: block with extracted conventions.

Try this release

Install the latest version of Massu and start governing your AI development today.