@soimy/dingtalk 3.5.2 → 3.5.3
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/README.md +6 -23
- package/openclaw.plugin.json +695 -0
- package/package.json +5 -5
- package/src/card/card-streaming-mode.ts +30 -0
- package/src/card/reasoning-answer-split.ts +162 -0
- package/src/card-draft-controller.ts +85 -6
- package/src/card-service.ts +111 -0
- package/src/channel.ts +60 -41
- package/src/config-schema.ts +62 -38
- package/src/config.ts +25 -3
- package/src/inbound-handler.ts +355 -38
- package/src/media-utils.ts +163 -7
- package/src/message-utils.ts +33 -5
- package/src/messaging/quoted-file-service.ts +9 -4
- package/src/onboarding.ts +29 -0
- package/src/plugin-sdk-channel-actions-augment.ts +11 -0
- package/src/reply-strategy-card.ts +247 -32
- package/src/reply-strategy-markdown.ts +1 -1
- package/src/reply-strategy.ts +18 -2
- package/src/send-service.ts +110 -4
- package/src/targeting/agent-routing.ts +44 -28
- package/src/types.ts +60 -4
- package/src/utils.ts +25 -0
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
<a href="https://github.com/openclaw/openclaw"><img alt="OpenClaw" src="https://img.shields.io/badge/OpenClaw-%3E%3D2026.3.24-0A7CFF"></a>
|
|
9
9
|
<a href="https://www.npmjs.com/package/@soimy/dingtalk"><img alt="npm version" src="https://img.shields.io/npm/v/%40soimy%2Fdingtalk"></a>
|
|
10
10
|
<a href="https://www.npmjs.com/package/@soimy/dingtalk"><img alt="npm downloads" src="https://img.shields.io/npm/dm/%40soimy%2Fdingtalk"></a>
|
|
11
|
-
<a href="https://github.com/soimy/openclaw-channel-dingtalk/actions/workflows/docs-pages.yml"><img alt="Docs" src="https://img.shields.io/github/actions/workflow/status/soimy/openclaw-channel-dingtalk/docs-pages.yml?branch=main&label=Docs"></a>
|
|
12
11
|
<a href="https://github.com/soimy/openclaw-channel-dingtalk/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/soimy/openclaw-channel-dingtalk"></a>
|
|
13
12
|
<a href="https://github.com/soimy/openclaw-channel-dingtalk/blob/main/CITATION.cff"><img alt="Citation" src="https://img.shields.io/badge/Citation-CITATION.cff-1277B5"></a>
|
|
14
13
|
</p>
|
|
@@ -26,9 +25,12 @@
|
|
|
26
25
|
- 支持实时中止当前 AI generation。常用停止指令包括 `停止`、`stop`、`/stop`、`esc` 等
|
|
27
26
|
- 接入 OpenClaw 消息处理与 outbound 能力
|
|
28
27
|
|
|
28
|
+
> [!IMPORTANT]
|
|
29
|
+
> 根据钉钉开放平台公告《[关于限时开放钉钉PaaS资源不限量额度以助力企业AI智能体集成的公告](https://open.dingtalk.com/document/development/open-ai-paas-report)》(更新于 `2026-03-11`),OpenClaw 调用钉钉 `API/Webhook/Stream` 的免费“不限量”额度默认有效至 `2026-03-31`;如已通过官方申请通道获批,豁免权益最晚有效至 `2026-04-30`。部署前请前往“钉钉开发者后台 -> 资源管理”核对当前额度状态。
|
|
30
|
+
|
|
29
31
|
## 文档入口
|
|
30
32
|
|
|
31
|
-
-
|
|
33
|
+
- 线上文档站点:<https://dingtalk-channel.nanoo.app/>
|
|
32
34
|
- 用户文档入口:[docs/user/index.md](docs/user/index.md)
|
|
33
35
|
- 参与贡献入口:[docs/contributor/index.md](docs/contributor/index.md)
|
|
34
36
|
- 发布记录:[docs/releases/index.md](docs/releases/index.md)
|
|
@@ -43,25 +45,6 @@
|
|
|
43
45
|
|
|
44
46
|
> [!IMPORTANT]
|
|
45
47
|
> 最小兼容版本为 `OpenClaw 2026.3.24`。安装前请先升级到最新版 OpenClaw。
|
|
46
|
-
>
|
|
47
|
-
> 由于上游 ClawHub 安装链路目前存在 bug,暂时无法稳定通过 `openclaw plugins install @soimy/dingtalk` 完成安装。
|
|
48
|
-
> 当前推荐使用源码链接安装:
|
|
49
|
-
>
|
|
50
|
-
> ```bash
|
|
51
|
-
> git clone https://github.com/soimy/openclaw-channel-dingtalk.git
|
|
52
|
-
> cd openclaw-channel-dingtalk
|
|
53
|
-
> npm install # 或 pnpm install
|
|
54
|
-
> openclaw plugins install -l .
|
|
55
|
-
> ```
|
|
56
|
-
>
|
|
57
|
-
> 详见下方:[本地开发或联调可使用源码链接安装](#本地开发或联调可使用源码链接安装)
|
|
58
|
-
|
|
59
|
-
如需关注上游修复进展:
|
|
60
|
-
|
|
61
|
-
- ClawHub scoped package install bug: <https://github.com/openclaw/openclaw/issues/56452>
|
|
62
|
-
- ClawHub plugin package owner controls: <https://github.com/openclaw/openclaw/issues/56451>
|
|
63
|
-
|
|
64
|
-
历史 npm 安装命令如下,但在上游修复前不推荐使用:
|
|
65
48
|
|
|
66
49
|
```bash
|
|
67
50
|
openclaw plugins install @soimy/dingtalk
|
|
@@ -69,7 +52,7 @@ openclaw plugins install @soimy/dingtalk
|
|
|
69
52
|
|
|
70
53
|
### 本地开发或联调可使用源码链接安装
|
|
71
54
|
|
|
72
|
-
|
|
55
|
+
如需本地开发、调试或联调,可使用源码链接安装:
|
|
73
56
|
|
|
74
57
|
```bash
|
|
75
58
|
git clone https://github.com/soimy/openclaw-channel-dingtalk.git
|
|
@@ -95,7 +78,7 @@ openclaw plugins install -l .
|
|
|
95
78
|
|
|
96
79
|
## 更新
|
|
97
80
|
|
|
98
|
-
|
|
81
|
+
ClawHub 安装来源:
|
|
99
82
|
|
|
100
83
|
```bash
|
|
101
84
|
openclaw plugins update dingtalk
|