Commit log

124bd57 Merge pull request #24 from kujtimiihoxha/cleanup-tools

Click to expand commit body
Cleanup tools

Kujtim Hoxha created

c571283 fix typo

Kujtim Hoxha created

9492394 structure tools the same

Click to expand commit body
- add some tests
- fix some tests
- change how we handle permissions

Kujtim Hoxha created

4385fb3 fix: status messages

adamdottv created

f463ce6 improve status message handling

Kujtim Hoxha created

57a2210 fix: handle anthropic 429s

adamdottv created

5acf0cb update readme

Kujtim Hoxha created

a6db4f6 remove test code

Kujtim Hoxha created

50d8fbb fix(anthropic): increase max retries

adamdottv created

b8383f5 Merge pull request #21 from adamdottv/adam/anthropic-empty-messages

Kujtim Hoxha created

781b296 fix(anthropic): skip empty messages

adamdottv created

6419973 Enhance bash tool security and improve permission dialog UI

Click to expand commit body
- 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>

Kujtim Hoxha and termai created

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>

Kujtim Hoxha and termai created

1d467df Fix status message clearing issue

Click to expand commit body
- 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>

Kujtim Hoxha and termai created

eb9877e add sourcegraph tool

Kujtim Hoxha created

f8e05a0 small improvements to the prompt

Kujtim Hoxha created

49b593d small fixes

Kujtim Hoxha created

230917b add termai config

Kujtim Hoxha created

795b369 small fixes

Kujtim Hoxha created

cfdd687 add initial lsp support

Kujtim Hoxha created

afd9ad0 rework llm

Kujtim Hoxha created

904061c additional tools

Kujtim Hoxha created

005b8ac initial working agent

Kujtim Hoxha created

e7258e3 initial agent setup

Kujtim Hoxha created

8daa6e7 add initial stuff

Kujtim Hoxha created

796bbf4 small size fix and colors added

Kujtim Hoxha created

7844cac add help

Kujtim Hoxha created

4b0ea68 initial

Kujtim Hoxha created