AcidGr/dsh-web-lan-access

AcidGr★ 4JavaScriptLast synced: 2026-08-15

Open on GitHub

DeepSeek Harness (dsh) Web plugin

README excerpt

dsh-web-lan-access LAN / remote access support for the DeepSeek Harness Web UI. The problem The Web UI calls crypto.randomUUID() in boot-critical paths (RPC id minting, message ids, draft attachments). That Web API exists only in secure contexts (HTTPS, or http://localhost / http://127.0.0.1 ). When the UI is served over plain HTTP from a non-loopback address — a LAN IP, a Tailscale IP, or a hostname — crypto.randomUUID is undefined , every RPC throws, and sessions and models never render . The fix A host-side plugin that uses the webserver's official index-tap extension point ( webServer.tapIndex ) to inject a small polyfill (RFC 4122 v4 built on crypto.getRandomValues , which is available on insecure origins) as the first script in , before the boot manifest and the shell entry. On secure origins the polyfill is a no-op. - No product source modified; fully reversible - Version-independent (it only transforms the served index.html ) - Platform-independent (Linux / macOS / Windows / Android) Install Bundle install (recommended) Installed from npm: (No npm / local development — point pnpm at the repo instead: ) Restart dsh web , then hard-refresh the browser. Manual install (no pnpm…

View full README on GitHub →
Tools / Devdeepseek-harnessdshdsh-pluginweb ui

Category