rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Toukaiteio/dsh-plugin-installer
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
An in-app marketplace and Profile switcher for DeepSeek Harness.
DSH Plugin Installer adds a Plugin marketplace tab to the official Web UI under Settings → Plugins. It discovers repositories from the GitHub dsh-plugin and dsh topics, verifies that a repository is a real DSH bundle, installs it at a pinned commit, and helps users open another Web Profile without leaving the UI.
The project intentionally keeps the interface compact and newcomer-friendly. It uses the official Web UI slot and design-token system, with no separate administration page, emoji, or gradient backgrounds.
dsh-plugin and dsh topics.package.json validation for dsh.bundle.patch before installation..tgz build artifact whenever available; source installs are allowed only when the checked-in JavaScript entry exists.>=22.19.0>=100.2.0-rc.2 or a compatible releaseOn Windows, run the PowerShell installer directly. It downloads the latest stable GitHub Release, verifies its SHA-256 digest when available, keeps the archive under DSH_HOME/plugin-archives/dsh-plugin-installer/ for future dependency resolution, installs it into a DSH Profile, and starts DSH Web for the web Profile:
irm https://raw.githubusercontent.com/Toukaiteio/dsh-plugin-installer/main/scripts/Install-DshPluginInstaller.ps1 | iex
-Profile selects the target Profile. The values web, work, or any other name you create install through the dsh command on PATH; the reserved desktop Profile is installed through the launcher bundled with the DeepSeek Harness Desktop installation, which the script locates from the installed application (or an explicit -DshCommand). After a desktop installation, restart DeepSeek Harness Desktop — its Profile composition is read at startup, so the marketplace appears only after the restart.
If GitHub replies with an anonymous rate-limit error, set GITHUB_TOKEN and run the script again.
Open Settings → Plugins → Plugin marketplace → GitHub request settings and paste a GitHub token when the anonymous API limit is reached. The token is never returned to the browser after saving. It is stored in:
$DSH_HOME/config/dsh-plugin-installer.json
If DSH_HOME is not set, DSH's default home directory is used. Saving an empty value clears the token saved by this plugin. For unattended installation, the server-side GITHUB_TOKEN environment variable is also supported and is used when no plugin-saved token is present.
If the marketplace cannot reach GitHub with a local HTTPS accelerator or proxy such as FastGitHub or steamcommunity_302, and the UI reports that GitHub's TLS certificate could not be verified, the proxy's root CA may be trusted by Windows but not by Node.js. This is documented and reproduced in Issue #1; thanks to alphaqwqwq for reporting and validating it.
Fully exit DSH, then set Node.js to use the Windows system CA before starting DSH again in the same Windows CMD window:
set "NODE_OPTIONS=%NODE_OPTIONS% --use-system-ca"
dsh web
The option requires Node.js 22 or newer, and the accelerator's root certificate must still be installed and trusted in Windows. Do not use NODE_TLS_REJECT_UNAUTHORIZED=0 to bypass certificate verification.
For another Profile or to prevent DSH Web from starting, download the script first so its parameters can be passed explicitly:
$script = "$env:TEMP\Install-DshPluginInstaller.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/Toukaiteio/dsh-plugin-installer/main/scripts/Install-DshPluginInstaller.ps1 -OutFile $script
& $script -Profile work -NoStart
& $script -Profile desktop
On macOS or Linux, download the Bash installer and run it. It follows the same release download, checksum verification, installation, and start flow as the Windows installer:
curl --fail --location --remote-name https://raw.githubusercontent.com/Toukaiteio/dsh-plugin-installer/main/scripts/install-dsh-plugin-installer.sh
bash ./install-dsh-plugin-installer.sh
It requires bash, curl, and Node.js in addition to DSH. Use --profile for another Profile, or --no-start to install without starting DSH:
bash ./install-dsh-plugin-installer.sh --profile work --no-start
As on Windows, --profile desktop installs the package through the launcher bundled with the DeepSeek Harness Desktop application (auto-detected under /Applications or the standard install roots, or passed explicitly with --dsh PATH), and the desktop application must be restarted afterwards. --dsh PATH also overrides auto-detection for any other Profile.
Build or download the package archive from the latest GitHub Release, then add it to the Profile you use:
dsh plugin --profile web add ./dsh-plugin-installer-<version>.tgz
dsh web
The desktop Profile can only be managed by the launcher inside the DeepSeek Harness Desktop installation; the npm dsh CLI refuses it:
# macOS: /Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh
# Windows: <install>\resources\runtime\cli\bin\dsh.cmd
"<desktop-install>/resources/runtime/cli/bin/dsh" plugin --profile desktop add ./dsh-plugin-installer-<version>.tgz
For local development only, a source checkout can still be installed directly from a GitHub revision after the repository has been published. The checkout must already contain its built lib/ directory:
dsh plugin --profile web add github:Toukaiteio/dsh-plugin-installer#<commit>
dsh web
Open Settings → Plugins → Plugin marketplace after the Web UI starts.
The marketplace treats a GitHub topic as a discovery hint, not as a trust decision. When a user chooses Install, the host side:
package.json.dsh.bundle.patch declaration.<package-name>-<version>.tgz Release asset, verifies its digest when available, and keeps it under DSH_HOME/plugin-archives/ before installation.The marketplace installs built Release archives when available, so a source repository's prepare script is not used in that path. The guarded source fallback remains subject to DSH/pnpm lifecycle-script behavior.
If a repository has neither a usable Release archive nor a verifiable built JavaScript entry, the marketplace refuses the installation and explains why. A source fallback that needs a prepare build script requires an explicit per-plugin confirmation.
The marketplace follows the language selected in DSH Settings → General → Language. It also formats repository dates in that language.
The Installed plugins section is scoped to the selected Profile. On page load, it compares marketplace-installed plugins with the repository's latest Release when one is available, otherwise with the current source commit:
plugin remove command so the Profile bundle list is reconciled with the package state.After updating or removing a plugin from the active Web Profile, use Restart DSH now to apply the new bundle stack.
The Profile controls are designed around DSH's local Web process model:
@deepseek-ai/dsh-base plus @deepseek-ai/dsh-web-app) and this installer, then opens it.Two DSH 0.2 behaviors shape the launch path. The Web URL now carries a one-time launch token (http://127.0.0.1:<port>?token=…) that the index request exchanges for the browser session cookie, so the marketplace navigates to the complete printed URL rather than the bare origin. And dsh web opens the operating system's default browser by default, so the marketplace launches with --no-open and navigates the current tab itself. Older releases that do not know that flag are retried without it.
The desktop Profile is reserved by the desktop application, and the npm dsh CLI refuses dsh plugin --profile desktop … and dsh --profile desktop outright. The marketplace lists it but disables install, update, remove, open, and restart for it, because the marketplace itself runs the npm-installed CLI. Installing into desktop is still possible from outside the app with the one-click scripts or the launcher that ships inside the DeepSeek Harness Desktop installation, which the desktop application grants permission to manage that Profile; restart the application afterwards to compose its Profile with the new layer.
pnpm install
pnpm check
pnpm build
pnpm pack
Individual commands:
pnpm typecheck
pnpm test
pnpm test:integration
pnpm build
The package commits its lib/ output because DSH can install a plugin directly from a Git repository without running a build step first. Local .tgz archives, dependencies, caches, and environment files are excluded by .gitignore.
This repository includes SKILL.md, a practical workflow skill for using the marketplace and authoring a compatible DSH bundle.
A minimal DSH plugin bundle needs:
package.json with dsh.bundle.patch.cordis.patch.yml that inserts the host module.apply(ctx).dsh.client declaration and ./client export for Web UI code.For a native DSH Skill, create a SKILL.md with YAML frontmatter and place it in a directory discovered by DSH, such as $DSH_HOME/skills/<skill-name>/SKILL.md. A Skill describes instructions and workflow; a Plugin changes the Harness runtime or UI.
GitHub topics are not a security review or an endorsement. The installer validates the bundle shape and pins the selected commit, but it cannot audit third-party source code. Review a repository before installing it, especially when it requests an install or build script.
The GitHub API token is read on the server only. It can come from the marketplace settings or the server-side GITHUB_TOKEN environment variable; it is never sent back to the browser. The saved token is written under the current DSH_HOME and is protected with the current user's profile permissions. Use a token with the minimum permissions needed for public repository metadata.
GitHub Actions runs the full verification suite on pushes to main and on pull requests. It also uploads the generated .tgz as a short-lived CI artifact.
Pushing a matching version tag creates a GitHub Release and attaches the package archive:
git tag v0.1.6
git push origin v0.1.6
The release workflow rejects a tag when its version does not match package.json.
Stable releases use MAJOR.MINOR.PATCH and are tagged and published, for
example 0.1.13 / v0.1.13. Iterative local test packages use the next patch
version with a development suffix, such as 0.1.13-dev.1, then
0.1.13-dev.2. This keeps every locally installable package distinct without
creating an unnecessary stable Release for each small change.
Development packages should normally remain local and untagged. If a pre-release tag is intentionally pushed, the release workflow publishes it as a GitHub pre-release; the one-click installers still select the latest stable Release.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。