pandashere/dsh-self-control-guard1

self-control-guard

Self-control guard for DeepSeek Harness: intercept host-kill attempts from bash, teach the controlled exit/restart tools, run token-confirmed graceful exit/restart, and write the restart recovery roster.

AI Analysis

用于提升 DSH 运行时的稳定性和受控退出能力。适合需要防止意外终止并实现优雅重启任务的用户。必要条件为 Node.js 22+ 及 DSH 0.1.0-rc.6。

Package
self-control-guard
Version
0.1.0
License
MIT
Last updated
Aug 13, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pandashere/dsh-self-control-guard

Installation

Requirements: Node.js 22 or newer and @deepseek-ai/dsh@0.1.0-rc.6. The plugin ships as a standalone bundle installable into any DSH profile.

Build, validate, and pack it from the plugin directory:

npm install
npm run check
npm pack

Install the generated tarball into a DSH profile, then restart dsh web. Installing the source directory as a link is not supported because host peers are supplied by the DSH profile:

npx @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web add ./self-control-guard-0.1.0.tgz
npx @deepseek-ai/dsh@0.1.0-rc.6 web

The plugin has no browser bundle. Verify it in the Web settings plugin list. To update, build a tarball with a newer package version, remove the installed bundle, add the new tarball, and restart. To uninstall:

npx @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web remove self-control-guard