Commit Graph

96 Commits

Author SHA1 Message Date
ElecTwix
d983b9485d fix: add doom loop detection (#3445)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 00:13:18 -05:00
Dax Raad
78d6b3a963 fix crash when todo content is empty fixes #2622 2025-09-16 04:28:35 -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
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
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
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
adamdotdevin
a4beb60e19 chore: rename bash -> shell 2025-08-13 15:11:30 -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
4ff64c6209 fix: take up less vertical space 2025-08-11 13:38:39 -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
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
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
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
Aiden Cline
6581741318 fix: include stderr in bash tool output (#1511) 2025-08-01 19:20:32 -05: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
Dax Raad
fc13d057f8 agents better display when spawning 2025-07-24 23:08:03 -04:00
Aiden Cline
3d4c1425d9 tweak: cleanup cancelled markdown (#1222) 2025-07-22 12:08:03 -05:00
plyght
4b2e52c834 feat(tui): paste minimizing (#784)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-07-21 10:31:29 -05:00
Dax Raad
a8b4aed446 fix bash tool rendering 2025-07-19 22:25:15 -04:00
Dax Raad
87d21ebf2b Revert "fix: prevent sparse spacing in hyphenated words (#1102)"
This reverts commit 2b44dbdbf1.
2025-07-19 19:25:15 -04:00
Aiden Cline
97d9c851e6 fix: escape ansi sequences (#1139) 2025-07-19 12:02:24 -05:00
Tom
2b44dbdbf1 fix: prevent sparse spacing in hyphenated words (#1102) 2025-07-19 09:28:40 -05:00
adamdotdevin
cdc1d8a94d feat(tui): layout config to render full width 2025-07-16 12:43:02 -05:00
adamdotdevin
a563fdd287 fix(tui): diagnostics rendering 2025-07-16 06:55:14 -05:00
adamdotdevin
7c93bf5993 fix(tui): pending tool call width 2025-07-16 06:27:32 -05:00
adamdotdevin
a39136a2a0 fix(tui): render attachments in user messages in accent color 2025-07-16 06:09:27 -05:00
adamdotdevin
d41aa2bc72 chore(tui): simplify messages component, remove navigate, add copy last message 2025-07-16 06:09:26 -05:00
Dax Raad
d62746ceb7 fix panic 2025-07-15 00:35:02 -04:00
Dax Raad
4b2ce14ff3 bring back task tool 2025-07-15 00:05:54 -04:00
Aiden Cline
97a31ddffc tweak: plan interactions should match web (TUI) (#895) 2025-07-11 18:03:22 -04:00
adamdottv
269b43f4de fix(tui): markdown wrapping off sometimes 2025-07-09 06:41:53 -05:00