Skip to content

The agent that grows with you

fix(desktop): pin the update-check proxy deps exactly and document the proxy variables

teknium1522e121e90a0
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index cd8ec321fda..4aa2b391bb0 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -124,14 +124,14 @@
"frimousse": "0.3.0",
"hast-util-from-html-isomorphic": "2.0.0",
"hast-util-to-text": "4.0.2",
- "https-proxy-agent": "^7.0.6",
+ "https-proxy-agent": "7.0.6",
"ignore": "7.0.6",
"katex": "0.16.47",
"mermaid": "11.16.1",
"motion": "12.42.2",
"nanostores": "1.4.2",
"node-pty": "1.1.0",
- "proxy-from-env": "^2.1.0",
+ "proxy-from-env": "2.1.0",
"qrcode": "1.5.4",
"radix-ui": "1.6.7",
"react": "19.2.7",
@@ -169,7 +169,7 @@
"@types/d3-force": "3.0.10",
"@types/hast": "3.0.5",
"@types/node": "22.20.1",
- "@types/proxy-from-env": "^1.0.4",
+ "@types/proxy-from-env": "1.0.4",
"@types/qrcode": "1.5.6",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
diff --git a/package-lock.json b/package-lock.json
index 381d70a0451..f53e6e9c965 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -112,14 +112,14 @@
"frimousse": "0.3.0",
"hast-util-from-html-isomorphic": "2.0.0",
"hast-util-to-text": "4.0.2",
- "https-proxy-agent": "^7.0.6",
+ "https-proxy-agent": "7.0.6",
"ignore": "7.0.6",
"katex": "0.16.47",
"mermaid": "11.16.1",
"motion": "12.42.2",
"nanostores": "1.4.2",
"node-pty": "1.1.0",
- "proxy-from-env": "^2.1.0",
+ "proxy-from-env": "2.1.0",
"qrcode": "1.5.4",
"radix-ui": "1.6.7",
"react": "19.2.7",
@@ -154,7 +154,7 @@
"@types/d3-force": "3.0.10",
"@types/hast": "3.0.5",
"@types/node": "22.20.1",
- "@types/proxy-from-env": "^1.0.4",
+ "@types/proxy-from-env": "1.0.4",
"@types/qrcode": "1.5.6",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
diff --git a/website/docs/reference/environment-variables.md b/website/docs/reference/environment-variables.md
index 2a0a660c0f0..33cc4aa318b 100644
--- a/website/docs/reference/environment-variables.md
+++ b/website/docs/reference/environment-variables.md
@@ -586,6 +586,7 @@ Three dashboard-auth providers ship in the box. For a remote Hermes Desktop conn
| `HERMES_DESKTOP_PYTHON` | Absolute path to a Python interpreter for the backend, checked before Electron auto-resolves one for the source checkout. Used by worktree dev helpers (see [TUI & Desktop from Worktrees](../developer-guide/worktree-ui-dev.md)) to reuse a shared venv. |
| `HERMES_DESKTOP_DEV_SERVER` | Vite dev-server URL the Electron shell loads instead of the packaged bundle (e.g. `http://127.0.0.1:5174`). Set automatically by `npm run dev`; only relevant when hacking on the app. |
| `HERMES_DESKTOP_CDP_PORT` | Overrides the Chrome DevTools Protocol port the renderer exposes on `127.0.0.1` for DOM/CSS inspection tooling (default `9222`). Dev-server runs (`npm run dev`, `hgui`) open it automatically; a packaged app never does, and no value here changes that. Set to `off` to disable it on a dev run. Anything that can reach the port can execute code in the renderer. |
+| `HTTPS_PROXY` / `HTTP_PROXY` / `NO_PROXY` | (Desktop side) The in-app update check (`Help → Check for Updates…` and the passive update banner) reaches `api.github.com` through the proxy these standard variables name, with `NO_PROXY` exemptions honoured — the same convention `curl`, `npm` and `git` follow. Unset, the check connects directly. |
### Microsoft Graph (Teams Meetings)