Anthropic Authentication Plugin for OpenCode
JSON →This package, `opencode-claude-code-auth`, is an OpenCode plugin designed to restore and manage Anthropic (Claude) authentication methods within the OpenCode ecosystem. It provides three distinct authentication paths: reading local Claude Code session credentials, initiating a browser-based OAuth flow, or utilizing a plain Anthropic API key. The plugin addresses the removal of built-in Anthropic authentication from OpenCode v1.3.x, ensuring continued access to Claude models for users. It is currently at version 0.1.6, indicating active development with frequent minor updates. Key differentiators include its flexible login options, token management (refreshing Claude CLI tokens or using OAuth refresh tokens), and seamless integration into OpenCode's provider system to intercept and manage all Anthropic API traffic. It targets Node.js environments version 20 or higher.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇸🇬 Singapore · 🇧🇷 Brazil