Custom Model Endpoint Support
- Added support for custom API endpoints (OpenRouter, Azure, etc.)
- All API calls now properly resolve to custom models when configured
- New settings UI for configuring custom endpoints
- Improved validation and documentation for custom model setup
Automatic OAuth Token Refresh
- OAuth tokens for Google, Slack, and Microsoft sources now refresh automatically
- Tokens are refreshed transparently before API calls when expired or expiring within 5 minutes
- No more manual re-authentication needed when tokens expire
Improvements
System Prompt Optimization
- 70% reduction in system prompt size (~400 lines → ~120 lines)
- Documentation externalized to markdown files loaded at runtime
- Faster prompt processing and lower token costs
- Case-insensitive context file matching (CLAUDE.md, agents.md, etc.)
UI Enhancements
- Improved unread message tracking
- Enhanced tool icons display
- Changed configured source tag color to light green
- Removed Gallery feature
- Moved tooltip component to shared UI package
Windows Build
- Fixed electron-builder configuration for Windows
- Removed Bun dependencies from Windows build
- Fixed PowerShell property access for hyphenated platform names
- Use npc to run vite directly on Windows
Bug Fixes
- OAuth: Added debounce to prevent concurrent token refreshes
- Icon Cache: Fixed icon caching issues
- Basic Auth: Fixed credential handling and URL normalization
- Release Safety: Prevent accidental releases from feature branches
- Downloads: Use
/latest/URLs for marketing site downloads
Technical Changes
- Improved error handling for models without tool support