dsh-skill-hub 0.2.2 → 0.2.4
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 +10 -14
- package/README.zh.md +9 -12
- package/lib/client.js +367 -173
- package/lib/client.js.map +1 -1
- package/lib/types/client/SkillHubSettingsCard.d.ts +2 -6
- package/lib/types/client/icons.d.ts +25 -0
- package/lib/types/client/locales.d.ts +3 -3
- package/lib/types/client/panel/format.d.ts +10 -0
- package/lib/types/client/slash-dots.d.ts +57 -0
- package/package.json +68 -26
- package/src/client/SkillHubSettingsCard.tsx +4 -7
- package/src/client/icons.tsx +61 -0
- package/src/client/index.tsx +13 -1
- package/src/client/locales.ts +6 -6
- package/src/client/panel/SkillDetailView.tsx +6 -2
- package/src/client/panel/SkillHubPanel.tsx +1 -1
- package/src/client/panel/SkillRow.tsx +8 -3
- package/src/client/panel/format.ts +11 -0
- package/src/client/settings-card.tsx +1 -1
- package/src/client/slash-dots.test.ts +145 -0
- package/src/client/slash-dots.tsx +190 -0
package/README.md
CHANGED
|
@@ -35,7 +35,6 @@ ones — all from the dsh web GUI.
|
|
|
35
35
|
- [Troubleshooting](#troubleshooting)
|
|
36
36
|
- [HTTP API](#http-api)
|
|
37
37
|
- [Development](#development)
|
|
38
|
-
- [Roadmap](#roadmap)
|
|
39
38
|
- [Community](#community)
|
|
40
39
|
- [License](#license)
|
|
41
40
|
|
|
@@ -141,7 +140,7 @@ description: One line describing when the agent should use this skill.
|
|
|
141
140
|
What the skill does, when to use it, and what output is expected.
|
|
142
141
|
```
|
|
143
142
|
|
|
144
|
-
Requires Node `^22.19.0 || >=24.0.0` and a dsh web deployment (`0.1.0-rc.7` SDK
|
|
143
|
+
Requires Node `^22.19.0 || >=24.0.0` and a dsh web deployment (compatible with the `0.1.0-rc.7` and `0.1.1-rc.2` SDK families; peer ranges cover both and forward `0.1.x` lines).
|
|
145
144
|
|
|
146
145
|
## How it works
|
|
147
146
|
|
|
@@ -208,7 +207,7 @@ The plugin’s own switches live on the **Settings → 插件 → Skill Hub** ca
|
|
|
208
207
|
| --- | --- |
|
|
209
208
|
| Enable plugin | Master switch: routes, provider, and announcement all go live with this. |
|
|
210
209
|
| Announce to agent | Adds a system-prompt section so agents know how to collaborate when users mention skill management. |
|
|
211
|
-
| Model / user dot colors | Override the
|
|
210
|
+
| Model / user dot colors | Override the single status-dot colors shown in the skill panel and the chat `/` menu (blue = model-callable, green = user-only). |
|
|
212
211
|
| Show invocation count | Show per-skill call-count chips when session stats are available. |
|
|
213
212
|
| Show last-used time | Show relative last-used time on each skill row. |
|
|
214
213
|
| Show group summaries | Show count/last-used summaries after group titles. |
|
|
@@ -225,6 +224,10 @@ The plugin’s own switches live on the **Settings → 插件 → Skill Hub** ca
|
|
|
225
224
|
auto-checks once per day; manual buttons are never throttled.
|
|
226
225
|
- **Read-only boundary** — only user-level skills (`~/.dsh/skills`, `~/.agents/skills`) are writable;
|
|
227
226
|
project, bundled, and runtime skills are displayed read-only.
|
|
227
|
+
- **Chat `/` menu status dots depend on a dsh-internal registry** — the dots render by wrapping the
|
|
228
|
+
core `/skill` trigger source's candidates. If a dsh upgrade reshapes that internals, the dots
|
|
229
|
+
silently disappear but the skill list and `/` menu keep working. A known, deliberate trade-off for
|
|
230
|
+
portability — it never affects skill management itself.
|
|
228
231
|
|
|
229
232
|
## HTTP API
|
|
230
233
|
|
|
@@ -280,20 +283,13 @@ npm pack # build the installable tarball (dsh-skill-hub-<version>.tgz
|
|
|
280
283
|
The test suites cover the route family (including the config route and the disabled gate), the sidecar
|
|
281
284
|
store, skill filesystem operations, the registry provider, and invocation statistics.
|
|
282
285
|
|
|
283
|
-
## Roadmap
|
|
284
|
-
|
|
285
|
-
- **v0.1.0** *(released)* — full catalog, enable/disable, diagnostics, new-skill wizard, settings card.
|
|
286
|
-
- **v0.2.0** *(released)* — invocation statistics · tags/scenes + source-collection grouping with
|
|
287
|
-
tri-state switches · upstream source tracking (check / sync / follow-delete into a restorable
|
|
288
|
-
trash) · unified market with built-in catalog, per-source state badges, and one-click
|
|
289
|
-
update-all · delete/restore keeps source + scene membership.
|
|
290
|
-
- **Built, pending release** — workspace discovery (project-path field → read-only project skills).
|
|
291
|
-
- **Planned** — SSE realtime push to replace polling · market catalog expansion · optional
|
|
292
|
-
auto-update.
|
|
293
|
-
|
|
294
286
|
## Community
|
|
295
287
|
|
|
296
288
|
- [Issues](https://github.com/cheshireez/dsh-skill-hub/issues) — bug reports and feature requests.
|
|
289
|
+
- [Discussions](https://github.com/cheshireez/dsh-skill-hub/discussions) — Q&A, feedback, and ideas.
|
|
290
|
+
- [Showcase @ deepseek-harness](https://github.com/deepseek-ai/deepseek-harness/discussions/3161) — announcement posted in the official repository.
|
|
291
|
+
- [Plugin market listing](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/1746) — PR to the community market; once merged, install from **Settings → Plugin Market**.
|
|
292
|
+
- [DeepSeek Harness Discord](https://discord.gg/Ycq5dCaS4) — official community (primarily Chinese).
|
|
297
293
|
- [Contributing](CONTRIBUTING.md) — development setup and contribution guidelines.
|
|
298
294
|
|
|
299
295
|
## License
|
package/README.zh.md
CHANGED
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
- [故障排查](#故障排查)
|
|
35
35
|
- [HTTP API](#http-api)
|
|
36
36
|
- [开发](#开发)
|
|
37
|
-
- [路线图](#路线图)
|
|
38
37
|
- [社区](#社区)
|
|
39
38
|
- [License](#license)
|
|
40
39
|
|
|
@@ -126,7 +125,7 @@ description: 一句话说明什么时候该用这个技能。
|
|
|
126
125
|
技能做什么、什么时候用、期望输出什么。
|
|
127
126
|
```
|
|
128
127
|
|
|
129
|
-
要求 Node `^22.19.0 || >=24.0.0` 与 dsh web
|
|
128
|
+
要求 Node `^22.19.0 || >=24.0.0` 与 dsh web 部署(兼容 `0.1.0-rc.7` / `0.1.1-rc.2` SDK 家族,peer 范围同时覆盖两者及后续 `0.1.x` 线路)。
|
|
130
129
|
|
|
131
130
|
## 工作原理
|
|
132
131
|
|
|
@@ -189,7 +188,7 @@ description: 一句话说明什么时候该用这个技能。
|
|
|
189
188
|
| --- | --- |
|
|
190
189
|
| Enable plugin | 总开关:路由、provider 与公告随之启用。 |
|
|
191
190
|
| Announce to agent | 在系统提示中加入本插件说明,用户提到技能管理时 Agent 知道如何协作。 |
|
|
192
|
-
| 模型/用户圆点颜色 |
|
|
191
|
+
| 模型/用户圆点颜色 | 覆盖技能面板与聊天 `/` 菜单中单个状态圆点的颜色(蓝 = 模型可调,绿 = 仅用户可调)。 |
|
|
193
192
|
| 显示调用次数 | 有会话统计时显示每个技能的调用次数角标。 |
|
|
194
193
|
| 显示最近调用时间 | 在技能行显示相对最近调用时间。 |
|
|
195
194
|
| 显示分组汇总 | 在分组标题后汇总调用次数与最近调用时间。 |
|
|
@@ -203,6 +202,9 @@ description: 一句话说明什么时候该用这个技能。
|
|
|
203
202
|
- **更新检查没有结果** —— 服务端每来源 5 分钟节流,面板每天自动检查一次;手动按钮永不受限。
|
|
204
203
|
- **只读边界** —— 仅用户级技能(`~/.dsh/skills`、`~/.agents/skills`)可写;项目、内置、运行时
|
|
205
204
|
技能只读展示。
|
|
205
|
+
- **聊天 `/` 菜单的状态圆点依赖 dsh 内部注册表** —— 圆点通过包装核心 `/skill` 触发源的
|
|
206
|
+
候选渲染;若 dsh 升级改变了这部分内部形状,圆点会静默消失,但技能列表与 `/` 菜单功能不受影响。
|
|
207
|
+
已知限制,非缺陷:为可移植性而有意为之,不影响技能管理本身。
|
|
206
208
|
|
|
207
209
|
## HTTP API
|
|
208
210
|
|
|
@@ -256,18 +258,13 @@ npm pack # 生成可安装的 tgz(dsh-skill-hub-<version>.tgz)
|
|
|
256
258
|
测试套件覆盖路由家族(含 config 路由与禁用闸门)、sidecar 存储、技能文件系统操作、注册表
|
|
257
259
|
provider 与触发统计。
|
|
258
260
|
|
|
259
|
-
## 路线图
|
|
260
|
-
|
|
261
|
-
- **v0.1.0**(已发布)—— 完整目录、启用/禁用、诊断、新建向导、设置卡片。
|
|
262
|
-
- **v0.2.0**(已发布)—— 触发统计 · tag/场景与来源集合分组(三态开关)· 上游来源跟踪(检查 /
|
|
263
|
-
同步 / 跟进删除进回收站)· 统一市场(内置目录、每源状态徽章、一键全部更新)· 删除→恢复
|
|
264
|
-
保留来源与场景归属。
|
|
265
|
-
- **已实现待发布** —— 工作区发现(项目路径输入框 → 项目级技能只读可见)。
|
|
266
|
-
- **计划中** —— SSE 实时推送替代轮询 · 内置市场扩充 · 自动更新选项。
|
|
267
|
-
|
|
268
261
|
## 社区
|
|
269
262
|
|
|
270
263
|
- [Issues](https://github.com/cheshireez/dsh-skill-hub/issues) —— 提交 bug 与功能建议。
|
|
264
|
+
- [讨论区](https://github.com/cheshireez/dsh-skill-hub/discussions) —— 提问、反馈与想法。
|
|
265
|
+
- [官方仓库展示帖](https://github.com/deepseek-ai/deepseek-harness/discussions/3161) —— 已发布在 deepseek-harness 官方 Discussion。
|
|
266
|
+
- [社区插件市场收录](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/1746) —— 已提交待合并;合并后可在「设置 → Plugin Market」一键安装。
|
|
267
|
+
- [DeepSeek Harness 官方 Discord](https://discord.gg/Ycq5dCaS4) —— 官方社区(以中文为主)。
|
|
271
268
|
- [贡献指南](CONTRIBUTING.md) —— 开发环境与贡献规范。
|
|
272
269
|
|
|
273
270
|
## License
|