qusaykhadour/dsh-buttons

Adds the per-session delete DSH lacks, with bulk selection, a confirmation that names what goes, and no undo.

Supplies an action the harness genuinely does not have: the ACP agent advertises close, list and resume with no delete, the workspace controller only archives, pins and reorders, and an archived session's log stays in ~/.dsh/sessions/ forever. It adds a client-side pick button and menu entries without patching the app or editing app.asar, backed by a host route that removes the session directory across every workspace slug holding the id, the projection cache, and the id inside the workspace registry — rewritten atomically. Bulk mode is the interesting part: while anything is picked, every delete entry point acts on the picked set, so opening a single row's menu can never quietly delete one session out of a group.

Sessions & Messages ★ 0
View on GitHub ↗

Install

dsh plugin --profile desktop add dsh-buttons

The npm line as the README writes it, with desktop as the profile — replace it with the profile you actually run, such as web or tui, and restart DSH afterwards because the plugin graph is composed at host startup, so a page refresh is not enough. The GUI's Settings, Plugins, Plugin Manager accepts the same spec, and the README also gives GitHub-tarball and local-folder forms for machines without npm or git.

Compatibility

The README is Arabic-first and says so, with the interface following your DSH language setting; the delete itself is permanent in every locale. Path safety is checked rather than assumed: the id must match a 7-to-80 character pattern with no separators and no .., every resolved path is re-checked to be inside the sessions directory before removal, and a session the host currently holds open is refused. Sessions are archived before deletion so the row leaves the sidebar first; a refusal there is not fatal.

Details

Alternatives

dushaobindoudou/dsh-bots · JinkaiLiu/dsh-autonomy · YanzuoLu/dsh-at-sessions

More plugins in Sessions & Messages

Browse more in Sessions & Messages

Guides for Sessions & Messages plugins