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.
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 32466
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
superdesigndev/treg★ 4760
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1132
把腾讯云 CloudBase 后端接入 DeepSeek Harness——在对话里搭好并部署全栈应用,查询结果渲染为表格卡片(分页、排序、导出 CSV),部署后可预览真实域名,并提供 CloudBase MCP 工具集(`mcp__cloudbase__*`),登录走 device-code 流程。
gitroomhq/postiz-agent#dsh-postiz★ 506
通过 MCP 将 DeepSeek Harness 连接到 Postiz:列出已连接的社交媒体渠道、获取各平台发帖规则,并向 X、LinkedIn、Instagram、Facebook、Threads、TikTok、YouTube、Reddit、Bluesky、Mastodon、Discord、Slack、Telegram 等平台排期、存草稿或发布帖子;附带 postiz 工作流技能。
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 500
面向 DeepSeek Harness 的本地 IMAP 发票下载、OCR 识别、归档与 Excel 报销汇总。
anysearch-team/anysearch-dsh★ 450
基于 AnySearch 的实时网页与垂直搜索插件,为 DeepSeek Harness 提供搜索工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。