Commit Graph

92 Commits (860e47edea27a4593a708d8eea1094de63ba7d59)

Author SHA1 Message Date
Chris Covington 53f1f16122
feat: Add an experimental option to disable paste summaries (#2552)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-11 14:21:08 -05:00
Aiden Cline 4614e4983e
fix: command being passed as arg when no args present (#2553) 2025-09-11 13:03:12 -05:00
Dax Raad aa9ebe5d7c ignore: compacting 2025-09-11 02:31:28 -04:00
Dax Raad 4c94753eda compaction improvements 2025-09-11 02:22:51 -04:00
Aiden Cline 4d481dea7e
fix: dont paste collapse if in bash mode (#2482) 2025-09-07 20:24:49 -05: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 dac821229e
fix: resolve [pasted lines] when passing paste as arguments for command (#2333) 2025-08-30 10:56:00 -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
Timo Clasen 4913ee6afd
fix(TUI): make it less shimmer (#2076) 2025-08-19 15:30:54 -05:00
Ytzhak 667ff90dd6
feat: add shimmer text rendering (#2027) 2025-08-18 05:55:01 -05:00
adamdotdevin a4beb60e19
chore: rename bash -> shell 2025-08-13 15:11:30 -05:00
adamdotdevin 1357319f6f
feat: bash commands 2025-08-13 13:28:22 -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
Dominik Engelhardt 81a3e02474
feat: improve file attachment pasting (#1704) 2025-08-08 20:06:38 -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
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 b18b646f8e
fix: attachment bugs (#1335) 2025-07-27 12:21:31 -05: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
Dax Raad 5aafab118f wip: tui api 2025-07-22 12:15:50 -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
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
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
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
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
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
adamdotdevin 533f64fe26
fix(tui): rework lists and search dialog 2025-07-15 08:07:26 -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 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 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
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 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
adamdottv b8d276a049
fix(tui): full paths for attachments 2025-07-04 11:42:22 -05:00