STARDUSTLC666/dsh-slack 预览 preview

STARDUSTLC666/dsh-slack

DeepSeek Harness Slack 插件:slack_notify/channels/inbox/reply 四个工具,采用 Socket Mode 无需公网回调即可接收消息,支持收件箱队列与线程回复,可自定义 slackApiUrl 对接代理网关;内置假 Slack 服务器用于协议级验收测试。· DeepSeek Harness 代理的双向 Slack 消息功能。

Project Overview项目介绍

This is a natively built DSH plugin that enables bidirectional communication between DSH agents and the Slack workspace. To install it, you run the DSH CLI command dsh plugin --profile web add dsh-slack to add it to your DSH profile, then restart your DSH web service for the plugin tools to become visible to the model. It provides four core tools: slack_notify for sending Markdown messages to specified channels or threads, slack_channels for listing all channels the bot can access, slack_inbox for receiving incoming Slack messages via Socket Mode, and slack_reply for replying to existing threads.

This plugin is designed for DSH users who want to connect their agents to Slack for notifications and bidirectional control. After installation, you configure your Slack bot token and optional app-level token either via environment variables or by overriding the plugin config in your profile’s cordis.patch.yml file. For a typical workflow, you can use slack_notify to send DSH task results or alerts to Slack, and use slack_inbox to pull user requests or commands from Slack into DSH for processing before replying via slack_reply.

The plugin runs on Node.js version 22.19 or newer, or 24 and above, and depends on the official Slack @slack/web-api and @slack/socket-mode packages at runtime. It is released under the permissive MIT open source license, which allows free use and modification. Current limitations include no support for RTM or interactive Slack components like buttons and modals, and slack_inbox only stores messages in process memory, which means messages are cleared on restart and capped at 200 total entries. If tokens are missing, the plugin will not crash, and it returns clear Chinese error messages for easy troubleshooting.

这是一个专为 DeepSeek Harness (DSH) 开发的原生社区插件,实现了 DSH 智能体与 Slack 的双向通信能力。插件支持向指定 Slack 频道或线程发送 Markdown 消息、列出机器人可见频道、通过 Socket Mode 接收 Slack 消息,以及回复 Slack 线程。它可通过 DSH CLI 命令 dsh plugin --profile web add dsh-slack 安装,重启 DSH 服务后即可生效。

本插件面向需要将 DSH 智能体接入 Slack 工作流的开发者与用户。安装完成后,用户可通过环境变量或 profile 目录下的 cordis.patch.yml 配置 Slack 机器人令牌和 App 级令牌。日常使用中,既可以用 slack_notify 将 DSH 的执行结果或通知推送到 Slack,也可以从 Slack 拉取用户指令到 DSH 处理后再回复线程。

本插件依赖 @slack/web-api 和 @slack/socket-mode 运行,采用 MIT 许可证开源。当前版本不支持 RTM 和 Slack 交互组件,slack_inbox 仅使用进程内存队列存储消息,重启即清空,最多保留 200 条消息。配置时若缺失令牌,插件不会崩溃,只会在调用工具时返回清晰的中文错误提示,方便排查问题。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile desktop add dsh-slack

把 STARDUSTLC666/dsh-slack 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-slack

English

dsh-slack 鲸鱼娘插件封面

连接 Slack,发送通知并处理 Socket Mode 收件箱与线程回复。

npm downloads

功能

  • 向频道或线程发送 Markdown 通知。
  • 读取机器人可见频道和 Socket Mode 收件箱。
  • 回复线程,按配置检查连接与令牌。

安装

桌面版可在「插件」面板按包名 dsh-slack 安装。已配置 dsh 命令时也可使用:

dsh plugin --profile desktop add dsh-slack

网页版把命令中的 desktop 改为 web。安装后重启 DSH。

开始使用

配置 Slack App 和令牌后,可说:“查看 Slack 收件箱,整理需要回复的消息。”

依赖与配置

需要 Bot Token。Socket Mode 收消息还需要 App Token 与相应权限;收件箱在内存中保存。

详细配置、工具参数与排错见使用说明。从源码独立开发时,Node 要求以 package.json 为准。

文档

License

MIT

← 上一个 Prev DSH-plugin-android-apk 下一个 Next dsh-file-panel →