← Back to list

dsh-knj-session-management

DeepSeek Harness Sessions & Messages Low risk

Session management for DSH: archive, restore and delete persisted sessions, cap how many sessions each workspace keeps, and review disk usage in a size governance panel.

DSH 会话管理:归档、恢复、删除持久化会话,按工作区限制会话数量上限,并提供体积治理面板。

How to install

DeepSeek Harness dsh plugin add dsh-knj-session-management

About

dsh-knj-session-management DSH 会话管理插件:归档/恢复/删除持久化会话,按工作区控制会话数量上限,提供体积治理面板。解决会话只增不减导致的 session_projcache.json 膨胀与 web 界面卡顿。 为什么需要它 DSH 的会话只增不减:session.list 基于磁盘扫描、SQLite FTS 索引与 workspace header 索引都会随会话数线性变慢;更关键的是 session_projcache.json(JSON 存储后端,每次写入全量序列化+原子重写)会随会话数膨胀——本机 425 个会话时达到 270MB,任何 checkpoint 写都同步阻塞约 1.5 秒,表现为新建/切换会话卡顿。 DSH 宿主没有会话删除/归档 API,本插件补上这个能力,并且三处索引全部自动跟随(见设计文档)。 功能 **归档**:把 sessions/<ws>/<id>/ 移到 archive-sessions/<ws>/<id>/(可逆,不释放磁盘,会话从列表消失,projcache 记录清除) **恢复**:把归档会话移回原位置(投影缓存冷读自动重建) **永久删除**:彻底移除归档目录(不可逆,释放磁盘,需二次确认) **自动策略**:每工作区保留最近 N 个会话,超限自动归档最旧的非运行会话 **未分组/失效工作区**:_no-…

Recommendation signals

49 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
49 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
0
mo. downloads
Last push
2026-09-15
Created
2026-08-31

Links

GitHub ↗ npm ↗ Report issue ↗

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh-plugin

Related plugins

DeepSeek Harness New
Score84

billion-context

ranxianglei/billion-context

The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).

☆ 233 ↓ 140.8K Sessions & Messages
DeepSeek HarnessClaude CodeCodex
Score80

dsh-chat-import

Nwflower/dsh-chat-import

Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.

☆ 193 ↓ 16.7K Sessions & Messages
DeepSeek Harness
Score77

dsh-rewind

SiriLee/dsh-rewind

In-place conversation rewind in the same session window without forking (Claude Code /rewind semantics): a per-message ↶ button cuts the model context back to any user message, with an optional Claude-Code-style file restore from disk-persisted before-backups.

☆ 83 ↓ 15.1K Sessions & Messages
DeepSeek Harness
Score74

dsh-recall-plugin

limbo947/dsh-recall-plugin

Recall any user message: rolls the conversation (official session fork) and workspace files (per-message shadow git snapshots) back to before it, with a diff-preview confirmation panel.

☆ 34 ↓ 7.2K Sessions & Messages