Skip to content

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 10 Mar 20:24
· 66 commits to main since this release

What's Changed

Unified Key Management

  • Auth.json integration: Added read-only auth-json.js interface that detects API keys stored in OpenCode's auth.json, so users don't need to re-enter keys that are already configured.
  • Auto-import notice: When keys are found in auth.json that aren't in sidecar's .env, the setup wizard now shows an import notice with two-phase delete confirmation via OpenCode.
  • Simplified key storage: Removed bidirectional auth-sync and project .env loading. Keys are now stored in a single location (~/.config/sidecar/.env) with auth.json as a read-only secondary source.

Bug Fixes

  • GEMINI_API_KEY renamed: Switched from GEMINI_API_KEY to GOOGLE_GENERATIVE_AI_API_KEY to match Google's current SDK convention. Includes auto-migration for existing keys.
  • Setup window debugging: Fixed --remote-debugging-port not being passed to the Electron setup window process, which broke CDP-based UI testing.
  • Test env isolation: Fixed SIDECAR_ENV_DIR not being set in config-resolve tests, preventing test pollution.

Infrastructure

  • Automated GitHub releases: Publish workflow now auto-creates a GitHub release when a version tag is pushed.
  • Test suite consolidation: Separated integration tests from unit tests (npm test vs npm run test:integration) for faster dev feedback loops.
  • Site improvements: Added favicon and dynamic release version pill to the documentation site.

Full Changelog: v0.4.1...v0.4.2