Commit Graph

3 Commits

  • fix: make pre-commit hook fail on lint warnings, fix template literal warnings
    - Add --error-on-warnings to biome check in root and web-ui package.json
    - Convert string concatenation to template literals in daxnuts.ts
    - Convert string concatenation to template literals in test file
    
    Fixes #1103
  • test(tui): add bug regression test for isImageLine crash fix
    Added comprehensive bug regression test that demonstrates:
    1. The bug scenario (old implementation using startsWith() fails)
    2. The fix works (new implementation using includes() passes)
    
    Test covers:
    - Terminal without image support scenario (bug trigger)
    - Both Kitty and iTerm2 image protocols
    - Very long lines (300KB+) matching crash scenario
    - Integration with tool execution scenarios
    - Negative cases (no false positives)
    
    All 347 tests pass including 12 new bug regression tests.