claude-mem 12.3.8 → 12.4.0
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/dist/npx-cli/index.js +190 -188
- package/openclaw/package.json +2 -2
- package/package.json +29 -23
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/hooks/hooks.json +3 -3
- package/plugin/modes/code.json +14 -0
- package/plugin/package.json +1 -1
- package/plugin/scripts/context-generator.cjs +78 -64
- package/plugin/scripts/mcp-server.cjs +43 -50
- package/plugin/scripts/worker-service.cjs +482 -516
- package/plugin/skills/pathfinder/SKILL.md +111 -0
- package/plugin/skills/version-bump/SKILL.md +38 -18
- package/plugin/ui/viewer-bundle.js +35 -23
package/openclaw/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Memory compression system for Claude Code - persist context across sessions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"openclaw"
|
|
56
56
|
],
|
|
57
57
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
58
|
+
"node": ">=20.0.0",
|
|
59
59
|
"bun": ">=1.0.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
@@ -89,6 +89,9 @@
|
|
|
89
89
|
"cursor:uninstall": "bun plugin/scripts/worker-service.cjs cursor uninstall",
|
|
90
90
|
"cursor:status": "bun plugin/scripts/worker-service.cjs cursor status",
|
|
91
91
|
"cursor:setup": "bun plugin/scripts/worker-service.cjs cursor setup",
|
|
92
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p src/ui/viewer/tsconfig.json",
|
|
93
|
+
"typecheck:root": "tsc --noEmit",
|
|
94
|
+
"typecheck:viewer": "tsc --noEmit -p src/ui/viewer/tsconfig.json",
|
|
92
95
|
"test": "bun test",
|
|
93
96
|
"test:sqlite": "bun test tests/sqlite/",
|
|
94
97
|
"test:agents": "bun test tests/worker/agents/",
|
|
@@ -109,19 +112,20 @@
|
|
|
109
112
|
"2fa": false
|
|
110
113
|
},
|
|
111
114
|
"dependencies": {
|
|
112
|
-
"@anthropic-ai/claude-agent-sdk": "^0.
|
|
113
|
-
"@clack/prompts": "^
|
|
114
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
115
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.119",
|
|
116
|
+
"@clack/prompts": "^1.2.0",
|
|
117
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
115
118
|
"ansi-to-html": "^0.7.2",
|
|
116
|
-
"dompurify": "^3.
|
|
117
|
-
"express": "^
|
|
118
|
-
"glob": "^13.0.
|
|
119
|
-
"handlebars": "^4.7.
|
|
119
|
+
"dompurify": "^3.4.1",
|
|
120
|
+
"express": "^5.2.1",
|
|
121
|
+
"glob": "^13.0.6",
|
|
122
|
+
"handlebars": "^4.7.9",
|
|
120
123
|
"picocolors": "^1.1.1",
|
|
121
|
-
"react": "^
|
|
122
|
-
"react-dom": "^
|
|
123
|
-
"yaml": "^2.8.
|
|
124
|
-
"zod
|
|
124
|
+
"react": "^19.2.5",
|
|
125
|
+
"react-dom": "^19.2.5",
|
|
126
|
+
"yaml": "^2.8.3",
|
|
127
|
+
"zod": "^4.3.6",
|
|
128
|
+
"zod-to-json-schema": "^3.25.2"
|
|
125
129
|
},
|
|
126
130
|
"devDependencies": {
|
|
127
131
|
"@derekstride/tree-sitter-sql": "^0.3.11",
|
|
@@ -130,17 +134,18 @@
|
|
|
130
134
|
"@tree-sitter-grammars/tree-sitter-toml": "^0.7.0",
|
|
131
135
|
"@tree-sitter-grammars/tree-sitter-yaml": "^0.7.1",
|
|
132
136
|
"@tree-sitter-grammars/tree-sitter-zig": "^1.1.2",
|
|
137
|
+
"@types/bun": "^1.3.13",
|
|
133
138
|
"@types/cors": "^2.8.19",
|
|
134
|
-
"@types/dompurify": "^3.0
|
|
135
|
-
"@types/express": "^
|
|
136
|
-
"@types/node": "^
|
|
137
|
-
"@types/react": "^
|
|
138
|
-
"@types/react-dom": "^
|
|
139
|
-
"esbuild": "^0.
|
|
140
|
-
"np": "^11.0
|
|
139
|
+
"@types/dompurify": "^3.2.0",
|
|
140
|
+
"@types/express": "^5.0.6",
|
|
141
|
+
"@types/node": "^25.6.0",
|
|
142
|
+
"@types/react": "^19.2.14",
|
|
143
|
+
"@types/react-dom": "^19.2.3",
|
|
144
|
+
"esbuild": "^0.28.0",
|
|
145
|
+
"np": "^11.2.0",
|
|
141
146
|
"tree-sitter-bash": "^0.25.1",
|
|
142
147
|
"tree-sitter-c": "^0.24.1",
|
|
143
|
-
"tree-sitter-cli": "^0.26.
|
|
148
|
+
"tree-sitter-cli": "^0.26.8",
|
|
144
149
|
"tree-sitter-cpp": "^0.23.4",
|
|
145
150
|
"tree-sitter-css": "^0.25.0",
|
|
146
151
|
"tree-sitter-elixir": "^0.3.5",
|
|
@@ -157,8 +162,9 @@
|
|
|
157
162
|
"tree-sitter-scss": "^1.0.0",
|
|
158
163
|
"tree-sitter-swift": "^0.7.1",
|
|
159
164
|
"tree-sitter-typescript": "^0.23.2",
|
|
160
|
-
"
|
|
161
|
-
"
|
|
165
|
+
"ts-prune": "^0.10.3",
|
|
166
|
+
"tsx": "^4.21.0",
|
|
167
|
+
"typescript": "^6.0.3"
|
|
162
168
|
},
|
|
163
169
|
"optionalDependencies": {
|
|
164
170
|
"tree-kill": "^1.2.2"
|
package/plugin/hooks/hooks.json
CHANGED
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"type": "command",
|
|
27
|
-
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\"; node \"$_R/scripts/bun-runner.js\" \"$_R/scripts/worker-service.cjs\" start;
|
|
27
|
+
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\"; node \"$_R/scripts/bun-runner.js\" \"$_R/scripts/worker-service.cjs\" start; echo '{\"continue\":true,\"suppressOutput\":true}'",
|
|
28
28
|
"timeout": 60
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"type": "command",
|
|
32
|
-
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\";
|
|
32
|
+
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\"; node \"$_R/scripts/bun-runner.js\" \"$_R/scripts/worker-service.cjs\" hook claude-code context",
|
|
33
33
|
"timeout": 60
|
|
34
34
|
}
|
|
35
35
|
]
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"hooks": [
|
|
41
41
|
{
|
|
42
42
|
"type": "command",
|
|
43
|
-
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\";
|
|
43
|
+
"command": "export PATH=\"$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH\"; _R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls -dt $HOME/.claude/plugins/cache/thedotmack/claude-mem/[0-9]*/ 2>/dev/null | head -1); _R=\"${_R%/}\"; [ -z \"$_R\" ] && _R=\"$HOME/.claude/plugins/marketplaces/thedotmack/plugin\"; node \"$_R/scripts/bun-runner.js\" \"$_R/scripts/worker-service.cjs\" hook claude-code session-init",
|
|
44
44
|
"timeout": 60
|
|
45
45
|
}
|
|
46
46
|
]
|
package/plugin/modes/code.json
CHANGED
|
@@ -44,6 +44,20 @@
|
|
|
44
44
|
"description": "Architectural/design choice with rationale",
|
|
45
45
|
"emoji": "⚖️",
|
|
46
46
|
"work_emoji": "⚖️"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "security_alert",
|
|
50
|
+
"label": "Security Alert",
|
|
51
|
+
"description": "A security issue that needs attention before continuing.",
|
|
52
|
+
"emoji": "🚨",
|
|
53
|
+
"work_emoji": "🚨"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "security_note",
|
|
57
|
+
"label": "Security Note",
|
|
58
|
+
"description": "A security-relevant observation worth recording, but not urgent.",
|
|
59
|
+
"emoji": "🔐",
|
|
60
|
+
"work_emoji": "🔐"
|
|
47
61
|
}
|
|
48
62
|
],
|
|
49
63
|
"observation_concepts": [
|