claude-mem 13.6.2 → 13.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +3 -0
- package/dist/npx-cli/index.js +279 -297
- package/openclaw/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/package.json +2 -2
- package/plugin/scripts/context-generator.cjs +56 -87
- package/plugin/scripts/mcp-server.cjs +30 -30
- package/plugin/scripts/server-beta-service.cjs +133 -133
- package/plugin/scripts/transcript-watcher.cjs +13 -13
- package/plugin/scripts/worker-service.cjs +268 -318
- package/plugin/skills/version-bump/SKILL.md +15 -9
- package/plugin/ui/viewer-bundle.js +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: claude-code-plugin-release
|
|
3
|
-
description: Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests,
|
|
3
|
+
description: Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing (so `npx claude-mem@X.Y.Z` resolves) is handed off to the human maintainer, who raised npm security.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Version Bump & Release Workflow
|
|
@@ -20,27 +20,33 @@ description: Automated semantic versioning and release workflow for Claude Code
|
|
|
20
20
|
- `.claude-plugin/plugin.json` — top-level Claude-plugin manifest
|
|
21
21
|
- `plugin/.claude-plugin/plugin.json` — bundled Claude-plugin manifest
|
|
22
22
|
- `.codex-plugin/plugin.json` — Codex-plugin manifest
|
|
23
|
+
- `plugin/.codex-plugin/plugin.json` — bundled Codex-plugin manifest
|
|
23
24
|
- `openclaw/openclaw.plugin.json` — OpenClaw plugin manifest
|
|
24
25
|
|
|
25
|
-
Verify coverage before editing: `git grep -l "\"version\": \"<OLD>\""` should list all
|
|
26
|
+
Verify coverage before editing: `git grep -l "\"version\": \"<OLD>\""` should list all eight. If a new manifest has been added since this doc was last updated, update this list.
|
|
26
27
|
|
|
27
28
|
## Workflow
|
|
28
29
|
|
|
29
30
|
1. **Update**: Increment the version string in every path above. Do NOT touch `CHANGELOG.md` — it's regenerated.
|
|
30
|
-
2. **Verify**: `git grep -n "\"version\": \"<NEW>\""` — confirm all
|
|
31
|
+
2. **Verify**: `git grep -n "\"version\": \"<NEW>\""` — confirm all eight files match. `git grep -n "\"version\": \"<OLD>\""` — should return zero hits.
|
|
31
32
|
3. **Build and sync**: `npm run build-and-sync` to regenerate artifacts, sync the local marketplace copy, restart the worker, and clear the queue. Do not use plain `npm run build` for release validation because it can leave the local marketplace/worker out of sync.
|
|
32
33
|
4. **Commit**: `git add -A && git commit -m "chore: bump version to X.Y.Z"`.
|
|
33
34
|
5. **Tag**: `git tag -a vX.Y.Z -m "Version X.Y.Z"`.
|
|
34
35
|
6. **Push**: `git push origin main && git push origin vX.Y.Z`.
|
|
35
|
-
7. **Publish to npm
|
|
36
|
+
7. **Publish to npm — HAND OFF TO HUMAN.** The human maintainer raised npm
|
|
37
|
+
security, so publishing now requires credentials/2FA only they can provide.
|
|
38
|
+
The agent MUST NOT run `npm publish` (or `np` / `npm run release:*`, which
|
|
39
|
+
also publish) itself. **Hand off NPM publishing to the human now:** stop and
|
|
40
|
+
tell them the version is committed, tagged, and pushed, and that they must
|
|
41
|
+
publish to npm to make `npx claude-mem@X.Y.Z` resolve. Give them the command:
|
|
36
42
|
```bash
|
|
37
|
-
npm publish
|
|
43
|
+
npm publish # run by the HUMAN — the prepublishOnly script rebuilds the package
|
|
38
44
|
```
|
|
39
|
-
|
|
45
|
+
Wait for the human to confirm they published, then verify it landed:
|
|
40
46
|
```bash
|
|
41
47
|
npm view claude-mem@X.Y.Z version # should print X.Y.Z
|
|
42
48
|
```
|
|
43
|
-
|
|
49
|
+
If the publish build touched local artifacts, run `npm run build-and-sync` again afterward.
|
|
44
50
|
8. **GitHub release**: `gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES"`.
|
|
45
51
|
9. **Changelog**: Regenerate via the project's changelog script:
|
|
46
52
|
```bash
|
|
@@ -57,11 +63,11 @@ description: Automated semantic versioning and release workflow for Claude Code
|
|
|
57
63
|
|
|
58
64
|
## Checklist
|
|
59
65
|
|
|
60
|
-
- [ ] All
|
|
66
|
+
- [ ] All eight config files have matching versions
|
|
61
67
|
- [ ] `git grep` for old version returns zero hits
|
|
62
68
|
- [ ] `npm run build-and-sync` succeeded
|
|
63
69
|
- [ ] Git tag created and pushed
|
|
64
|
-
- [ ]
|
|
70
|
+
- [ ] **NPM publishing handed off to the human** (agent does NOT run `npm publish` — human raised security); once they publish, `npm view claude-mem@X.Y.Z version` confirms it (so `npx claude-mem@X.Y.Z` resolves)
|
|
65
71
|
- [ ] GitHub release created with notes
|
|
66
72
|
- [ ] `CHANGELOG.md` updated and pushed
|
|
67
73
|
- [ ] Discord notification run from `~/Scripts/claude-mem/`
|