fix: all script resolution uses bundled-first resolveTool()
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

Replace remaining hardcoded MOSAIC_HOME/tools paths (mosaic-init,
mosaic-ensure-sequential-thinking) and toolScript() with a shared
resolveTool() that checks the npm package first. Every script the
CLI delegates to now picks up the bundled version immediately after
npm upgrade — no mosaic init needed.

Bump @mosaic/mosaic and @mosaic/cli to 0.0.8.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jarvis
2026-04-02 21:27:03 -05:00
parent db8023bdbb
commit 0e9a6759bc
3 changed files with 17 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@mosaic/cli",
"version": "0.0.7",
"version": "0.0.8",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",