72 Commits

Author SHA1 Message Date
Garrett Ladley 0b9088eb28 feat: configure context paths (#86)
release / goreleaser (push) Has been cancelled
2025-04-27 20:11:09 +02:00
Kujtim Hoxha 0172dcddf5 fix minor issue
release / goreleaser (push) Has been cancelled
2025-04-27 19:24:46 +02:00
Kujtim Hoxha b387a7d30b fix gemini provider
release / goreleaser (push) Has been cancelled
2025-04-27 19:12:02 +02:00
Lukáš Loukota dacaaf7465 fix: gemini tool calling 2025-04-27 19:12:02 +02:00
Kujtim Hoxha c7c723ee7f small glob fixes 2025-04-27 18:01:31 +02:00
isaac-scarrott 63617f4345 [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
Sam Ottenhoff 0e783fbbfa Handle new Cursor rules format
1. Check if a path ends with a slash (/)
2. If it does, treat it as a directory and read all files within it
3. For directories like .cursor/rules/, it will scan all files and include their content in the prompt
4. Each file from a directory will be prefixed with "# From filename" for clarity
2025-04-27 14:17:06 +02:00
Kujtim Hoxha 8cad545138 fix retry warning
release / goreleaser (push) Has been cancelled
2025-04-27 14:08:09 +02:00
Fuad f83e9980f0 use workingDir if shellInstance is nil otherwise use cwd if shellInstance is not nil 2025-04-27 13:46:59 +02:00
Fuad 869dc96ac1 use provided workingg dir 2025-04-27 13:46:59 +02:00
Fuad 024118757d 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 7710a5c8cb fix acc error
release / goreleaser (push) Has been cancelled
2025-04-25 21:58:14 +02:00
Kujtim Hoxha e0da02457b small fixes 2025-04-25 14:42:47 +02:00
Hunter Casten 8f31eb3ba0 feat(groq): add support for Groq using the OpenAI provider 2025-04-25 11:11:52 +02:00
Kujtim Hoxha 6e33817b30 change package name 2025-04-24 18:26:16 +02:00
Kujtim Hoxha 6344673f23 init command 2025-04-21 19:53:55 +02:00
Kujtim Hoxha 94271b528f config validation 2025-04-21 14:29:28 +02:00
Kujtim Hoxha 0094dd728c remove old logs 2025-04-21 13:46:32 +02:00
Kujtim Hoxha 77cf4bf688 fix anthropic 2025-04-21 13:42:29 +02:00
Kujtim Hoxha 39375ed352 add context to the prompt 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 20c28668ca add bedrock model 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 524d2080b0 small fixes 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 49b0be8f48 minor fixes 2025-04-21 13:41:27 +02:00
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 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
jdlms f911d957ca OpenAI model config changed to GPT-4.1 2025-04-15 09:36:47 +02: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 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 58a7aee0c4 finish logs page 2025-04-09 19:07:39 +02:00
Kujtim Hoxha 753c468476 add bedrock support 2025-04-09 17:45:41 +02:00