Commit graph

270 commits

Author SHA1 Message Date
Kujtim Hoxha
3aef4dedcf Improve LSP diagnostics handling for file operations
- 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>
2025-04-04 15:03:50 +02:00
Kujtim Hoxha
a1f6147506 Add auto-removal of status bar messages after timeout
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
2025-04-04 14:52:30 +02:00
Kujtim Hoxha
b28c1e0c03 Improve diff display with colored formatting in permission dialogs
- 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>
2025-04-04 14:45:02 +02:00
Kujtim Hoxha
ef15976f5d Make permission dialog height dynamic based on content
- 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>
2025-04-04 14:40:41 +02:00
Kujtim Hoxha
c185dc84d6 Enhance UI feedback and improve file diff visualization
- 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>
2025-04-04 14:36:57 +02:00
Kujtim Hoxha
6bb1c84f7f Improve Sourcegraph tool with context window and fix diagnostics
- 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>
2025-04-04 14:23:08 +02:00
Kujtim Hoxha
eb9877ee20 add sourcegraph tool 2025-04-04 13:31:21 +02:00
Kujtim Hoxha
f8e05a0d9a small improvements to the prompt 2025-04-03 20:30:30 +02:00
Kujtim Hoxha
49b593d9dd small fixes 2025-04-03 19:50:31 +02:00
Kujtim Hoxha
230917bbbf add termai config 2025-04-03 17:40:05 +02:00
Kujtim Hoxha
795b369219 small fixes 2025-04-03 17:38:28 +02:00
Kujtim Hoxha
cfdd687216 add initial lsp support 2025-04-03 17:23:41 +02:00
Kujtim Hoxha
afd9ad0560 rework llm 2025-04-01 13:38:54 +02:00
Kujtim Hoxha
904061c243 additional tools 2025-03-26 01:12:30 +01:00
Kujtim Hoxha
005b8ac167 initial working agent 2025-03-24 11:47:39 +01:00
Kujtim Hoxha
e7258e38ae initial agent setup 2025-03-23 22:25:31 +01:00
Kujtim Hoxha
8daa6e774a add initial stuff 2025-03-23 19:19:08 +01:00
Kujtim Hoxha
796bbf4d66 small size fix and colors added 2025-03-23 15:17:51 +01:00
Kujtim Hoxha
7844cacb25 add help 2025-03-23 15:00:12 +01:00
Kujtim Hoxha
4b0ea68d7a initial 2025-03-21 18:20:28 +01:00