Plugin directory / Developer / dsh-host-web-compat
dsh-host-web-compat
Verified · install-tested on dsh kelai141
What it does
dsh-host-web-compat — DSH plugin (tools)
Works — verified, early-stage project
dsh-host-web-compat — DSH plugin (tools) It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-host-web-compat
[🌐 中文说明 / 中文 README](README.zh.md) > **DeepSeek Harness × Android 生态** · https://github.com/kelai141/dsh-mobile-apk(壳 APK)· https://github.com/kelai141/dsh-shell-termux(shell)· https://github.com/kelai141/dsh-client-ui-responsive(移动 UI) Host plugin for https://github.com/deepseek-ai/deepseek-harness that injects legacy-browser polyfills into every served page via the webservertapIndex hook. Fixes the
in-app directory picker and other RPC flows on older WebView/browser kernels.
Background
Old kernels (e.g. MuMu's bundled browser, older WebViews) lackAbortSignal.any(), which breaks
the workspace directory picker's concurrent RPC cancellation (list renders empty). This plugin
injects idempotent polyfills at the HTML level — no browser-side changes needed.
Quick start
**1. Install** — package into the profile's node_modules. **2. Mount** — in the profile'scordis.patch.yml:
``yaml
- insert:
- id: web-compat
name: '@dsh-android/dsh-host-web-compat'
disabled: !!js process.platform !== 'android'
`
**3. Restart** the service; the picker works again in old kernels.
Polyfills injected
| API | condition | note |
|---|---|---|
| AbortSignal.any | missing | Chrome 116+ / Node 20.3+; older WebViews need it |
| structuredClone` | missing | Chrome 98+ / Node 17+ |
Idempotent: skipped when already present.
Notes
- Keep this plugin even in the shell-APK form as a last-mile fallback for old system WebViews. - If you move to a native SAF picker, the page still benefits from the other polyfills.License
MIT.Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-host-web-compat for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:kelai141/dsh-host-web-compat Headless (CLI) profile:
dsh plugin --profile headless add github:kelai141/dsh-host-web-compat Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.
When to use it
Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.
Who it's for
Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.
For developers — extending it
The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.