dsh-plugin-discovery 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/LICENSE +21 -0
- package/README.md +70 -3
- package/client.js +1409 -0
- package/cordis.patch.yml +10 -0
- package/docs/articles/csdn.md +59 -0
- package/docs/articles/juejin.md +52 -0
- package/docs/articles/zhihu.md +50 -0
- package/docs/images/discover-installed.jpg +0 -0
- package/docs/images/discover-search.png +0 -0
- package/docs/images/discover-status.jpg +0 -0
- package/icon.svg +5 -0
- package/index.js +528 -0
- package/locale/en.json +22 -0
- package/locale/zh.json +22 -0
- package/mark-remote.js +48 -0
- package/package.json +70 -6
- package/skill/SKILL.md +24 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# 给 DeepSeek Harness 加一个「应用商店」:开源插件 dsh-plugin-discovery
|
|
2
|
+
|
|
3
|
+
> 作者:hjhcos
|
|
4
|
+
> 开源协议:MIT
|
|
5
|
+
> npm:`dsh-plugin-discovery`
|
|
6
|
+
> GitHub:https://github.com/hjhcos/dsh-plugin-discovery
|
|
7
|
+
> Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
8
|
+
|
|
9
|
+
## 写在前面
|
|
10
|
+
|
|
11
|
+
DeepSeek Harness(DSH)本身能力很强,但社区 Bundle 分散在 GitHub、npm 各处,新人常常不知道去哪找、怎么装才安全。
|
|
12
|
+
|
|
13
|
+
我做了一个侧栏插件:**发现插件(dsh-plugin-discovery)**——把「搜索 → 校验 → 安装」收进 DSH Web UI,让社区插件发现体验更接近应用商店。
|
|
14
|
+
|
|
15
|
+
## 它能做什么
|
|
16
|
+
|
|
17
|
+
- 关键词搜索(全部 / npm / GitHub)
|
|
18
|
+
- 粘贴完整链接直接解析安装
|
|
19
|
+
- 安装前用官方 `pluginManager.inspect` 校验是否为合法 DSH Bundle
|
|
20
|
+
- 安装状态三态:未安装 / 安装中 / 已安装(刷新后也能继续跟踪)
|
|
21
|
+
|
|
22
|
+
界面示意:
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
## 一分钟安装
|
|
29
|
+
|
|
30
|
+
在 DSH「插件」页安装:
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
dsh-plugin-discovery
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
或:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
github:hjhcos/dsh-plugin-discovery
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
启用后刷新页面,侧栏会出现「发现插件」。
|
|
43
|
+
|
|
44
|
+
## 使用建议
|
|
45
|
+
|
|
46
|
+
1. 先搜关键词(例如 `dsh-pet`),不要拿「解析安装」当搜索框。
|
|
47
|
+
2. 安装前打开仓库链接看一眼权限与维护情况——社区插件非官方维护。
|
|
48
|
+
3. 装完到「插件」页确认是否启用成功。
|
|
49
|
+
|
|
50
|
+
## 为什么开源
|
|
51
|
+
|
|
52
|
+
希望降低社区 Bundle 的分发门槛:作者把插件发到 npm / GitHub 后,用户可以在发现页搜到并一键安装。
|
|
53
|
+
|
|
54
|
+
欢迎 Star、提 Issue / PR:
|
|
55
|
+
|
|
56
|
+
- GitHub:https://github.com/hjhcos/dsh-plugin-discovery
|
|
57
|
+
- Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
58
|
+
|
|
59
|
+
MIT 协议,欢迎二次分发与改进。
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# 开源一个 DSH 插件发现器:在 DeepSeek Harness 里搜装社区 Bundle
|
|
2
|
+
|
|
3
|
+
大家好,我是 hjhcos。
|
|
4
|
+
|
|
5
|
+
最近在用 DeepSeek Harness(DSH)时,最大的痛点不是「不会装插件」,而是**不知道社区里有哪些 Bundle、装之前安不安全**。于是做了这个开源插件:
|
|
6
|
+
|
|
7
|
+
**`dsh-plugin-discovery`(发现插件)**
|
|
8
|
+
|
|
9
|
+
## 一句话介绍
|
|
10
|
+
|
|
11
|
+
给 DSH Web 加一个侧栏「发现插件」面板:搜 GitHub / npm → inspect 校验 → 一键安装。
|
|
12
|
+
|
|
13
|
+
## 截图
|
|
14
|
+
|
|
15
|
+
关键词搜索与列表:
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
安装状态(未安装 / 已安装):
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
装完后的效果示例:
|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
## 核心设计
|
|
28
|
+
|
|
29
|
+
1. **只装合法 Bundle**:安装前走 `pluginManager.inspect`,不是 DSH Bundle 直接拒绝。
|
|
30
|
+
2. **安装态可观察**:未安装 / 安装中 / 已安装;刷新页面也能用 `requestId` 继续跟踪。
|
|
31
|
+
3. **精确匹配包名**:避免 `dsh-pet` 与 `@scope/dsh-pet` 这类短名串线。
|
|
32
|
+
|
|
33
|
+
## 安装
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
dsh-plugin-discovery
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
或 GitHub:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
github:hjhcos/dsh-plugin-discovery
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 链接
|
|
46
|
+
|
|
47
|
+
- npm:https://www.npmjs.com/package/dsh-plugin-discovery
|
|
48
|
+
- GitHub:https://github.com/hjhcos/dsh-plugin-discovery
|
|
49
|
+
- Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
50
|
+
- License:MIT
|
|
51
|
+
|
|
52
|
+
如果对你有用,欢迎 Star;有问题直接开 Issue。也欢迎社区插件作者把自己的 Bundle 发到 npm/GitHub,方便被发现页检索到。
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# 我给 DeepSeek Harness 做了个「插件发现页」,开源了
|
|
2
|
+
|
|
3
|
+
DeepSeek Harness(DSH)的插件生态在长,但入口偏「你得先知道包名」。普通人想找桌宠、主题、小工具,往往只能去 GitHub / npm 裸搜,再手动安装,体验割裂,也容易装错。
|
|
4
|
+
|
|
5
|
+
所以我写了一个开源 Bundle:
|
|
6
|
+
|
|
7
|
+
**dsh-plugin-discovery(发现插件)**
|
|
8
|
+
|
|
9
|
+
目标很简单:在 DSH 侧栏里完成「发现 → 校验 → 安装」。
|
|
10
|
+
|
|
11
|
+
## 长什么样
|
|
12
|
+
|
|
13
|
+
搜索与候选列表:
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
状态标记:
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
安装完成后的界面示例:
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
## 它解决什么问题
|
|
26
|
+
|
|
27
|
+
- 不知道社区有哪些插件:关键词搜索 GitHub / npm
|
|
28
|
+
- 怕装到非 Bundle 包:安装前 inspect
|
|
29
|
+
- 安装过程不透明:未安装 / 安装中 / 已安装三态
|
|
30
|
+
- 刷新后不知道装没装完:用 requestId 继续跟踪
|
|
31
|
+
|
|
32
|
+
## 怎么装
|
|
33
|
+
|
|
34
|
+
在 DSH 插件页输入:
|
|
35
|
+
|
|
36
|
+
`dsh-plugin-discovery`
|
|
37
|
+
|
|
38
|
+
或:
|
|
39
|
+
|
|
40
|
+
`github:hjhcos/dsh-plugin-discovery`
|
|
41
|
+
|
|
42
|
+
装好启用,刷新 Web,侧栏就能看到「发现插件」。
|
|
43
|
+
|
|
44
|
+
## 开源地址
|
|
45
|
+
|
|
46
|
+
- GitHub:https://github.com/hjhcos/dsh-plugin-discovery
|
|
47
|
+
- Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
48
|
+
- npm:https://www.npmjs.com/package/dsh-plugin-discovery
|
|
49
|
+
|
|
50
|
+
协议 MIT,作者 hjhcos。欢迎试用、提建议,也欢迎插件作者把 Bundle 规范发布,让更多人能搜到你的作品。
|
|
Binary file
|
|
Binary file
|
|
Binary file
|