@adongguo/dingtalk 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,6 +66,13 @@ channels:
66
66
  mediaMaxMb: 30
67
67
  # Render mode for bot replies: "auto" | "raw" | "card"
68
68
  renderMode: "auto"
69
+ # AI Card streaming mode: "enabled" (default) | "disabled"
70
+ aiCardMode: "enabled"
71
+ # Session timeout in ms (default: 30 minutes)
72
+ sessionTimeout: 1800000
73
+ # Gateway integration (optional)
74
+ gatewayToken: "your_gateway_token"
75
+ gatewayPort: 18789
69
76
  ```
70
77
 
71
78
  #### Render Mode
@@ -85,6 +92,9 @@ channels:
85
92
  - Pairing flow for DM approval
86
93
  - User and group directory lookup (config-based)
87
94
  - ActionCard render mode for markdown rendering
95
+ - AI Card streaming for real-time typing effect
96
+ - Session timeout management with `/new` command
97
+ - Gateway SSE integration for streaming responses
88
98
 
89
99
  ### Limitations
90
100
 
@@ -184,6 +194,13 @@ channels:
184
194
  mediaMaxMb: 30
185
195
  # 回复渲染模式: "auto" | "raw" | "card"
186
196
  renderMode: "auto"
197
+ # AI Card 流式模式: "enabled" (默认) | "disabled"
198
+ aiCardMode: "enabled"
199
+ # 会话超时时间 (毫秒, 默认 30 分钟)
200
+ sessionTimeout: 1800000
201
+ # Gateway 集成 (可选)
202
+ gatewayToken: "your_gateway_token"
203
+ gatewayPort: 18789
187
204
  ```
188
205
 
189
206
  #### 渲染模式
@@ -203,6 +220,9 @@ channels:
203
220
  - 私聊配对审批流程
204
221
  - 用户和群组目录查询(基于配置)
205
222
  - ActionCard 渲染模式支持 Markdown 渲染
223
+ - AI Card 流式响应(打字机效果)
224
+ - 会话超时管理(支持 `/new` 命令开启新会话)
225
+ - Gateway SSE 流式集成
206
226
 
207
227
  ### 限制
208
228
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adongguo/dingtalk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "OpenClaw DingTalk channel plugin",
6
6
  "license": "MIT",