fix: fwScript prefers npm-bundled scripts over stale deployed copies
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

fwScript() now resolves framework scripts from the @mosaic/mosaic npm
package first, falling back to ~/.config/mosaic/ only if the bundled
copy isn't found. This means `npm i -g @mosaic/cli@latest` immediately
takes effect without needing `mosaic init` to re-deploy scripts.

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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jarvis
2026-04-02 21:20:49 -05:00
parent 9e597ecf87
commit 7e7d326dc6
3 changed files with 16 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@mosaic/mosaic",
"version": "0.0.6",
"version": "0.0.7",
"description": "Mosaic agent framework — installation wizard and meta package",
"type": "module",
"main": "dist/index.js",