Foreword¶
DeepSeek Harness (DSH) released official packages such as LSP, Browser, and GitHub webhook on npm with version 0.2.2-rc.1, but the patch in the default profile often lacks the corresponding mount lines: after installation, there is no lsp tool, no browser provider, no webhook entry point, and there is no explanation of why they are missing. If you edit cordis.patch.yml yourself, you also have to align dependency versions and seam syntax, and when it fails, it often stops at errors like ERR_MODULE_NOT_FOUND.
@leiboss/dsh-wiring is released by community maintainer leiboss, categorized as a workflow plugin; it does not rewrite the tool interface but only inserts nine lines of official wiring into the profile, and configures a read-only <capability>_status diagnostic for each of LSP, Browser, and GitHub Webhook. Below is an introduction to its positioning, capabilities, installation, and attention points.
What is this¶
In one sentence: dsh-wiring mounts the official capabilities that were released with DSH but are not wired by default, and provides copy-pasteable repair suggestions when they are missing.
| Item | Description |
|---|---|
| npm package name | @leiboss/dsh-wiring |
| Current version (docs) | 0.4.1 |
| Engine requirement | dsh >=0.2.2-rc.1 <0.3.0-0 |
| License | MIT |
| Directory page | https://www.skillhub.cn/plugins/leiboss/dsh-wiring |
| Source code | https://github.com/leiboss/dsh-wiring |
Core Capabilities¶
The README summarizes three groups of capabilities and corresponding tools in a table:
| Capability | Status | Model Tool | Diagnostic Tool |
|---|---|---|---|
| LSP (TypeScript, a language server) | Wired | lsp |
lsp_status |
| Browser (Playwright, provider disabled by default) | Wired | mcp__playwright-mcp__* |
browser_status |
| GitHub Webhook (signature entry disabled by default) | Wired | New session (triggered by pull_request) |
webhook_status |
What is Mounted¶
After installing the bundle, nine lines are inserted into the profile, including: LSP seam, TypeScript provider, official lsp tool, this package’s doctor; browser seam and Playwright provider; webhook runtime, pull_request rule, and signature entry. All line IDs start with wiring- and do not overwrite your own patch lines.
What the Diagnostic Tools Do¶
lsp_status: Probes whetherctx.get('lsp')is mounted and whethertypescript-language-serveris in PATH; on failure, it provides an installation command; on success, it reports the resolved absolute path.browser_status: Reports the seam and Chromium candidates; on failure, refer tonpx playwright install chromium.webhook_status: Explains whether the webhook-related mounting and entry are ready.
The diagnostics do not write configuration, connect to the network, install binaries, or perform I/O during the apply() phase.
What it Deliberately Does Not Do¶
- Does not do UI, config pages, or auto-install language servers.
- LSP only mounts 4 official read-only operations; for completion, formatting, renaming, etc., refer to
dsh-lsp-actions. - Does not include built-in browser, webhook, or TTS; the official webhook runtime is fire-and-forget with no persistent queue.
Installation and Activation¶
Installation inside a DSH Session (Recommended)¶
Execute the following inside a DSH session:
plugin_manager action: install_bundle target: "@leiboss/dsh-wiring@0.4.1"
# Restart the profile; the bundle patch takes effect on the next startup
After successful installation, the profile must be restarted, and the patch takes effect on the next startup.
Fixed Version or Offline Distribution¶
pnpm pack # Generates leiboss-dsh-wiring-<version>.tgz
plugin_manager action: install_bundle target: "<absolute path>/leiboss-dsh-wiring-<version>.tgz"
Do not install directly from a directory: install_bundle registers a pnpm link: for the directory. Linked packages do not install their own dependencies, so the seven official dependencies cannot enter the profile, and relevant lines will fail with ERR_MODULE_NOT_FOUND. Please use a tarball or install by package name.
When installing, pnpm may show warnings such as missing peer @deepseek-ai/dsh-llm@0.2.2-rc.1. The README states this is expected behavior; success should be judged by whether cordis_inspect_query(Config) can retrieve @deepseek-ai/dsh-lsp-stdio, not by eliminating peer warnings. Do not run npm install in the repository just to clear warnings—the package has zero dependencies and zero build steps.
LSP Prerequisites (LSP Only)¶
dsh-lsp-stdio works via tsserver, which only resolves from the session workspace. Please install typescript inside the session workspace:
npm install --save-dev typescript@5
And globally install typescript-language-server. Installing TypeScript globally only is not enough (you will get Could not find a valid TypeScript installation); TypeScript 7 does not contain lib/tsserver.js and is not supported.
Post-Installation Verification¶
Execute the LSP, Browser, and Webhook sections in the repository docs/VERIFY.md; this includes failure scenarios explaining that “the session can still be created when the language server is missing.”
Typical Usage and Default Strategies¶
Use Status Tools to Identify Missing Components¶
After installing the bundle and restarting the profile, call lsp_status, browser_status, and webhook_status in the session. Fill in the environment based on the returned installation commands or paths, and then retest according to the VERIFY documentation.
Reason Browser is Disabled by Default¶
@deepseek-ai/dsh-experimental-browser-use-playwright-mcp initializes before session creation; if it fails, it will directly reject creating or restoring a session. Therefore, wiring-browser-playwright has disabled: true: the default installation does not affect existing workflows. Enabling is an explicit choice; after enabling, you must open a new session, and loaded providers will not take over existing sessions.
Reason Webhook Entry is Disabled by Default¶
The signature entry requires a webhook secret and a TLS reverse proxy, which usually do not exist by default. wiring-webhook-github has disabled: true; the runtime and pull_request rules will still be mounted (not listening on a port). Before enabling, save the secret as a credential (key name consistent with secretEnv) and ensure that /webhook/github is not proxied and is directly accessible from the public network. The adapter returns 202 to indicate verified and dispatched, not guaranteeing that a session has been created; duplicate delivery is silently discarded within a 10-minute window based on deliveryId.
Webhook rules can be mounted via the subpath @leiboss/dsh-wiring/rule (see src/rule.js).
Applicable Scenarios and Notes¶
Suitable For¶
- Want to use the official LSP / browser / webhook packages without maintaining a rewritten tool interface.
- Need to “know what’s missing after installation” using three
*_statustools and copy-pasteable commands. - Teams or shared machines: dangerous capabilities are disabled by default; not being able to create a session just because the browser isn’t installed should not be an issue.
Not Suitable For¶
- Need LSP completion, formatting, renaming (this package’s read-only operation surface is insufficient).
- Need a persistable, replayable webhook queue.
- Expect the browser to “just work” and do not accept the default disabled strategy.
Security and Permissions¶
The plugin runs with current DSH process permissions; you should read the GitHub repository source code and the MIT license before installing to ensure the patch lines and dependency sources meet your compliance requirements. Before enabling the browser or public webhooks, you should separately evaluate process permissions and network exposure.
SkillHub and other community directories are independent sites with no official affiliation with DeepSeek / Synflow. The facts in this article are based on the repository README, package.json, and documentation.
Conclusion¶
The value of dsh-wiring lies in: Wire what ships. Diagnose what doesn’t.—wiring the three groups of official capabilities released with DSH into the default profile, and using read-only diagnostics to explain the reasons and next steps when LSP, browser, or GitHub webhook are missing or partially ready. Browser and webhook signature entries are disabled by default to avoid unintended damage to session creation.
- Plugin directory: https://www.skillhub.cn/plugins/leiboss/dsh-wiring
- Source code and installation details: https://github.com/leiboss/dsh-wiring