zoahdev/dsh-disk-audit

zoahdev★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

Disk-usage audit for DeepSeek Harness (dsh) data directories: total size, per-directory breakdown, largest files, oversized-file warnings (session logs can hit hundreds of MB), cleanup suggestions. Zero runtime deps, read-only. CLI + agent-callable disk_audit tool.

README 摘要

dsh-disk-audit Disk-usage audit for DeepSeek Harness (dsh) data directories: total size, per-directory breakdown, largest directories, oversized files and cleanup suggestions . Session logs can grow to hundreds of megabytes (the ecosystem has even seen the 512 MB stringify cap). This plugin tells you where the space went before it becomes a problem. Zero runtime dependencies, read-only. Install Or run standalone: CLI Exit codes: 0 clean, 1 warnings (oversized files / total above threshold), 2 usage/IO error. In-harness usage (agent-callable) Ask your dsh agent: 看看我的 dsh 数据目录占了多少磁盘,最大的文件是哪些。 Audit disk usage of my dsh data directory: disk audit . The tool returns a dsh-disk-audit/v1 report: Why it exists - Session logs are append-only and can silently eat gigabytes; no other plugin reports disk usage by directory. - Catching a 500 MB session log before it hits the stringify cap is a lot cheaper than recovering after. - Zero runtime dependencies, read-only by construction — it never deletes or moves anything. Development CI runs the dsh-plugin-doctor preflight, unit tests, packed-artifact integration (real disk audit invocation), and a fresh-profile dsh web boot smoke on Windows. Lic…

在 GitHub 查看完整 README →
终端/TUIcleanupdeepseek-harnessdisk-usagedsh-pluginsession-logsstorageagent

分类