dsh-slack 0.3.1 → 0.3.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.en.md +3 -1
- package/README.md +7 -8
- package/package.json +7 -5
package/README.en.md
CHANGED
|
@@ -35,7 +35,9 @@ DSH (DeepSeek Harness) community plugin: lets the agent communicate with Slack b
|
|
|
35
35
|
|
|
36
36
|
## Compatibility
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
Validation host: Harness `0.2.0-rc.2` built from its official release tag (commit `639ed01539`), Windows and Node `24.16.0`. All 43 plugin tests pass; all 18 plugins mount together and this plugin registers all five tools, with tool schemas and health-check contracts passing. Real Slack authorization, Socket Mode delivery and sending have not been verified.
|
|
39
|
+
|
|
40
|
+
Version 0.3.3 requires the official Socket Mode SDK 3.1 or newer, which supports Undici 7/8, and explicitly declares its transport dependency. This fixes combined installations that paired an older SDK with the host's Undici 8. Both language versions of this README are included in the npm package.
|
|
39
41
|
|
|
40
42
|
## Installation
|
|
41
43
|
|
package/README.md
CHANGED
|
@@ -8,9 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
[](https://awesome-dsh-plugin.com)
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
DSH(DeepSeek Harness)社区插件:让 agent 与 Slack 双向通信。
|
|
13
12
|
|
|
13
|
+
## 兼容性
|
|
14
|
+
|
|
15
|
+
验证宿主:官方发布标签源码构建的 Harness `0.2.0-rc.2`(commit `639ed01539`)+ Windows / Node `24.16.0`。43 项插件测试通过;同一个宿主里 18 个插件共同加载,本插件的 5 个工具全部注册,工具 schema 与健康检查契约通过。真实 Slack 登录、Socket Mode 收件和发送尚未验收。
|
|
16
|
+
|
|
17
|
+
0.3.3 使用支持 Undici 7/8 的官方 Socket Mode SDK 3.1 或更新版本,并显式声明匹配的传输依赖,修复组合安装中旧 SDK 与宿主 Undici 8 的依赖不匹配;npm 包同时包含中英文说明。
|
|
18
|
+
|
|
14
19
|
> **v0.2 范围(双向)**:v0.1 只做「agent → Slack」单向通知;v0.2 新增 Socket Mode,
|
|
15
20
|
> 支持「Slack 消息 → agent」:`slack_inbox` 收取消息、`slack_reply` 线程回复。
|
|
16
21
|
> RTM、交互组件(按钮/弹窗/slash command 回复)不在 v0.2,见下方
|
|
@@ -35,11 +40,6 @@ DSH(DeepSeek Harness)社区插件:让 agent 与 Slack 双向通信。
|
|
|
35
40
|
- 分页增加页数上限,防止异常 `next_cursor` 导致死循环。
|
|
36
41
|
- 错误映射补充 `not_authed` / `is_archived` / `msg_too_long` / `ratelimited`。
|
|
37
42
|
|
|
38
|
-
|
|
39
|
-
## 兼容性
|
|
40
|
-
|
|
41
|
-
已在官方 `@deepseek-ai/dsh@0.1.5-rc.1`、Node `24.16.0` 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 `cordis.patch.yml` + `dsh.bundle.patch` 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。
|
|
42
|
-
|
|
43
43
|
## 安装
|
|
44
44
|
|
|
45
45
|
插件运行在宿主进程内,通过 `dsh plugin` 安装进 profile,重启后生效:
|
|
@@ -116,7 +116,6 @@ export DSH_SLACK_APP_TOKEN=xapp-你的App级令牌
|
|
|
116
116
|
> 未配置 `appToken` 时插件**不会崩溃**:只打印告警,`slack_inbox` 返回空队列(中文提示)。
|
|
117
117
|
> Socket Mode 网络错误由 SDK 自动重连,插件只记录告警、不抛崩。
|
|
118
118
|
|
|
119
|
-
|
|
120
119
|
## 卸载
|
|
121
120
|
|
|
122
121
|
```bash
|
|
@@ -212,4 +211,4 @@ pnpm test # 先 build,再用 node:test 跑 test/*.test.mjs
|
|
|
212
211
|
|
|
213
212
|
## License
|
|
214
213
|
|
|
215
|
-
MIT
|
|
214
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-slack",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "DSH
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"description": "DSH Slack 插件:通知与桥接,Socket Mode 双向消息(收件箱 + 线程回复)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"lib",
|
|
18
18
|
"cordis.patch.yml",
|
|
19
|
-
"README.md"
|
|
19
|
+
"README.md",
|
|
20
|
+
"README.en.md"
|
|
20
21
|
],
|
|
21
22
|
"license": "MIT",
|
|
22
23
|
"dsh": {
|
|
@@ -31,8 +32,9 @@
|
|
|
31
32
|
"test:protocol": "node test/protocol-acceptance.mjs"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
|
-
"@slack/socket-mode": "^3.
|
|
35
|
-
"@slack/web-api": "^8.0.0"
|
|
35
|
+
"@slack/socket-mode": "^3.1.0",
|
|
36
|
+
"@slack/web-api": "^8.0.0",
|
|
37
|
+
"undici": "^7.0.0 || ^8.0.0"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
40
|
"@types/node": "^24.0.0",
|