dshbase

插件目录 / Developer / dsh-host-web-compat

dsh-host-web-compat

已验证 · 实测可装 kelai141

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
unknown语言
2026-08-16最近推送
跨平台平台

功能简介

dsh 宿主插件——经 webserver 钩子向页面注入旧内核浏览器 polyfill。

✅
我们的评价
可用 — 实测通过,早期项目

dsh 宿主插件——经 webserver 钩子向页面注入旧内核浏览器 polyfill。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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 webserver tapIndex 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) lack AbortSignal.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's cordis.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.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-host-web-compat」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →