"Environment
- OS: macOS 24.6.0 (x64)
- Node: v22.22.2
- OpenClaw version: latest (installed via
npm i -g openclaw@lateston 2026‑05‑08) - Workspace: /Users/apple/.openclaw/workspace
- Agent files:
~/.openclaw/agents/AGENT_DUNG_CONTENT/agent.yaml
~/.openclaw/agents/AGENT_PHONG/agent.yaml
~/.openclaw/agents/AGENT_TAX_REAL_ESTATE/agent.yaml
Steps to reproduce
- Install the latest OpenClaw (
npm i -g openclaw@latest). - Restart the gateway (
openclaw gateway restart). - Create a valid
agent.yaml(as above) in~/.openclaw/agents/<agent>. - Run
openclaw agents add ~/.openclaw/agents/AGENT_DUNG_CONTENT. - The command exits with code 13 and prints:
- Repeat step 4 for the other two agents – same outcome.
Expected behaviour
- The agent should be added successfully and appear in
openclaw agents list.
Actual behaviour
- Process exits with code 13 and the “unsettled top‑level await” warning; the agent is not registered.
Additional notes
- The same error occurs with the previous version (2026.5.5) and with the newest version (latest at time of writing).
- Configuration files were untouched; the issue appears to be in the core runtime (
openclaw.mjs).
Please investigate and release a fix or a temporary workaround. Thank you! "