@dingpenghui/dsh-obsidian-sync 3.4.6 → 3.4.7
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/RELEASE_NOTES_v3.4.7.md +20 -0
- package/lib/client.js +4 -4
- package/package.json +21 -7
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 发布说明 v3.4.7
|
|
2
|
+
|
|
3
|
+
**日期:** 2026-10-03
|
|
4
|
+
|
|
5
|
+
## 修复 / Fixes
|
|
6
|
+
|
|
7
|
+
- **依赖模型重构**:`@deepseek-ai/schemastery` 和 `react` 从运行时 `dependencies` 移到 `peerDependencies`(标 `optional: true`),仅保留已有宿主模块 peer 不变。
|
|
8
|
+
- 根因:本插件是 DSH 宿主扩展,运行时在宿主进程内执行。宿主已经把 `schemastery` 加载进同一进程作为宿主模块。本插件若再以 `dependencies` 携带同版本包,pnpm 会在插件树里**再实例化一份**,与宿主单实例不一致。
|
|
9
|
+
- 影响:插件自身代码行为不变,只改变了"谁提供这些包"——现在统一由 DSH 宿主提供,单实例。
|
|
10
|
+
|
|
11
|
+
## 不变 / Unchanged
|
|
12
|
+
|
|
13
|
+
- `dsh-tools` / `dsh-fs` / `dsh-sandbox` / `dsh-util-values` 等宿主模块 peer 全部保持不变(`>=0.2.0-rc.1`,`optional`)。
|
|
14
|
+
- Obsidian 知识库搜索、会话归档、PARA 规则匹配等核心功能全部不变。
|
|
15
|
+
- `smoke-test` 不变。
|
|
16
|
+
|
|
17
|
+
## 升级指引 / Upgrade
|
|
18
|
+
|
|
19
|
+
- 从 3.4.6 升到 3.4.7 无 breaking change,直接 `pnpm update @dingpenghui/dsh-obsidian-sync` 即可。
|
|
20
|
+
- 插件安装后宿主行为不变,但不再在插件树里携带 `schemastery` 副本。
|
package/lib/client.js
CHANGED
|
@@ -129,13 +129,13 @@ window.__ModuleLoader__.load({
|
|
|
129
129
|
}
|
|
130
130
|
var PluginDetailPage_module_css_default = {
|
|
131
131
|
"subHint": "jWPSbW_subHint",
|
|
132
|
-
"title": "jWPSbW_title",
|
|
133
|
-
"fieldText": "jWPSbW_fieldText",
|
|
134
132
|
"page": "jWPSbW_page",
|
|
135
|
-
"
|
|
136
|
-
"gitHint": "jWPSbW_gitHint",
|
|
133
|
+
"fieldText": "jWPSbW_fieldText",
|
|
137
134
|
"inputSmall": "jWPSbW_inputSmall",
|
|
138
135
|
"field": "jWPSbW_field",
|
|
136
|
+
"gitHint": "jWPSbW_gitHint",
|
|
137
|
+
"title": "jWPSbW_title",
|
|
138
|
+
"hint": "jWPSbW_hint",
|
|
139
139
|
"input": "jWPSbW_input"
|
|
140
140
|
};
|
|
141
141
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dingpenghui/dsh-obsidian-sync",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
4
4
|
"description": "DSH Obsidian Sync - DSH Cordis plugin: on-demand Obsidian knowledge-base search + DSH session archiving following your vault's existing PARA rules (zero token injection, in-process fs, inverted index, idempotent upsert)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"lib",
|
|
21
21
|
"src",
|
|
22
22
|
"cordis.patch.yml",
|
|
23
|
-
"README.md"
|
|
23
|
+
"README.md",
|
|
24
|
+
"RELEASE_NOTES_v3.4.7.md"
|
|
24
25
|
],
|
|
25
26
|
"dsh": {
|
|
26
27
|
"bundle": {
|
|
@@ -45,10 +46,7 @@
|
|
|
45
46
|
"typecheck": "tsc -p tsconfig.json",
|
|
46
47
|
"test": "node smoke-test.mjs"
|
|
47
48
|
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@deepseek-ai/schemastery": "^3.18.4",
|
|
50
|
-
"react": "^18.2.0"
|
|
51
|
-
},
|
|
49
|
+
"dependencies": {},
|
|
52
50
|
"peerDependencies": {
|
|
53
51
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
54
52
|
"@deepseek-ai/dsh-client-store": ">=0.2.0-rc.1",
|
|
@@ -59,7 +57,23 @@
|
|
|
59
57
|
"@deepseek-ai/dsh-fs": ">=0.2.0-rc.1",
|
|
60
58
|
"@deepseek-ai/dsh-sandbox": ">=0.2.0-rc.1",
|
|
61
59
|
"@deepseek-ai/dsh-tools": ">=0.2.0-rc.1",
|
|
62
|
-
"@deepseek-ai/dsh-util-values": ">=0.2.0-rc.1"
|
|
60
|
+
"@deepseek-ai/dsh-util-values": ">=0.2.0-rc.1",
|
|
61
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
62
|
+
"react": "^18.2.0"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"@deepseek-ai/cordis": { "optional": true },
|
|
66
|
+
"@deepseek-ai/dsh-client-store": { "optional": true },
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": { "optional": true },
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-primitives": { "optional": true },
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-settings": { "optional": true },
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-slots": { "optional": true },
|
|
71
|
+
"@deepseek-ai/dsh-fs": { "optional": true },
|
|
72
|
+
"@deepseek-ai/dsh-sandbox": { "optional": true },
|
|
73
|
+
"@deepseek-ai/dsh-tools": { "optional": true },
|
|
74
|
+
"@deepseek-ai/dsh-util-values": { "optional": true },
|
|
75
|
+
"@deepseek-ai/schemastery": { "optional": true },
|
|
76
|
+
"react": { "optional": true }
|
|
63
77
|
},
|
|
64
78
|
"devDependencies": {
|
|
65
79
|
"@deepseek-ai/cordis": "^4.0.2",
|