dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Clean up conversations from the DSH sidebar: per-conversation file count and total memory, open/reveal/delete generated files, open the conversation workspace folder, and permanently delete conversations with their local session logs.
A DeepSeek Harness sidebar plugin for managing conversations and their generated files.
From npm:
dsh plugin add dsh-conversation-cleaner
Or from a local checkout:
dsh plugin add /path/to/dsh-conversation-cleaner
The plugin is declared through cordis.patch.yml and exposes both a host entry (index.js) and a web client entry (client.js).
The hidden-state sweep runs once, one minute after the plugin loads. It can also be triggered on demand:
curl -X POST http://127.0.0.1:<port>/.dsh-conversation-cleaner/sweep \
-H 'content-type: application/json' -d '{}'
Pass {"minAgeMs": 0} to include shells created moments ago. The response lists what was removed.
A session counts as an empty shell only when its log is under 8 KB and the projection cache reports zero messages for it — a conversation with any message is never eligible, and a session without a cache row is left alone.
| File | Purpose |
|---|---|
index.js | Host-side plugin entry: file operations, deletion, workspace access |
client.js | Web client entry: sidebar UI |
cordis.patch.yml | DSH bundle patch declaration |
locale/en.json, locale/zh.json | UI strings (English / Chinese) |
icon.svg | Plugin icon |
@deepseek-ai/dsh-client-ui-sidebar and @deepseek-ai/dsh-client-ui-layout client packages.MIT