中文EN

@openma/deepseek-harness-acp

workflow已测通过npmApache-2.0 條件偏離

Agent Client Protocol (ACP) adapter for DeepSeek Harness — use DeepSeek Harness from ACP clients such as Zed.

📦 体积
360.46 MB · 较大
🔌 需要联网
未声明
✅ 沙箱测试
已通过
🏷️ 已发布版本
50 个

這個插件適合誰

  • 用 DSH 寫代碼、需要 Git 整合的開發者
下载量 / Downloads
0
依赖体积 / node_modules
360.46 MB
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1

安装

dsh plugin --profile web add @openma/deepseek-harness-acp

沙箱测试结果

條件偏離 —— 本結果在 DSHIO/T 21 v0.9 條件下產生(內存 1g、CPU 1.5、T4 超時 60s,未記鏡像 digest)。偏離條款:5.1.3(内存 768MB)、5.1.3(CPU 1 核)、5.1.6(T4 超时 90s)、5.1.2(镜像 digest)。按 DSHIO/T 21 §8.2,該判定不得與標準條件結果比較,不得用作認證依據。
阶段结果
T0 静态检查—
T1 安装✓
T2 列装✓
T3 挂载✓
T4 启动—

四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。

README

<p align="center">

<img src="assets/acp-x-deepseek.svg" width="520" alt="Agent Client Protocol × DeepSeek Harness" />

</p>

<h1 align="center">deepseek-harness-acp</h1>

<p align="center">

Use <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> from

<a href="https://agentclientprotocol.com/">Agent Client Protocol</a> clients such as

<a href="https://zed.dev">Zed</a> and

<a href="https://github.com/openma-ai/backchat">Backchat</a>.

</p>

<p align="center">

<a href="https://www.npmjs.com/package/@openma/deepseek-harness-acp"><img src="https://img.shields.io/npm/v/%40openma%2Fdeepseek-harness-acp?logo=npm&color=cb3837" alt="npm version" /></a>

<a href="https://www.npmjs.com/package/@openma/deepseek-harness-acp"><img src="https://img.shields.io/npm/dm/%40openma%2Fdeepseek-harness-acp" alt="npm downloads" /></a>

<a href="https://github.com/openma-ai/deepseek-harness-acp/actions/workflows/ci.yml"><img src="https://github.com/openma-ai/deepseek-harness-acp/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>

<a href="https://agentclientprotocol.com/"><img src="https://img.shields.io/badge/ACP-protocol%20v1-6f42c1" alt="ACP protocol v1" /></a>

<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0" /></a>

<img src="https://img.shields.io/node/v/%40openma%2Fdeepseek-harness-acp" alt="node >= 22.15" />

</p>


The adapter composes the harness in-process and maps its session-event log

onto the full ACP vocabulary: streamed text and reasoning, tool calls with

diffs and display terminals, plans, permission requests, session modes,

config options, slash commands, skills, and MCP servers. Credentials never

touch your editor config — it reuses the key you saved in the dsh Web UI, or

dsh-acp login saves one to the same store.

One package, standalone or plugin

· A · dsh profile plugin (recommended) · B · Standalone server

Best for · Normal installation and upgrades · Connecting an ACP client without managing a dsh profile

Install · dsh plugin --profile acp add @openma/deepseek-harness-acp@latest · npm i -g @openma/deepseek-harness-acp

Zed runs · dsh --profile acp · dsh-acp

Harness · The dsh that owns the profile · Your installed dsh, then the package's locked private runtime

Composition · dsh-base + this bundle + your profile's own patches · dsh-base + this bundle (profile machinery booted in-process)

Both shapes share $DSH_HOME: the same credential store, settings, presets,

and session logs as dsh web — conversations started in the Web UI can be

listed and loaded from the editor.

Other dsh surfaces can mount the transport-independent

@openma/deepseek-harness-acp/plugin on their Base Host tree and own the

transport adapter. The TUI profile uses this path: it starts a separate TUI

Client process and connects ACP over that process's standard stdin/stdout; it

does not start dsh-acp or use an in-process Client stream.

The package is therefore not only a CLI wrapper. It is also the ACP surface

plugin used by other dsh applications: one Host composition can expose the

same sessions, tools, presets, skills, and persistence through a transport

chosen by the surface.

DSH compatibility

This release supports @deepseek-ai/dsh >=0.1.7-rc.2 — a minimum-version

floor declared in engines.dsh (the field dsh's own plugin loader checks, with

prereleases included), never an exact-version list. It is deliberately not a

@deepseek-ai/dsh peer dependency: npm and pnpm match peer ranges without

prereleases, so a peer floor would reject every dsh prerelease. A newer dsh is

always attempted: API differences between dsh generations are feature-detected

where they are used (for example dsh 0.2.1's subagents.drainDescendants

versus 0.2.0's drainContinuableDescendants), and a dsh newer than the newest

tested version (0.2.1-rc.2) only logs a warning. Only a dsh below the floor

is refused. CI exercises the tested profile matrix (runtime/compatibility.json)

plus the next dist-tag. The bundled runtime is

DSH 0.2.0-rc.2, including the upstream cross-process session write lock.

Runtime selection has exactly two rules (Martty issue #157):

  • Standalone (dsh-acp bin): the packaged runtime is always used —

ambient installs in the invoking directory, on PATH, or in global npm are

never consulted. An explicit --dsh-path/DSH_PATH/DSH_ACP_HOST

(or the literal value bundled) selects an installation instead, and is

refused with a message naming the version found, its source, and the

supported range when it falls outside it.

  • Plugin mode (dsh plugin add, Martty launched as a dsh plugin): the

hosting dsh is the runtime, checked against the same range at mount time;

an out-of-range host fails with the same refusal message.

The resolved runtime is always reported: the launcher logs

harness host: @deepseek-ai/dsh <version> via <source> to stderr, and the

initialize response carries agentCapabilities._meta.dsh.runtime

({base, version, source}) for clients to display.

A competing load/resume returns a standard JSON-RPC error. Closing the

session or exiting the owner process allows another process to resume it.

Every process writing shared sessions must use a fixed backend; older hosts

do not participate in this lock.

Restoring historical sessions uses the host's V3 migration, which preserves

the original log. Upgraded sessions cannot be read by older hosts.

Multi-root workspaces remain unsupported.

A · dsh profile plugin (recommended)

npm install -g @deepseek-ai/dsh
dsh web                                                    # save your API key once
dsh plugin --profile acp add @openma/deepseek-harness-acp@latest
// Zed settings.json
{
  "agent_servers": {
    "DeepSeek Harness": { "command": "dsh", "args": ["--profile", "acp"] }
  }
}

The plugin command creates `$DSH_HOME/profi

…(truncated)

以上内容来自 npm 上的 README,我们只做格式化,不改内容。

嵌入徽章

两个徽章各用自己站的标识:左边是**标准**(DSHIO 发布),右边是**检测机构**(deepseekbase 检测)。每次展示都指向标准原文和检验报告。

DSHIO/T 10deepseekbase

Markdown(推荐,两个一起)

[![DSHIO/T 10](https://deepseekbase.com/badge/std.svg)](https://dshio.org/10/) [![deepseekbase](https://deepseekbase.com/badge/openma-deepseek-harness-acp.svg)](https://deepseekbase.com/zh/plugins/openma-deepseek-harness-acp/)

注意:这不是认证。DSHIO/T 32 认证规则尚未启用。

版本

npm 上共发布:50,最后更新 2026-10-26

链接

GitHub · Homepage · npm

常見問題

怎麼安裝 @openma/deepseek-harness-acp?
在 DSH 裡執行 dsh plugin --profile web add @openma/deepseek-harness-acp。如果你用的是 DSH Desktop,也可以在插件頁面直接貼套件名。
裝不上怎麼辦?
先確認 DSH 版本夠新(dsh --version),再看上面測試結果區的第一條錯誤。還不行就到 GitHub 倉庫提 issue。
怎麼卸載?
執行 dsh plugin --profile web remove @openma/deepseek-harness-acp。

同类插件

同類插件對比

插件下載沙箱判定體積
dsh-image-gen56.2K✅ 通過35.73 MB
@nanmicoder/dsh-agent-teams51.7K✅ 通過3.32 MB
@michengai/dsh-automation37.5K✅ 通過26.32 MB
@morehao/dsh-github-trending11.0K✅ 通過2.39 MB
dsh-speak-up10.9K✅ 通過0.2 MB
@goodandready/dsh-cron8.8K✅ 通過1.69 MB
dsh-openwrite8.1K❌ 裝不上—
dsh-novel-forge8.0K✅ 通過1.79 MB