dsh-cursor-passthrough
开发工具 活跃维护

dsh-cursor-passthrough

mingzhong15/dsh-cursor-passthrough

为聊天模型选择器新增光标穿透分组,开发者可直接通过该分组快速定位目标模型,交互操作无需额外跳转,开箱即用,低代价融入现有开发流程

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
15 KB
仓库大小
26 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:mingzhong15/dsh-cursor-passthrough
git clone https://github.com/mingzhong15/dsh-cursor-passthrough.git
git clone git@github.com:mingzhong15/dsh-cursor-passthrough.git
README.md main

dsh-cursor-passthrough

English | 中文

A community plugin for DeepSeek Harness. It adds a Cursor 直通 group to the chat model picker. Select that group and the web UI sends the turn to the Cursor CLI already signed in on this machine. Pick Paratera, DeepSeek, or another DSH model and those APIs run as usual.

This is not an official Cursor product. It is also not dsh-cursor-acp: that plugin registers a cursor_agent tool while the parent chat still uses a DSH model. This plugin is a model-picker route.

Before you start

  1. Install DeepSeek Harness and the Cursor CLI, then run agent login.
  2. Install dsh-cursor-acp in the same profile. This plugin reuses its CLI discovery helpers; it does not register cursor_agent itself.

Install

Web profile:

dsh plugin --profile web add github:mingzhong15/dsh-cursor-passthrough

Desktop:

dsh plugin --profile desktop add github:mingzhong15/dsh-cursor-passthrough

Local checkout (what this machine uses):

dsh plugin --profile web add link:/path/to/dsh-cursor-passthrough

Restart DeepSeek Harness after install. Remote browsers should hard-refresh (Ctrl+Shift+R).

After install

Open Settings → Cursor 直通.

  • The toggle only controls whether Cursor 直通 appears in the model picker.
  • Chat turns go through Cursor only when that group is selected. Other picks still use Paratera / DeepSeek / Zen.
  • The composer shows a badge: green when the session is on Cursor passthrough.

Which Cursor model to spawn (--model) is the row you pick inside Cursor 直通. The Cursor subagent settings page still only affects cursor_agent.

How it works

When the selected provider is cursor, the host intercepts llm/stream and runs agent acp on this machine. DSH model adapters are not called for that turn. Session title and compaction for Cursor sessions are local stubs, so they also skip DSH APIs.

License

MIT