Commit graph

57 commits

Author SHA1 Message Date
Ed Zynda
4a444e9c9b
feat: Make shell configurable via config file (#23) 2025-05-16 06:27:28 -05:00
adamdottv
a65e593ab4
feat: batch tool 2025-05-15 12:44:16 -05:00
Adictya
3ee213081e fix(complete-module): logging 2025-05-15 08:29:54 -05:00
Adictya
15bf40bc10 feat(complete-module): add completions logic, dialog and providers 2025-05-15 08:29:54 -05:00
adamdottv
c8f8d67a88
feat: codeAction tool 2025-05-14 14:57:47 -05:00
adamdottv
5ea989fb74
feat: docSymbols and workspaceSymbols tools 2025-05-14 14:40:45 -05:00
adamdottv
45c778b90d
feat: definition and references tools 2025-05-14 14:25:15 -05:00
adamdottv
4c998d4f4f
chore: remove sourcegraph tool 2025-05-14 10:42:16 -05:00
adamdottv
2391e338b4
chore: rename 2025-05-13 10:02:39 -05:00
adamdottv
8cbfc581b5
chore: cleanup 2025-05-12 10:45:03 -05:00
adamdottv
dfe5fd8d97
wip: refactoring 2025-05-12 09:44:56 -05:00
adamdottv
f100777199
wip: logging improvements 2025-05-09 13:37:13 -05:00
adamdottv
f41b7bbd0a
chore: refactoring status updates 2025-05-08 12:03:59 -05:00
adamdottv
0095832be3 chore: cleanup and logging 2025-05-02 15:24:47 -05:00
adamdottv
406ccf9b87 fix: diagnostics tool init 2025-05-02 15:24:47 -05:00
adamdottv
f2b36b9234
fix: remove lsp tool 2025-05-01 07:28:37 -05:00
adamdottv
d08e58279d
feat: lsp discovery 2025-05-01 06:26:20 -05:00
Kujtim Hoxha
5859dcdc00 small glob fixes 2025-04-27 18:01:31 +02:00
isaac-scarrott
3c2b0f4dd0 [feature/ripgrep-glob] Add ripgrep-based file globbing to improve performance
- Introduced `globWithRipgrep` function to perform file globbing using the `rg` (ripgrep) command.
- Updated `globFiles` to prioritize ripgrep-based globbing and fall back to doublestar-based globbing if ripgrep fails.
- Added logic to handle ripgrep command execution, output parsing, and filtering of hidden files.
- Ensured results are sorted by path length and limited to the specified maximum number of matches.
- Modified imports to include `os/exec` and `bytes` for ripgrep integration.
2025-04-27 18:01:31 +02:00
Fuad
8a4d4152ce use workingDir if shellInstance is nil otherwise use cwd if shellInstance is not nil 2025-04-27 13:46:59 +02:00
Fuad
f12386e558 use provided workingg dir 2025-04-27 13:46:59 +02:00
Fuad
94aeb7b7fe Fix nil pointer dereference in GetPersistentShell
Added nil check in GetPersistentShell before accessing
shellInstance.isAlive
to prevent panic when newPersistentShell returns nil due to shell
startup
errors. This resolves the "invalid memory address or nil pointer
dereference"
error that was occurring in the shell tool.
2025-04-27 13:46:59 +02:00
Kujtim Hoxha
b106787a50 change package name 2025-04-24 18:26:16 +02:00
Kujtim Hoxha
3a6a26981a init command 2025-04-21 19:53:55 +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
1da298e755 fix anthropic 2025-04-21 13:42:29 +02:00
Kujtim Hoxha
2b5a33e476 lsp improvements 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
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
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
cdc5f209dc cleanup diff, cleanup agent 2025-04-21 13:41:27 +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
6fe85c66e7 small change 2025-04-11 13:21:41 +02:00
Kujtim Hoxha
0d8d324ac6 cleanup retry 2025-04-08 20:46:40 +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
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
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
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