If Cube/OpenCode jobs stall, loop on heartbeats, fail with an empty workspace, or mention expired OAuth/subscription auth, refresh the OpenCode subscription login from the Coolify terminal:
opencode
/connect
opencode auth list
unset OPENAI_API_KEY
opencode run --format json --dir /tmp "Reply exactly OPENCODE_AUTH_OK"
Coolify path: Magic Team → production → magicteam-builder-cube → Terminal. Select OpenAI ChatGPT Plus/Pro in OpenCode; this deployment uses subscription auth for now.