dshbase

插件目录 / Developer / dsh-openclaw-acp

dsh-openclaw-acp

已验证 · 实测可装 BeAChanger

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
JavaScript语言
2026-08-15最近推送
跨平台平台

功能简介

dsh-openclaw-acp — DSH 插件(其他)

✅
我们的评价
可用 — 实测通过,早期项目

dsh-openclaw-acp — DSH 插件(其他) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-openclaw-acp

锟斤拷锟斤拷锟斤拷锟斤拷

A native DeepSeek Harness bundle that exposes a Harness profile to OpenClaw through the official Agent Client Protocol (ACP) transport.

The integration deliberately has three owners:

  1. DeepSeek Harness owns the agent, model, tools, workspace sandbox, and session log.
  2. OpenClaw ACPX owns ACP process lifecycle, dispatch, and conversation routing.
  3. The OpenClaw channel plugin owns WeChat or any other messaging transport.

This package does not embed a WeChat SDK and does not duplicate Harness. It installs as a dsh.bundle and mounts the official @deepseek-ai/dsh-acp plugin.

Prerequisites

  • pnpm 10 and a Node.js release supported by OpenClaw; stable OpenClaw 2026.7.1-2 requires Node.js 22.22.3+, 24.15.0+, or 25.9.0+
  • DeepSeek Harness 0.1.0-rc.6
  • OpenClaw 2026.7.1-2 or newer with the official @openclaw/acpx plugin
  • DEEPSEEK_API_KEY available to the OpenClaw Gateway process
  • A configured OpenClaw channel, such as Tencent's @tencent-weixin/openclaw-weixin

1. Install the Harness bundle

npm install -g @deepseek-ai/[email protected]
dsh plugin --profile openclaw add https://github.com/BeAChanger/dsh-openclaw-acp/releases/download/v0.1.3/dsh-openclaw-acp-0.1.3.tgz
dsh --profile openclaw --dump-config

The command uses the prebuilt release artifact, so installation does not execute a repository build. The release page publishes a SHA-256 checksum asset.

The default route is deepseek-official/deepseek-v4-flash, with thinking enabled, max reasoning effort, a 1,000,000-token context window, and a 384,000-token output cap. Override the model in the Gateway environment when needed:

export DSH_OPENCLAW_PROVIDER=deepseek-official
export DSH_OPENCLAW_MODEL=deepseek-v4-pro

2. Register Harness in OpenClaw

Install and enable OpenClaw's official ACP runtime:

openclaw plugins install @openclaw/[email protected]
openclaw config set plugins.entries.acpx.enabled true

For WeChat, install the Tencent channel version verified with this stack. The final login command displays a QR code and must be completed by the operator:

openclaw plugins install @tencent-weixin/[email protected]
openclaw config set plugins.entries.openclaw-weixin.enabled true
openclaw channels login --channel openclaw-weixin

Add this configuration to the OpenClaw config:

{
  acp: {
    enabled: true,
    backend: "acpx",
    defaultAgent: "deepseek-harness",
    allowedAgents: ["deepseek-harness"]
  },
  plugins: {
    entries: {
      acpx: {
        enabled: true,
        config: {
          agents: {
            "deepseek-harness": {
              command: "dsh",
              args: ["--profile", "openclaw"]
            }
          }
        }
      },
      "openclaw-weixin": {
        enabled: true
      }
    }
  }
}

Restart the Gateway, then verify the boundary before testing a channel:

/acp doctor
/acp spawn deepseek-harness --cwd /absolute/path/to/workspace

On channels that support conversation binding, add --bind here. If a channel does not advertise ACP binding, use the unbound one-shot flow and let OpenClaw relay completion to the parent conversation.

3. Call it from WeChat

Once a WeChat channel is connected to the same Gateway, the message path is:

WeChat -> OpenClaw channel -> ACPX -> dsh --profile openclaw -> DeepSeek Harness

For multiple logged-in WeChat accounts, isolate direct-message sessions by account, channel, and sender:

openclaw config set session.dmScope per-account-channel-peer

No WeChat token or user identifier crosses the ACP boundary. OpenClaw resolves the channel sender and session; Harness receives only the selected workspace and prompt content.

Security defaults

  • OpenClaw's sandbox does not wrap external ACP processes. Harness enforces its own boundary through DSH_PERMISSION_MODE.
  • Keep the Harness default workspace-write mode unless the deployment explicitly requires more access.
  • Do not enable OpenClaw's ACPX MCP tool bridges for this target yet. Harness ACP 0.1.0-rc.6 rejects non-empty mcpServers.
  • Run the Gateway and Harness under a dedicated OS account and restrict the allowed workspace roots.
  • Treat danger-full-access as a break-glass mode, not a production default.

Known limitations

  • Harness ACP currently supports new sessions only; it does not advertise load, resume, fork, or session listing.
  • It returns committed assistant text, not live reasoning or tool events.
  • Channel-level persistent binding depends on the OpenClaw channel adapter. Use one-shot parent relay where binding is unavailable.
  • OpenClaw plugin tools are not injected into Harness because the current Harness ACP transport rejects non-empty mcpServers.

Verification

npm install
npm test
npm run test:acp
npm run pack:check

test:acp installs the bundle into an isolated profile and runs two protocol checks: a direct real-dsh ACP negotiation with JSON-RPC-only stdout, then a custom-agent launch through the published [email protected] runtime used by OpenClaw's official ACPX plugin. Both checks complete initialize and session/new. They do not call a model and do not require a real API key.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-openclaw-acp」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:BeAChanger/dsh-openclaw-acp

Headless(CLI)profile:

dsh plugin --profile headless add github:BeAChanger/dsh-openclaw-acp

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →