Kujtim Hoxha and adamdottv
a61b2026eb
add xai support ( #135 )
2025-05-01 11:08:26 -05:00
Kujtim Hoxha and adamdottv
e4680caebb
some small fixes
2025-05-01 11:07:47 -05:00
Kujtim Hoxha
2941137416
fix diagnostics for deleted files
2025-04-28 19:37:42 +02:00
Kujtim Hoxha
bce2ec5c10
fix duplicate context
2025-04-27 20:43:27 +02:00
Kujtim Hoxha
292e9d90ca
remove unnecessary var
2025-04-27 20:34:20 +02:00
Kujtim Hoxha
2b4441a0d1
fix context
2025-04-27 20:31:53 +02:00
Kujtim Hoxha
4415220555
fix minor issue
2025-04-27 19:24:46 +02:00
Kujtim Hoxha
a3a04d8a54
fix gemini provider
2025-04-27 19:12:02 +02:00
Kujtim Hoxha
5859dcdc00
small glob fixes
2025-04-27 18:01:31 +02:00
Kujtim Hoxha
9738886620
fix provider config
2025-04-27 14:44:40 +02:00
Kujtim Hoxha
b3a8dbd0d9
fix retry warning
2025-04-27 14:08:09 +02:00
Kujtim Hoxha
a35466cdb3
fix acc error
2025-04-25 21:58:14 +02:00
Kujtim Hoxha
170c7ad67a
small fixes
2025-04-25 14:42:47 +02:00
Kujtim Hoxha
1586d757dc
remove tool timeout
2025-04-24 22:35:17 +02:00
Kujtim Hoxha
aaf0bc14ba
try fix
2025-04-24 22:27:51 +02:00
Kujtim Hoxha
f2d9bb7ee3
try fix
2025-04-24 22:27:51 +02:00
Kujtim Hoxha
de41703e20
change db driver
2025-04-24 22:27:51 +02:00
Kujtim Hoxha
2c24bfb7b3
fix kitty issues
2025-04-24 19:57:04 +02:00
Kujtim Hoxha
b106787a50
change package name
2025-04-24 18:26:16 +02:00
Kujtim Hoxha
e1b2ce483f
change additions/removals
2025-04-24 16:40:36 +02:00
Kujtim Hoxha
c42d94c465
small fixes
2025-04-24 16:40:36 +02:00
Kujtim Hoxha
f879a94c95
update mainter email
2025-04-24 16:40:36 +02:00
Kujtim Hoxha
6d05d5a7c3
small changes
2025-04-24 16:40:36 +02:00
Kujtim Hoxha
2c5003e3fc
remove edit/normal mode
2025-04-24 16:40:36 +02:00
Kujtim Hoxha and GitHub
cded7ee9fd
Merge pull request #38 from rgodha24/fix-provider-defaults
...
fix: set provider defaults correctly in AWS projects
2025-04-22 12:15:27 +02:00
Kujtim Hoxha and GitHub
5d7a9a98b3
Merge pull request #34 from shreyassanthu77/main
2025-04-22 00:06:03 +02:00
Kujtim Hoxha and GitHub
f33dff8772
Merge pull request #27 from kujtimiihoxha/opencode
...
OpenCode - Initial Implementation
2025-04-21 19:59:35 +02:00
Kujtim Hoxha
3a6a26981a
init command
2025-04-21 19:53:55 +02:00
Kujtim Hoxha
d7569d79c6
prevent the editor when agent busy
2025-04-21 16:50:10 +02:00
Kujtim Hoxha
ed3518d075
small things
2025-04-21 16:24:38 +02:00
Kujtim Hoxha
d03a73a8d3
update readme
2025-04-21 16:22:52 +02:00
Kujtim Hoxha
1e11805efc
add description
2025-04-21 15:52:32 +02:00
Kujtim Hoxha
a8d5787e8e
config validation
2025-04-21 14:29:28 +02:00
Kujtim Hoxha
9ae6af8856
remove old logs
2025-04-21 13:46:32 +02:00
Kujtim Hoxha
e7bb99baab
fix the memory bug
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
1da298e755
fix anthropic
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
c40e68496d
add context to the prompt
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
8e160488ff
improve cache
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
2de5127417
initial tool call stream
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
2b5a33e476
lsp improvements
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
bf8cd3bd12
add bedrock model
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
72afeb9f54
small fixes
2025-04-21 13:42:29 +02:00
Kujtim Hoxha
333ea6ec4b
implement patch, update ui, improve rendering
2025-04-21 13:42:27 +02:00
Kujtim Hoxha
05d0e86f10
update logs
2025-04-21 13:42:02 +02:00
Kujtim Hoxha
e3a62736db
add license
2025-04-21 13:42:02 +02:00
Kujtim Hoxha
c24e3c18e0
small improvements
2025-04-21 13:42:02 +02:00
Kujtim Hoxha
caea293759
small fixes
2025-04-21 13:42:02 +02:00
Kujtim Hoxha
36172979b4
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
cc07f7a186
rename to opencode
2025-04-21 13:42:02 +02:00
Kujtim Hoxha
bbfa60c787
reimplement agent,provider and add file history
2025-04-21 13:42:00 +02:00
Kujtim Hoxha
76b4065f17
update gitignore
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
1cdd24fbc7
minor fixes
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
f6be348bf7
fix segment diff and add new theme
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
013694832f
fix diff
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
0130bde1ed
remove node dependency and implement diff format
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
0b3e5f5bd4
handle errors correctly in the other tools
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
921f5ee5bd
handle errors correctly in the edit tool
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
9ae05fea12
handle errros correctly in the bash tool
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
80cd75c4fb
handle errors correctly in the agent tool
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
cdc5f209dc
cleanup diff, cleanup agent
2025-04-21 13:41:27 +02:00
Kujtim Hoxha
3ad983db0f
cleanup app, config and root
2025-04-21 13:41:25 +02:00
Kujtim Hoxha
5601466fe1
cleanup config
2025-04-21 13:40:35 +02:00
Kujtim Hoxha
d63d0c4c44
wip files
2025-04-21 13:38:42 +02:00
Kujtim Hoxha
bd2ec29b65
add initial git support
2025-04-21 13:38:42 +02:00
Kujtim Hoxha
0697dcc1d9
implement nested tool calls and initial setup for result metadata
2025-04-21 13:38:42 +02:00
Kujtim Hoxha
8d874b839d
add initial message handling
2025-04-21 13:38:42 +02:00
Kujtim Hoxha
08bd75bb6e
add initial mock sidebar
2025-04-21 13:38:42 +02:00
Kujtim Hoxha
23e7a95083
intiial layout
2025-04-21 13:38:42 +02:00
Kujtim Hoxha and GitHub
6b1c64bcc7
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
Kujtim Hoxha and GitHub
9004b91bf9
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
Kujtim Hoxha
6fe85c66e7
small change
2025-04-11 13:21:41 +02:00
Kujtim Hoxha
c08f5a7902
fix cancell
2025-04-10 15:27:42 +02:00
Kujtim Hoxha
36f201d5d3
fix logs and add cancellation
2025-04-10 13:29:44 +02:00
Kujtim Hoxha
0b007b9c77
add logs border title
2025-04-09 20:10:40 +02:00
Kujtim Hoxha
21cfe9a243
default the region to us
2025-04-09 20:05:22 +02:00
Kujtim Hoxha
65055c7687
minor fixes
2025-04-09 20:04:44 +02:00
Kujtim Hoxha and GitHub
2af1bbb828
Merge pull request #25 from kujtimiihoxha/cleanup-logs-status
...
Cleanup Logs and Status
2025-04-09 19:19:45 +02:00
Kujtim Hoxha
635324d386
small fixes
2025-04-09 19:18:51 +02:00
Kujtim Hoxha
d39d52d95d
finish logs page
2025-04-09 19:07:39 +02:00
Kujtim Hoxha
b12ca55594
remove logs
2025-04-09 17:51:00 +02:00
Kujtim Hoxha and GitHub
e090223b13
Merge pull request #26 from kujtimiihoxha/bedrock
...
Add initial support for bedrock
2025-04-09 17:49:24 +02:00
Kujtim Hoxha
939ae03f42
add bedrock support
2025-04-09 17:45:41 +02:00
Kujtim Hoxha
0d8d324ac6
cleanup retry
2025-04-08 20:46:40 +02:00
Kujtim Hoxha and GitHub
fde04bbf85
Merge pull request #22 from adamdottv/adam/retries
...
fix(anthropic): better 429/529 handling
2025-04-08 20:32:57 +02:00
Kujtim Hoxha and GitHub
124bd57c50
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
Kujtim Hoxha
f463ce6694
improve status message handling
2025-04-07 19:43:31 +02: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
Kujtim Hoxha and GitHub
b8383f5590
Merge pull request #21 from adamdottv/adam/anthropic-empty-messages
2025-04-05 09:32:07 +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
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