DeepSeek Harness 插件

Leo-sail/dsh-plugin-agent-collaboration#agent-collaboration

Star 数 ★ 0 下载量(近 30 天) 1,981 分类 工作流与自动化 收录于 2026-10-17 npm dsh-plugin-agent-collaboration

DSH 里的常驻 Bot 与群聊房间。每个 Bot 有自己的模型、权限预设、工作区与重启后仍在的会话;Bot 也可以直接接管本机已安装的 agent CLI(Codex CLI、Claude Code、ACP agent),沿用该 CLI 自己的登录与模型。未点名消息可由群主判断,群内经验会自动积累,每次回答都是持久运行记录里的一条 run,侧栏面板据此回放。新建 Bot 的权限默认是完全权限(可执行任意命令、修改任意文件,表单会要求勾选风险确认),需要约束时请选「仅查看」或「工作区内」;完全权限的 Codex CLI / Claude Code Bot 会在没有各自沙箱和权限询问的情况下运行。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-plugin-agent-collaboration

# Release 预构建包

dsh plugin --profile web add -w "https://github.com/Leo-sail/dsh-plugin-agent-collaboration/releases/download/v0.5.0/dsh-plugin-agent-collaboration-0.5.0.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:Leo-sail/dsh-plugin-agent-collaboration#path:/packages/bundle/agent-collaboration

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Persistent Bots, group rooms and a durable run ledger, inside DSH.

简体中文 README · Repository · Design notes · MIT

A community-maintained DeepSeek Harness plugin, not an official DeepSeek product.

A Bot here is not a temporary subagent: it has an identity, its own model and permission preset, its own workspace, and its own session that survives a restart. Put several of them in a room and the room works like a small team: the leader decides who answers, unaddressed messages can be triaged, work is dispatched and tracked, and shared experience accumulates across tasks. Every run is recorded, so a conversation can be read back later even after the session that produced it is gone.

Install

dsh plugin add dsh-plugin-agent-collaboration

Or install the release tarball, which carries the same three packages prebuilt:

dsh plugin add https://github.com/Leo-sail/dsh-plugin-agent-collaboration/releases/download/v0.4.1/dsh-plugin-agent-collaboration-0.4.1.tgz

Restart DSH and refresh the page — Bots团队 appears in the sidebar.

Install either way into a DSH profile, not into a bare directory: the @deepseek-ai/* packages this plugin peers on are part of the DSH installation and are on no public registry.

What it adds

  • Bots that persist. Name, model, permission preset and workspace live on disk; each Bot answers in any room it belongs to, before and after a restart.
  • One-to-one and group conversations. A message naming one Bot routes to that Bot; a message naming nobody is answered by every member.
  • Queued, leased, recoverable runs. Each answer is a run with a lease and a heartbeat; a run whose runtime dies is reclaimed instead of blocking the room.
  • A durable transcript. The panel draws from a ledger written as the run happens — messages, tool calls and their results, approvals, errors — not from the session log.
  • 13 model-facing tools, so a Bot can create rooms, hand work to another Bot, and decompose a request into tasks.

This package is the installable entry: it mounts @dsh-plugin-agent-community/agent-community, @dsh-plugin-agent-community/tool-agent-community and @dsh-plugin-agent-community/ui-agent-community, which it carries prebuilt. Each of the three is also installable on its own from the repository.

Requirements

DeepSeek Harness 0.2.0-rc.2 (the version these packages are built and typechecked against)
Node.js ^22.19.0 or >=24

Configuration keys, the data layout, and the relationship to DSH's built-in Agent Teams are documented in the repository README.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。