dsh-session-cleaner
Manifest valid★ 1为 DeepSeek Harness (dsh) 提供会话管理:列表(含标题)/ 点击预览 / 真删除(二次确认)/ 归档分组与恢复。
@lijian-ui/dsh-session-cleaner
为 DeepSeek Harness (dsh) 提供会话管理:列表(含标题)/ 点击预览 / 真删除(二次确认)/ 归档分组与恢复。 Session management for dsh: list (with titles), click-to-preview, real delete (with confirm), archive group & restore.
官方 dsh 只有"归档"没有"删除",且归档后会话从所有视图隐藏、无恢复入口(会话记录仍占磁盘)。本插件修复这两个问题,并补上会话的可识别性(标题 + 内容预览),避免误删:
- 会话列表(带标题):文件层扫描
~/.dsh/sessions,显示会话标题(从日志session/title事件提取)、时间、大小、状态;分组:全部 / 已归档 / 游离 - 点击预览:点击会话行弹出内容预览(最近 12 条对话,用户/助手气泡),预览内可直接删除
- 真删除:删除会话目录 + 投影缓存(projcache)+ workspace 状态三处清理;二次确认弹窗,明确"永久删除、不可恢复"
- 归档分组:归档走官方
workspace.archiveSessionRPC(官方列表即时隐藏);恢复/删除读写官方workspace.json(官方 UI 重启后同步)
安装
# 开发期(link 联调)
dsh plugin --profile web add ./extensions/session-cleaner
# 或发布后
dsh plugin --profile web add @lijian-ui/dsh-session-cleaner
使用
启动 dsh 后打开设置 → 会话管理:

- 顶部:会话总数与总占用,右上「刷新」重新扫描 / 「打开配置文件」定位官方 workspace.json
- 标签页:全部 / 已归档 / 游离(数字徽标实时统计)
- 每行:点击 → 预览弹窗(标题、ID、创建时间、大小 + 最近对话);行内按钮:归档(官方列表即时隐藏)/ 恢复(移出归档)/ 删除(二次确认,真删除)
- 预览弹窗底部也有「删除此会话」入口
边界说明
- 归档:走官方 API,官方侧边栏即时隐藏(无需重启)
- 恢复 / 删除:官方无对应 API,插件直接操作文件层,官方侧边栏在 dsh 重启后同步(插件页面本身即时准确)
- 删除为永久删除(不经过回收站),插件会在确认框明确警告
- 会话日志是多帧 zstd 格式,插件按帧完整解压读取标题与内容
许可
MIT © lijian-ui
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
| 0.1.5 | — | — |
Comments
Loading…
From the same category
by Minglink
DeepSeek v4.1 flash 网络安全红队工具(无限四代) — jailbreak prompts and test suite for DeepSeek 求 Star 收藏 ⭐欢迎大家提交项目的改进
★ 1.9k
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-infinite-gen-4by liangmianya
A visual, non-linear conversation workspace plugin for DeepSeek Harness ; A canvas-based session explorer and branching workspace for DeepSeek Harness.
★ 416
↓ 241/wk
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-synapseby ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 250
↓ 49.4k/wk
MIT
TypeScript
Sep 22, 2026
dsh plugin --profile web add billion-contextby Nwflower
Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable se
★ 194
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-chat-importby Totoro-qaq
DeepSeek Harness plugin for previewable cross-preset session migration. Fixed-schema handoffs preserve state, source-model intent, and unresolved images; the original session stays untouched.
★ 165
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-plugin-bridgeby Anionex
deepseek harness对话和代码状态回退插件 | DSH — rewind conversation and workspace state, powered by a persistent Change Ledger
★ 117
BSD-3-Clause
JavaScript
Sep 14, 2026
dsh plugin --profile web add @anionex/dsh-turn-rewind