DeepSeek Harness 插件

channels

将微信、QQ、钉钉、飞书和 Telegram 接入 DeepSeek Harness,提供统一配置、私聊与群聊访问范围管理,以及渠道内 Agent 对话和会话指令。

跳到安装方式

来源信息

GitHub 仓库
wsz987/dsh-channels
最近更新
2026年8月20日
分类
通知与集成
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/wsz987/dsh-channels~23channels
GitHub:https://github.com/wsz987/dsh-channels/tree/main/packages/channels
插件名:dsh-channels#channels
作者:wsz987
安装命令:dsh plugin --profile web add github:wsz987/dsh-channels#path:/packages/channels

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

@wsz987/dsh-channels

DeepSeek Harness DSH Bundle — built-in messaging channels:

  • Weixin / 微信
  • QQ Bot
  • DingTalk / 钉钉
  • Lark / Feishu / 飞书
  • Telegram / 电报(Bot API)

Install

npx @deepseek-ai/dsh plugin --profile web add -w @wsz987/dsh-channels@latest

> The profile directory is itself a pnpm workspace, so -w (--workspace-root) > is required to add the bundle to the workspace root (otherwise pnpm fails with > ERR_PNPM_ADDING_TO_ROOT). @latest selects the stable release. Run > npm view @wsz987/dsh-channels dist-tags to inspect the current beta and > latest targets.

The bundle patch (cordis.patch.yml) references only entrypoints exported by @wsz987/dsh-channels itself. Those entrypoints delegate to the ChannelService, generic-file extension, Harness bridge, control plane, Web settings panel and the five channel adapters through the bundle's own dependency tree. Every channel can be disabled through its plugin config.

Quick start

# 1. add the bundle to a profile
npx @deepseek-ai/dsh plugin --profile web add -w @wsz987/dsh-channels@latest

# 2. confirm the merged config inserted the channel plugins
npx @deepseek-ai/dsh --profile web --dump-config

# 3. start the profile — all five channels load
npx @deepseek-ai/dsh web

Update and uninstall

# Install or switch package.json to the latest stable release
npx @deepseek-ai/dsh plugin --profile web add -w @wsz987/dsh-channels@latest

# Update within the package.json semver range
npx @deepseek-ai/dsh plugin --profile web update -w @wsz987/dsh-channels

# Remove the bundle; also remove any channels-* overrides from your profile patch
npx @deepseek-ai/dsh plugin --profile web remove -w @wsz987/dsh-channels

Disable a channel you don't use by setting its plugin enabled flag to false in your profile patch, e.g. plugins.channels-weixin.enabled = false. See apps/example/minimal-profile/ in the repository for a reference profile.

Verify your install

Use a clean profile to confirm the bundle loads end to end (never reuse a dirty profile for release validation):

# 1. add the bundle to a clean profile (auto-initializes it on first use)
npx @deepseek-ai/dsh plugin --profile release-validation add -w @wsz987/dsh-channels@latest

# 2. dump the merged config — verify the channel plugins were inserted
npx @deepseek-ai/dsh --profile release-validation --dump-config

# 3. start the profile — channels-service / -harness / -control and the five
#    adapters (plus channels-web) should all load without error
npx @deepseek-ai/dsh --profile release-validation

Dependencies

The bundle owns every Harness loader entry and its Web client face. Its npm dependencies provide the implementations behind those entries, so you only ever install @wsz987/dsh-channels:

PackageRole
@wsz987/channel-coreCross-channel contract + ChannelService (ctx.channels)
@wsz987/channel-harnessHarness bridge (SessionBinding, AgentManager, reply pipeline)
@wsz987/channel-controlConfig / credentials / auth-session control plane
@wsz987/channel-filesOptional generic-file extension (store / extract / read_channel_attachment)
@wsz987/channel-webWeb dashboard (Settings > Channels) for GUI setup
@wsz987/channel-weixin/qq/dingtalk/lark/telegramThe five channel adapters

The Web dashboard (@wsz987/channel-web) injects the Harness web client surfaces (@deepseek-ai/dsh-client-runtime, -locale, -ui-settings, -ui-primitives), which the Harness itself provides at runtime — nothing extra to install for that panel beyond a Harness version that ships them.

Selecting adapters

The individual adapter packages do not currently carry their own dsh.bundle profile patches, so installing one with plugin add is not a complete Harness setup. Install @wsz987/dsh-channels, then disable or override unwanted channels-* rows in the profile patch. See apps/example/minimal-profile/ for the complete row shapes.

Architecture

Messaging Platform
      │
      ▼
Upstream Driver
      │
      ▼
Channel Adapter (channel-weixin/qq/dingtalk/lark/telegram)
      │
      ▼
ChannelService (Cordis Service, ctx.channels)
      │
      ▼
Harness Bridge (channel-harness)
      │
      ▼
DeepSeek Harness Agent / Session
  • Adapters never touch ctx.agents.
  • The Harness bridge is the only place allowed to import Harness public APIs.
  • Replies flow from session/event back through the bridge to the adapters.

Development

pnpm --filter @wsz987/dsh-channels build
pnpm --filter @wsz987/dsh-channels typecheck
pnpm --filter @wsz987/dsh-channels test

Related

  • [Repository root](../../README.md)
  • [Architecture design](../../docs/architecture.md)

License

[MIT](../../LICENSE)