通过 StateDock Remote MCP 提供共享计划、上下文恢复与进度更新 Skills,不执行任务或调度 Agent;适配 Harness 0.2.0-rc.2。
安装
# npm 包(预构建)
dsh plugin --profile web add @statedock/dsh-plugin
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:statedock/statedock-plugins#path:/adapters/deepseek-harness
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。
A native Cordis Bundle for DeepSeek Harness 0.2.0-rc.2, matching the desktop release tested on 2026-10-14. Its only default component is a packaged Skill provider. It reuses the shared plan/pickup/update instructions and your existing StateDock Remote MCP connection.
The adapter does not execute task code, create agents, run model turns, schedule work or orchestrate agents. It contains no StateDock server implementation. Other Harness versions are not claimed compatible; exact host peers intentionally prevent untested upgrades.
Build
From the statedock-plugins repository:
npm ci --ignore-scripts
npm run build:harness
The output gives a package directory and statedock-dsh-plugin-0.1.1.tgz. Shared Skills and the logo are copied during build; edit core/ rather than generated files. No registry publication occurs.
Install from npm
Published publicly as @statedock/dsh-plugin@0.1.0. The updated 0.1.1 package is prepared locally but is not published. On 2026-10-14, the official npm registry returned the released version and an isolated Harness CLI profile successfully installed it from the registry.
dsh plugin --profile web add @statedock/dsh-plugin@0.1.0
# For the desktop profile instead:
dsh plugin --profile desktop add @statedock/dsh-plugin@0.1.0
Use the matching 0.2.0-rc.2 Harness runtime. The default plugin reuses your existing authenticated StateDock MCP connection.
Install in your desktop profile
In Harness's Plugins install view, enter the absolute path of the generated .tgz or package directory. Enable StateDock after installation. Keep your existing mcp-statedock connection and its credentials unchanged. Use the Plugins view to confirm statedock-skills is enabled and statedock-remote-mcp remains disabled.
CLI alternative with the matching official runtime (replace the tarball path):
npx --yes @deepseek-ai/dsh@0.2.0-rc.2 plugin --profile desktop add @statedock/dsh-plugin@0.1.0 --ignore-scripts --config.auto-install-peers=false
The desktop application supplies host packages; do not install new peer versions over them. Restart the desktop host if its composition does not reload. Installation changes the selected profile, so use a scratch profile for experiments. Remove or disable through the same plugin manager rather than deleting host files manually.
Authentication
The default Bundle does not introduce a second MCP connection. The observed desktop profile already has an authenticated Streamable HTTP entry for https://statedock.dev/mcp, which the Skills can reuse.
For a host without an existing connection, statedock-remote-mcp is an optional component. Securely provide STATEDOCK_TOKEN to the Harness process, then explicitly enable that component. It uses the host's native MCP client under the distinct statedock_plugin namespace and fails clearly if the environment variable is absent. Do not paste the token into chats, the package, patch files or command arguments. Avoid logging composed configuration when credentials are in use.
The inspected 0.2.0-rc.2 native HTTP transport accepts headers; it does not configure an OAuth authProvider. This adapter therefore does not claim automatic native OAuth. Existing host-managed authorization can be reused. No external OAuth proxy or subprocess bridge is installed by this package.
Before writes, require get_instance_info to report https://statedock.dev, https://statedock.dev/mcp, and remote. Confirm the repository/project UUID and credential identity. Pickup claims at most one explicitly authorized READY task and returns context without implementation.
Verification
The reproducible check uses matching host modules, not copied host code:
STATEDOCK_DSH_RUNTIME=/absolute/path/to/runtime npm run verify:harness
# Optional: with STATEDOCK_TOKEN already supplied securely to this process
STATEDOCK_DSH_RUNTIME=/absolute/path/to/runtime npm run verify:harness -- --remote
The runtime directory must contain node_modules/@deepseek-ai/ with dsh, Cordis and native Skill/MCP modules. For this development run, the installed desktop's ASAR was extracted into a temporary directory using the official @electron/asar CLI; the app bundle was not edited.
Verified with the installed desktop runtime: all three Skills are discovered and their loaded bodies match shared sources; provider disposal removes them; the actual DSH CLI installs the tgz in a fresh temporary home and composes both Bundle rows, with optional MCP disabled. A separate native MCP bridge test discovers 26 tools and calls only get_instance_info against the live server; disposal removes the registered tools. That bridge test uses a capture registry to avoid creating agents or model sessions.
Limits: the everyday desktop profile was not changed; Computer Use access to DeepSeek Harness was denied. GUI installation, preset visibility, model invocation and write/claim workflows still need user acceptance. The existing MCP credentials were not copied into the package or modified.
Sources: native MCP client, Skill filesystem provider, Bundle management. Runtime behavior was checked against the installed 0.2.0-rc.2 build, commit 5e9e301dd9dc8923b2762f76dacfc5751f6ca851, because upstream master is newer.
链接
同类插件
loopx-project/loopx#dsh-loopx-plugin★ 6781
LoopX——面向长周期 Agent 的提供商中立、本地优先状态内核与控制平面:在 DeepSeek Harness 执行层之上持久化 Goal、Todo、门禁、证据、配额、恢复与交接状态;插件负责引导安装 CLI 与技能、准入有界的同会话续跑,并为精确绑定的工作循环提供本地 GoalBar。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。
Q00/ouroboros#integrations/dsh-plugin★ 6396
通过 DSH MCP 客户端挂载 Ouroboros 的纯配置包,在 DSH 中提供 36 个涵盖需求访谈、Seed、执行、评估与演化流程的工具。
chuspeeism/dashi-taskboard#deepseek-harness★ 3546
把当前已安装并运行中的 Codex Taskboard 嵌入 DeepSeek Harness 侧边栏,并通过 Launcher 运行时描述文件连接,而不是使用固定端口。
NanmiCoder/dsh-agent-teams★ 3157
AgentTeams 多智能体团队。
EthanYoQ/AI-Novel-Writer#dsh-ai-novel-writer★ 2999
安装专用 AI 小说创作预设与工作台:提供带修订号的本地项目资产、紧凑侧边工作台,以及需要原生审批的逐文件变更。
shanliuling/dsh-image-gen★ 1909
为 DeepSeek Harness 提供原生对话生图能力:直接让 Agent 画图,插件自动完成生成并把结果保留在当前会话中。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。