Files
hermes-agent/website/docs/user-guide/features
unsupportedpastels 5e7c2b254d fix(desktop): keep the dev renderer origin out of the local gateway Desktop starts
runGatewayEnsure layered the Desktop process env under the child, so a dev build's `gateway ensure` (and `gateway restart`) handed HERMES_DESKTOP_DEV_SERVER to the per-host gateway it starts. That gateway outlives the dev session and kept trusting the renderer port (Vite's 5174 fallback) for CORS and sockets afterwards. Desktop never needs it there: its HTTP to the local gateway goes through main-process requests with no Origin, and its socket dials have Origin stripped. The variable is now removed from the ensure client env; SSH-spawned serve backends still receive it.

local-gateway.test.ts: the new case reported the inherited value before this change and none after.
2026-11-02 13:56:48 -05:00
..
…
…
…
…
…
…
…
…
…
…
…
…