universal-plugin-hub 0.0.0-stage → 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CaesarEmperor
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,92 @@
1
- # Temporary Holding Version
1
+ # Universal Plugin Hub
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
+ English | [简体中文](README.zh.md)
4
+
5
+ Install and use plugins and skills from the Claude Code and Codex ecosystems in DeepSeek Harness (DSH).
6
+
7
+ Universal Plugin Hub combines a plugin marketplace with installation and capability management. After you add a source or import a plugin, it recognizes the plugin's Skills, Commands, Agents, MCP, Hooks, and LSP configuration, then converts or registers those capabilities for use in DSH conversations and tasks.
8
+
9
+ ## Core features
10
+
11
+ ### Bring plugin capabilities into DSH
12
+
13
+ | Plugin capability | How you use it in DSH |
14
+ | --- | --- |
15
+ | **Skills** | Synced to DSH's native skills directory and available from the composer's `/` menu, with scripts and resources in the skill directory preserved. |
16
+ | **Commands** | Markdown commands from Claude Code plugins are converted into DSH skills so you can use their workflows. |
17
+ | **Agents** | Subagent definitions become callable skills, with a delegation entry point that uses DSH's native `subagent` tool. |
18
+ | **MCP** | Connect plugin-declared MCP servers, configure service addresses, authentication, headers, and environment variables, then inspect tools and control which ones are enabled. |
19
+ | **Hooks** | Plugin hook configuration files are registered with DSH's hooks bridge and follow the plugin's enabled state. |
20
+ | **LSP** | Plugin-declared language servers are registered with DSH when their executables are available; missing executables are reported. |
21
+
22
+ ### Discover, install, and manage plugins
23
+
24
+ - **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.
25
+ - **Import your plugins and skills**: Use local directories, Git URLs, archives, or a single `SKILL.md`. Skill collections can be parsed and imported as individual skills.
26
+ - **Manage the plugin lifecycle**: Installation, updates, enabling, disabling, and removal also manage the associated skills, MCP connectors, Hooks, and LSP registrations.
27
+ - **Manage MCP servers together**: View manually added servers and plugin connectors on one page, edit their configuration, expand tool lists, and control individual tools.
28
+
29
+ ## Interface preview
30
+
31
+ Icon cards show plugin descriptions and installation states, with source tabs, search, filters, and sorting to help you find what you need. The interface follows DSH's light and dark themes. Hover previews let you scroll descriptions and select text, while expanded MCP tools appear as compact status pills. Catalog and icon caching help content appear quickly on return visits.
32
+
33
+ ![Overview](assets/hero.png)
34
+
35
+ ## Installation
36
+
37
+ Supports DeepSeek Harness Desktop and the CLI web profile.
38
+
39
+ ### DeepSeek Harness Desktop
40
+
41
+ 1. Open DeepSeek Harness.
42
+ 2. Go to **Settings** -> **Plugins**.
43
+ 3. Click **Add plugin** and enter the package name:
44
+ ```text
45
+ universal-plugin-hub
46
+ ```
47
+ 4. Click install.
48
+
49
+ ### Command line
50
+
51
+ Run this in your terminal:
52
+
53
+ ```bash
54
+ dsh plugin add universal-plugin-hub
55
+ ```
56
+
57
+ ## Usage
58
+
59
+ 1. **Browse and install**: Search by name or keyword, choose a source, and click **Install** on a plugin card.
60
+ 2. **Add a marketplace**: Open the **+** menu, choose **Add plugin marketplace**, and enter a Claude or Codex repository URL. Review the parsed content before adding it.
61
+ 3. **Import plugins or skills**: Choose **Upload plugin** from the **+** menu. Enter a local path or Git URL, or select a supported file, then review the preview and confirm the import.
62
+ 4. **Manage installed plugins**: Click **Manage** on an installed plugin to configure connectors, manage capabilities, update, or uninstall it.
63
+ 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.
64
+
65
+ 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.
66
+
67
+ ## Supported content
68
+
69
+ | Content | Recognized structure |
70
+ | --- | --- |
71
+ | Claude marketplace | `.claude-plugin/marketplace.json` |
72
+ | Codex marketplace | `.agents/plugins/marketplace.json` |
73
+ | Claude plugin | `.claude-plugin/plugin.json` |
74
+ | Codex plugin | `.codex-plugin/plugin.json` |
75
+ | Agent Skills | A `SKILL.md` file, a skill directory, or a collection of skill directories |
76
+
77
+ File uploads accept `.zip`, `.tgz`, `.tar.gz`, and `SKILL.md`, up to 22 MB per upload. Larger archives can be extracted and imported through a directory path. Import the complete directory or archive for skills with scripts or other resources so relative paths remain usable.
78
+
79
+ ## Data and directory layout
80
+
81
+ - **Hub installation**: `~/.dsh/profiles/desktop/node_modules/universal-plugin-hub`
82
+ - **Marketplace plugins**:
83
+ - Installed plugin files: `~/.dsh/agent-skills/universal-plugin-hub/installed/<plugin-name>`
84
+ - Cloned source cache: `~/.dsh/agent-skills/universal-plugin-hub/market/<source-id>`
85
+ - State and source registry: `~/.dsh/agent-skills/universal-plugin-hub/state.json`
86
+ - **Runtime patch configuration**: `~/.dsh/profiles/<profile>/cordis.patch.yml`
87
+
88
+ `~/.dsh` is the default data directory. Paths follow `DSH_HOME` when it is configured.
89
+
90
+ ## License
91
+
92
+ [MIT License](./LICENSE)
package/README.zh.md ADDED
@@ -0,0 +1,92 @@
1
+ # Universal Plugin Hub
2
+
3
+ [English](README.md) | 简体中文
4
+
5
+ 在 DeepSeek Harness(DSH)中安装和使用 Claude Code、Codex 生态的插件与技能。
6
+
7
+ Universal Plugin Hub 提供插件市场、安装管理和能力接入。添加插件源或导入插件后,它会识别其中的 Skills、Commands、Agents、MCP、Hooks 和 LSP 配置,将相应能力转换或注册到 DSH,供你在对话和任务中使用。
8
+
9
+ ## 核心功能
10
+
11
+ ### 将插件能力接入 DSH
12
+
13
+ | 插件能力 | 在 DSH 中如何使用 |
14
+ | --- | --- |
15
+ | **Skills 技能** | 同步到 DSH 的原生技能目录,在输入框的 `/` 菜单中调用;技能目录中的脚本和资源随技能一同保留。 |
16
+ | **Commands 命令** | 将 Claude Code 插件中的 Markdown 命令转换为 DSH 技能,继续使用这些命令所定义的工作流程。 |
17
+ | **Agents 子代理** | 将子代理定义转换为可调用的技能,并生成通过 DSH 原生 `subagent` 工具委派任务的入口。 |
18
+ | **MCP 工具** | 接入插件声明的 MCP 连接器,配置服务地址、鉴权、请求头和环境变量,查看工具能力并逐个控制启用状态。 |
19
+ | **Hooks 钩子** | 读取插件的 Hooks 配置文件,注册到 DSH 的钩子桥接服务,并随插件启停。 |
20
+ | **LSP 语言服务** | 读取插件声明的语言服务器配置,在服务器程序可用时注册到 DSH;缺少程序时提供相应提示。 |
21
+
22
+ ### 从发现到管理插件
23
+
24
+ - **浏览多个插件市场**:内置 Claude 官方插件源(`anthropics/claude-plugins-official`),支持添加 Claude 与 Codex 插件市场,以及包含独立插件的 Git 仓库。
25
+ - **导入自己的插件和技能**:支持本地目录、Git 地址、压缩包和单个 `SKILL.md`;技能集合可以按独立技能解析和导入。
26
+ - **统一管理插件生命周期**:安装、更新、启用、停用和卸载插件时,同步处理对应的技能、MCP 连接器、Hooks 与 LSP 注册。
27
+ - **集中管理 MCP 服务器**:在同一页面查看手动添加的服务器与插件提供的连接器,编辑配置、展开工具列表,并管理单个工具的开关。
28
+
29
+ ## 界面预览
30
+
31
+ 插件以图标卡片展示,配合来源标签、搜索、筛选和排序,方便查找插件与查看安装状态。界面跟随 DSH 切换浅色和深色主题;插件及工具的悬停预览支持滚动阅读与文字选择,展开的 MCP 工具以状态标签排列。目录和图标缓存让再次浏览时能更快看到内容。
32
+
33
+ ![主界面预览](assets/hero.png)
34
+
35
+ ## 安装
36
+
37
+ 支持 DeepSeek Harness 桌面端和命令行 Web profile。
38
+
39
+ ### DeepSeek Harness 桌面端
40
+
41
+ 1. 打开 DeepSeek Harness 客户端。
42
+ 2. 进入**设置** -> **插件**。
43
+ 3. 点击 **添加插件**,在输入框中填写包名:
44
+ ```text
45
+ universal-plugin-hub
46
+ ```
47
+ 4. 点击安装。
48
+
49
+ ### 命令行安装
50
+
51
+ 在终端执行:
52
+
53
+ ```bash
54
+ dsh plugin add universal-plugin-hub
55
+ ```
56
+
57
+ ## 使用方法
58
+
59
+ 1. **浏览和安装**:按名称或关键词搜索,选择插件源,点击插件卡片上的 **安装**。
60
+ 2. **添加插件市场**:打开 **+** 菜单,选择 **添加插件市场**,输入 Claude 或 Codex 仓库地址,查看解析结果后添加。
61
+ 3. **导入插件或技能**:在 **+** 菜单选择 **上传插件**,填写本地路径或 Git 地址,或选择支持的文件,查看预览后确认导入。
62
+ 4. **管理已安装插件**:点击插件卡片上的 **管理**,配置连接器、管理能力、更新或卸载插件。
63
+ 5. **使用 MCP 工具**:进入 **MCP** 页查看服务器和插件连接器,展开服务器工具列表,查看工具说明并控制启用状态。
64
+
65
+ 安装提供 Skills 或 Commands 的插件后,可以在 DSH 输入框的 `/` 菜单中找到相应技能。安装带有 MCP 的插件后,可以在 MCP 页的 **来自插件** 分组中配置连接器并查看工具。
66
+
67
+ ## 支持的内容
68
+
69
+ | 内容 | 识别结构 |
70
+ | --- | --- |
71
+ | Claude 插件市场 | `.claude-plugin/marketplace.json` |
72
+ | Codex 插件市场 | `.agents/plugins/marketplace.json` |
73
+ | Claude 插件 | `.claude-plugin/plugin.json` |
74
+ | Codex 插件 | `.codex-plugin/plugin.json` |
75
+ | Agent Skills | `SKILL.md` 文件、技能目录或多个技能目录组成的集合 |
76
+
77
+ 文件上传支持 `.zip`、`.tgz`、`.tar.gz` 和 `SKILL.md`,单次上传上限为 22 MB。较大的压缩包可以解压后通过目录路径导入。含脚本或其他资源的技能请导入完整目录或压缩包,以保留可用的相对路径。
78
+
79
+ ## 本地数据与目录结构
80
+
81
+ - **Hub 插件本体**:`~/.dsh/profiles/desktop/node_modules/universal-plugin-hub`
82
+ - **市场内安装的插件**:
83
+ - 插件安装目录:`~/.dsh/agent-skills/universal-plugin-hub/installed/<plugin-name>`
84
+ - 插件源 Git 缓存:`~/.dsh/agent-skills/universal-plugin-hub/market/<source-id>`
85
+ - 插件源与安装记录:`~/.dsh/agent-skills/universal-plugin-hub/state.json`
86
+ - **运行时配置补丁**:`~/.dsh/profiles/<profile>/cordis.patch.yml`
87
+
88
+ `~/.dsh` 为默认数据目录;设置 `DSH_HOME` 后,路径随该配置调整。
89
+
90
+ ## 开源协议
91
+
92
+ [MIT License](./LICENSE)
Binary file