dsh-session-cleanup: Permanently Delete Sessions from the DSH Web UI
dsh-session-cleanup is a DSH client plugin (v0.2.1, MIT) maintained by gongyehuahe for permanently deleting Sessions via the Web UI. It displays disk usage with a detailed breakdown of logs and caches, and upon secondary confirmation, removes log directories, projection caches, and workspace accounting entries. A centralized cleanup interface is available under Settings → Session Cleanup, sorted by size. To install, use `plugin_manager install_bundle` or `pnpm add` from the GitHub source as documented in the README. When deleting a live Session, the in-process store is evicted first. Requires Node.js 18+ and DSH with Web UI.
Read Moredsh-session-cleanup: Residual Cleanup After DSH Session Deletion
The DSH community plugin archive-manager fails to clean up attachment objects, cost-meter ledger entries, and billion-context shards when deleting sessions. dsh-session-residue-cleanup (dsh-session-cleanup) listens to the api-session/removed event for automatic cleanup, or can be invoked manually via sweep.js and skills for preview/apply. By default, items are moved to the DSH_HOME recycle bin for easy rollback; the include-ledger option is supported. Requires Node 20+ and a pre-installed archive-manager; restart DSH after installation. MIT licensed, maintained by Donglin027.
Read Moredsh-session-cleanup: DSH Sidebar Session Cleanup and Undoable Recycle Bin
DSH retains session history by default but lacks endpoints for session deletion and freeing disk space. The dsh-session-cleanup plugin from mkt-agents provides a session list sorted by size in the Web sidebar, featuring archiving, undeletable deletion (moved to $DSH_HOME/backups), bulk or single restore, and cleanup for purge, orphan projection caches, and invalid archives. The installation command is `dsh plugin --profile web add [GitHub Repository URL]`. It requires zero configuration, Node.js 22+, and a harness restart. The plugin operates on local directories with the current process permissions, and sessions in use by live Agents will be skipped during deletion.
Read Moredsh-session-cleanup: Permanently Delete Session Data in DSH
DSH's built-in archiving only hides sidebar sessions; the event log `session.v4.jsonl.zstd`, projection cache, and `workspace.json` registrations remain on disk. `dsh-session-cleanup` (LucasCaleb-ggg, MIT, 1.0.0) provides a "Session cleanup" panel and a sidebar "Delete permanently..." option. It deletes the three aforementioned data locations and syncs the `workspaceRegistry` via the Host API. It supports batch deletion, unregistered session groups, and workspace registration removal; it rejects running sessions and does not touch attachments. Installation: `dsh plugin add https://github.com/LucasCaleb-ggg/dsh-session-cleanup`. Requires DSH 0.2.x Web GUI.
Read Moredsh-session-cleanup: Implementing Real Deletion of Archived Sessions for DSH Web
The official DSH "Archived Sessions" page only supports unarchiving, leaving on-disk session logs intact. Maintained by DPH-1121 in the community directory, `dsh-session-cleanup` enables individual and bulk deletions via the client settings page and host-side deletion APIs. It executes operations in the sequence of "delete logs → clear archive IDs → refresh list" and handles archive residuals with lost logs. Installation requires adding the `tgz` file from the README to the web profile and restarting the dsh web service. Deletions are irreversible, and the APIs are restricted to the local loopback. Licensed under MIT.
Read Moredsh-session-cleanup: Archived Session Cleanup Plugin for DeepSeek Harness
The archiving feature of DeepSeek Harness (DSH) only supports unarchiving and cannot clean up disk logs, resulting in continuously increasing storage usage. This plugin aims to complement this lifecycle management by adding session cleanup capabilities to the settings. It supports the deletion of actual log files individually or in bulk, featuring mechanisms for failure retries and residual file handling. The plugin ensures secure access via a local interface listener and excludes the project's cache directory. A service restart is required after installation.
Read Moredsh-session-cleanup: DSH Stale Session and Archive Cleanup Tool
The `dsh-session-cleanup` plugin provides a graphical session management interface for DeepSeek Harness (DSH). It includes two pages—“Sessions Cleanup” and “Archive Cleanup”—that allow users to view and delete in-memory active sessions, persisted stale sessions, and all archived documents. The plugin implements a dual-confirmation mechanism, supports one-click deletion of all archives, and safely executes deletion operations through the host Node.js API to prevent accidental removal of active sessions. It can be installed with the `dsh plugin` command; after installation, restart `dsh web` to use it from the settings page.
Read More