DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Session Manager — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@itsyuyi/dsh-session-manager

Session Manager

DeepSeek Harness 插件:工作区会话管理——在侧边栏会话菜单中提供可靠的“删除会话”操作,并配有与宿主样式一致的确认对话框。

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

npx -y @deepseek-ai/dsh plugin --profile web add @itsyuyi/dsh-session-manager@1.0.0
README兼容性版本

兼容性与来源证明

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

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

版本

1.0.0stable
2026/9/29

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
42.3 kB
文件数
10
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
14
最近提交
2026/9/29
查看源码 ↗
项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

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

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)

README

@itsyuyi/dsh-session-manager

DeepSeek Harness (DSH) plugin for workspace session management — currently: a durable “Delete session” action, right in the sidebar session row menu, with a host-styled confirmation dialog.

为 DeepSeek Harness 提供工作区会话管理能力——当前版本:在侧栏会话行菜单中增加可彻底删除会话的操作,配宿主风格确认弹窗。

Features / 功能

  • “Delete session” menu row appended to each session's … menu (after the shipped pin / rename / fork / archive rows), styled exactly like the host's destructive menu rows (theme tokens only, light & dark). 每个会话“…”菜单末尾追加红色“删除会话”项,样式与宿主内置菜单行一致(仅用主题 token,自动适配明暗主题)。
  • Host-styled confirmation dialog rendered in the shell.overlay slot: Escape / mask click dismiss, Cancel focused on open, in-flight and error states live inside the dialog. 宿主同款确认弹窗:Esc/点遮罩关闭、打开即聚焦“取消”、删除中与错误状态都在弹窗内展示。
  • Durable deletion — removes the session log artifact and detaches it from every workspace account (archive/pin sets included). The sidebar refreshes automatically; the search index reconciles itself on the next search. 彻底删除——移除会话日志工件并从所有工作区登记(含归档/置顶集合)中摘除。侧栏自动刷新,搜索索引下次搜索时自动同步。
  • Safety guard — refuses to delete a session with actual running work (a turn in flight, owned jobs, live subagents, active schedules), using the exact same workspace/session-activity admission the host's own archive flow uses. Idle sessions — even currently open ones — are deletable. 安全保护——复用宿主归档同款的活跃判定:只拒绝真正在运行的会话(回合/任务/子代理/日程),空闲会话(即使打开着)可删。
  • Localized — UI copy follows the host language (中文 / English), live-switching. 界面文案跟随宿主语言,实时切换。
  • Verification tool — verify-session.mjs checks on disk whether a session is truly gone (artifact directory + workspace registry), by session id or title. 附带核对脚本:按 id 或标题确认会话是否已从系统目录真正删除。

Requirements / 环境要求

  • DeepSeek Harness (web surface), DSH 0.1.7 generation (@deepseek-ai/cordis 4.x)
  • Node ^22.19.0 || >=24.0.0

Install / 安装

In any DSH agent session, ask the agent (or use the plugin manager) to install from npm: 在任意 DSH 会话里让 Agent 执行(或通过插件管理器)从 npm 安装:

plugin_manager install_bundle  target: @itsyuyi/dsh-session-manager

Or install from a local clone / 或从本地克隆安装:

git clone https://github.com/itsyuyi/dsh-session-manager.git
# then: plugin_manager install_bundle  target: /absolute/path/to/dsh-session-manager

Then refresh the browser page once to load the client module. 安装后刷新一次页面以加载客户端模块。

Uninstall / 卸载:plugin_manager remove_bundle @itsyuyi/dsh-session-manager

Usage / 使用

  1. Hover a session row in the sidebar → click … → Delete session / 删除会话.
  2. Confirm in the dialog. Done — the row disappears immediately. 弹窗确认后即删除,侧栏行立即消失。

If the session is actually running, the dialog tells you to stop it first (this includes the session you are chatting in while it is mid-turn). 若会话正在运行,弹窗会提示先停止(包括你正在对话中的会话)。

Verify deletion / 核对删除结果

node verify-session.mjs              # list every known session with on-disk status
node verify-session.mjs "Some title" # check one session by title or id

“Deleted” means: artifact directory under ~/.dsh/sessions/ gone and no reference left in workspace.json. Projection-cache leftovers are derived data and never read again (harmless). “已删除”判定:~/.dsh/sessions/ 下工件目录消失 且 workspace.json 无引用。投影缓存残留属派生数据,不会再被读取(无害)。

How it works / 工作原理

HalfMechanism
Host (index.js)Registers POST /plugins/dsh-session-manager/delete-session on the host web server. Deletion = activity check (workspace/session-activity waterfall) → unarchive/unpin → detachSession from every workspace → rm -rf the session's JSONL artifact directory (traversal-proof: only ever removes existing directory names under the persistence root).
Client (client.js)Registers a menu row in sidebar.workspaces.session.menu.item and a confirmation dialog in shell.overlay, sharing one request store. Styling copied from the host Modal/Menu/Button rules under a dsm- prefix using only --dsw-* theme tokens.

The SQLite session-search index needs no write: it reconciles against the persistence listing on the next search and drops vanished sessions automatically.

Notes / 说明

  • Replacing the plugin's host code requires restarting dsh web (Node ESM module cache); client code reloads on page refresh. 修改插件 Host 端代码需重启 dsh web 才能重载;Client 端刷新页面即可。
  • Deleting a session is irreversible — prefer the built-in Archive when you may come back. 删除不可恢复——想留后路请用内置“归档”。

License

MIT © 2026 itsyuyi