dshbase

Plugin directory / UI & Skins / dsh-web-compat

dsh-web-compat

Verified · install-tested on dsh Visol-456

✓ Actively maintained Builds on 4 official DSH packages

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
—Language
2026-08-15Last push
Cross-platformPlatform

What it does

DeepSeek Harness Web 兼容插件:非 secure context 下注入 crypto.randomUUID polyfill,修复局域网 HTTP 访问时附件上传崩溃 | Web compat for DeepSeek Harness UI: crypto.randomUUID polyfill for plain-http LAN access

✅
Our take
Works — verified, early-stage project

DeepSeek Harness Web 兼容插件:非 secure context 下注入 crypto.randomUUID polyfill,修复局域网 HTTP 访问时附件上传崩溃 | Web compat for DeepSeek Harness UI: crypto.randomUUID polyfill for plain-http LAN access 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

@visol-456/dsh-web-compat

DeepSeek Harness Web 兼容插件:修复通过局域网纯 HTTP(非 secure context)访问 dsh web 时,官方会话界面添加图片附件调用 crypto.randomUUID() 崩溃的问题,并在设置页新增「Web 兼容」状态面板。

原理

  • 浏览器仅在 secure context(HTTPS、localhost、127.0.0.1)暴露 crypto.randomUUID()。
  • 通过 http://192.168.3.2:3080 访问时属于非 secure context,crypto.randomUUID 为 undefined。
  • crypto.getRandomValues() 在非 secure context 仍可用,因此插件在 client bundle 模块顶层立即注入 UUID v4 polyfill。
  • 插件同时注册 Settings 新 section「Web 兼容」,显示当前是否 secure context 以及 randomUUID 来源。

使用

dsh plugin add @visol-456/dsh-web-compat

开发

npm install
npm test
npm run build

License

MIT

Install

🧩 Let your agent install it (recommended)

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-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:Visol-456/dsh-web-compat

Headless (CLI) profile:

dsh plugin --profile headless add github:Visol-456/dsh-web-compat

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in UI & Skins

Browse all 7819 plugins →