v1.0.0
🎉 Initial Release
First stable release of the Qwen Code OAuth Plugin for OpenCode.
✨ Features
- 🔐 OAuth Device Flow - Secure browser-based authentication (RFC 8628)
- ⚡ Automatic Polling - No need to press Enter after authorizing
- 🆓 2,000 req/day free - Generous free tier with no credit card required
- 🧠 1M context window - Models with 1 million token context
- 🔄 Auto-refresh - Tokens renewed automatically before expiration
- 🔗 qwen-code compatible - Reuses credentials from
~/.qwen/oauth_creds.json
🎯 Available Models
| Model | Context | Max Output |
|---|---|---|
qwen3-coder-plus |
1M tokens | 64K tokens |
qwen3-coder-flash |
1M tokens | 64K tokens |
📦 Installation
// ~/.opencode/package.json
{
"dependencies": {
"opencode-qwen-auth": "github:gustavodiasdev/opencode-qwen-auth"
}
}
// ~/.opencode/opencode.jsonc
{
"plugin": ["opencode-qwen-auth"]
}cd ~/.opencode && npm install📚 Documentation
See README.md for full documentation.