Disclaimer: This configuration reportedly violates the official Terms of Service. Use at your own risk — it may result in account termination or ban. This gist is for informational purposes only; do not use this workaround.
Adding the following to ~/.config/opencode/opencode.json is said to enable unofficial Anthropic authentication via a plugin:
{