You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use SLUICE_PHANTOM:<credname> format for env var injection instead
of GeneratePhantomToken() random hex. The MITM proxy only recognizes
the SLUICE_PHANTOM: prefix for byte-level replacement in HTTP
headers and body. Previously the env phantom and MITM phantom were
different formats, so credential swap never worked for env-injected
keys (e.g. GEMINI_API_KEY).
- Add entrypoint wrapper in compose that sources ~/.openclaw/.env
before starting openclaw so child processes (gemini --acp) inherit
phantom tokens in their process environment.
- Add ReloadSecrets method to ContainerManager interface. All backends
(Docker, Apple, Tart) implement it using a WebSocket RPC script that
sends secrets.reload directly to the gateway. This bypasses the
openclaw CLI which is slow in container environments.
- Add phase 2 retry loop for secrets reload after env injection.
The gateway takes longer to start than the container, so the reload
retries with backoff (5, 10, 20, 30, 60s) after env file is written.
- Add NODE_COMPILE_CACHE and NPM_CONFIG_PREFIX env vars in compose
for persistent Node.js compile cache and npm global installs.
0 commit comments