설치
npx -y @deepseek-ai/dsh plugin --profile web add github:kelai141/dsh-host-web-compat이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
README
유지 관리자가 작성한 문서 스냅샷입니다.
dsh-host-web-compat
DeepSeek Harness × Android 生态 · dsh-mobile-apk(壳 APK)· dsh-shell-termux(shell)· dsh-client-ui-responsive(移动 UI)
Host plugin for 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:
- 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.
저장소 정보
- 언어
- JavaScript
- 라이선스
- MIT
- 마지막 업데이트
- 2026. 8. 18. 오후 12:17
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.