songoao25/dsh-plugin-guardian1

dsh-plugin-guardian

DSH 插件管家安全卸载与备份恢复插件

AI 分析

提供可视化界面管理已装插件,在卸载时自动创建配置快照、清理残留文件和数据目录。适合需要安全管理、一键卸载三方插件并防止配置损坏的用户。

包名
dsh-plugin-guardian
版本
1.0.0
许可证
MIT
最近更新
2026年8月17日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

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)