dshbase

插件目录 / Developer / dsh-plugin-guardian

dsh-plugin-guardian

未验证 songoao25

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-17最近推送
跨平台平台

功能简介

Safe uninstall with snapshot rollback for DeepSeek Harness plugins — clean residue, health check, no command line

我们的评价
未验证 — 尚未实测

Safe uninstall with snapshot rollback for DeepSeek Harness plugins — clean residue, health check, no command line 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DSH Plugin Guardian

English | 中文

Safe uninstall with snapshot rollback for DeepSeek Harness plugins.

License
Version
Platform

What is this?

A plugin for DeepSeek Harness that helps you safely uninstall other plugins — no leftover files, no broken startup, no command line needed.

If you've ever uninstalled a DSH plugin and found leftover .bak files, orphaned data directories, or your Harness refusing to start — this is the tool that fixes that.

Features

  • Plugin List — See all installed plugins with versions and data directories
  • Residue Scanner — Find .bak backup files and orphaned data left behind by previous operations
  • One-Click Cleanup — Delete residue files with preview and confirmation
  • Pre-Uninstall Snapshot — Automatically backs up your config files before any uninstall
  • Safe Uninstall — One button does: snapshot → uninstall → clean data → clean leftovers
  • Health Check — Check port 3080, config validity, and bundle status before startup

Installation

# In your DSH workspace directory
dsh plugin add dsh-plugin-guardian

Or manually copy this directory into your DSH plugins folder and restart Harness.

Usage

  1. Open DSH Settings (gear icon in sidebar)
  2. Find the "插件管家" (Plugin Guardian) tab
  3. Click any of the three buttons:
    • 已装插件 (Installed Plugins) — View and uninstall plugins
    • 扫描残留 (Scan Residues) — Find and clean leftover files
    • 启动前体检 (Health Check) — Check system health before restart

Uninstalling a plugin

  1. Click 已装插件 to see your installed plugins
  2. Click 卸载 (Uninstall) next to the plugin you want to remove
  3. Confirm the action — Guardian will automatically:
    • Create a snapshot of your config files
    • Run pnpm remove to uninstall the package
    • Clean up the plugin's data directory
    • Clean up related .bak files
  4. Manually restart DSH to apply changes (e.g., zsh scripts/restart-deepseek-harness.sh)

FAQ

Q: Why do I need to restart manually after uninstalling?
A: DSH assembles plugins at startup — removing one requires reassembly. Auto-restart is planned for a future version.

Q: Where are snapshots stored?
A: In ~/.dsh/.plugin-guard-snapshots/<timestamp>-<plugin-name>/. They're local only, never uploaded.

Q: Is it safe?
A: All delete operations require confirmation. Plugin names are validated against injection attacks. Shell commands are properly quoted.

Limitations

  • Snapshot auto-restore is experimental (snapshots are created but auto-restore UI is not yet available)
  • Auto-restart is deferred — manual restart required after uninstall
  • Residue scan covers top-level directories only

License

MIT © 2026 songsong

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-guardian」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:songoao25/dsh-plugin-guardian

Headless(CLI)profile:

dsh plugin --profile headless add github:songoao25/dsh-plugin-guardian

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →