dsh-plugin-discovery 0.0.0-stage → 1.1.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 hjhcos
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,96 @@
1
- # Temporary Holding Version
1
+ # dsh-plugin-discovery
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 在 [DeepSeek Harness](https://github.com/deepseek-ai)(DSH)侧栏发现、推荐并安装社区 Bundle 插件。
4
+
5
+ [![Listed on dsh-plugin.org](https://dsh-plugin.org/badges/listed.svg)](https://dsh-plugin.org/plugins/hjhcos/dsh-plugin-discovery)
6
+ [![npm](https://img.shields.io/npm/v/dsh-plugin-discovery.svg)](https://www.npmjs.com/package/dsh-plugin-discovery)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
8
+
9
+ 安装后侧栏出现「发现插件」:新手必装 / 个性化推荐 / 分类浏览 / 在线搜索(npm · GitHub),安装前用 `pluginManager.inspect` 校验是否为合法 DSH Bundle。
10
+
11
+ ![关键词搜索](docs/images/discover-search.png)
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
+ - **新手必装**:市场、中英对话语言、搜索、费用、上下文、Skills、回退、原生文件工具等
54
+ - **个性化推荐**:按已装插件偏好排序
55
+ - **分类浏览**:桌宠 / 主题 / IM / 记忆 / 效率 / 多媒体 / 远程 / 市场 / 多智能体
56
+ - **远程目录更新**:优先 Gitee raw JSON,失败再试 GitHub;按 `version` 写入 `$DSH_HOME/cache/...`
57
+ - 关键词搜索(全部 / npm / GitHub)与链接解析安装
58
+ - 安装三态:未安装 / 安装中 / 已安装
59
+ - 中英文界面
60
+
61
+ ![安装状态](docs/images/discover-status.jpg)
62
+
63
+ ![已安装示例](docs/images/discover-installed.jpg)
64
+
65
+ ## 使用
66
+
67
+ 1. 打开侧栏「发现插件」
68
+ 2. 默认「为你推荐」;可切「分类浏览」(含新手必装)或「在线搜索」
69
+ 3. 点击「安装」,等待变为「已安装」
70
+ 4. 到「插件」页确认启用
71
+
72
+ 精选目录:[`data/recommended.json`](data/recommended.json)。改 JSON 并提高 `version` 后推到 Gitee/GitHub,用户端会自动拉取,无需重装插件。
73
+
74
+ 远程地址(可在插件配置改):
75
+
76
+ - Gitee:`https://gitee.com/hjhcos/dsh-plugin-discovery/raw/main/data/recommended.json`
77
+ - GitHub:`https://raw.githubusercontent.com/hjhcos/dsh-plugin-discovery/main/data/recommended.json`
78
+
79
+ 可选:配置 GitHub Token 提高搜索配额。
80
+
81
+ ## 兼容
82
+
83
+ - 目标:DeepSeek Harness `0.2.x`(web profile)
84
+ - 平台:Web UI(client)+ host Bundle
85
+ - 许可证:MIT
86
+
87
+ ## 仓库与发布
88
+
89
+ - GitHub:https://github.com/hjhcos/dsh-plugin-discovery
90
+ - Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
91
+ - npm:https://www.npmjs.com/package/dsh-plugin-discovery
92
+ - 市场:https://dsh-plugin.org/zh (topic: `dsh-plugin`)
93
+
94
+ ## License
95
+
96
+ [MIT](./LICENSE) © hjhcos