Commit Graph

96 Commits

Author SHA1 Message Date
oribi 5174dd4b78 fix: agent model selection priority issue (#3572) 2025-10-30 09:32:39 -05:00
geril07 005b126b13 add option to allow agent switches to not change model (#3356) 2025-10-22 17:51:46 -05:00
Dax Raad 20b28c8265 ignore: compacting 2025-09-11 02:31:28 -04:00
Dax Raad 785feb29a7 compaction improvements 2025-09-11 02:22:51 -04:00
Aiden Cline bac6f3918d fix: tui attachment bound (#2361) 2025-09-01 16:33:36 -05:00
Dax aea78046d0 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 174177c304 fix: ensure command uses currently selected model (#2336) 2025-08-30 15:41:06 -05:00
Aiden Cline a250fb17fc tui: show actual error if command fails (#2296) 2025-08-28 18:42:55 -05:00
Aiden Cline b69264990b fix: tui not showing err toasts (#2290) 2025-08-28 10:55:47 -05:00
Aiden Cline 8e27f9bef7 fix: command model selection (#2219) 2025-08-24 12:06:48 -05:00
Dax 1bd97ef802 slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Aiden Cline d1f4a2ec6a fix: keybind panic (#2092) 2025-08-19 22:39:59 -05:00
Ytzhak e69bc53ecc feat: add shimmer text rendering (#2027) 2025-08-18 05:55:01 -05:00
Aiden Cline 0d6342bd7f feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
adamdotdevin d258ad2aa9 fix: more commands cleanup 2025-08-15 07:43:30 -05:00
Yihui Khuu 3554fff446 feat(tui): support cycling recent models in reverse (#1953) 2025-08-15 06:20:07 -05:00
Dax Raad b4c81830db fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
adamdotdevin a8b798a18f chore: rename bash -> shell 2025-08-13 15:11:30 -05:00
Dax Raad 7b78ee7688 support !shell commands 2025-08-13 15:26:13 -04:00
adamdotdevin 1d30b9260f feat: bash commands 2025-08-13 13:28:22 -05:00
spoons-and-mirrors 8ee6dee6ff feat: add session rename functionality to TUI modal (#1821)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:22:03 -04:00
spoons-and-mirrors d5f4f56630 refactor(agent-modal): revamped UI/UX for the agent modal (#1838)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:21:57 -04:00
Aiden Cline 3dcfcfdebb feat: add -c and -s args to tui command following run command pattern (#1835) 2025-08-11 18:32:09 -05:00
adamdotdevin 0e6cc67ee9 feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
spoons-and-mirrors 437ae99bd4 Fix: Respect agent's preferred model at TUI startup (#1683)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-11 08:51:35 -05:00
spoons-and-mirrors c41ca1f535 Feat: Add F2 Keybind to Cycle Through the 5 Most Recent Models (#1778) 2025-08-11 07:00:32 -05:00
Aiden Cline 21df5bbd20 feat (tui): agents dialog (#1802) 2025-08-11 01:46:38 -04:00
Dax 77c101d742 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
Dominik Engelhardt 6b58ab0b47 Choose model according to the docs (#1536) 2025-08-02 09:29:03 -05:00
Yihui Khuu 680e611a10 fix(tui): attachment source is not stored when using message from message history (#1542) 2025-08-02 09:23:32 -05:00
adamdotdevin b18a96eb67 fix: permission state hangs 2025-07-31 11:36:08 -05:00
adamdotdevin 9f429d8dd9 wip: tui permissions 2025-07-31 09:59:17 -05:00
Dax Raad 4a53957e9d release undo/redo 2025-07-30 13:09:18 -04:00
Aiden Cline 0463894731 (tui) tweak: add setting for scroll speed (#1288) 2025-07-24 16:34:59 -05:00
Dax Raad da84388d6c disable undo/redo for now 2025-07-23 21:02:13 -04:00
Dax 11d236609d 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 7f3c98aa1f tweak: ensure most recently interacted with session appears at the top (#1239) 2025-07-22 22:37:36 -05:00
adamdotdevin a05547f189 fix(tui): more defensive attachment conversion
publish / publish (push) Has been cancelled
2025-07-22 09:28:13 -05:00
Dax 531d035547 message queuing (#1200)
publish / publish (push) Has been cancelled
2025-07-21 15:14:54 -04:00
plyght fc18dbaa4c feat(tui): paste minimizing (#784)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-07-21 10:31:29 -05:00
adamelmore f356058fb4 docs: cleanup 2025-07-21 10:02:58 -05:00
adamelmore db24514d3e feat(tui): theme override with OPENCODE_THEME 2025-07-21 10:02:57 -05:00
adamdotdevin b6f723f092 feat(tui): message history select with up/down arrows
publish / publish (push) Has been cancelled
2025-07-21 05:52:11 -05:00
Dax Raad 004f6504e2 implement copy paste much wow can you believe we went this long without it so stupid i blame adam
publish / publish (push) Has been cancelled
2025-07-20 19:05:38 -04:00
adamdotdevin 3b74b92924 feat(tui): simpler layout, always stretched 2025-07-18 13:03:27 -05:00
Dax d8dd1f2929 wip: optional IDs in api (#1128)
publish / publish (push) Has been cancelled
2025-07-18 13:42:50 -04:00
Dax Raad f8e2ad06d9 message rendering performance improvements 2025-07-18 13:40:07 -04:00
adamdotdevin 63befaffc1 feat(tui): layout config to render full width
publish / publish (push) Has been cancelled
2025-07-16 12:43:02 -05:00
Adi Yeroslav ca4c92aafb feat(tui): shift+tab to cycle modes backward (#1049) 2025-07-16 07:43:48 -05:00
Aiden Cline 08f6d35e69 Fix: failed to open session (#999) 2025-07-15 05:40:29 -05:00