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
D

dsh-delete-sessions

Delete Sessions

在侧边栏会话菜单中添加“删除会话”选项,可永久移除会话

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Gorkaseto/dsh-delete-sessions#e17f321b7efa549d4fe60867ec895460ec719f7b
README兼容性版本

兼容性与来源证明

Delete Sessions 以 dsh-delete-sessions 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/20

版本

1.0.0stable
2026/10/20

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
Apache-2.0
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/20
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 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 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合、基于视图的上下文。开箱即用的可插拔来源与策略、分层记忆和自我演进技能。

README

DSH Delete Sessions

A plugin for DeepSeek Harness (DSH) (dsh-delete-sessions) that adds a permanent "Delete session" action to the sidebar session menu (...).

By default, DeepSeek Harness only supports archiving sessions, which hides them from the sidebar while leaving all session data on disk. This plugin permanently removes sessions and their files, complete with a confirmation dialog and safe deferred deletion for active sessions.

Features

  • Permanent Deletion: Removes the session folder (<DSH_HOME>/sessions/<project>/<sessionId>/), cache projection records, and workspace associations from disk.
  • Safe Handling for Active Sessions: If a session is currently running or open in the host, it is queued for deletion and safely removed on the next DSH restart to prevent log corruption.
  • Undo Scheduled Deletion: Any session queued for deferred deletion can be restored directly from the sidebar prior to restarting.
  • Native UI Integration: Adds a styled "Delete session" option to the session context menu and renders an accessible confirmation modal.
  • Localization: Built-in support for English (en) and Chinese (zh).

How It Works

  1. Client (client.js):

    • Injects the "Delete session" row into the sidebar session menu (sidebar.workspaces.session.menu.item).
    • Renders a confirmation dialog in shell.overlay to prevent accidental deletion.
    • For sessions queued for deferred deletion, displays an "Undo scheduled deletion" action and status indicator.
  2. Host (index.js):

    • Exposes the remote method deleteSessions/remove(sessionId) via the gateway protocol.
    • Stops active turns, schedules, jobs, and subagents using stopActivity.
    • Removes session directories immediately or queues them in <DSH_HOME>/storages/dsh-delete-sessions.json if currently held open by the host.
    • Automatically flushes and deletes queued sessions upon host startup.

[!NOTE] Deletion is permanent once executed. Subagent child sessions reside in independent directories and are not removed when deleting the parent session.

Installation

Install the plugin into your DSH web profile:

# From a local folder
dsh plugin --profile web add file:path/to/dsh-delete-sessions

# Or directly from a Git repository
dsh plugin --profile web add https://github.com/Gorkaseto/dsh-delete-sessions.git

Project Structure

├── client.js          # Client module: UI menu items, confirmation dialog, and locale strings
├── index.js           # Host service: session cleanup, queue management, and RPC handlers
├── cordis.patch.yml   # Cordis plugin manifest definition
├── icon.svg           # Plugin icon
├── locale/            # Internationalization metadata files (en.json, zh.json)
├── package.json       # Plugin manifest and dependencies
├── LICENSE            # Apache-2.0 License
└── NOTICE             # Copyright and attribution notices

License

Licensed under the Apache License, Version 2.0. See NOTICE for details.