概览
dsh-cursor-passthrough
Add a Cursor 直通 group to the DSH chat model picker. Select it to send turns through the local Cursor CLI.
README / ZH
插件文档
dsh-cursor-passthrough
English | 中文
DeepSeek Harness 的社区插件。聊天模型列表会多一组 Cursor 直通。选中这一组,网页里的这一轮对话交给本机已经登录的 Cursor 命令行;选 Paratera、DeepSeek 等,则仍走那些接口。
这不是 Cursor 官方产品。也和 dsh-cursor-acp 不是一回事:那个插件挂的是 cursor_agent 工具,父对话仍走 DSH 模型。本插件是模型列表里的一条直通路由。
使用前
- 安装 DeepSeek Harness 和 Cursor CLI,并执行
agent login。 - 同一 profile 先装 dsh-cursor-acp。本插件复用它的 CLI 探测,自己不挂
cursor_agent。
安装
Web:
dsh plugin --profile web add github:mingzhong15/dsh-cursor-passthrough
Desktop:
dsh plugin --profile desktop add github:mingzhong15/dsh-cursor-passthrough
本地目录(本机当前用法):
dsh plugin --profile web add link:/path/to/dsh-cursor-passthrough
装完重启 DeepSeek Harness。远程浏览器请强制刷新(Ctrl+Shift+R)。
装完之后
打开 设置 → Cursor 直通。
- 开关只决定模型列表里有没有「Cursor 直通」。
- 选中这一组才会走本机 Cursor;选其它模型仍走 Paratera / DeepSeek / Zen。
- 输入框下方有标记:绿色表示当前会话是 Cursor 直通。
Cursor 用哪个模型,在模型列表的 Cursor 直通 组里选。设置里的「Cursor 子代理」仍然只影响 cursor_agent 工具。
原理
当前 provider 为 cursor 时,宿主拦截 llm/stream,在本机跑 agent acp,这一轮不调用 DSH 的模型适配器。Cursor 会话的标题和压缩用本地占位,同样不打 DSH 模型 API。
许可证
MIT
