Commit Graph

240 Commits

Author SHA1 Message Date
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
Aiden Cline
6581741318
fix: include stderr in bash tool output (#1511) 2025-08-01 19:20:32 -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
neolooong
e4e0b8fd34
fix(editor): handle UTF-8 characters properly in SetValueWithAttachments (#1469) 2025-07-31 10:45:43 -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
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
Aiden Cline
b18b646f8e
fix: attachment bugs (#1335) 2025-07-27 12:21:31 -05: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
Dax Raad
fc13d057f8 agents better display when spawning 2025-07-24 23:08:03 -04: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
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
Aiden Cline
289a4d9b18
tweak: handle pasted attachment references (#1257) 2025-07-23 15:41:17 -05:00
Tobias Walle
12bf5f641d
fix "working" spinner animation (#1054) (#1259) 2025-07-23 15:40:34 -05:00
Aiden Cline
3d4c1425d9
tweak: cleanup cancelled markdown (#1222) 2025-07-22 12:08:03 -05:00
Dax Raad
5aafab118f wip: tui api 2025-07-22 12:15:50 -04:00
Aiden Cline
e4f754eee7
fix: mouse text selection bug (#1206) 2025-07-21 19:15:36 -05:00
Timo Clasen
bec796e3c3
feat(tui): add ctrl+p and ctrl-n to history navigation (#1199) 2025-07-21 15:10:50 -05:00
Dax
1ded535175
message queuing (#1200) 2025-07-21 15:14:54 -04:00
adamdotdevin
d957ab849b
fix(tui): up/down arrow handling 2025-07-21 10:44:21 -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
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
cd0b2ae032
fix(tui): restore spinner ticks 2025-07-21 05:58:24 -05: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
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
Dax Raad
f06cd88773 perf: more performance improvements 2025-07-19 18:41:21 -04:00
Dax Raad
9af92b6914 perf: scroll to bottom in thread 2025-07-19 17:55:01 -04:00
Dax Raad
4699739814 shitty hack for terrible charm bubbletea performance 2025-07-19 15:00:11 -04:00
Aiden Cline
97d9c851e6
fix: escape ansi sequences (#1139) 2025-07-19 12:02:24 -05:00
Yihui Khuu
50c453e577
feat(tui): collapse session header into single line when sharing is disabled (#1145) 2025-07-19 11:43:04 -05:00
Tom
2b44dbdbf1
fix: prevent sparse spacing in hyphenated words (#1102) 2025-07-19 09:28:40 -05:00
adamdotdevin
611854e4b6
feat(tui): simpler layout, always stretched 2025-07-18 13:03:27 -05:00
Dax
d56dec4ba7
wip: optional IDs in api (#1128) 2025-07-18 13:42:50 -04:00
Dax Raad
c952e9ae3d message rendering performance improvements 2025-07-18 13:40:07 -04:00
Yihui Khuu
46c246e01f
fix: \{return} should be replaced with new line on all lines (#1119) 2025-07-18 06:22:36 -05:00
Timo Clasen
df33143396
feat(tui): parse for file attachments when exiting EDITOR (#1117) 2025-07-18 04:47:20 -05:00
Tom
81c88cc742
fix(tui): ensure viewport scrolls to bottom on new messages (#1110) 2025-07-18 04:41:03 -05:00
Aiden Cline
3ce3ac8e61
fix: message error centering (#1085) 2025-07-17 04:27:40 -05:00
Timo Clasen
60b55f9d92
feat(tui): remove sharing info from session header when sharing is disabled (#1076) 2025-07-16 17:36:48 -05:00
adamdotdevin
bd244f73af
fix(tui): slightly faster scroll speed 2025-07-16 14:26:46 -05:00
adamdotdevin
f7dd48e60d
feat(tui): more ways to quit 2025-07-16 14:20:28 -05:00
adamdotdevin
cdc1d8a94d
feat(tui): layout config to render full width 2025-07-16 12:43:02 -05:00
Tom
88b58fd6a0
fix: Prevent division by zero in context percentage calculation (#1055) 2025-07-16 09:35:20 -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
9f5b59f336
chore: messages cleanup 2025-07-16 06:09:27 -05:00
adamdotdevin
01c125b058
fix(tui): faster cache algo 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
adamdotdevin
533f64fe26
fix(tui): rework lists and search dialog 2025-07-15 08:07: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
Dax Raad
a2002c88c6 wip: update sdk 2025-07-14 11:18:08 -04:00
Dax
90d6c4ab41
Part data model (#950) 2025-07-13 17:22:11 -04:00
Aiden Cline
97a31ddffc
tweak: plan interactions should match web (TUI) (#895) 2025-07-11 18:03:22 -04:00
adamdotdevin
54fe3504ba
feat(tui): accent editor border on leader key 2025-07-10 12:57:22 -05:00
Aiden Cline
8b2a909e1f
fix: encode & decode file paths (#843) 2025-07-10 11:19:54 -05:00
adamdottv
d3e5f3f3a8
feat(tui): add token and cost info to session header 2025-07-10 10:06:51 -05:00
adamdottv
f95c3f4177
fix(tui): fouc in textarea on app load 2025-07-10 08:20:17 -05:00
Adi Yeroslav
a1701678cd
feat(tui): /editor - change the auto-send behavior to put content in input box instead (#827) 2025-07-10 05:57:52 -05:00
adamdottv
85dbfeb314
feat(tui): @symbol attachments 2025-07-10 05:53:00 -05:00
Timo Clasen
f22021187d
feat(tui): treat pasted text file paths as file references (#809) 2025-07-09 18:37:39 -05:00
adamdottv
269b43f4de
fix(tui): markdown wrapping off sometimes 2025-07-09 06:41:53 -05:00
adamdottv
3f25e5bf86
chore: internal clipboard package 2025-07-09 04:55:24 -05:00
adamdottv
58b1c58bc5
fix(tui): clear command priority 2025-07-08 19:26:50 -05:00
Yihui Khuu
7893b84614
Add debounce before exit when using non-leader exit command (#759) 2025-07-08 18:53:38 -05:00
Robb Currall
a2fa7ffa42
fix: support cancelled task state (#775) 2025-07-08 15:33:39 -05:00
adamdottv
f31cbf2744
fix: image reading 2025-07-08 13:02:13 -05:00
adamdottv
662d022a48
feat(tui): paste images and pdfs 2025-07-08 08:09:01 -05:00
adamdottv
ea96ead346
feat(tui): handle --model and --prompt flags 2025-07-08 05:50:18 -05:00
Dax Raad
c7a59ee2b1 better handling of aborting sessions 2025-07-07 20:59:00 -04:00
Dax
f884766445
v2 message format and upgrade to ai sdk v5 (#743)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dax Raad
ea6bfef21a use full filepath 2025-07-04 17:58:03 -04:00
Timo Clasen
997cb2d945
fix(tui): optimistic rendering (#692) 2025-07-04 16:06:57 -05:00
Dax Raad
45b139390c make file attachments work good like 2025-07-04 16:21:26 -04:00
adamdottv
b8d276a049
fix(tui): full paths for attachments 2025-07-04 11:42:22 -05:00