lukeinx/cursor-to-dsh ↗★ 1

cursor-to-dsh

DeepSeek Harness plugin: Cursor models as the `cursor` LLM provider, with one Cursor agent per DSH session 适合希望在会话中直接调用Cursor Agent及相关上下文的用户。

Package
cursor-to-dsh
Compatibility
Unverified
Harness peer range
>=0.2.0-rc.2
Cordis peer range
~4.0.5
Version
0.1.1
License
MIT
Last updated
Oct 24, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lukeinx/cursor-to-dsh

配置

默认不用配。需要时在 profile 的 cordis.patch.yml 覆盖插件这一行(patch 会替换整个 config,要写全):

- id: llm-cursor
  name: cursor-to-dsh
  config:
    apiKeyEnv: CURSOR_API_KEY
    context: min
配置项默认值环境变量覆盖含义
apiKeyEnvCURSOR_API_KEY存 key 的凭据名 / 环境变量名
apiKey无明文 key,不推荐
contextminDSH_CURSOR_CONTEXT上下文档位:min、max 或如 300k;被拒时自动降档
cwd会话工作目录DSH_CURSOR_CWDCursor agent 的工作目录

其他环境变量:DSH_CURSOR_DEBUG=1 输出调试日志到 stderr;DSH_CURSOR_PREWARM=0 关闭预热(插件加载后在后台预建一次 agent,省掉 Cursor SDK 首次约 8 秒的初始化)。