dsh-mnemon 0.5.34 → 0.5.35
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 +2 -0
- package/README.zh-CN.md +2 -0
- package/cordis.patch.yml +6 -3
- package/lib/bundle.js +1 -1
- package/lib/client.js +176 -169
- package/lib/extension-sdk.js +2 -2
- package/lib/index.js +168 -61
- package/lib/{starter-resolution-C2TDVxDr.js → starter-resolution-BAHgCK5h.js} +8 -8
- package/lib/starter.js +1 -1
- package/lib/{strategy-configuration-CLHxaPOb.js → strategy-configuration-CKP2kRss.js} +34 -2
- package/lib/types/src/client/locales.d.ts +1 -0
- package/lib/types/src/host/config-values.d.ts +1 -0
- package/lib/types/src/host/config.d.ts +1 -1
- package/lib/types/src/host/protocol.d.ts +3 -1
- package/lib/types/src/sdk/index.d.ts +1 -0
- package/lib/types/src/sdk/workspace-storage.d.ts +4 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -92,6 +92,8 @@ Self-evolution stays off until you turn it on under **Plugins → dsh-mnemon →
|
|
|
92
92
|
|
|
93
93
|
## Quick start
|
|
94
94
|
|
|
95
|
+
DSH loads the bundled `cordis.patch.yml` automatically. Do not copy its `insert` block into your profile: duplicate Mnemon entries prevent Settings from saving. See [manual-installation recovery](docs/en/guides/installation.md#settings-cannot-save-after-manual-installation) if you already copied it.
|
|
96
|
+
|
|
95
97
|
New to DSH? [Install and start](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/en/guides/installation.md) walks from an empty machine to your first memory, with a screenshot for every step. The short version, with [Node.js](https://nodejs.org/) 22.19 or later:
|
|
96
98
|
|
|
97
99
|
```sh
|
package/README.zh-CN.md
CHANGED
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
|
|
94
94
|
## 快速开始
|
|
95
95
|
|
|
96
|
+
DSH 会自动加载包内的 `cordis.patch.yml`。不要再把其中的 `insert` 块复制到 Profile:重复的 Mnemon 条目会导致设置无法保存。已经复制过时,请参照[手动安装后的恢复步骤](docs/zh-CN/guides/installation.md#手动安装后设置无法保存)。
|
|
97
|
+
|
|
96
98
|
第一次使用 DSH?[安装与启动](https://github.com/omdsh-dev/dsh-mnemon/blob/main/docs/zh-CN/guides/installation.md)从一台空白电脑一直带你到第一条记忆,每一步都有截图。简要步骤如下,需要 [Node.js](https://nodejs.org/) 22.19 或更高:
|
|
97
99
|
|
|
98
100
|
```sh
|
package/cordis.patch.yml
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bundle layer: DSH loads this file automatically when dsh-mnemon is enabled.
|
|
2
|
+
# Do NOT copy its insert block into the profile's cordis.patch.yml: doing so
|
|
3
|
+
# duplicates entry IDs and prevents Settings from saving (issue #470).
|
|
4
|
+
# Keep profile overrides as top-level - id: mnemon rows. See the installation
|
|
5
|
+
# guide's "Settings cannot save after manual installation" recovery steps.
|
|
4
6
|
- insert:
|
|
5
7
|
# Keep the v0.4 `mnemon` Entry as the public configuration target while
|
|
6
8
|
# making every v0.5 component inherit its enabled state. The expression
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
highScoreThreshold: 0.6
|
|
41
43
|
candidateMultiplier: 3
|
|
42
44
|
maxMediumResults: 4
|
|
45
|
+
maxRankedResults: 4
|
|
43
46
|
maxUnknownResults: 2
|
|
44
47
|
- id: mnemon-source-runtime
|
|
45
48
|
name: dsh-mnemon-source-runtime
|
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-BAHgCK5h.js";
|
|
2
2
|
//#region src/bundle.ts
|
|
3
3
|
const groupKey = Symbol.for("cordis.group");
|
|
4
4
|
const init = Symbol.for("cordis.init");
|