dsh-sidebar-fold 0.1.4 → 0.1.6
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 -4
- package/README.zh.md +2 -3
- package/dsh.plugin.json +2 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -89,11 +89,9 @@ npm run hosts:check # enumeration drift vs scripts/hosts.mjs (--write to repair
|
|
|
89
89
|
|
|
90
90
|
## Supported hosts
|
|
91
91
|
|
|
92
|
-
**DSH 0.2.1-rc.3
|
|
93
|
-
declarations — `engines.dsh`, `peerDependencies`, `dsh.plugin.json` — are generated
|
|
94
|
-
from it and must not be edited by hand).
|
|
92
|
+
**DSH hosts `>=0.2.1-rc.3 <0.3.0`** (the "More" row first ships in 0.2.1-rc.3; newer 0.2.x rcs stay installable without a republish). Single source of truth: `scripts/hosts.mjs` — `engines.dsh` carries that bounded range, `peerDependencies` keep the per-rc enumeration (npm resolution never assumes `includePrerelease`), and `dsh.plugin.json` mirrors the range; all generated, never hand-edited.
|
|
95
93
|
|
|
96
|
-
Why
|
|
94
|
+
Why the floor is 0.2.1-rc.3: mounting needs the sidebar's panel list **and** the shipped "More"
|
|
97
95
|
row. Measured on every published `dsh-client-ui-sidebar` rc:
|
|
98
96
|
|
|
99
97
|
| host line | panel list | "More" row |
|
package/README.zh.md
CHANGED
|
@@ -77,10 +77,9 @@ npm run hosts:check # 与 scripts/hosts.mjs 的枚举漂移检查(--write 修
|
|
|
77
77
|
|
|
78
78
|
## 支持宿主
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
`peerDependencies`、`dsh.plugin.json` —— 都由它生成,禁止手改)。
|
|
80
|
+
**支持 DSH 宿主 `>=0.2.1-rc.3 <0.3.0`**(「更多」行自 0.2.1-rc.3 才出现;0.2.x 线上后续 rc 无需重发版即可安装)。唯一事实源 `scripts/hosts.mjs`:`engines.dsh` 发该有界区间,`peerDependencies` 保持逐 rc 枚举(npm 解析不默认带 `includePrerelease`),`dsh.plugin.json` 镜像区间——全部由它生成,禁止手改。
|
|
82
81
|
|
|
83
|
-
|
|
82
|
+
为什么下限是 0.2.1-rc.3:挂载同时需要侧边栏的**面板列表**与宿主**「更多」行**。逐版本实测
|
|
84
83
|
所有已发布的 `dsh-client-ui-sidebar` rc:
|
|
85
84
|
|
|
86
85
|
| 宿主线 | 面板列表 | 「更多」行 |
|
package/dsh.plugin.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-sidebar-fold",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "折叠左侧栏加项入口:在宿主「更多」行挂一个 28×28 方形箭头按钮,把自动化任务、agent 团队、插件市场、上下文页等加项面板行收纳成一行,再点展开;折叠状态按窗口持久化。插件设置页可调默认态、保持可见的入口行(按当前侧边栏实时枚举),以及被管理行的文字与图标对齐(左/居中/右)。",
|
|
6
6
|
"engines": {
|
|
7
|
-
"dsh": "0.2.1-rc.3
|
|
7
|
+
"dsh": ">=0.2.1-rc.3 <0.3.0"
|
|
8
8
|
},
|
|
9
9
|
"contributes": {
|
|
10
10
|
"tools": [],
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidebar-fold",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Folds the sidebar's add-on panel rows (schedules, agent teams, plugin market, context pages, …) under the shipped \"More\" row: a 28×28 square toggle collapses them to that single header line and expands them back. The fold state persists per window, kept-visible rows are picked from the live sidebar, and the managed rows' icon + label can be aligned left, centre or right.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.js",
|
|
9
9
|
"./client": "./lib/client.js",
|
|
10
|
+
"./locale/*.json": "./locale/*.json",
|
|
10
11
|
"./package.json": "./package.json"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
],
|
|
57
58
|
"engines": {
|
|
58
59
|
"node": ">=22.6.0",
|
|
59
|
-
"dsh": "0.2.1-rc.3
|
|
60
|
+
"dsh": ">=0.2.1-rc.3 <0.3.0"
|
|
60
61
|
},
|
|
61
62
|
"license": "MIT",
|
|
62
63
|
"repository": {
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
"@deepseek-ai/schemastery": "^3.18.4"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5"
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1"
|
|
76
77
|
},
|
|
77
78
|
"devDependencies": {
|
|
78
79
|
"@types/node": "^22.20.5",
|