@cup319/mmpl 3.3.0 → 3.3.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/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
MMPL (Memory Palace) — DuckDB 向量记忆 MCP Server(单二进制,Rust 实现)。
|
|
4
4
|
|
|
5
|
-
当前版本 **3.3.
|
|
5
|
+
当前版本 **3.3.2**:版本链(`memory_manage action=history`)、长记忆切块嵌入、管道幂等去重、LongMemEval 检索评测。
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install -g @cup319/mmpl
|
package/install.js
CHANGED
|
@@ -12,7 +12,7 @@ const { get } = require("https");
|
|
|
12
12
|
const path = require("path");
|
|
13
13
|
const { execSync } = require("child_process");
|
|
14
14
|
|
|
15
|
-
const VERSION = "3.3.
|
|
15
|
+
const VERSION = "3.3.2";
|
|
16
16
|
const IS_WIN = process.platform === "win32";
|
|
17
17
|
const PLATFORM = IS_WIN ? "windows" : "linux";
|
|
18
18
|
const ARCH = "x86_64";
|
|
@@ -32,6 +32,11 @@ function extractLinux(tarPath) {
|
|
|
32
32
|
mkdirSync(path.dirname(BIN), { recursive: true });
|
|
33
33
|
execSync(`tar xzf ${JSON.stringify(tarPath)} -C ${JSON.stringify(path.dirname(BIN))}`);
|
|
34
34
|
execSync(`mv ${JSON.stringify(path.join(path.dirname(BIN), `mmpl-linux-${ARCH}`))} ${JSON.stringify(BIN)}`);
|
|
35
|
+
// ONNX Runtime 动态库随包分发(rpath=$ORIGIN,与二进制同目录)
|
|
36
|
+
for (const f of ["libonnxruntime.so.1.28.0", "libonnxruntime.so.1"]) {
|
|
37
|
+
const src = path.join(path.dirname(BIN), f);
|
|
38
|
+
if (existsSync(src)) chmodSync(src, 0o755);
|
|
39
|
+
}
|
|
35
40
|
chmodSync(BIN, 0o755);
|
|
36
41
|
}
|
|
37
42
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cup319/mmpl",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "MMPL (Memory Palace) — 单二进制 DuckDB 记忆 MCP Server (9 工具 + ONNX 语义向量 + 冲突双通道门控 + 场景构建 + 四层钻取) — Linux + Windows 双平台",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"install.js",
|
|
15
15
|
"run.js",
|
|
16
16
|
"README.md",
|
|
17
|
-
"mmpl-v3.3.
|
|
18
|
-
"mmpl-v3.3.
|
|
17
|
+
"mmpl-v3.3.2-linux-x86_64.tar.gz",
|
|
18
|
+
"mmpl-v3.3.2-windows-x86_64.zip"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postinstall": "node install.js"
|