Release v0.1.11
Release Date: October 17, 2025
Previous Version: v0.1.10
π Major New Features
Dramatic TUI Performance Improvements
- 75x faster TUI startup: Reduced TUI initialization time from 3-5 seconds to 0.04 seconds by moving MCP server initialization to background
- Asynchronous MCP initialization: Separated TUI rendering from MCP loading to provide immediate user interface
- Context-based lifecycle management: Prevents goroutine leaks and ensures clean shutdown through application context propagation
Model Registry System
- Implemented Model Registry system with dynamic model loading from API
- Added support for global prefix in Bedrock cross-region inference
- Improved retry logic to use true exponential backoff
Enhanced MCP Server Management
- Added visual status indicators for MCP servers (ready/loading/failed/disabled)
- Implemented per-server status tracking functionality
- Added MCP server enable/disable toggle with key binding support
- Added disabled server status tracking for cache loads
- Handled MCPServerToggledMsg for individual server operations
- Added configurable MCP initialization timeout constant
- Added tool deduplication to prevent API errors
Token Tracking and Cost Management
- Added dedicated usage tracking table for token consumption
- Added token and cost tracking to messages table
- Added debug logging for tool counts in streaming requests
User Profile
- Added client version tracking for user profiles
File Attachments
- Added WSL support for Windows path conversion in file attachments
- Improved WSL path conversion robustness
π§ Key Changes
MCP Initialization Improvements
- Initialize MCP tools before CloudEngineerAgent refresh
- Enhanced npx resolution with dynamic cache detection and logging
- Extracted default npx cache directory logic into helper function
- Extracted common logic in MCP server state updates
- Changed MCP status dot color from blue to green and extracted color constants
- Improved MCP list dialog rendering and added status legend
Error Handling Improvements
- Handle invalid request errors from large attachments
- Simplified invalid request error handling
- Fixed tool_use/tool_result mismatch on mid-generation cancellation
- Applied code review feedback for cancellation handling
Vertex AI Improvements
- Increased DefaultMaxTokens to 50,000 for Vertex AI Claude models
- Separated max_tokens detection from tool_use in finish reason
Permission Dialog
- Improved type handling for WritePermissionsParams and EditPermissionsParams in Permission Dialog
Model Dialog
- Removed logging statements from model dialog component
π Bug Fixes
MCP Related
- Removed redundant MCP cache clear on toggle
- Normalized environment variable keys to uppercase
- Fixed API key loading after agent refresh
Resource Management
- Fixed goroutine leak: Application context propagation ensures proper cancellation of background tasks
- Prevented memory leaks: MCP server connections and goroutines are properly cleaned up on app shutdown
File Attachments
- Improved WSL path conversion robustness
- Removed original Windows path from text after file attachment in WSL
Database
- Used ErrorPersist for attachment removal DB update failure
Code Cleanup
- Cleaned up code and removed Korean comments
- Addressed thread safety issues from code review
- Addressed code review feedback
β‘ Performance Improvements
TUI Startup Time
- 75x faster startup: 3-5 seconds β 0.04 seconds
- Interface becomes immediately usable while MCP servers load asynchronously in background
MCP Initialization
- Enhanced MCP server initialization performance with dynamic cache detection
- Improved initialization stability with configurable timeouts
Retry Logic
- Improved API retry efficiency with true exponential backoff
π Stability Improvements
Resource Management
- Context cancellation propagates to all background tasks preventing goroutine leaks
- MCP server connections terminate properly when app shuts down
- Clean application shutdown without hanging background tasks
Thread Safety
- Addressed thread safety issues identified in code review
- Improved concurrency handling
π Technical Details
Context Propagation (Critical!)
- Changed from
context.Background()to Application context - Proper context propagation in TUI
Init()method - Background task lifecycle tied to application lifecycle
MCP Initialization Flow Changes
Before:
1. Start MCP initialization (wait 3-5 seconds)
2. Render TUI
After:
1. Render TUI (immediate)
2. Start MCP initialization in background
3. Update agent tools when loading completes
π― Impact Summary
This release focuses on user experience improvements and system stability enhancements. The dramatic improvement in TUI startup speed significantly boosts developer productivity, while the goroutine leak fixes ensure long-running stability.
Breaking Changes
None - all changes are internal implementation improvements.
Migration Notes
No migration required. Update and enjoy the improved performance!