Feiyu180

Dsh Ntr Plus — Development skill for Claude Code

Development community

dsh-ntr 0.1.5 的个人构建版:普通对话可直接切到 CodeBuddy / Claude Code 等 ACP agent 的模型,首次切换自动带上会话历史.

How to install Dsh Ntr Plus

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Feiyu180/dsh-ntr-plus and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dsh Ntr Plus does

dsh-ntr 0.1.5 的个人构建版:普通对话可直接切到 CodeBuddy / Claude Code 等 ACP agent 的模型,首次切换自动带上会话历史。

Alternatives in Development

  • Agentcontrolplane — ACP is the Agent Control Plane - a distributed agent scheduler optimized for simplicity, clarity, and control 463 ★
  • Acp Go SDK — Go SDK for the Agent Client Protocol (ACP), offering typed requests, responses, and helpers so Go applications 226 ★
  • Raw CLI — The agent harness you can fork 105 ★

README

dsh-ntr-plus

这是 **GDWhisper/dsh-ntr 0.1.5 的个人构建版**(上游已到 0.3.x,机制改动很大,见 [CHANGELOG.md](./CHANGELOG.md))。原项目 MIT,版权归 GDWhisper。

[English](./README.en.md) | 简体中文

在 [DSH(DeepSeek Harness)](https://github.com/deepseek-ai/deepseek-harness) 的网页/桌面端里,用你习惯的界面,直接和任意一个 **ACP agent**(CodeBuddy、Pi、Oh My Pi、Claude Code、OpenCode、Qoder 等)对话。

**DSH 提供界面,agent 提供能力。** 会话列表、输入框、侧栏、消息展示全部来自 DSH;推理、工具执行、文件读写、权限判断全部由你自己配置的那个 agent 完成,它跑在独立进程里,完全自治。这个插件只做一件事:把两边接通,并把 agent 的输出原样画到 DSH 的界面上。

模型选择、思考等级、工作模式都是 **agent 自己的概念**,不是 DSH 的模型目录。插件不替你换模型,也不会把 agent 的选择写进 DSH 的全局设置。


NTR 是什么

**NTR = Negotiated Target Routing(协商式目标路由)**。

一句话:你的宿主 Agent 作为 ACP 客户端,和目标 Agent 协商能力与权限,把这一轮任务交给它执行。


安装

**本发行包已内置构建产物 `lib/`**,下载即用,安装步骤见 [INSTALL.md](./INSTALL.md)(`dsh plugin --profile add ./dsh-ntr-plus-0.1.6.tgz`)。 下文「从源码安装」描述的是上游仓库的开发流程,需要 `tsconfig.json` 与 `tests/`,这两项不在本包内。

适用的 DSH 版本

本包面向 **DSH 0.1.5-rc ~ 0.2.x** 的插件 API(浏览器侧依赖 `@deepseek-ai/dsh-client-*@0.1.5-rc.1`)。上游 0.3.x 改过权限管线与模型目录机制,**不保证兼容**——装到 0.3.x 上可能加载失败、或设置页/模型分组出现但功能不生效。

装完自检两步:

  1. 设置 → NTR 能看到 agent 列表与「测试」按钮 → 宿主端已加载;
  2. 输入框行尾的模型名点开,出现 ACP 分组 → 模型目录对接生效。

两步任一不成立,先确认 DSH 版本,再确认 `--profile` 没写错、装完已重启。

本插件是一个 DSH **bundle**:`package.json` 的 `dsh.bundle.patch` 声明了随包分发的两层补丁——插件本体的 `cordis.patch.yml`,与 NTR 模式 preset 的 `presets/acp/acp.patch.yml`。用 `dsh plugin` 安装后,包会加入 profile 的 `dsh.profile.bundles`,补丁层**自动生效**,无需手动编辑任何配置文件。

方式一:从 GitHub 安装(推荐)

dsh plugin --profile web add github:Feiyu180/dsh-ntr-plus

`--profile` 必填(网页版 `web`、桌面版 `desktop`、TUI `tui`),装完重启 DSH。

方式二:用发行包离线安装

下载 Release 里的 `dsh-ntr-plus-0.1.6.tgz`,然后:

dsh plugin --profile web add ./dsh-ntr-plus-0.1.6.tgz

方式三:从源码

本包已带构建产物 `lib/`,一般不需要自己构建;要改源码请走上游仓库的流程(本包不含 `tsconfig.json` / `tests/`)。

`dsh plugin` 是 pnpm 转发器,`--profile ` 必填;官方桌面 App 的 profile 由它自己的插件管理器掌管,不要对着它的 profile 跑命令行。

上手

你需要什么

  1. 一个已经装好的 DSH(Web 或桌面版)。
  2. 至少一个 ACP agent 的命令行程序。插件内置了几个常见预设,也可以填任何支持 st