mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-24 16:54:43 +00:00
Guard the globalThis gateway-state container and the survivor park/adopt calls on the import.meta.hot literal (not the runtime hmrActive() helper), so Vite dead-code-eliminates every HMR path in production. Prod now uses a plain module-local singleton — no globalThis, no Symbol.for — and the survivor module drops out of the bundle entirely. Verified: gatewayRegistryState, gatewaySurvivor, and import.meta.hot are all absent from the prod build. Removes the now-unused hmrActive() export. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||