@meet-im/meet 3.4.3 → 3.4.5

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.
@@ -1,2 +1,2 @@
1
- export declare const MEET_PLUGIN_VERSION = "3.4.3";
1
+ export declare const MEET_PLUGIN_VERSION = "3.4.5";
2
2
  export declare const MEET_OPENCLAW_VERSION = "2026.5.18";
@@ -1,2 +1,2 @@
1
- export const MEET_PLUGIN_VERSION = "3.4.3";
1
+ export const MEET_PLUGIN_VERSION = "3.4.5";
2
2
  export const MEET_OPENCLAW_VERSION = "2026.5.18";
@@ -102,10 +102,18 @@ export async function createMeetReplyDispatcher(opts) {
102
102
  let lastDeliveredVisibleText;
103
103
  // 创建 typing callbacks(如果配置了 typing 且有必要参数)
104
104
  const hasTypingParams = typingMode && typingMode !== "none" && sessionInfo && apiToken;
105
+ const MEET_TYPING_TTL_MS = 300_000;
106
+ const configuredTypingIntervalSeconds = cfg.agents?.defaults?.typingIntervalSeconds
107
+ ?? cfg.session?.typingIntervalSeconds;
108
+ const openclawTypingTtlMs = typeof configuredTypingIntervalSeconds === "number" && configuredTypingIntervalSeconds > 0
109
+ ? configuredTypingIntervalSeconds * 1_000
110
+ : 60_000;
111
+ const typingTtlMs = Math.max(MEET_TYPING_TTL_MS, openclawTypingTtlMs);
105
112
  // stop 请求需要等待最后一个 start 完成,避免乱序
106
113
  let lastStartPromise = Promise.resolve();
107
114
  const typingCallbacks = hasTypingParams
108
115
  ? createTypingCallbacks({
116
+ maxDurationMs: typingTtlMs,
109
117
  start: async () => {
110
118
  // 直接发送,不串行化。typing start 是幂等的,重复发送无害
111
119
  opts.runtime.log?.(`[${accountId}][${chatId}]: typing start sending...`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meet-im/meet",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "type": "module",
5
5
  "description": "OpenClaw Meet channel plugin",
6
6
  "scripts": {
@@ -61,7 +61,7 @@
61
61
  "devDependencies": {
62
62
  "@types/node": "25.6.0",
63
63
  "@vitest/coverage-v8": "4.1.5",
64
- "openclaw": "2026.5.18",
64
+ "openclaw": "2026.6.1",
65
65
  "tsx": "4.21.0",
66
66
  "typescript": "6.0.3",
67
67
  "vite": "6.4.2",
@@ -0,0 +1,289 @@
1
+ ---
2
+ name: meet-lxcli-guide
3
+ description: "Use when the user needs to install lxcli, configure CLI token auth, manage Meet/CO/SKY tenants, use Kanboard task and bug commands, or install lxcli-provided skills into a skill-capable agent environment."
4
+ metadata: { "openclaw": { "emoji": "🛠️", "requires": { "config": ["channels.meet"], "bins": ["lxcli"] }, "cliHelp": "lxcli --help" } }
5
+ ---
6
+
7
+ # Meet lxcli Guide
8
+
9
+ 用于指导安装 `lxcli`、完成首次认证、执行常用看板需求/bug 命令,以及安装 `lxcli` 提供的 skills。
10
+
11
+ ## When to Use
12
+
13
+ 在这些场景使用:
14
+
15
+ - 需要安装或升级 `lxcli`
16
+ - 需要从 Meet 客户端获取 CLI Token 并完成 `auth`
17
+ - 需要创建、查询、查看或评论需求/bug
18
+ - 需要把 `lxcli` 自带 skills 安装到支持 skills 的 Agent 环境
19
+
20
+ ## Prerequisites
21
+
22
+ - Node.js `>= 22.0.0`
23
+ - 建议已安装 `npm` 或 `pnpm`
24
+
25
+ 先检查环境:
26
+
27
+ ```bash
28
+ node -v
29
+ npm -v
30
+ ```
31
+
32
+ ## Install lxcli
33
+
34
+ 推荐全局安装:
35
+
36
+ ```bash
37
+ npm install -g @meet-im/lxcli
38
+ ```
39
+
40
+ 或:
41
+
42
+ ```bash
43
+ pnpm add -g @meet-im/lxcli
44
+ ```
45
+
46
+ 如果镜像未同步,显式使用官方源:
47
+
48
+ ```bash
49
+ pnpm add -g @meet-im/lxcli --registry=https://registry.npmjs.org/
50
+ ```
51
+
52
+ ## Verify Installation
53
+
54
+ ```bash
55
+ lxcli -V
56
+ lxcli --help
57
+ ```
58
+
59
+ 注意:版本参数是 `-V`,不是 `-v`。
60
+
61
+ ## Quick Start in 5 Commands
62
+
63
+ 第一次上手,按这个顺序即可:
64
+
65
+ ```bash
66
+ lxcli -V
67
+ lxcli auth <name> <token> --tenant meet --env prod
68
+ lxcli users list --format table
69
+ lxcli kb --help
70
+ lxcli kb searchTasks --project_id 4 --query "status:1"
71
+ ```
72
+
73
+ 1. 确认 `lxcli` 已安装
74
+ 2. 完成生产环境认证
75
+ 3. 确认当前用户已写入本地配置
76
+ 4. 查看 `kb` 可用命令
77
+ 5. 跑一次最小搜索,验证 Kanboard 能正常访问
78
+
79
+ ## First-Time Auth
80
+
81
+ ### 1. 获取 CLI Token
82
+
83
+ 在 Meet 客户端中:
84
+
85
+ 1. 升级客户端到最新版本(文档要求 2.4.0 / 1.12.2 以上)
86
+ 2. 点击左上角头像,打开设置页
87
+ 3. 找到“AI 工具”
88
+ 4. 点击“创建”或“重置” CLI Token
89
+ 5. 复制并保存 Token(通常只展示一次)
90
+
91
+ ### 2. 添加认证信息
92
+
93
+ ```bash
94
+ lxcli auth <name> <token> --tenant <tenant>
95
+ ```
96
+
97
+ - `<name>`:本地用户名称,用于区分账号
98
+ - `<token>`:客户端生成的 CLI Token
99
+ - `--tenant <tenant>`:必填,可选 `meet`、`co`、`sky`
100
+
101
+ 默认推荐:日常优先使用 `meet + prod`;`staging` 通常用于开发测试。
102
+
103
+ 示例:
104
+
105
+ ```bash
106
+ lxcli auth ryu sp-xxx --tenant meet
107
+ ```
108
+
109
+ 常用扩展参数:
110
+
111
+ ```bash
112
+ lxcli auth ryu sp-xxx --tenant meet --env prod
113
+ lxcli auth ryu sp-xxx --tenant meet --env staging
114
+ lxcli auth ryu sp-xxx --tenant meet --company 1
115
+ ```
116
+
117
+ - `--env <env>`:`test`、`pre`、`staging`、`beta`、`prod`,默认 `prod`
118
+ - `--company <id>`:公司 ID,默认 `1`
119
+
120
+ 建议:
121
+
122
+ - 生产环境:`--tenant meet --env prod`
123
+ - 开发测试:`--tenant meet --env staging`
124
+
125
+ ### 3. 查看当前用户与租户
126
+
127
+ ```bash
128
+ lxcli users
129
+ lxcli users list --format table
130
+ lxcli tenants list --format table
131
+ lxcli services list --format table
132
+ ```
133
+
134
+ ## Common Kanboard Commands
135
+
136
+ 先查看可用命令:
137
+
138
+ ```bash
139
+ lxcli kb --help
140
+ ```
141
+
142
+ ### 搜索需求/bug
143
+
144
+ ```bash
145
+ lxcli kb searchTasks --help
146
+ ```
147
+
148
+ 实战示例:
149
+
150
+ ```bash
151
+ # 查询项目 4 中状态为 1 的任务
152
+ lxcli kb searchTasks --project_id 4 --query "status:1"
153
+
154
+ # 查询标题或内容中包含“登录”的任务
155
+ lxcli kb searchTasks --project_id 4 --query "登录"
156
+ ```
157
+
158
+ ### 查看需求/bug 明细
159
+
160
+ ```bash
161
+ lxcli kb getTask --help
162
+ lxcli kb getTask --task_id 123
163
+ ```
164
+
165
+ ### 创建需求/bug
166
+
167
+ 快捷参数方式:
168
+
169
+ ```bash
170
+ lxcli kb createTask --title "登录页优化" --project_id 4 --owner_id 23 --category_id 3
171
+ ```
172
+
173
+ 创建 bug:
174
+
175
+ ```bash
176
+ lxcli kb createTask --title "登录按钮点击无响应" --project_id 4 --owner_id 23 --category_id 3 --params '{"title":"登录按钮点击无响应","project_id":4,"owner_id":23,"category_id":3,"is_bug":1,"description":"复现步骤:1. 打开登录页 2. 输入账号密码 3. 点击登录无响应"}'
177
+ ```
178
+
179
+ 完整参数方式:
180
+
181
+ ```bash
182
+ lxcli kb createTask --params '{"title":"登录页优化","project_id":4,"owner_id":23,"category_id":3,"is_bug":0,"description":"支持 Markdown"}'
183
+ ```
184
+
185
+ 说明:
186
+
187
+ - `is_bug=1` 表示 bug
188
+ - `is_bug=0` 表示普通需求
189
+ - 复杂场景优先使用 `--params`
190
+
191
+ ### 给需求增加评论
192
+
193
+ ```bash
194
+ lxcli kb createComment --help
195
+ lxcli kb createComment --task_id 123 --content "已复现,待修复"
196
+ ```
197
+
198
+ ## Install lxcli Skills
199
+
200
+ 如果你在支持 skills 的 Agent 环境中使用 `lxcli`,可以安装其自带 skills。
201
+
202
+ ### 安装整个 skills 仓库
203
+
204
+ ```bash
205
+ npx skills add https://github.com/LynkTechnology/lxcli -y
206
+ ```
207
+
208
+ ### 只安装单个 skill
209
+
210
+ ```bash
211
+ npx skills add https://github.com/LynkTechnology/lxcli/tree/main/skills/kb-searchTasks -y
212
+ npx skills add https://github.com/LynkTechnology/lxcli/tree/main/skills/kb-getMe -y
213
+ ```
214
+
215
+ ### OpenClaw 本地链接或复制
216
+
217
+ 先 clone 仓库:
218
+
219
+ ```bash
220
+ git clone https://github.com/LynkTechnology/lxcli.git
221
+ cd lxcli
222
+ ```
223
+
224
+ 将整个 skills 目录软链接到本地:
225
+
226
+ ```bash
227
+ ln -s $(pwd)/skills/* ~/.openclaw/skills/
228
+ ```
229
+
230
+ 或只复制需要的 skills:
231
+
232
+ ```bash
233
+ cp -r skills/kb-searchTasks skills/meet-getMyInfo ~/.openclaw/skills/
234
+ ```
235
+
236
+ ## Common Issues
237
+
238
+ ### `lxcli is not recognized`
239
+
240
+ ```bash
241
+ pnpm ls -g --depth 0
242
+ where lxcli
243
+ ```
244
+
245
+ 如果没装上,重新安装:
246
+
247
+ ```bash
248
+ pnpm add -g @meet-im/lxcli --registry=https://registry.npmjs.org/
249
+ ```
250
+
251
+ 安装后重新打开终端。
252
+
253
+ ### registry 404
254
+
255
+ 镜像未同步时改用官方源:
256
+
257
+ ```bash
258
+ pnpm add -g @meet-im/lxcli --registry=https://registry.npmjs.org/
259
+ ```
260
+
261
+ 或:
262
+
263
+ ```bash
264
+ npm install -g @meet-im/lxcli --registry=https://registry.npmjs.org/
265
+ ```
266
+
267
+ ### Windows 下 `--params` JSON 传参异常
268
+
269
+ ```bash
270
+ lxcli <service> <method> --help
271
+ ```
272
+
273
+ 复杂 JSON 先从最小示例开始验证,再逐步补充字段。
274
+
275
+ ## Quick Reference
276
+
277
+ ```bash
278
+ lxcli -V
279
+ lxcli --help
280
+ lxcli auth <name> <token> --tenant meet --env prod
281
+ lxcli users list --format table
282
+ lxcli tenants list --format table
283
+ lxcli services list --format table
284
+ lxcli kb --help
285
+ lxcli kb getTask --task_id 123
286
+ lxcli kb createTask --help
287
+ lxcli kb createComment --help
288
+ npx skills add https://github.com/LynkTechnology/lxcli -y
289
+ ```