MIT 许可的 TypeScript ACP 桥接工具,可在 Zed 中运行已发布的 DeepSeek Harness 组合,支持 JSON-RPC stdio、会话控制、会话级 MCP 和前台子代理。
DSH 适配
兼容
作者声明
安全审计
未审计
最后核验
2026-09-13
许可证
MIT
01它能帮你完成什么?
Connect DeepSeek Harness to Zed as an editor-facing ACP agent
A globally installed dsh-acp-interactive command registered as a custom Zed agent server
Developers using Zed who want a community-maintained DeepSeek Harness ACP bridge
Run interactive ACP sessions with DSH tools and controls
Streaming text and reasoning, tool cards, plans, titles, usage, permission requests, and live session configuration
Zed users who need DSH session behavior projected into an editor panel
Delegate bounded work to in-process DSH subagents
A single Zed tool card containing the delegated child's settled result and bounded transcript
Users who want foreground subagent delegation inside a DSH editor session
02如何接入 DeepSeek Harness?
安装步骤
- 01
$ npm install --global deepseekharness-acp-interactive
- 02
dsh-acp-interactive --setup
- 03
在 Zed 的 settings.json 中,将已安装命令登记到 agent_servers,类型设为 custom,args 设为空数组。
验证接入成功
- npm run verify:packed
- npm run check:profile
- npm run check:registry
03DSH 适配与能力边界
面向编辑器的 JSON-RPC stdio ACP 服务器,由已发布的 DeepSeek Harness 插件组成;Zed 是首个兼容目标。
ACP session lifecycle
ACP JSON-RPC session requests→initialize, session/new, session/prompt, session/cancel, session/list, session/load, session/resume, and session/close
Sessions are persisted as JSONL under the workspace's `.sessions` directory.Session-scoped MCP
Stable ACP v1 stdio and Streamable HTTP server configuration→Per-session Cordis roots with deterministic mcp__server__tool names
Multimodal prompts and elicitation
Text, resource-link, inline image, and structured question prompts→ACP prompts and form elicitation routed into the DSH session
04适合谁?何时不该用?
适合
- Developers using Zed who want a community-maintained DeepSeek Harness ACP bridge
- Zed users who need DSH session behavior projected into an editor panel
- Users who want foreground subagent delegation inside a DSH editor session
不适合
- The setup flow stores DEEPSEEK_API_KEY through the Harness credential store without echoing it; a thread without a stored key requires the Configure DeepSeek API key flow.
- Stdout is reserved for JSON-RPC frames, and the native shell tool differs by platform: pwsh on Windows and bash on Linux and macOS.
- MCP accepts stable-v1 stdio and Streamable HTTP configuration only; legacy SSE and ACP-proxied transports are rejected.
- Subagents run in the foreground only and do not become editor sessions.
05兼容性、维护与安全提示
- The setup flow stores DEEPSEEK_API_KEY through the Harness credential store without echoing it; a thread without a stored key requires the Configure DeepSeek API key flow.
- Stdout is reserved for JSON-RPC frames, and the native shell tool differs by platform: pwsh on Windows and bash on Linux and macOS.
- The transport does not advertise session/delete, and terminal output arrives at tool completion rather than incrementally.
- MCP accepts stable-v1 stdio and Streamable HTTP configuration only; legacy SSE and ACP-proxied transports are rejected.
- Subagents run in the foreground only and do not become editor sessions.
MIT · community-maintained; latest release v1.3.0 (2026-09-10)
06常见问题
如何在 Zed 中安装 dsh-acp-interactive?
先用 npm 全局安装,再运行 `dsh-acp-interactive --setup`,然后在 Zed 的 `settings.json` 中把已安装命令登记为自定义 agent server。
这是 DeepSeek 官方 ACP agent 吗?
不是。README 将它描述为独立的社区维护项目,并明确表示它与 DeepSeek 或 Zed Industries 没有关联或背书关系。
1.3.0 版本新增了什么?
1.3.0 增加了进程内 `spawn` 和 `fork` 子代理后端,以及 `subagent` 和 `subagent_fork` 委派工具。委派在前台运行,并在 Zed 中汇总为一张工具卡片。
如何验证打包后的安装?
仓库记录了 `npm run verify:packed`。CI 会在仓库外安装打包 tarball,并通过初始化、带会话级 MCP 的会话以及关闭会话来驱动真实启动器。
07相关的 DSH 工作流
dsh-our-free-model
作者 ebony-vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, DeepSeek V4.1 Flash and Kimi K3 among them. Completely free, with no usage cap.
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先装运行时注入器,再加载任务感知的推理模式路由预设(已实测 P1-P23)。
dsh-ops
作者 t-auto
A toolkit for low-level operations in DSH, designed to reduce token usage and task execution time / DSH 底层操作工具插件,旨在减少 Token 消耗与任务耗时
brooks-lint
作者 hyhmrright
基于 12 本经典工程书籍的 AI 代码评审工具,提供腐化风险诊断、书籍引用、严重度标签及 6 种分析模式。
08数据与来源
Editor-facing Agent Client Protocol server over JSON-RPC stdio.
Zed is the first compatibility target.
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-13。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
