Commit Graph

299 Commits (85c6301ac5d22128f564b7c04f94de3611600dbf)

Author SHA1 Message Date
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
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
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
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
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
adamdotdevin 76e256ed64
fix(tui): wider max width 2025-07-15 12:44:41 -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 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
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
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
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
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 04769d8a26
fix(tui): help commands bg color 2025-07-11 06:03:21 -05:00
Timo Clasen 982cb3e71a
fix(tui): center help dilaog (#853) 2025-07-10 15:56:19 -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 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 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
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 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
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
Dax Raad ee01f01271 file attachments 2025-07-04 12:24:01 -04:00
adamdottv f6108b7be8
fix(tui): handle pdf and image @ files 2025-07-04 11:13:09 -05:00
adamdottv 94ef341c9d
feat(tui): render attachments 2025-07-04 10:55:02 -05:00
adamdottv f9abc7c84f
feat(tui): file attachments 2025-07-04 10:55:02 -05:00
adamdottv fce59db94a
chore: simplify completions 2025-07-03 12:48:22 -05:00
adamdottv c389e0ed43
fix(tui): redundant tool calls in each message in collapsed mode 2025-07-03 10:42:27 -05:00
adamdottv 6b73ffd1c1
fix(tui): include orphaned tool calls 2025-07-03 09:32:44 -05:00
adamdottv 0eadc50a33
fix(tui): selected message visuals 2025-07-03 09:03:04 -05:00
adamdottv 8825cd3811
feat(tui): unshare command 2025-07-03 07:09:09 -05:00
adamdottv 3d9a5d9970
fix(tui): always show status bar 2025-07-03 06:53:05 -05:00
adamdottv 1f9e195fa6
fix(tui): better highlight visuals 2025-07-03 06:49:37 -05:00
Lev 2ace57404b
fix: properly handle utf-8 in diff highlighting (#585) 2025-07-03 05:42:40 -05:00
adamdottv c82a060eca
feat(tui): file viewer, select messages 2025-07-02 16:08:11 -05:00
Timo Clasen 0d6fb68a88
fix(tui): no space between agent and user message (#598) 2025-07-02 05:12:49 -05:00
adamdottv 33b5fe236a
fix(tui): better message rendering performance 2025-07-01 07:57:45 -05:00
adamdottv 739a9f71c3
fix(tui): layout issues 2025-07-01 06:41:39 -05:00
Timo Clasen 8f3d7b4038
feat: better model dialog with sorting by release date (#563) 2025-07-01 05:28:32 -05:00
Dax Raad 9ebad68274 fix bash tool extra line 2025-06-30 15:31:30 -04:00
Dax Raad 03664ba588 fix formatting of bash tools 2025-06-30 15:28:59 -04:00
adamdottv 5a107b275c
fix(tui): layout issues 2025-06-30 14:04:56 -05:00
adamdottv 9f3ba03965
chore: rework layout primitives 2025-06-30 12:29:29 -05:00
Timo Clasen d090c08ef0
feat: update user and agent messages width and alignment (#515)
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-30 11:57:56 -05:00
Dax Raad 3a9584a419 fix context display 2025-06-28 21:01:53 -04:00
Gal Schlezinger f618e569ab
optimize edit-tool rendering (#463)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2025-06-28 06:01:10 -05:00
adamdottv 79bbf90b72
chore: rework openapi spec and use stainless sdk 2025-06-27 14:26:25 -05:00
adamdottv d2176064e1
fix(tui): min width on user messages 2025-06-27 06:31:13 -05:00
adamdottv 5394b5188b
fix(tui): editor styles were off 2025-06-26 15:12:26 -05:00
adamdottv 35fba793d0
fix(tui): editor width issues 2025-06-26 12:57:11 -05:00
adamdottv 5358d43b74
feat(tui): show lsp diagnostics for edit and write tools 2025-06-26 12:47:17 -05:00
adamdottv f777347bac
fix(tui): chat editor aesthetics 2025-06-26 12:44:44 -05:00
adamdottv 17c8b914df
fix(tui): visual issue with modal selected items in system theme 2025-06-26 12:33:06 -05:00
adamdottv 8edbb74352
fix(tui): editor spinner colors 2025-06-26 12:21:20 -05:00
Adam 7d13baadc8
feat: default system theme (#419)
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-26 10:16:07 -05:00
Aiden Cline 0b1a8ae699
fix: file completions replaced wrong text when paths overlap (#378) 2025-06-24 18:13:15 -05:00
Adam 6f18475428
feat: delete sessions (#362)
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-24 11:07:41 -05:00
Tom 6bc61cbc2d
feat(tui): add debounce logic to escape key interrupt (#169)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-24 06:31:02 -05:00
adamdottv 8d3b2fb821
feat(tui): optimistically render user messages 2025-06-23 12:30:20 -05:00
adamdottv 5e79e3d7a5
fix(tui): less incorrect escapingn of < and > 2025-06-23 11:32:32 -05:00
adamdottv 61f057337a
fix: markdown wrapping issue 2025-06-23 11:20:44 -05:00
adamdottv d271b9f75b
fix(tui): help dialog visuals 2025-06-22 14:28:16 -05:00
Márk Magyar 333569bed3
ignore: fix typos and formatting (#294) 2025-06-22 14:26:46 -04:00
adamdottv 774dcb6980
fix(tui): cleanup help dialog 2025-06-22 06:44:23 -05:00
phantomreactor 28bc49ad17
fix: invisible html tags and compact long delay (#304) 2025-06-22 06:29:04 -05:00
adamdottv dc1947838c
fix(tui): cleanup modal visuals 2025-06-22 06:09:23 -05:00
adamdottv 3ea2daaa4c
fix(tui): theme dialog visuals 2025-06-22 05:34:22 -05:00
Dax Raad 194415e785 footer clarifies it's showing context usage, not input token usage 2025-06-20 22:52:51 -04:00
adamdottv 9081e17fcc
fix(tui): visual tweaks to themes 2025-06-20 15:49:51 -05:00
Márk Magyar eee396f903
feat(tui): theme switcher with preview (#264) 2025-06-20 15:14:05 -05:00
adamdottv 8b73c52f00
chore(tui): rename theme colors 2025-06-20 13:00:31 -05:00
adamdottv 9ea0d71e8d
fix(tui): async load messages on theme/session switch 2025-06-20 11:25:21 -05:00
adamdottv b1a3599017
fix(tui): input latency optimization 2025-06-20 11:08:08 -05:00
adamdottv 7b0329f67f
fix(tui): fetch tool more defensive 2025-06-20 09:00:28 -05:00
adamdottv 311b9c74dd
fix(tui): typeahead open/close perf 2025-06-20 08:20:10 -05:00
adamdottv 40b1dd7ef2
fix(tui): insert newline correctly positioned 2025-06-20 07:42:04 -05:00
adamdottv 261e76e0a3
fix(tui): input feels laggy 2025-06-20 07:31:45 -05:00
adamdottv 3728a12bee
fix(tui): better help on home 2025-06-19 15:56:28 -05:00
adamdottv 15a8936806
fix(tui): better tool titles 2025-06-19 15:11:53 -05:00
adamdottv 4e4cff49c0
feat(tui): better task tool rendering 2025-06-19 15:02:13 -05:00
adamdottv 5540503bee
fix(tui): sorted tool arg maps 2025-06-19 14:07:33 -05:00
adamdottv 72108c0296
fix(tui): sorted tool arg maps 2025-06-19 13:56:09 -05:00
adamdottv 4cdc86612c
fix(tui): overlay border backgrounds 2025-06-19 11:41:30 -05:00
adamdottv f8a7cd372d
fix(tui): toast placement and overlay rendering 2025-06-19 10:45:10 -05:00
adamdottv f48eac638d
feat(tui): more toast messages 2025-06-19 10:41:59 -05:00
adamdottv e1f12f93eb
feat(tui): toast messages 2025-06-19 10:12:29 -05:00
Dax Raad 26bab00dab remove opencode_ prefixes from tool names. unfortunately this will break
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
adamdottv 568c04753e
feat(tui): expand input to fit message 2025-06-19 08:45:27 -05:00
Josh bb6b56b72a
fix: incorrect command on main screen for exiting application (#201) 2025-06-18 23:19:43 -04:00
adamdottv 183ca64ef9
feat(tui): show provider next to model 2025-06-18 16:09:49 -05:00
adamdottv 8c32cfe829
chore: tui style tweaks 2025-06-18 15:59:58 -05:00
adamdottv 87d1d3fb62
fix(tui): file completion quirks 2025-06-18 15:51:26 -05:00
adamdottv ac777b77cf
fix(tui): modal visuals 2025-06-18 15:12:24 -05:00
adamdottv fae97978a3
chore: cleanup logs 2025-06-18 14:18:46 -05:00
adamdottv 1d0bfc2b2a
fix(tui): help dialog sorting 2025-06-18 14:06:20 -05:00
adamdottv bd46cf0f86
feat(tui): configurable keybinds and mouse scroll 2025-06-18 13:56:51 -05:00
adamdottv 2d68814abc
feat: better collapsed tool call visuals 2025-06-17 08:35:18 -05:00