Feishu Group Thread Reply
Patch openclaw-lark to reply in threads for all group chat messages.
Quick Apply
CODEBLOCK0
Check Status
CODEBLOCK1
Heartbeat Auto-Check
Add to HEARTBEAT.md to auto-detect and re-apply after plugin updates:
CODEBLOCK2
How It Works
The plugin hardcodes replyInThread: dc.isThread which is only true when the incoming message is already in a thread. The patch changes this to dc.isGroup || dc.isThread so all group replies use threads.
For detailed explanation, see references/how-it-works.md.
After Plugin Updates
The openclaw-lark plugin is npm-installed. Updates overwrite patched files. Re-run:
CODEBLOCK3
飞书群组线程回复
修改 openclaw-lark,使其对所有群聊消息都以线程形式回复。
快速应用
bash
1. 修补插件
bash scripts/patch-lark-thread.sh
2. 修补实时卡片(如已安装)
python3 scripts/patch-live-card.py
3. 重启网关
openclaw gateway restart
检查状态
bash
bash scripts/patch-lark-thread.sh --check-only
python3 scripts/patch-live-card.py --check-only
心跳自动检查
添加到 HEARTBEAT.md 中,可在插件更新后自动检测并重新应用:
markdown
openclaw-lark 线程修补
运行:bash
/scripts/patch-lark-thread.sh --check-only
如果退出码为 1,则重新应用:bash /scripts/patch-lark-thread.sh,然后重启网关。
feishu-live-card 监视器
检查运行状态:ps aux | grep watcher.py | grep -v grep
如果未运行:cd ~/.openclaw/skills/feishu-live-card && python3 watcher.py start &
工作原理
该插件硬编码了 replyInThread: dc.isThread,这仅在传入消息已在线程中时才为 true。修补后将其改为 dc.isGroup || dc.isThread,这样所有群组回复都会使用线程。
详细说明请参见 references/how-it-works.md。
插件更新后
openclaw-lark 插件通过 npm 安装。更新会覆盖已修补的文件。请重新运行:
bash
bash scripts/patch-lark-thread.sh
openclaw gateway restart