DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-session-cleanup

Session Cleanup

DeepSeek Harness 会话清理插件,需要 ccch1mneyyy/dsh-TUI(DSH 后端):/nix 启动新会话;/nix quit 删除会话并退出。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-cleanup@0.2.2
README兼容性版本

兼容性与来源证明

Session Cleanup 以 dsh-session-cleanup 发布,当前版本为 0.2.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/11/4

版本

0.2.2stable
2026/11/2
0.2.1stable
2026/10/18
0.2.0stable
2026/9/12
查看其余 2 个版本收起版本
0.1.1stable
2026/8/20
0.1.0stable
2026/8/19

相关插件

正在加载相关插件…

最新版
0.2.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
111.8 kB
文件数
42
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
313
安全扫描
✓ v0.2.2 扫描通过
最近提交
2026/9/13
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-session-cleanup

/nix for DeepSeek Harness, requiring dsh-TUI by ccch1mneyyy.

Inspired by pi-session-cleanup.

Latest DSH release is 0.2.2 on npm and GitHub. See CHANGELOG.md.

What this is

A DSH plugin for ccch1mneyyy/dsh-TUI only, using its DSH backend. It does not list sessions and it does not replace /resume.

Runtime requirement: the third-party @deepseek-harness-tui/dsh-tui package must be installed in the dsh-tui profile. This plugin relies on its TUI services and live session switch; official DeepSeek Harness alone is not sufficient.

pi-tui, the web profile, and dsh-TUI's Claude/Codex backends 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 under ~/.dsh/sessions/<workspace>/ (session-<uuid> or <uuid>), including its session.vN.jsonl.zstd log and session.lock. There is no separate sidecar. 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, including that session's entries in archivedSessionIds and pinnedSessionIds.

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

Installation

First install DeepSeek Harness and dsh-TUI following dsh-TUI's setup instructions. This package does not install dsh-TUI automatically.

Ensure the required TUI package is installed in the same profile, then add this plugin:

dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui
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 ci           # install TypeScript and Node.js types only
npm run build    # emit lib/dsh-entry.js for DSH
npm run test     # test suite
npm run check    # build + TypeScript/Python tests

GitHub Actions CI runs package checks and source-built live PTY checks on Ubuntu and macOS for pull requests, pushes to main, and manual runs. Live jobs upload build logs and verification evidence even on failure; package checks alone do not establish upstream compatibility.

Upstream compatibility records live in TESTING.md. Harness 0.2.1-rc.5 with dsh-TUI v0.18.0 is verified on Linux only. That TUI release names 0.2.1-rc.5 as UPSTREAM_VALIDATED_VERSION. Harness dsh-v0.2.2-alpha.2 is outside that list and was not tested with v0.18.0. The older pair, Harness 0.2.1-rc.3 with dsh-TUI v0.17.0, stays verified on Linux. Harness dsh-v0.2.2-alpha.2 with dsh-TUI v0.17.0 is not supported.

Native DSH entry: dsh-entry.ts → lib/dsh-entry.js. This package has no npm runtime dependencies; the DSH host supplies the required services.

Attribution

The /nix idea comes from pi-session-cleanup (MIT © MasuRii). The DSH port uses DeepSeek Harness persistence and workspace accounting, and depends on ccch1mneyyy/dsh-TUI for the TUI services and live session switch.

License

MIT

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Experimental Session Search@deepseek-ai/dsh-experimental-session-search为 Agents 提供搜索和读取当前工作区早期会话的工具。Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件