This monorepo publishes two packages:
| Package | npm name | Install command |
|---|---|---|
| Core library + CLI | mindkeeper |
npm install -g mindkeeper |
| OpenClaw plugin | mindkeeper-openclaw |
openclaw plugins install mindkeeper-openclaw |
mindkeeper-openclaw depends on mindkeeper, so always publish core first.
- npm account with publish access (run
npm whoamito verify) - Node.js ≥ 22 installed
- pnpm installed (
npm install -g pnpm)
Both packages share the same version number. Update them together:
# In packages/core/package.json
# In packages/openclaw/package.json
# Change "version": "0.1.0" → "0.x.x" (semver)Rule of thumb:
- Bug fix → patch (
0.1.0→0.1.1) - New feature, backward compatible → minor (
0.1.0→0.2.0) - Breaking change → major (
0.1.0→1.0.0)
Document what changed in this version. Users and the OpenClaw ecosystem rely on this.
pnpm install
pnpm -r build # build all packages
cd packages/core && pnpm testcd packages/core
npm publishVerify it is live:
npm view mindkeeper versionIn packages/openclaw/package.json, make sure the mindkeeper dependency matches the version just published:
"dependencies": {
"mindkeeper": "workspace:*"
}pnpm publish 会自动把
workspace:*替换为实际发布的版本号,无需手动改动。
Then rebuild:
cd packages/openclaw
pnpm install
pnpm buildcd packages/openclaw
npm publishVerify:
npm view mindkeeper-openclaw versionOn a clean machine (or in a temp directory with a fresh OpenClaw config):
openclaw plugins install mindkeeper-openclaw
# restart Gateway
openclaw mind statusgit tag v0.x.x
git push origin v0.x.xFor patch/minor updates, repeat steps 1–8. npm update reviews are not required — only ClawHub (Skill marketplace) has a review gate. npm publishes immediately.
If you need to unpublish within 72 hours of a bad publish:
npm unpublish mindkeeper-openclaw@0.x.xAfter publishing to npm, you can also register the plugin in an external OpenClaw catalog so it appears in tooling/UI lists:
{
"entries": [
{
"name": "mindkeeper-openclaw",
"openclaw": {
"install": {
"npmSpec": "mindkeeper-openclaw",
"defaultChoice": "npm"
}
}
}
]
}Users can place this JSON at ~/.openclaw/plugins/catalog.json or point OPENCLAW_PLUGIN_CATALOG_PATHS to it.