@holo-max/dsh-market-index 0.0.0-stage → 1.0.0
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 +32 -2
- package/icons/server-deploy.svg +11 -0
- package/icons/sitmax.svg +7 -0
- package/index.json +207 -0
- package/package.json +19 -4
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-market-index
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DSH 插件市场索引(格式 1),列出两个自用组合包:
|
|
4
|
+
|
|
5
|
+
| 包 | 标题 | 说明 |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| `dsh-server-deploy` | 测试环境部署 | 单服务/微服务一键部署到测试环境 + 右侧栏状态面板 |
|
|
8
|
+
| `dsh-sitmax` | 久坐提醒 MAX | 跑道环形久坐提醒 HUD:已坐计时、站立提醒、空闲自动暂停 |
|
|
9
|
+
|
|
10
|
+
## 用法
|
|
11
|
+
|
|
12
|
+
在 DSH Web 的 **插件 → 发现 → 添加索引源** 里填入:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
https://cdn.jsdelivr.net/npm/@holo-max/dsh-market-index/index.json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 维护
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
node build-index.mjs # 从 npm registry 重新生成 index.json
|
|
22
|
+
npm publish --registry https://registry.npmjs.org/
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`build-index.mjs` 只会列出登记的版本;每个版本必须同时具备 `engines.dsh` 和 `dsh.bundle.patch`,
|
|
26
|
+
缺任何一个就直接报错(市场读取器会静默丢弃这类版本,所以这里改成硬失败)。
|
|
27
|
+
|
|
28
|
+
## 格式要点
|
|
29
|
+
|
|
30
|
+
- `format: 1`,`plugins[].versions[]` 里每个版本都要有 `source` 与 `engines.dsh`(原样复制 manifest 的范围)。
|
|
31
|
+
- `icon` 用相对路径,读取器按索引 URL 解析成绝对地址,所以图标与本文件同目录发布即可。
|
|
32
|
+
- `dist-tags.latest` 必须指向已列出的版本;读取器不会自动回退到预发布版本。
|
|
33
|
+
- 索引本身没有签名:标题、作者、标签都是索引的声明,装什么由实际发布的包决定。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Server deploy">
|
|
2
|
+
<rect x="2" y="2" width="60" height="60" rx="14" fill="#0f172a"/>
|
|
3
|
+
<rect x="14" y="13" width="36" height="11" rx="3" fill="#1e293b" stroke="#38bdf8" stroke-width="1.6"/>
|
|
4
|
+
<rect x="14" y="27" width="36" height="11" rx="3" fill="#1e293b" stroke="#38bdf8" stroke-width="1.6"/>
|
|
5
|
+
<circle cx="20" cy="18.5" r="2" fill="#38bdf8"/>
|
|
6
|
+
<circle cx="20" cy="32.5" r="2" fill="#38bdf8"/>
|
|
7
|
+
<rect x="25" y="17" width="19" height="3" rx="1.5" fill="#334155"/>
|
|
8
|
+
<rect x="25" y="31" width="19" height="3" rx="1.5" fill="#334155"/>
|
|
9
|
+
<path d="M32 41 V53" stroke="#22d3ee" stroke-width="3.2" stroke-linecap="round"/>
|
|
10
|
+
<path d="M26 47.5 L32 54 L38 47.5" fill="none" stroke="#22d3ee" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
</svg>
|
package/icons/sitmax.svg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Sitmax track">
|
|
2
|
+
<rect x="2" y="2" width="60" height="60" rx="14" fill="#0f172a"/>
|
|
3
|
+
<path d="M20 20 H44 A12 12 0 0 1 44 44 H20 A12 12 0 0 1 20 20 Z" fill="none" stroke="#334155" stroke-width="2.4"/>
|
|
4
|
+
<path d="M23 23.5 H41 A8.5 8.5 0 0 1 41 40.5 H23 A8.5 8.5 0 0 1 23 23.5 Z" fill="none" stroke="#475569" stroke-width="1.2" stroke-dasharray="2 3"/>
|
|
5
|
+
<circle cx="45.5" cy="32" r="3.6" fill="#f59e0b"/>
|
|
6
|
+
<circle cx="45.5" cy="32" r="6.6" fill="none" stroke="#f59e0b" stroke-opacity="0.35" stroke-width="1.6"/>
|
|
7
|
+
</svg>
|
package/index.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"title": {
|
|
4
|
+
"en": "KT DSH Bundles",
|
|
5
|
+
"zh": "课通 DSH 组合包"
|
|
6
|
+
},
|
|
7
|
+
"description": {
|
|
8
|
+
"en": "Personal DSH bundles: test-server deployment and an anti-sedentary HUD.",
|
|
9
|
+
"zh": "自用 DSH 组合包:测试环境一键部署与久坐提醒 HUD。"
|
|
10
|
+
},
|
|
11
|
+
"metadata": {
|
|
12
|
+
"categories": {
|
|
13
|
+
"devops": {
|
|
14
|
+
"title": {
|
|
15
|
+
"en": "DevOps",
|
|
16
|
+
"zh": "部署运维"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"wellness": {
|
|
20
|
+
"title": {
|
|
21
|
+
"en": "Wellness",
|
|
22
|
+
"zh": "健康提醒"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"labels": {
|
|
27
|
+
"personal": {
|
|
28
|
+
"title": {
|
|
29
|
+
"en": "Personal",
|
|
30
|
+
"zh": "自用"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"plugins": [
|
|
36
|
+
{
|
|
37
|
+
"name": "dsh-server-deploy",
|
|
38
|
+
"title": {
|
|
39
|
+
"en": "Server Deploy",
|
|
40
|
+
"zh": "测试环境部署"
|
|
41
|
+
},
|
|
42
|
+
"description": {
|
|
43
|
+
"en": "One-click test-server deploys for single-service and microservice projects, with a live deployment status panel.",
|
|
44
|
+
"zh": "单服务/微服务项目一键部署到测试环境,右侧栏实时查看部署状态。"
|
|
45
|
+
},
|
|
46
|
+
"icon": "icons/server-deploy.svg",
|
|
47
|
+
"author": "dushaobindoudou",
|
|
48
|
+
"metadata": {
|
|
49
|
+
"category": "devops",
|
|
50
|
+
"labels": [
|
|
51
|
+
"personal"
|
|
52
|
+
],
|
|
53
|
+
"keywords": [
|
|
54
|
+
"dsh",
|
|
55
|
+
"deepseek-harness",
|
|
56
|
+
"plugin",
|
|
57
|
+
"bundle",
|
|
58
|
+
"deploy",
|
|
59
|
+
"deployment",
|
|
60
|
+
"ssh",
|
|
61
|
+
"sftp",
|
|
62
|
+
"test-server",
|
|
63
|
+
"microservices"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"dist-tags": {
|
|
67
|
+
"latest": "1.0.9"
|
|
68
|
+
},
|
|
69
|
+
"versions": [
|
|
70
|
+
{
|
|
71
|
+
"version": "1.0.1",
|
|
72
|
+
"publishTimestamp": 1792654988,
|
|
73
|
+
"source": {
|
|
74
|
+
"type": "npm"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"version": "1.0.2",
|
|
82
|
+
"publishTimestamp": 1792674773,
|
|
83
|
+
"source": {
|
|
84
|
+
"type": "npm"
|
|
85
|
+
},
|
|
86
|
+
"engines": {
|
|
87
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"version": "1.0.3",
|
|
92
|
+
"publishTimestamp": 1792718393,
|
|
93
|
+
"source": {
|
|
94
|
+
"type": "npm"
|
|
95
|
+
},
|
|
96
|
+
"engines": {
|
|
97
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"version": "1.0.4",
|
|
102
|
+
"publishTimestamp": 1792822897,
|
|
103
|
+
"source": {
|
|
104
|
+
"type": "npm"
|
|
105
|
+
},
|
|
106
|
+
"engines": {
|
|
107
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"version": "1.0.5",
|
|
112
|
+
"publishTimestamp": 1793063372,
|
|
113
|
+
"source": {
|
|
114
|
+
"type": "npm"
|
|
115
|
+
},
|
|
116
|
+
"engines": {
|
|
117
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"version": "1.0.6",
|
|
122
|
+
"publishTimestamp": 1793165930,
|
|
123
|
+
"source": {
|
|
124
|
+
"type": "npm"
|
|
125
|
+
},
|
|
126
|
+
"engines": {
|
|
127
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"version": "1.0.7",
|
|
132
|
+
"publishTimestamp": 1793166071,
|
|
133
|
+
"source": {
|
|
134
|
+
"type": "npm"
|
|
135
|
+
},
|
|
136
|
+
"engines": {
|
|
137
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"version": "1.0.8",
|
|
142
|
+
"publishTimestamp": 1793166410,
|
|
143
|
+
"source": {
|
|
144
|
+
"type": "npm"
|
|
145
|
+
},
|
|
146
|
+
"engines": {
|
|
147
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"version": "1.0.9",
|
|
152
|
+
"publishTimestamp": 1793611929,
|
|
153
|
+
"source": {
|
|
154
|
+
"type": "npm"
|
|
155
|
+
},
|
|
156
|
+
"engines": {
|
|
157
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "dsh-sitmax",
|
|
164
|
+
"title": {
|
|
165
|
+
"en": "Sitmax",
|
|
166
|
+
"zh": "久坐提醒 MAX"
|
|
167
|
+
},
|
|
168
|
+
"description": {
|
|
169
|
+
"en": "Anti-sedentary track-ring HUD: sitting timer, stand-up reminders, idle auto-pause and a daily report.",
|
|
170
|
+
"zh": "跑道环形久坐提醒 HUD:已坐计时、站立提醒、空闲自动暂停与每日小结。"
|
|
171
|
+
},
|
|
172
|
+
"icon": "icons/sitmax.svg",
|
|
173
|
+
"author": "dushaobindoudou",
|
|
174
|
+
"metadata": {
|
|
175
|
+
"category": "wellness",
|
|
176
|
+
"labels": [
|
|
177
|
+
"personal"
|
|
178
|
+
],
|
|
179
|
+
"keywords": [
|
|
180
|
+
"dsh",
|
|
181
|
+
"deepseek-harness",
|
|
182
|
+
"plugin",
|
|
183
|
+
"bundle",
|
|
184
|
+
"hud",
|
|
185
|
+
"sedentary",
|
|
186
|
+
"reminder",
|
|
187
|
+
"wellness"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"dist-tags": {
|
|
191
|
+
"latest": "1.0.0"
|
|
192
|
+
},
|
|
193
|
+
"versions": [
|
|
194
|
+
{
|
|
195
|
+
"version": "1.0.0",
|
|
196
|
+
"publishTimestamp": 1793932656,
|
|
197
|
+
"source": {
|
|
198
|
+
"type": "npm"
|
|
199
|
+
},
|
|
200
|
+
"engines": {
|
|
201
|
+
"dsh": ">=0.1.2 <0.3.0"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-max/dsh-market-index",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "DSH plugin market index (format 1) for dsh-server-deploy and dsh-sitmax, served over jsDelivr.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "dushaobindoudou",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"dsh",
|
|
9
|
+
"deepseek-harness",
|
|
10
|
+
"plugin-market",
|
|
11
|
+
"index"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"index.json",
|
|
15
|
+
"icons/*.svg",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
}
|
|
21
|
+
}
|