Files
openclaw/src/cli
Cathryn Lavery 94d6858160 fix(gateway): auto-generate token during gateway install to prevent launchd restart loop (#13813)
When the gateway is installed as a macOS launch agent and no token is
configured, the service enters an infinite restart loop because launchd
does not inherit shell environment variables. Auto-generate a token
during `gateway install` when auth mode is `token` and no token exists,
matching the existing pattern in doctor.ts and configure.gateway.ts.

The token is persisted to the config file and embedded in the plist
EnvironmentVariables for belt-and-suspenders reliability.

Relates-to: #5103, #2433, #1690, #7749
2026-02-12 07:45:09 -06:00
..
2026-02-09 18:56:58 -08:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-02-02 23:45:05 -08:00
2026-01-18 08:45:29 +00:00
2026-01-17 05:48:56 +00:00
2026-01-30 03:16:21 +01:00
2026-02-09 18:56:58 -08:00