Bridge a Feishu bot to a DSH session: open a real session in a workspace, run tasks with the existing model and plugins, and report results back.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:CAI-MH/dsh-agent-bridge
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
飞书「算法组」机器人 → DSH 会话的桥接 bundle:机器人(独立守护进程)把任务投递过来, 本插件在 DSH 里于用户指定的工作区开「真会话」,注入该 agent 的人设 + 技能/知识库 + 任务, 用 DSH 现有大模型与全部插件执行,跑完把最终文字回传给机器人再贴回飞书群。
接口(仅 127.0.0.1,需共享密钥)
POST /run{ agent, system, knowledge, task, chatId, sessionId? }→{ taskId }GET /status?taskId=→{ status, result?, error?, workspace?, sessionId? }GET /health
配置与迁移
默认监听 127.0.0.1:49990,共享密钥在 ~/.dsh/agent-group-bridge.token(缺失时自动生成)。
改端口/密钥路径在 web profile 的补丁配置:
~/Library/Application Support/dsh-desktop/harness/profiles/web/cordis.patch.yml
- id: agent-bridge
config:
port: 49990
tokenFile: /Users/xxx/.dsh/agent-group-bridge.token
工作区匹配
任务文本里出现某个 DSH 工作区的标题或路径(忽略空格)即投递到该工作区; 未识别到则报错,要求用户写明工作区。每个新任务在目标工作区下开一个新会话, 续作(回复完成消息)复用同一会话继续。
安装与生效
bundle 注册在 web profile(dependencies + dsh.profile.bundles),node_modules 为副本;
改代码要改本目录再重新拷贝进 node_modules,重启 DSH Desktop 生效。
Links
More in this category
xmanrui/dsh-im★ 1390
Connect IM bots to DeepSeek Harness via QR codes or bot credentials (9 channels: Feishu, WeChat, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp).
alvinunreal/openpets#dsh★ 1211
Bridges DeepSeek Harness lifecycle status, errors, and approval requests to a locally running OpenPets desktop companion.
shaobeichen/dsh-pocket★ 1209
Remote phone access to the DSH Web UI: scan a QR code for LAN or public (cloudflared tunnel) access with real-time sync, a mobile-adaptive layout, and a settings tab.
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 555
Connects DeepSeek Harness to Avernet's Bot Collaboration Network over WebSocket V2, with automatic onboarding, isolated agent sessions, tool-call events, and multi-bot routing tools.
omdsh-dev/dsh-notification★ 83
Desktop notifications for turn completions, with per-outcome controls and keyword rules.
whyihaveyou/dsh-suite#plugin-notify★ 55
IM webhook and local notifications on turn completion, errors, or approval (Feishu/WeCom/DingTalk/Slack/Discord/custom).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.