插件目录 / UI & Skins / dsh-cursor-subscription
dsh-cursor-subscription
已验证 · 实测可装 orrinzeng
功能简介
Log directly into your Cursor account within DeepSeek Harness and use your Cursor subscription — no API Key required, and no dependency on Cursor IDE or Cursor CLI. 在 DeepSeek Harness 中直接登录 Cursor 账户并使用 Cursor 订阅,不需要 API Key, 也不依赖 Cursor IDE 或 Cursor CLI。
可用 — 实测通过,早期项目
Log directly into your Cursor account within DeepSeek Harness and use your Cursor subscription — no API Key required, and no dependency on Cursor IDE or Cursor CLI. 在 DeepSeek Harness 中直接登录 Cursor 账户并使用 Cursor 订阅,不需要 API Key, 也不依赖 Cursor IDE 或 Cursor CLI。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
DSH Cursor Subscription
English | 简体中文
Sign in to your Cursor account and use your Cursor subscription directly from DeepSeek Harness—without an API key and without depending on the Cursor IDE or Cursor CLI. The plugin preserves DSH's existing session, tool, and permission systems: once signed in, you can select Cursor subscription models from the model picker, while agent tool calls are executed through DSH's local toolset.
⚠️ This plugin integrates with Cursor's unpublished Agent protocol (
agent.v1.AgentService/Run). It is a community reverse-engineering project and may stop working when Cursor changes its server-side implementation. This project is not affiliated with or endorsed by Anysphere or Cursor. Please comply with Cursor's terms of service.
Features
- Use a Cursor subscription directly in DSH through browser-based PKCE sign-in—no API key required.
- Store credentials in DSH's local credential store and refresh access tokens automatically.
- Discover models available to the current account dynamically through Cursor's
GetUsableModels, with a built-in fallback list if discovery fails. - Stream conversations with reasoning output and DSH tool calls.
- View sign-in status and token expiration in the settings page.
- View and manually refresh subscription usage, including requests, Auto + Composer usage, other-model (API) usage, per-model spend, on-demand spend, and billing cycle.
- View and manually refresh the models available to the current account.
- Configure the per-run tool-round limit and HTTP retry count, interval, and status codes from the settings page.
Installation
Install with an Agent (Recommended)
Send the agent a link to AGENTS.md. It contains the instructions for installation, updates, removal, and verification.
Manual Installation with the dsh Command
dsh plugin --profile web add dsh-cursor-subscription
dsh plugin --profile web list dsh-cursor-subscription --depth 0
dsh --profile web --dump-config
The installed package list should contain exactly one dsh-cursor-subscription, and the composed configuration should contain exactly one cursor-subscription entry.
Local Development Installation
Run the following command in the profile directory, such as %USERPROFILE%\.dsh\profiles\web:
pnpm add file:D:/mcp/dsh-cursor-subscription
Then add dsh-cursor-subscription to the dsh.profile.bundles array in package.json and restart DSH.
Sign-in and Usage
- Open Settings -> Cursor Subscription in DSH.
- Select Browser Sign-in. Your browser will open the Cursor sign-in page.
- Complete sign-in and authorization. The settings page will automatically show that you are signed in.
- Select a Cursor model from the model picker, such as
composer-2orclaude-4-sonnet.
When a tool is required, the agent converts Cursor's tool request into a local DSH tool execution. The result is returned to the model through the conversation history; Cursor's filesystem tools are not used.
The Runtime settings card controls the maximum tool rounds in one Cursor run and the HTTP retry policy. Retry count means additional attempts and defaults to 0 (disabled). Cursor's streaming POST protocol cannot prove that a failed attempt was not processed remotely, so enabling retries may repeat model work or usage. Retries occur only before any response output when the initial HTTP status matches the configured list.
Updating and Removing
dsh plugin --profile web update dsh-cursor-subscription # Update
dsh plugin --profile web remove dsh-cursor-subscription # Remove
If DSH is running, restart it manually after installation or an update.
Troubleshooting
- DSH still reports that you are signed out after sign-in: Make sure the browser completed the entire authorization flow and redirected to the completion page. Polling waits for up to approximately 2.5 minutes.
- The model list is empty:
GetUsableModelsdepends on the account type. If discovery fails, the plugin uses its built-in model list, and you can still enter a model name manually. - Requests return 401: If the access token has expired and the refresh token is no longer valid, sign in again from the settings page.
- The server protocol changed: Cursor's Agent protocol is unpublished. If requests fail, check for a plugin update.
Scope and Support
- Cursor-native features such as image generation and web search are outside this plugin's scope.
- Report problems through the repository's Issues page.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-cursor-subscription」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:orrinzeng/dsh-cursor-subscription Headless(CLI)profile:
dsh plugin --profile headless add github:orrinzeng/dsh-cursor-subscription 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。