Add this to opencode.json as a workaround:

{

"$schema": "https://opencode.ai/config.json",

...

+ "plugin": ["opencode-anthropic-auth"],

...

}

Reply to this note

Please Login to reply.

Discussion

I look at this and decided that it's too risky. It does not hide the fact that you are using opencode properly. So its like telling Anthropic that you are actively trying to prevent their block.