@plur-ai/mcp 0.9.1 → 0.9.2
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/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { existsSync, readFileSync, writeFileSync, mkdirSync } from "fs";
|
|
5
5
|
import { join } from "path";
|
|
6
6
|
import { homedir } from "os";
|
|
7
|
-
var VERSION = "0.9.
|
|
7
|
+
var VERSION = "0.9.2";
|
|
8
8
|
var HELP = `plur-mcp v${VERSION} \u2014 persistent memory for AI agents
|
|
9
9
|
|
|
10
10
|
Usage:
|
|
@@ -212,7 +212,7 @@ if (arg === "init") {
|
|
|
212
212
|
process.exit(0);
|
|
213
213
|
}
|
|
214
214
|
if (arg === "serve" || arg === void 0) {
|
|
215
|
-
const { runStdio } = await import("./server-
|
|
215
|
+
const { runStdio } = await import("./server-3O37RXPQ.js");
|
|
216
216
|
runStdio().catch((err) => {
|
|
217
217
|
console.error("Failed to start PLUR MCP server:", err);
|
|
218
218
|
process.exit(1);
|
|
@@ -827,7 +827,6 @@ function getToolDefinitions() {
|
|
|
827
827
|
const session_id = crypto.randomUUID();
|
|
828
828
|
const task = args.task;
|
|
829
829
|
const tags = args.tags;
|
|
830
|
-
const discovered = plur.autoDiscoverStores();
|
|
831
830
|
const status = plur.status();
|
|
832
831
|
const store_stats = {
|
|
833
832
|
engram_count: status.engram_count,
|
|
@@ -876,8 +875,6 @@ You have ${store_stats.engram_count} engrams but none matched this task. Call pl
|
|
|
876
875
|
guide,
|
|
877
876
|
// Ask LLM to check back — MCP can't push, but we can request a follow-up
|
|
878
877
|
follow_up: store_stats.engram_count === 0 ? "This is a fresh store with 0 engrams. After your first exchange with the user, review what you learned and call plur_learn for any corrections, preferences, or patterns. Build the memory from this session." : void 0,
|
|
879
|
-
// Report auto-discovered project stores
|
|
880
|
-
discovered_stores: discovered.length > 0 ? discovered : void 0,
|
|
881
878
|
// On fresh install, suggest hook setup for reliable injection
|
|
882
879
|
setup_hint: isFreshInstall ? "IMPORTANT: For reliable memory injection, ask the user to run: npx @plur-ai/cli init \u2014 this installs Claude Code hooks that automatically inject engrams at conversation start and after context compaction. Without hooks, memory injection depends on you remembering to call plur_session_start." : void 0
|
|
883
880
|
};
|
|
@@ -1293,7 +1290,7 @@ Include at least one engram_suggestion if ANYTHING was learned. An empty suggest
|
|
|
1293
1290
|
|
|
1294
1291
|
// src/server.ts
|
|
1295
1292
|
import { z } from "zod";
|
|
1296
|
-
var VERSION = "0.9.
|
|
1293
|
+
var VERSION = "0.9.2";
|
|
1297
1294
|
var INSTRUCTIONS = `PLUR is your persistent memory. Corrections, preferences, and conventions persist across sessions as engrams.
|
|
1298
1295
|
|
|
1299
1296
|
PLUR is a GLOBAL tool \u2014 one MCP server, one engram store (~/.plur/), available in every project. Multi-project scoping uses domain/scope fields on engrams, not separate installations.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plur-ai/mcp",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"plur-mcp": "dist/index.js"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
14
14
|
"zod": "^3.23.0",
|
|
15
|
-
"@plur-ai/core": "0.9.
|
|
15
|
+
"@plur-ai/core": "0.9.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^25.5.0"
|