universal-plugin-hub 1.1.0 → 1.5.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/README.md +15 -3
- package/README.zh.md +14 -2
- package/client/client.js +5421 -1199
- package/package.json +1 -1
- package/src/at-plugins.js +823 -0
- package/src/icons.js +226 -36
- package/src/index.js +44 -2
- package/src/install.js +1618 -852
- package/src/local.js +439 -71
- package/src/market.js +112 -56
- package/src/oauth-bridge.js +1 -2
- package/src/oauth-config.js +4 -0
- package/src/oauth-store.js +24 -11
- package/src/oauth.js +5 -4
- package/src/parser.js +1272 -462
- package/src/routes.js +410 -128
- package/src/runtime.js +3 -1
- package/src/skill-uploads.js +116 -12
- package/src/skills.js +12 -5
- package/src/store.js +258 -40
package/README.md
CHANGED
|
@@ -20,15 +20,17 @@ After installation, the Hub recognizes a plugin's Skills, Commands, Agents, MCP,
|
|
|
20
20
|
| **MCP** | Connect plugin-declared MCP servers, configure service addresses, authentication, headers, and environment variables, then inspect tools and control which ones are enabled. |
|
|
21
21
|
| **Hooks** | Plugin hook configuration files are registered with DSH's hooks bridge and follow the plugin's enabled state. |
|
|
22
22
|
| **LSP** | Plugin-declared language servers are registered with DSH when their executables are available; missing executables are reported. |
|
|
23
|
+
| **`@` Plugin mentions** | Type `@` in the DSH composer to pick enabled plugins. The turn prioritizes those plugins and selects only the skills, commands, subagents, and enabled MCP tools your task needs instead of loading every capability at once. |
|
|
23
24
|
|
|
24
25
|
### Discover, install, and manage plugins
|
|
25
26
|
|
|
26
27
|
- **Browse multiple marketplaces**: Start with the official Claude catalog (`anthropics/claude-plugins-official`), then add Claude or Codex marketplaces and Git repositories containing standalone plugins. Catalogs and icons are cached for reuse on return visits.
|
|
27
|
-
- **Upload plugins and skills**: Upload plugin or skill archives and individual `SKILL.md` files, or import from local directories and Git URLs.
|
|
28
|
+
- **Upload plugins and skills**: Upload plugin or skill archives and individual `SKILL.md` files, or import from local directories and Git URLs. Uploaded skills go straight to the **Skills** tab; if a skill of that name is already present, the dialog offers to overwrite or cancel. Plugin-declared MCP connectors are brought in with their plugins.
|
|
28
29
|
- **Automatically discover local skills**: By default, scan `~/.agents/skills` under your home directory (`~\.agents\skills` on Windows) and show the skills in the **Skills** tab without importing them individually.
|
|
29
30
|
- **Toggle individual local skills**: Enable or disable skills from the list or detail page. Disabling a skill removes it from the DSH composer's `/` menu and prevents model invocation. Enabling it again restores its original invocation settings, with its files kept in place.
|
|
30
31
|
- **Manage installed plugins**: Install, update, enable, disable, or uninstall plugins, along with their associated skills, MCP connectors, Hooks, and LSP registrations.
|
|
31
32
|
- **Manage MCP servers together**: Add your own MCP servers and view them alongside plugin connectors. Configure addresses, authentication, and environment variables, inspect tool lists, and control servers and individual tools.
|
|
33
|
+
- **Call plugins with `@` in chat**: Type `@` in the DSH composer to search and insert one or more enabled plugins. DSH routes the turn to those plugins on demand, so you do not have to remember individual command names.
|
|
32
34
|
|
|
33
35
|
## Interface preview
|
|
34
36
|
|
|
@@ -38,6 +40,10 @@ Plugin cards show descriptions and installation states, with source tabs, search
|
|
|
38
40
|
|
|
39
41
|

|
|
40
42
|
|
|
43
|
+
**Scroll back to top**: After scrolling down a plugin list, click the active source tab again to return to the top.
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
41
47
|
**Plugin details**: Review a plugin's source, version, and capabilities, and manage the plugin and its MCP connectors.
|
|
42
48
|
|
|
43
49
|

|
|
@@ -54,6 +60,10 @@ Plugin cards show descriptions and installation states, with source tabs, search
|
|
|
54
60
|
|
|
55
61
|

|
|
56
62
|
|
|
63
|
+
**`@` plugin selector**: Type `@` in the DSH composer to select enabled plugins and route to their capabilities.
|
|
64
|
+
|
|
65
|
+

|
|
66
|
+
|
|
57
67
|
## Installation
|
|
58
68
|
|
|
59
69
|
Supports DeepSeek Harness Desktop and the CLI web profile.
|
|
@@ -92,9 +102,11 @@ dsh plugin add universal-plugin-hub
|
|
|
92
102
|
4. **Manage installed plugins**: Click **Manage** on an installed plugin to configure connectors, manage capabilities, update, or uninstall it.
|
|
93
103
|
5. **Use MCP tools**: Open the **MCP** tab to view servers and plugin connectors. Expand a server's tools to view their descriptions and control which tools are enabled.
|
|
94
104
|
6. **Manage local skills**: Once local skills are detected, open the **Skills** tab, click a skill to read its instructions, and use the switch in the list or detail page to enable or disable it. Refresh the list after adding, editing, or deleting skill files.
|
|
95
|
-
7. **
|
|
105
|
+
7. **Scroll back to the top**: After scrolling down a plugin list, click the current source tab again to return to the top.
|
|
106
|
+
8. **Reorder tabs**: Long-press a source tab and drag it to change the tab order.
|
|
107
|
+
9. **Mention plugins with `@`**: Type `@` in the DSH composer and choose an enabled plugin to route requests automatically.
|
|
96
108
|
|
|
97
|
-
After installing a plugin with Skills or Commands, find its skills in the DSH composer's `/` menu. For a plugin with MCP connectors, open the **From plugins** group in the MCP tab to configure connections and inspect tools.
|
|
109
|
+
After installing a plugin with Skills or Commands, find its skills in the DSH composer's `/` menu, or mention enabled plugins with `@` in chat. For a plugin with MCP connectors, open the **From plugins** group in the MCP tab to configure connections and inspect tools.
|
|
98
110
|
|
|
99
111
|
Local skill discovery follows DSH's native scope: it recognizes `~/.agents/skills/<name>/SKILL.md` and `~/.agents/skills/<name>.md`, without recursively scanning deeper directories. When `DSH_AGENTS_HOME` is set, it scans the `skills` directory under that location instead.
|
|
100
112
|
|
package/README.zh.md
CHANGED
|
@@ -20,6 +20,7 @@ Universal Plugin Hub 为 DSH 扩展插件来源。你可以浏览内置的 Claud
|
|
|
20
20
|
| **MCP 工具** | 接入插件声明的 MCP 连接器,配置服务地址、鉴权、请求头和环境变量,查看工具说明,逐个开启或关闭工具。 |
|
|
21
21
|
| **Hooks 钩子** | 读取插件的 Hooks 配置文件,注册到 DSH 的钩子桥接服务,并随插件启停。 |
|
|
22
22
|
| **LSP 语言服务** | 读取插件声明的语言服务器配置,在服务器程序可用时注册到 DSH;缺少程序时提供相应提示。 |
|
|
23
|
+
| **`@` 插件调用** | 在输入框中键入 `@` 指定已启用的插件,当前对话会优先使用该插件,并结合任务自动按需挑选其中的技能、命令、子代理与已启用的 MCP 工具执行,不会一并加载同插件下不相关的能力。 |
|
|
23
24
|
|
|
24
25
|
### 从发现到管理插件
|
|
25
26
|
|
|
@@ -29,6 +30,7 @@ Universal Plugin Hub 为 DSH 扩展插件来源。你可以浏览内置的 Claud
|
|
|
29
30
|
- **逐个开关本地 Skills**:在列表或详情页启用、停用技能。关闭后,该技能不再出现在 DSH 输入框的 `/` 菜单中,模型也不能调用;重新开启后恢复技能原有的调用设置,文件保留在原处。
|
|
30
31
|
- **管理已安装插件**:安装、更新、启用、停用和卸载插件时,同步处理对应的技能、MCP 连接器、Hooks 与 LSP 注册。
|
|
31
32
|
- **集中管理 MCP 服务器**:添加自己的 MCP 服务器,在同一页面查看手动添加的服务器与插件提供的连接器,配置地址、鉴权和环境变量,展开工具列表,并管理服务器与单个工具的开关。
|
|
33
|
+
- **在对话中 `@` 调用插件**:在 DSH 输入框输入 `@` 即可查看和搜索已启用的插件并直接引用。发送后会自动路由到对应插件的能力,省去记忆具体命令名的麻烦,也能同时引用多个插件协同处理任务。
|
|
32
34
|
|
|
33
35
|
## 界面预览
|
|
34
36
|
|
|
@@ -38,6 +40,10 @@ Universal Plugin Hub 为 DSH 扩展插件来源。你可以浏览内置的 Claud
|
|
|
38
40
|
|
|
39
41
|

|
|
40
42
|
|
|
43
|
+
**点击标签回顶**:向下浏览插件列表时,再次点击当前选中的标签即可回到顶部。
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
41
47
|
**插件详情**:查看来源、版本和功能说明,管理插件及其 MCP 连接器。
|
|
42
48
|
|
|
43
49
|

|
|
@@ -54,6 +60,10 @@ Universal Plugin Hub 为 DSH 扩展插件来源。你可以浏览内置的 Claud
|
|
|
54
60
|
|
|
55
61
|

|
|
56
62
|
|
|
63
|
+
**在对话中 `@` 插件**:在 DSH 输入框中输入 `@` 选择已启用的插件,自动路由到对应插件。
|
|
64
|
+
|
|
65
|
+

|
|
66
|
+
|
|
57
67
|
## 安装
|
|
58
68
|
|
|
59
69
|
支持 DeepSeek Harness 桌面端和命令行 Web profile。
|
|
@@ -92,9 +102,11 @@ dsh plugin add universal-plugin-hub
|
|
|
92
102
|
4. **管理已安装插件**:点击插件卡片上的 **管理**,配置连接器、管理能力、更新或卸载插件。
|
|
93
103
|
5. **使用 MCP 工具**:进入 **MCP** 页查看服务器和插件连接器,展开服务器工具列表,查看工具说明并控制启用状态。
|
|
94
104
|
6. **管理本地 Skills**:检测到本地技能后,打开 **Skills** 标签,点击技能查看说明,通过列表或详情页的开关控制启用状态。新增、修改或删除技能后,点击刷新更新列表。
|
|
95
|
-
7.
|
|
105
|
+
7. **回到列表顶部**:在插件列表向下滚动后,再次点击当前选中的标签即可回到顶部。
|
|
106
|
+
8. **调整标签顺序**:长按插件源标签并拖动,可以调整标签的排列顺序。
|
|
107
|
+
9. **在对话中 `@` 插件**:在 DSH 输入框中输入 `@` 选择已启用的插件,即可在当前对话中自动路由调用。
|
|
96
108
|
|
|
97
|
-
安装提供 Skills 或 Commands 的插件后,可以在 DSH 输入框的 `/`
|
|
109
|
+
安装提供 Skills 或 Commands 的插件后,可以在 DSH 输入框的 `/` 菜单中找到相应技能,也可以在对话里直接 `@` 已启用的插件。安装带有 MCP 的插件后,可以在 MCP 页的 **来自插件** 分组中配置连接器并查看工具。
|
|
98
110
|
|
|
99
111
|
本地 Skills 扫描与 DSH 原生发现范围一致:识别 `~/.agents/skills/<name>/SKILL.md` 和 `~/.agents/skills/<name>.md`,不递归扫描更深层目录。设置 `DSH_AGENTS_HOME` 后,扫描目录改为该目录下的 `skills`。
|
|
100
112
|
|