AI Agent Hub
Back to plugins
🖥️

dsh-access-gate

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install bamboostrip/dsh-access-gate

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

Run dsh plugin install bamboostrip/dsh-access-gate in the DeepSeek Harness terminal to install; restart DSH afterwards to activate (plugin source: https://github.com/bamboostrip/dsh-access-gate).

About this plugin

When you put the DeepSeek Harness Web UI behind a public nginx domain or a LAN IP, remote users quickly hit a dead end: the browser-trust fence blocks every loopback-pinned privileged endpoint (settings., credentials., host.pickDirectory, agentPreset.*) with a 403, leaving remote sessions nearly useless. dsh-access-gate is built to break through that wall. Once you set an access password, every request from outside the local machine must pass a password login (HttpOnly cookie, 7-day validity by default), and after authentication all previously blocked endpoints become fully functional while local 127.0.0.1 access remains untouched.

Beyond the authentication gate, the plugin bundles the complete feature set of dsh-lan-access into a single package: 0.0.0.0 webserver binding, an idempotent crypto.randomUUID polyfill, and the official native directory dialog for local workspace selection (Windows IFileOpenDialog, macOS choose folder, Linux zenity-kdialog), with remote clients automatically falling back to the in-app browser. Security is handled with sha256 + timingSafeEqual password comparison, open-redirect protection, and Host-spoofing defence. Every side effect is reverted through ctx.effect cleanup callbacks, so uninstalling leaves zero residue and never writes to user config files.

This plugin is ideal for teams or individual developers who expose DSH on a LAN or public network and want remote collaborators to use the full feature set including workspace management, model discovery, and credential configuration. It ships passwordless by default for immediate remote access, and a single configuration line activates the gate without requiring a restart or any source-code modifications.

Use Cases

  • Accessing the DSH Web UI via a public nginx domain or LAN IP
  • Sharing DSH workspace and model configuration with teammates on a LAN
  • Replacing dsh-lan-access with a single package covering 0.0.0.0 binding, polyfill injection, and remote authentication

Best For

  • Individual developers who need public or LAN access to DSH
  • Small teams deploying DSH Web behind nginx reverse proxy
  • Users migrating from dsh-lan-access who want a unified configuration entry point