@colinlu50/openclaw-lark-stream 260323.1.0 → 260323.2.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.
- package/README.md +7 -4
- package/bin/openclaw-lark.js +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,12 +20,15 @@
|
|
|
20
20
|
|
|
21
21
|
## 📦 安装
|
|
22
22
|
|
|
23
|
-
需要 [OpenClaw](https://openclaw.ai)
|
|
23
|
+
需要 [OpenClaw](https://openclaw.ai) 和 Node.js(>= v22)。
|
|
24
24
|
|
|
25
|
-
>
|
|
25
|
+
> [!WARNING]
|
|
26
|
+
> OpenClaw 新发布的 **3.22** 版本存在不兼容变更,飞书插件运行会出现异常,正在兼容中。预计 **3.24 日**兼容完成。
|
|
27
|
+
> 请暂时使用 3.13 版本:
|
|
26
28
|
> ```bash
|
|
27
|
-
> npm install -g openclaw
|
|
29
|
+
> npm install -g openclaw@2026.3.13
|
|
28
30
|
> ```
|
|
31
|
+
> 查看当前版本:`openclaw -v`
|
|
29
32
|
|
|
30
33
|
```bash
|
|
31
34
|
npx -y @colinlu50/openclaw-lark-stream install
|
|
@@ -59,4 +62,4 @@ openclaw config set channels.feishu.footer.status false # 隐藏完成状态
|
|
|
59
62
|
|
|
60
63
|
## 📄 许可证
|
|
61
64
|
|
|
62
|
-
MIT
|
|
65
|
+
MIT
|
package/bin/openclaw-lark.js
CHANGED
|
@@ -74,8 +74,13 @@ function checkOpenClawVersion() {
|
|
|
74
74
|
try {
|
|
75
75
|
const ver = execSync("openclaw -v", { encoding: "utf8" }).trim();
|
|
76
76
|
console.log(`OpenClaw version: ${ver}`);
|
|
77
|
+
if (!ver.includes("2026.3.13")) {
|
|
78
|
+
console.warn(`\n⚠️ This plugin is tested with OpenClaw 2026.3.13.`);
|
|
79
|
+
console.warn(` Current version: ${ver}`);
|
|
80
|
+
console.warn(` To install the compatible version: npm install -g openclaw@2026.3.13\n`);
|
|
81
|
+
}
|
|
77
82
|
} catch {
|
|
78
|
-
console.error("❌ OpenClaw not found. Install it first: npm install -g openclaw");
|
|
83
|
+
console.error("❌ OpenClaw not found. Install it first: npm install -g openclaw@2026.3.13");
|
|
79
84
|
process.exit(1);
|
|
80
85
|
}
|
|
81
86
|
}
|