DeepSeek Harness plugin

dsh-native-session-delete

Permanent session deletion in the native DeepSeek Harness menu

Jump to install

Source facts

Repository
WSL043/dsh-native-session-delete
Latest update
Aug 22, 2026
Category
Memory
GitHub stars
2
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-21

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/WSL043/dsh-native-session-delete
Plugin: dsh-native-session-delete
Author: WSL043

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

<div align="center">

DSH Native Session Manager

Manage DeepSeek Harness chat history from the native sidebar: search archives, restore sessions, and delete safely.

Archive manager · Conversation search · One-click restore · Safe permanent deletion

![Release](https://github.com/WSL043/dsh-native-session-manager/releases/latest) ![Checks](https://github.com/WSL043/dsh-native-session-manager/actions/workflows/ci.yml) ![npm](https://www.npmjs.com/package/dsh-native-session-delete) ![npm downloads](https://www.npmjs.com/package/dsh-native-session-delete) ![DSH](#compatibility) ![License](LICENSE) ![Stars](https://github.com/WSL043/dsh-native-session-manager/stargazers) ![Awesome DSH Plugin](https://awesome-dsh-plugin.com)

中文 · [Install](#install) · [Use](#use) · [Safety boundary](#safety-boundary)

</div>

<p align="center"> <img src="https://raw.githubusercontent.com/WSL043/dsh-native-session-manager/main/docs/assets/hero.en.png" alt="DeepSeek Harness chat history and archived session manager with search, restore, and safe permanent deletion"> </p>

Recover archivesSearch conversationsDelete safely
Open the archive manager from the sidebar and restore hidden sessionsSearch archived names, workspaces, and user/assistant conversation contentKeep native second confirmation; running work is stopped safely before local records are removed

<p align="center"> <img src="https://raw.githubusercontent.com/WSL043/dsh-native-session-manager/main/docs/assets/archive-manager.en.png" width="414" alt="Native DeepSeek Harness archived conversation manager with history search, restore, and permanent deletion"> <br><sub>Native interface on DeepSeek Harness 0.1.1-rc.2</sub> </p>

Install

Windows quick install (recommended)

Open PowerShell and paste one line:

irm 'https://github.com/WSL043/dsh-native-session-manager/releases/download/v1.1.1/install.ps1' | iex

The helper checks the current directory, PATH, DSH_PORTABLE_ROOT, Downloads/Desktop/Documents, and up to three nested levels below those folders and LocalAppData\Temp, then calls the official DSH plugin add command once. It does not recursively scan disks, install a package manager, snapshot profiles, create a resident command, or download the plugin twice. It supports regular DSH and both the portable edition and Windows installer edition of DSH-Portable as targets. If it finds one durable installation plus disposable copies under Temp, it chooses the durable installation automatically. If several durable installations exist, the helper displays their real paths and asks for a number; no command editing or placeholder path is needed. If it still finds nothing, enter the actual DSH-Portable folder and rerun the same one-line command.

Official CLI (macOS, Linux, or direct review)

dsh plugin --profile web add dsh-native-session-delete@1.1.1

The helper and direct command use the same standard bundle mechanism. The helper is only a Windows entry point; DSH still owns the installation transaction.

When the command finishes, save your work and restart DSH once through its normal workflow so the new bundle configuration becomes active.

Agent installation

Use the fixed-version AGENTS.md. It defines installation, update, acceptance, uninstall, and safety boundaries. Do not use the main branch document as an installation contract.

Use

Manage archives

1. Select the archive icon in the sidebar header to open Archived sessions. 2. Browse every archive or search by session name, workspace, and user/assistant conversation content. 3. Select Restore to return a session to its original workspace position. To remove it completely, start the permanent-delete confirmation from the same list.

Archive and restore only change DSH's hidden state; they do not delete conversation history. Content search is limited to current user and assistant messages inside archived sessions.

Delete permanently

1. Open the native actions menu beside the target session in the sidebar. 2. Choose the red Delete session action. 3. Check the session name and select Delete permanently in the confirmation dialog, or select Cancel to leave it unchanged.

<p align="center"> <img src="https://raw.githubusercontent.com/WSL043/dsh-native-session-manager/main/docs/assets/confirm-delete.en.png" width="414" alt="DeepSeek Harness safe permanent session deletion confirmation dialog"> <br><sub>Permanent deletion cannot be undone; the dialog identifies the target session.</sub> </p>

Once active, the plugin reuses DSH lifecycle and session-storage capabilities. If work is still running, it is stopped and allowed to settle before the target session is deleted. The session list then updates in place without reloading the whole DSH page.

Safety boundary

> [!WARNING] > Permanent deletion cannot be undone. Check the session name before confirming and make a separate backup when needed.

The plugin is responsible for validating and removing only the explicitly confirmed session's dedicated directory within DSH's default per-session JSONL store and host lifecycle boundary. DSH currently exposes no public session-deletion API. The second confirmation is mandatory; cancelling sends no deletion request.

The following are outside the plugin's deletion scope and are not guaranteed to be removed:

  • Other sessions, other plugin data, external attachments, caches, indexes, logs, backups, or cloud/sync copies;
  • Non-JSONL storage or hosts without a safe stop capability; these are refused instead of force-deleted;
  • Additional copies created by the operating system, filesystem, host updates, or third-party sync services.

If the operating system refuses cleanup, the plugin reports that deletion could not be confirmed rather than misreporting partial completion as success. You are responsible for having authority to delete the target data and for meeting applicable retention, audit, and privacy requirements. This is an unofficial community plugin, not affiliated with or endorsed by DeepSeek. It is provided under the [MIT License](LICENSE), without warranty.

Compatibility

<!-- dsh-compatibility --> Supports the latest DeepSeek Harness release (0.1.1-rc.2). <!-- /dsh-compatibility -->

Archive browsing, restore, and content search use DSH's workspace registry and session-query capabilities. Permanent deletion supports DSH's default per-session JSONL storage. Installing replaces the native workspace list with the session-management version; uninstalling restores DSH's original list.

Update and uninstall

Update by rerunning the quick installer or installing the new npm version. For v1.1.1:

dsh plugin --profile web add dsh-native-session-delete@1.1.1

Uninstall removes only this plugin's bundle layer and never deletes sessions:

dsh plugin --profile web remove dsh-native-session-delete

For DSH-Portable, use the corresponding .\dsh.exe plugin --profile web add ... or .\dsh.exe plugin --profile web remove dsh-native-session-delete. Restart DSH through its normal workflow after installing, updating, or uninstalling so the configuration is recomposed.

Support and license

Open a GitHub Issue for ordinary problems. Report security issues privately as described in [SECURITY.md](SECURITY.md).

MIT. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) for the modified upstream client and its license notice.