DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Delete Chat — DeepSeek Harness 插件(DSH Plugin)
← Plugins
D

dsh-delete-chat

Delete Chat

DeepSeek Harness 的会话管理器:从设置页面列出、归档、取消归档并永久删除会话。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:youqu68/dsh-delete-chat#b1adec414245e64187814156f41ca0663131482a
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.2stable
2026/9/18
0.1.1stable
2026/9/12
0.1.0stable
2026/9/10

相关插件

正在加载相关插件…

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

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

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

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

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

相关插件

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

Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Rewind Plugindsh-rewind-plugin同窗口内对话回退并恢复工作区文件Meow Memorymeow-memoryDeepSeek Harness 的跨会话项目记忆:七层 SQLite 记忆、首轮快照注入、每条消息的关键词命中、memory_remember/search/project 工具、带 reflection-fold UI 的自动反思,以及由空闲触发的梦境整合

README

dsh-delete-chat

A DeepSeek Harness session manager: a settings page that lists every session and lets you archive (hide), unarchive (restore), and permanently delete sessions.

一个 DeepSeek Harness 会话管理插件:在设置页中列出全部会话,并支持归档(隐藏)、取消归档(恢复显示)与永久删除会话。

What it does / 功能

  • List every session with its title, working directory, and creation time, split into archived and active groups.
  • Archive a session to hide it from the sidebar. The log is kept, so archiving is fully reversible.
  • Unarchive a session to make it visible again.
  • Delete a session permanently: removes its persistence log file, then detaches it from workspace accounting and from the archive set.

Install / 安装

dsh plugin --profile web add dsh-delete-chat

The package declares dsh.bundle.patch, so the command installs it and reconciles it into dsh.profile.bundles — no profile file editing. Restart dsh web to mount it.

Usage / 使用

Open Settings → 会话管理 (Session Manager).

Safety / 安全边界

  • Archive is not delete. Archiving only hides a session; its log stays on disk and 取消归档 restores it.
  • Live sessions cannot be deleted. A running session's delete button is disabled, and the host refuses the call even if it is reached directly.
  • Delete is permanent and two-step. The first click shows the exact file path that will be removed; only a second click deletes anything.
  • Only the session's own artifact is touched. The host resolves the path through sessionPersistence.locate(), refuses anything whose filename is not session.jsonl*, and refuses backends that expose no per-session artifact (for example a SQLite store).
  • Sandbox-aware. Session files live under $DSH_HOME/sessions, outside the workspace. If the host's shell sandbox denies the removal, the plugin surfaces that denial instead of forcing it, and the file can be deleted by hand.
  • Search index. A deleted session disappears from the session list immediately; a full-text search index may keep a stale row until the next DSH restart, which is the documented reconciliation point.

Architecture / 结构

One dual-face package:

PieceFileRole
Host pluginlib/index.jsapply(ctx) provides the delChat service
Host manifestlib/typert.host.jsthe ./typert Typert contribution that exposes delChat over the gateway
Browser pluginlib/client.jsthe settings.section page, mounted through exports["./client"]
Mountcordis.patch.ymlone insert row: del-chat → dsh-delete-chat

The browser half reaches the host through remote.delChat.*. The host half imports no @deepseek-ai/* runtime package — it reads the host process's own services with ctx.get(...) and binds itself to the gateway with a hand-written typertRemote binding, so no code-generation step is needed to build this plugin.

Exposed Remote methods:

delChat.list()                      → { sessions: [...] }
delChat.archive({ sessionId })      → { archivedSessionIds: [...] }
delChat.unarchive({ sessionId })    → { archivedSessionIds: [...] }
delChat.inspectDelete({ sessionId })→ { deletable, reason, path, dir }
delChat.deleteSession({ sessionId })→ { path }

Development / 开发

npm install
npm run build     # esbuild → lib/index.js, lib/typert.host.js, lib/client.js
npm test          # structural validation of both halves

npm run build writes the published artifacts:

  • lib/index.js — the host plugin, bundled to ESM.
  • lib/typert.host.js — copied verbatim from src/typert.host.js.
  • lib/client.js — the browser bundle wrapped in the window.__ModuleLoader__.load({ id, factory }) envelope the DSH client module system executes, with react left external for the shell's static module table.

npm test imports the built host half against a mock Cordis context (exports, provided service, typertRemote binding, manifest shape) and executes the built browser bundle against a fake window.__ModuleLoader__ plus a react shim, asserting the registration id, the exports, the Remote descriptors, and the settings.section registration.

License

MIT