MIT-licensed TypeScript plugin that adds per-turn deletion to DeepSeek Harness: remove one completed turn while keeping the Session, its later turns and the append-only event log intact. Installs in one command via the official dsh CLI and is active after restarting `dsh web`.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-08-27
License
MIT
01What can it help you accomplish?
Delete a single complete closed turn from a DeepSeek Harness conversation without deleting or replacing the Session
The selected turn's prompt, assistant messages and tool records are removed from the Session's current model surface, while the Session id, title, workspace association, later turns and the append-only event log stay intact
DeepSeek Harness (dsh web) users who want to remove one turn from their conversation history while keeping the Session and its other turns
Clean up a middle turn in a conversation while keeping the same Session and its later turns
The same Session and its later turns are preserved, and the deletion is recorded by a durable zero-content replacement event that survives reloads and profile restarts
Users who need to prune a specific exchange from a longer DeepSeek Harness session without starting over
02How to install into DeepSeek Harness
Installation steps
- 01
From npm (recommended): `dsh plugin --profile web add dsh-turn-delete`
$ dsh plugin --profile web add dsh-turn-delete
- 02
From GitHub: `dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete`
$ dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete
- 03
From a prebuilt GitHub Release: `dsh plugin --profile web add https://github.com/hanshenmesen/dsh-turn-delete/releases/latest/download/dsh-turn-delete.tgz`
$ dsh plugin --profile web add https://github.com/hanshenmesen/dsh-turn-delete/releases/latest/download/dsh-turn-delete.tgz
- 04
Restart `dsh web` after installation.
$ dsh web
Verify the integration
Not specified by the author
Rollback
- Remove it with `dsh plugin --profile web remove dsh-turn-delete`
03DSH integration and capability boundaries
Native plugin installed via the official dsh CLI (`dsh plugin --profile web add dsh-turn-delete`), adding a per-turn delete action to dsh web
Turn deletion (trash action)
a completed ordinary Session turn→the selected turn is removed from the Session's current model surface
removes the prompt, assistant messages and tool records of the selected turn from the Session's current model surfacewrites a durable zero-content replacement event that records the deletionConfirmation & running-session protection
a delete request targeting a turn→deletion requires confirmation; deletion is disabled while the Session is running
Idempotent deletion
repeating the same delete request→repeating the same request is idempotent
04Who is it for? When not to use it?
Good for
- DeepSeek Harness (dsh web) users who want to remove one turn from their conversation history while keeping the Session and its other turns
- Users who need to prune a specific exchange from a longer DeepSeek Harness session without starting over
Not for
- Deletion is refused when the target turn is still open or has already been merged into a compaction replacement with other history — this prevents deleting only part of model-visible context.
05Compatibility, maintenance and safety notes
- Deletion is refused when the target turn is still open or has already been merged into a compaction replacement with other history — this prevents deleting only part of model-visible context.
- The trash action is only exposed on completed ordinary Session turns; subagent transcripts do not expose it.
MIT · actively maintained (latest release v0.1.0, 2026-08-17)
06Frequently asked questions
How do I install dsh-turn-delete?
From npm run `dsh plugin --profile web add dsh-turn-delete`; from GitHub run `dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete`; or use the prebuilt release tarball URL. Restart `dsh web` after installation. To remove it, run `dsh plugin --profile web remove dsh-turn-delete`.
What exactly gets deleted from my session?
The prompt, assistant messages, and tool records for the selected turn are removed from the Session's current model surface. The Session id, title, workspace association, later turns, and original append-only event log remain intact.
When is the delete action available?
A trash action appears only on completed ordinary Session turns — subagent transcripts do not expose it. Deletion requires confirmation and is disabled while the Session is running.
Does the deletion survive a reload or restart?
Yes. A durable zero-content replacement event records the deletion, and reloading the page or restarting the profile preserves it. Repeating the same request is idempotent.
Are there turns that cannot be deleted?
The plugin refuses deletion when the target turn is still open or has already been merged into a compaction replacement with other history, which prevents deleting only part of model-visible context.
07Related DSH workflows
memos
by memtensor
Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.
dsh-anchored-standard
by xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
mem9
by mem9-ai
Unlimited memory for OpenClaw
mindmemos
by mindscale-noah
Gives dsh agents persistent cross-session memory: auto-recalls relevant user/task context before each turn and writes back lessons after each turn, evolving memory via schema learning and skill distillation
08Data and sources
Delete one complete closed turn from a DeepSeek Harness conversation without deleting or replacing the Session.
From npm (recommended):
dsh plugin --profile web add dsh-turn-delete
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-27. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
