TX021
Invalid OpenCode server URL
Why this happens
--target (or OPENCODE_SERVER_URL) must be a bare HTTP(S) origin. It contained a path, query, hash or credentials. Credentials in URLs end up in logs and browser history.
How to fix it
# Beforebunx @textjs/opencode@latest proxy --target http://user:pass@127.0.0.1:4096/api# Afterbunx @textjs/opencode@latest proxy --target http://127.0.0.1:4096Set the server password with OPENCODE_PASSWORD instead.