@plur-ai/mcp 0.7.5 → 0.7.7

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.7.5";
7
+ var VERSION = "0.7.7";
8
8
  var HELP = `plur-mcp v${VERSION} \u2014 persistent memory for AI agents
9
9
 
10
10
  Usage:
@@ -226,7 +226,7 @@ if (arg === "init") {
226
226
  process.exit(0);
227
227
  }
228
228
  if (arg === "serve" || arg === void 0) {
229
- const { runStdio } = await import("./server-ULTKWIBS.js");
229
+ const { runStdio } = await import("./server-5JM4PYE6.js");
230
230
  runStdio().catch((err) => {
231
231
  console.error("Failed to start PLUR MCP server:", err);
232
232
  process.exit(1);
@@ -444,9 +444,24 @@ function getToolDefinitions() {
444
444
  };
445
445
  }
446
446
  },
447
+ {
448
+ name: "plur_packs_preview",
449
+ description: "Preview a pack before installing \u2014 shows manifest, engram list, security scan, and warnings. Always call this before plur_packs_install to let the user review what they are importing.",
450
+ annotations: { title: "Preview pack", readOnlyHint: true, idempotentHint: true },
451
+ inputSchema: {
452
+ type: "object",
453
+ properties: {
454
+ source: { type: "string", description: "Path to the pack directory to preview" }
455
+ },
456
+ required: ["source"]
457
+ },
458
+ handler: async (args, plur) => {
459
+ return plur.previewPack(args.source);
460
+ }
461
+ },
447
462
  {
448
463
  name: "plur_packs_install",
449
- description: "Install an engram pack from a directory path \u2014 adds curated engrams to the store. Reports conflicts with existing engrams.",
464
+ description: "Install an engram pack from a directory path. Runs a mandatory security scan (blocks if secrets found), detects conflicts with existing engrams, and records install metadata in the registry. Call plur_packs_preview first to show the user what the pack contains.",
450
465
  annotations: { title: "Install pack", destructiveHint: false, idempotentHint: true },
451
466
  inputSchema: {
452
467
  type: "object",
@@ -461,6 +476,8 @@ function getToolDefinitions() {
461
476
  installed: result.installed,
462
477
  name: result.name,
463
478
  conflicts: result.conflicts,
479
+ security: result.security,
480
+ registry: result.registry,
464
481
  success: true
465
482
  };
466
483
  }
@@ -482,7 +499,7 @@ function getToolDefinitions() {
482
499
  },
483
500
  {
484
501
  name: "plur_packs_list",
485
- description: "List all installed engram packs with integrity hashes",
502
+ description: "List all installed engram packs with integrity hashes, install dates, and source paths",
486
503
  annotations: { title: "List packs", readOnlyHint: true, idempotentHint: true },
487
504
  inputSchema: {
488
505
  type: "object",
@@ -494,9 +511,13 @@ function getToolDefinitions() {
494
511
  packs: packs.map((p) => ({
495
512
  name: p.name,
496
513
  version: p.manifest?.version,
514
+ creator: p.manifest?.creator,
497
515
  description: p.manifest?.description,
498
516
  engram_count: p.engram_count,
499
- integrity: p.integrity
517
+ integrity: p.integrity,
518
+ integrity_ok: p.integrity_ok,
519
+ installed_at: p.installed_at,
520
+ source: p.source
500
521
  })),
501
522
  count: packs.length
502
523
  };
@@ -975,7 +996,7 @@ Include at least one engram_suggestion if ANYTHING was learned. An empty suggest
975
996
 
976
997
  // src/server.ts
977
998
  import { z } from "zod";
978
- var VERSION = "0.7.5";
999
+ var VERSION = "0.7.7";
979
1000
  var INSTRUCTIONS = `PLUR is your persistent memory. Corrections, preferences, and conventions persist across sessions as engrams.
980
1001
 
981
1002
  REQUIRED at session boundaries:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plur-ai/mcp",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
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.7.5"
15
+ "@plur-ai/core": "0.7.7"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/node": "^25.5.0"