mneme-ai 1.19.4 → 1.19.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAGA,wBAAsB,UAAU,CAAC,IAAI,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAMvE"}
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAEA,wBAAsB,UAAU,CAAC,IAAI,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CASvE"}
@@ -1,9 +1,11 @@
1
- import { ui } from "../ui.js";
2
1
  import kleur from "kleur";
3
2
  export async function mcpCommand(opts) {
4
3
  // Defer load — mcp package is heavy and only needed when launching the server.
5
4
  const { startMcpServer } = await import("@mneme-ai/mcp");
6
- ui.dim(kleur.gray("[mneme mcp] starting MCP server on stdio …"));
5
+ // CRITICAL: MCP protocol uses STDOUT for JSON-RPC frames. Anything
6
+ // non-JSON written to stdout breaks the client's parser → connection
7
+ // closes immediately. Diagnostic prints MUST go to stderr.
8
+ process.stderr.write(kleur.gray("[mneme mcp] starting MCP server on stdio …\n"));
7
9
  await startMcpServer({ cwd: opts.cwd });
8
10
  return 0;
9
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,IAAqB;IACpD,+EAA+E;IAC/E,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC;IACzD,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC,CAAC;IACjE,MAAM,cAAc,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxC,OAAO,CAAC,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,IAAqB;IACpD,+EAA+E;IAC/E,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC;IACzD,mEAAmE;IACnE,qEAAqE;IACrE,2DAA2D;IAC3D,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC,CAAC;IACjF,MAAM,cAAc,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxC,OAAO,CAAC,CAAC;AACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mneme-ai",
3
- "version": "1.19.4",
3
+ "version": "1.19.5",
4
4
  "mcpName": "io.github.patsa2561-art/mneme-ai",
5
5
  "description": "Mneme — the memory layer for your codebase. Knows the WHY, the WHAT, the WHERE-IT-BREAKS.",
6
6
  "type": "module",
@@ -30,10 +30,10 @@
30
30
  "clean": "tsc -b --clean"
31
31
  },
32
32
  "dependencies": {
33
- "@mneme-ai/core": "1.19.4",
34
- "@mneme-ai/correlator": "1.19.4",
35
- "@mneme-ai/embeddings": "1.19.4",
36
- "@mneme-ai/mcp": "1.19.4",
33
+ "@mneme-ai/core": "1.19.5",
34
+ "@mneme-ai/correlator": "1.19.5",
35
+ "@mneme-ai/embeddings": "1.19.5",
36
+ "@mneme-ai/mcp": "1.19.5",
37
37
  "commander": "^12.1.0",
38
38
  "kleur": "^4.1.5"
39
39
  },