Back to directory

dsh-turn-delete

Curated pickMaintenance: Active

hanshenmesen/dsh-turn-delete

Delete one complete turn from a DeepSeek Harness session without deleting the session

View on GitHub
$ dsh plugin --profile web add dsh-turn-delete

101

stars

0

forks

TypeScript

Language

MIT

License

2026-08-17

Created

2026-08-18

Last push

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

  1. 01

    From npm (recommended): `dsh plugin --profile web add dsh-turn-delete`

    $ dsh plugin --profile web add dsh-turn-delete

  2. 02

    From GitHub: `dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete`

    $ dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete

  3. 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

  4. 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

DSH integrationNative runtime

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 turnthe 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 deletion
  • Confirmation & running-session protection

    a delete request targeting a turndeletion requires confirmation; deletion is disabled while the Session is running

  • Idempotent deletion

    repeating the same delete requestrepeating 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.
2026-08-172026-08-18v0.1.0

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.

08Data and sources

  • Author-claimedgithub.com4716bcbdee27…

    Delete one complete closed turn from a DeepSeek Harness conversation without deleting or replacing the Session.

  • Author-claimedgithub.com4716bcbdee27…

    From npm (recommended):

  • Author-claimedgithub.com4716bcbdee27…

    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.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.