MIT-licensed native DSH plugin that registers 12 model-callable conversation tools and adds a Conversation Manager tab with a cross-workspace table, body search and a recoverable disk trash.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-23
License
MIT
01What can it help you accomplish?
See every conversation across workspaces and clean them up in batches
A flat session table with status dot, title, workspace and last activity, a 7 / 30 / 90-day age filter, a three-way archived filter, and batch archive / unarchive / delete on any number of selected rows
DeepSeek Harness users whose conversations pile up across many workspaces and who need one flat inventory instead of a sidebar that shows one workspace at a time
Search message bodies — Chinese substrings and conversations never opened before
Highlighted match snippets with workspace and status in the panel plus a copyable result list; `conversation_search` hands the model excerpts, hit counts and scan diagnostics
Users who remember a phrase rather than a title, and who need it found inside archived or cold sessions the index never loaded
Delete conversations for real without losing them forever
The session is moved into `$DSH_HOME/session-trash/<batch>/` with a `MANIFEST.json` recording its original location; restore moves it back, purge empties the trash
Anyone whose junk sessions keep growing and who found that DSH only archives, it does not delete
02How to install into DeepSeek Harness
Prerequisites
- A working DSH host — the author tested 0.2.2-rc.1 and reports that 0.2.1-rc.5 and earlier are equally compatible
- No build toolchain: the browser-half artefact `dist/client.js` ships inside the repo, so the pnpm gate on install-time build scripts for git dependencies never fires
- On Windows, ordinary users cannot create symlinks by default — turn on Developer Mode or install from a local directory instead
Installation steps
- 01
In the DSH plugin page, install the repository URL `https://github.com/Sky-lll27/DSH-chat-keeper`
- 02
Or from the command line, run `dsh plugin --profile <your profile> add https://github.com/Sky-lll27/DSH-chat-keeper`
$ dsh plugin --profile <your profile> add https://github.com/Sky-lll27/DSH-chat-keeper
- 03
Restart DSH afterwards — the host plugin tree is assembled at startup
- 04
For development, skip the bundle install and mount the checkout with `pnpm dsh web --patch /path/to/this/repo/patch.local.yml`
Verify the integration
- After the restart the package appears as a bundle in the plugin page with its toggle and uninstall button (`dsh.bundle` is declared, so it is appended to `dsh.profile.bundles`)
- Open `.dsh-conversation-manager/status.json` in any live session workspace: `targets.sessionController` must say `installed` — that is the entry point the gateway really calls
- Or ask the model to run `conversation_selftest`, which reconciles every assumption the plugin makes about the host in read-only mode
Rollback
- Click uninstall in the plugin page, or drop the package from `dependencies` and `dsh.profile.bundles` in the profile's `package.json`, then run `pnpm install`
- If it was installed from a local directory, uninstall first before switching to the git version — pnpm's in-place rename is refused by the system
03DSH integration and capability boundaries
Native DSH plugin bundle — declares `dsh.bundle`, so DSH appends it to `dsh.profile.bundles`; the host half (`index.js` + `lib/`) registers 12 model-callable tools and a conversationManager service, the browser half adds a Conversation Manager tab and a session-row menu to the Web GUI
conversation_search — literal substring search over every conversation body
query text (Chinese substrings included), `max_conversations`, `budget_ms`, `limit`→excerpts, hit counts and scan diagnostics; it reads the on-disk session logs, so cold conversations are covered too
reads the session logs synchronously from diskmarks an over-budget scan `diskTimedOut` instead of reporting an empty resultTrash-style delete, restore and purge
session id plus `confirm:true`; `permanent:true` for a real delete, `all:true` or a batch name for a purge→sessions moved into `$DSH_HOME/session-trash/<batch>/` with a `MANIFEST.json` of original locations; restore puts a whole batch back
moves real files inside `$DSH_HOME`refuses every call without `confirm:true`lists still-running sessions in `refusedLive` instead of deleting themHost-side CJK search fallback (0.5.1 onwards)
any query containing CJK characters→literal substring hits read from the disk logs, merged into the official search results — the built-in magnifier and the plugin panel both benefit
wraps `sessionController.search` at runtimesynchronous log reads can pause the UI briefly on CJK queriesdoes not modify any DSH fileconversation_list_all — disk-level inventory including unloaded sessions
no index needed, it walks the session storage directory→title, first message, workspace, size and disk path for every conversation
04Who is it for? When not to use it?
Good for
- DeepSeek Harness users whose conversations pile up across many workspaces and who need one flat inventory instead of a sidebar that shows one workspace at a time
- Users who remember a phrase rather than a title, and who need it found inside archived or cold sessions the index never loaded
- Anyone whose junk sessions keep growing and who found that DSH only archives, it does not delete
Not for
- The panel has no one-click delete: “delete selected” copies an instruction carrying the exact session id to the clipboard, and you paste it into the input box so the host runs `conversation_delete`. A one-click button would require the plugin to declare its own Remote namespace, which the author judged not worth the cost.
05Compatibility, maintenance and safety notes
- The panel has no one-click delete: “delete selected” copies an instruction carrying the exact session id to the clipboard, and you paste it into the input box so the host runs `conversation_delete`. A one-click button would require the plugin to declare its own Remote namespace, which the author judged not worth the cost.
- Deletion happens on disk and the host emits no event for it, so rows stay in the native sidebar until you press Refresh, reconnect or restart. The panel's Refresh calls `sessions.refresh()` and re-reads the trash as well.
- The CJK fallback is best-effort: a 2-second default time budget over at most 120 conversations, most recent first. An over-budget scan returns what it reached and official results keep their ranking; lower `cjkSearchBudgetMs` or set `cjkSearch: false` to switch it off.
- With default config the plugin writes `.dsh-conversation-manager/trash.json` and `status.json` into each live session's workspace — batch name, time, count and size only, never bodies or titles. `trashMirror: false` stops all writes into your project directories, but then the panel reports it cannot read the mirror.
MIT · active, last push 2026-11-11, no GitHub release (README documents 0.5.2)
06Frequently asked questions
How do I install DSH-chat-keeper into DeepSeek Harness?
Open the DSH plugin page and add the repository URL, or run `dsh plugin --profile <your profile> add https://github.com/Sky-lll27/DSH-chat-keeper`, then restart DSH — the host plugin tree is assembled at startup. The browser half is pre-built: `dist/client.js` is committed, so no build step runs during install.
Which tools does it add to the model's tool list?
The host half registers 12 tools: conversation_list, _get, _history, _search, _stats, _label, _fork, _selftest, _list_all, _delete, _restore and _purge. `conversation_search` reads the disk logs directly, so literal substring queries — Chinese included — also hit cold conversations that were never opened.
Why does the panel copy an instruction instead of deleting directly?
Delete and restore are host disk operations and the browser half has no file access. The panel therefore copies an instruction carrying the exact session id; paste it into the input box and the host's `conversation_delete` performs the move — nothing is posted into your conversation, and the exact id rules out deleting the wrong session.
Where do deleted conversations go, and how do I get them back?
Into `$DSH_HOME/session-trash/<batch>/`, with `MANIFEST.json` recording each conversation's original location. `conversation_restore` moves a batch back; `conversation_purge` empties the trash permanently (`all:true` or one batch name) and both refuse to run without `confirm:true`. Sessions that are still running are listed in `refusedLive` instead of being deleted.
Can I turn off the CJK search fallback or the files it writes into my workspaces?
Yes — `cjkSearch: false` hands CJK queries back to the official index, `cjkSearchBudgetMs` (default 2000) and `cjkSearchMaxConversations` (default 120) cap the fallback scan, and `trashMirror: false` plus `statusFile: false` stop the plugin writing anything into your workspace directories; the panel then reports that it cannot read the mirror.
07Related DSH workflows
dsh-univer-office
by dream-num
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
clearai-dsh
by clearailhc
Brings an evidence-checked epistemic loop to DSH: research sessions settle into a browsable domain ontology with evidence chains and support levels; contradictory readings are surfaced for human adjudication.
dsh-fish-memory
by yuuyuko-uu
Stores time-stamped, decaying per-session memories, recalls relevant items, and optionally distills imported local archives through the configured DSH model.
dsh-trading
by zhu1090093659
Agent-native trading terminal built on DeepSeek Harness. Crypto, US, CN and HK in one three-column GUI, 19+ hot-swappable connectors, dry-run by default with human approval on every live order. BYOK, no data redistribution.
08Data and sources
一个真正接入 **DeepSeek Harness(DSH)** 插件体系的对话管家。它补齐了 DSH 界面缺失的那部分:
dsh plugin --profile <你的 profile> add https://github.com/Sky-lll27/DSH-chat-keeper
| **宿主半** | `index.js` + `lib/` | 12 个模型可调用工具、会话索引、`conversationManager` 服务(纯 JS,无需构建) |
| **浏览器半** | `src/client/` → `dist/client.js` | Web GUI 的「对话管理器」页签 + 会话行菜单项(TypeScript + React) |
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
