rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
Lzcdebear/better-dsh-session-deletetool
Delete DSH conversations instead of archiving them, see the whole family a conversation spawned (its subagents and derived conversations), and delete in bulk. / 真正删除 DeepSeek Harness 里的会话,并看清它生出的子智能体与派生对话。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Lzcdebear/better-dsh-session-deletetool
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Delete a DeepSeek Harness conversation for real, and manage the whole family around it.
DSH ships archive only. This plugin adds a real delete — session log, Workspace account, archive/pin membership and projection-cache record — and surrounds it with the numbers and folders you need to decide what to remove.
parentSession — a subagent that spawned its own subagent sits one level
deeper. In the single dialog a parent click selects only that node (blank until it is selected,
then green, yellow or red for itself / some descendants / the whole family), and the top
Select all box takes the whole family.own/family, the family total after a slash.sessionPersistence.locate; it is never rebuilt from a conversation title.All routes go through DSH's plugin manager:
npm install better-dsh-session-deletetool
plugin_manager { action: "install_bundle", target: "github:Lzcdebear/better-dsh-session-deletetool" }plugin_manager { action: "install_bundle", target: "<absolute path to the unpacked folder>" }https://github.com/Lzcdebear/better-dsh-session-deletetool/archive/refs/heads/main.tar.gzRefresh the page after installing. Changes to the Host half need a full restart of DSH.
To remove: plugin_manager { action: "remove_bundle", target: "better-dsh-session-deletetool" }.
One conversation. Open a session's ⋯ menu and pick Delete conversation. The dialog shows the
family tree, that conversation's own usage and family total, the cache split, and a folder button on
every row.
Bulk. Press the trash control in the Workspace header, left of the search icon. Each family is a card; tick rows, filter, sort, page, then delete the selection or every conversation.
Before deleting, the Host asks DSH's own activity admission. Running work is reported; it is stopped only after you confirm.
Same-origin routes on ctx.webServer:
| Route | Method | Purpose |
|---|---|---|
/better-dsh-session-deletetool/inspect?sessionId=… |
GET | state, family rows, usage and folder per node |
/better-dsh-session-deletetool/delete |
POST | { sessionId, stop?, descendants? } |
/better-dsh-session-deletetool/catalog |
GET | every session with usage and folder, plus a corpus summary |
/better-dsh-session-deletetool/delete-batch |
POST | { roots: [{ sessionId, descendants? }], stop?, cleanCache? } |
/better-dsh-session-deletetool/open-directory |
POST | { sessionId } — open that session's folder |
/better-dsh-session-deletetool/open-cache |
POST | open DSH's projection-cache folder |
/better-dsh-session-deletetool/refresh-stats |
POST | drop the plugin's cached usage folds |
Every route carries a loopback and same-origin gate, so another page cannot reach them.
| File | Role |
|---|---|
host.js |
Host half: the routes, removal, family walk, catalog and corpus totals |
session-model.js |
Usage folding, directory resolution, cache invalidation |
client.js |
Client half: the menu row, the bulk control, and the two dialogs |
cordis.patch.yml |
Inserts the Host row into the profile's layer stack |
test/host.test.mjs |
Route tests over real temporary directories |
icon.svg |
Plugin artwork |
Styles use host theme tokens (--dsw-alias-*) only, so light and dark both read; the UI is localized
(English / 简体中文) through the Client locale service.
inheritedEventCount. This build has no fork sample, so that path follows
the field's meaning but has not been exercised against real data.node --test test/host.test.mjs
Issues and reports that shaped this version:
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。