Show and tell: dsh-shelf — session lifecycle (export/archive/trash/search) for DSH #2010
Replies: 3 comments
|
v0.3.0: the shelf now has a face and speaks Chinese. New
Safety (unchanged)Moves are reversible (archive/trash -> restore); export is read-only; nothing is ever permanently deleted by the engine. Status
Next: DSH plugin wrapper (open the panel from |
|
v0.4.0: install it as a DSH plugin, and zstd sessions now export too. dsh plugin --profile web add github:zoahdev/dsh-shelf
# panel at http://127.0.0.1:4174 bound to the active profile (committed lib/, no build at install)
Release: https://github.com/zoahdev/dsh-shelf/releases/tag/v0.4.0 The lifecycle gap (#1990/#1991) now has a one-command path: install, open the panel, export/archive/trash/search - all local, all reversible. |
|
v0.5.0: the shelf now shows you the shape of your session library. dsh-shelf report 14 --format html --out shelf-report.html # offline dashboard
Tests: 12/12. Release: https://github.com/zoahdev/dsh-shelf/releases/tag/v0.5.0 Lifecycle gap -> now with a dashboard: install the plugin, open the panel, see where your sessions come from, export/archive/trash what you don't need. All local, all reversible. |
Uh oh!
There was an error while loading. Please reload this page.
中文
dsh-shelf — DSH 会话生命周期管理。 每个用户都会攒下几百个会话,但官方 feature request #1990(无法删除会话)和 #1991(存档会话无法查看/恢复)一直没人接。dsh-shelf 是缺的那层书架。
功能
dsh-shelf list / stats / search—— 会话清单、统计、头+正文搜索dsh-shelf export <id> --format md|json|jsonl—— 导出对话记录(Markdown 人类可读,JSONL 机器可读)dsh-shelf archive <id> / restore <id>—— 归档/恢复(移动,不是删除)dsh-shelf trash <id> / restore-trash <id>—— 回收站(可恢复)安全模型
使用
零依赖、Node >=18、5/5 测试 + CI。仓库:https://github.com/zoahdev/dsh-shelf
为什么值得做
会话是 agent 的记忆资产,但整个生态只有"记忆"没有"书架"。生命周期管理(导出/归档/搜索/清理)是每个重度用户的刚需——先占住 CLI 层,再上 Web UI、FTS5 中文搜索、自动归档。
English
dsh-shelf - session lifecycle for DeepSeek Harness. Everyone accumulates hundreds of sessions, and official feature requests #1990 (no way to delete a conversation) and #1991 (archived sessions cannot be viewed/restored) have no answer yet. dsh-shelf is the missing shelf.
Features
dsh-shelf list / stats / search- inventory, stats, header+body searchdsh-shelf export <id> --format md|json|jsonl- transcripts (human-readable Markdown, machine-readable JSONL)dsh-shelf archive <id> / restore <id>- archive/restore (moves, never deletes)dsh-shelf trash <id> / restore-trash <id>- recoverable trashSafety model
Usage
Zero dependencies, Node >=18, 5/5 tests + CI. Repo: https://github.com/zoahdev/dsh-shelf
Why
Sessions are an agent's memory assets, but the ecosystem has "memory" plugins and no "shelf". Lifecycle management (export/archive/search/cleanup) is a hard need for every heavy user - CLI first, then Web UI, FTS5 Chinese search, and auto-archive.
All reactions