Commit Graph

445 Commits (85c6301ac5d22128f564b7c04f94de3611600dbf)

Author SHA1 Message Date
Aiden Cline 38ae7d60aa
feat(tui): support pipe into tui (#1230) 2025-07-22 17:19:20 -05:00
Frank 80b17dab44 wip: vscode extension 2025-07-22 16:46:44 -04:00
Dax Raad 7998c3b5ce wip: tui api 2025-07-22 15:49:24 -04:00
Aiden Cline 3d4c1425d9
tweak: cleanup cancelled markdown (#1222) 2025-07-22 12:08:03 -05:00
adamdotdevin 10c8b49590
chore: generate sdk into packages/sdk 2025-07-22 11:50:51 -05:00
Dax Raad 500cea5ce7 wip: append-prompt is better 2025-07-22 12:27:02 -04:00
Dax Raad 5aafab118f wip: tui api 2025-07-22 12:15:50 -04:00
Frank 01f8d3b05d wip: vscode extension 2025-07-22 11:21:29 -04:00
adamdotdevin 99d6a28249
fix(tui): more defensive attachment conversion 2025-07-22 09:28:13 -05:00
Aiden Cline e4f754eee7
fix: mouse text selection bug (#1206) 2025-07-21 19:15:36 -05:00
Dax Raad f20ef61bc7 wip: api for tui 2025-07-21 19:53:58 -04:00
Frank 5611ef8b28 wip: vscode extension 2025-07-21 19:10:57 -04: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
adamelmore c9a40917c2
feat(tui): disable keybinds 2025-07-21 10:08:25 -05:00
adamelmore 0aa0e740cd
docs: cleanup 2025-07-21 10:02:58 -05:00
adamelmore bb17d14665
feat(tui): theme override with OPENCODE_THEME 2025-07-21 10:02:57 -05: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
Aiden Cline acaed1f270
fix: export cmd (#1184) 2025-07-21 04:08:26 -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 5b4fb96c2e wip: make api logger sort correctly 2025-07-20 11:54:56 -04:00
adamdotdevin 2bf9d5d4ec
wip: file part source in server/api (optional) 2025-07-20 05:39:18 -05:00
adamdotdevin c18f9ece69
chore: updated tui gitignore 2025-07-20 05:39:18 -05:00
b0tmtl 8bf2eeccd0
fix(windows): resolve numlock and French keyboard input issues (#1165) 2025-07-20 05:28:15 -05: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
Aiden Cline faf8da8743
fix: adjust editor parsing to handle flags like --wait (#1160) 2025-07-19 20:01:25 -05: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 8f64c4b312 disable todo tools when running as task 2025-07-19 15:54:11 -04:00
Dax Raad a32877e908 ignore: create memo abstraction 2025-07-19 15:26:26 -04:00
Dax Raad 4699739814 shitty hack for terrible charm bubbletea performance 2025-07-19 15:00:11 -04:00
Aiden Cline 9c5d9be33a
fix: bullet display (#1148) 2025-07-19 12:36:50 -05: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
CodinCat 1676f8b5dd
fix table heading rendering (#1138) 2025-07-18 20:17:22 -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
Aiden Cline 571aeaaea2
tweak: remove needless resorting (#1116) 2025-07-18 04:42:43 -05:00
Tom 81c88cc742
fix(tui): ensure viewport scrolls to bottom on new messages (#1110) 2025-07-18 04:41:03 -05:00
Alexander Drottsgård 20cb7a76af
feat(tui): highlight current session in sessions modal (#1093) 2025-07-17 07:40:15 -05:00
Timo Clasen a493aec174
feat(tui): remove share commands from help if sharing is disabled (#1087) 2025-07-17 04:28:12 -05:00
Aiden Cline 3ce3ac8e61
fix: message error centering (#1085) 2025-07-17 04:27:40 -05:00
Timo Clasen 91ad64feda
fix(tui): user defined ctrl+z should take precedence over suspending (#1088) 2025-07-17 04:27:02 -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
Mike Wallio dfede9ae6e
Remove binary file opencode (#1069) 2025-07-16 15:10:40 -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
John Henry Rudden 050ff943a6
Fix: Add escape sequence for @ symbols to prevent send blocking (#1029) 2025-07-16 11:18:48 -05:00
Tom 88b58fd6a0
fix: Prevent division by zero in context percentage calculation (#1055) 2025-07-16 09:35:20 -05:00
Adi Yeroslav 57d1a60efc
feat(tui): shift+tab to cycle modes backward (#1049) 2025-07-16 07:43:48 -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
Matias Insaurralde e89972a396
perf: move ANSI regex compilations to package level (#1040)
Signed-off-by: Matías Insaurralde <matias@insaurral.de>
2025-07-16 04:20:25 -05:00
Dax Raad 0793c3f2a3 clean up export command 2025-07-15 21:50:43 -04:00
Joe Schmitt 8bd250fb15
feat(tui): add /export command to export conversation to editor (#989)
Co-authored-by: opencode <noreply@opencode.ai>
2025-07-15 13:53:21 -05:00
Dax Raad b1ab641905 add small model for title generation 2025-07-15 14:00:52 -04:00
adamdotdevin 76e256ed64
fix(tui): wider max width 2025-07-15 12:44:41 -05:00
adamdotdevin 4f955f2127
fix(tui): mouse scroll ansi parsing and perf 2025-07-15 12:03:30 -05:00
Timo Clasen f707fb3f8d
feat(tui): add keymap to remove entries from recently used models (#1019) 2025-07-15 11:20:56 -05:00
adamdotdevin 6b98acb7be
chore: update stainless defs 2025-07-15 10:03:11 -05:00
adamdotdevin 533f64fe26
fix(tui): rework lists and search dialog 2025-07-15 08:07:26 -05:00
Joohoon Cha 416daca9c6
fix(tui): close completion dialog on ctrl+h (#1005) 2025-07-15 06:24:05 -05:00
Aiden Cline 636fe0fb64
Fix: failed to open session (#999) 2025-07-15 05:40:29 -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 1cf1d1f634 docs: fix agents.md 2025-07-14 20:23:05 -04:00
Ryan Roden-Corrent 2ce694d41f
Add support for job-control suspend (ctrl+z/SIGSTP). (#944) 2025-07-14 20:13:46 -04:00
Dax Raad b4e4c3f662 wip: snapshot 2025-07-14 15:29:08 -04:00
adamdotdevin ba676e7ae0
fix(tui): support readline nav in new search component 2025-07-14 12:20:58 -05:00
adamdotdevin a1c8e5af45
chore: use new search component in find dialog 2025-07-14 12:15:47 -05:00
adamdotdevin f1e7e7c138
feat(tui): even better model selector 2025-07-14 12:15:46 -05:00
Dorian Karter 86a2ea44b5
feat(tui): add support for readline list nav (`ctrl-p`/`ctrl-n`) (#955) 2025-07-14 10:21:09 -05:00
Dax Raad a2002c88c6 wip: update sdk 2025-07-14 11:18:08 -04:00
Dax Raad 31e0326f78 fix init command and escape to cancel 2025-07-14 10:48:17 -04:00
adamdotdevin a53d2ea356
fix(tui): build and bg color 2025-07-14 09:14:02 -05:00
adamdotdevin 229a280652
fix(tui): find dialog bg color 2025-07-14 09:09:55 -05:00
Nicholas Hamilton 8d0350d923
feat: ability to create new session from session dialog (#920) 2025-07-14 09:04:43 -05:00
Munawwar Firoz 7b8b4cf8c7
feat: ctrl+left arrow / ctrl+right arrow key support (#969) 2025-07-14 07:16:06 -05:00
Aiden Cline 052a1e7514
fix: file command visual bug (#959) 2025-07-14 07:03:02 -05:00
Daniel Nouri 139d6e2818
Fix clipboard on Wayland systems (#941)
Co-authored-by: Daniel Nouri <daniel@redhotcar>
2025-07-14 06:57:45 -05:00
Dax 90d6c4ab41
Part data model (#950) 2025-07-13 17:22:11 -04:00
John Henry Rudden f04a5e50ee
fix: deduplicate command suggestions (#934) 2025-07-13 14:47:26 -05:00
Aiden Cline 97a31ddffc
tweak: plan interactions should match web (TUI) (#895) 2025-07-11 18:03:22 -04:00
adamdotdevin 04769d8a26
fix(tui): help commands bg color 2025-07-11 06:03:21 -05:00
adamdotdevin 34b576d9b5
fix(tui): don't include /mode trigger 2025-07-11 06:01:51 -05:00
adamdotdevin 22b244f847
fix(tui): actually fix mouse ansi codes leaking 2025-07-11 06:00:20 -05:00
adamdotdevin 85805d2c38
fix(tui): handle SIGTERM, closes #319 2025-07-10 15:59:03 -05:00
Timo Clasen 982cb3e71a
fix(tui): center help dilaog (#853) 2025-07-10 15:56:19 -05:00
adamdotdevin 294d0e7ee3
fix(tui): mouse wheel ansi codes leaking into editor 2025-07-10 15:49:58 -05:00
Dax Raad c056b0add9 add step finish part 2025-07-10 16:25:38 -04:00
adamdotdevin 34b1754f25
docs: clipboard requirements on linux 2025-07-10 13:12:37 -05: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 6603d9a9f0
feat: --mode flag passed to tui 2025-07-10 10:19:25 -05:00
adamdottv d3e5f3f3a8
feat(tui): add token and cost info to session header 2025-07-10 10:06:51 -05:00
adamdottv ce4cb820f7
feat(tui): modes 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
adamdottv d2b1307bff
fix(tui): textarea cursor sync issues with attachments 2025-07-10 07:49:36 -05:00
adamdottv b40ba32adc
fix(tui): textarea issues 2025-07-10 07:38:57 -05:00
Josh Medeski 6d393759e1
feat(tui): subsitute cwd home path on status bar (#808) 2025-07-10 06:12:19 -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
Timo Clasen c411a26d6f
feat(tui): hide cost if using subscription model (#828) 2025-07-10 05:56:36 -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 53f8e7850e
feat: configurable log levels 2025-07-09 10:00:03 -05:00
adamdottv ca8ce88354
feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
adamdottv 37a86439c4
fix(tui): don't panic on missing linux clipboard tool 2025-07-09 06:51:58 -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
Aiden Cline 67765fa47c
tweak: keep completion options open when trigger is still present (#789) 2025-07-09 04:42:31 -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
Dax Raad cfc715bd48 wip: remove excess import 2025-07-08 19:51:09 -04:00
adamdottv 39bcba85a9
chore: vendor clipboard into go package 2025-07-08 18:48:40 -05:00
adamdottv da3df51316
chore: remove clipboard temp 2025-07-08 18:47:59 -05:00
adamdottv 12190e4efc
chore: vendor clipboard into go package 2025-07-08 18:46:42 -05:00
adamdottv aacadd8a8a
fix(tui): panic when reading/writing clipboard on linux 2025-07-08 18:29:45 -05:00
Timo Clasen 1e07384364
fix: make compact command interruptible (#691)
Co-authored-by: GitHub Action <action@github.com>
2025-07-08 15:37:25 -05:00
Robb Currall a2fa7ffa42
fix: support cancelled task state (#775) 2025-07-08 15:33:39 -05:00
adamdottv daa5fc916a
fix(tui): pasting causes panic on macos 2025-07-08 14:57:17 -05:00
adamdottv c659496b96
fix(tui): model/provider arg parsing 2025-07-08 14:11:57 -05:00
adamdottv f31cbf2744
fix: image reading 2025-07-08 13:02:13 -05:00
adamdottv 0da83ae67e
feat(tui): command aliases 2025-07-08 08:20:55 -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
Dax Raad 85214d7c59 fix input bar not rendering capital letters 2025-07-04 17:21:51 -04:00
Timo Clasen 997cb2d945
fix(tui): optimistic rendering (#692) 2025-07-04 16:06:57 -05:00