rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Ssupervipuser/dsh-archived-cleanup
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that lists archived conversations and deletes them permanently — freeing their logs, cached projections, and workspace entries.
Archived conversations are hidden from the sidebar but their logs stay on disk
forever, so ~/.dsh/sessions grows without bound. Harness ships no deletion
API; this plugin adds one, with two callers over a single implementation: a
settings page and an agent tool.
For each archived session, in this order:
| Step | Target | Why this order |
|---|---|---|
| 1 | Session log directory ~/.dsh/sessions/<project>/<session-id>/ |
Physical bytes |
| 2 | Projection cache record in the session_projcache domain |
Derived data |
| 3 | Workspace accounting (detach from every workspace) | UI grouping |
| 4 | The archive-set entry itself | Last, so a partial failure never hides a session it failed to delete |
allowNonArchived: true
relaxes this.session[.vN].jsonl[.zstd] and the directory
must equal the session id. Anything else refuses as unsafe-path.maxBatch (default 200) sessions.dsh plugin add /absolute/path/to/dsh-archived-cleanup
Or install the directory through Settings → Plugins → Add.
Settings → Archived conversations (trash-can icon, after the plugin market). Tick conversations and confirm, or delete the whole set.
Or ask the agent — the archived_conversations tool takes:
{ "action": "list" }
{ "action": "delete", "sessionIds": ["session-..."] }
{ "action": "delete", "all": true }
Set on the plugin's Loader row in cordis.patch.yml:
| Field | Default | Meaning |
|---|---|---|
maxBatch |
200 |
Largest number of conversations one request may delete |
allowNonArchived |
false |
Permit deleting conversations that are not archived |
keepProjectionCache |
false |
Keep the derived projection-cache document |
DeepSeek Harness 0.2.2-rc.1 or later. Declares dsh.bundle and dsh.client
in package.json; the Host half registers the routes and the tool, the Client
half registers the settings page.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。