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.

Resume Headless — DSH Plugin for DeepSeek Harness
← Plugins
R

dsh-resume-headless

Resume Headless

Headless one-shot session resume for DeepSeek Harness: dsh --profile headless --resume <session-id> "task"

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

npx -y @deepseek-ai/dsh plugin --profile web add github:EvieHe/dsh-resume-headless#90a148a1219682c427070702e13c79f20489dd12
READMECompatibilityVersions

Compatibility and provenance

Resume Headless is published as dsh-resume-headless and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/24/2026

Versions

0.1.1stable
8/24/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
8/24/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Weknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)

README

dsh-resume-headless

给 DeepSeek Harness 官方 headless profile 加一次性会话恢复(one-shot resume)能力的 bundle:

dsh --profile headless --resume <session-id> "继续任务"   # 恢复历史会话,跑完即退出
dsh --profile headless "新任务"                           # 无 --resume 时行为与官方 headless 完全一致

原理:--resume 时走核心 API ctx.agents.resume({ resumeSessionId })——从持久化 (默认 $DSH_HOME/sessions)加载会话、重建历史、轮次编号接着上次;否则退回官方 agents.create() 新建随机会话。恢复路径、输出契约(stdout 最后一条 assistant 文本、 completed → 0 / 其他 → 1)与官方 headless 一致;会话 id 打印到 stderr(dsh-session: <id>) 方便脚本续接。

安装

先安装 dsh CLI(npm i -g @deepseek-ai/dsh),然后任选一种:

# npm(推荐)
dsh plugin --profile headless add dsh-resume-headless

# git(源码构建,首次会因 pnpm ≥10 拦截 prepare 失败:
# 把提示的 allowBuilds 键加进 ~/.dsh/profiles/headless/pnpm-workspace.yaml 后重跑)
dsh plugin --profile headless add github:<you>/dsh-resume-headless#v0.1.0

# 本地 checkout
dsh plugin --profile headless add file:.

要求:Node ^22.19 || >=24;只适用于叠加了 @deepseek-ai/dsh-headless 的 profile。

配置

模型与官方 headless 一样配置:DEEPSEEK_API_KEY 环境变量 / $DSH_HOME/settings.yaml (llm-deepseek.baseURL)或 OpenAI 兼容网关(patch llm-pi-ai 行)。

使用

# 新建会话
dsh --profile headless "run the tests"

# 恢复并继续(会话 id 从上次运行的 stderr `dsh-session:` 行提取)
dsh --profile headless --resume session-xxxx "continue where you left off"

# 恢复不存在的会话 → 响亮失败(exit 1),不会静默新建

开发 / 发布

pnpm install
pnpm build        # tsdown: src/ → lib/
pnpm typecheck
pnpm pack         # 本地产物检查
pnpm publish      # 发布到 npm(lib/ 已构建)

lib/ 随仓库提交:git 安装直接使用提交的构建产物,无需 prepare/allowBuilds 等任何构建权限; 改动 src/ 后记得先 pnpm build 再提交。发布后给仓库打上 GitHub dsh-plugin 话题便于被发现。

许可

MIT。