rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:mars-area/dsh-chat-trash
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Permanently delete a chat from the DeepSeek Harness sidebar — no archive copy left behind.
Built by mars-area.
One entry appears in a Session's ··· menu in the sidebar:
The row is drawn with MenuItemButton from @deepseek-ai/dsh-client-ui-primitives, the same primitive the shipped Pin, Rename, Fork and Archive rows use, and carries the app's IconTrashOutlineRegular trash icon — so its type, weight, padding, icon size and hover treatment match the rest of the menu rather than imitating it.
In the Harness Web UI open Plugins in the sidebar.
Add plugin → Install a third-party plugin.
Enter the repository URL:
https://github.com/mars-area/dsh-chat-trash
The short form github:mars-area/dsh-chat-trash works too.
Install, then switch the chat-trash bundle on if it is not on yet.
Open a chat's ··· menu in the sidebar: Delete chat… is the last row.
To work on the plugin, install your local checkout instead by entering its absolute
path (C:\Users\<user>\projects\dsh-chat-trash); toggle the bundle off and on
after editing client.js or index.js.
<DSH_HOME>/sessions/<workspace>/<session-id>/ and its <DSH_HOME>/storages/session_projcache row.An open but idle chat is deletable. DSH keeps every chat you have opened live in memory for the run, so "is this chat open?" is not a usable test — the plugin does not make it.
The log is deleted, not archived, so keep a copy first when it matters: use the
Session header's Download session log action or the /export command, which
writes a ZIP of the session, its sub-sessions and attachments.
sidebar.workspaces.session.menu.item contract; the plugin then fails loudly (the button reports the error) or stops appearing, and should be updated.Made by mars-area. Issues and patches belong there.
| File | Role |
|---|---|
index.js |
Host half: the delete route, work stop, membership cleanup, file removal |
client.js |
Browser half: the menu row, its icon and confirmation |
icon.png |
Bundle artwork shown on the Plugins page (256×256 PNG) |
cordis.patch.yml |
Inserts the plugin row into the profile |
test-host.mjs |
Smoke test of the host half against a throwaway DSH_HOME (not shipped) |
test-client.mjs |
Smoke test of the browser half against a stub module loader (not shipped) |
Run both with any Node 22+:
# browser half: factory, requires, slot registration, row props
node test-client.mjs
# host half: stop, detach, delete, refusals
$env:DSH_HOME = "$env:TEMP\chat-trash-test\home"
$env:TEST_HOME = $env:DSH_HOME
$env:PLUGIN_INDEX = "$env:TEMP\chat-trash-test\index.mjs"
node test-host.mjs CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。