DeepSHPlugins
dsh-unplug 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-unplug

生態與開發TypeScript

讓 DSH 外掛的安裝和解除安裝乾淨利落——列出所有載入層(Bundle + 補丁行)、完整解除安裝(清理 Bundle 列表+補丁行+依賴)、臨時禁用以除錯而不真正刪除、以及審計殘留的孤立行或懸空引用。CLI 與 agent 均可呼叫,預設只讀,破壞性操作需二次確認。

3 Starszoahdev 更新時間 2026-08-20
訪問 GitHub 倉庫
dsh-unplug 專案預覽

專案介紹

中文

讓 DSH 外掛的安裝和解除安裝乾淨利落——列出所有載入層(Bundle + 補丁行)、完整解除安裝(清理 Bundle 列表+補丁行+依賴)、臨時禁用以除錯而不真正刪除、以及審計殘留的孤立行或懸空引用。CLI 與 agent 均可呼叫,預設只讀,破壞性操作需二次確認。

English

Plug/unplug any DeepSeek Harness plugin cleanly — list every mounted layer (bundles + patch rows), remove with full cleanup, disable/enable without deleting, and audit for orphaned/dangling state. CLI + agent-callable unplug tool. Read-only by default; destructive operations require explicit confirmation.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
zoahdev
倉庫
zoahdev/dsh-unplug
GitHub Stars
3
Forks
0
開發語言
TypeScript
許可證
未記錄
最近推送
2026-08-20
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

56/ 100
維護活躍
85
文件與實用資訊
85
生態關注度
17
安裝便捷訊號
100
專案宣告訊號
65

近 22 天仍在更新;README 含完整安裝與使用說明;關注度尚低(3)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-unplug

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-unplug

npm

让 DeepSeek Harness(dsh)的插件装得容易、拔得干净——所有插件都能插拔自如。 Plug/unplug any DeepSeek Harness plugin cleanly. 简体中文 · English

中文说明

为什么需要它? 官方 dsh plugin remove 只处理 profile 里 dsh.profile.bundles 列表中的 bundle:

  • 不会清理 profile/home 的 cordis.patch.yml 里残留的插件行
  • 没有"禁用但保留配置"的能力(插拔自如)
  • 没有审计接口,拔完也不知道有没有残留

dsh-unplug 补上这三个缺口。

快速开始

dsh plugin add dsh-unplug

命令行

dsh-unplug                            # 什么都不输:直接给你中文菜单
dsh-unplug list                         # 列出所有已挂载插件(bundles + 补丁行)
dsh-unplug remove <插件> --yes          # 完整卸载(bundle + 补丁行 + 依赖)
dsh-unplug remove --yes                 # 忘写插件名?自动列出已装插件
dsh-unplug disable <插件>               # 禁用但不删除(保留依赖,可随时启用)
dsh-unplug enable <插件>                # 重新启用
dsh-unplug audit                        # 检测孤立行 / 悬空 bundle
dsh-unplug fix --yes                    # 一键修复(reconcile 的傻瓜版)
dsh-unplug list --all                   # 一次看所有 profile

选项:--profile <名>(找不到会自动找)、--home <路径>、--json、--yes、--dry-run。

Agent 可调用工具

安装后 agent 获得 unplug 工具:

  • list / audit — 只读,任何时候可用
  • remove / reconcile — 需要 force: true 显式确认
  • disable / enable — 可逆操作,无需确认

返回 dsh-unplug/v1 报告。

工作原理

  • bundle 列表(dsh.profile.bundles)— 移出列表 + pnpm remove
  • 禁用列表(dsh.profile.disabledBundles)— 在 bundles/disabled 之间移动
  • profile 的 cordis.patch.yml — 删除插件行或切换 disabled: true
  • home 的 cordis.patch.yml — 同上
  • 孤立/悬空状态 — audit 发现,reconcile 修复

安全

默认只读;remove / reconcile 需要显式 --yes(CLI)或 force: true(工具)。


English

Why? The official dsh plugin remove only handles bundles in the profile's dsh.profile.bundles list. It does not:

  • Remove patch rows from cordis.patch.yml (profile or home level)
  • Disable/enable without deleting
  • Audit for orphaned rows or dangling bundle references

dsh-unplug fills all three gaps.

Quick start

dsh plugin add dsh-unplug

CLI

dsh-unplug list                         # show every mounted plugin row
dsh-unplug                             # no args → friendly menu
dsh-unplug remove <plugin> --yes        # fully unplug (bundle + patch + deps)
dsh-unplug remove --yes                 # forgot the name? we list installed ones
dsh-unplug disable <plugin>             # disable without deleting
dsh-unplug enable <plugin>              # re-enable
dsh-unplug audit                        # detect orphaned/dangling state
dsh-unplug fix --yes                    # one-command fix (alias for reconcile)
dsh-unplug list --all                   # scan every profile

Options: --profile <name> (auto-falls back), --home <path>, --json, --yes, --dry-run.

Agent-callable tool

Once installed, the agent gains the unplug tool:

  • list / audit — always allowed (read-only)
  • remove / reconcile — require force: true
  • disable / enable — reversible, no confirmation needed

Returns a dsh-unplug/v1 report.

How it works

  • Bundle list (dsh.profile.bundles) — remove entry + pnpm remove
  • Disabled list (dsh.profile.disabledBundles) — move between bundles/disabled lists
  • Profile cordis.patch.yml — delete entry or toggle disabled: true
  • Home cordis.patch.yml — same as above
  • Orphaned rows — detect via audit, fix via reconcile

Security

Read-only by default; remove / reconcile require explicit --yes (CLI) or force: true (tool).

License

MIT

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案