Commit Graph

38 Commits

Author SHA1 Message Date
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
Dax Raad 5dbf5090dc refactor: replace OPENCODE_AGENTS env var with HTTP API call
Replace environment variable passing of agent data from Node.js to TUI
with proper HTTP API call to /agent endpoint. This improves architecture
by eliminating env var dependencies and allows dynamic agent data fetching.
2025-08-11 22:42:25 -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
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
adamdotdevin 22c1112903 feat: more scriptable tui (api) 2025-07-31 11:24:23 -05:00
Andrea Grandi 173da3caaf feat: show current git branch in status bar, and make it responsive (#1339)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-07-29 11:15:04 -05:00
Aiden Cline 774678077f feat(tui): support pipe into tui (#1230) 2025-07-22 17:19:20 -05:00
Dax Raad 26e93c4d11 wip: api for tui 2025-07-21 19:53:58 -04:00
adamelmore db24514d3e feat(tui): theme override with OPENCODE_THEME 2025-07-21 10:02:57 -05:00
Dax Raad d4ad35748d wip: make api logger sort correctly 2025-07-20 11:54:56 -04:00
Dax Raad 64c9908db4 perf: more performance improvements
publish / publish (push) Has been cancelled
2025-07-19 18:41:21 -04:00
Mike Wallio d568f52f7f Remove binary file opencode (#1069) 2025-07-16 15:10:40 -05:00
Adi Yeroslav ca4c92aafb feat(tui): shift+tab to cycle modes backward (#1049) 2025-07-16 07:43:48 -05:00
adamdotdevin 71507928a4 fix(tui): handle SIGTERM, closes #319
publish / publish (push) Has been cancelled
2025-07-10 15:59:03 -05:00
adamdotdevin 94ea176b93 fix(tui): mouse wheel ansi codes leaking into editor 2025-07-10 15:49:58 -05:00
adamdottv 4679dc2c28 feat: --mode flag passed to tui 2025-07-10 10:19:25 -05:00
adamdottv bc4f2faf6d feat(tui): modes 2025-07-10 10:06:51 -05:00
adamdottv c5610af3a2 feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
adamdottv 2fd6c2adeb chore: internal clipboard package 2025-07-09 04:55:24 -05:00
adamdottv 162497783b feat(tui): paste images and pdfs 2025-07-08 08:09:01 -05:00
adamdottv 9007c6b36d feat(tui): handle --model and --prompt flags 2025-07-08 05:50:18 -05:00
adamdottv f83afc58c8 chore: include model release date 2025-06-30 15:46:18 -05:00
adamdottv fce49d6887 chore: rework openapi spec and use stainless sdk 2025-06-27 14:26:25 -05:00
adamdottv 1f05d9f9f6 ignore: more metadata in app info 2025-06-27 06:19:27 -05:00
Adam 069d4b4c2c feat: default system theme (#419)
publish / publish (push) Has been cancelled
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-26 10:16:07 -05:00
Thomas Meire 0ff3821efa Add error handling on the calls to the server to debug issue #132 (#137) 2025-06-21 07:24:39 -05:00
adamdottv 4e0821f7d9 feat(tui): configurable keybinds and mouse scroll 2025-06-18 13:56:51 -05:00
adamdottv 6120b64792 feat: faster tui init
publish / publish (push) Has been cancelled
2025-06-16 11:54:55 -05:00
adamdottv 34823c4bc5 chore: remove status service 2025-06-16 10:45:19 -05:00
adamdottv 9ad13b3197 wip: refactoring tui 2025-06-13 10:47:51 -05:00
adamdottv 6e35dc52f9 wip: refactoring tui 2025-06-12 16:00:24 -05:00
adamdottv 775e5ecbf0 wip: refactoring tui 2025-06-11 11:43:28 -05:00
Dax Raad 8975092d91 sync 2025-06-10 18:10:30 -04:00
Dax Raad b683b4e51e add go version 2025-06-06 23:26:11 -04:00
Dax Raad d9e4815d71 integrate with models.dev 2025-06-05 14:59:16 -04:00
adamdottv 6f1e4a1545 wip: refactoring tui 2025-06-04 09:20:48 -05:00
Dax Raad 90f300438d fix port issue 2025-06-03 16:35:37 -04:00
adamdottv 6aefa320b9 wip: refactoring tui 2025-06-03 12:45:28 -05:00