dsh-cursor-passthrough
Add a Cursor passthrough group to the DSH chat model picker.
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 27, 2026
- Updated
- Aug 27, 2026
Introduction
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
- Install DeepSeek Harness and the Cursor CLI, then run
agent login. - Install dsh-cursor-acp in the same profile. This plugin reuses its CLI discovery helpers; it does not register
cursor_agentitself.
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