Commit Graph

64 Commits (d93694a97961ba33d952535f71f4afa2ea924bb9)

Author SHA1 Message Date
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 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
Hunter Casten 7a62ab7675 feat(groq): add support for Groq using the OpenAI provider 2025-04-25 11:11:52 +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 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 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 1cdd24fbc7 minor fixes 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 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
jdlms 633d1d286a OpenAI model config changed to GPT-4.1 2025-04-15 09:36:47 +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 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 2af1bbb828 Merge pull request #25 from kujtimiihoxha/cleanup-logs-status
Cleanup Logs and Status
2025-04-09 19:19:45 +02:00
Kujtim Hoxha d39d52d95d finish logs page 2025-04-09 19:07:39 +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 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 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
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
adamdottv 57a2210d8d fix: handle anthropic 429s 2025-04-07 10:43:54 -05:00
adamdottv 50d8fbbb40 fix(anthropic): increase max retries 2025-04-05 15:07:43 -05:00