harryzhz

Dsh External Agents — Development skill for Claude Code

Development community

Plug-in external CLI Agent runtimes (Codex, Antigravity, Claude Code, TRAE CLI) for DeepSeek Harness (Desktop & Web).

How to install Dsh External Agents

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

What Dsh External Agents does

Plug-in external CLI Agent runtimes (Codex, Antigravity, Claude Code, TRAE CLI) for DeepSeek Harness (Desktop & Web).

Alternatives in Development

  • Dsh Plugin Cc — Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import 80 ★
  • Dsh Usage — 🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-chan 74 ★
  • SpecFusion — 在 DeepSeek Harness / Claude Code / Cursor / Codex / Gemini CLI 里直接搜索 20 个中国开放平台的 65,600+ 篇 API 文档;零配置,支持 Skill 66 ★

README

dsh-external-agents

为 [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) Desktop 与 Web 提供可插拔的外部 CLI Agent 运行时:**Codex**、**Antigravity**、**Claude Code**、**TRAE CLI (`traecli`)**,以及自定义 `codex-app-server` / ACP 协议 CLI。

特性

  • 不侵入 DSH 原生配置:保留全部原生预设与默认模型,仅在安装后扩展可选的外部 Agent 预设。
  • 开箱支持四种外部 CLI:
    • Codex(codex app-server --stdio):支持推理强度调节与会话断线续接。
    • Antigravity(agy acp --stdio):支持多模型切换与本机钥匙串环境隔离。
    • Claude Code(@agentclientprotocol/claude-agent-acp):支持流式输出与工具调用。
    • TRAE CLI(traecli app-server --listen stdio://):自动识别 traecli / trae-cli,支持多模型与推理强度。
  • 原生交互体验:支持流式推理、工具调用卡片、审批与提问、按预设自动过滤模型列表,以及跨重启恢复会话。
  • 零运行期外部依赖:与 dsh-lark-bridge 同时安装后可自动发现,无需额外配置。

架构

flowchart LR
  DSH["DeepSeek Harness
Desktop / Web"] --> Plugin["dsh-external-agents 插件
运行时注册 · 事件/工具/审批适配 · 会话续接"] Plugin --> Codex["codex app-server 通道"] Plugin --> ACP["ACP Stdio 通道"] Codex --> CLI1["codex / traecli"] ACP --> CLI2["agy / claude-agent-acp / 自定义 ACP"]

前置准备

  • Node.js >= 22.0.0
  • DeepSeek Harness >= 0.2.2-rc.5(macOS / Windows / Linux)
  • 在本机安装并登录至少一个外部 CLI:
运行时 默认命令 说明
Codex codex OpenAI Codex CLI(codex app-server --stdio)
Antigravity agy Antigravity CLI(agy acp --stdio)
Claude Code npx 通过 @agentclientprotocol/claude-agent-acp 接入(需已登录 Claude Code)
TRAE CLI traecli / trae-cli TRAE CLI(trae.cn)

安装与使用

方式一:DSH 界面安装(Desktop / Web)

  1. 打开侧边栏 插件 → 添加插件。
  2. 填入任一安装源并点击 安装:
    • GitHub Release .tgz(推荐,免构建脚本):https://github.com/harryzhz/dsh-external-agents/releases/latest/download/dsh-external-agents.tgz
    • GitHub 仓库:github:harryzhz/dsh-external-agents(或 https://github.com/harryzhz/dsh-external-agents;pnpm ≥ 10 首次会拦截 prepare 脚本,按界面提示点击 允许这些脚本并重试)
    • 本地源码目录:先在仓库运行 pnpm install && pnpm build,再填入绝对路径 3