@xwang152/claw-lark 0.1.5 → 0.1.7

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
@@ -65,6 +65,24 @@ openclaw plugins list
65
65
 
66
66
  You should see `lark` with status `loaded`.
67
67
 
68
+ ## Upgrade Plugin
69
+
70
+ ### Automatic Installation
71
+
72
+ ```bash
73
+ openclaw plugins update @xwang152/claw-lark
74
+ openclaw gateway restart
75
+ ```
76
+
77
+ ### Manual Installation
78
+
79
+ ```bash
80
+ cd claw-lark
81
+ git pull
82
+ npm install
83
+ openclaw gateway restart
84
+ ```
85
+
68
86
  ## Lark App Setup
69
87
 
70
88
  1. Go to [Lark Developer Console](https://open.larksuite.com/app)
@@ -143,7 +161,7 @@ LARK_VERIFICATION_TOKEN=your-token # Optional, for verifying request aut
143
161
  | `appSecret` | string | - | Lark App Secret (required) |
144
162
  | `connectionMode` | string | `websocket` | `webhook` or `websocket` |
145
163
  | `webhookPort` | number | `3000` | Port for webhook server |
146
- | `domain` | string | `lark` | `lark` (international) or `feishu` (China) |
164
+ | `domain` | string | `feishu` | `lark` (international) or `feishu` (China) |
147
165
  | `encryptKey` | string | - | Encrypt key for decrypting event payloads (from Events & Callbacks > Encryption Strategy) |
148
166
  | `verificationToken` | string | - | Token for verifying request authenticity (from Events & Callbacks > Encryption Strategy) |
149
167
  | `dmPolicy` | string | `pairing` | `open`, `pairing`, or `allowlist` |
package/README_zh.md CHANGED
@@ -62,6 +62,24 @@ openclaw plugins list
62
62
 
63
63
  您应该能看到 `lark` 插件且状态为 `loaded`。
64
64
 
65
+ ## 升级插件
66
+
67
+ ### 自动安装用户
68
+
69
+ ```bash
70
+ openclaw plugins update @xwang152/claw-lark
71
+ openclaw gateway restart
72
+ ```
73
+
74
+ ### 源码安装用户
75
+
76
+ ```bash
77
+ cd claw-lark
78
+ git pull
79
+ npm install
80
+ openclaw gateway restart
81
+ ```
82
+
65
83
  ## 飞书应用设置
66
84
 
67
85
  1. 前往 [飞书开放平台](https://open.feishu.cn/app) (国内) 或 [Lark Developer Console](https://open.larksuite.com/app) (国际)
@@ -141,7 +159,7 @@ LARK_VERIFICATION_TOKEN=your-token # 可选,用于验证请求真实
141
159
  | `appSecret` | string | - | 飞书 App Secret (必填) |
142
160
  | `connectionMode` | string | `websocket` | `webhook` 或 `websocket` |
143
161
  | `webhookPort` | number | `3000` | Webhook 服务器端口 |
144
- | `domain` | string | `lark` | `lark` (国际版) 或 `feishu` (国内版) |
162
+ | `domain` | string | `feishu` | `lark` (国际版) 或 `feishu` (国内版) |
145
163
  | `encryptKey` | string | - | 加密密钥,用于解密事件负载 (来自 事件订阅 > 加密策略) |
146
164
  | `verificationToken` | string | - | 验证令牌,用于验证请求真实性 (来自 事件订阅 > 加密策略) |
147
165
  | `dmPolicy` | string | `pairing` | `open` (开放), `pairing` (配对), 或 `allowlist` (白名单) |
package/index.ts CHANGED
@@ -29,9 +29,9 @@ export type {
29
29
  } from "./src/types.js";
30
30
 
31
31
  const plugin = {
32
- id: "feishu",
33
- name: "Feishu",
34
- description: "Feishu / Lark channel plugin for OpenClaw",
32
+ id: "lark",
33
+ name: "Lark",
34
+ description: "Lark / Feishu channel plugin for OpenClaw",
35
35
  configSchema: emptyPluginConfigSchema(),
36
36
  register(api: OpenClawPluginApi) {
37
37
  setLarkRuntime(api);
@@ -1,6 +1,6 @@
1
1
  {
2
- "id": "feishu",
3
- "channels": ["feishu"],
2
+ "id": "lark",
3
+ "channels": ["lark"],
4
4
  "configSchema": {
5
5
  "type": "object",
6
6
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwang152/claw-lark",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "description": "Lark/Feishu channel plugin for OpenClaw with WebSocket and Webhook support",
6
6
  "license": "MIT",