Hacker News new | ask | show | jobs
by ipsum2 84 days ago
This seems like pure misinformation. The code lines that are actually changed:

              hint: {
                opencode: "recommended",
                -anthropic: "API key",
                openai: "ChatGPT Plus/Pro or API key",
              }[x.id],
They're removing the ability to use OpenCode via Anthropic API key
3 comments

This is what most people in the comments are missing. They are removing the ability to even use Anthropic APIs not just your Max subscription.
this not true. api keys are supported. only "claude code" is being dropped.

that code is just a cli hint to which LLM they recommend using. so they stop recommending anthropic. rightfully so.

Is this what the legal request demanded or is this just something that OpenCode is doing out of spite? Seems unclear. To me the meat of this change is that they're removing support for `opencode-anthropic-auth` and the prompt text that allows OpenCode to mimic Claude Code behavior. They have been skirting the intent of the original C&D for awhile now with these auth plugins and prompt text.
Using your API key in third-party harnesses has always been allowed. They just don't like using the subsidized subscription plan outside of first-party harnesses. So this seems to be out of spite
It is what the legal demands are. They requested removal of all Anthropic (trademark?) mentions.
Anthropic's issue was always them spoofing OpenCode as Claude Code, piggybacking on the subscription plan.

Banning them from using the pay-per-token API key would be bad business.

I believe parent is talking about a separate topic, not about this change.