The philosophy of DeepSeek Harness is “everything is a plugin.” When developing or debugging agents, frequently using the /memory command line to view or manage memory entries is cumbersome and can introduce side effects (for example, browsing operations increase recall_count). dsh-memento-tab aims to solve these problems. It is a session-level memory tab for DeepSeek Harness, placed next to “Conversation / Trace / Context,” providing a comprehensive management interface covering /memory.
What Is It¶
This is a session-level memory tab for DeepSeek Harness, maintained by inxups. It is a companion plugin to dsh-memento, not a fork. It consumes only the upstream public ctx.memory and approval seams, registers its own routes and tab, and therefore upstream releases will not produce merge conflicts.
It covers the 11 verb operations of /memory and adds inline editing and export/download. It depends on the upstream ctx.memory and approval seams; if upstream is not installed, it remains inactive.
Core Features¶
- Four-tier budget card: Monitors usage across the four tiers:
user/agent×user-global/workspace. Each tier has one progress bar; it turns yellow above 80% and red when full. - Search and filtering: Substring search (220 ms debounce) works with track/layer filters and a “this session only” toggle.
- Inline edit and delete: Editing turns the entry into a text box in place; deletion uses the full entry text as a unique substring to locate the entry.
- Consolidate: Select at least two memory entries, pre-fill the original text and submit; the cap is read from the host’s
maxMergeMatches. - Pending proposals: Approve or reject. Approval re-runs the approval gate with the proposed text.
- Export and import:
- Export: Supports the
dsh-mementoenvelope format or adapter formats (such asmem0,hermes-memory-md). - Import: Supports preserving layer keys or rewriting layer keys according to the current session, with a maximum of 1,000 entries per operation.
- Export: Supports the
- Audit and adapters: Displays the
snapshot/recalled/ write audit tail, as well as the list of adapters registered in the current build. - Read path optimization: Uses
store.listEntries()instead ofctx.memory.query(), does not increaserecall_count, ensuring browsing traffic does not inflate recall counts.
Installation and Enablement¶
- Confirm
dsh-mementois installed:
dsh plugin --profile web add dsh-memento
- Install this plugin:
dsh plugin --profile web add github:inxups/dsh-memento-tab
- Restart DeepSeek Harness. A fourth tab appears at the top of the session.
Typical Usage¶
- Monitor usage: Check the four-tier budget card in the memory tab to confirm that usage is normal.
- Manage entries: Use substring search to quickly locate entries, then select multiple memories to consolidate or edit inline.
- Data migration: Click the data card to export memory to a file, or import memory files in other formats.
- Approval flow: Click save to initiate a write approval request. In
writePolicy: askmode, writes initiated by the tab no longer trigger pop-up approval, but they are still recorded in the audit log.
Applicable Scenarios and Notes¶
- Permission risk: This plugin runs with the current DSH process permissions. Writes are rejected under
writePolicy: offor fine-grained policies. InwritePolicy: askmode, although pop-up approval is skipped, it relies on thex-memento-tab: 1request header to block cross-site web requests; it cannot block local processes. - Route protection: Export, import, and write operation routes require the custom request header
x-memento-tab: 1; otherwise they are blocked. - Dependency check: Routes use exact matching and do not conflict with upstream; however, they depend on the
ctx.memoryandapprovalseams and do not activate if upstream is not installed.
Links¶
- GitHub: https://github.com/inxups/dsh-memento-tab
- Directory: https://www.skillhub.cn/plugins/inxups/dsh-memento-tab