dotmem 0.1.1 → 0.1.3
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/README.md +9 -9
- package/cli.cjs +1418 -65
- package/cli.js +1418 -65
- package/global.cjs +363 -28
- package/global.js +363 -28
- package/index.cjs +373 -38
- package/index.js +373 -38
- package/mcp.cjs +385 -43
- package/mcp.js +385 -43
- package/package.json +1 -1
- package/types/memory.d.ts +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ Run the Dotmem MCP server on your machine so that your AI host and your terminal
|
|
|
56
56
|
"mcpServers": {
|
|
57
57
|
"dotmem": {
|
|
58
58
|
"command": "npx",
|
|
59
|
-
"args": ["-y", "-p", "dotmem
|
|
59
|
+
"args": ["-y", "-p", "dotmem", "dotmem-mcp"]
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ const discovery = await memory.discover(
|
|
|
87
87
|
|
|
88
88
|
// Project a bounded context from discovered claims
|
|
89
89
|
const projection = memory.project(discovery, {
|
|
90
|
-
maxCandidates:
|
|
90
|
+
maxCandidates: 8,
|
|
91
91
|
maxCharacters: 4000
|
|
92
92
|
})
|
|
93
93
|
|
|
@@ -208,7 +208,7 @@ Enable it only if you want the connected host to be able to modify memory.
|
|
|
208
208
|
### Launch command
|
|
209
209
|
|
|
210
210
|
```bash
|
|
211
|
-
npx -y -p dotmem
|
|
211
|
+
npx -y -p dotmem dotmem-mcp
|
|
212
212
|
```
|
|
213
213
|
|
|
214
214
|
> 💡 For long-lived setups, pin the version (`dotmem-mcp@x.y.z`) instead of taking the latest on every launch.
|
|
@@ -220,7 +220,7 @@ npx -y -p dotmem-mcp dotmem-mcp
|
|
|
220
220
|
"mcpServers": {
|
|
221
221
|
"dotmem": {
|
|
222
222
|
"command": "npx",
|
|
223
|
-
"args": ["-y", "-p", "dotmem
|
|
223
|
+
"args": ["-y", "-p", "dotmem", "dotmem-mcp"]
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
@@ -233,7 +233,7 @@ With write access:
|
|
|
233
233
|
"mcpServers": {
|
|
234
234
|
"dotmem": {
|
|
235
235
|
"command": "npx",
|
|
236
|
-
"args": ["-y", "-p", "dotmem
|
|
236
|
+
"args": ["-y", "-p", "dotmem", "dotmem-mcp"],
|
|
237
237
|
"env": { "DOTMEM_MCP_WRITE": "1" }
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -244,13 +244,13 @@ With write access:
|
|
|
244
244
|
|
|
245
245
|
```bash
|
|
246
246
|
# read-only
|
|
247
|
-
claude mcp add --transport stdio dotmem -- npx -y -p dotmem
|
|
247
|
+
claude mcp add --transport stdio dotmem -- npx -y -p dotmem dotmem-mcp
|
|
248
248
|
|
|
249
249
|
# with write access
|
|
250
250
|
claude mcp add \
|
|
251
251
|
--env DOTMEM_MCP_WRITE=1 \
|
|
252
252
|
--transport stdio \
|
|
253
|
-
dotmem -- npx -y -p dotmem
|
|
253
|
+
dotmem -- npx -y -p dotmem dotmem-mcp
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
### Kilo / OpenCode
|
|
@@ -260,7 +260,7 @@ claude mcp add \
|
|
|
260
260
|
"mcp": {
|
|
261
261
|
"dotmem": {
|
|
262
262
|
"type": "local",
|
|
263
|
-
"command": ["npx", "-y", "-p", "dotmem
|
|
263
|
+
"command": ["npx", "-y", "-p", "dotmem", "dotmem-mcp"],
|
|
264
264
|
"enabled": true
|
|
265
265
|
// For write access, add:
|
|
266
266
|
// "environment": { "DOTMEM_MCP_WRITE": "1" }
|
|
@@ -278,7 +278,7 @@ On Windows, `npx` may not be directly executable by an MCP host. Use `cmd /c npx
|
|
|
278
278
|
"mcpServers": {
|
|
279
279
|
"dotmem": {
|
|
280
280
|
"command": "cmd",
|
|
281
|
-
"args": ["/c", "npx", "-y", "-p", "dotmem
|
|
281
|
+
"args": ["/c", "npx", "-y", "-p", "dotmem", "dotmem-mcp"]
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
}
|