dsh-plugin 1.0.0 → 1.1.1

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.
Files changed (39) hide show
  1. package/README.en.md +12 -7
  2. package/README.md +12 -7
  3. package/client/client.js +725 -223
  4. package/client/client.js.map +1 -1
  5. package/lib/http/routes.js +43 -7
  6. package/lib/services/installed-versions.js +16 -1
  7. package/lib/services/loader.js +12 -5
  8. package/lib/services/npm-resolve.js +67 -0
  9. package/lib/services/task-queue.js +55 -10
  10. package/lib/types/services/install-types.d.ts +8 -0
  11. package/lib/types/services/installed-versions.d.ts +10 -0
  12. package/lib/types/services/loader.d.ts +6 -4
  13. package/lib/types/services/npm-resolve.d.ts +6 -0
  14. package/lib/types/services/task-queue.d.ts +11 -5
  15. package/package.json +1 -1
  16. package/src/client/components/AboutModal.tsx +72 -0
  17. package/src/client/components/CatalogHeader.tsx +30 -5
  18. package/src/client/components/HubUpdateModal.tsx +84 -0
  19. package/src/client/components/NotificationsModal.tsx +84 -58
  20. package/src/client/components/PluginCard.tsx +3 -0
  21. package/src/client/components/PluginHubSection.tsx +73 -14
  22. package/src/client/components/modals.tsx +42 -18
  23. package/src/client/hooks/useCatalog.ts +96 -18
  24. package/src/client/hooks/useTaskQueue.ts +164 -54
  25. package/src/client/lib/catalog.ts +81 -13
  26. package/src/client/lib/failures.ts +14 -2
  27. package/src/client/lib/renderMarkdown.ts +116 -0
  28. package/src/client/locales.ts +47 -4
  29. package/src/client/styles/Header.module.css +83 -3
  30. package/src/client/styles/List.module.css +4 -4
  31. package/src/client/styles/Modal.module.css +320 -5
  32. package/src/client/styles/tokens.module.css +8 -3
  33. package/src/client/types.ts +3 -1
  34. package/src/server/http/routes.ts +42 -7
  35. package/src/server/services/install-types.ts +8 -0
  36. package/src/server/services/installed-versions.ts +20 -1
  37. package/src/server/services/loader.ts +12 -5
  38. package/src/server/services/npm-resolve.ts +67 -0
  39. package/src/server/services/task-queue.ts +57 -10
package/README.en.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  # DSH-Plugin Hub for DeepSeek Harness
8
8
 
9
- **A community plugin marketplace for DeepSeek Harness · 4,261 DSH plugins indexed · 2,487 human-verified**
9
+ **A community plugin marketplace for DeepSeek Harness · 4,310 DSH plugins indexed · 3,112 human-verified**
10
10
 
11
11
  [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
12
12
  [![npm](https://img.shields.io/npm/v/dsh-plugin.svg?style=flat-square)](https://www.npmjs.com/package/dsh-plugin)
@@ -29,7 +29,7 @@
29
29
  DSH-Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an open-source plugin built to the official plugin development spec. Installed under **Settings → Plugin Hub**, it lets you browse, search and install community plugins without leaving the app. This is an independent community project, not affiliated with DeepSeek Harness.
30
30
 
31
31
  <p align="center">
32
- <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-dark-en.png" alt="DSH-Plugin Hub inside DeepSeek Harness" width="840">
32
+ <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-home-en.png" alt="DSH-Plugin Hub inside DeepSeek Harness" width="840">
33
33
  </p>
34
34
 
35
35
  ## Plugin Hub Features
@@ -48,7 +48,7 @@ DSH-Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
48
48
 
49
49
  **Rich catalog · human-curated**
50
50
 
51
- - Indexes **4,261** community plugins, **2,487** of which are hand-verified, curated and released every day by [dsh-plugin.org](https://dsh-plugin.org)
51
+ - Indexes **4,310** community plugins, **3,112** of which are hand-verified, curated and released every day by [dsh-plugin.org](https://dsh-plugin.org)
52
52
  - Covers UI & experience, sessions & messages, memory & context, tooling and more — browse by category or search straight to it
53
53
  - Every plugin shows its verification status (verified), star / fork ratings, version and last-update time — fully sourced
54
54
 
@@ -65,10 +65,15 @@ DSH-Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
65
65
 
66
66
  ## Feature Highlights
67
67
 
68
- | Visual install & uninstall | Visual notifications |
68
+ | One-click install | One-click uninstall |
69
69
  | :---: | :---: |
70
- | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-install-uninstall.png" alt="Visual install and uninstall" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-notifications.png" alt="Visual notifications" width="400"> |
71
- | Install, update and remove are fully visualized: live progress at a glance, cancellable anytime | Running tasks, pending restarts and full success/failure history in one place; failed installs can be filed as a GitHub Issue in one click |
70
+ | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-install-en.png" alt="One-click install with live progress" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-uninstall-en.png" alt="One-click uninstall with live progress" width="400"> |
71
+ | A serial background queue with live progress in the dialog, cancellable anytime | Fully visualized with live progress; changes take effect immediately |
72
+
73
+ | One-click update | Notification center |
74
+ | :---: | :---: |
75
+ | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-update-en.png" alt="One-click update with overwrite install" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-notifications-en.png" alt="Visual notifications" width="400"> |
76
+ | New versions detected automatically; the card turns into "Update" and overwrite-installs in one click | Running tasks, pending restarts and full success / failure history in one place; failed installs can be filed as a GitHub Issue in one click |
72
77
 
73
78
  ## Website Overview
74
79
 
@@ -81,7 +86,7 @@ The hub's catalog is curated and published by [dsh-plugin.org](https://dsh-plugi
81
86
 
82
87
  ## Why DSH-Plugin Hub
83
88
 
84
- The DSH-Plugin Hub indexes **4,261** DeepSeek Harness plugins (DSH), **2,487** of which are hand-verified — updated daily, browse, search, download and install for free by category, fully sourced.
89
+ The DSH-Plugin Hub indexes **4,310** DeepSeek Harness plugins (DSH), **3,112** of which are hand-verified — updated daily, browse, search, download and install for free by category, fully sourced.
85
90
 
86
91
  ### Always Fresh
87
92
 
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  # DSH-Plugin Hub for DeepSeek Harness
8
8
 
9
- **DeepSeek Harness 社区插件市场:收录 4,261 个 DSH plugin,人工精选验证 2,487**
9
+ **DeepSeek Harness 社区插件市场:收录 4,603 个 DSH plugin,人工精选验证 4,300**
10
10
 
11
11
  [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
12
12
  [![npm](https://img.shields.io/npm/v/dsh-plugin.svg?style=flat-square)](https://www.npmjs.com/package/dsh-plugin)
@@ -29,7 +29,7 @@
29
29
  DSH-Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方插件开发规范构建的开源插件,安装进「设置 → 插件中心」后,无需离开应用即可浏览、搜索并一键安装社区插件。本项目为独立社区项目,与 DeepSeek Harness 官方无隶属关系。
30
30
 
31
31
  <p align="center">
32
- <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-dark-zh.png" alt="DSH-Plugin Hub in DeepSeek Harness" width="840">
32
+ <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-home-zh.png" alt="DSH-Plugin Hub in DeepSeek Harness" width="840">
33
33
  </p>
34
34
 
35
35
  ## 插件中心特性
@@ -48,7 +48,7 @@ DSH-Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
48
48
 
49
49
  **资源丰富 · 人工精选**
50
50
 
51
- - 收录 **4,261** 个社区插件,其中 **2,487** 已人工精选验证,由 [dsh-plugin.org](https://dsh-plugin.org) 每日收录、人工审核并发布
51
+ - 收录 **4,603** 个社区插件,其中 **4,300** 已人工精选验证,由 [dsh-plugin.org](https://dsh-plugin.org) 每日收录、人工审核并发布
52
52
  - 涵盖界面与体验、会话与消息、记忆与上下文、工具能力等分类,按分类浏览、搜索直达
53
53
  - 每个插件标注人工验证状态(verified)、Star / Fork 评分、版本号与最近更新时间,来源可溯
54
54
 
@@ -65,10 +65,15 @@ DSH-Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
65
65
 
66
66
  ## 功能一览
67
67
 
68
- | 可视化安装 · 卸载 | 可视化消息通知 |
68
+ | 一键安装 | 一键卸载 |
69
69
  | :---: | :---: |
70
- | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-install-uninstall.png" alt="可视化安装与卸载" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-notifications.png" alt="可视化消息通知" width="400"> |
71
- | 安装、更新、卸载全程可视化:实时进度一目了然,可随时取消 | 进行中任务、待重启项与成功/失败历史集中管理,失败可一键提交 Issue |
70
+ | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-install-zh.png" alt="一键安装" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-uninstall-zh.png" alt="一键卸载" width="400"> |
71
+ | 后台队列串行执行,弹窗实时显示安装进度,可随时取消 | 卸载全程可视化,实时进度一目了然,成功即生效 |
72
+
73
+ | 一键更新 | 通知中心 |
74
+ | :---: | :---: |
75
+ | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-update-zh.png" alt="一键更新" width="400"> | <img src="https://dsh-plugin.org/screenshots/dsh-plugin-hub-notifications-zh.png" alt="可视化消息通知" width="400"> |
76
+ | 检测到新版本自动提示「更新」,一键覆盖安装完成升级 | 进行中任务、待重启项与成功/失败历史集中管理,失败可一键提交 Issue |
72
77
 
73
78
  ## 官网一览
74
79
 
@@ -81,7 +86,7 @@ DSH-Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
81
86
 
82
87
  ## 为什么选择 DSH-Plugin Hub
83
88
 
84
- DSH-Plugin 插件中心收录 **4,261** 个 DeepSeek Harness Plugin(DSH)插件,其中 **2,487** 已人工精选验证,每日更新,免费按分类浏览、搜索、下载与安装,来源可溯。
89
+ DSH-Plugin 插件中心收录 **4,603** 个 DeepSeek Harness Plugin(DSH)插件,其中 **4,300** 已人工精选验证,每日更新,免费按分类浏览、搜索、下载与安装,来源可溯。
85
90
 
86
91
  ### 及时更新
87
92