loeanxi/dsh-cursor-acp
Delegate standalone tasks to the local Cursor CLI over ACP.
已收录
1
Dev
Bundle 已验证
预览
功能介绍
将独立任务交给同机已登录的 Cursor 命令行,并提供子模型设置和只读连通性测试。
适合
- 希望把独立的实现或审查任务交给同机 Cursor CLI 的 DSH 用户。
- 需要配置子代理模型并在委派前进行只读连通性检查的团队。
不适合
- 未在本机安装并登录 Cursor CLI、且未配置 `CURSOR_API_KEY` 的环境。
- 需要查看中间进度或完整 ACP 会话的工作流;父对话只能收到最终结果。
README
dsh-cursor-acp
| English | 中文 |
A community plugin for DeepSeek Harness. In a normal chat, the current agent can hand a standalone job to the Cursor CLI already signed in on this machine.
This is not a Cursor row in the model picker, and it is not an official Cursor product.
Before you start
Install the Cursor CLI on the same computer, then sign in:
Windows (PowerShell):
irm 'https://cursor.com/install?win32=true' | iex
agent login
macOS / Linux:
curl https://cursor.com/install -fsS | bash
agent login
You can also set CURSOR_API_KEY instead of agent login.
Mainland China / proxy
agent login and cursor_agent must reach Cursor’s servers. A browser proxy does not apply to the terminal. Clash-style system proxy is ignored by Node unless you set it in the same window you will use:
$env:HTTP_PROXY = "http://127.0.0.1:7890"
$env:HTTPS_PROXY = "http://127.0.0.1:7890"
$env:ALL_PROXY = "http://127.0.0.1:7890"
$env:NO_PROXY = "localhost,127.0.0.1"
$env:NODE_USE_ENV_PROXY = "1"
Use the port your proxy app shows (7890 is common). Then run agent login and start DeepSeek Harness in that same window. This plugin forwards HTTP_PROXY / HTTPS_PROXY / ALL_PROXY / NO_PROXY / NODE_USE_ENV_PROXY to the Cursor child. Let node.exe / agent use the proxy; do not force them to DIRECT. If a Clash config sends node.exe DIRECT, Settings and doctor will say the child may skip the proxy.
Install
From npm (preferred):
dsh plugin --profile desktop add dsh-cursor-acp
Web:
dsh plugin --profile web add dsh-cursor-acp
Or from GitHub:
dsh plugin --profile desktop add github:loeanxi/dsh-cursor-acp
dsh plugin --profile web add github:loeanxi/dsh-cursor-acp
Restart DeepSeek Harness after install.
After install
Open Settings → Cursor subagent.
- If it found the CLI, the chat can see the
cursor_agenttool. Finding the CLI is not the same as being signed in. The page also checksagent statusand whether this process hasHTTPS_PROXY+NODE_USE_ENV_PROXY=1. It will say if you are not signed in, or if the proxy is missing. It does not show your email. - You can pick the child model (effort, Fast, model), then click Apply. That only affects
cursor_agent, not the model of the current chat. The choice is stored by this plugin, so it works on stock DeepSeek Harness too — it does not need the Host settings allowlist. If an official settings row for this plugin is grey, ignore it and use Settings → Cursor subagent. -
Test sends one official read-only
agent --print --mode askjob (replypong). It uses a little Cursor quota. It does not start a full ACP session.

How to use it
Ask in chat, for example: “Have Cursor implement this feature” or “Have Cursor review this file.” Give enough detail in that message. The agent should call cursor_agent on its own.
The job runs in the current workspace folder and uses your Cursor subscription. The parent chat only sees the final result.

If it cannot find the CLI
dsh plugin --profile desktop exec dsh-cursor-acp doctor
On web, use --profile web. This prints the CLI path, login/proxy hints, and whether this dsh can load @deepseek-ai/dsh-subagent-acp / dsh-tool-subagent. It does not read Cursor credentials. If those official packages are missing, Settings says so and cursor_agent is not registered.
License
MIT
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:loeanxi/dsh-cursor-acp。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。