dsh-mnemon 0.5.29 → 0.5.31
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 +3 -3
- package/README.zh-CN.md +3 -3
- package/SECURITY.md +2 -2
- package/lib/bundle.js +1 -1
- package/lib/client.js +721 -397
- package/lib/index.js +10760 -10096
- package/lib/{starter-resolution-CiUfOO4b.js → starter-resolution-DXcN5HsU.js} +2 -2
- package/lib/starter.js +1 -1
- package/lib/types/src/client/locales.d.ts +24 -5
- package/lib/types/src/client/page-controls.d.ts +3 -1
- package/lib/types/src/client/ui-icons.d.ts +0 -1
- package/lib/types/src/host/protocol.d.ts +61 -11
- package/package.json +42 -42
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ npx @deepseek-ai/dsh web
|
|
|
92
92
|
4. For Memory Spaces, install the Mnemon CLI for Mnemon Native with `npm install --global @mnemon-dev/mnemon`, or enable another Provider on the Memory Spaces page.
|
|
93
93
|
5. Choose the main strategy and enhancements under **Plugins → dsh-mnemon**.
|
|
94
94
|
|
|
95
|
-
dsh-mnemon supports DSH `0.2.0-rc.2` (npm `latest`
|
|
95
|
+
dsh-mnemon supports DSH `0.2.0-rc.2` (npm `latest`) and `0.2.1-rc.1` (npm `next`). The same package serves the desktop app's Plugins page, `dsh plugin --profile web add dsh-mnemon` on the command line, and Headless with `dsh plugin --profile headless add dsh-mnemon`; older hosts keep the release [compatibility and upgrades](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md) names for them. [Getting started](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/getting-started.md) continues from here, and [compatibility and upgrades](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md) covers existing installations.
|
|
96
96
|
|
|
97
97
|
## How it works
|
|
98
98
|
|
|
@@ -125,7 +125,7 @@ Memory Spaces Providers: [Mnemon Native](https://github.com/omdsh-dev/dsh-mnemon
|
|
|
125
125
|
|
|
126
126
|
Define a Source or Strategy with `dsh-mnemon/extension-sdk`, add an enhancement through the standard slots, or write a Memory Spaces driver with `dsh-mnemon-source-memory-spaces/provider-sdk`. A component can also add its own settings and Status card to the pages dsh-mnemon shows. Your repository owns its manifest, dependencies, tests and build; DSH installs and mounts it, and choosing it as the main strategy is a separate decision.
|
|
127
127
|
|
|
128
|
-
Start with the [plugin author guide](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/development/extensions.md). Discuss new capabilities and Providers in an Issue before a pull request; see [CONTRIBUTING](https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
128
|
+
Start with the [plugin author guide](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/development/extensions.md). Discuss new capabilities and Providers in an Issue before a pull request; see [CONTRIBUTING](https://github.com/omdsh-dev/dsh-mnemon/blob/main/CONTRIBUTING.md).
|
|
129
129
|
|
|
130
130
|
## Data and trust
|
|
131
131
|
|
|
@@ -135,7 +135,7 @@ Start with the [plugin author guide](https://github.com/omdsh-dev/dsh-mnemon/blo
|
|
|
135
135
|
- Saved Provider credentials stay on the Host and are never exported. Backups still contain private memory; protect them.
|
|
136
136
|
- Sources and Strategies are trusted in-process JavaScript, not sandboxed code. Remembered history never outranks current instructions.
|
|
137
137
|
|
|
138
|
-
[Backup and recovery](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/operations.md) · [Security policy](https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
138
|
+
[Backup and recovery](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/operations.md) · [Security policy](https://github.com/omdsh-dev/dsh-mnemon/blob/main/SECURITY.md) · [Release history](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/releases/README.md) · [Roadmap](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/roadmap.md)
|
|
139
139
|
|
|
140
140
|
## Develop and verify
|
|
141
141
|
|
package/README.zh-CN.md
CHANGED
|
@@ -93,7 +93,7 @@ npx @deepseek-ai/dsh web
|
|
|
93
93
|
4. 使用记忆空间时,可用 `npm install --global @mnemon-dev/mnemon` 安装 Mnemon Native 所需的 CLI,或在记忆空间页面启用其他 Provider。
|
|
94
94
|
5. 在**插件 → 可组合记忆**中选择主策略与增强。
|
|
95
95
|
|
|
96
|
-
dsh-mnemon 支持 DSH `0.2.0-rc.2`(npm `latest
|
|
96
|
+
dsh-mnemon 支持 DSH `0.2.0-rc.2`(npm `latest`)与 `0.2.1-rc.1`(npm `next`)。同一个包也用于桌面版的插件页、命令行 `dsh plugin --profile web add dsh-mnemon`,以及 Headless:`dsh plugin --profile headless add dsh-mnemon`;更早的宿主请继续使用[兼容性与升级](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)为其列出的版本。接下来可以看[快速开始](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)。
|
|
97
97
|
|
|
98
98
|
## 工作原理
|
|
99
99
|
|
|
@@ -126,7 +126,7 @@ Starter 固定一组经过测试、各自独立版本的包。同一时间只运
|
|
|
126
126
|
|
|
127
127
|
用 `dsh-mnemon/extension-sdk` 定义 Source 或 Strategy,通过标准插槽编写增强,或用 `dsh-mnemon-source-memory-spaces/provider-sdk` 编写记忆空间驱动。组件还可以把自己的设置和状态卡片加入 dsh-mnemon 的页面。你的仓库自己负责清单、依赖、测试与构建;DSH 负责安装和挂载,是否把它选为主策略是另一个独立决定。
|
|
128
128
|
|
|
129
|
-
从[插件开发指南](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/development/extensions.md)开始。新能力与新 Provider 请先在 Issue 中讨论,再提交 PR,详见 [CONTRIBUTING](https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
129
|
+
从[插件开发指南](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/development/extensions.md)开始。新能力与新 Provider 请先在 Issue 中讨论,再提交 PR,详见 [CONTRIBUTING](https://github.com/omdsh-dev/dsh-mnemon/blob/main/CONTRIBUTING.zh-CN.md)。
|
|
130
130
|
|
|
131
131
|
## 数据与信任
|
|
132
132
|
|
|
@@ -136,7 +136,7 @@ Starter 固定一组经过测试、各自独立版本的包。同一时间只运
|
|
|
136
136
|
- 已保存的 Provider 凭据只留在宿主上,不会被导出;但备份仍包含私有记忆,请妥善保护。
|
|
137
137
|
- Source 与 Strategy 是受信任的进程内 JavaScript,**不是沙箱代码**;历史记忆永远不会凌驾于当前指令之上。
|
|
138
138
|
|
|
139
|
-
[备份与恢复](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/operations.md) · [安全策略](https://github.com/omdsh-dev/dsh-mnemon/blob/
|
|
139
|
+
[备份与恢复](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/operations.md) · [安全策略](https://github.com/omdsh-dev/dsh-mnemon/blob/main/SECURITY.md) · [版本历史](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/releases/README.md) · [路线图](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/roadmap.md)
|
|
140
140
|
|
|
141
141
|
## 开发与验证
|
|
142
142
|
|
package/SECURITY.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| Latest stable `dsh-mnemon` Starter and its pinned official plugins | Security fixes |
|
|
10
10
|
| Older releases | Upgrade to the latest stable Starter |
|
|
11
11
|
|
|
12
|
-
Only the latest stable release receives security fixes. Official Source, Strategy and Provider packages in this repository are in scope even when published independently; report both the Starter version and the affected package version. The Starter pins a tested combination. See the verified Host and runtime baselines in [Compatibility](
|
|
12
|
+
Only the latest stable release receives security fixes. Official Source, Strategy and Provider packages in this repository are in scope even when published independently; report both the Starter version and the affected package version. The Starter pins a tested combination. See the verified Host and runtime baselines in [Compatibility](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/reference/compatibility.md).
|
|
13
13
|
|
|
14
14
|
## Reporting a vulnerability
|
|
15
15
|
|
|
@@ -66,7 +66,7 @@ Out of scope:
|
|
|
66
66
|
| 最新稳定版 `dsh-mnemon` Starter 及其固定的官方插件组合 | 提供安全修复 |
|
|
67
67
|
| 较旧版本 | 升级到最新稳定版 Starter |
|
|
68
68
|
|
|
69
|
-
仅最新稳定版本获得安全修复。本仓库的官方 Source、Strategy 和 Provider 包即使独立发布,也属于报告范围;请同时提供 Starter 与受影响包的版本。Starter 固定经过验证的组合,已验证的宿主和运行环境见[兼容性说明](
|
|
69
|
+
仅最新稳定版本获得安全修复。本仓库的官方 Source、Strategy 和 Provider 包即使独立发布,也属于报告范围;请同时提供 Starter 与受影响包的版本。Starter 固定经过验证的组合,已验证的宿主和运行环境见[兼容性说明](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/reference/compatibility.md)。
|
|
70
70
|
|
|
71
71
|
### 报告漏洞
|
|
72
72
|
|
package/lib/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as prepareStarterResolution } from "./starter-resolution-
|
|
1
|
+
import { t as prepareStarterResolution } from "./starter-resolution-DXcN5HsU.js";
|
|
2
2
|
//#region src/bundle.ts
|
|
3
3
|
const groupKey = Symbol.for("cordis.group");
|
|
4
4
|
const init = Symbol.for("cordis.init");
|