DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-disk-janitor

Disk Janitor

Disk Janitor for DeepSeek Harness: inspect DSH disk usage and reclaim only caches that are safe to rebuild, keeping the resources currently in use.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Algorandius/dsh-disk-janitor#c661f7c814c8a81c9c3d57a092592de8d9f3e1d9
READMECompatibilityVersions

Compatibility and provenance

Disk Janitor is published as dsh-disk-janitor and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
11/2/2026

Versions

0.1.1stable
11/2/2026
0.1.0stable
10/28/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
11/2/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in developer-tools.

MarketdshmarketVisual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。Cc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessRemotedsh-remoteRemote-work assistant for DeepSeek Harness: connect SSH (password/key/agent/keyboard-interactive, multi-hop ProxyJump), list hosts from ~/.ssh/config, pick a remote workspace, operate on it with 21 rw_* tools, conflict-aware mirror sync, an embedded PTY tPlugindsh-pluginA community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 10000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):10000+ 人工精选社区插件,每日更新。

README

磁盘清理(Disk Janitor)

DeepSeek Harness 的磁盘清理插件:看清 DSH 到底占了哪块盘,再一键清掉可以再生的缓存。

  • 设置页:设置 → 磁盘清理(settings.section,排在「插件」之后)
  • 对话里:直接对 Agent 说“看看 DSH 占了多少磁盘 / 清理一下缓存”,它调用 disk_janitor 工具
  • 自动模式:可选,只自动清理临时的 dsh-* 目录与图片预览缓存

清理项

除 acl-backups(权限修复留下的回滚记录,不是缓存)之外,全部是可再生的缓存;两类都不碰会话、附件、插件与运行时:

id内容说明
bash-runtime$DSH_HOME/dsh-ops/bash-ipc/<旧 identity>DSH 或 dsh-ops 升级后留下的旧版 Bash 解压副本。每一代约 400 MB;只删历史代,正在使用的最新一代始终保留。
request-image-cache$DSH_HOME/cache/attachments为模型请求生成的图片副本,按需重建
projection-cache$DSH_HOME/storages/session_projcache会话视图的派生缓存,清理后首次打开会话稍慢
acl-backups$DSH_HOME/dsh-ops/acl-backups修复文件权限时留下的回滚记录(不是缓存,但删掉不影响使用)
temp-scratch系统临时目录里的 dsh-*只清理 6 小时前未改动过的
desktop-cache%APPDATA%\@deepseek-ai\dsh-desktop\{Cache,GPUCache,…}Electron 渲染/着色器缓存,重启 DSH 后重建

扫描同时给出 $DSH_HOME 每个顶层目录的占用(插件、运行时、会话、附件……),所以“盘到底被谁吃了”一目了然。

会话日志、附件不在清理范围内:它们属于你的数据,请用会话列表里的删除操作处理。

安全设计

  • 删除只作用于六个固定缓存根目录内的条目,路径全部由 Host 侧解析,客户端只能传类别 id,传不了路径。
  • 只认 loopback:路由会校验 Host,非 127.0.0.1 / localhost / ::1 的请求一律 403(防 DNS rebinding 借用浏览器访问本地端口)。
  • 写操作要求 Content-Type: application/json,跨站表单/text/plain 简单请求被拒(CSRF 屏障);带 Sec-Fetch-Site: cross-site 的请求直接 403。
  • ?force=1 的强制扫描 2 秒内只生效一次,避免本地进程刷接口把 CPU 打满。
  • 自动清理默认关闭,且只能选 temp-scratch / request-image-cache。

配置

设置页改动会写入 $DSH_HOME/dsh-disk-janitor.json,也可手改:

{
  "autoClean": { "enabled": false, "intervalHours": 6, "categories": ["temp-scratch", "request-image-cache"] }
}

实现

  • Host:index.js(路由 + disk_janitor 工具 + 自动清理计时器)、lib/janitor.js(分类/测量/删除)、lib/http.js、lib/settings.js。只用 node: 内建模块,不 import 任何 DSH 包,升级后不会因为解析失败而挂掉。
  • Client:client.js,纯 window.__ModuleLoader__ 工厂 + React.createElement,主题变量全部带兜底值。
  • 要求 DSH 0.2.x(dsh.bundle.patch + dsh.client 契约)。