Introduction¶
The core philosophy of DeepSeek Harness is “everything is a plugin.” In existing workflows, obtaining plugins usually requires relying on official catalogs or cumbersome manual configuration. dsh-github-installer solves this pain point by allowing developers to paste a GitHub repository URL, npm package name, or GitLab/Gitee address and directly install, uninstall, or update plugins, following the standard dsh plugin add github:… protocol.
What It Is¶
dsh-github-installer is an online tool plugin maintained by yhPrime. It is built on the dsh-std Community v0.15 standard component and aims to simplify the distribution and management process for plugins. With this plugin, users can bypass complex dependency configuration and obtain plugins directly from mainstream code hosting platforms.
Installation and Enablement¶
Before using it, ensure the adapter is installed. After installation, restart DSH for changes to take effect.
- Install the adapter (standard protocol runtime):
dsh plugin --profile web add @dsh-std/adapter-dsh
- Install this plugin:
dsh plugin --profile web add github:yhPrime/dsh-github-installer
- Restart DSH. The component will appear in the list under Settings → Plugins → Standard Components, and a “Plugin Installation” page will appear in the sidebar of the settings page.
Core Features¶
- Multi-source installation support: Supports installation from sources such as GitHub, npm, GitLab, and Gitee.
- Automatic installation-type recognition: After installation, it automatically reads declarations inside the package to identify the installation type (bundle/host patch, std/standard component, ordinary dependency).
- Dual interaction modes:
- Settings-page UI: Integrated into settings, interacting with the host via a sessionless same-origin HTTP API.
- Chat tool: Provides the
manage_plugintool and supports operations in chat.
Typical Usage¶
Chat Tool¶
Use the manage_plugin tool to perform operations. target can be a repository URL, package name, or plugin package name.
# 安装
install https://github.com/owner/repo
install github:owner/repo#path:/subdir
install dshmarket
install https://gitlab.com/group/repo
# 卸载与更新
uninstall dsh-some-plugin
update dsh-some-plugin
# 查询
status
Standard Commands¶
The following standard commands are supported and can be used in chat or automation scripts.
/ghp-install <target>
/ghp-uninstall <name>
/ghp-update <name>
/ghp-list
/ghp-list-full [force]
/ghp-status
/ghp-cancel
Notes¶
- Dependencies and restart: Install the adapter
@dsh-std/adapter-dshfirst before installation; DSH must be restarted after installation for changes to take effect. - Protected packages:
@deepseek-ai/*,@dsh-std/*,dshmarket, and this plugin itself are protected packages and cannot be uninstalled. - Network and permissions: This plugin requires internet access; it runs with the permissions of the current DSH process. Check the source code and license before installation.
Summary¶
dsh-github-installer achieves automation and visualization of plugin installation through the standard protocol and a sessionless HTTP API. For developers who frequently manage or test third-party plugins, it provides a more efficient and standardized solution than manual configuration.