Commit Graph

164 Commits

Author SHA1 Message Date
Aiden Cline
aca32eaa1c fix: tui not showing some errors 2025-10-30 01:41:28 -05:00
kcrommett
7216a8c86d fix: editor paste functionality for text attachments (#3489) 2025-10-27 17:51:33 -05:00
Affaan Mustafa
8db5951287 feat: Improve editor detection with auto-discovery and better error messages (#3155)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-21 20:49:42 -05:00
Walter
6adc16ca8a fix(tui): Allow modals to handle ESC key before force closing (#3279) 2025-10-19 22:16:54 -05:00
Adam
3c282c3c37 fix(tui): suggestions gap on home page 2025-10-08 06:56:18 -05:00
Adam
05e6c3d8a0 fix(tui): cursor position 2025-09-26 06:13:23 -05:00
Dax Raad
5c67bebf86 tui: fix cursor position offset in home screen 2025-09-26 05:46:16 -04:00
Dax Raad
55d154d4ac tui: fix opencode logo spacing in home view 2025-09-26 01:40:32 -04:00
Dax Raad
7ec3900208 core: enable reasoning.encrypted_content and reasoningSummary for opencode provider\ntui: adjust editorY position calculation 2025-09-26 01:27:53 -04:00
David Hill
8f135d13e3 Update opencode logo 2025-09-25 23:22:50 +01:00
Adam
2460108223 fix: remove grok msg 2025-09-19 09:59:47 -05:00
Dax Raad
4c94753eda compaction improvements 2025-09-11 02:22:51 -04:00
Dax
f993541e0b Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Aiden Cline
37cf262094 fix: tui not showing err toasts (#2290) 2025-08-28 10:55:47 -05:00
Frank
e73a7c23d0 Revert "fix(tui): too early"
This reverts commit 564418f1ff.
2025-08-26 16:13:16 -04:00
adamdotdevin
564418f1ff fix(tui): too early 2025-08-25 12:04:49 -05:00
adamdotdevin
34982b5d18 fix(tui): wording 2025-08-25 16:38:25 +00:00
adamdotdevin
0a0b363587 feat(tui): grok free 2025-08-25 11:27:58 -05:00
adamdotdevin
f1684c9e15 fix(tui): fix logo color 2025-08-25 10:08:52 -05:00
Dax
133fe41cd5 slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
spoons-and-mirrors
cd3d91209a tweak(timeline): add a dot to the session timeline modal for better visual cue of session's revert point (#1978) 2025-08-18 05:50:43 -05:00
Yihui Khuu
b3885d1614 feat(tui): retain cache when cycling between subagent/parent sessions for perf (#1981) 2025-08-16 08:58:13 -05:00
spoons-and-mirrors
69117fa453 feat(TUI): improves UX with message navigation modal to jump and restore to specific messages (#1969) 2025-08-15 13:23:21 -05:00
adamdotdevin
07dbc30c63 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin
9609c1803e feat: /tui/show-toast api 2025-08-15 08:39:58 -05:00
adamdotdevin
6e0e87fb2a fix: more commands cleanup 2025-08-15 07:43:30 -05:00
adamdotdevin
79a4e35a74 fix: keybind docs out of sync 2025-08-15 06:45:20 -05:00
Yihui Khuu
92d4366a20 feat(tui): support cycling recent models in reverse (#1953) 2025-08-15 06:20:07 -05:00
adamdotdevin
a4beb60e19 chore: rename bash -> shell 2025-08-13 15:11:30 -05:00
adamdotdevin
1357319f6f feat: bash commands 2025-08-13 13:28:22 -05:00
spoons-and-mirrors
47c327641b feat: add session rename functionality to TUI modal (#1821)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:22:03 -04:00
spoons-and-mirrors
81583cddbd refactor(agent-modal): revamped UI/UX for the agent modal (#1838)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:21:57 -04:00
adamdotdevin
b2f2c9ac37 fix: use real cursor instead of virtual cursor 2025-08-12 07:52:19 -05:00
adamdotdevin
febf902dc4 Revert "feat: improve file attachment pasting (#1704)"
This reverts commit 81a3e02474.
2025-08-11 18:37:34 -05:00
adamdotdevin
5e777fd2a2 feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
spoons-and-mirrors
73a8356b10 Feat: Add F2 Keybind to Cycle Through the 5 Most Recent Models (#1778) 2025-08-11 07:00:32 -05:00
Aiden Cline
62b8c7aee0 feat (tui): agents dialog (#1802) 2025-08-11 01:46:38 -04:00
adamdotdevin
b8d2aebf09 feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
Dominik Engelhardt
81a3e02474 feat: improve file attachment pasting (#1704) 2025-08-08 20:06:38 -05:00
Dax
c34aec060f Merge agent and mode into one (#1689)
The concept of mode has been deprecated, there is now only the agent field in the config.

An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it

Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Aiden Cline
c6a46615c0 fix: modal pastes (#1677) 2025-08-07 13:23:58 -05:00
Dax Raad
614a23698f wip: permissions 2025-07-31 16:51:55 -04:00
adamdotdevin
936f4cb0c6 fix: permission state hangs 2025-07-31 11:36:08 -05:00
adamdotdevin
872b1e068f feat: more scriptable tui (api) 2025-07-31 11:24:23 -05:00
adamdotdevin
5500698734 wip: tui permissions 2025-07-31 09:59:17 -05:00
Andrea Grandi
3bd2b340c8 feat: show current git branch in status bar, and make it responsive (#1339)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-07-29 11:15:04 -05:00
Dax Raad
9c9cbb3e81 wip: undo properly remove messages from UI 2025-07-28 22:58:31 -04:00
Dax
96866e52ce basic undo feature (#1268)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Andrew Joslin <andrew@ajoslin.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Tobias Walle <9933601+tobias-walle@users.noreply.github.com>
2025-07-23 20:30:46 -04:00
Dax Raad
7998c3b5ce wip: tui api 2025-07-22 15:49:24 -04:00
Dax Raad
500cea5ce7 wip: append-prompt is better 2025-07-22 12:27:02 -04:00