@cup319/mmpl 2.5.0 → 2.5.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.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/mmpl)](https://www.npmjs.com/package/mmpl)
4
4
  [![license](https://img.shields.io/npm/l/mmpl)](https://github.com/cnb-t/mmpl/blob/main/LICENSE)
5
5
 
6
- 基于 DuckDB 的向量记忆系统,具备完整的记忆生命周期管理,以常驻 HTTP MCP Server 形式运行(v2.5.0+,多 client 共享单进程,避免 DuckDB 文件锁冲突)���
6
+ 基于 DuckDB 的向量记忆系统,具备完整的记忆生命周期管理,以常驻 HTTP MCP Server 形式运行(v2.5.1+,多 client 共享单进程,避免 DuckDB 文件锁冲突)���
7
7
 
8
8
  ## 核心特性
9
9
 
@@ -37,13 +37,13 @@ npm run build
37
37
 
38
38
  ### 部署:常驻 HTTP MCP Server(推荐 — 多 client 共享)
39
39
 
40
- v2.5.0 起,mmpl 默认作为 **Streamable HTTP MCP server** 运行:一个常驻进程独占 DuckDB,被多个 MCP client(ZCode / Claude Desktop / IDE 等)共享。这从根本上避免了 stdio 模式下多 client 各自 spawn 进程、争抢同一个 `.duckdb` 文件导致的 `Connection closed` 错误。
40
+ v2.5.1 起,mmpl 默认作为 **Streamable HTTP MCP server** 运行:一个常驻进程独占 DuckDB,被多个 MCP client(ZCode / Claude Desktop / IDE 等)共享。这从根本上避免了 stdio 模式下多 client 各自 spawn 进程、争抢同一个 `.duckdb` 文件导致的 `Connection closed` 错误。
41
41
 
42
42
  **第一步:启动 server(一次)**
43
43
 
44
44
  ```bash
45
45
  node ./node_modules/mmpl/dist/index.js
46
- # MMPL MCP Server v2.5.0 listening on http://127.0.0.1:7680/mcp
46
+ # MMPL MCP Server v2.5.1 listening on http://127.0.0.1:7680/mcp
47
47
  ```
48
48
 
49
49
  启动时通过环境变量配置 embedding / DB / LLM:
@@ -106,7 +106,7 @@ HTTP server 启动后不自我守护,靠外部保活:
106
106
 
107
107
  ### 遗留:stdio 模式
108
108
 
109
- v2.5.0 之前默认走 stdio,每个 client 各 spawn 一个进程。该模式已在 v2.5.0 移除(多 client 场景下 DuckDB 文件锁无法解决)。如确需单 client stdio,可 git checkout v2.4.4 标签。
109
+ v2.5.1 之前默认走 stdio,每个 client 各 spawn 一个进程。该模式已在 v2.5.1 移除(多 client 场景下 DuckDB 文件锁无法解决)。如确需单 client stdio,可 git checkout v2.4.4 标签。
110
110
 
111
111
  ## 环境变量
112
112
 
package/dist/index.js CHANGED
@@ -21748,7 +21748,7 @@ async function main() {
21748
21748
  const createMcpServer = () => {
21749
21749
  const server = new McpServer({
21750
21750
  name: "MMPL",
21751
- version: "2.5.0"
21751
+ version: "2.5.1"
21752
21752
  });
21753
21753
  registerMemoryWrite(server, deps);
21754
21754
  registerMemorySearch(server, deps);
@@ -21771,7 +21771,7 @@ async function main() {
21771
21771
  void embeddingService.ready().catch((err) => {
21772
21772
  console.error("[startup] embedding service init failed:", err);
21773
21773
  });
21774
- console.error(`MMPL (Memory Palace) MCP Server v2.5.0 listening on http://${httpHost}:${httpPort}${httpPath}`);
21774
+ console.error(`MMPL (Memory Palace) MCP Server v2.5.1 listening on http://${httpHost}:${httpPort}${httpPath}`);
21775
21775
  const gracefulShutdown = async (signal) => {
21776
21776
  console.error(`
21777
21777
  [shutdown] Received ${signal}, gracefully shutting down...`);