dsh-mnemon 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -183
- package/README.zh-CN.md +66 -186
- package/SECURITY.md +6 -6
- package/lib/client.js +1578 -1273
- package/lib/extension-sdk.js +1 -9
- package/lib/index.js +399 -290
- package/lib/strategy-configuration-B_DsZRQG.js +90 -0
- package/lib/types/src/client/locales.d.ts +976 -900
- package/lib/types/src/host/config-values.d.ts +6 -6
- package/lib/types/src/host/config.d.ts +2 -4
- package/lib/types/src/host/protocol.d.ts +10 -1
- package/lib/types/src/sdk/strategy-configuration.d.ts +5 -0
- package/package.json +19 -18
- package/lib/storage-lock-Bqrhkyag.js +0 -20
package/README.md
CHANGED
|
@@ -1,240 +1,120 @@
|
|
|
1
1
|
<h1 align="center">dsh-mnemon</h1>
|
|
2
2
|
|
|
3
|
-
<p align="center"><strong>English</strong> · <a href="
|
|
3
|
+
<p align="center"><strong>English</strong> · <a href="https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/README.zh-CN.md">简体中文</a></p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/dsh-mnemon"><img alt="npm version" src="https://img.shields.io/npm/v/dsh-mnemon?label=npm" /></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/dsh-mnemon"><img alt="npm downloads" src="https://img.shields.io/npm/dt/dsh-mnemon?label=downloads%20total" /></a>
|
|
8
8
|
<a href="https://github.com/omdsh-dev/dsh-mnemon/releases/latest"><img alt="GitHub release" src="https://img.shields.io/github/v/release/omdsh-dev/dsh-mnemon" /></a>
|
|
9
|
-
<a href="https://github.com/omdsh-dev/dsh-mnemon
|
|
10
|
-
<a href="
|
|
9
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon"><img alt="GitHub stars" src="https://img.shields.io/github/stars/omdsh-dev/dsh-mnemon" /></a>
|
|
10
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /></a>
|
|
11
11
|
<a href="https://dshfind.com/en/plugins/omdsh-dev/dsh-mnemon?ref=badge"><img alt="dshfind" src="https://dshfind.com/api/badge/omdsh-dev/dsh-mnemon?lang=en" /></a>
|
|
12
12
|
<a href="https://dshfind.com/en/plugins/omdsh-dev/dsh-mnemon?ref=badge"><img alt="dshfind downloads" src="https://dshfind.com/api/badge/omdsh-dev/dsh-mnemon?metric=downloads&lang=en" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
|
-
<p align="center"><strong>
|
|
16
|
-
<p align="center">Three
|
|
15
|
+
<p align="center"><strong>Composable memory for DeepSeek Harness.</strong></p>
|
|
16
|
+
<p align="center">Three tiers by default · Your Sources and Strategies · One View per turn</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
|
-
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
20
|
-
<img src="https://raw.githubusercontent.com/omdsh-dev/dsh-mnemon/
|
|
19
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/e1b58f917289325ee430106385da2d4ff2c67153/docs/assets/showcase/demo.mp4">
|
|
20
|
+
<img src="https://raw.githubusercontent.com/omdsh-dev/dsh-mnemon/e1b58f917289325ee430106385da2d4ff2c67153/docs/assets/showcase/en/runtime.png" alt="Real DSH Sidebar with synthetic Runtime memories" width="1180" />
|
|
21
21
|
</a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
25
|
-
<a href="
|
|
26
|
-
<a href="
|
|
27
|
-
<a href="
|
|
28
|
-
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
25
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/guides/getting-started.md"><strong>Get started</strong></a> ·
|
|
26
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/e1b58f917289325ee430106385da2d4ff2c67153/docs/assets/showcase/demo.mp4">Watch the demo</a> ·
|
|
27
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/extensions.md">Build a plugin</a> ·
|
|
28
|
+
<a href="https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/README.md">Documentation</a>
|
|
29
29
|
</p>
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Runtime context, searchable documents and long-term evidence share a familiar Sidebar. The default Starter installs a tested plugin combination; contributors can replace or extend its parts without rebuilding the memory system.
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
## Use three tiers, not three copies
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
**The v0.5 line introduces View-based Memory and independently published Source/Strategy/Provider plugins.** The documented extension exports form the supported v0.5 surface; internal paths and Host RPC remain private. Default user configuration and workflows stay compatible. Compared with v0.4, the ordinary UI adds only three disabled-by-default enhancement switches under **Settings → Memory System**—no View page or plugin-management entry. See the [v0.5.0 architecture scope](./docs/en/releases/v0.5.0.md).
|
|
38
|
-
|
|
39
|
-
v0.5.0 retains the v0.4 Sidebar behavior: Sidebar is the default; optional `displayMode: builtin` places the same Source pages in the owning conversation. Legacy `buildin` is accepted and automatically saved as `builtin`, without changing memory data. The collapsed icon aligns with neighboring Sidebar controls, and the settings-store and ZIP fixes remain included. See the [stable release notes](./docs/en/releases/v0.5.0.md) and [entry placement and scope mapping](./docs/en/configuration.md#entry-placement-displaymode-and-tabenabled).
|
|
40
|
-
|
|
41
|
-
v0.5.1 fixes writable settings under the released nested Desktop Sidebar and removes an Idle Review race that could reject the next conversation turn with an `already pinned` error. See the [v0.5.1 patch notes](./docs/en/releases/v0.5.1.md).
|
|
42
|
-
|
|
43
|
-
v0.5.2 makes the existing `mnemon` profile Entry an atomic switch for the complete Starter, so a retained disabled state no longer leaves v0.5 Source and Strategy Entries waiting on `mnemonMemory`. It also completes the one-time transition to independent package versions and selective publication. See the [v0.5.2 patch notes](./docs/en/releases/v0.5.2.md).
|
|
44
|
-
|
|
45
|
-
The tested DSH baseline remains 0.1.2-rc.1, with Node 20 public-entry compatibility and retained regression evidence for the previous 0.1.1-rc.2 line.
|
|
46
|
-
|
|
47
|
-
## Understand the scope in 30 seconds
|
|
48
|
-
|
|
49
|
-
| Tier | Keep here | How it reaches the Agent | Managed by |
|
|
50
|
-
|---|---|---|---|
|
|
51
|
-
| **Runtime** | Preferences, collaboration rules, project conventions, environment facts | Compact `USER.md` / `MEMORY.md` projection on every turn | Runtime Source |
|
|
52
|
-
| **Documents** | Designs, investigations, procedures, postmortems, handoffs | Search first, full Markdown on demand | Documents Source |
|
|
53
|
-
| **Memory Spaces** | Cross-session facts, decisions, entities, relations | Bounded recall from active spaces | Memory Spaces Source + selected Provider |
|
|
54
|
-
|
|
55
|
-
The tiers are not copies. A useful rule is: **every-turn context goes to Runtime, complete narratives go to Documents, and cross-task evidence goes to Memory Spaces.** Current instructions, repository files, and live tool results always outrank historical memory.
|
|
56
|
-
|
|
57
|
-
## Clicks that start real work
|
|
58
|
-
|
|
59
|
-
| User action | What actually runs | Data effect |
|
|
35
|
+
| Memory | Keep here | How it reaches the Agent |
|
|
60
36
|
|---|---|---|
|
|
61
|
-
| **
|
|
62
|
-
| **
|
|
63
|
-
| **
|
|
64
|
-
| **Smart selection** | Hard rules filter providers; a task Agent resolves only genuine ambiguity | Saves a routing receipt |
|
|
65
|
-
| **AI metadata** | One asynchronous task Agent per selected Memory Space, each using the provider's fastest sample path | Local title/description only |
|
|
66
|
-
| **Archive Document** | A task Agent creates a searchable cold reference before the Host moves the original | Supervised move |
|
|
67
|
-
| **Turn memory** | Expands exact recall, write, and Document-search activity; each item navigates to its source | Read-only |
|
|
68
|
-
|
|
69
|
-
Only the rows that explicitly name a task Agent spend a separate model context; **Search** and **Turn memory** are deterministic Host reads.
|
|
37
|
+
| **Runtime** | Preferences, working agreements, facts needed on the next turn | Compact USER / MEMORY projection |
|
|
38
|
+
| **Documents** | Designs, investigations, procedures and handoffs | Search, then read the relevant narrative |
|
|
39
|
+
| **Memory Spaces** | Durable facts, decisions, entities and relationships | On-demand evidence from enabled backends |
|
|
70
40
|
|
|
71
|
-
|
|
41
|
+
Use the same data from Sidebar, conversation tools or Headless. Global, workspace and custom storage scopes are explicit. Direct retrieval does not spawn a Mnemon task Agent; Agent Query, semantic writes and maintenance may use the configured model. [Workflows and costs](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/reference/workflows.md).
|
|
72
42
|
|
|
73
|
-
|
|
43
|
+
## Start with the default installation
|
|
74
44
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
| Provider | Shape | Best fit |
|
|
78
|
-
|---|---|---|
|
|
79
|
-
| **[Mnemon](https://github.com/mnemon-dev/mnemon)** | Official native local CLI + SQLite | Exact writes, entities, typed relationships, local-first sharing |
|
|
80
|
-
| **[OpenViking](https://github.com/volcengine/OpenViking)** | HTTP + `viking://` | Resource trees and asynchronous extraction |
|
|
81
|
-
| **[Honcho](https://github.com/plastic-labs/honcho)** | HTTP workspace / peers | Team and Agent-peer conclusions |
|
|
82
|
-
| **[Mem0](https://github.com/mem0ai/mem0)** | Platform or self-hosted HTTP | Existing user / Agent memory |
|
|
83
|
-
| **[Hindsight](https://github.com/vectorize-io/hindsight)** | HTTP memory bank | Banks, entities, provider-native graph |
|
|
84
|
-
| **[Holographic](https://github.com/NousResearch/hermes-agent/tree/main/plugins/memory/holographic)** | Local structured fact files | Auditable facts, trust scores, local entities |
|
|
85
|
-
| **[RetainDB](https://github.com/RetainDB/RetainDB)** | HTTP project / user | Project- and user-scoped profiles |
|
|
86
|
-
| **[ByteRover](https://github.com/campfirein/byterover-cli)** | Local `brv` CLI | Code knowledge trees and curate workflows |
|
|
87
|
-
| **[Supermemory](https://github.com/supermemoryai/supermemory)** | HTTP container | Document ingestion and container sharing |
|
|
88
|
-
|
|
89
|
-
Provider capability differences stay visible. dsh-mnemon never invents graph edges, deletion semantics, or enumerable content for an engine that does not provide them. **Settings owns reusable Provider services; Memory Spaces owns concrete instances, activation, scope, and metadata.** External Providers are off by default.
|
|
90
|
-
|
|
91
|
-
See the [provider capability and deployment matrix](./docs/en/memory-providers.md).
|
|
92
|
-
|
|
93
|
-
## Real WebUI walkthrough
|
|
94
|
-
|
|
95
|
-
The following roughly 55-second capture comes from a live 1600×900 DSH WebUI. It deliberately pauses on full-page scrolling, page transitions, Provider cards, dialogs, button-state changes, and a completed read-only Agent Query. Destructive confirmations are deliberately not submitted.
|
|
96
|
-
|
|
97
|
-

|
|
98
|
-
|
|
99
|
-
[Watch the 1600×900 MP4](https://github.com/omdsh-dev/dsh-mnemon/blob/e6ca446e45bdd17991f3c7c98560456de465282b/docs/assets/media/dsh-mnemon-memory-system-demo.mp4) · [Open the page-by-page UI guide](./docs/en/ui-guide.md)
|
|
100
|
-
|
|
101
|
-
## Start in five minutes
|
|
102
|
-
|
|
103
|
-
### 1. Install Mnemon Native
|
|
104
|
-
|
|
105
|
-
Mnemon is the default engine and the simplest local-first starting point:
|
|
45
|
+
You need a compatible DSH Host. **Mnemon Native also needs a separately installed `mnemon` CLI**; installing the npm Starter does not install that binary or third-party backend services. Follow the [platform installation guide](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/guides/getting-started.md) and [verified compatibility baselines](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/reference/compatibility.md).
|
|
106
46
|
|
|
107
47
|
```sh
|
|
108
|
-
# macOS
|
|
109
|
-
brew install --cask mnemon-dev/tap/mnemon
|
|
110
|
-
|
|
111
|
-
# macOS / Linux via Go
|
|
112
|
-
go install github.com/mnemon-dev/mnemon@latest
|
|
113
|
-
|
|
114
48
|
mnemon --version
|
|
49
|
+
dsh plugin --profile web add dsh-mnemon
|
|
50
|
+
dsh web
|
|
115
51
|
```
|
|
116
52
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### 2. Install DSH and the plugin
|
|
120
|
-
|
|
121
|
-
The registry installation is verified against stable DSH 0.1.2-rc.1, whose complete profiles require Node.js `^22.19.0 || >=24.0.0`. The dsh-mnemon package itself retains Node.js 20 public-entry compatibility for older compatible DSH hosts. Use the exact published version below for a reproducible installation; maintainers can run the optional [alpha source compatibility workflow](./docs/en/development.md#manual-dsh-012-alpha5-source-compatibility).
|
|
122
|
-
|
|
123
|
-
```sh
|
|
124
|
-
npm install -g @deepseek-ai/dsh@0.1.2-rc.1
|
|
125
|
-
dsh --version
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
```sh
|
|
129
|
-
dsh plugin --profile web add dsh-mnemon@0.5.2
|
|
130
|
-
dsh --profile web
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
When the Web profile is published under a cloud hostname, stable DSH 0.1.2-rc.1 needs an HTTPS reverse proxy or access gateway, an explicit trusted authority, and the one-time launch URL printed at Host startup. Follow the [cloud-hosted WebUI procedure](./docs/en/operations.md#cloud-hosted-webui); do not expose the loopback service directly.
|
|
134
|
-
|
|
135
|
-
DSH profiles have independent plugin rosters. Install the same package separately for one-shot Headless tasks:
|
|
136
|
-
|
|
137
|
-
```sh
|
|
138
|
-
dsh plugin --profile headless add dsh-mnemon
|
|
139
|
-
dsh --profile headless "Check durable project context before answering this task."
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
For a local checkout, use an absolute path:
|
|
53
|
+
For Headless, add the same package to that profile with `dsh plugin --profile headless add dsh-mnemon`.
|
|
143
54
|
|
|
144
|
-
|
|
145
|
-
dsh plugin --profile web add "link:/absolute/path/to/dsh-mnemon"
|
|
146
|
-
dsh plugin --profile headless add "link:/absolute/path/to/dsh-mnemon"
|
|
147
|
-
```
|
|
55
|
+
Open **Memory System → Status**, then add a Runtime memory. Select a DSH workspace before creating Documents, even with global storage. To retain long-term facts, create a Memory Space with an explicitly selected Provider. Sidebar is the default; optional Builtin placement uses the same pages.
|
|
148
56
|
|
|
149
|
-
|
|
57
|
+
Upgrading from v0.4 retains the familiar configuration, data and workflow. Three optional enhancements are exposed in **Settings → Memory System**; no View tab or generic memory-plugin manager is added. [Upgrade checklist](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/reference/compatibility.md).
|
|
150
58
|
|
|
151
|
-
|
|
152
|
-
2. Open **Memory Spaces → Overview → Create Memory Space** and choose an enabled Provider explicitly.
|
|
153
|
-
3. Submit one stable, future-useful candidate through **Remember**.
|
|
154
|
-
4. Open **Recall**, run a direct search, then run **Agent query** against the same question.
|
|
155
|
-
5. Return to the conversation, expand **Turn memory**, and follow one exact tool link.
|
|
59
|
+
## Source + Strategy → View
|
|
156
60
|
|
|
157
|
-
|
|
61
|
+
[](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/architecture.md)
|
|
158
62
|
|
|
159
|
-
|
|
63
|
+
- **Source** owns memory, its projection, read/write operations and optional DSH pages.
|
|
64
|
+
- **Strategy** chooses how available Sources participate: selection, resident context, retrieval and guidance. Pure composition does not write memory.
|
|
65
|
+
- **Core** validates the proposal, asks Sources for bounded projections and compiles an immutable **View**. The **DSH Host** pins it to the executing turn and controls tool access.
|
|
160
66
|
|
|
161
|
-
|
|
67
|
+
A View includes context **and** the scoped routes/actions the LLM can use next. It is not another database or a frontend page. Memory Spaces owns its Provider child Fibers; Core exposes only the small `ctx.mnemonMemory` contribution service.
|
|
162
68
|
|
|
163
|
-
|
|
164
|
-
|---|---|
|
|
165
|
-
| [](https://github.com/omdsh-dev/dsh-mnemon/blob/e6ca446e45bdd17991f3c7c98560456de465282b/docs/assets/screenshots/remember-dialog.png) | [](https://github.com/omdsh-dev/dsh-mnemon/blob/e6ca446e45bdd17991f3c7c98560456de465282b/docs/assets/screenshots/recall-agent-answer.png) |
|
|
69
|
+
The same public contracts serve the default plugins and external repositories. Source authors keep their data and backend choices; Strategy authors reuse those capabilities, the turn lifecycle, budgets and test fixtures. [Architecture and sequence diagrams](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/architecture.md).
|
|
166
70
|
|
|
167
|
-
|
|
71
|
+
## Official plugins
|
|
168
72
|
|
|
169
|
-
|
|
73
|
+
The Starter ships **3 Sources, 1 default Strategy, 3 optional Strategy contributions and 9 Providers**. Packages are independently versioned and published; the Starter pins an exact tested combination.
|
|
170
74
|
|
|
171
|
-
|
|
|
172
|
-
|
|
173
|
-
| [
|
|
174
|
-
|
|
175
|
-
|
|
75
|
+
| Package | Responsibility | Default |
|
|
76
|
+
|---|---|---|
|
|
77
|
+
| [dsh-mnemon-source-runtime](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-source-runtime/README.md) | USER / MEMORY, revisions and local hot storage | Enabled |
|
|
78
|
+
| [dsh-mnemon-source-documents](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-source-documents/README.md) | Markdown, search, revisions and archiving | Enabled |
|
|
79
|
+
| [dsh-mnemon-source-memory-spaces](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-source-memory-spaces/README.md) | Durable evidence and Source-owned Provider children | Enabled |
|
|
80
|
+
| [dsh-mnemon-strategy-default-three-tier](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-strategy-default-three-tier/README.md) | The familiar three-tier View and turn retrieval policy | Selected |
|
|
81
|
+
| [dsh-mnemon-strategy-auto-capture](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-strategy-auto-capture/README.md) | In-turn guidance to retain useful facts | Off |
|
|
82
|
+
| [dsh-mnemon-strategy-light-context](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-strategy-light-context/README.md) | A shared resident-projection ceiling | Off |
|
|
83
|
+
| [dsh-mnemon-strategy-scoped](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-strategy-scoped/README.md) | Ordered Source selection and a writable subset | Off |
|
|
176
84
|
|
|
177
|
-
|
|
85
|
+
The three enhancements occupy different slots of the default Strategy and can coexist. They still produce one View. Capture is guidance, not an autonomous recorder; a projection ceiling is not token accounting or delta injection; scoped selection does not create storage.
|
|
178
86
|
|
|
179
|
-
|
|
180
|
-
|---|---|
|
|
181
|
-
| `global` | Uses `~/.mnemon`; ideal for a local control plane shared across workspaces and Agents |
|
|
182
|
-
| `workspace` | Uses `<workspace>/.mnemon`; local Providers that support workspace following move with the effective workspace |
|
|
183
|
-
| `custom` | An explicit path with global semantics, useful for team conventions or isolated environments |
|
|
87
|
+
Memory Spaces can use these Provider plugins:
|
|
184
88
|
|
|
185
|
-
|
|
89
|
+
[Mnemon Native](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-mnemon-native/README.md) · [OpenViking](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-openviking/README.md) · [Honcho](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-honcho/README.md) · [Mem0](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-mem0/README.md) · [Hindsight](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-hindsight/README.md) · [Holographic](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-holographic/README.md) · [RetainDB](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-retaindb/README.md) · [ByteRover](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-byterover/README.md) · [Supermemory](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/plugins/dsh-mnemon-provider-supermemory/README.md).
|
|
186
90
|
|
|
187
|
-
|
|
91
|
+
Native is the default backend; third-party services are disabled until explicitly configured. Graph, deletion, exact-write and enumeration capabilities remain backend-specific. [Provider capabilities and setup](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/guides/memory-providers.md).
|
|
188
92
|
|
|
189
|
-
##
|
|
93
|
+
## Build your own composition
|
|
190
94
|
|
|
191
|
-
|
|
192
|
-
|---|---|
|
|
193
|
-
| **Sidebar WebUI** | Status, Runtime, Documents, Memory Spaces, Provider services, visualization, and confirmation surfaces |
|
|
194
|
-
| **Conversation UI** | Turn memory, Save to memory, exact navigation to the corresponding page |
|
|
195
|
-
| **Headless** | Runtime injection, Document search, Memory Space tools, workspace routing, and supervised writes without a WebUI |
|
|
196
|
-
| **Commands** | `/mnemon status`, `recall`, `related`, `remember`, and `forget` |
|
|
95
|
+
Use `dsh-mnemon/extension-sdk` to define and install a Source or Strategy on its Cordis Fiber. Use the owning Strategy's SDK for an additive contribution, or `dsh-mnemon-source-memory-spaces/provider-sdk` for a Memory Spaces driver.
|
|
197
96
|
|
|
198
|
-
|
|
97
|
+
Your repository owns its manifest, public dependencies, implementation, tests and build. DSH's Profile/Loader installs and mounts it; Mnemon does not scan arbitrary installed plugins. Installing code, activating a contribution and choosing the complete Strategy are distinct decisions.
|
|
199
98
|
|
|
200
|
-
-
|
|
201
|
-
- Provider credentials are mode `0600` under `<storageRoot>/state/memory-providers.json`. They are never returned to the browser, smart-selection Agent, or Mnemon Pack.
|
|
202
|
-
- Host calls use argument arrays with shell disabled, bounded output, timeouts, cancellation, schema validation, path boundaries, locks, and revisions.
|
|
203
|
-
- Disabling a Provider clears its local catalog metadata but never deletes remote data. Reconnecting rebuilds metadata from the Provider, using local defaults only when a field cannot be mapped.
|
|
204
|
-
- Changing scope never migrates, merges, or deletes an old root automatically.
|
|
205
|
-
- There is no deterministic secret scanner yet. Never store keys, tokens, private keys, or raw sensitive logs in any tier.
|
|
206
|
-
- Uninstalling the plugin does not remove local or remote memory data.
|
|
99
|
+
Start with the [plugin author guide](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/extensions.md) and [external consumer examples](https://github.com/omdsh-dev/dsh-mnemon/tree/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/scripts/fixtures/plugin-consumer). They cover isolated package consumption, multiple instances, disposal, scoped reads and authorized writes. A Git or Notion integration can be a new Source; it is not implied support for every existing DSH memory plugin.
|
|
207
100
|
|
|
208
|
-
|
|
101
|
+
Independent plugin repositories are welcome. Contributions to this repository follow [CONTRIBUTING](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/CONTRIBUTING.md); discuss new capabilities and Providers in an Issue first.
|
|
209
102
|
|
|
210
|
-
##
|
|
103
|
+
## Data and trust
|
|
211
104
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
| Follow every visible click and Agent action | [Sidebar and conversation UI guide](./docs/en/ui-guide.md) |
|
|
217
|
-
| Compare or deploy all nine Providers | [Long-term memory providers](./docs/en/memory-providers.md) |
|
|
218
|
-
| Understand tiering and lifecycle | [Storage model](./docs/en/storage-model.md) · [Workflows](./docs/en/workflows.md) |
|
|
219
|
-
| Configure scope, routing, and model selection | [Configuration](./docs/en/configuration.md) |
|
|
220
|
-
| Back up, update, or troubleshoot | [Operations](./docs/en/operations.md) |
|
|
221
|
-
| Integrate tools, commands, or RPC | [Interface reference](./docs/en/interfaces.md) |
|
|
222
|
-
| Build a Source, Strategy or Memory Spaces Provider plugin | [Extension guide](./docs/en/extensions.md) |
|
|
223
|
-
| Review the stable release | [v0.5.2 release notes](./docs/en/releases/v0.5.2.md) |
|
|
105
|
+
- Runtime and Documents are local; Native is local by default. External Providers use their configured services and scopes.
|
|
106
|
+
- Disabling participation does not erase memory. Switching storage scope does not migrate it. Provider disabling may clear local catalog metadata, not remote data.
|
|
107
|
+
- Saved Provider credentials stay on the Host and are excluded from Mnemon Packs. Packs still contain private memory and need protection.
|
|
108
|
+
- Source and Strategy plugins are trusted in-process JavaScript, **not sandboxed code**. Historical memory never outranks current instructions. Model-generated plugins are not automatically installed.
|
|
224
109
|
|
|
225
|
-
|
|
110
|
+
[Backup and recovery](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/guides/operations.md) · [Security policy](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/SECURITY.md) · [Release history](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/releases/README.md) · [Roadmap](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/roadmap.md)
|
|
226
111
|
|
|
227
|
-
##
|
|
112
|
+
## Develop and verify
|
|
228
113
|
|
|
229
114
|
```sh
|
|
230
|
-
pnpm install
|
|
231
|
-
pnpm
|
|
115
|
+
pnpm install --frozen-lockfile
|
|
116
|
+
pnpm verify
|
|
117
|
+
pnpm verify:plugins
|
|
232
118
|
```
|
|
233
119
|
|
|
234
|
-
`
|
|
235
|
-
|
|
236
|
-
Before opening an Issue or Pull Request, read the [contribution rules](./CONTRIBUTING.md) ([简体中文](./CONTRIBUTING.zh-CN.md)) and use the bilingual repository templates. Incomplete reports and PR descriptions are rejected by bilingual automated policy checks.
|
|
237
|
-
|
|
238
|
-
## License
|
|
239
|
-
|
|
240
|
-
MIT. Report security issues privately through [SECURITY.md](./SECURITY.md), not a public issue.
|
|
120
|
+
Use Node.js `^22.19.0 || >=24.0.0` and pnpm 10.13.1. Package-level checks run independently; WebUI captures use disposable data and a real DSH Host. Tests of mechanics are not claims of LLM accuracy or live cloud-Provider conformance. [Development](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/README.md) · [Media provenance](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/assets/showcase/README.md).
|