DeepSeek Harness plugin

dsh-acp

Agent Client Protocol (ACP) JSON-RPC stdio server for DeepSeek Harness — bridges Zed and other IDEs to dsh agents

Jump to install

Source facts

Repository
cnctem/dsh-acp
Latest update
Aug 19, 2026
Category
Workflow & Automation
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/cnctem/dsh-acp
Plugin: dsh-acp
Author: cnctem

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only
README language

dsh-acp

> 简体中文 · [技术文档 / Technical notes](docs/technical.md)

An Agent Client Protocol (ACP) server for DeepSeek Harness (dsh) that lets Zed and other IDEs drive dsh agents over JSON-RPC 2.0 stdio.

Built on the official @deepseek-ai/dsh-acp skeleton as a dsh profile bundle over dsh-base, and extended with the editor experience of pi-acp.

Introduction

dsh-acp mounts an ACP server on dsh's stdin/stdout. Zed launches dsh --profile acp and speaks ACP JSON-RPC over stdio; the plugin translates session/* requests into dsh agent lifecycles. No dsh modification required.

Features

  • Token & thinking streamingagent_message_chunk / agent_thought_chunk
  • Tool cardstool_call / tool_call_update with kind, file location and line
  • Structured diffs — edit/write hunks plus before/after snapshots
  • Session historysession/list · session/load · session/delete
  • Session selectors — write permission (3) · model · thinking strength
  • Agent presets — 4 modes injected as a deployment field (DSH_ACP_PRESET)
  • Bash terminal — command output rendered as terminal content with exit code
  • Context-usage ringusage_update (used / size) feeds the IDE's context indicator
  • Todo list — dsh's todo_write snapshots rendered as the IDE's plan checklist (plan update), cleared when a new turn begins
  • Slash commands — dsh's / commands advertised via available_commands_update
  • Ask the user — dsh's ask_user_question tool answered through ACP form elicitation (options, multi-select, free text), with a self-explaining fallback for clients without the elicitation capability

Installation

Prerequisites: Node.js ≥ 20, dsh (developed against dsh@0.1.0-rc.6), pnpm.

dsh plugin --profile acp add github:cnctem/dsh-acp

From source:

git clone https://github.com/cnctem/dsh-acp.git
dsh plugin --profile acp add ./dsh-acp

Configuration

  • Model/provider defaults to dsh's default model; override via DSH_ACP_PROVIDER / DSH_ACP_MODEL (or edit the acp row in $DSH_HOME/profiles/acp/cordis.patch.yml).
  • Agent preset via DSH_ACP_PRESET; empty → standard. Values: standard / code (PTC) / minimal / cordis.
  • API key reuses dsh credentials ($DSH_HOME/.credentials.yaml or DEEPSEEK_API_KEY).

Integration

Add to Zed's settings.json:

{
  "agent_servers": {
    "dsh": {
      "type": "custom",
      "command": "dsh",
      "args": ["--profile", "acp"],
      "env": {}
    }
  }
}

Restart Zed and pick dsh. Fix a model or preset via env:

{
  "agent_servers": {
    "dsh-code": {
      "type": "custom",
      "command": "dsh",
      "args": ["--profile", "acp"],
      "env": { "DSH_ACP_PRESET": "code" }
    }
  }
}

Zed also supports multiple entries for the same acp, so different presets can coexist as separate entries in the "+" menu.

Acknowledgements