Lehmaning/dsh-randomuuid-polyfill

dsh client plugin that installs crypto.randomUUID on insecure origins (plain HTT

A client plugin that installs crypto.randomUUID when the page is not a secure context. crypto.randomUUID is gated to secure contexts (HTTPS or localhost), so when the dsh web UI is served over plain HTTP on a LAN address every client RPC throws TypeError: crypto.randomUUID is not a function — the workspace picker is the first place people hit it, because choosing a workspace issues a listDirectory RPC. This plugin polyfills the function so LAN deployments work.

Web UI Enhancements ★ 1 updated 2026-08-14 ✅ runtime-tested
View on GitHub ↗

Install

npm install <path-to-this-package>

Clone the repo, pnpm build, then npm install <path-to-this-package> into the harness environment and start the web UI (README documents the manual install; no npm package — npm 404 verified 2026-08-30).

Compatibility

DSH web profile (client plugin); activates only on insecure origins (plain HTTP on LAN addresses); zero runtime deps; MIT.

Details

Recent updates

crypto.randomUUID polyfill for insecure origins; fixes LAN-HTTP RPC crashes (workspace picker / listDirectory); zero deps.

FAQ

Why is this needed?
crypto.randomUUID is gated to secure contexts; on plain-HTTP LAN deployments every client RPC throws, starting with the workspace picker's listDirectory call.
When does it activate?
Only when the page is not a secure context — HTTPS and localhost pages are untouched.
How is it installed?
Clone the repo, run pnpm build, and npm install <path-to-this-package> into the harness environment, then start the web UI.

Alternatives

hexbee/dsh-skill-panel · TecFancy/dsh-mobile · TecFancy/dsh-mobile

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins