dsh-mnemon 0.5.15 → 0.5.17

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 CHANGED
@@ -12,8 +12,8 @@
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&amp;lang=en" /></a>
13
13
  </p>
14
14
 
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>
15
+ <p align="center"><strong>Composable, view-based memory for DeepSeek Harness.</strong></p>
16
+ <p align="center">Pluggable sources and strategies, with layered memory out of the box.</p>
17
17
 
18
18
  <p align="center">
19
19
  <a href="https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/ui-guide.md">
@@ -46,21 +46,22 @@ Use the same data from Sidebar, conversation tools or Headless. Global, workspac
46
46
 
47
47
  ## Start with the default installation
48
48
 
49
- 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/main/docs/en/guides/getting-started.md) and [verified compatibility baselines](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md).
49
+ You need a compatible DSH Host. Runtime memory and Documents work right away. Memory Spaces use whichever Provider you set up: **Mnemon Native uses a separately installed `mnemon` CLI**, and the other Providers connect to their own services. The npm Starter installs neither. Follow the [platform installation guide](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/getting-started.md) and [verified compatibility baselines](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md).
50
50
 
51
51
  ```sh
52
- mnemon --version
53
52
  dsh plugin --profile web add dsh-mnemon
54
53
  dsh web
55
54
  ```
56
55
 
57
- The pinned development baseline is DSH `0.1.5-rc.1`; additional verified versions are recorded in the [compatibility matrix](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md). Existing Sessions with `source summary requires notice form` need the explicit `dsh-mnemon-repair-session --input FILE --output NEW_FILE` copy repair; see [legacy Session recovery](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/operations.md#dsh-015-compatibility-and-legacy-session-recovery) before replacing any artifact.
56
+ To use Mnemon Native, install its CLI with `npm install --global @mnemon-dev/mnemon` and check it with `mnemon --version`.
57
+
58
+ dsh-mnemon supports DSH `0.1.7-rc.2`, its pinned development baseline; keep `v0.5.16` on older hosts. See the [compatibility matrix](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md). Existing Sessions with `source summary requires notice form` need the explicit `dsh-mnemon-repair-session --input FILE --output NEW_FILE` copy repair; see [legacy Session recovery](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/operations.md#dsh-015-compatibility-and-legacy-session-recovery) before replacing any artifact.
58
59
 
59
60
  For Headless, add the same package to that profile with `dsh plugin --profile headless add dsh-mnemon`.
60
61
 
61
62
  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.
62
63
 
63
- 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/main/docs/en/reference/compatibility.md).
64
+ Upgrading from v0.4 retains the familiar configuration, data and workflow. Configuration lives on the `dsh-mnemon` page under **Plugins**, where DSH 0.1.7 keeps plugin settings; the main Strategy and three optional enhancements are chosen there too, and no View tab or generic memory-plugin manager is added. [Upgrade checklist](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md).
64
65
 
65
66
  ## Source + Strategy → View
66
67
 
@@ -76,7 +77,7 @@ The same public contracts serve the default plugins and external repositories. S
76
77
 
77
78
  ## Official plugins
78
79
 
79
- 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.
80
+ The Starter ships **3 Sources, 2 main Strategies (one selected at a time), 3 optional enhancements and 9 Providers**. Packages are independently versioned and published; the Starter pins an exact tested combination.
80
81
 
81
82
  | Package | Responsibility | Default |
82
83
  |---|---|---|
@@ -84,11 +85,12 @@ The Starter ships **3 Sources, 1 default Strategy, 3 optional Strategy contribut
84
85
  | [dsh-mnemon-source-documents](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-source-documents/README.md) | Markdown, search, revisions and archiving | Enabled |
85
86
  | [dsh-mnemon-source-memory-spaces](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-source-memory-spaces/README.md) | Durable evidence and Source-owned Provider children | Enabled |
86
87
  | [dsh-mnemon-strategy-default-three-tier](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-default-three-tier/README.md) | The familiar three-tier View and turn retrieval policy | Selected |
88
+ | [dsh-mnemon-strategy-general](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-general/README.md) | Every available Source in one budget; the model decides how to use each | Off |
87
89
  | [dsh-mnemon-strategy-auto-capture](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-auto-capture/README.md) | In-turn guidance to retain useful facts | Off |
88
90
  | [dsh-mnemon-strategy-light-context](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-light-context/README.md) | A shared resident-projection ceiling | Off |
89
91
  | [dsh-mnemon-strategy-scoped](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-scoped/README.md) | Ordered Source selection and a writable subset | Off |
90
92
 
91
- 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.
93
+ Choose one main Strategy and any enhancements on the `dsh-mnemon` page under **Plugins**. The enhancements use Core's standard selection, projection and capture slots, so they work with either main 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.
92
94
 
93
95
  Memory Spaces can use these Provider plugins:
94
96
 
package/README.zh-CN.md CHANGED
@@ -12,8 +12,8 @@
12
12
  <a href="https://dshfind.com/zh/plugins/omdsh-dev/dsh-mnemon?ref=badge"><img alt="dshfind 下载量" src="https://dshfind.com/api/badge/omdsh-dev/dsh-mnemon?metric=downloads&amp;lang=zh" /></a>
13
13
  </p>
14
14
 
15
- <p align="center"><strong>DeepSeek Harness 的可组合记忆系统。</strong></p>
16
- <p align="center">默认三层记忆 · 来源与策略可组合 · 每回合一个上下文视图</p>
15
+ <p align="center"><strong>面向 DeepSeek Harness 的可组合视图记忆。</strong></p>
16
+ <p align="center">记忆来源与策略可插拔,开箱即用提供分层记忆。</p>
17
17
 
18
18
  <p align="center">
19
19
  <a href="https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/ui-guide.md">
@@ -46,21 +46,22 @@ Sidebar、对话工具与 Headless 使用同一套数据。全局、工作区、
46
46
 
47
47
  ## 从默认组合开始
48
48
 
49
- 先准备兼容的 DSH 宿主(Host)。**Mnemon Native 还需要单独安装 `mnemon` CLI**;npm 默认安装包不包含这个二进制,也不会安装三方后端服务。参见[各平台安装步骤](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/getting-started.md)和[已验证的兼容基线](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。
49
+ 先准备兼容的 DSH 宿主(Host)。运行时记忆与项目档案开箱即用。记忆空间使用你设置好的任一 Provider:**Mnemon Native 使用单独安装的 `mnemon` CLI**,其他 Provider 连接各自的服务。npm 默认安装包两者都不包含。参见[各平台安装步骤](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/getting-started.md)和[已验证的兼容基线](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。
50
50
 
51
51
  ```sh
52
- mnemon --version
53
52
  dsh plugin --profile web add dsh-mnemon
54
53
  dsh web
55
54
  ```
56
55
 
56
+ 如需使用 Mnemon Native,用 `npm install --global @mnemon-dev/mnemon` 安装它的 CLI,并用 `mnemon --version` 确认。
57
+
57
58
  Headless 使用同一个包:`dsh plugin --profile headless add dsh-mnemon`。
58
59
 
59
60
  打开**记忆系统 → 状态**,然后添加一条运行时记忆。创建档案前先选择 DSH 工作区,全局存储也需要工作区身份。需要长期沉淀时,人工选择 Provider 并创建记忆空间。默认以 Sidebar 展示,可选 Builtin 使用同一组页面。
60
61
 
61
- 从 v0.4 升级保留熟悉的配置、数据与工作流。三个可选增强仅在**设置 → 记忆系统**中透出,不增加 View 页或通用记忆插件管理器。[升级清单](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。
62
+ 从 v0.4 升级保留熟悉的配置、数据与工作流。配置位于**插件 → 可组合记忆**页面,DSH 0.1.7 把插件设置统一放在“插件”中;主策略与三个可选增强也在这里选择,不增加 View 页或通用记忆插件管理器。[升级清单](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。
62
63
 
63
- 锁定的开发基线为 DSH `0.1.5-rc.1`;其他经过验证的版本记录在[兼容性矩阵](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。现有会话若报 `source summary requires notice form`,需要显式执行 `dsh-mnemon-repair-session --input FILE --output NEW_FILE` 生成修复副本;替换任何文件前请阅读[旧会话恢复流程](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/operations.md#dsh-015-兼容与旧会话恢复)。
64
+ dsh-mnemon 支持 DSH `0.1.7-rc.2`,即锁定的开发基线;更早的宿主请继续使用 `v0.5.16`。参见[兼容性矩阵](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。现有会话若报 `source summary requires notice form`,需要显式执行 `dsh-mnemon-repair-session --input FILE --output NEW_FILE` 生成修复副本;替换任何文件前请阅读[旧会话恢复流程](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/operations.md#dsh-015-兼容与旧会话恢复)。
64
65
 
65
66
  ## Source + Strategy → View
66
67
 
@@ -76,19 +77,20 @@ View 不仅包含上下文,也包含 LLM 接下来可以使用的限定范围
76
77
 
77
78
  ## 官方插件
78
79
 
79
- Starter 随附 **3 个 Source、1 个默认 Strategy、3 个可选策略贡献、9 个 Provider**。各包独立版本、独立发布;Starter 固定经过测试的精确组合。
80
+ Starter 随附 **3 个 Source、2 个主策略(同一时间选中一个)、3 个可选增强、9 个 Provider**。各包独立版本、独立发布;Starter 固定经过测试的精确组合。
80
81
 
81
82
  | 包 | 职责 | 默认状态 |
82
83
  |---|---|---|
83
84
  | [dsh-mnemon-source-runtime](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-source-runtime/README.md) | USER / MEMORY、修订与本地热记忆 | 启用 |
84
85
  | [dsh-mnemon-source-documents](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-source-documents/README.md) | Markdown、搜索、修订与归档 | 启用 |
85
86
  | [dsh-mnemon-source-memory-spaces](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-source-memory-spaces/README.md) | 长期证据及 Source 自有 Provider 子模块 | 启用 |
86
- | [dsh-mnemon-strategy-default-three-tier](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-default-three-tier/README.md) | 默认三层 View 与回合检索策略 | 选中 |
87
+ | [dsh-mnemon-strategy-default-three-tier](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-default-three-tier/README.md) | 分层策略:默认的 View 与回合检索策略 | 选中 |
88
+ | [dsh-mnemon-strategy-general](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-general/README.md) | 全部可用 Source 共享一份预算,由模型决定如何使用 | 关闭 |
87
89
  | [dsh-mnemon-strategy-auto-capture](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-auto-capture/README.md) | 当前回合中主动记录有用事实的指引 | 关闭 |
88
90
  | [dsh-mnemon-strategy-light-context](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-light-context/README.md) | 所有选中 Source 共享的常驻投影上限 | 关闭 |
89
91
  | [dsh-mnemon-strategy-scoped](https://github.com/omdsh-dev/dsh-mnemon/blob/main/plugins/dsh-mnemon-strategy-scoped/README.md) | 有序选择 Source,并限定可写子集 | 关闭 |
90
92
 
91
- 三个增强使用默认 Strategy 的不同槽,可以共存,最终仍输出一个 View。主动记录是指引,不是自主记录器;投影上限不是 token 计费或增量注入;范围组合不创建存储。
93
+ 在**插件 → 可组合记忆**页面选择一个主策略及任意增强。增强使用 Core 的标准 selection、projection 与 capture 槽,因此适用于任一主策略并可共存,最终仍输出一个 View。主动记录是指引,不是自主记录器;投影上限不是 token 计费或增量注入;范围组合不创建存储。
92
94
 
93
95
  Memory Spaces 可使用以下 Provider 插件:
94
96
 
package/cordis.patch.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  # replace this config row as a whole; use user settings or environment
3
3
  # variables for one-field overrides such as cliPath.
4
4
  # Connection's generic RPC registry uses its owning Context to mount routes.
5
- # DSH 0.1.5's Web profile omits this dependency from that service's scope.
5
+ # DSH's Web profile (0.1.7-rc.2 included) injects only webRuntime there.
6
6
  - id: connection
7
7
  inject: [webRuntime, webServer]
8
8
 
@@ -75,6 +75,11 @@
75
75
  instanceId: supermemory
76
76
  - id: mnemon-strategy-default-three-tier
77
77
  name: dsh-mnemon-strategy-default-three-tier
78
+ # A second main Strategy; memoryView.strategyTypeId selects which one
79
+ # composes the View. It stays off until selected.
80
+ - id: mnemon-strategy-general
81
+ name: dsh-mnemon-strategy-general
82
+ disabled: true
78
83
  # v0.5 ships these narrowly scoped enhancements with the Starter so the
79
84
  # Settings switches are always available. They remain opt-in.
80
85
  - id: mnemon-strategy-auto-capture