DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Restart Autoresume — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
R

@harzva/dsh-restart-autoresume

Restart Autoresume

安全的 DSH 重启协调与持久化顶层会话自动恢复

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Harzva/dsh-restart-autoresume#d52ffdbce247cef0549759a87555d9209d94eb81
README兼容性版本

兼容性与来源证明

Restart Autoresume 以 @harzva/dsh-restart-autoresume 发布,当前版本为 0.1.0-alpha.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/29

版本

0.1.0-alpha.1prerelease
2026/8/29

相关插件

正在加载相关插件…

最新版
0.1.0-alpha.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/29
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。

README

dsh-restart-autoresume

@harzva/dsh-restart-autoresume adds a controlled Restart & resume running tasks flow to DeepSeek Harness (DSH). It records ordinary top-level sessions, flushes their durable state, delegates the actual restart to the existing dsh-restart Host service, and safely submits one auditable continuation turn per eligible intent after the new Host starts.

This public alpha targets DSH 0.1.1-rc.2, Cordis 4.0.1, and Node.js 22+. It is distributed through GitHub Releases and is not installed in a production profile by the release process.

Screenshots

Existing DSH restart service is available

Restart actions backed by the existing DSH restart service

One ordinary top-level task is captured

One running ordinary top-level task captured before restart

The original session continues after restart

The continuation turn completes in the original durable session

Resume Ledger settles the intent

The operator intent is durably completed after one attempt

The screenshots come from a disposable local Web profile. They contain no credentials or machine-private paths and are repository documentation assets, not runtime dependencies.

What it provides

  • one additive Host loader row and one Client sidebar Slot;
  • Restart & resume running tasks and Restart only actions with explicit confirmation;
  • existing dsh-restart Host-service capability checks that fail closed;
  • Session flush before ledger commit and accepted restart acknowledgement before the delayed native restart request;
  • a private, schema-versioned Resume Ledger with serialized atomic updates, corruption isolation, expiry, capacity cleanup, and 0600 files;
  • startup recovery with stable intent/RPC provenance, leases, bounded concurrency, retry ceiling, and manual retry;
  • live and cold Session evidence checks before dispatch and after durable persistence;
  • automatic crash recovery only for registered, interrupted, ordinary top-level sessions;
  • fiber-owned Agent listeners, startup work, timers, Remote service, Slot registration, styles, and cleanup.

User-stopped, completed, blocked, max-token, errored, and subagent sessions are excluded. A resumed turn is a new visible continuation request; it is not process-level checkpoint restoration.

Deployment contract

This package deliberately does not implement another DSH restart mechanism. The target profile must already mount dsh-restart@0.3.1 or another compatible provider of this small Host contract:

{
  provider: 'dsh-restart',
  requestRestart: () => Promise<void>
}

dsh-restart remains the sole owner of closing and reopening DSH. This package owns only the durable recovery orchestration around that action. If dshRestartRuntime is absent or malformed, restart requests return RESTART_RUNTIME_UNAVAILABLE before candidates are captured or Ledger state is written. No launchd/systemd/macOS helper configuration is accepted by this package.

Installation

Install only into a disposable or explicitly approved profile:

dsh plugin --profile web add https://github.com/Harzva/dsh-restart-autoresume/releases/download/v0.1.0-alpha.1/harzva-dsh-restart-autoresume-0.1.0-alpha.1.tgz --ignore-scripts

The compatible dsh-restart@0.3.1 provider is a prerequisite and must be installed and mounted first. Do not substitute the unrelated public npm package currently using the unscoped dsh-restart name unless it explicitly implements the dshRestartRuntime contract above.

The bundle contributes exactly one row, dsh-restart-autoresume. Configure that row in the profile patch layer; an id-targeted patch replaces the whole config, so restate every non-default field you need:

- id: dsh-restart-autoresume
  config:
    autoResumeCrash: true
    maxAttempts: 3
    claimTtlMs: 30000
    intentTtlMs: 86400000
    recoveryConcurrency: 1
    startupSettleMs: 1000
    restartDelayMs: 250

The dsh-restart bundle must be mounted in the same Host realm. Service lookup is live, so stopping or unloading the provider immediately disables the restart actions without affecting DSH startup or Ledger inspection.

Disable and rollback

The single loader row is the immediate recovery boundary. Keep the package installed but disable all Host and Client behavior with:

- id: dsh-restart-autoresume
  disabled: true

Restart the profile and confirm stock DSH starts without the sidebar action. To remove the package dependency as well:

dsh plugin --profile web remove @harzva/dsh-restart-autoresume

The Resume Ledger contains only safe routing/status metadata. Disabling or removing the loader does not modify DSH Session history.

Safety semantics

  • Operator restart snapshots only ordinary running roots, flushes each Session, atomically records one restart generation, acknowledges the request, and then calls the existing dshRestartRuntime through a Cordis-owned timer.
  • Existing armed crash markers for the same sessions are atomically superseded by the operator generation, preventing duplicate recovery races.
  • Crash recovery uses only valid plugin-owned intents and requires the durable Session boundary to be interrupted.
  • Each intent uses dsh-restart-autoresume:<intentId> as stable RPC provenance. Durable inbox and user-message evidence is checked before any redispatch.
  • The continuation prompt tells the Agent to inspect unknown external outcomes before retrying. The plugin does not promise exactly-once behavior for arbitrary tools or external systems.
  • Automatic attempts are bounded. A terminal failed intent can be explicitly rearmed from the Client while retaining the same intent id and deduplication provenance.

Development verification

pnpm install --ignore-scripts
pnpm check
pnpm run pack:dsh
pnpm run verify:dsh-offline

The final isolated validation includes real Web loading, Client Remote activation, a closed-loop restart through the existing dsh-restart Host service, durable continuation of one running ordinary top-level task, prior no-task/single-task/multi-task and SIGKILL recovery drills, tool-result-unknown boundaries, user-stop protection, retry ceiling/manual retry, disconnect/reconnect, responsive light/dark UI, and disable-only stock cold start. See docs/05-验收报告.md for the evidence matrix and known limits.

Known limits

  • The supported baseline is DSH 0.1.1-rc.2; other DSH release candidates require a fresh contract and runtime validation.
  • The first release never restores subagents directly. Their parent top-level Session may coordinate new subagents after recovery.
  • DSH's atomic-write contract provides locked same-directory replacement but does not claim full directory-fsync durability against sudden power loss.
  • An orphaned ledger lock is an operator remediation item after confirming that no writer is alive.
  • The disposable Phase 6 process relaunch harness is test infrastructure used for crash/reconnect drills; it is not a production dependency or a second shipped restart implementation.