pandashere/dsh-self-control-guard ↗★ 1
self-control-guard
适用于 DeepSeek Harness 的自控防护插件,可拦截来自 bash 的主机终止尝试,引导受控的退出/重启工具,运行令牌确认的优雅退出/重启,并写入重启恢复花名册。
AI 分析
用于提升 DSH 运行时的稳定性和受控退出能力。适合需要防止意外终止并实现优雅重启任务的用户。必要条件为 Node.js 22+ 及 DSH 0.1.0-rc.6。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pandashere/dsh-self-control-guard說明文件
閱讀完整 README ↗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