v0.8.24 - Virtualized Text Viewer Refactor & MCP OAuth Support
Major Features
Virtualized Text Viewer Refactor (PR #108)
- Replaced custom range loading with React Query infinite scroll for better performance
- Simplified buffering logic by removing complex pre-rendering and buffer management
- Backend optimization: merged line counting and reading into single function
- Consolidated state management and removed redundant ref-based tracking
- Significantly reduced code complexity while improving memory efficiency for large file viewing
OAuth Authentication for MCP Servers
- Added OAuth 2.0 support for remote MCP servers
- New McpOAuthDialog component for authentication flow with auto-discovery
- Per-directory auth management for repo-level MCP servers
- Enhanced MCP server cards with auth status indicators
- Support for custom OAuth client credentials or server discovery
SSE Connection Reliability
- Added
ensureSSEConnected()function that ensures SSE is connected before critical actions - Automatic SSE reconnection on Cloudflare 524 timeout errors
- Reduced user frustration with temporary network issues
- Improved message invalidation logic
Frontend Improvements
Responsive Design
- QuestionPrompt component now adapts better to mobile screens
- Responsive padding, spacing, and text sizing throughout the app
- Mobile-optimized stop button in PromptInput
- Better mobile experience across all dialog components
OpenCode Version Cache Management
- Fixed cache updates for OpenCode version on install/upgrade operations
- Version display now properly reflects installed version immediately
- Proper recovery scenarios after version changes
Infrastructure Updates
Fetch API Migration
- Removed axios dependency, standardized on fetch API
- Added fetchWrapper.ts for consistent error handling and retry logic
- Updated all API modules: oauth, opencode, providers, settings, stt, tts
- Removed 190 lines from pnpm-lock.yaml
STT Improvements
- Refactored audio recorder with better recording state management
- Optional API-less STT support using Web Speech API
- Improved Web Speech recognizer integration
- Enhanced error handling and cleanup
Bug Fixes
- OpenCode install method detection for proper process termination
- Fixed getProviders return type handling in frontend
- Removed unused test variables and configured ESLint for test files
- Structured logging in archive service
- Removed unused variables from routes and migrations
Installation
Docker users:
docker pull ghcr.io/chriswritescode-dev/opencode-manager:latestOr specific version:
docker pull ghcr.io/chriswritescode-dev/opencode-manager:v0.8.24Stats
- Files changed: 56
- Lines added: +1,848
- Lines removed: -1,114
- Net change: +734 lines
Full changelog: v0.8.22...v0.8.24