Tools
Lark Stream Latest
OpenClaw Lark/Feishu streaming optimization plugin for the latest OpenClaw
Install
npm install &&
README
[English](./README.en.md) | 中文
# OpenClaw 飞书插件 — 最新版流式优化版

参考 [ColinLu50/openclaw-lark-stream](https://github.com/ColinLu50/openclaw-lark-stream) 整理,并针对最新版 OpenClaw 兼容,支持**流式分块输出**和**工具调用状态展示**。
## ✨ 改动说明
官方插件在 LLM 生成完一个 block 后才一次性推送结果。本 Fork 实现了:
- **实时流式输出** — 每个 block 的内容在生成过程中逐步追加到流式卡片
- **群聊流式输出** — 群聊中也可使用流式输出
- **工具调用状态** — agent 调用工具时,卡片顶部实时显示当前工具,完成后自动折叠为摘要面板
## 📢 News
- **2026.3.25** — 适配 `[email protected]`
## 📦 安装
需要 [OpenClaw](https://openclaw.ai) 和 Node.js(>= v22)。
> [!NOTE]
> 当前工程已按 `[email protected]` 验证构建通过。查看本机版本可执行:`openclaw -v`。
```bash
npx -y openclaw-lark-stream-latest install
```
### 从源码安装(开发用)
```bash
cd ~/.openclaw/extensions
git clone https://github.com/ColinLu50/openclaw-lark-stream.git openclaw-lark-stream
cd openclaw-lark-stream && npm install && npm run build
openclaw gateway restart
```
## ⚙️ 配置
### 流式输出
安装后默认开启流式输出。如需关闭:
```bash
openclaw config set channels.feishu.streaming false
openclaw config set channels.feishu.replyMode.direct card
openclaw config set channels.feishu.replyMode.group card
openclaw config set channels.feishu.replyMode.default card
openclaw gateway restart
```
重新开启:
```bash
openclaw config set channels.feishu.streaming true
openclaw config set channels.feishu.replyMode.direct streaming
openclaw config set channels.feishu.replyMode.group streaming
openclaw config set channels.feishu.replyMode.default streaming
openclaw gateway restart
```
### 卡片底栏
默认显示耗时和完成状态,如需关闭:
```bash
openclaw config set channels.feishu.footer.elapsed false # 隐藏耗时
openclaw config set channels.feishu.footer.status false # 隐藏完成状态
```
- **elapsed** — 卡片底栏显示总响应耗时(如 `耗时 3.2s`)
- **status** — 卡片底栏显示完成状态(`已完成` / `出错` / `已停止`)
## 📄 许可证
MIT
## 致谢
本项目实现参考并改编自 [ColinLu50/openclaw-lark-stream](https://github.com/ColinLu50/openclaw-lark-stream)。
tools
Comments
Sign in to leave a comment