openclaw-cortex-memory 0.1.0-Alpha.31 → 0.1.0-Alpha.32
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 +8 -8
- package/dist/openclaw.plugin.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -4
- package/scripts/install.js +0 -27
package/README.md
CHANGED
|
@@ -125,22 +125,22 @@ openclaw plugins enable openclaw-cortex-memory
|
|
|
125
125
|
如果 `clawhub:` 安装出现 `fetch failed`,可改用 npm 包本地安装(推荐兜底):
|
|
126
126
|
|
|
127
127
|
```bash
|
|
128
|
-
npm pack openclaw-cortex-memory@0.1.0-Alpha.
|
|
129
|
-
openclaw plugins install ./openclaw-cortex-memory-0.1.0-Alpha.
|
|
128
|
+
npm pack openclaw-cortex-memory@0.1.0-Alpha.32
|
|
129
|
+
openclaw plugins install ./openclaw-cortex-memory-0.1.0-Alpha.32.tgz
|
|
130
130
|
openclaw plugins enable openclaw-cortex-memory
|
|
131
|
-
rm ./openclaw-cortex-memory-0.1.0-Alpha.
|
|
131
|
+
rm ./openclaw-cortex-memory-0.1.0-Alpha.32.tgz
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
完成安装后,请先按下方"最小配置"示例配置 `openclaw.json`,确认配置无误后再启动 gateway。
|
|
135
135
|
|
|
136
136
|
### 更新
|
|
137
137
|
|
|
138
138
|
```bash
|
|
139
139
|
rm -r ~/.openclaw/extensions/openclaw-cortex-memory
|
|
140
|
-
npm pack openclaw-cortex-memory@0.1.0-Alpha.
|
|
141
|
-
openclaw plugins install ./openclaw-cortex-memory-0.1.0-Alpha.
|
|
140
|
+
npm pack openclaw-cortex-memory@0.1.0-Alpha.32
|
|
141
|
+
openclaw plugins install ./openclaw-cortex-memory-0.1.0-Alpha.32.tgz
|
|
142
142
|
openclaw plugins enable openclaw-cortex-memory
|
|
143
|
-
rm ./openclaw-cortex-memory-0.1.0-Alpha.
|
|
143
|
+
rm ./openclaw-cortex-memory-0.1.0-Alpha.32.tgz
|
|
144
144
|
openclaw plugins list --enabled
|
|
145
145
|
openclaw gateway restart
|
|
146
146
|
```
|
|
@@ -294,4 +294,4 @@ npm run test:graph-quality-zh
|
|
|
294
294
|
|
|
295
295
|
---
|
|
296
296
|
|
|
297
|
-
MIT License
|
|
297
|
+
MIT License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-cortex-memory",
|
|
3
3
|
"name": "Cortex Memory",
|
|
4
|
-
"version": "0.1.0-Alpha.
|
|
4
|
+
"version": "0.1.0-Alpha.32",
|
|
5
5
|
"description": "Long-term memory system with semantic, episodic, and procedural memory for AI Agents",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"author": "deki18",
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-cortex-memory",
|
|
3
3
|
"name": "Cortex Memory",
|
|
4
|
-
"version": "0.1.0-Alpha.
|
|
4
|
+
"version": "0.1.0-Alpha.32",
|
|
5
5
|
"description": "Long-term memory system with semantic, episodic, and procedural memory for AI Agents",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"author": "deki18",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-cortex-memory",
|
|
3
|
-
"version": "0.1.0-Alpha.
|
|
3
|
+
"version": "0.1.0-Alpha.32",
|
|
4
4
|
"description": "Long-term memory system for OpenClaw AI Agent",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -52,9 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
54
|
"dist/",
|
|
55
|
-
"scripts/cli.js",
|
|
56
|
-
"scripts/
|
|
57
|
-
"scripts/uninstall.js",
|
|
55
|
+
"scripts/cli.js",
|
|
56
|
+
"scripts/uninstall.js",
|
|
58
57
|
"scripts/repair-memory.js",
|
|
59
58
|
"schema/",
|
|
60
59
|
"openclaw.plugin.json",
|
package/scripts/install.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const { execSync } = require("child_process");
|
|
2
|
-
const fs = require("fs");
|
|
3
|
-
const path = require("path");
|
|
4
|
-
|
|
5
|
-
const rootDir = path.resolve(__dirname, "..");
|
|
6
|
-
|
|
7
|
-
console.log("[Cortex Memory] Setting up TypeScript runtime...\n");
|
|
8
|
-
|
|
9
|
-
try {
|
|
10
|
-
execSync("npm run build", {
|
|
11
|
-
cwd: rootDir,
|
|
12
|
-
stdio: "inherit",
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
const srcManifest = path.join(rootDir, "openclaw.plugin.json");
|
|
16
|
-
const distManifest = path.join(rootDir, "dist", "openclaw.plugin.json");
|
|
17
|
-
if (fs.existsSync(srcManifest)) {
|
|
18
|
-
fs.copyFileSync(srcManifest, distManifest);
|
|
19
|
-
console.log("Plugin manifest copied to dist/");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
console.log("\n[SUCCESS] TypeScript setup complete");
|
|
23
|
-
} catch (error) {
|
|
24
|
-
console.error("\n[ERROR] TypeScript setup failed");
|
|
25
|
-
console.error(error?.stack || error?.message || String(error));
|
|
26
|
-
process.exit(1);
|
|
27
|
-
}
|