편집자 노트

ACP 服务器

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.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

dsh-acp

简体中文 · 技术文档 / Technical notes

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
  • 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

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

GitHub 메타데이터에서 라이선스가 감지되지 않았습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.

주의 사항missing-license