59 Commits

Author SHA1 Message Date
Kujtim Hoxha 6e33817b30 change package name 2025-04-24 18:26:16 +02:00
Kujtim Hoxha dcc3012f1b change additions/removals 2025-04-24 16:40:36 +02:00
Kujtim Hoxha 5c7850576b small fixes 2025-04-24 16:40:36 +02:00
Kujtim Hoxha b90d7e3a9b small changes 2025-04-24 16:40:36 +02:00
Kujtim Hoxha a29f155feb remove edit/normal mode 2025-04-24 16:40:36 +02:00
Kujtim Hoxha 6344673f23 init command 2025-04-21 19:53:55 +02:00
Kujtim Hoxha 4a9496e9df prevent the editor when agent busy 2025-04-21 16:50:10 +02:00
Kujtim Hoxha 94271b528f config validation 2025-04-21 14:29:28 +02:00
Kujtim Hoxha dc0894025e fix the memory bug 2025-04-21 13:42:29 +02:00
Kujtim Hoxha baff25ad6b improve cache 2025-04-21 13:42:29 +02:00
Kujtim Hoxha 6411617f7f initial tool call stream 2025-04-21 13:42:29 +02:00
Kujtim Hoxha 304d666856 lsp improvements 2025-04-21 13:42:29 +02:00
Kujtim Hoxha d6ab3ab3e9 small fixes 2025-04-21 13:42:29 +02:00
Kujtim Hoxha b7e86f61cd implement patch, update ui, improve rendering 2025-04-21 13:42:27 +02:00
Kujtim Hoxha 0768c372c9 update logs 2025-04-21 13:42:02 +02:00
Kujtim Hoxha cdc80c64e1 small improvements 2025-04-21 13:42:02 +02:00
Kujtim Hoxha d6035dc40c Update agent prompt, improve TUI patch UI, remove obsolete tool tests
- Replace and expand agent coder prompt for clarity and safety
- Add patch tool and TUI dialog support for patch diffs
- Sort sidebar modified files by name
- Remove Bash/Edit/Sourcegraph/Write tool tests

🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-04-21 13:42:02 +02:00
Kujtim Hoxha 91b1a8f064 rename to opencode 2025-04-21 13:42:02 +02:00
Kujtim Hoxha e5eea7b9bf reimplement agent,provider and add file history 2025-04-21 13:42:00 +02:00
Kujtim Hoxha 555361d8da remove node dependency and implement diff format 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 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 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 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 753c468476 add bedrock support 2025-04-09 17:45:41 +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 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
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 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 49b593d9dd small fixes 2025-04-03 19:50:31 +02:00
Kujtim Hoxha 795b369219 small fixes 2025-04-03 17:38:28 +02:00