@cup319/mmpl-rust 0.1.0

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 +18 -0
  2. package/package.json +34 -0
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @cup319/mmpl-rust
2
+
3
+ MMPL (Memory Palace) 的 **Rust 单二进制版** — DuckDB 向量记忆 MCP Server。
4
+
5
+ ```bash
6
+ npm install -g @cup319/mmpl-rust
7
+ mmpl-rust # 启动 → http://127.0.0.1:7680/mcp
8
+ ```
9
+
10
+ - 零 node_modules 原生依赖(二进制在 postinstall 从 CNB Release 下载)
11
+ - Streamable HTTP MCP(多 client 共享单进程,DuckDB 独占无锁冲突)
12
+ - 5 工具:`memory_write` / `memory_search` / `memory_list` / `memory_manage` / `memory_stats`
13
+ - BM25(jieba + DuckDB FTS5)+ 词袋哈希 384 维向量 + RRF 三路融合 + SM-2 强化
14
+ - SIGTERM 优雅关停
15
+
16
+ 环境变量:`DB_PATH`(默认 `data/memory.duckdb`)/ `HOST` / `PORT`(默认 7680)/ `MCP_PATH`(默认 `/mcp`)。
17
+
18
+ 完整文档与 TS 版对应关系见仓库 `rust/README.md`。TS 完整版(9 工具 + ONNX 语义向量 + L0-L3 管道)请用 `@cup319/mmpl`。
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@cup319/mmpl-rust",
3
+ "version": "0.1.0",
4
+ "description": "MMPL (Memory Palace) Rust Edition — 单二进制 DuckDB 向量记忆 MCP Server (Streamable HTTP, 零 node_modules)",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public",
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "bin": {
11
+ "mmpl-rust": "./npm/run.js"
12
+ },
13
+ "files": [
14
+ "npm/",
15
+ "README.md",
16
+ "npm/mmpl-v0.1.0-linux-x86_64.tar.gz"
17
+ ],
18
+ "scripts": {
19
+ "postinstall": "node npm/install.js"
20
+ },
21
+ "keywords": [
22
+ "mcp",
23
+ "memory",
24
+ "palace",
25
+ "rust",
26
+ "duckdb",
27
+ "ai-agent"
28
+ ],
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://cnb.cool/cnb-t/MMPL.git",
32
+ "directory": "rust"
33
+ }
34
+ }