Files
stack/packages/mosaic/package.json
Jarvis d001a96ec2
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
fix: revert mosaic to 0.0.22 alpha + republish macp
Two errors shipped in #419 (mosaic-v0.1.0 release):

1. Version policy violation — @mosaicstack/mosaic was bumped 0.0.21 →
   0.1.0, jumping out of 0.0.x alpha without authorization. The project
   stays in 0.0.x until GA. Revert to 0.0.22.

2. @mosaicstack/macp exports fix never reached the registry. PR #415
   fixed packages/macp/package.json exports.default (was pointing at
   ./src/index.ts, broke installed consumers with ERR_MODULE_NOT_FOUND),
   but did not bump macp's version. The post-merge publish workflow
   silently skipped macp@0.0.2 as "already published", leaving the bad
   copy on the registry. Installing mosaic@0.1.0 resolves macp@0.0.2
   from the registry and crashes on startup. Bump macp 0.0.2 → 0.0.3 to
   force republish with the correct exports map.

Follow-up cleanup after merge:
- delete git tag mosaic-v0.1.0 + Gitea release
- delete @mosaicstack/mosaic@0.1.0 from Gitea npm registry so `latest`
  reverts to the highest remaining version
- create new tag mosaic-v0.0.22 + Gitea release

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 09:11:56 -05:00

68 lines
1.7 KiB
JSON

{
"name": "@mosaicstack/mosaic",
"version": "0.0.22",
"repository": {
"type": "git",
"url": "https://git.mosaicstack.dev/mosaicstack/mosaic-stack.git",
"directory": "packages/mosaic"
},
"description": "Mosaic agent framework — installation wizard and meta package",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"mosaic": "dist/cli.js",
"mosaic-wizard": "dist/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaicstack/brain": "workspace:*",
"@mosaicstack/config": "workspace:*",
"@mosaicstack/forge": "workspace:*",
"@mosaicstack/log": "workspace:*",
"@mosaicstack/macp": "workspace:*",
"@mosaicstack/memory": "workspace:*",
"@mosaicstack/prdy": "workspace:*",
"@mosaicstack/quality-rails": "workspace:*",
"@mosaicstack/queue": "workspace:*",
"@mosaicstack/storage": "workspace:*",
"@mosaicstack/types": "workspace:*",
"@clack/prompts": "^0.9.1",
"commander": "^13.0.0",
"ink": "^5.0.0",
"ink-spinner": "^5.0.0",
"ink-text-input": "^6.0.0",
"picocolors": "^1.1.1",
"react": "^18.3.0",
"socket.io-client": "^4.8.0",
"yaml": "^2.6.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^18.3.0",
"tsx": "^4.0.0",
"typescript": "^5.8.0",
"vitest": "^2.0.0"
},
"publishConfig": {
"registry": "https://git.mosaicstack.dev/api/packages/mosaicstack/npm/",
"access": "public"
},
"files": [
"dist",
"framework"
]
}