DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Session Cleanup — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-session-cleanup

Session Cleanup

DeepSeek Harness plugin for /nix and /nix quit on dsh-tui: delete the current session, start a new one, and switch the live view.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-cleanup@0.2.0
READMECompatibilityVersions

Compatibility and provenance

Session Cleanup is published as dsh-session-cleanup and currently resolves to version 0.2.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

0.2.0stable
9/12/2026
0.1.1stable
8/20/2026
0.1.0stable
8/19/2026

Related plugins

Loading related plugins…

Latest
0.2.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
204.3 kB
Files
64
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
83
Last push
9/13/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseWeb All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH WebAutomation@michengai/dsh-automationExecute coding tasks on a schedule in an independent DSH Session, with dual-entry management via a Web settings page and Agent.

README

dsh-session-cleanup

/nix for DeepSeek Harness on dsh-tui.

Inspired by pi-session-cleanup.

What this is

A DSH plugin for dsh-tui only. It does not list sessions and it does not replace /resume.

pi-tui and the web profile are not supported.

On DSH it:

  • /nix — deletes the current session, starts a new one, and switches the live view to it
  • /nix quit — deletes the current session and exits DSH

Deletion is the whole session directory (and sidecar), not a single session.jsonl.zstd. After dsh-tui has switched away, the previous session is stopped/flushed/detached, the directory goes to Trash on macOS (rm -rf elsewhere), then projection cache and workspace accounting are cleared.

dsh-tui's /new and /resume delete keep the previous log. /nix is the destructive counterpart.

Installation

dsh plugin --profile dsh-tui add dsh-session-cleanup

From this repo:

npm run build
dsh plugin --profile dsh-tui add file:$PWD

Restart the profile. Confirm it loaded:

dsh --profile dsh-tui --dump-config | grep session-cleanup
dsh --profile dsh-tui

Commands

CommandArgumentsDescription
/nix—Delete the current session, start a new one, switch the live view
/nix quit—Delete the current session and exit DSH
/nix help—Usage

Both destructive commands ask for confirmation when userQuestions is mounted (dsh-tui does).

/nix needs dsh-tui's scene switch (channel.newSession()). On any other profile it refuses rather than leaving you on a deleted conversation. Use /nix quit to delete and exit.

Safety

  1. Confirm before delete
  2. Switch first — /nix starts and adopts the new session before the old directory is removed
  3. macOS Trash for session directories; other platforms permanently remove them
  4. Cleanup order — disk/log removal is confirmed before workspace accounting is stripped
  5. Both id spellings — <uuid> and session-<uuid>

Development

npm run build    # emit lib/dsh-entry.js for DSH
npm run test     # test suite
npm run check    # build + test

Native DSH entry: dsh-entry.ts → lib/dsh-entry.js.

Attribution

The /nix idea comes from pi-session-cleanup (MIT © MasuRii). The DSH port uses DeepSeek Harness persistence, workspace accounting, and dsh-tui's live session switch.

License

MIT