PandaColour/dsh-cmd-starter
为deepseek-harness提供一个命令行启动工具,支持--append-prompt、--resume等类似claude的命令。
Project Overview项目介绍
dsh-cmd-starter is a native DeepSeek Harness bundle that adds Claude Code-style headless scheduling capabilities to the platform. It builds on the official @deepseek-ai/dsh-headless profile, turning the default one-off task entry point into a scriptable CLI that supports external orchestration. It adds a range of useful command line parameters not available in the base headless profile, including the ability to append temporary prompts, resume existing sessions, name sessions for easy recovery, output structured JSON, and override model parameters for each run. All parameters follow the same naming and behavior convention used by the Claude Code CLI, making it familiar for users who already work with that tool.
The original purpose of this plugin is to enable DeepSeek Harness integration with the panda-pipline framework, which is an orchestration tool written in Python that drives coding agents like Claude, Codex, and Cursor into automated work pipelines. By adding the Claude Code-compatible CLI parameters to dsh, this plugin makes DeepSeek Harness behave just like any other supported coding agent from the perspective of panda-pipline. It can be launched as a subprocess with subprocess.Popen, output structured results, and resume sessions between runs, just like the other agents in the pipeline, so it fits seamlessly into existing pipeline workflows that already use other coding agents.
To install this plugin, you need to have Node.js version ^22.19 || >=24 installed on your system, along with a global installation of the latest dsh CLI (installed via npm i -g @deepseek-ai/dsh@next). The install command is dsh plugin --profile headless add github:PandaColour/dsh-cmd-starter, which pulls the bundle directly from this GitHub repository. If your first install attempt is blocked by pnpm's allowBuilds check, you just need to add the required entry to ~/.dsh/profiles/headless/pnpm-workspace.yaml and run the install command again.
这是一个适配 Claude Code 风格的 DeepSeek Harness 无头调度 bundle,基于官方 @deepseek-ai/dsh-headless 配置文件开发,将原来的一次性任务入口升级为可脚本化调用的 CLI。它新增了临时追加提示词、恢复已有会话、会话命名别名、JSON 结构化输出、可覆盖模型参数等多项调度参数,完全对齐 Claude Code 的常用调用规范。
这个插件最初是为了配合 panda-pipline 开发的,panda-pipline 是一个用 Python 直接驱动 Claude、Codex、Cursor 这类编码 Agent,将它们编排成工作流水线的框架。dsh-cmd-starter 的作用是让 DeepSeek Harness 也能被这套 Python 流水线统一调度,和其他编码 Agent 一样作为可编排单元使用。
使用要求是安装 Node.js 版本 ^22.19 || >=24,并且已经全局安装最新版的 dsh。安装命令为 dsh plugin --profile headless add github:PandaColour/dsh-cmd-starter。如果首次安装被 pnpm 的 allowBuilds 拦截,只需要按提示补全配置后重新安装即可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-cmd-starter(PandaColour/dsh-cmd-starter)
仓库:https://github.com/PandaColour/dsh-cmd-starter
本站详情页:https://www.yhbd.top/plugins/pandacolour-dsh-cmd-starter/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 2 · 最近提交 2026-08-14 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile headless add github:PandaColour/dsh-cmd-starter
把 PandaColour/dsh-cmd-starter 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-cmd-starter
Claude-Code 风格的 DeepSeek Harness 无头调度 bundle。它在官方 @deepseek-ai/dsh-headless profile 之上,把一次性任务入口升级成可脚本化的 CLI:
--append-prompt <text>:本次运行临时追加系统提示词(可重复;不落盘、不进会话历史)--resume <session-id>:恢复已有会话(支持 id 或--name别名)-c, --continue:续最近的会话--name <name>:给会话起持久化别名,之后--resume <name>恢复--output-format json:stdout 输出单行 JSON,含sessionId--provider / --model / --max-tokens / --effort:覆盖本次运行的模型参数
为什么做这个
这个插件是为了支持 panda-pipline 而开发的。panda-pipline 是一个用 Python 直接驱动 Claude / Codex / Cursor 这类编码 agent,把它们编排成流水线干活的框架。
dsh-cmd-starter 的角色,是让 DeepSeek Harness 也能被同一套 Python 流水线驱动——通过补齐 Claude-Code 风格的 --resume / --continue / --name / --append-prompt / --output-format json 调度参数,使 dsh 在 Python 眼里和 claude / codex / cursor 一样,是一个「可以用 subprocess.Popen 启动、带结构化输出、能按会话恢复」的可编排单元。
安装
要求:Node ^22.19 || >=24,已全局安装 dsh(npm i -g @deepseek-ai/dsh@next)。
dsh plugin --profile headless add github:PandaColour/dsh-cmd-starter
首次
add若因 pnpm 的allowBuilds拦截,按提示在~/.dsh/profiles/headless/pnpm-workspace.yaml里补allowBuilds键后重跑。
用法
# 一次性任务(等价官方 headless)
dsh --profile headless "run the tests"
# 本次运行临时加一条系统提示词(可多次 --append-prompt)
dsh --profile headless --append-prompt "be terse" "explain this code"
# 输出 JSON,含 sessionId(供 Python 抓取)
dsh --profile headless --output-format json "run the tests"
# => {"sessionId":"session-xxx","finalResponse":"...","finishReason":"completed"}
# 恢复会话 / 续最近会话
dsh --profile headless --resume session-xxx "continue"
dsh --profile headless -c "continue"
# 命名会话,之后按名字恢复
dsh --profile headless --name review "review this PR"
dsh --profile headless --resume review "continue the review"
# 覆盖模型参数
dsh --profile headless --provider deepseek-official --model deepseek-v4-flash --max-tokens 8192 "task"
与 Claude CLI 的对应关系
| Claude CLI | dsh-cmd-starter |
|---|---|
claude -p "prompt" |
dsh --profile headless "prompt" |
claude -r <name> |
dsh --profile headless --resume <session-id-or-name> |
claude -c |
dsh --profile headless -c "..." |
claude -n, --name <name> |
dsh --profile headless --name <name> "..." |
claude --append-system-prompt <t> |
dsh --profile headless --append-prompt <t> |
claude --output-format json |
dsh --profile headless --output-format json |
claude --model <m> |
dsh --profile headless --provider <p> --model <m> |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate