dsh-rummage-recall
Manifest validAutomatic recall for DeepSeek Harness: leads from your own files and chats via rummage, added after each message you write.
dsh-rummage-recall
Automatic recall for DeepSeek Harness. Before a message you wrote reaches the model, the plugin asks rummage for a few leads from your own notes, mail and chats, and adds them right after your message. The model gets pointers it can follow (rummage get <#id>), not answers.
All the recall logic lives in rummage recall --hook, the same command Claude Code and Codex call from their prompt hooks. This plugin only decides which messages to recall for and where the reply goes.
What it does
- Recalls for messages a person wrote: prompts from the Web UI, chat bridges such as the Telegram bot, and ACP editors. Scheduled job prompts, a subagent's brief, messages between agents, tool results and plugin notices are left alone.
- Runs
rummage recall --hookwith{"prompt", "session_id", "cwd", "harness": "dsh"}on stdin, the same shape Claude Code and Codex hooks send. The session id lets rummage leave out the turns of the session you're in; the session's current working directory picks the project scope. - Puts the reply in a user message (source kind
rummage-recall) right after your message. Nothing goes into the system prompt, so prompt caching is unaffected. - When recall is slow (
timeoutMs), fails or finds nothing, the message goes on unchanged. A failure is logged once until recall works again. - In the Web UI each recall shows as a row among the turn's work rows:
rummage recall · my-project · 3 leads · 180 ms, which expands to the exact text the model got, orno plausible match/skipped: timeout/skipped: error. When rummage reports index progress or a pause, the row adds it. The skipped rows come from a log-only record that no model ever sees. - A small "Memory" badge above the composer shows while rummage is still indexing the project, has paused memory, or hit an error, and disappears once the index is complete. It reads the status rummage returned with the last recall and, between messages, asks
rummage status --line --jsononly when the index's progress file changed or the last answer is getting old. /rummage-pause [recall|index|all] [2h]and/rummage-resumepause and resume memory (they runrummage pause|resume --hookwith your words, the session and its folder, and show rummage's answer). Commands never reach the model.- Telegram and other chat bridges show nothing extra.
Where the leads reach the model
- Native routes (OpenAI-compatible, Anthropic, DeepSeek...): a separate user message right after yours, in the same request.
claude-codevia dsh-oh-my-claude: the plugin sends Claude Code every user message after its last reply as one prompt, so the leads arrive in the same user turn as your words. A message you send while Claude is mid-turn goes to it straight away, before DSH's step hook runs; its leads follow with the next prompt.
How it talks to rummage
The hook reply is {"hookSpecificOutput": {"additionalContext": "..."}, "rummage": {...}}. The leads text goes to the model as is. The optional rummage object (scope, index with state, line, note, error, file, and paused) is only for display: it is kept on the leads message or the skip record and drives the row and the badge. An older rummage that ignores cwd and sends no rummage object still works; there's just no scope or badge.
Requirements
- DeepSeek Harness 0.2.2 or later in the 0.2 line, Node 22+.
- rummage on the
PATHof the DSH process (or setcommand), with an index. Keeprummage daemonrunning or use a rummage version that starts it on demand; without it recall matches exact words only.
Install
From the Plugin Manager, install the bundle @soffits/dsh-rummage-recall. It adds no tools, so it loads into a running DSH without a restart. Reload the Web UI page to get the recall rows.
Settings
Set them on the rummage-recall row in your profile patch:
- id: rummage-recall
config:
sources: [vault, mail-personal]
timeoutMs: 2000
| Key | Default | Meaning |
|---|---|---|
enabled | true | Recall for every message a person writes. |
command | rummage | The rummage command, a name on PATH or a full path. |
sources | [] | Only these rummage sources (rummage sources lists them); empty means all. |
maxItems | 4 | Most leads per message. |
maxChars | 1500 | Size budget of the leads block. |
timeoutMs | 3000 | A slower recall is dropped and the message goes on without leads. |
Privacy
Everything runs on your machine: the plugin starts a local process and reads its stdout. What rummage reads and returns is up to your rummage configuration (it masks credentials in its output by default).
Development
npm run check and npm test run the unit tests. node tools/e2e.mjs boots a real DSH in a throwaway DSH_HOME under .e2e/ with a scripted model and a stand-in rummage, and checks the whole path from prompt to model request.
License
MIT
Comments
Loading…
Similar plugins
by Relistencode
Conversation history recall for DeepSeek Harness (DSH) — literal/fuzzy/semantic retrieval of every past conversation, fully local & offline. AI never forgets what you told it.
★ 4
↓ 382/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-recallby JochenYang
Message recall for DeepSeek Harness (dsh): cut the conversation back to before a message you already sent, and put its text back in the composer.
★ 3
MIT
TypeScript
Nov 5, 2026
dsh plugin --profile web add @jochenyang/dsh-rewind-pluginby disc0nct
A persistent memory plugin for DeepSeek Harness that enables agents to store and recall information across sessions — DSH-native tools with atomic storage, validation, and concurrency-safe reads
★ 0
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add @deepseek-ai/dsh-tool-memoryby wall1234567
DSH 长期记忆插件:上下文超过阈值时把最早的一段对话归档到 memory/ 回忆文件夹,之后按关键词与重要度概率自动回忆。Host-only, zero-dependency memory engine for DeepSeek Harness.
★ 17
↓ 1.4k/wk
MIT
JavaScript
Nov 15, 2026
dsh plugin --profile web add dsh-rofmby 1304836815
DSH 会话级记忆插件:收尾提醒 + MEMORY.md 记忆索引维护 + 实时对话日志 + LLM 摘要压缩,配置面板在 设置→插件。Session memory for DeepSeek Harness.
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add @dsh-external/dsh-auto-memoryby xy261624
DeepSeek Harness 的跨会话记忆与主动唤醒方案。面向角色扮演(RP)、长期陪伴、AI 恋人场景。记忆由角色自己第一人称整理,带对抗式审查和随机心跳。
★ 4
↓ 310/wk
MIT
JavaScript
Nov 3, 2026
dsh plugin --profile web add dsh-companion-memory