- Change tool result border color to red when displaying errors
- Keep green border for successful results
- Improve visual distinction between error and success states
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Replace if statements with direct min/max function calls
- Fix linter hint about using modern min/max functions
- Simplify code for better readability
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Add missing case for ClearStatusMsg in main TUI update function
- Ensures status messages are properly cleared after timeout
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Split LSP file notification into separate functions
- Add waitForLspDiagnostics function to wait for diagnostics after file changes
- Move LSP diagnostics to after file operations in edit and write tools
- Fix string splitting in diff generation
- Reduce diagnostics timeout from 10 to 5 seconds
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Add colored formatting for diff display (green for additions, red for removals)
- Create a dedicated formatDiff function to handle diff styling
- Restructure permission dialog render function for better organization
- Apply custom styling to different line types in diffs
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Adjust dialog height for bash commands based on content length
- Reduce default dialog size for bash commands to be more compact
- Add strings import for string splitting
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
- Improve diff display in permission dialogs with better formatting
- Add visual indicators for focus changes in permission dialogs
- Increase diagnostics timeout from 5 to 10 seconds
- Fix write tool to show proper diffs for existing files
- Update status component to properly handle messages
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>