fix(web): document remote welcome constraints

This commit is contained in:
ZiyaZhang
2026-08-03 00:14:35 -07:00
parent 28721e1dc5
commit 59d923395a
6 changed files with 21 additions and 6 deletions
@@ -1,3 +1,12 @@
/**
* Browser-safe, zero-dependency loopback classification shared by the `/api`
* Host fence and browser welcome-persistence selection. The dedicated
* `./loopback-hostname` source subpath is inlined into client bundles instead
* of loaded by plain Node, so this module must not add Node-only or runtime
* dependencies.
* @module @deepseek-ai/dsh-client-connection/loopback-hostname
*/
/**
* Whether a normalized URL hostname names the local loopback authority.
* @param hostname - WHATWG URL hostname (IPv6 literals retain brackets).