8f8b403
Make tool error results visually distinct with red border
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
fa5840c
Modernize min/max usage in permission dialog
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
3aef4de
Improve LSP diagnostics handling for file operations
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
a1f6147
Add auto-removal of status bar messages after timeout
Click to expand commit body
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
Kujtim Hoxha
and
termai
created
b28c1e0
Improve diff display with colored formatting in permission dialogs
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
ef15976
Make permission dialog height dynamic based on content
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
c185dc8
Enhance UI feedback and improve file diff visualization
Click to expand commit body
- 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>
Kujtim Hoxha
and
termai
created
6bb1c84
Improve Sourcegraph tool with context window and fix diagnostics
Click to expand commit body
- Add context_window parameter to control code context display
- Fix LSP diagnostics notification handling with proper async waiting
- Switch to keyword search pattern for better results
- Add Sourcegraph tool to task agent
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>