Provides shared plan, context pickup, and progress update Skills through StateDock Remote MCP without executing tasks or scheduling agents; targets Harness 0.2.0-rc.2.
Install
# from npm (prebuilt)
dsh plugin --profile web add @statedock/dsh-plugin
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:statedock/statedock-plugins#path:/adapters/deepseek-harness
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
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.
Links
More in this category
loopx-project/loopx#dsh-loopx-plugin★ 6781
LoopX, a provider-neutral, local-first state kernel and control plane for long-horizon agents: keeps Goal, Todo, gate, evidence, quota, recovery, and handoff state above DeepSeek Harness, while the plugin bootstraps the CLI and skills, admits bounded same-session continuation, and adds a loopback GoalBar for the exact bound loop. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Q00/ouroboros#integrations/dsh-plugin★ 6396
Config-only bundle that mounts Ouroboros through the DSH MCP client, exposing 36 interview, Seed, execution, evaluation, and evolution workflow tools in DSH.
chuspeeism/dashi-taskboard#deepseek-harness★ 3546
Embeds the active installed Codex Taskboard runtime in the DeepSeek Harness sidebar, using its launcher runtime descriptor instead of a fixed port.
NanmiCoder/dsh-agent-teams★ 3157
AgentTeams multi-agent teams.
EthanYoQ/AI-Novel-Writer#dsh-ai-novel-writer★ 2999
Installs a dedicated AI novel-writing preset and workbench: revisioned local project assets, a compact side drawer, and native approval-gated single-file changes.
shanliuling/dsh-image-gen★ 1909
Native conversational image generation for DeepSeek Harness: ask the agent to create an image, and it handles generation and keeps the result directly in the conversation.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.