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 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,70 @@
1
- # Temporary Holding Version
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.
1
+ # dsh-plugin-discovery
2
+
3
+ 在 [DeepSeek Harness](https://github.com/deepseek-ai)(DSH)里发现并安装社区 Bundle 插件。
4
+
5
+ 侧栏新增「发现插件」面板:可按关键词搜索 GitHub / npm 上的社区插件,也可粘贴已知仓库链接解析安装。安装前会走 `pluginManager.inspect`,确认是合法 DSH Bundle 后再安装。
6
+
7
+ ![关键词搜索](docs/images/discover-search.png)
8
+
9
+ ## 功能
10
+
11
+ - 关键词搜索(全部 / npm / GitHub)
12
+ - 链接解析安装(npm / GitHub URL)
13
+ - 安装状态:未安装 / 安装中 / 已安装(支持刷新后继续跟踪)
14
+ - 安装前 Bundle 校验,降低装错包的风险
15
+ - 中英文界面
16
+
17
+ ![安装状态](docs/images/discover-status.jpg)
18
+
19
+ ![已安装示例](docs/images/discover-installed.jpg)
20
+
21
+ ## 安装
22
+
23
+ 在 DSH 的「插件」页安装以下任一形式:
24
+
25
+ ```text
26
+ dsh-plugin-discovery
27
+ ```
28
+
29
+ 或:
30
+
31
+ ```text
32
+ npm:dsh-plugin-discovery
33
+ ```
34
+
35
+ 或 GitHub:
36
+
37
+ ```text
38
+ github:hjhcos/dsh-plugin-discovery
39
+ ```
40
+
41
+ 安装并启用后,刷新 Web UI,侧栏会出现「发现插件」。
42
+
43
+ > 社区插件非 DeepSeek 官方维护,安装前请自行审阅仓库与权限。
44
+
45
+ ## 使用
46
+
47
+ 1. 打开侧栏「发现插件」
48
+ 2. 输入关键词(如 `dsh-pet`)后搜索,或在下方粘贴完整仓库链接
49
+ 3. 点击「安装」,等待状态变为「已安装」
50
+ 4. 到「插件」页确认启用情况
51
+
52
+ 可选:在插件配置中填写 GitHub Token,可提高 GitHub 搜索配额。
53
+
54
+ ## 开发
55
+
56
+ ```bash
57
+ # 本地以 file: 方式挂到 profile
58
+ # package.json dependencies:
59
+ # "dsh-plugin-discovery": "file:../../../bundles/dsh-plugin-discovery"
60
+ ```
61
+
62
+ ## 仓库镜像
63
+
64
+ - GitHub:https://github.com/hjhcos/dsh-plugin-discovery
65
+ - Gitee:https://gitee.com/hjhcos/dsh-plugin-discovery
66
+ - npm:https://www.npmjs.com/package/dsh-plugin-discovery
67
+
68
+ ## License
69
+
70
+ [MIT](./LICENSE) © hjhcos