Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
259 lines (259 loc) · 10.1 KB
/
Copy pathpackage.json
File metadata and controls
259 lines (259 loc) · 10.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
"name": "claude-mem",
"version": "15.18.3",
"description": "Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more.",
"keywords": [
"claude",
"claude-code",
"claude-agent-sdk",
"mcp",
"plugin",
"memory",
"compression",
"knowledge-graph",
"transcript",
"typescript",
"nodejs"
],
"author": "Alex Newman",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/thedotmack/claude-mem.git"
},
"homepage": "https://github.com/thedotmack/claude-mem#readme",
"bugs": {
"url": "https://github.com/thedotmack/claude-mem/issues"
},
"type": "module",
"bin": {
"claude-mem": "./dist/npx-cli/index.js"
},
"exports": {
"./eve": {
"types": "./dist/eve/index.d.ts",
"import": "./dist/eve/index.js",
"default": "./dist/eve/index.js"
},
"./modes/*": "./plugin/modes/*"
},
"files": [
"dist",
".agents/plugins/marketplace.json",
".claude-plugin",
".codex-plugin",
".qoder-plugin",
"plugin/.claude-plugin",
"plugin/.codex-plugin",
"plugin/.qoder-plugin",
"plugin/.mcp.json",
"plugin/qoder.mcp.json",
"plugin/package.json",
"plugin/bun.lock",
"plugin/hooks",
"plugin/modes",
"plugin/scripts/*.js",
"plugin/scripts/*.cjs",
"plugin/scripts/*.map",
"plugin/sqlite",
"plugin/skills",
"plugin/ui",
"openclaw",
"omp",
"hermes",
"ods/README.md",
"ods/install.mjs",
"ods/native",
"ods/patches",
"ods/service",
"pi",
"dsh",
"NOTICE"
],
"engines": {
"node": "^20.19.0 || >=22.12.0",
"bun": ">=1.1.31"
},
"scripts": {
"dev": "npm run build-and-sync",
"build": "node scripts/sync-plugin-manifests.js && node scripts/build-hooks.js && node scripts/gen-plugin-lockfile.cjs",
"build-and-sync": "npm run build && npm run sync-marketplace && node scripts/restart-marketplace-worker.cjs",
"sync-marketplace": "node scripts/sync-marketplace.cjs",
"sync-marketplace:force": "node scripts/sync-marketplace.cjs --force",
"build:binaries": "node scripts/build-worker-binary.js",
"build:cli-binary": "bun scripts/build-native-worker.js --native",
"worker:logs": "node scripts/worker-logs.cjs",
"worker:tail": "node scripts/worker-logs.cjs --follow",
"changelog:generate": "node scripts/generate-changelog.js",
"worker:start": "bun plugin/scripts/worker-service.cjs start",
"worker:stop": "bun plugin/scripts/worker-service.cjs stop",
"worker:restart": "bun plugin/scripts/worker-service.cjs restart",
"worker:status": "bun plugin/scripts/worker-service.cjs status",
"queue": "bun scripts/check-pending-queue.ts",
"queue:process": "bun scripts/check-pending-queue.ts --process",
"claude-md:regenerate": "bun scripts/regenerate-claude-md.ts",
"claude-md:dry-run": "bun scripts/regenerate-claude-md.ts --dry-run",
"strip-comments": "bun scripts/strip-comments.ts",
"strip-comments:check": "bun scripts/strip-comments.ts --check",
"strip-comments:dry-run": "bun scripts/strip-comments.ts --dry-run",
"translate-readme": "bun scripts/translate-readme/cli.ts -v -o docs/i18n README.md",
"translate:tier1": "npm run translate-readme -- zh zh-tw ja pt pt-br ko es de fr",
"translate:tier2": "npm run translate-readme -- he ar ru pl cs nl tr uk",
"translate:tier3": "npm run translate-readme -- vi tl id th hi bn ur ro sv",
"translate:tier4": "npm run translate-readme -- it el hu fi da no",
"translate:all": "npm run translate:tier1 & npm run translate:tier2 & npm run translate:tier3 & npm run translate:tier4 & wait",
"bug-report": "node dist/bug-report/index.js",
"cursor:install": "bun plugin/scripts/worker-service.cjs cursor install",
"cursor:uninstall": "bun plugin/scripts/worker-service.cjs cursor uninstall",
"cursor:status": "bun plugin/scripts/worker-service.cjs cursor status",
"cursor:setup": "bun plugin/scripts/worker-service.cjs cursor setup",
"lint:hook-io": "node scripts/check-hook-io-discipline.cjs",
"lint:spawn-env": "node scripts/check-spawn-env-discipline.cjs",
"typecheck": "tsc --noEmit && tsc --noEmit -p src/ui/viewer/tsconfig.json",
"typecheck:root": "tsc --noEmit",
"typecheck:viewer": "tsc --noEmit -p src/ui/viewer/tsconfig.json",
"test": "bun scripts/test-lanes.ts fast",
"test:integration": "bun scripts/test-lanes.ts integration",
"test:all": "bun scripts/test-lanes.ts all",
"test:lanes:check": "bun scripts/test-lanes.ts check",
"test:sqlite": "bun test tests/sqlite/",
"test:agents": "bun test tests/worker/agents/",
"test:search": "bun test tests/worker/search/",
"test:context": "bun test tests/context/",
"test:infra": "bun test tests/infrastructure/",
"test:server": "bun test tests/server/",
"e2e:server:docker": "bash scripts/e2e-server-docker.sh",
"e2e:sync-matrix": "bun scripts/sync-matrix-e2e.ts",
"eval:read-gate": "bun scripts/eval-read-gate.ts",
"check:postinstall-allowlist": "node scripts/check-postinstall-allowlist.js",
"smoke:clean-room": "node scripts/smoke-clean-room.cjs",
"prepublishOnly": "npm run build && node scripts/check-postinstall-allowlist.js",
"test:media-converter": "bun test tests/media/converter.test.ts",
"smoke:media-binary": "node scripts/smoke-media-binary.cjs"
},
"dependencies": {
"@better-auth/api-key": "^1.6.16",
"better-auth": "^1.6.16",
"sharp": "0.35.5"
},
"peerDependencies": {
"eve": ">=0.84.0 || >=1.0.0-rc.9",
"zod": "^4.0.0"
},
"peerDependenciesMeta": {
"eve": {
"optional": true
},
"zod": {
"optional": true
}
},
"//dependencies-note": "Sharp is the native media decoder, externalized and lazy-loaded only by media conversion. Only deps that survive the bundler as a live `import`/`require` in a shipped artifact live here — better-auth (+ api-key) is the server-runtime auth surface, externalized from the worker bundle deliberately (see scripts/build-hooks.js). @huggingface/transformers, the server's embedder, is a devDependency here: LocalEmbedder loads it by dynamic import, the server bundle keeps it external along with its onnxruntime-node and sharp, and a server resolves it from plugin/package.json's optional dependencies (see scripts/build-hooks.js), never from this package. Everything else (express, bullmq, ioredis, react, react-dom, dompurify, @clack/prompts, ansi-to-html, posthog-node, shell-quote, pg, zod, @modelcontextprotocol/sdk, @anthropic-ai/claude-agent-sdk) is esbuild-inlined into the worker/server/npx bundles (the worker and MCP server inline zod too; the other plugin bundles still resolve zod from plugin/package.json's own dependency), so it is a build-time devDependency and is not downloaded by consumers of the `claude-mem` package.",
"overrides": {
"tmp": "^0.2.7",
"onnxruntime-node": "1.23.2",
"onnxruntime-web": "npm:onnxruntime-common@1.23.2"
},
"devDependencies": {
"@huggingface/transformers": "^4.2.0",
"@anthropic-ai/claude-agent-sdk": "^0.3.172",
"@clack/prompts": "^1.3.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"ansi-to-html": "^0.7.2",
"bullmq": "^5.76.6",
"dompurify": "^3.4.9",
"express": "^5.2.1",
"ioredis": "^5.10.1",
"json5": "^2.2.3",
"pg": "^8.20.0",
"posthog-node": "^5.36.15",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"shell-quote": "1.9.0",
"zod": "^4.4.3",
"@derekstride/tree-sitter-sql": "^0.3.11",
"@tree-sitter-grammars/tree-sitter-lua": "^0.4.1",
"@tree-sitter-grammars/tree-sitter-markdown": "^0.3.2",
"@tree-sitter-grammars/tree-sitter-toml": "^0.7.0",
"@tree-sitter-grammars/tree-sitter-yaml": "^0.7.1",
"@tree-sitter-grammars/tree-sitter-zig": "^1.1.2",
"@types/bun": "^1.3.13",
"@types/express": "^5.0.6",
"@types/node": "^25.9.2",
"@types/pg": "^8.20.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"esbuild": "^0.28.0",
"parse5": "^8.0.1",
"postcss": "^8.5.14",
"remark-mdx": "^3.1.1",
"remark-parse": "^11.0.0",
"tree-sitter-bash": "^0.25.1",
"tree-sitter-c": "^0.24.1",
"tree-sitter-cli": "^0.26.8",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-css": "^0.25.0",
"tree-sitter-delphi": "0.1.0",
"tree-sitter-go": "^0.25.0",
"tree-sitter-haskell": "^0.23.1",
"tree-sitter-java": "^0.23.5",
"tree-sitter-javascript": "^0.25.0",
"tree-sitter-kotlin": "^0.3.8",
"tree-sitter-php": "^0.24.2",
"tree-sitter-python": "^0.25.0",
"tree-sitter-ruby": "^0.23.1",
"tree-sitter-rust": "^0.24.0",
"tree-sitter-scala": "^0.24.0",
"tree-sitter-scss": "^1.0.0",
"tree-sitter-swift": "^0.7.1",
"tree-sitter-typescript": "^0.23.2",
"typescript": "^6.0.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"typebox": "1.1.24"
},
"trustedDependencies": [
"esbuild",
"tree-sitter-c",
"tree-sitter-cli",
"tree-sitter-cpp",
"tree-sitter-go",
"tree-sitter-java",
"tree-sitter-javascript",
"tree-sitter-python",
"tree-sitter-ruby",
"tree-sitter-rust",
"tree-sitter-typescript"
],
"allowScripts": {
"tree-sitter-cli": true,
"tree-sitter": true,
"tree-sitter-c": true,
"tree-sitter-cpp": true,
"tree-sitter-go": true,
"tree-sitter-java": true,
"tree-sitter-javascript": true,
"tree-sitter-python": true,
"tree-sitter-ruby": true,
"tree-sitter-rust": true,
"tree-sitter-typescript": true,
"tree-sitter-kotlin": true,
"tree-sitter-swift": true,
"tree-sitter-php": true,
"tree-sitter-scala": true,
"tree-sitter-bash": true,
"tree-sitter-haskell": true,
"tree-sitter-css": true,
"tree-sitter-scss": true,
"@tree-sitter-grammars/tree-sitter-lua": true,
"@tree-sitter-grammars/tree-sitter-zig": true,
"@tree-sitter-grammars/tree-sitter-toml": true,
"@tree-sitter-grammars/tree-sitter-yaml": true,
"@tree-sitter-grammars/tree-sitter-markdown": true,
"@derekstride/tree-sitter-sql": true,
"tree-sitter-delphi": true,
"esbuild": true,
"@biomejs/biome": true,
"better-sqlite3": true
}
}