DeepSeek Harness Plugin

IAMLieutenant/dsh-tool-user-memory

Stars ★ 4 Downloads (30d) 1,026 Category Memory Added 2026-10-17 npm dsh-tool-user-memory

Local Markdown user and project memory for DSH: pinned preferences, keyword search, soft invalidation, history and archive, and JSON migration with preview, backup and rollback.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-tool-user-memory

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:IAMLieutenant/dsh-tool-user-memory

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

CI

A user memory plugin for DeepSeek Harness. It saves personal background and preferences so new conversations can use them too.

中文说明 · Download 0.4.2 · Changelog

Features

Tell the assistant about yourself as you normally would, such as your professional background or preferred language. Clear personal information can be saved automatically, with a short notice and an Undo button below the answer.

The manager lets you search, add, edit and delete memories. A single switch turns memory on or off.

You can review suggestions before saving them in the pending list. Export and import let you back up your data or move it to another computer.

Memory manager

Install

Install DeepSeek Harness first, then download dsh-tool-user-memory-0.4.2.tgz from the 0.4.2 release. Run this command in your download folder and restart DSH afterwards.

dsh plugin --profile web add ./dsh-tool-user-memory-0.4.2.tgz

The example uses the web profile. Replace it with your profile name if needed.

Use

Open Plugins in DSH, find this plugin and click 管理记忆. Saved memories appear in the list, and 新增记忆 adds one manually.

You do not need to explicitly ask the assistant to remember every personal fact. Clear background, skill familiarity, language and communication preferences can be saved automatically, and the Undo button removes a mistaken addition.

When enabled, saved memories are included in later conversations. Pending suggestions take effect after you save them, and replacements show the old and new content before confirmation.

What gets saved

Only information about you belongs in automatic memory. Project settings, coding constraints, release procedures and temporary requests are skipped, as are unclear statements.

Data is stored locally and sent to your configured model provider when used. Turning memory off or deleting it affects future reads, while existing conversations and backups remain.

Build from source

Clone the repository, install dependencies and build the plugin. Replace the installation path with your checkout's absolute path.

pnpm install --frozen-lockfile
pnpm run build
dsh plugin --profile web add "link:/absolute/path/dsh-tool-user-memory"

Windows paths can use forward slashes, such as D:/projects/dsh-tool-user-memory. Restart DSH after rebuilding.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.