@lark-apaas/openclaw-lark 2026.4.3-alpha.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/LICENSE +13 -0
- package/README.md +76 -0
- package/README.zh.md +70 -0
- package/dist/index.d.mts +1342 -0
- package/dist/index.mjs +7333 -0
- package/dist/monitor-ByuR3eaY.mjs +14604 -0
- package/openclaw.plugin.json +17 -0
- package/package.json +94 -0
- package/skills/feishu-bitable/SKILL.md +248 -0
- package/skills/feishu-bitable/references/examples.md +813 -0
- package/skills/feishu-bitable/references/field-properties.md +763 -0
- package/skills/feishu-bitable/references/record-values.md +911 -0
- package/skills/feishu-calendar/SKILL.md +242 -0
- package/skills/feishu-channel-rules/SKILL.md +18 -0
- package/skills/feishu-channel-rules/references/markdown-syntax.md +138 -0
- package/skills/feishu-create-doc/SKILL.md +719 -0
- package/skills/feishu-fetch-doc/SKILL.md +93 -0
- package/skills/feishu-im-read/SKILL.md +163 -0
- package/skills/feishu-task/SKILL.md +293 -0
- package/skills/feishu-troubleshoot/SKILL.md +70 -0
- package/skills/feishu-update-doc/SKILL.md +285 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Lark Technologies Pte. Ltd. and/or its affiliates
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted,provided that the above copyright notice and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
8
|
+
IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
|
|
9
|
+
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
|
|
10
|
+
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
|
11
|
+
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
12
|
+
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
|
13
|
+
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# OpenClaw Lark/Feishu Plugin
|
|
2
|
+
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://www.npmjs.com/package/@larksuite/openclaw-lark)
|
|
5
|
+
[](https://nodejs.org/)
|
|
6
|
+
|
|
7
|
+
[中文版](./README.zh.md) | English
|
|
8
|
+
|
|
9
|
+
This is the official Lark/Feishu plugin for OpenClaw, developed and maintained by the Lark/Feishu Open Platform team. It seamlessly connects your OpenClaw Agent to your Lark/Feishu workspace, enabling it to directly read from and write to messages, docs, bases, calendars, tasks, and more.
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
This plugin provides comprehensive Lark/Feishu integration for OpenClaw, including:
|
|
14
|
+
|
|
15
|
+
| Category | Capabilities |
|
|
16
|
+
|------|------|
|
|
17
|
+
| 💬 Messenger | Read messages (group/DM history, thread replies), send messages, reply to messages, search messages, download images/files |
|
|
18
|
+
| 📄 Docs | Create, update, and read documents |
|
|
19
|
+
| 📊 Base | Create/manage bases, tables, fields, records (CRUD, batch operations, advanced filtering), views |
|
|
20
|
+
| 📈 Sheets | Create, edit, and view spreadsheets |
|
|
21
|
+
| 📅 Calendar | Manage calendars and events (create/query/update/delete/search), manage attendees, check free/busy status |
|
|
22
|
+
| ✅ Tasks | Manage tasks (create/query/update/complete), manage task lists, subtasks, and comments |
|
|
23
|
+
|
|
24
|
+
Additionally, the plugin supports:
|
|
25
|
+
- **📱 Interactive Cards**: Real-time status updates (Thinking/Generating/Complete), plus confirmation buttons for sensitive operations
|
|
26
|
+
- **🌊 Streaming Responses**: Live streaming text directly within message cards
|
|
27
|
+
- **🔒 Permission Policies**: Flexible access control policies for DMs and group chats
|
|
28
|
+
- **⚙️ Advanced Group Configuration**: Per-group settings including allowlists, skill bindings, and custom system prompts
|
|
29
|
+
|
|
30
|
+
## Security & Risk Warnings (Read Before Use)
|
|
31
|
+
|
|
32
|
+
This plugin integrates with OpenClaw AI automation capabilities and carries inherent risks such as model hallucinations, unpredictable execution, and prompt injection. After you authorize Lark/Feishu permissions, OpenClaw will act under your user identity within the authorized scope, which may lead to high-risk consequences such as leakage of sensitive data or unauthorized operations. Please use with caution.
|
|
33
|
+
|
|
34
|
+
To reduce these risks, the plugin enables default security protections at multiple layers. However, these risks still exist. We strongly recommend that you do not proactively modify any default security settings; once relevant restrictions are relaxed, the risks will increase significantly, and you will bear the consequences.
|
|
35
|
+
|
|
36
|
+
We recommend using the Lark/Feishu bot connected to OpenClaw as a private conversational assistant. Do not add it to group chats or allow other users to interact with it, to avoid abuse of permissions or data leakage.
|
|
37
|
+
|
|
38
|
+
Please fully understand all usage risks. By using this plugin, you are deemed to voluntarily assume all related responsibilities.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
**Disclaimer:**
|
|
42
|
+
|
|
43
|
+
This software is licensed under the MIT License. When running, it calls Lark/Feishu Open Platform APIs. To use these APIs, you must comply with the following agreements and privacy policies:
|
|
44
|
+
|
|
45
|
+
- [Feishu Privacy Policy](https://www.feishu.cn/en/privacy?from=openclaw_plugin_readme)
|
|
46
|
+
- [Feishu User Terms of Service](https://www.feishu.cn/en/terms?from=openclaw_plugin_readme)
|
|
47
|
+
- [Feishu Store App Service Provider Security Management Specifications](https://open.larkoffice.com/document/uAjLw4CM/uMzNwEjLzcDMx4yM3ATM/management-practice/app-service-provider-security-management-specifications)
|
|
48
|
+
|
|
49
|
+
- [Lark Privacy Policy](https://www.larksuite.com/user-terms-of-service)
|
|
50
|
+
- [Lark User Terms of Service](https://www.larksuite.com/privacy-policy)
|
|
51
|
+
|
|
52
|
+
## Requirements & Installation
|
|
53
|
+
|
|
54
|
+
Before you start, make sure you have the following:
|
|
55
|
+
|
|
56
|
+
- **Node.js**: `v22` or higher.
|
|
57
|
+
- **OpenClaw**: OpenClaw is installed and works properly. For details, visit the [OpenClaw official website](https://openclaw.ai).
|
|
58
|
+
|
|
59
|
+
> **Note**: OpenClaw version must be **2026.2.26** or higher. Check with `openclaw -v`. If below this version, you may encounter issues. Upgrade with:
|
|
60
|
+
> ```bash
|
|
61
|
+
> npm install -g openclaw
|
|
62
|
+
> ```
|
|
63
|
+
|
|
64
|
+
## Usage Guide
|
|
65
|
+
|
|
66
|
+
[How to Use the Official Lark/Feishu Plugin for OpenClaw](https://bytedance.larkoffice.com/docx/MFK7dDFLFoVlOGxWCv5cTXKmnMh)
|
|
67
|
+
|
|
68
|
+
## Contributing
|
|
69
|
+
|
|
70
|
+
Community contributions are welcome! If you find a bug or have feature suggestions, please submit an [Issue](https://github.com/larksuite/openclaw-larksuite/issues) or a [Pull Request](https://github.com/larksuite/openclaw-larksuite/pulls).
|
|
71
|
+
|
|
72
|
+
For major changes, we recommend discussing with us first via an Issue.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
This project is licensed under the **MIT License**. See [LICENSE](./LICENSE.md) for details.
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# OpenClaw Lark/飞书 插件
|
|
2
|
+
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://www.npmjs.com/package/@larksuite/openclaw-lark)
|
|
5
|
+
[](https://nodejs.org/)
|
|
6
|
+
|
|
7
|
+
[English](./README.md) | 中文版
|
|
8
|
+
|
|
9
|
+
这是 OpenClaw 的官方 Lark/飞书 插件,由 Lark/飞书开放平台团队开发和维护。它将你的 OpenClaw Agent 无缝对接到 Lark/飞书 工作区,赋予其直接读写消息、文档、多维表格、日历、任务等应用的能力。
|
|
10
|
+
|
|
11
|
+
## 特性
|
|
12
|
+
|
|
13
|
+
本插件为 OpenClaw 提供了全面的 Lark/飞书集成能力,主要包括:
|
|
14
|
+
|
|
15
|
+
| 类别 | 能力 |
|
|
16
|
+
|------|------|
|
|
17
|
+
| 💬 消息 | 消息读取(群聊/单聊历史、话题回复)、消息发送、消息回复、消息搜索、图片/文件下载 |
|
|
18
|
+
| 📄 文档 | 创建云文档、更新云文档、读取云文档内容 |
|
|
19
|
+
| 📊 多维表格 | 创建/管理多维表格、数据表、字段、记录(增删改查、批量操作、高级筛选)、视图 |
|
|
20
|
+
| 📈 电子表格 | 创建、编辑、查看电子表格 |
|
|
21
|
+
| 📅 日历日程 | 日历管理、日程管理(创建/查询/修改/删除/搜索)、参会人管理、忙闲查询 |
|
|
22
|
+
| ✅ 任务 | 任务管理(创建/查询/更新/完成)、清单管理、子任务、评论 |
|
|
23
|
+
|
|
24
|
+
此外,插件还支持:
|
|
25
|
+
- **📱 交互式卡片**:实时状态更新(思考中/生成中/完成状态),提供敏感操作的确认按钮
|
|
26
|
+
- **🌊 流式回复**:在消息卡片中提供实时的流式响应
|
|
27
|
+
- **🔒 权限策略**:为私聊和群聊提供灵活的访问控制策略
|
|
28
|
+
- **⚙️ 高级群组配置**:每个群聊的独立设置,包括白名单、技能绑定和自定义系统提示词
|
|
29
|
+
|
|
30
|
+
## 安全与风险提示(使用前必读)
|
|
31
|
+
本插件对接 OpenClaw AI 自动化能力,存在模型幻觉、执行不可控、提示词注入等固有风险;授权飞书权限后,OpenClaw 将以您的用户身份在授权范围内执行操作,可能导致敏感数据泄露、越权操作等高风险后果,请您谨慎操作和使用。
|
|
32
|
+
为降低上述风险,插件已在多个层面启用默认安全保护以降低上述风险,但上述风险仍然存在。我们强烈建议不要主动修改任何默认安全配置;一旦放开相关限制,上述风险将显著提高,由此产生的后果需由您自行承担。
|
|
33
|
+
我们建议您将接入 OpenClaw 的飞书机器人作为私人对话助手使用,请勿将其拉入群聊或允许其他用户与其交互,以避免权限被滥用或数据泄露。
|
|
34
|
+
请您充分知悉全部使用风险,使用本插件即视为您自愿承担相关所有责任。
|
|
35
|
+
|
|
36
|
+
**免责声明:**
|
|
37
|
+
|
|
38
|
+
本软件的代码采用MIT许可证。
|
|
39
|
+
该软件运行时会调用Lark/飞书开放平台的API,使用这些API需要遵守如下协议和隐私政策:
|
|
40
|
+
|
|
41
|
+
- [飞书用户服务协议](https://www.feishu.cn/terms)
|
|
42
|
+
- [飞书隐私政策](https://www.feishu.cn/privacy)
|
|
43
|
+
- [飞书开放平台独立软件服务商安全管理运营规范](https://open.larkoffice.com/document/uAjLw4CM/uMzNwEjLzcDMx4yM3ATM/management-practice/app-service-provider-security-management-specifications)
|
|
44
|
+
- [Lark用户服务协议](https://www.larksuite.com/user-terms-of-service)
|
|
45
|
+
- [Lark隐私政策](https://www.larksuite.com/privacy-policy)
|
|
46
|
+
|
|
47
|
+
## 安装与要求
|
|
48
|
+
|
|
49
|
+
在开始之前,请确保你已准备好以下各项:
|
|
50
|
+
|
|
51
|
+
- **Node.js**: `v22` 或更高版本。
|
|
52
|
+
- **OpenClaw**: OpenClaw 已成功安装并可运行。详情请访问 [OpenClaw 官方网站](https://openclaw.ai)。
|
|
53
|
+
|
|
54
|
+
> **注意**:OpenClaw 版本需在 **2026.2.26** 及以上,可通过 `openclaw -v` 命令查看。如果低于该版本可能出现异常,执行以下命令升级:
|
|
55
|
+
> ```bash
|
|
56
|
+
> npm install -g openclaw
|
|
57
|
+
> ```
|
|
58
|
+
|
|
59
|
+
## 使用说明
|
|
60
|
+
[OpenClaw Lark/飞书官方插件使用指南](https://bytedance.larkoffice.com/docx/MFK7dDFLFoVlOGxWCv5cTXKmnMh)
|
|
61
|
+
|
|
62
|
+
## 贡献
|
|
63
|
+
|
|
64
|
+
我们欢迎社区的贡献!如果你发现 Bug 或有功能建议,请随时提交 [Issue](https://github.com/larksuite/openclaw-larksuite/issues) 或 [Pull Request](https://github.com/larksuite/openclaw-larksuite/pulls)。
|
|
65
|
+
|
|
66
|
+
对于较大的改动,我们建议你先通过 Issue 与我们讨论。
|
|
67
|
+
|
|
68
|
+
## 许可证
|
|
69
|
+
|
|
70
|
+
本项目基于 **MIT 许可证**。详情请参阅 [LICENSE](./LICENSE.md) 文件。
|