Anthropic takes legal action against OpenCode

Anthropic has issued legal requests forcing the OpenCode project to remove all branded references and system prompts from its codebase, signaling a stricter stance on intellectual property.
Conversation
Greptile SummaryThis PR removes Anthropic-specific references from the codebase per legal requirements, including the branded system prompt file, the
Confidence Score: 3/5
Important Files Changed
Flowchart```
%%{init: {'theme': 'neutral'}}%% flowchart TD A[LLM.stream called] --> B{providerID starts with 'opencode'?} B -- Yes --> C[Add x-opencode-project/session/request/client headers] B -- No --> D[No extra headers added] C --> E[Merge model.headers] D --> E E --> F[Merge plugin chat.headers] F --> G[streamText call] subgraph "Before PR (removed path)" H{providerID !== 'anthropic'?} H -- Yes --> I["Add User-Agent: opencode/VERSION"] H -- No --> J[undefined — no headers] end style D fill:#f99,stroke:#c00 style I fill:#9f9,stroke:#090 style J fill:#ccc,stroke:#999
|
|
It seems like the change here is that the plugin will not be loaded by default, not that the plugin won't work. It seems like a truly third party plugin is still possible |
Remove anthropic references per legal requests:
Source: Hacker News













