Skip to content

v0.1.1 — rescan fix / 重新扫描修复

Choose a tag to compare

@you112358 you112358 released this 18 Nov 17:03
· 8 commits to main since this release

v0.1.1 — rescan fix / 重新扫描修复

Fixes

  • Rescan no longer collapses to the 7-day filter. The Rescan button passed its click event into the age-mode argument, so every rescan ran with olderThanHours: 168 no matter which mode was selected. Caches written within the last week then came back as 0 B and every row looked empty. The button now re-scans with the mode shown on the page, and only 'week' / 'all' are accepted as mode values.
    • 点击「重新扫描」时不再误用 7 天过滤。此前按钮把点击事件当成了模式参数,导致无论选哪个模式都按 168 小时扫描,于是所有行都显示「无缓存」。
  • The settings page opens in Everything mode so the inventory is visible on first load; Only a week old stays a deliberate, conservative choice.
    • 设置页默认打开「全部缓存」模式,首次进入即可看到完整清单;「仅 7 天前的」仍是主动选择的保守模式。

Improvements

  • Scan results now carry freshBytes / freshFiles per target and in totals, so skipped recent caches are quantifiable.
  • The settings page labels recently written caches as 近期写入 {size},保留 / written recently, kept instead of “no cache”, and explains why nothing is eligible when the week filter matches nothing.
  • The cache_scan tool output lists X kept per target plus a total line for recently written bytes kept by the age filter.

Upgrade

# in DeepSeek Harness
plugin_manager action=remove_bundle   target=dsh-cache-cleaner
plugin_manager action=install_bundle  target=/path/to/dsh-cache-cleaner

or toggle the plugin row off/on in Settings → Plugins, then refresh the page (the client bundle is served with a new revision).