Releases: foxswat/opencode-qwen-auth
Release list
v0.3.4
What's Changed
CLI Installer Safety Features
- Preview mode: Shows before/after config diff before making changes
- Timestamped backup: Creates
opencode.json.YYYYMMDD-HHMMSS.bakbefore modifying --yesflag: Skip confirmation prompt for CI/automation
Cleanup
- Removed migration notice logic (no longer needed)
- Fixed schema warnings by removing
contextWindowfrom README examples
Full Changelog
Closes #13
v0.3.3-beta.0
Fix: OpenCode Startup Hang (Issue #13)
This beta release fixes the startup hang / blank TUI issue when the plugin's migration notice blocks initialization.
Changes
- Make migration notice toast non-blocking (fire-and-forget)
- Add 1500ms timeout to prevent indefinite hangs
- Gracefully handle toast errors without crashing
- Add regression tests for hanging toast scenarios
Install
bunx opencode-qwen-auth@beta install
# or
npm install opencode-qwen-auth@betaWorkaround (for older versions)
If you can't upgrade, add to ~/.config/opencode/qwen.json:
{ "migration_notice_shown": true }Fixes #13
v0.3.2
Bug Fixes
- Migration notice now only shows once to upgrading users
- New users (without existing accounts) never see the notice
- Notice displays as Toast banner instead of console spam
- Flag persists to user config to prevent repeats
See PR #11 for details.
v0.3.1
Bug Fixes
- Fix floating point precision in test assertions causing CI failures on some platforms
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's New
Hybrid Account Rotation Strategy
This release introduces a sophisticated hybrid account rotation strategy for smarter load distribution and proactive rate limit prevention.
Key Features
-
HealthScoreTracker: Tracks account wellness (0-100)
- Success rewards: +1 point
- Rate limit penalty: -10 points
- Failure penalty: -20 points
- Passive recovery: +2 points/hour when rested
-
TokenBucketTracker: Client-side rate limiting
- 50 tokens max, 6/min regeneration
- Prevents hitting server 429s proactively
-
Hybrid Selection Algorithm
- Score = (health × 2) + (tokens × 5) + (freshness × 0.1)
- Soft fallback: selects best available even if below threshold
-
PID Offset: Optional load distribution for parallel sessions
- Set
pid_offset_enabled: truein config
- Set
Migration
Default rotation_strategy changed from "round-robin" to "hybrid". A one-time notice is shown for users upgrading.
To keep previous behavior, set in your config:
{
"rotation_strategy": "round-robin"
}Test Coverage
- 133 tests passing across all platforms (ubuntu, macos, windows)
- 68 new tests for rotation system
- 9 new tests for migration behavior
Full Changelog: v0.2.0...v0.3.0
v0.2.0 - CLI Installer
What's New
CLI Installer
One-command installation for OpenCode:
bunx opencode-qwen-auth install
# or
npx opencode-qwen-auth installThis automatically adds the plugin and Qwen provider configuration to your opencode.json.
Changes
- Add
bunx/npx opencode-qwen-auth installcommand - Automatically configures opencode.json with plugin and Qwen provider
- Supports
--globalflag for user-level config - Includes 9 unit tests for CLI functionality
- Update README with Quick Install section
Full Changelog: v0.1.3...v0.2.0
v0.1.3
v0.1.2
v0.1.2
Changes
- Test trusted publishing (OIDC) - no tokens required
- Provenance attestation automatically generated
Full Changelog
v0.1.1
v0.1.1
Fixes
- Fixed CI workflow to use Bun latest (supports new lockfile format)
- Removed unnecessary npm compatibility job
Full Changelog
v0.1.0 - Initial Release
Initial Release
Features
- Device Flow OAuth with PKCE for Qwen authentication
- Multi-account support with round-robin/sequential rotation
- Proactive token refresh before expiry
- Rate limit detection (429) with automatic account rotation
- API translation: OpenAI Responses API ↔ Chat Completions API
- Full SSE streaming support
Documentation
- Comprehensive README with configuration options
- CONTRIBUTING, SECURITY, and CODE_OF_CONDUCT guides
- CHANGELOG for version tracking
Development
- Built with Bun for fast development and testing
- 41 tests covering auth, tokens, transforms, and accounts
- GitHub Actions CI for multi-platform testing
- Biome linter for code quality