@dingtalk-real-ai/dingtalk-connector 0.6.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 +21 -0
- package/README.md +331 -0
- package/openclaw.plugin.json +15 -0
- package/package.json +33 -0
- package/plugin.ts +2657 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DingTalk Real Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# DingTalk OpenClaw Connector
|
|
2
|
+
|
|
3
|
+
以下提供两种方案连接到 [OpenClaw](https://openclaw.ai) Gateway,分别是钉钉机器人和钉钉 DEAP Agent。
|
|
4
|
+
|
|
5
|
+
## 快速导航
|
|
6
|
+
|
|
7
|
+
| 方案 | 名称 | 详情 |
|
|
8
|
+
|------|------|------|
|
|
9
|
+
| 方案一 | 钉钉机器人集成 | [查看详情](#方案一钉钉机器人集成) |
|
|
10
|
+
| 方案二 | 钉钉 DEAP Agent 集成 | [查看详情](#方案二钉钉-deap-agent-集成) |
|
|
11
|
+
|
|
12
|
+
# 方案一:钉钉机器人集成
|
|
13
|
+
将钉钉机器人连接到 [OpenClaw](https://openclaw.ai) Gateway,支持 AI Card 流式响应和会话管理。
|
|
14
|
+
|
|
15
|
+
## 特性
|
|
16
|
+
|
|
17
|
+
- ✅ **AI Card 流式响应** - 打字机效果,实时显示 AI 回复
|
|
18
|
+
- ✅ **会话持久化** - 同一用户的多轮对话共享上下文
|
|
19
|
+
- ✅ **超时自动新会话** - 默认 30 分钟无活动自动开启新对话
|
|
20
|
+
- ✅ **手动新会话** - 发送 `/new` 或 `新会话` 清空对话历史
|
|
21
|
+
- ✅ **图片自动上传** - 本地图片路径自动上传到钉钉
|
|
22
|
+
- ✅ **主动发送消息** - 支持主动给钉钉个人或群发送消息
|
|
23
|
+
|
|
24
|
+
## 架构
|
|
25
|
+
|
|
26
|
+
```mermaid
|
|
27
|
+
graph LR
|
|
28
|
+
subgraph "钉钉"
|
|
29
|
+
A["用户发消息"] --> B["Stream WebSocket"]
|
|
30
|
+
E["AI 流式卡片"] --> F["用户看到回复"]
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
subgraph "Connector"
|
|
34
|
+
B --> C["消息处理器"]
|
|
35
|
+
C -->|"HTTP SSE"| D["Gateway /v1/chat/completions"]
|
|
36
|
+
D -->|"流式 chunk"| C
|
|
37
|
+
C -->|"streaming API"| E
|
|
38
|
+
end
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 效果
|
|
42
|
+
|
|
43
|
+
<img width="360" height="780" alt="image" src="https://github.com/user-attachments/assets/f2a3db5d-67fa-4078-b19c-a2acdff9f2bf" />
|
|
44
|
+
<img width="360" height="780" alt="image" src="https://github.com/user-attachments/assets/c3e51c05-c44c-4bc4-8877-911ec471b645" />
|
|
45
|
+
|
|
46
|
+
## 安装
|
|
47
|
+
|
|
48
|
+
### 1. 安装插件
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# 远程安装
|
|
52
|
+
openclaw plugins install https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector.git
|
|
53
|
+
|
|
54
|
+
# 升级插件
|
|
55
|
+
openclaw plugins update dingtalk-connector
|
|
56
|
+
|
|
57
|
+
# 或本地开发模式
|
|
58
|
+
git clone https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector.git
|
|
59
|
+
cd dingtalk-moltbot-connector
|
|
60
|
+
npm install
|
|
61
|
+
openclaw plugins install -l .
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
> **⚠️ 旧版本升级提示:** 如果你之前安装过旧版本的 Clawdbot/Moltbot 或 0.4.0 以下版本的 connector 插件,可能会出现兼容性问题,请参考 [Q: 升级后出现插件加载异常或配置不生效](#q-升级后出现插件加载异常或配置不生效)。
|
|
65
|
+
|
|
66
|
+
### 2. 配置
|
|
67
|
+
|
|
68
|
+
在 `~/.openclaw/openclaw.json` 中添加:
|
|
69
|
+
|
|
70
|
+
```json5
|
|
71
|
+
{
|
|
72
|
+
"channels": {
|
|
73
|
+
"dingtalk-connector": {
|
|
74
|
+
"enabled": true,
|
|
75
|
+
"clientId": "dingxxxxxxxxx", // 钉钉 AppKey
|
|
76
|
+
"clientSecret": "your_secret_here", // 钉钉 AppSecret
|
|
77
|
+
"gatewayToken": "", // 可选:Gateway 认证 token, openclaw.json配置中 gateway.auth.token 的值
|
|
78
|
+
"gatewayPassword": "", // 可选:Gateway 认证 password(与 token 二选一)
|
|
79
|
+
"sessionTimeout": 1800000 // 可选:会话超时(ms),默认 30 分钟
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"gateway": { // gateway通常是已有的节点,配置时注意把http部分追加到已有节点下
|
|
83
|
+
"http": {
|
|
84
|
+
"endpoints": {
|
|
85
|
+
"chatCompletions": {
|
|
86
|
+
"enabled": true
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
或者在 OpenClaw Dashboard 页面配置:
|
|
95
|
+
|
|
96
|
+
<img width="1916" height="1996" alt="image" src="https://github.com/user-attachments/assets/00b585ca-c1df-456c-9c65-7345a718b94b" />
|
|
97
|
+
|
|
98
|
+
### 3. 重启 Gateway
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
openclaw gateway restart
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
验证:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
openclaw plugins list # 确认 dingtalk-connector 已加载
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## 创建钉钉机器人
|
|
111
|
+
|
|
112
|
+
1. 打开 [钉钉开放平台](https://open.dingtalk.com/)
|
|
113
|
+
2. 进入 **应用开发** → **企业内部开发** → 创建应用
|
|
114
|
+
3. 添加 **机器人** 能力,消息接收模式选择 **Stream 模式**
|
|
115
|
+
4. 开通权限:
|
|
116
|
+
- `Card.Streaming.Write`
|
|
117
|
+
- `Card.Instance.Write`
|
|
118
|
+
- `qyapi_robot_sendmsg`
|
|
119
|
+
5. **发布应用**,记录 **AppKey** 和 **AppSecret**
|
|
120
|
+
|
|
121
|
+
## 配置参考
|
|
122
|
+
|
|
123
|
+
| 配置项 | 环境变量 | 说明 |
|
|
124
|
+
|--------|----------|------|
|
|
125
|
+
| `clientId` | `DINGTALK_CLIENT_ID` | 钉钉 AppKey |
|
|
126
|
+
| `clientSecret` | `DINGTALK_CLIENT_SECRET` | 钉钉 AppSecret |
|
|
127
|
+
| `gatewayToken` | `OPENCLAW_GATEWAY_TOKEN` | Gateway 认证 token(可选) |
|
|
128
|
+
| `gatewayPassword` | — | Gateway 认证 password(可选,与 token 二选一) |
|
|
129
|
+
| `sessionTimeout` | — | 会话超时时间,单位毫秒(默认 1800000 = 30分钟) |
|
|
130
|
+
|
|
131
|
+
## 会话命令
|
|
132
|
+
|
|
133
|
+
用户可以发送以下命令开启新会话(清空对话历史):
|
|
134
|
+
|
|
135
|
+
- `/new`、`/reset`、`/clear`
|
|
136
|
+
- `新会话`、`重新开始`、`清空对话`
|
|
137
|
+
|
|
138
|
+
## 项目结构
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
dingtalk-moltbot-connector/
|
|
142
|
+
├── plugin.ts # 插件入口
|
|
143
|
+
├── openclaw.plugin.json # 插件清单
|
|
144
|
+
├── package.json # npm 依赖
|
|
145
|
+
└── LICENSE
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
## 常见问题
|
|
149
|
+
|
|
150
|
+
### Q: 出现 405 错误
|
|
151
|
+
|
|
152
|
+
<img width="698" height="193" alt="image" src="https://github.com/user-attachments/assets/f2abd9c0-6c72-45b3-aee1-39fb477664bd" />
|
|
153
|
+
|
|
154
|
+
需要在 `~/.openclaw/openclaw.json` 中启用 chatCompletions 端点:
|
|
155
|
+
|
|
156
|
+
```json5
|
|
157
|
+
{
|
|
158
|
+
"gateway": { // gateway通常是已有的节点,配置时注意把http部分追加到已有节点下
|
|
159
|
+
"http": {
|
|
160
|
+
"endpoints": {
|
|
161
|
+
"chatCompletions": {
|
|
162
|
+
"enabled": true
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Q: 出现 401 错误
|
|
171
|
+
|
|
172
|
+
<img width="895" height="257" alt="image" src="https://github.com/user-attachments/assets/5d6227f0-b4b1-41c4-ad88-82a7ec0ade1e" />
|
|
173
|
+
|
|
174
|
+
检查 `~/.openclaw/openclaw.json` 中的gateway.auth鉴权的 token/password 是否正确:
|
|
175
|
+
|
|
176
|
+
<img width="1322" height="604" alt="image" src="https://github.com/user-attachments/assets/b9f97446-5035-4325-a0dd-8f8e32f7b86a" />
|
|
177
|
+
|
|
178
|
+
### Q: 钉钉机器人无响应
|
|
179
|
+
|
|
180
|
+
1. 确认 Gateway 正在运行:`curl http://127.0.0.1:18789/health`
|
|
181
|
+
2. 确认机器人配置为 **Stream 模式**(非 Webhook)
|
|
182
|
+
3. 确认 AppKey/AppSecret 正确
|
|
183
|
+
|
|
184
|
+
### Q: AI Card 不显示,只有纯文本
|
|
185
|
+
|
|
186
|
+
需要开通权限 `Card.Streaming.Write` 和 `Card.Instance.Write`,并重新发布应用。
|
|
187
|
+
|
|
188
|
+
### Q: 升级后出现插件加载异常或配置不生效
|
|
189
|
+
|
|
190
|
+
由于官方两次更名(Clawdbot → Moltbot → OpenClaw),旧版本(0.4.0 以下)的 connector 插件可能与新版本不兼容。建议按以下步骤处理:
|
|
191
|
+
|
|
192
|
+
1. 先检查 `~/.openclaw/openclaw.json`(或旧版的 `~/.clawdbot/clawdbot.json`、`~/.moltbot/moltbot.json`),如果其中存在 dingtalk 相关的 JSON 节点(如 `channels.dingtalk`、`plugins.entries.dingtalk` 等),请将这些节点全部删除。
|
|
193
|
+
|
|
194
|
+
2. 然后清除旧插件并重新安装:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
rm -rf ~/.clawdbot/extensions/dingtalk-connector
|
|
198
|
+
rm -rf ~/.moltbot/extensions/dingtalk-connector
|
|
199
|
+
rm -rf ~/.openclaw/extensions/dingtalk-connector
|
|
200
|
+
openclaw plugins install https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector.git
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Q: 图片不显示
|
|
204
|
+
|
|
205
|
+
1. 确认 `enableMediaUpload: true`(默认开启)
|
|
206
|
+
2. 检查日志 `[DingTalk][Media]` 相关输出
|
|
207
|
+
3. 确认钉钉应用有图片上传权限
|
|
208
|
+
|
|
209
|
+
## 依赖
|
|
210
|
+
|
|
211
|
+
| 包 | 用途 |
|
|
212
|
+
|----|------|
|
|
213
|
+
| `dingtalk-stream` | 钉钉 Stream 协议客户端 |
|
|
214
|
+
| `axios` | HTTP 客户端 |
|
|
215
|
+
|
|
216
|
+
# 方案二:钉钉 DEAP Agent 集成
|
|
217
|
+
|
|
218
|
+
通过将钉钉 [DEAP](https://deap.dingtalk.com) Agent 与 [OpenClaw](https://openclaw.ai) Gateway 连接,实现自然语言驱动的本地设备操作能力。
|
|
219
|
+
|
|
220
|
+
## 核心功能
|
|
221
|
+
|
|
222
|
+
- ✅ **自然语言交互** - 用户在钉钉对话框中输入自然语言指令(如"帮我查找桌面上的 PDF 文件"),Agent 将自动解析并执行相应操作
|
|
223
|
+
- ✅ **内网穿透机制** - 专为本地设备无公网 IP 场景设计,通过 Connector 客户端建立稳定的内外网通信隧道
|
|
224
|
+
- ✅ **跨平台兼容** - 提供 Windows、macOS 和 Linux 系统的原生二进制执行文件,确保各平台下的顺畅运行
|
|
225
|
+
|
|
226
|
+
## 系统架构
|
|
227
|
+
|
|
228
|
+
该方案采用分层架构模式,包含三个核心组件:
|
|
229
|
+
|
|
230
|
+
1. **OpenClaw Gateway** - 部署于本地设备,提供标准化 HTTP 接口,负责接收并处理来自云端的操作指令,调动 OpenClaw 引擎执行具体任务
|
|
231
|
+
2. **DingTalk OpenClaw Connector** - 运行于本地环境,构建本地与云端的通信隧道,解决内网设备无公网 IP 的问题
|
|
232
|
+
3. **DingTalk DEAP MCP** - 作为 DEAP Agent 的扩展能力模块,负责将用户自然语言请求经由云端隧道转发至 OpenClaw Gateway
|
|
233
|
+
|
|
234
|
+
```mermaid
|
|
235
|
+
graph LR
|
|
236
|
+
subgraph "钉钉 App"
|
|
237
|
+
A["用户与 Agent 对话"] --> B["DEAP Agent"]
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
subgraph "本地环境"
|
|
241
|
+
D["DingTalk OpenClaw Connector"] --> C["OpenClaw Gateway"]
|
|
242
|
+
C --> E["PC 操作执行"]
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
B -.-> D
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
## 实施指南
|
|
249
|
+
|
|
250
|
+
### 第一步:部署本地环境
|
|
251
|
+
|
|
252
|
+
确认本地设备已成功安装并启动 OpenClaw Gateway,默认监听地址为 `127.0.0.1:18789`:
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
openclaw gateway start
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
#### 配置 Gateway 参数
|
|
259
|
+
|
|
260
|
+
1. 访问 [配置页面](http://127.0.0.1:18789/config)
|
|
261
|
+
2. 在 **Auth 标签页** 中设置 Gateway Token 并妥善保存:
|
|
262
|
+
|
|
263
|
+
<img width="3444" height="1748" alt="Gateway Auth 配置界面" src="https://github.com/user-attachments/assets/f9972458-c857-4416-9bd1-6439d71a3777" />
|
|
264
|
+
|
|
265
|
+
3. 切换至 **Http 标签页**,启用 `OpenAI Chat Completions Endpoint` 功能:
|
|
266
|
+
|
|
267
|
+
<img width="3442" height="1734" alt="Gateway Http 配置界面" src="https://github.com/user-attachments/assets/d0365187-c02d-418b-9ca9-cfbdfd62e6a9" />
|
|
268
|
+
|
|
269
|
+
4. 点击右上角 `Save` 按钮完成配置保存
|
|
270
|
+
|
|
271
|
+
### 第二步:获取必要参数
|
|
272
|
+
|
|
273
|
+
#### 获取 corpId
|
|
274
|
+
|
|
275
|
+
登录 [钉钉开发者平台](https://open-dev.dingtalk.com) 查看企业 CorpId:
|
|
276
|
+
|
|
277
|
+
<img width="864" height="450" alt="钉钉开发者平台获取 corpId" src="https://github.com/user-attachments/assets/18ec9830-2d43-489a-a73f-530972685225" />
|
|
278
|
+
|
|
279
|
+
#### 获取 apiKey
|
|
280
|
+
|
|
281
|
+
登录 [钉钉 DEAP 平台](https://deap.dingtalk.com),在 **安全与权限** → **API-Key 管理** 页面创建新的 API Key:
|
|
282
|
+
|
|
283
|
+
<img width="1222" height="545" alt="钉钉 DEAP 平台 API-Key 管理" src="https://github.com/user-attachments/assets/dfe29984-4432-49c1-8226-0f9b60fbb5bc" />
|
|
284
|
+
|
|
285
|
+
### 第三步:启动 Connector 客户端
|
|
286
|
+
|
|
287
|
+
1. 从 [Releases](https://github.com/hoskii/dingtalk-moltbot-connector/releases/tag/v0.0.1) 页面下载适配您操作系统的安装包
|
|
288
|
+
2. 解压并运行 Connector(以 macOS 为例):
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
unzip connector-mac.zip
|
|
292
|
+
./connector-darwin -deapCorpId YOUR_CORP_ID -deapApiKey YOUR_API_KEY
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
### 第四步:配置 DEAP Agent
|
|
296
|
+
|
|
297
|
+
1. 登录 [钉钉 DEAP 平台](https://deap.dingtalk.com),创建新的智能体:
|
|
298
|
+
|
|
299
|
+
<img width="2444" height="1486" alt="新建智能体界面" src="https://github.com/user-attachments/assets/0b7f0855-f991-4aeb-b6e6-7576346b4477" />
|
|
300
|
+
|
|
301
|
+
2. 在技能管理页面,搜索并集成 OpenClaw 技能:
|
|
302
|
+
|
|
303
|
+
<img width="3430" height="1732" alt="添加 OpenClaw 技能" src="https://github.com/user-attachments/assets/d44f0038-f863-4c1f-afa7-b774d875e4ba" />
|
|
304
|
+
|
|
305
|
+
3. 配置技能参数:
|
|
306
|
+
|
|
307
|
+
| 参数 | 来源 | 说明 |
|
|
308
|
+
|------|------|------|
|
|
309
|
+
| apikey | 第二步获取 | DEAP 平台 API Key |
|
|
310
|
+
| apihost | 默认值 | 通常为 `127.0.0.1:18789`,在Windows环境下可能需要配置为 `localhost:18789` 才能正常工作 |
|
|
311
|
+
| gatewayToken | 第一步获取 | Gateway 配置的认证令牌 |
|
|
312
|
+
|
|
313
|
+
<img width="3426" height="1752" alt="配置 OpenClaw 技能参数" src="https://github.com/user-attachments/assets/bc725789-382f-41b5-bbdb-ba8f29923d5c" />
|
|
314
|
+
|
|
315
|
+
4. 发布 Agent:
|
|
316
|
+
|
|
317
|
+
<img width="3416" height="1762" alt="发布 Agent" src="https://github.com/user-attachments/assets/3f8c3fdb-5f2b-4a4b-8896-35202e713bf3" />
|
|
318
|
+
|
|
319
|
+
### 第五步:开始使用
|
|
320
|
+
|
|
321
|
+
1. 在钉钉 App 中搜索并找到您创建的 Agent:
|
|
322
|
+
|
|
323
|
+
<img width="1260" height="436" alt="搜索 Agent" src="https://github.com/user-attachments/assets/30feff80-1b28-4274-830b-7045aed14980" />
|
|
324
|
+
|
|
325
|
+
2. 开始自然语言对话体验:
|
|
326
|
+
|
|
327
|
+
<img width="1896" height="1240" alt="与 Agent 对话" src="https://github.com/user-attachments/assets/2a80aab8-3fbf-4d18-beea-770577cb1a40" />
|
|
328
|
+
|
|
329
|
+
## License
|
|
330
|
+
|
|
331
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dingtalk-connector",
|
|
3
|
+
"name": "DingTalk Channel",
|
|
4
|
+
"version": "0.6.0",
|
|
5
|
+
"description": "DingTalk (钉钉) messaging channel via Stream mode with AI Card streaming",
|
|
6
|
+
"author": "DingTalk Real Team",
|
|
7
|
+
"channels": ["dingtalk-connector"],
|
|
8
|
+
"configSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"properties": {
|
|
12
|
+
"enabled": { "type": "boolean", "default": true }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dingtalk-real-ai/dingtalk-connector",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "DingTalk (钉钉) channel connector — Stream mode with AI Card streaming",
|
|
5
|
+
"main": "plugin.ts",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "echo 'No build needed - jiti loads TS at runtime'"
|
|
9
|
+
},
|
|
10
|
+
"keywords": ["dingtalk", "channel", "stream", "ai-card", "connector"],
|
|
11
|
+
"author": "DingTalk Real Team",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector.git"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector#readme",
|
|
18
|
+
"bugs": "https://github.com/DingTalk-Real-AI/dingtalk-moltbot-connector/issues",
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"dingtalk-stream": "^2.1.4",
|
|
24
|
+
"axios": "^1.6.0",
|
|
25
|
+
"fluent-ffmpeg": "^2.1.3",
|
|
26
|
+
"@ffmpeg-installer/ffmpeg": "^1.1.0"
|
|
27
|
+
},
|
|
28
|
+
"openclaw": {
|
|
29
|
+
"extensions": ["./plugin.ts"],
|
|
30
|
+
"channels": ["dingtalk-connector"],
|
|
31
|
+
"installDependencies": true
|
|
32
|
+
}
|
|
33
|
+
}
|