Commit graph

69 commits

Author SHA1 Message Date
Kujtim Hoxha
90084ce43d
Context Window Warning (#152)
* context window warning & compact command

* auto compact

* fix permissions

* update readme

* fix 3.5 context window

* small update

* remove unused interface

* remove unused msg
2025-05-09 19:30:57 +02:00
Nicholas Hamilton
9345830c8a
Fix filepicker manual input (#146)
* 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
5307100f89 small fix 2025-05-09 16:37:02 +02:00
Ed Zynda
a58e607c5f
feat: custom commands (#133)
* 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
9fec8df7d0
add support for images (#144) 2025-05-02 22:23:58 +02:00
Kujtim Hoxha
603a3e3c71
add xai support (#135) 2025-05-01 14:17:33 +02:00
Adam
58705a1352
fix: more intuitive keybinds (#121) 2025-05-01 12:51:07 +02:00
Adam
82de14371d
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
b3c0285db3
feat: model selection for given provider (#57)
* 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
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
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
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
a8d5787e8e config validation 2025-04-21 14:29:28 +02:00
Kujtim Hoxha
e7bb99baab fix the memory bug 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
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
c24e3c18e0 small improvements 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
0130bde1ed remove node dependency and implement diff format 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
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
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
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
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
939ae03f42 add bedrock support 2025-04-09 17:45:41 +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
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