You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Native /delete command for sessions
Currently DeepSeek Harness only supports archiving sessions (e.g. the archive action in the workspace/sidebar). There is no built-in way to permanently delete a session.
Proposal
Add a native /delete command (and/or a delete action in the session sidebar/workspace).
It should permanently delete the session record/files, with a confirmation step to prevent accidental deletion.
Ideally it should also stop or handle running agents before deletion.
Use case
Users often create many temporary/experimental sessions and need to clean them up completely, not just hide them via archive.
close-then-delete: disposes the live agent via AgentRegistry.dispose(id) so idle sessions are deletable; session-live only as a re-entry race fallback
registry/archive/feedback cleaned in one pass; message-feedback sidecars cascade on session/deleted
Tests: rebased onto latest master, relevant tests green + typecheck; added SQLite storage-level delete coverage (row + FK cascade)
Branch: feat/session-delete @ https://github.com/ywleeo/deepseek-harness/tree/feat/session-delete
Per the repo's current note (no external PRs accepted for now), I didn't open a PR. Happy to have the team merge the branch directly if scheduled; open to review/testing feedback.
Hey everyone!
I ran into an issue with DeepSeek Harness (DSH) and wanted to share how I fixed it. Hopefully this helps others facing the same problem!
The Problem
I deleted a workspace, but all my chat sessions didn't get deleted. They ended up in a section called "Ungrouped" with no obvious way to delete them. The "Archive" button just hides sessions -it doesn't actually delete them from disk.
Here's what it looked like:
text
The Solution
I found a community plugin called dsh-plugin-session-delete by lsz-asd (GitHub). It adds a proper "Delete" button to sessions, including those in "Ungrouped".
The plugin is available here: https://github.com/lsz-asd/dsh-plugin-session-delete
Important: The latest version (v0.3.1) specifically fixes the "Ungrouped" issue where deleted sessions would reappear. Make sure you're using this version!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Feature Request: Native
/deletecommand for sessionsCurrently DeepSeek Harness only supports archiving sessions (e.g. the archive action in the workspace/sidebar). There is no built-in way to permanently delete a session.
Proposal
/deletecommand (and/or a delete action in the session sidebar/workspace).Use case
Users often create many temporary/experimental sessions and need to clean them up completely, not just hide them via archive.
Thanks for considering this!
All reactions