插件目录 / Developer / dsh-cursor-codex
dsh-cursor-codex
已验证 · 实测可装 jeremy9682
功能简介
把 DeepSeek Harness 接进 Cursor / Codex(ACP bundle + MCP + skills)。
可用 — 实测通过,早期项目
把 DeepSeek Harness 接进 Cursor / Codex(ACP bundle + MCP + skills)。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-cursor-codex
Connect DeepSeek Harness (dsh) to the Cursor editor and the OpenAI Codex CLI 锟斤拷 as an ACP agent, an MCP server, or a headless worker.
| Directory | What it is |
|---|---|
acp/ |
npm bundle @jeremy9682/dsh-acp: dsh plugin --profile acp add @jeremy9682/dsh-acp 锟斤拷 dsh --profile acp boots an Agent Client Protocol stdio server over your existing dsh composition (shared credentials, model settings, and session logs). |
server/ |
Zero-dependency MCP stdio server exposing dsh_delegate and dsh_health to Cursor, Codex, and other MCP clients. |
skills/ |
Agent skills teaching Cursor and Codex when and how to delegate to dsh. |
templates/ |
Ready-made mcp.json, Cursor custom subagent, and Codex dsh.config.toml profiles. |
registry/ |
The dsh-acp entry (agent.json + icon) submitted to the official ACP registry. |
docs/ |
Channel-selection guide (EN/ZH) plus cookbooks for integration overlays and fleet governance (Codex as DSH subagent, third-party adapter 锟斤拷 DeepSeek, port-3082 rehearsal). |
Quick start
# 1. Install dsh (or use `npx @deepseek-ai/dsh` everywhere)
npm install -g @deepseek-ai/dsh
# 2a. ACP (Zed / JetBrains / any ACP client)
dsh plugin --profile acp add @jeremy9682/dsh-acp
dsh --profile acp
# (before the npm publish lands: `dsh plugin --profile acp add file:/path/to/dsh-cursor-codex/acp`)
# 2b. MCP (Cursor / Codex)
# Cursor: merge templates/cursor/mcp.json into ~/.cursor/mcp.json
# Codex: cp templates/codex/dsh.config.toml ~/.codex/dsh.config.toml
# codex -p dsh "your task"
# 2c. One-shot headless (any shell)
dsh --profile headless "<complete self-contained task>"
Both 2b and 2c ship skills: install skills/cursor-delegate-to-dsh and skills/codex-delegate-to-dsh into the respective editor's skills directory so the agent knows when to delegate.
Why three channels?
Cursor and Codex are ACP agents, not ACP clients 锟斤拷 neither can load a third-party ACP agent today. The full picture, verified against official docs, is in docs/integration-guide.md.
Verified
- ACP profile:
initialize锟斤拷session/new锟斤拷session/prompt锟斤拷 streamed answer 锟斤拷end_turn(tested against dsh 0.1.0-rc.6). - MCP server:
initialize锟斤拷tools/list锟斤拷dsh_health锟斤拷dsh_delegatereal task (tested against dsh 0.1.0-rc.6).
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-cursor-codex」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:jeremy9682/dsh-cursor-codex Headless(CLI)profile:
dsh plugin --profile headless add github:jeremy9682/dsh-cursor-codex 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。
适合谁
想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。
二次开发建议
工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。