DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-cmd-starter

Cmd Starter

Claude-Code style CLI scheduling bundle for DeepSeek Harness headless (dsh 0.2.x): --append-prompt, --resume, --continue, --name, and per-run model overrides, on top of the official --json run stream.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:PandaColour/dsh-cmd-starter#37dd414d3d6315fdc0dc3db9d754f551dbe91173
READMECompatibilityVersions

Compatibility and provenance

Cmd Starter is published as dsh-cmd-starter and currently resolves to version 0.2.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/26/2026

Versions

0.2.0stable
10/26/2026

Related plugins

Loading related plugins…

Latest
0.2.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
Not declared
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
10/26/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector Profile@deepseek-ai/dsh-experimental-inspector-profileOptional Web bundle for raw Session logs and Chat node inspection

README

dsh-cmd-starter

Claude-Code 风格的 DeepSeek Harness 无头调度 bundle(dsh 0.2.x)。它在官方 @deepseek-ai/dsh-headless profile 之上,把一次性任务入口升级成可脚本化的 CLI:

  • --append-prompt <text>:本次运行临时追加系统提示词(可重复;不落盘、不进会话历史)
  • --resume <session-id|name>:恢复已有会话(支持 id 或 --name 别名)
  • -c, --continue:续最近的会话
  • --name <name>:给会话起持久化别名,之后 --resume <name> 恢复
  • --json:stdout 输出官方同款 NDJSON 运行事件流(session / status / text / thinking / tool_call / tool_result / final)
  • --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 调度参数,使 dsh 在 Python 眼里和 claude / codex / cursor 一样,是一个「可以用 subprocess.Popen 启动、带结构化输出、能按会话恢复」的可编排单元。

与官方 0.2.x 的分工

官方 headless 现在已内置 --session-id(按 id 精确恢复)和 --json(NDJSON 运行事件流)。本插件替换官方的 headless-startup / headless-runner 两行(headless 只能有一个参数解析器),因此:

能力归属
任务参数、--json(事件流语义)保留,与官方一致
--session-id不再提供,用 --resume <id> 替代(额外支持别名)
stdin 任务(-)不再提供,任务走命令行参数
--output-format json(0.1.x 的单行对象)已移除,改用 --json 事件流
--append-prompt / -c / --name / --resume / 模型覆盖插件新增,官方没有

安装

要求:Node ^22.19 || >=24,dsh 0.2.1-rc.2(插件 peerDependencies 已对齐;版本不匹配会被运行时跳过)。

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"

# 输出官方同款 NDJSON 运行事件流(首行 session 事件带 sessionId)
dsh --profile headless --json "run the tests"
# => {"type":"session","sessionId":"session-xxx","cwd":"..."}
# => {"type":"status","phase":"turn_start","turn":1}
# => {"type":"text","text":"..."}
# => {"type":"final","text":"..."}

# 恢复会话 / 续最近会话
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 CLIdsh-cmd-starter
claude -p "prompt"dsh --profile headless "prompt"
claude -r <name>dsh --profile headless --resume <session-id-or-name>
claude -cdsh --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 jsondsh --profile headless --json(事件流,非单对象)
claude --model <m>dsh --profile headless --provider <p> --model <m>

语义说明

  • --append-prompt 是临时的:通过 agent 作用域的 systemPrompt.section() 注入,进程退出即消失,绝不写入 session 日志。连续两次运行互不残留;只有 --resume/-c 才会延续对话历史。
  • --name 的别名是持久的:存在 $DSH_HOME/cmd-starter/aliases.json(原子写),跨进程有效。--resume <value> 先查别名表,命中就映射到 session id,未命中就把 <value> 当 session id。别名只指向 session,不进入会话历史。
  • --json 的字段:与官方 @deepseek-ai/dsh-headless --json 一致——首行是 session(含 sessionId、cwd),随后是 status(turn/step 边界与 usage)、text / thinking / tool_call / tool_result,最后是 final(与默认模式打印的正文完全一致)。每条记录都是提交点(只见已落盘的 assistant 消息),单事件有 8KB 字符串 / 32KB 行上限,final 不受限。
  • 驱动循环与官方一致:等待子 agent(background subagent)收敛后才 flush 退出;--json 模式下不再往 stderr 打 reasoning 流。

Python 调度

见 examples/schedule.py(用 --json 事件流取 sessionId 和最终正文)。

感谢支持

谢谢支持 联系方式: panda.colour@qq.com