dsh-version-manager 0.1.9 → 0.1.10
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/CHANGELOG.md +4 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/docs/release-notes-0.1.10.md +9 -0
- package/lib/client.js +6 -2
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
Desktop: enter `dsh-version-manager` in Extensions → Plugin Management → Add Plugin. Prefer the npm source to enable future online updates. Release `.tgz` files are for offline installation; the host cannot update local archives online. For a Web profile you explicitly control:
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
dsh plugin --profile web add dsh-version-manager@0.1.
|
|
24
|
+
dsh plugin --profile web add dsh-version-manager@0.1.10
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Install into an existing Desktop/Web profile and open Version manager. Review inventory and the exact from → to update first; a new empty profile also needs the Web app bundle.
|
|
@@ -32,7 +32,7 @@ The panel scrolls vertically and supports horizontal scrolling on narrow screens
|
|
|
32
32
|
|
|
33
33
|
| Item | Current source of truth |
|
|
34
34
|
| --- | --- |
|
|
35
|
-
| Source version | `0.1.
|
|
35
|
+
| Source version | `0.1.10` · see [package.json](package.json) |
|
|
36
36
|
| Distribution | `npm` · [Releases](https://github.com/tangyixiao/dsh-version-manager/releases) |
|
|
37
37
|
| DSH | `>=0.2.2-rc.1` |
|
|
38
38
|
| Node.js | `>=22` |
|
package/README.zh-CN.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
Desktop:在“扩展 → 插件管理 → 添加插件”中输入 `dsh-version-manager`,优先使用 npm 来源,以便后续在线更新。发行页 `.tgz` 用于离线安装;宿主把本地安装包视为不可在线更新来源。命令行示例用于你明确控制的 Web profile:
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
dsh plugin --profile web add dsh-version-manager@0.1.
|
|
24
|
+
dsh plugin --profile web add dsh-version-manager@0.1.10
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
在原有 Desktop/Web profile 中安装并打开“版本管理”。先查看清单与更新预览,再确认具体 from → to;新建空 profile 还需要 Web 应用 bundle。
|
|
@@ -32,7 +32,7 @@ dsh plugin --profile web add dsh-version-manager@0.1.9
|
|
|
32
32
|
|
|
33
33
|
| 项目 | 当前依据 |
|
|
34
34
|
| --- | --- |
|
|
35
|
-
| 源码版本 | `0.1.
|
|
35
|
+
| 源码版本 | `0.1.10` · 以 [package.json](package.json) 为准 |
|
|
36
36
|
| 分发方式 | `npm` · [Releases](https://github.com/tangyixiao/dsh-version-manager/releases) |
|
|
37
37
|
| DSH | `>=0.2.2-rc.1` |
|
|
38
38
|
| Node.js | `>=22` |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# DSH Version Manager 0.1.10
|
|
2
|
+
|
|
3
|
+
切到 Skill 标签后,插件的批量更新检查会继续。切回「插件」时,可以接着看原来的进度或已完成的结果。
|
|
4
|
+
|
|
5
|
+
- 同一轮批量检查中的每个插件只查询一次,切换标签会保留检查结果。
|
|
6
|
+
- 版本管理面板打开期间保留这份状态。关闭面板后再次打开可以发起新的检查。
|
|
7
|
+
- 运行要求为 DSH `>=0.2.2-rc.1`、Node.js `>=22`,宿主自身的运行要求另行适用。
|
|
8
|
+
|
|
9
|
+
[发行版本与安装方式](https://github.com/tangyixiao/dsh-version-manager/releases/tag/v0.1.10)
|
package/lib/client.js
CHANGED
|
@@ -856,11 +856,13 @@ window.__ModuleLoader__.load({
|
|
|
856
856
|
(item.compatibility == null || !item.compatibility.requirements || item.compatibility.exempted === true)
|
|
857
857
|
}
|
|
858
858
|
|
|
859
|
-
function BatchUpdates({ rows, t, onRefresh }) {
|
|
859
|
+
function BatchUpdates({ rows, t, onRefresh, visible }) {
|
|
860
860
|
const [state, setState] = useState({ phase: 'idle', items: [], messages: [], done: 0, total: 0 })
|
|
861
861
|
const busy = state.phase === 'checking' || state.phase === 'updating'
|
|
862
862
|
const active = useRef(false)
|
|
863
863
|
const [includeLocal, setIncludeLocal] = useState(false)
|
|
864
|
+
if (!visible) return null
|
|
865
|
+
|
|
864
866
|
const check = async () => {
|
|
865
867
|
if (active.current) return
|
|
866
868
|
active.current = true
|
|
@@ -2628,6 +2630,8 @@ window.__ModuleLoader__.load({
|
|
|
2628
2630
|
'aria-labelledby': `vm-tab-${tab}`,
|
|
2629
2631
|
style: { marginTop: 2 },
|
|
2630
2632
|
},
|
|
2633
|
+
// Keep the batch operation mounted while the Skills tab is open.
|
|
2634
|
+
h(BatchUpdates, { rows, t, onRefresh: refresh, visible: tab === 'plugins' }),
|
|
2631
2635
|
tab === 'skills'
|
|
2632
2636
|
? h(SkillsView, {
|
|
2633
2637
|
t,
|
|
@@ -2636,7 +2640,7 @@ window.__ModuleLoader__.load({
|
|
|
2636
2640
|
loading: skills.status === 'loading',
|
|
2637
2641
|
onReload: loadSkills,
|
|
2638
2642
|
})
|
|
2639
|
-
:
|
|
2643
|
+
: toolbar,
|
|
2640
2644
|
tab !== 'plugins'
|
|
2641
2645
|
? skills.error === null
|
|
2642
2646
|
? null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-version-manager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Version management for DSH plugins and skills: an honest inventory of what is installed, a preview of what an update would change, a verifiable snapshot taken before the change, and a recovery path that is only offered when it can actually work.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"docs/release-notes-0.1.7.md",
|
|
29
29
|
"CHANGELOG.md",
|
|
30
30
|
"docs/release-notes-0.1.8.md",
|
|
31
|
-
"docs/release-notes-0.1.9.md"
|
|
31
|
+
"docs/release-notes-0.1.9.md",
|
|
32
|
+
"docs/release-notes-0.1.10.md"
|
|
32
33
|
],
|
|
33
34
|
"keywords": [
|
|
34
35
|
"deepseek",
|