grunmin/dsh-acp-enhanced 预览 preview

grunmin/dsh-acp-enhanced

用于 DeepSeek Harness (dsh) 的增强版 ACP(代理客户端协议)服务器——面向 Zed 编辑器的即插即用桥接:支持块级流式传输、使用/统计遥测、模型与推理力度切换、权限预设、会话恢复与归档。安装:dsh 插件添加

Project Overview项目介绍

This is a native DSH plugin that implements an enhanced Agent Client Protocol (ACP) server, built specifically for use with ACP-compatible editors like Zed. It acts as a drop-in replacement for DSH’s official @deepseek-ai/dsh-acp bridge, which only supports streaming plain text. This enhanced version exposes all of DSH Web GUI’s capabilities over the ACP connection, including full streaming, telemetry data, multimodal image support, model switching, permission controls, session management, and MCP compatibility. To install it, users can add it directly to their DSH profile via the built-in DSH package manager.

It is intended for developers who want to use DSH natively inside the Zed editor, rather than switching between a separate DSH GUI and Zed. It has deep Zed-specific integrations, like tool cards that show diffs for file edits, native terminal integration for shell commands, clickable links to edited files, and native form questions for user input. It supports both block-level and token-level streaming, offers full usage telemetry, and lets users configure agent presets, permission modes, and reasoning effort directly from within Zed. Users can also resume archived sessions and manage past threads directly from the Zed interface.

The project is released under the open-source MIT license, and requires a working Node.js environment with pnpm to run and install. There are several known limitations users should be aware of before using it: audio attachments are not supported, legacy SSE ACP transports are not implemented, and core session features like session/close and session/fork are not yet available. Multi-root workspace write enforcement is currently handled by DSH core, and users upgrading from older versions should follow the provided instructions to avoid conflicts with their existing profile configuration. Token-level streaming is disabled by default and requires explicit opt-in via the streamDeltas configuration option.

这是专为DeepSeek Harness(DSH)打造的增强版Agent客户端协议(ACP)服务器,面向Zed等支持ACP的编辑器设计,可直接替代官方的@deepseek-ai/dsh-acp桥接组件。相比官方桥接仅支持纯文本流,它能通过ACP协议暴露DSH Web GUI的完整能力,包括流式输出、遥测数据、模型权限控制、会话管理和MCP支持,作为DSH原生插件可通过DSH包管理器直接安装。

这款插件主要面向需要在Zed编辑器内部调用DSH能力进行开发的用户,核心优势是深度适配Zed的编辑体验。它支持块级和token级流式输出,提供完整的遥测统计信息,支持多模态图片输入,还增加了模型切换、推理强度选择、权限预设和工具调用审批功能,还能在Zed中提供工具卡片、diff预览、终端集成、原生表单提问等深度适配,能让Zed直接获得和DSH官方GUI一致的流畅使用体验。

本项目采用MIT许可协议,完全开源免费使用,运行依赖Node.js环境和pnpm包管理器。它存在一些已知限制:暂不支持音频附件,不支持旧版SSE ACP传输,session/close、session/fork等会话功能尚未实现,多根工作区的写入权限管控依赖DSH核心实现,使用时需要注意这些限制不影响常规开发流程。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile acp-enhanced add dsh-acp-enhanced

把 grunmin/dsh-acp-enhanced 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

中文 | English

dsh-acp-enhanced

An enhanced Agent Client Protocol (ACP) server for DeepSeek Harness (dsh), built for ACP editors like Zed. It is a drop-in replacement for the official @deepseek-ai/dsh-acp bridge: the official bridge only streams plain text, this one exposes the Web GUI's capabilities — streaming, telemetry, model/permission control, session management, MCP — over the ACP wire.

Features

Output & telemetry

  • Block + reasoning streaming: text blocks and the model's thinking arrive live (agent_message_chunk / agent_thought_chunk); cancelled/retried attempts never leak torn output. Set streamDeltas: true on the acp-enhanced row for token-level streaming instead — the reply renders while the model writes it, coalesced on a 75 ms timer; the trade-off is that a mid-block retry can no longer hide its abandoned partial text, so a visible _[stream interrupted — retrying]_ marker separates the seam (off by default)
  • Full telemetry: context usage ring plus cache hit rate / TPS / input-output-reasoning tokens / tool timing / turn counts (usage_update._meta carries the full breakdown). The ring's denominator is the routed model's declared contextWindow, folded from the session log so a resumed thread keeps it (the harness logs request/context once and does not re-emit it for an unchanged route). dsh's own dsh-compaction-basic row auto-compacts at ~80% of that window and is mounted by the standard/ptc/cordis presets (never minimal); /compact forces it manually. A route whose adapter declares no contextWindow has no denominator, so the ring reports used === size.
  • Image support (multimodal): when the dsh composition mounts an attachment store (dsh-attachment-local, mounted by default in dsh-base), promptCapabilities.image is advertised and pasted/uploaded images are ingested into the harness's durable attachment store — a vision-capable model (e.g. deepseek-v4-flash-vision-exp) reads them natively, in wire order with surrounding text. Older stacks (no attachment store) automatically downgrade: image is not advertised and an image prompt is refused with a clear error.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-oh-my-theme 下一个 Next dsh-peer-link →