DSH Plugins Marketplace

DSH Plugins

Plugins

/

Security & Audit

/

dsh-native-memory

h

dsh-native-memory

Manifest valid★ 2

Native per-workspace memory on the harness's own seams: facts and a bounded always-on profile on the storage-domain JSON unit, approval-gated writes with `(sessionId, seq)` citations, deterministic re

UI (client)hasBundlePatch

dsh-native-memory

Awesome DSH Plugin License: MIT

Native, per-workspace long-term memory for DeepSeek Harness (dsh): facts and profiles stored on the harness's own storage-domain, cross-session recall through session-query FTS, approval-gated writes, and cited provenance — no external server, no extra runtime dependency.

⚠️ Installing a plugin runs third-party code on your machine with your own permissions. Review the source (src/) and the security model before installing.

Why this one

dsh-hermes-memorydsh-native-memory
Storage~/.dsh/settings.yaml namespacededicated storage-domain unit (~/.dsh/storages/dsh_memory.json)
Scopeuser-global, all projectsper workspace (exact-cwd authorization)
Write safetysilent, model-onlyhuman approval gate + session-log audit
Recalleverything always injected (hard caps)bounded always-on profile plus on-demand recall + FTS over past sessions
Dependenciesvendored imports into the harness checkoutnone beyond zod + the harness itself

See docs/design.md for the full architecture and the competitive landscape analysis.

Install

dsh plugin --profile web add dsh-native-memory   # npm after release
dsh plugin --profile web add /path/to/this/repo  # from a checkout

Restart dsh web. The bundle enables session-query full-text search and adds the memory tools to every session. Details and configuration: docs/install.md.

Tools

ToolKindGate
memory_rememberadd/update a fact in this workspace (secrets rejected by default)approval
memory_editreplace a factapproval
memory_forgetarchive a fact (soft delete)approval
memory_recalldeterministic three-tier keyword scan (tags > text > fuzzy; freshness/access tie-breaks)none
memory_searchFTS over this workspace's past sessions (caller excluded)none
memory_expandexpand a fact's citation to the original log excerptnone
memory_consolidatenear-duplicate merge suggestions + cap budgetnone
memory_importimport candidate facts from a past session's logapproval (per fact)
memory_profileread the always-injected workspace profilenone
memory_exportwrite a git-friendly Markdown mirror (.dsh-memory/memory.md, masked, idempotent)none

Every fact records its origin (sessionId, seq) — memory stays reconstructable from the lossless session log.

Writes reject secret-shaped text (tokens / keys / passwords) by default; secretPolicy: "mask" | "off" in the bundle patch relaxes that. The credential-assignment detector can flag benign token: … values of ≥16 characters. Prompt injection and tool output always mask secrets.

A read-only browser page (settings → 记忆) lists every workspace's facts with secrets masked; deletions are copied as a memory_forget instruction and land in the chat through the approval gate.

Opt-in session-end proposals (proposeOnSessionEnd: true): one cheap LLM call distills a finished session into candidate facts shown in the next sessions; they become facts only through the approval-gated memory_remember.

A compaction drift guard (compactionGuard: true, on by default) surfaces literal anchors a compaction summary dropped, as data to verify in the next sessions — deterministic, no LLM.

Development

pnpm install
pnpm build && pnpm typecheck && pnpm test

New contributors start at docs/handoff.md and docs/contributing.md. Chinese docs: README.zh.md.

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.0-rc.1: failedDSH 0.2.0-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.2.0——

Comments

Loading…

Similar plugins

dsh-memory-setup

by 863683348

Local, auditable personal memory for DeepSeek Harness: preferences, project conventions, workflows and error lessons persisted as a changelogged JSON file in the workspace, with onboarding, auto proje

Memory & ContextSessions & MessagesManifest valid

★ 1

↓ 22/wk

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-memory-setup

by guntur-d

Persistent cross-session memory plugin for DeepSeek Harness: workspace-scoped durable facts with memory_write/list/search/forget tools and bounded prompt injection

Manifest valid

★ 0

TypeScript

Aug 14, 2026

dsh plugin --profile web add @guntur-d/dsh-memory

Workspace-isolated durable memory for DSH, with searchable, auditable, correctable, and removable workspace memories plus controlled global memory.

Memory & ContextManifest valid

★ 0

↓ 268/wk

MIT

TypeScript

dsh plugin --profile web add @flowingspring/dsh-workspace-memory

by CDeZT

Native DSH foundation bundle that registers a persistent default workspace, provides paged read-only inspection of plugins, skills, memory, sessions, storage, settings, credentials, and DSH_HOME files

Tools & CapabilitiesDevelopment & InfrastructureMemory & ContextManifest valid

★ 0

MIT

JavaScript

Sep 2, 2026

dsh plugin --profile web add better-basicfun

by luyy9apples

Approval-gated workspace instructions and shared project memory for DeepSeek Harness

Manifest valid

★ 0

MIT

TypeScript

Sep 2, 2026

dsh plugin --profile web add dsh-workspace-memory

by Amengclass

A persistent, model-editable memory/notes store for DeepSeek Harness. Adds memory_set / memory_get / memory_delete / memory_search tools backed by the built-in storage domain (ctx.storageDomain) so facts survive across sessions.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-memory