68 Commits

Author SHA1 Message Date
Nicholas Hamilton 49e111fd9c Fix filepicker manual input (#146)
release / goreleaser (push) Has been cancelled
* fix: allows to type i while manual inputting filepath

* fix: file selection in filepicker focus mode

* remove duplicate code
2025-05-09 16:40:06 +02:00
Kujtim Hoxha 2a8dadd807 small fix
release / goreleaser (push) Has been cancelled
2025-05-09 16:37:02 +02:00
Ed Zynda 40bc352a70 feat: custom commands (#133)
release / goreleaser (push) Has been cancelled
* Implement custom commands

* Add User: prefix

* Reuse var

* Check if the agent is busy and if so report a warning

* Update README

* fix typo

* Implement user and project scoped custom commands

* Allow for $ARGUMENTS

* UI tweaks

* Update internal/tui/components/dialog/arguments.go

Co-authored-by: Kujtim Hoxha <kujtimii.h@gmail.com>

* Also search in $HOME/.opencode/commands

---------

Co-authored-by: Kujtim Hoxha <kujtimii.h@gmail.com>
2025-05-09 16:33:35 +02:00
phantomreactor 638b13e177 add support for images (#144)
release / goreleaser (push) Has been cancelled
2025-05-02 22:23:58 +02:00
Kujtim Hoxha 32060fe93b add xai support (#135)
release / goreleaser (push) Has been cancelled
2025-05-01 14:17:33 +02:00
Adam fa262b5984 fix: more intuitive keybinds (#121) 2025-05-01 12:51:07 +02:00
Adam 183ed91158 feat: themes (#113)
* feat: themes

* feat: flexoki theme

* feat: onedark theme

* feat: monokai pro theme

* feat: opencode theme (default)

* feat: dracula theme

* feat: tokyonight theme

* feat: tron theme

* some small fixes

---------

Co-authored-by: Kujtim Hoxha <kujtimii.h@gmail.com>
2025-05-01 12:49:26 +02:00
Aiden Cline 88adff87d6 feat: model selection for given provider (#57)
release / goreleaser (push) Has been cancelled
* feat: model selection for given provider

* tweak: adjust cfg validation func, remove duplicated logic, consolidate agent updating into agent.go

* tweak: make the model dialog scrollable, adjust padding slightly for modal"

* feat: add provider selection, add hints, simplify some logic, add horizontal scrolling support, additional scroll indicators"

* remove nav help

* update docs

* increase number of visible models, make horizontal scroll "wrap"

* add provider popularity rankings
2025-04-28 19:25:06 +02:00
Kujtim Hoxha f59ee986a4 fix kitty issues 2025-04-24 19:57:04 +02:00
Kujtim Hoxha 6e33817b30 change package name 2025-04-24 18:26:16 +02:00
Kujtim Hoxha dcc3012f1b change additions/removals 2025-04-24 16:40:36 +02:00
Kujtim Hoxha 5c7850576b small fixes 2025-04-24 16:40:36 +02:00
Kujtim Hoxha b90d7e3a9b small changes 2025-04-24 16:40:36 +02:00
Kujtim Hoxha a29f155feb remove edit/normal mode 2025-04-24 16:40:36 +02:00
Kujtim Hoxha 6344673f23 init command 2025-04-21 19:53:55 +02:00
Kujtim Hoxha 4a9496e9df prevent the editor when agent busy 2025-04-21 16:50:10 +02:00
Kujtim Hoxha 94271b528f config validation 2025-04-21 14:29:28 +02:00
Kujtim Hoxha dc0894025e fix the memory bug 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 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 0768c372c9 update logs 2025-04-21 13:42:02 +02:00
Kujtim Hoxha cdc80c64e1 small improvements 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 555361d8da remove node dependency and implement diff format 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 f48c3a00ba wip files 2025-04-21 13:38:42 +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
Kujtim Hoxha 6a5e910883 add initial message handling 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 961af93479 add initial mock sidebar 2025-04-21 13:38:42 +02:00
Kujtim Hoxha 296266cdf7 intiial layout 2025-04-21 13:38:42 +02:00
Kujtim Hoxha e7e57c4c3d fix logs and add cancellation 2025-04-10 13:29:44 +02:00
Kujtim Hoxha 7056391f5f add logs border title 2025-04-09 20:10:40 +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 7b8b9bdc29 small fixes 2025-04-09 19:18:51 +02:00
Kujtim Hoxha 58a7aee0c4 finish logs page 2025-04-09 19:07:39 +02:00
Kujtim Hoxha 2408a13138 remove logs 2025-04-09 17:51:00 +02:00
Kujtim Hoxha 753c468476 add bedrock support 2025-04-09 17:45:41 +02:00
Kujtim Hoxha ceccfad49d Merge pull request #22 from adamdottv/adam/retries
fix(anthropic): better 429/529 handling
2025-04-08 20:32:57 +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
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