Repository navigation
Conversation
…EN to containers The dashboard deploy route writes both vars to the per-agent docker.env so docker-compose can substitute them, but the compose file did not list them in the environment: section of either service. As a result, both vars were silently empty inside running agent containers. This broke wallet/Rain runtime skills end to end: the openclaw skills pipeline filters skills via metadata.requires.env (config-eval.ts), so the wallet skills required env check failed at startup and the skill was stripped from the available_skills XML block. Agents had no way to discover the runtime API and fell back to general-knowledge guesses about WALLET_PRIVATE_KEY and cast. Forwarding both vars (with :- defaults so non-runtime agents do not error) makes the runtime skills visible whenever the dashboard injects credentials.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The dashboard deploy route writes
AGENTGLOB_RUNTIME_URLandAGENTGLOB_RUNTIME_TOKENto each agent's per-agentdocker.env(so docker-compose can substitute them), but the compose file did not list them in theenvironment:section of either service. Both vars were silently empty inside running agent containers.This broke wallet/Rain runtime skills end to end:
metadata.requires.env(config-eval.tsline 85)walletskill's frontmatter requires both vars, so the env check failed at startup<available_skills>— agents had no way to discover the runtime APIWALLET_PRIVATE_KEYandcastVerified
Patched both prod servers (US
5.161.84.219+ EU89.167.70.46) with the equivalent change, recreated the raingame container, and confirmed:All four chains return funded balances from inside the container.
Notes
:-defaults so non-runtime agents (no wallet/rain) deploy without errors