DeepSeek Harness 插件

dff652/deepseek-harness-community-plugins#dsh-agent-mail

Star 数 ★ 1 分类 工具与能力 收录于 2026-08-24

DeepSeek Harness 中的 AI 协作邮箱,让 AI 工具互发消息、交接任务并查看收发回执。一个包包含 MCP 集成与邮箱界面,需要独立安装 Agent Mail 1.0.0-alpha.7;不提供自动唤醒模型或持续在线状态。

安装

# Release 预构建包

dsh plugin --profile web add "https://github.com/dff652/deepseek-harness-community-plugins/releases/download/dsh-agent-mail-v0.2.1/dff652-dsh-agent-mail-0.2.1.tgz"

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

dsh plugin --profile web add github:dff652/deepseek-harness-community-plugins#path:/packages/dsh-agent-mail

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。

Agent Mail · AI 协作邮箱. One DeepSeek Harness installation mounts an official MCP client and the mailbox UI so tools can send messages, hand off tasks and see delivery or processing receipts. The provider executable, database and credentials remain outside this package. You must connect a separately installed Agent Mail service. Automatic wake and live device presence are not provided here.

Development candidate

Version 0.2.2 is a local unified candidate adapting the mailbox UI to DSH 0.2.0-rc.2. The exact MCP peer is @deepseek-ai/dsh-mcp-client@0.2.0-rc.2. Persistent sent receipts and recipient details use the released provider 1.0.0-alpha.7, exposing comm_sent and comm_agent_details; older providers retain their existing mail operations but cannot supply those new views. The historical alpha.4 fixture below remains a backward-compatibility gate, not a claim that alpha.4 supports the new APIs.

The web profile shows the mailbox. A headless profile still exposes the MCP tools without loading the browser client. A separate UI installation is no longer required. The optional authenticated connection-management host remains an independently configured provider service.

See unified migration and acceptance.

Deployment contract

The DSH service must define:

Variable Role
DSH_AGENT_MAIL_COMMAND Absolute path to reviewed agent-mail-mcp
DSH_AGENT_MAIL_HOME Absolute initialized Agent Mail home
DSH_AGENT_MAIL_ID Distinct non-human identity, never human@local
DSH_AGENT_MAIL_HUB_URL Optional remote Hub URL

Initialize a disposable project with agent-mail init --path /absolute/path/to/project and set DSH_AGENT_MAIL_HOME to the initialized home that command created. Put every participating identity in that home's roster. Missing command, home, or identity fails closed. Two live DSH participants need different serverName values and different DSH_AGENT_MAIL_ID values; they may share a home only as separate mailboxes, not as one shared agent.

Remote Hub tokens use the provider token_file (agent-mail connect set --hub-url URL --token-file PATH). Do not put a bearer token, certificate, or provider data directory in this package, a committed patch, or a published artifact.

A later profile/home patch that replaces this row must repeat the full config object. The default namespace is agent-mail. Override serverName when a second instance is installed beside the first.

Install an exact package version or reviewed tarball into a disposable DSH profile first. A source checkout is not release acceptance.

dsh plugin --profile <profile> add -w ./dff652-dsh-agent-mail-0.2.2.tgz
dsh --profile <profile> --dump-config

Remove the bundle without deleting the separately managed provider or its data:

dsh plugin --profile <profile> remove @dff652/dsh-agent-mail
dsh --profile <profile> --dump-config

Keep the prior reviewed tarball and digest before an upgrade so the same commands can restore it if acceptance fails.

Configuration-only activation check

From a repository checkout, the package-specific DSH negative activation check requires a reviewed DSH runtime and fails clearly if dsh is unavailable. The script is intentionally kept out of the published package. It uses a temporary DSH home and never starts a provider or touches a live profile:

node tests/dsh-agent-mail-activation.acceptance.mjs

The check covers unset, blank and relative command and home values, and it refuses human@local as the Harness identity. It is kept outside npm test because CI environments without DSH must not silently skip real activation acceptance.

Identity and approval

human@local is a human-only identity. This bundle refuses it as the Harness AGENT_MAIL_ID when the row is activated. A non-human Harness identity cannot approve or reject a write effect.

Provider documentation says human approval tools are registered only for human@local. The historical 1.0.0-alpha.4 fixture advertises comm_approve and comm_reject to every identity; execution rejects non-human callers with exit code 6. This bundle freezes that discovery mismatch and tests the execution denial. It does not hide the two tools and does not run Harness as human@local to make them succeed.

Expected model-visible names

mcp__agent-mail__comm_send
mcp__agent-mail__comm_inbox
mcp__agent-mail__comm_sent
mcp__agent-mail__comm_agent_details
mcp__agent-mail__comm_claim
mcp__agent-mail__comm_ack
mcp__agent-mail__comm_list_agents
mcp__agent-mail__comm_approve
mcp__agent-mail__comm_reject
mcp__agent-mail__comm_approvals
mcp__agent-mail__comm_tail
mcp__agent-mail__comm_events
mcp__agent-mail__comm_diagnose

The first MCP milestone is asynchronous send/inbox/claim/done/ack. Automatic wake, session injection, wake polling bridges, and starting DSH, Codex, Claude, or Grok when mail arrives are a separate native-integration milestone and are not provided here.

Package contract

The package declares dsh.bundle.patch in package.json and pins the official MCP client as an exact peer dependency. Deployment-specific command paths, provider homes, identities, endpoints and credentials stay outside this package.

The package includes its MIT LICENSE and NOTICE so those notices travel with every independently distributed tarball.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

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