openclaw/src/wizard
Matias Wainsten 94d34092fa fix: propagate config.env.vars to LaunchAgent/systemd service environment (#1735)
When installing the Gateway daemon via LaunchAgent (macOS) or systemd (Linux),
environment variables defined in config.env.vars were not being included in
the service environment. This caused API keys and other env vars configured
in clawdbot.json5 to be unavailable when the Gateway ran as a service.

The fix adds a configEnvVars parameter to buildGatewayInstallPlan() which
merges config.env.vars into the service environment. Service-specific
variables (CLAWDBOT_*, HOME, PATH) take precedence over config env vars.

Fixes the issue where users had to manually edit the LaunchAgent plist
to add environment variables like GOOGLE_API_KEY.
2026-01-25 10:35:55 +00:00
..
clack-prompter.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
onboarding.finalize.ts fix: propagate config.env.vars to LaunchAgent/systemd service environment (#1735) 2026-01-25 10:35:55 +00:00
onboarding.gateway-config.ts feat: add manual onboarding flow alias 2026-01-22 23:09:28 +00:00
onboarding.test.ts fix: always offer TUI hatch 2026-01-23 09:07:43 +00:00
onboarding.ts fix: support direct token and provider in auth apply commands (#1485) 2026-01-23 07:27:52 +00:00
onboarding.types.ts fix: add explicit tailnet gateway bind 2026-01-21 20:36:09 +00:00
prompts.ts feat: unify onboarding + config schema 2026-01-03 16:48:08 +01:00
session.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
session.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00