mcp-rag-memory 2.4.0 → 2.4.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.
Files changed (2) hide show
  1. package/README.md +10 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -301,16 +301,16 @@ from your curated long-term memories. Three layers:
301
301
 
302
302
  1. **Plugin (real-time, debounced, cross-workspace).**
303
303
  `.opencode/plugin/session-logger.ts` watches message events and, at most
304
- once a minute, runs the portable CLI — `npx -y mcp-rag-memory-cli
305
- sync-latest --dir <workspace>` — so the session you are typing in lands in
306
- the store. Because it invokes the published bin (not this repo's scripts),
307
- it works in **any** project that adds the plugin and a `.env` pointing at
308
- its store. Disable with `RAG_AUTOSYNC=0`.
304
+ once a minute, runs the portable CLI — `npx -y -p mcp-rag-memory
305
+ mcp-rag-memory-cli sync-latest --dir <workspace>` — so the session you are
306
+ typing in lands in the store. Because it invokes the published package (not
307
+ this repo's scripts), it works in **any** project that adds the plugin and a
308
+ `.env` pointing at its store. Disable with `RAG_AUTOSYNC=0`.
309
309
  2. **CLI on demand.**
310
310
  ```bash
311
- npx -y mcp-rag-memory-cli sync-latest --dir "D:/Project/my-app" # latest session in a workspace
312
- npx -y mcp-rag-memory-cli sync-session ses_abc123 # a specific session
313
- npx -y mcp-rag-memory-cli sync-logs # .session-logs/*.jsonl
311
+ npx -y -p mcp-rag-memory mcp-rag-memory-cli sync-latest --dir "D:/Project/my-app" # latest session in a workspace
312
+ npx -y -p mcp-rag-memory mcp-rag-memory-cli sync-session ses_abc123 # a specific session
313
+ npx -y -p mcp-rag-memory mcp-rag-memory-cli sync-logs # .session-logs/*.jsonl
314
314
  ```
315
315
  3. **MCP tool.** `rag_sync_session` exposes the same logic over MCP:
316
316
  `{ "session_id": "..." }` or `{ "directory": "..." }` for the latest.
@@ -318,7 +318,8 @@ from your curated long-term memories. Three layers:
318
318
  > Honest scope note: the **plugin** only ships with this repo out of the box,
319
319
  > but it is a plain node script — copy it into any workspace (and give that
320
320
  > project an `.env`) and auto-save just works, since it shells out to the
321
- > published `mcp-rag-memory-cli` via npx. Without a plugin, auto-save is
321
+ > published CLI bin (`mcp-rag-memory-cli`, inside the `mcp-rag-memory` package)
322
+ > via npx. Without a plugin, auto-save is
322
323
  > "manual": run layer 2 or call layer 3 whenever you want a session ingested.
323
324
 
324
325
  How it works: sessions are read from opencode's own DB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-rag-memory",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "RAG + Context Management MCP server: long-term memory, vector storage, knowledge retrieval. Run with npx, zero external APIs.",
5
5
  "type": "module",
6
6
  "engines": {