dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LucasCaleb-ggg/dsh-session-cleanup
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A maintenance panel for DSH that does what "archive" never could: actually delete sessions — the event log, the projection cache and the workspace record.
DSH only archives. The row disappears from the sidebar, but session.v4.jsonl.zstd stays on disk forever and the archived id stays in storages/workspace.json; the shipped log backend has no delete seam. This plugin adds the missing surface.

… menu gains a Delete permanently… row that opens a confirmation dialog — no detour through the panel.workspaceRegistry.detachSession / unarchiveSession (so the Host's in-memory table stays in sync with workspace.json) and then emits api-session/removed, so the sidebar drops the row immediately instead of re-filing it under "Ungrouped" until the next restart.
From GitHub:
dsh plugin add https://github.com/OWNER/dsh-session-cleanup
Or from a checkout of this repository:
dsh plugin add /absolute/path/to/this/directory
The plugin is a plain-JS bundle (no build step). It registers a session-cleanup row in your DSH profile.
… menu → Delete permanently…Deleting removes three things for each session:
$DSH_HOME/sessions/<workspace-key>/session-<id>/ (the event log)$DSH_HOME/storages/session_projcache/sessions/session-<id>.json$DSH_HOME/storages/workspace.json (sessionIds and archivedSessionIds)Nothing is touched until you tick I understand this cannot be undone.
.dsh/attachments) are never touched — shared blobs can belong to other sessions.Known limits: a deleted session is not cascaded to its subagent children; deleting a session that is currently open in a tab leaves that tab pointing at a log that no longer exists.
webServer, connection, workspaceRegistry, agentsPlain ES modules, no bundler:
index.js — Host half: /session-cleanup/api/{state,delete,delete-workspace}, all filesystem work.client.js — Client half: the main panel, the sidebar.panellist icon, the session-menu row and the shell.overlay dialog.cordis.patch.yml — inserts the session-cleanup row.locale/*.json — display metadata (Plugin Manager / market).MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。