Skip to content

v1.6.6 — show what was already measured

Choose a tag to compare

@stallenlu stallenlu released this 13 Nov 09:27
· 8 commits to main since this release

1.6.6 — show what was already measured

Nothing new is measured; the results now reach the screen.

  • Dry run next to Clean: the same request without confirm, so "what would this free" is answerable before anything is deleted. It never asks for confirmation, because it deletes nothing.
  • The clean banner survives the rescan that follows it. It used to be erased one line later, so the result was effectively invisible.
  • Plan steps name targets in words (Temp, pnpm store) instead of printing npm-cache, chrome-cache, pip-cache.
  • An empty plan says "nothing worth doing right now" instead of rendering a blank.
  • Route errors carry a stable code; the panel translates it. A Chinese user never reads origin rejected or unknown target: x.
  • Clean history: every real clean appends one line to $DSH_HOME/dsh-disk-cleaner/history.jsonl; a panel reads it back and copies it out as CSV.

Under the hood: scan walks four targets at a time instead of all 32 at once, the Windows targets follow SystemRoot instead of a hardcoded C:, a request without an Origin header is refused, and a refused directory removal is counted separately from a legitimately full one.

node smoke.mjs → 110 assertions, 0 failed. Baseline check: PASS: every host token exists, every reference has a fallback, no hardcoded neutral, no private accent, no unknown --dsb- token.