Introduction¶
DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture: model calls, interfaces, and toolchains are often integrated into the profile via Cordis plugins. Community directories (such as skillhub.cn) facilitate plugin discovery, but inclusion does not imply capability scanning or security endorsement; a common path in the ecosystem is to “install first, and roll back the entire profile if issues arise.” For developers who frequently switch plugins or modify patches, what is missing are pre-installation readable inspection reports, change plans that can be approved item-by-item, and backups with post-installation verification.
The following introduces the workflow plugin dsh-install-review (Pre-install Review) by maintainer GIN0076: perform a read-only review of the target package before clicking install, allowing you to approve the change plan, automatically back up, and then install and verify.
What is this¶
dsh-install-review is positioned as a review gate before DSH plugin installation—auditing, approving change plans, backing up, and then executing the installation.
- Maintainer: GIN0076
- Category: Workflow
- License: MIT (consistent in package.json and README)
- Current package version: 1.3.0 (
@local/dsh-install-review) - Compatibility: DeepSeek Harness 0.2.0-rc.2 (tested version noted in README)
- Runtime dependencies: 0; does not modify host source code (README badge: host source changes 0)
The plugin itself integrates via dsh.bundle (patch) and dsh.client (web interface); it does not modify third-party plugin source code, but only touches four categories of your own configuration: source, version, build approval, and profile configuration.
Core Features¶
13–14 Read-only Checks¶
After inputting the package identifier, the panel generates a review report within seconds. All checks are read-only and mainly include:
| Direction | Content |
|---|---|
| Local | DSH version and profile (paths automatically masked for easier screenshot sharing) |
| Official inspect | dsh.bundle / dsh.client / dsh.tool / dsh.page / dsh.configForm under pluginManager.inspect |
| Compatibility & Manifest | Peer resolution (including includePrerelease); directory listing, repository, stars, 30-day downloads (does not pass off repository stars as package stars) |
| Installation & Conflicts | Installed/Not installed; whether loader ID conflicts with existing lines (duplicate IDs may cause host startup crashes) |
| Patch & Slots | Whether override line targets exist, whether they are double-rewritten by other plugins; slot vs. local directory comparison (packaged desktop versions read compiled directories inside app.asar; if it cannot run, it warns instead of silently allowing) |
| Risk Signals | Installation scripts (prepare / postinstall, etc.); terminal-related descriptions; both engines.dsh and dsh.engines.dsh notations; wording about modifying host core in descriptions; 10 types of capabilities and red-line sentences in the manifest (Chinese translations; if unmarked, it states “upstream capability unmarked”) |
The README emphasizes: unmarked capabilities in the manifest do not mean safety; if a Block occurs, the default correct action is not to proceed with the installation.
Closed Loop: Review → Plan → Approve → Modify → Install → Verify¶
- Review: Input npm package name,
owner/repo,github:owner/repo, or GitHub link to generate a report. - Plan: Lists only executable changes; they are executed only when checked; “Select All / Select None” appears next to the title. Typical items include: pinning or updating versions, granting an exemption for this specific pair of versions after confirming risk when peers are incompatible, switching download sources, enabling loader lines declared by the package but not enabled, approving build scripts blocked by pnpm, writing profile configuration via
configEditor(templates are pre-filled by merging package patch defaults with existing configuration), switching git sources to pinned npm packages, etc. - Your Suggestions: Write the modification intent in “Your Suggestions” → “Copy report to me for review” → Paste the revised JSON returned by the session into “Import Revision” (mismatches will be rejected; importing cannot replace your check on “Accept Risk”).
- Execute: Back up
package.json,cordis.patch.yml,pnpm-workspace.yaml,cordis.ymlfirst (includingcompatibility.jsonif exemption records exist), then apply approved items and install. - Verify: In addition to installation status and loader IDs, it checks if patch lines are active, if bundles are selected, if the browser half has entered the client module graph, and provides readable conclusions (e.g., dsh restart required).
The built-in Chinese manifest snapshot (4377 entries according to README) supports server-side search, categorization, and sorting, facilitating package selection from directories for review.
Handling after Red Flags (Prescription vs. Hard Block)¶
- Peer Incompatibility: The panel guides the user to grant a precise version exemption for “Package@Version + Current DSH Version” via official channels; manual risk confirmation check is required; exemptions are revocable and expire after version changes or DSH upgrades.
- engines.dsh Mismatch: Still a block, but the report explains that the host installation path primarily checks
peerDependencies, and provides options like “Confirm Install” or switching to a version that meets the range. - Hard Block: Manifest unreadable, missing
dsh.bundle, loader ID collision, etc.; the report clearly suggests not installing.
Boundary Description¶
This is a pre-installation health check, answering “can it be installed, and what configurations and capability surfaces will it touch.” It cannot replace manual judgment regarding source and code. The plugin runs with the current dsh process privileges; you should still view the repository, license, and maintainer information yourself before installing any plugin.
Installation and Activation¶
For Web profiles, the installation command provided in the README is:
dsh plugin --profile web add github:GIN0076/dsh-install-review
Description:
- Requires DeepSeek Harness 0.2.0-rc.2 and a web profile or desktop version.
- Zero runtime dependencies, no build steps, no postinstall.
- Executing only
addplaces the repository innode_modulesbut does not automatically mount the interface; you also need to add@local/dsh-install-reviewto the profile’sdsh.profile.bundlesand add the corresponding insert line incordis.patch.yml. - After completion, restart
dsh web, then hard refresh (Ctrl+Shift+R) → Settings → Plugin Pre-install Review.
Desktop Version (Packaged App): Settings → Plugins → Add Plugin, fill in the local directory path (or point to the directory via the plugin management tool’s install_bundle). The official packaged version does not have a browser-style hard refresh; client-side changes can often be hot-updated, while the Host side can be reloaded via the README’s remove_bundle + install_bundle replacement process. If you do not want to use git, you can copy the repository locally, use install_bundle, and perform the same two profile configurations.
Uninstallation: Settings → Plugins → Remove, or remove_bundle. Uninstallation does not delete backups created before execution; the default directory is install-review-backup under the profile (can be adjusted in the line config’s backupDir).
Typical Usage¶
- Open the Plugin Pre-install Review panel.
- Input the target in the review box, e.g., an npm package name,
GIN0076/some-repo, orgithub:GIN0076/dsh-install-review. - Read the blocks, warnings, and capability/red-line translations in the report; search the manifest page for the same plugin’s listing information if necessary.
- Only check the items you accept in the change plan; if there is a peer red flag and you still want to install, first check “I have read and accept the risks” and then enable exemption-type items.
- Execute the installation and view the post-installation verification conclusion; if pnpm blocks build scripts, use “Approve
<package name>build scripts and retry” in the panel. - If you want AI to help modify checks and parameters: fill in “Your Suggestions” → Copy report to session → Import the returned revised JSON.
Use Cases and Notes¶
Suitable for: Those who need to frequently try installing plugins from community directories or GitHub and want unified peer/loader/patch checks; those who want backups and approvable change lists before modifying profiles; those who want to confirm post-installation that bundles and patch lines are actually in effect.
Notes:
- Community directories (such as skillhub.cn plugin page) have no official affiliation with DeepSeek / High-Flyer. Stars and download counts are snapshot data, based on the time of capture by the page and the review report.
- All green does not guarantee harmless; automated checks cannot replace your trust judgment regarding plugin sources.
- Installation and activation steps involve profile and patch editing; confirm that the current profile is under version control or has other backup habits before operating.
Links¶
- Community Directory: https://www.skillhub.cn/plugins/GIN0076/dsh-install-review
- Source Code & Documentation: https://github.com/GIN0076/dsh-install-review