rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Kai-Dreamer/dsh-delete-conversation
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (DSH) bundle that adds a permanent 删除会话 / Delete
session action as the first row of a session's ... menu in the left sidebar,
with a confirmation dialog. Unlike archiving, the action removes the session from
this device: the Session's local log directory (every immutable log generation,
the write lease, and torn-tail leftovers) is deleted, the projection-cache record
is purged, and the Session leaves every Workspace account, so its row disappears
from the sidebar. Subagent sessions created by the deleted Session are removed
with it.
The session ... menu |
The confirmation dialog |
|---|---|
![]() |
![]() |
dsh web) with the Plugin Manager available.index.js, deletion.js) and the UI half is a plain Client module
(client.js).<spec> below is either a local folder path or a Git URL. Run it by asking the
agent to call plugin_manager install_bundle <spec>, or paste the same spec into
Settings → Plugins in the Desktop app.
From a local folder (development):
<spec> = D:\path\to\dsh-delete-conversation
From this repository:
<spec> = https://github.com/<owner>/dsh-delete-conversation
The manager checks the repository through git ls-remote, installs it into the
active profile, and enables the bundle. list_plugins then shows the row
include:delete-conversation as active.
Manual (no manager): add the folder to <DSH_HOME>/profiles/<profile>/ as a
link: dependency and list the package in that profile's dsh.profile.bundles,
or append the row from cordis.patch.yml to cordis.patch.yml under the
profile. Restart DSH after editing profile files by hand.
Uninstall with plugin_manager remove_bundle @local/dsh-delete-conversation,
or disable it in Settings → Plugins; deleted sessions are not restored.
... button at the end of a top-level Session row. The action
is registered ahead of the built-in actions (pin, rename, fork, copy id,
archive) and is drawn in the danger color with the harness's own trash glyph.api-session/removed event for every removed log. The Client records each
deleted id as a tombstone in local storage, re-applies it whenever the Host
announces that Session again, and polls its own list every 2 s while tombstones
exist, because a later list refresh merges whatever the Host still returns —
and the Host derives that list from persisted logs and live Session
objects, so a Session whose Agent has not been disposed can resurface long
after the delete response. Three reconciliation passes (0.3 s, 1.2 s, 3 s) also
ask the Host for its list and drop rows it no longer returns; the same
reconciliation runs once when the bundle loads. Deleting a row the Host no
longer knows answers not-found, which the dialog treats as already deleted
instead of reporting a failure. When a failed attempt had already closed the
open session, the app reopens it for the user.workspace/session-stop providers archive uses (which also
removes reminders targeting the sessions), and the route waits for it to
settle before flushing each live write buffer and removing files. An idle
session that is still open in a view is allowed; only work that does not stop
within the timeout refuses the delete. When the target is the session on
screen, the Client closes it first (opening a new blank session in the same
Workspace).Reminders that targeted the Session are removed through the archive-stop providers, so they cannot deliver into a missing log later.
The feature is enabled per profile. The client module joins the running Web graph; reload the page if the menu entry does not appear. Turn it off in Plugins to remove the menu entry; the already-deleted sessions are not restored.
The package is still named @local/dsh-delete-conversation because that is the
name the development profile installed it under. Before publishing to a registry
(and for a cleaner install line from this repository), rename it in
package.json, then reinstall the bundle under the new name:
"name": "dsh-delete-session" (or any free name you own);plugin_manager remove_bundle @local/dsh-delete-conversation;plugin_manager install_bundle <path or repository>.The loader row id (delete-conversation, from cordis.patch.yml) does not
change, so the UI entry keeps working across the rename.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。