Commit Graph

68 Commits

Author SHA1 Message Date
Kujtim Hoxha d4f7d48594 fix diff 2025-04-21 13:41:27 +02:00
Kujtim Hoxha 555361d8da remove node dependency and implement diff format 2025-04-21 13:41:27 +02:00
Kujtim Hoxha b3fde7a583 handle errors correctly in the other tools 2025-04-21 13:41:27 +02:00
Kujtim Hoxha e17d587bdc handle errors correctly in the edit tool 2025-04-21 13:41:27 +02:00
Kujtim Hoxha 38d8e6a649 handle errros correctly in the bash tool 2025-04-21 13:41:27 +02:00
Kujtim Hoxha 8bcf9dde55 handle errors correctly in the agent tool 2025-04-21 13:41:27 +02:00
Kujtim Hoxha 312688a809 cleanup diff, cleanup agent 2025-04-21 13:41:27 +02:00
Kujtim Hoxha a8c22808dc cleanup app, config and root 2025-04-21 13:41:25 +02:00
Kujtim Hoxha 5f955a460d cleanup config 2025-04-21 13:40:35 +02:00
Kujtim Hoxha f48c3a00ba wip files 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 1990da9d4a add initial git support 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 79deb616d7 implement nested tool calls and initial setup for result metadata 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 6a5e910883 add initial message handling 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 961af93479 add initial mock sidebar 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 296266cdf7 intiial layout 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 48866db7ac Merge pull request #30 from jdlms/update/config-GPT4.1
OpenAI model config changed to GPT-4.1
2025-04-15 11:54:38 +02:00
jdlms f911d957ca OpenAI model config changed to GPT-4.1 2025-04-15 09:36:47 +02:00
Kujtim Hoxha 0fa07e4b20 Merge pull request #28 from naxodev/refactor/improve-process-management
refactor: use context for automatic lsp process cleanup
2025-04-13 12:41:55 +02:00
Nacho Vazquez 619fb42791 refactor: use context for automatic lsp process cleanup 2025-04-12 12:43:23 -03:00
Kujtim Hoxha a6c8769290 small change 2025-04-11 13:21:41 +02:00
Kujtim Hoxha 7d3bf2d02f fix cancell 2025-04-10 15:27:42 +02:00
Kujtim Hoxha e7e57c4c3d fix logs and add cancellation 2025-04-10 13:29:44 +02:00
Kujtim Hoxha 7056391f5f add logs border title 2025-04-09 20:10:40 +02:00
Kujtim Hoxha 71f342e78f default the region to us 2025-04-09 20:05:22 +02:00
Kujtim Hoxha 45e079a895 minor fixes 2025-04-09 20:04:44 +02:00
Kujtim Hoxha 77a5f68977 Merge pull request #25 from kujtimiihoxha/cleanup-logs-status
Cleanup Logs and Status
2025-04-09 19:19:45 +02:00
Kujtim Hoxha 7b8b9bdc29 small fixes 2025-04-09 19:18:51 +02:00
Kujtim Hoxha 58a7aee0c4 finish logs page 2025-04-09 19:07:39 +02:00
Kujtim Hoxha 2408a13138 remove logs 2025-04-09 17:51:00 +02:00
Kujtim Hoxha 333e6d1238 Merge pull request #26 from kujtimiihoxha/bedrock
Add initial support for bedrock
2025-04-09 17:49:24 +02:00
Kujtim Hoxha 753c468476 add bedrock support 2025-04-09 17:45:41 +02:00
Kujtim Hoxha a061dca915 cleanup retry 2025-04-08 20:46:40 +02:00
Kujtim Hoxha ceccfad49d Merge pull request #22 from adamdottv/adam/retries
fix(anthropic): better 429/529 handling
2025-04-08 20:32:57 +02:00
Kujtim Hoxha a4fc735617 Merge pull request #24 from kujtimiihoxha/cleanup-tools
Cleanup tools
2025-04-08 19:42:59 +02:00
Kujtim Hoxha c571283ac2 fix typo 2025-04-08 19:41:21 +02:00
Kujtim Hoxha 94923948e1 structure tools the same
- add some tests
- fix some tests
- change how we handle permissions
2025-04-08 19:15:23 +02:00
adamdottv 4385fb3219 fix: status messages 2025-04-08 11:45:26 -05:00
Kujtim Hoxha f463ce6694 improve status message handling 2025-04-07 19:43:31 +02:00
adamdottv 57a2210d8d fix: handle anthropic 429s 2025-04-07 10:43:54 -05:00
Kujtim Hoxha 5acf0cba60 update readme 2025-04-07 15:37:47 +02:00
Kujtim Hoxha a6db4f652c remove test code 2025-04-07 12:56:54 +02:00
adamdottv 50d8fbbb40 fix(anthropic): increase max retries 2025-04-05 15:07:43 -05:00
Kujtim Hoxha b8383f5590 Merge pull request #21 from adamdottv/adam/anthropic-empty-messages 2025-04-05 09:32:07 +02:00
adamdottv 781b296180 fix(anthropic): skip empty messages 2025-04-04 14:33:55 -05:00
Kujtim Hoxha 6419973667 Enhance bash tool security and improve permission dialog UI
- Expand safe command list with common dev tools (git, go, node, python, etc.)
- Improve multi-word command detection for better security checks
- Add scrollable viewport to permission dialog for better diff viewing
- Fix command batching in TUI update to properly handle multiple commands

🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
2025-04-04 15:41:25 +02:00
Kujtim Hoxha 8f8b403bbc Make tool error results visually distinct with red border
- 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>
2025-04-04 15:08:32 +02:00
Kujtim Hoxha fa5840cf75 Modernize min/max usage in permission dialog
- 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>
2025-04-04 15:05:48 +02:00
Kujtim Hoxha 1d467dfda3 Fix status message clearing issue
- 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>
2025-04-04 15:04:58 +02:00
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