AI Agent Hub
Back to plugins
🖥️

dsh-deepsleep

Client Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install xxxsirrrr/dsh-deepsleep

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install xxxsirrrr/dsh-deepsleep in the DeepSeek Harness terminal to install the plugin; the source repository is available at https://github.com/xxxsirrrr/dsh-deepsleep .

About this plugin

DSH Web GUI was built around a three-column desktop grid that simply does not survive a phone screen, and dsh web binds to loopback by default so a mobile device cannot even reach it. dsh-deepsleep fixes both in one shot with pure CSS and DOM injection, zero external dependencies. Below a 768 px viewport the layout collapses into a single-column chat flow, the sidebar retreats into a hamburger drawer, and the details panel becomes a right-side floating layer. It also handles the nitty-gritty of mobile browsing—100 dvh dynamic viewport, safe-area notches, 16 px inputs to prevent iOS focus zoom, 44 px touch targets—and patches the crypto.randomUUID API that browsers withhold on non-secure origins so that RPC calls keep working over plain HTTP on a local network. Everything is reversible through a disposer, and at desktop widths the plugin is completely invisible.

The second capability is a password-gated LAN access proxy. The phone hits a login gate first; once the password checks out, the proxy issues an HttpOnly session cookie and rewrites the Host header back to loopback so that a bare dsh web instance (no --trusted-host flag) will accept API, WebSocket, and SSE requests from the mobile device. Password and port are sourced from environment variables or local files, and a one-shot script sets everything up and prints the mobile URL. Both phone and desktop then hit the same server, with state staying in sync in real time.

This is for DSH users who want to queue up a task before bed and check progress from the couch the next morning. One important caveat: the link is plain HTTP, so the password gate stops casual visitors but not a packet sniffer. Keep it on a trusted home Wi-Fi; do not run it on public networks, and if you need stronger protection, layer Tailscale or switch to HTTPS.

Use Cases

  • Queue up DSH tasks before bed and check progress from the couch the next morning
  • Monitor and interact with DSH from a phone over home Wi-Fi
  • Read an unreadable three-column desktop layout on a phone that needs single-column flow and a drawer sidebar

Best For

  • Active DSH users who want to check and operate sessions away from the desktop
  • Users on a home network who need to reach a local dsh web instance from a phone
  • DSH users who care about mobile UX details like touch targets and dynamic viewport