Repository navigation
v0.1.1 — rescan fix / 重新扫描修复
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: 168no matter which mode was selected. Caches written within the last week then came back as0 Band 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小时扫描,于是所有行都显示「无缓存」。
- 点击「重新扫描」时不再误用 7 天过滤。此前按钮把点击事件当成了模式参数,导致无论选哪个模式都按
- 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/freshFilesper target and intotals, so skipped recent caches are quantifiable. - The settings page labels recently written caches as
近期写入 {size},保留/written recently, keptinstead of “no cache”, and explains why nothing is eligible when the week filter matches nothing. - The
cache_scantool output listsX keptper 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-cleaneror toggle the plugin row off/on in Settings → Plugins, then refresh the page (the client bundle is served with a new revision).