dsh-plugin-discovery 1.2.0 → 1.2.5
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 +104 -96
- package/client.js +646 -24
- package/data/recommended.json +1206 -1206
- package/index.js +318 -14
- package/package.json +74 -74
package/README.md
CHANGED
|
@@ -1,97 +1,105 @@
|
|
|
1
|
-
# dsh-plugin-discovery
|
|
2
|
-
|
|
3
|
-
在 [DeepSeek Harness](https://github.com/deepseek-ai)(DSH)侧栏发现、推荐并安装社区 Bundle 插件。
|
|
4
|
-
|
|
5
|
-
[](https://dsh-plugin.org/plugins/hjhcos/dsh-plugin-discovery)
|
|
6
|
-
[](https://www.npmjs.com/package/dsh-plugin-discovery)
|
|
7
|
-
[](./LICENSE)
|
|
8
|
-
|
|
9
|
-
安装后侧栏出现「发现插件」:新手必装 / 个性化推荐 / 分类浏览 / 在线搜索(npm · GitHub),安装前用 `pluginManager.inspect` 校验是否为合法 DSH Bundle。
|
|
10
|
-
|
|
11
|
-

|
|
12
|
-
|
|
13
|
-
## 一句话价值
|
|
14
|
-
|
|
15
|
-
把分散在 npm / GitHub 的社区 DSH 插件收进侧栏,带本地精选目录与远程自动更新,一键校验后安装。
|
|
16
|
-
|
|
17
|
-
## 安装
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
dsh plugin --profile web add dsh-plugin-discovery
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
装完并启用后,**刷新 Web UI**,侧栏会出现「发现插件」。
|
|
24
|
-
|
|
25
|
-
### 国内备选
|
|
26
|
-
|
|
27
|
-
多数环境已用 npmmirror,直接装包名即可:
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
dsh-plugin-discovery
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
GitHub 慢时可用 Gitee:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
dsh plugin --profile web add https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
或:
|
|
40
|
-
|
|
41
|
-
```text
|
|
42
|
-
git+https://gitee.com/hjhcos/dsh-plugin-discovery.git
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
```text
|
|
46
|
-
github:hjhcos/dsh-plugin-discovery
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
> 社区插件非 DeepSeek 官方维护,安装前请自行审阅仓库与权限。本插件会访问 npm / GitHub / Gitee 以搜索与刷新推荐目录。
|
|
50
|
-
|
|
51
|
-
##
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
# dsh-plugin-discovery
|
|
2
|
+
|
|
3
|
+
在 [DeepSeek Harness](https://github.com/deepseek-ai)(DSH)侧栏发现、推荐并安装社区 Bundle 插件。
|
|
4
|
+
|
|
5
|
+
[](https://dsh-plugin.org/plugins/hjhcos/dsh-plugin-discovery)
|
|
6
|
+
[](https://www.npmjs.com/package/dsh-plugin-discovery)
|
|
7
|
+
[](./LICENSE)
|
|
8
|
+
|
|
9
|
+
安装后侧栏出现「发现插件」:新手必装 / 个性化推荐 / 分类浏览 / 在线搜索(npm · GitHub),安装前用 `pluginManager.inspect` 校验是否为合法 DSH Bundle。
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
## 一句话价值
|
|
14
|
+
|
|
15
|
+
把分散在 npm / GitHub 的社区 DSH 插件收进侧栏,带本地精选目录与远程自动更新,一键校验后安装。
|
|
16
|
+
|
|
17
|
+
## 安装
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
dsh plugin --profile web add dsh-plugin-discovery
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
装完并启用后,**刷新 Web UI**,侧栏会出现「发现插件」。
|
|
24
|
+
|
|
25
|
+
### 国内备选
|
|
26
|
+
|
|
27
|
+
多数环境已用 npmmirror,直接装包名即可:
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
dsh-plugin-discovery
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
GitHub 慢时可用 Gitee:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
dsh plugin --profile web add https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
或:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
git+https://gitee.com/hjhcos/dsh-plugin-discovery.git
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
github:hjhcos/dsh-plugin-discovery
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
> 社区插件非 DeepSeek 官方维护,安装前请自行审阅仓库与权限。本插件会访问 npm / GitHub / Gitee 以搜索与刷新推荐目录。
|
|
50
|
+
|
|
51
|
+
## 版本说明
|
|
52
|
+
|
|
53
|
+
详见 [`CHANGELOG.md`](./CHANGELOG.md)。每次发版会同步推送 GitHub / Gitee 并发布 npm。
|
|
54
|
+
|
|
55
|
+
当前:**1.2.5** — 构建脚本拦截时可在面板内确认批准并重试;版本不兼容时推荐相近插件。
|
|
56
|
+
|
|
57
|
+
## 功能
|
|
58
|
+
|
|
59
|
+
- **新手必装**:市场、中英对话语言、搜索、费用、上下文、Skills、回退、原生文件工具等
|
|
60
|
+
- **个性化推荐**:按已装插件偏好排序
|
|
61
|
+
- **分类浏览**:桌宠 / 主题 / IM / 记忆 / 效率 / 多媒体 / 远程 / 市场 / 多智能体
|
|
62
|
+
- **远程目录更新**:优先 Gitee raw JSON,失败再试 GitHub;按 `version` 写入 `$DSH_HOME/cache/...`
|
|
63
|
+
- **插件自更新**:启动/打开面板时检查 npm 最新版(Gitee `package.json` 兜底);有新版本可自动或一键更新
|
|
64
|
+
- **不兼容引导**:安装 peer 不匹配时展示真实错误、复制、风险豁免重试,并推荐精选替代包
|
|
65
|
+
- **构建脚本批准**:pnpm 拦截依赖 install 脚本(如 `ssh2`)时,可在面板确认后代为批准并重试
|
|
66
|
+
- 关键词搜索(全部 / npm / GitHub)与链接解析安装
|
|
67
|
+
- 安装三态:未安装 / 安装中 / 已安装
|
|
68
|
+
- 中英文界面
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+

|
|
73
|
+
|
|
74
|
+
## 使用
|
|
75
|
+
|
|
76
|
+
1. 打开侧栏「发现插件」
|
|
77
|
+
2. 默认「为你推荐」;可切「分类浏览」(含新手必装)或「在线搜索」
|
|
78
|
+
3. 点击「安装」,等待变为「已安装」
|
|
79
|
+
4. 到「插件」页确认启用
|
|
80
|
+
|
|
81
|
+
精选目录:[`data/recommended.json`](data/recommended.json)。改 JSON 并提高 `version` 后推到 Gitee/GitHub,用户端会自动拉取,无需重装插件。
|
|
82
|
+
|
|
83
|
+
远程地址(可在插件配置改):
|
|
84
|
+
|
|
85
|
+
- Gitee:`https://gitee.com/hjhcos/dsh-plugin-discovery/raw/main/data/recommended.json`
|
|
86
|
+
- GitHub:`https://raw.githubusercontent.com/hjhcos/dsh-plugin-discovery/main/data/recommended.json`
|
|
87
|
+
|
|
88
|
+
可选:配置 GitHub Token 提高搜索配额。
|
|
89
|
+
|
|
90
|
+
## 兼容
|
|
91
|
+
|
|
92
|
+
- 目标:DeepSeek Harness `0.2.x`(web profile)
|
|
93
|
+
- 平台:Web UI(client)+ host Bundle
|
|
94
|
+
- 许可证:MIT
|
|
95
|
+
|
|
96
|
+
## 仓库与发布
|
|
97
|
+
|
|
98
|
+
- GitHub:https://github.com/hjhcos/dsh-plugin-discovery
|
|
99
|
+
- Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
|
|
100
|
+
- npm:https://www.npmjs.com/package/dsh-plugin-discovery
|
|
101
|
+
- 市场:https://dsh-plugin.org/zh (topic: `dsh-plugin`)
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
97
105
|
[MIT](./LICENSE) © hjhcos
|