feat: release public workspace packages through npm publish
Summary
After npm version patch, keep npm publish && git push && git push --tags. The version hook synchronizes every public manifest and MCP metadata in one commit/tag. Publish hooks validate the prepared packages, upload core and the remaining packages, then commit the synchronized next-dev marker. Private packages stay unpublished; plugins stay outside the core bundle.
No Changesets or per-package releases. Five files changed; provider PR rebases remain follow-ups. Removed stale publishing assertions rather than adding publishing tests.
Review fixes keep npm pack development-safe, restrict the release-version guard to publication, repair interrupted marker synchronization on retry, and stop dry-run hooks before the recursive publisher. Documentation explains recovery and normal publisher repacking.
Validation
- Tested head:
bb44d98b45a6e584ad6f3560cecf9c00617761b2.pnpm check:affected --run: all runnable checks passed. Nine retained package checks, lint, format, and Fallow passed. - Temporary Verdaccio registry/Git remote: exact publish-and-push chain released core/Doublespeed/TestMu at
0.21.27, pushed0.21.28-devand one release tag. Clean-consumer imports and CLI passed. - Verified dev-version
npm pack, prerelease publish refusal, interrupted marker recovery without another increment, unchanged dry-run files/versions, offline dry-run hook, and rejection of dry-run on retry. - Fixture included pending provider SDK exports and used the JS build instead of native compilation. No live provider/device validation or public npm publication.
- Claude review: no confirmed blockers; remaining questions verified against the recursion and argument guards. GitHub CI, Coverage, Integration Tests, and all other checks passed; iOS smoke is still running on this head.