Commit Graph
118 Commits
Author SHA1 Message Date
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
Daxandadamdotdevin 133fe41cd5 slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Timo Clasen 4913ee6afd fix(TUI): make it less shimmer (#2076) 2025-08-19 15:30:54 -05:00
Aiden Cline 8f230ad4b4 fix: interface conversion panic (#2060) 2025-08-19 05:25:46 -05:00
Ytzhak 667ff90dd6 feat: add shimmer text rendering (#2027) 2025-08-18 05:55:01 -05:00
Yihui Khuu 3f3da44ed9 fix(tui): text selection is sometimes not cleared when click+release without dragging (#1993) 2025-08-16 09:16:09 -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
Aiden Cline e545bfef1f tweak: fix scroll speed (#1974) 2025-08-15 16:19:58 -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
Aiden Cline dc01071498 feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
adamdotdevin 07dbc30c63 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin 08a83b7337 feat: better queued visual 2025-08-15 06:55:16 -05:00
Dax Raad 796bc390db fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
adamdotdevin 69d516c7fa fix: default scroll speed should be slower 2025-08-13 14:35:18 -05:00
adamdotdevin 66d99ba527 fix: messages layout instability 2025-08-13 11:43:28 -05:00
adamdotdevin 7a67fe7dde fix: collapsed tool calls hidden at times 2025-08-11 13:54:58 -05:00
adamdotdevin 5e777fd2a2 feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
adamdotdevin 3c71fda648 fix: don't display placeholder on error 2025-08-11 11:58:46 -05:00
adamdotdevin a760e8364f feat: placeholder on pending assistant message 2025-08-11 09:29:44 -05:00
adamdotdevin fa7cae59c0 fix: re-render messages on session error 2025-08-11 09:19:45 -05:00
adamdotdevin b8d2aebf09 feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
Yihui Khuu fe26b4a7b1 fix(tui): preserve scroll position when reflowing due to message stream (#1716) 2025-08-08 13:14:09 -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
Omar Shaarawi 58e889796c validate file part bounds to prevent panic (#1612) 2025-08-05 05:18:50 -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
Dax Raad a5b20f973f wip: refactor permissions 2025-07-31 12:26:47 -04:00
adamdotdevin 5500698734 wip: tui permissions 2025-07-31 09:59:17 -05:00
Aiden Cline 09074dc639 fix: attachment highlighting (#1427) 2025-07-30 11:43:34 -05:00
adamdotdevin a129e122aa feat: show git diff in reverted messages 2025-07-29 13:11:38 -05:00
Dax Raad 9c9cbb3e81 wip: undo properly remove messages from UI 2025-07-28 22:58:31 -04:00
Dax Raad 081f100c93 ignore: tweak 2025-07-28 12:20:37 -04:00
Dax Raad f2bdb8159f fix phantom tool call failed messages and empty text parts with some models 2025-07-28 12:19:38 -04:00
Yihui Khuu 0795a577e0 fix: header width to display header in one line when sharing disabled (#1310) 2025-07-25 09:32:06 -05:00
Aiden Cline 22c9e2942b (tui) tweak: add setting for scroll speed (#1288) 2025-07-24 16:34:59 -05:00
Dax Raad 3fdd23df16 fix header width 2025-07-23 20:48:35 -04:00
Dax Raad 1ad529db59 wip: fix redoing 2025-07-23 20:42:02 -04:00
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
Aiden Cline e4f754eee7 fix: mouse text selection bug (#1206) 2025-07-21 19:15:36 -05:00
Dax 1ded535175 message queuing (#1200) 2025-07-21 15:14:54 -04:00
Dax Raad 6867658c0f do not copy empty strings 2025-07-21 11:27:15 -04:00
Dax Raad b8620395cb include newline between messages when copying 2025-07-21 11:22:51 -04:00
Dax Raad 90d37c98f8 add toast for copy 2025-07-21 11:19:54 -04:00
adamdotdevin 8e8796507d feat(tui): message history select with up/down arrows 2025-07-21 05:52:11 -05:00
Aiden Cline cef5c29583 fix: pasting issue (#1182) 2025-07-21 04:09:16 -05:00
Dax Raad 758425a8e4 trimmed selection ui 2025-07-20 19:36:56 -04:00
Dax Raad 93446df335 ignore: remove log 2025-07-20 19:08:19 -04:00
Dax Raad adc8b90e0f implement copy paste much wow can you believe we went this long without it so stupid i blame adam 2025-07-20 19:05:38 -04:00
Dax Raad 6232e0fc58 fix bad layout on first render of chat history 2025-07-19 22:38:36 -04:00