42dec91f2a
- Implemented width-aware text truncation across all tool renderers to respect terminal width constraints and prevent output overflow. - Enhanced render caching to include width parameter for cache invalidation when terminal width changes, improving cache accuracy. - Migrated truncateToWidth function imports from render-utils to centralized tui module for better code organization. - Introduced Hasher utility for generating width-aware cache keys in calculator, find, grep, todo-write, and write tools. - Optimized box component rendering to only truncate lines that exceed content width, reducing unnecessary truncation operations.