DeepSeek Harness Plugin

vlln/dsh-pancha

Stars ★ 0 Downloads (30d) 755 Category UI Enhancements Added 2026-10-20 npm dsh-pancha

Disk review canvas: agent-written semantics, human decisions, previewed cleanup with undo.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-pancha

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:vlln/dsh-pancha

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Pancha: treemap + inspector

Finder and SpaceSniffer tell you which folder is big. They don't tell you what it is or what happens if you delete it. So you dig in folder by folder, decide by hand, and try to remember what must not be touched.

Pancha hands that step to the tool: the agent writes one sentence of semantics per directory (what it is, whether it can go, what evidence it has), and you just decide on the surface. Unlike "let the agent delete things", it has no execution rights — it can only write marks. Moving files requires your click.

Install (30 seconds)

In dsh web: open Plugins → Add plugin, enter dsh-pancha, install.

CLI:

dsh plugin --profile web add dsh-pancha
# to track the latest commit instead: dsh plugin --profile web add github:vlln/dsh-pancha
  • Takes effect after a page refresh; no host restart.
  • Requires dsh 0.2.x (verified on 0.2.1-rc.1).
  • Uninstall: dsh plugin --profile web remove dsh-pancha.

After installing, a Pancha entry appears in the left sidebar. The first open creates a throwaway session and scans your home directory; tiles show up within seconds.

How it feels

Look

List view

Treemap by size, facet colors by agent category, and a detail panel with semantics, evidence and a size history curve. The list view also exposes items smaller than one pixel.

Decide

  • K keep, D delete, Space cycles, Backspace clears; works on multi-selection.
  • Tiles react instantly: keep is a green ✓ outline, delete is red with ✕, agent marks carry a small A.
  • Your decisions outrank the agent's semantics; it can only file an objection, never override you.

Execute

Execute cleanup → per-item preview (source still there? target conflict?) → move to Trash. If macOS denies Trash access, items go to $DSH_HOME/trash/<timestamp>/ and the UI says so. The batch is recorded, so Undo batch moves everything back.

Let the agent help

Chat

Semantics are filled automatically after a scan (and partially during it). Ask agent to propose lets it pick a confident batch. The Chat drawer lets you talk to it and watch what it did.

Agent tools

Tool Purpose
disk_canvas_scan Scan one directory (default: home), return the largest children
disk_canvas_state Read the canvas: plan, entries, your decisions (wait:false works mid-scan)
disk_canvas_claim Write one semantic sentence + category + evidence
disk_canvas_mark Mark decisions directly (same data as your keys), only fills undecided items
disk_canvas_object File an objection against a decision without changing it
disk_canvas_history Read scan history and deltas

The constraint is a prompt-level one: analyze, annotate, preview — do not modify files. The default session still has file/command tools; add a controlled preset if you need hard isolation.

Safety and data

  • Scanning only calls readdir / stat; no symlink traversal, no writes.
  • Execution only moves to Trash; there is no delete API. Conflicts are checked per item.
  • Ledger lives at $DSH_HOME/data/dsh-pancha/ledger.json, local only, never uploaded.
  • No telemetry. Only your bound session receives scan summaries.

Compatibility

dsh version Status
0.2.1-rc.1 ✅ Verified (2026-10-20)
Other 0.2.x ⚠️ Untested — if the sidebar entry disappears, a client slot likely moved

Official Desktop is untested; web and desktop installs are separate.

Known limits

  • Scans one level of direct children at a time; no full-disk index.
  • Execution only moves files: no rename, archive or compress.
  • Trash permission depends on the host environment; the fallback bin is restored via Undo batch.
  • Agent semantics are one-line claims, not guarantees. You decide.

Plugin management

Install / remove / toggle with the official CLI: dsh plugin --profile web add|remove dsh-pancha. Installed plugins are listed on the Plugins page in the sidebar.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.