Commit Graph

230 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
dac821229e fix: resolve [pasted lines] when passing paste as arguments for command (#2333) 2025-08-30 10:56:00 -05:00
Aiden Cline
37cf262094 fix: tui not showing err toasts (#2290) 2025-08-28 10:55:47 -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
Aiden Cline
574be9febf fix: keybind panic (#2092) 2025-08-19 22:39:59 -05:00
Timo Clasen
4913ee6afd fix(TUI): make it less shimmer (#2076) 2025-08-19 15:30:54 -05:00
Aiden Cline
ad76d7e57d fix: add type checking for MCP tool path parameters (#2073)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2025-08-19 13:38:33 -05:00
Aiden Cline
8f230ad4b4 fix: interface conversion panic (#2060) 2025-08-19 05:25:46 -05:00
adamdotdevin
2f4db2777c fix(tui): title bg color missing on system theme 2025-08-18 06:00:38 -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
Mariano Uvalle
0befc5d602 Feat: Render tool metadata after permission rejection. (#1949)
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-08-15 06:16:40 -05:00
Dax Raad
796bc390db fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
adamdotdevin
a4beb60e19 chore: rename bash -> shell 2025-08-13 15:11:30 -05:00
adamdotdevin
69d516c7fa fix: default scroll speed should be slower 2025-08-13 14:35:18 -05:00
adamdotdevin
1357319f6f feat: bash commands 2025-08-13 13:28:22 -05:00
adamdotdevin
66d99ba527 fix: messages layout instability 2025-08-13 11:43:28 -05:00
adamdotdevin
aae354c951 fix: word wrapping with hyphens 2025-08-12 13:03:35 -05: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
7a67fe7dde fix: collapsed tool calls hidden at times 2025-08-11 13:54:58 -05:00
adamdotdevin
4ff64c6209 fix: take up less vertical space 2025-08-11 13:38:39 -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
a4113acd15 fix: assistant message footer styles 2025-08-11 10:57:18 -05:00
adamdotdevin
9c8e56fc96 fix: assistant message footer styles 2025-08-11 10:52:49 -05:00
adamdotdevin
c78cb57c41 fix: assistant message footer styles 2025-08-11 10:50:00 -05:00
adamdotdevin
e8d144d2a2 fix: reformat assistant message footer 2025-08-11 09:38:52 -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
Dax Raad
061ba65d20 show combined output of bash tool progressively 2025-08-11 01:23:00 -04:00
adamdotdevin
b8d2aebf09 feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
spoons-and-mirrors
bd4319f2bc Feat: Add Agent Name in the LLM Response Footer (and re-order it) (#1770) 2025-08-09 20:22:16 -05:00
Dominik Engelhardt
81a3e02474 feat: improve file attachment pasting (#1704) 2025-08-08 20:06:38 -05:00
Dax
85eaa5b58b Remove unused OpenTelemetry tracing and fix overlapping highlights (#1738)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:20:01 -04: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
Aiden Cline
7950ae1462 fix: text selection bug (#1664) 2025-08-07 05:32:34 -05:00
Aiden Cline
b179d08484 fix: interface conversion panic (#1655) 2025-08-06 14:02:33 -05:00
Aiden Cline
b8a0ecca98 fix: highlight after text wrap (#1640) 2025-08-06 05:17:35 -05:00
adamdotdevin
6b25b7e95e feat: better assistant message visual 2025-08-05 19:05:44 -05:00
Omar Shaarawi
58e889796c validate file part bounds to prevent panic (#1612) 2025-08-05 05:18:50 -05:00
Dax Raad
0a42068fbb hack to return tool call errors back to model 2025-08-04 12:15:24 -04:00
Yihui Khuu
8ad83f71a9 fix(tui): attachment highlighting issues in messages (#1534) 2025-08-02 09:26:44 -05:00