nonmean/dsh-lan-access

nonmean★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

DeepSeek Harness web plugin that adds a LAN access

README excerpt

dsh-lan-access A DeepSeek Harness web plugin that adds a LAN access toggle to the DSH Settings shell (Settings → General). It replaces the manual cordis.patch.yml webserver override: - On — the web GUI binds 0.0.0.0 , so other machines on the same network can open it at http:// :3080 . The /api trust fence is updated live, so the browser on a LAN machine works fully (chat, tools, workspace). - Off — the GUI binds 127.0.0.1 again (loopback only — the safe default). How it works Half File Role Host src/index.ts Registers the persisted lan-access settings namespace, the fenced /lan-access JSON route (GET state / POST set), the bind controller, and the lanAccess bind-host service. The webserver row's composed host expression reads that service, so every webserver (re)start — boot, toggle, or a post-boot user-patch re-apply — converges to the persisted setting; the controller only restarts the row when the bind actually differs. Client src/client/ Registers the General-settings row ( settings.general.item , order 15) with a native checkbox switch, the LAN URLs (primary first, all live NIC addresses shown, copy button), zh/en copy, and restart-tolerant polling. The route fence accepts lo…

View full README on GitHub →
Tools / Devdshdsh-plugindsh-pluginslan-access

Category