Commit Graph

75 Commits

Author SHA1 Message Date
Dax 6a654abbc2 feat: add desktop/web app package (#2606)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:28:08 -04:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax 7d8d63faff Session management and prompt handling improvements (#2577)
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Zack Jackson 37893ed24c feat: add dynamic tool registration for plugins and external services (#2420) 2025-09-08 16:25:04 -04:00
Adam ce7bc4d770 fix: better file/content return 2025-09-04 12:39:49 -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
Adam 8e22caf277 feat: file list api 2025-08-27 15:28:03 -05:00
Lubos 902beaa7ab chore(openapi): set correct content type for server-sent events (#2045) 2025-08-22 17:51:24 -04:00
Dax 1bd97ef802 slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
zWing 04548dd1a7 fix(js-sdk): fix types in session.chat (#1925)
Co-authored-by: zwingzheng <zwingzheng@tencent.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-21 10:44:20 -05:00
adamdotdevin dddc968bb2 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin 327cdea30b feat(api): get session and session children routes 2025-08-15 08:49:19 -05:00
adamdotdevin 6369bb9130 feat: /tui/show-toast api 2025-08-15 08:39:58 -05:00
adamdotdevin d258ad2aa9 fix: more commands cleanup 2025-08-15 07:43:30 -05:00
Dax Raad ba30792e43 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Lubos d6015bab27 chore: declare OpenAPI version 3.1.1 (#1931) 2025-08-14 12:10:32 -04:00
Dax Raad 7b78ee7688 support !shell commands 2025-08-13 15:26:13 -04:00
Dax Raad bed043b156 wip: bash 2025-08-13 13:31:29 -04:00
Dax Raad a27799a187 wip: bash commands 2025-08-13 13:29:06 -04: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
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
Timo Clasen 134a698437 fix: get session api (#1684) 2025-08-07 15:28:18 -04:00
Dax Raad 4bd6efe2a9 add api to get session 2025-08-06 20:24:36 -04:00
Dax Raad d3ca086b59 wip: plugins 2025-08-02 18:50:19 -04:00
adamdotdevin 22c1112903 feat: more scriptable tui (api) 2025-07-31 11:24:23 -05:00
adamdotdevin 2f1302e1a2 fix: missing operationId 2025-07-31 10:19:42 -05:00
adamdotdevin 9f429d8dd9 wip: tui permissions 2025-07-31 09:59:17 -05:00
Dax 083682c6a8 ci: new publish method (#1451) 2025-07-31 01:00:29 -04:00
Dax Raad 53ecda4ef1 wip: undo properly remove messages from UI 2025-07-28 22:58:31 -04:00
Dax Raad cbf56d2cbd wip: fix redoing 2025-07-23 20:42:02 -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
Dax Raad 9dd85ea2c7 wip: tui api 2025-07-22 12:15:50 -04:00
Dax Raad 26e93c4d11 wip: api for tui 2025-07-21 19:53:58 -04:00
Dax d8dd1f2929 wip: optional IDs in api (#1128)
publish / publish (push) Has been cancelled
2025-07-18 13:42:50 -04:00
Dax 4c802ae916 Part data model (#950) 2025-07-13 17:22:11 -04:00
adamdottv bc4f2faf6d feat(tui): modes 2025-07-10 10:06:51 -05:00
Dax Raad 01f89a477e modes concept 2025-07-09 21:59:38 -04:00
adamdottv 79e8a64349 feat: configurable log levels 2025-07-09 10:00:03 -05:00
adamdottv c5610af3a2 feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
Dax Raad 850655e8d4 wip: symbols endpoint 2025-07-08 20:05:33 -04:00
Dax 9cad702612 v2 message format and upgrade to ai sdk v5 (#743)
publish / publish (push) Has been cancelled
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
adamdottv cbae63697e feat(tui): file viewer, select messages 2025-07-02 16:08:11 -05:00
Dax Raad 576656ce75 add back in file hierarchy in system prompt but limit to 200 items
publish / publish (push) Has been cancelled
2025-06-30 14:46:46 -04:00
adamdottv fce49d6887 chore: rework openapi spec and use stainless sdk 2025-06-27 14:26:25 -05:00
Dax Raad c841e0a1cc added opencode serve command
publish / publish (push) Has been cancelled
2025-06-24 20:52:09 -04:00
Adam b0b9740de9 feat: delete sessions (#362)
publish / publish (push) Has been cancelled
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-24 11:07:41 -05:00
Dax Raad 1e9fa8d022 docs: readme 2025-06-20 15:22:41 -04:00
adamdottv e57ef002ee chore: fix typescript issues 2025-06-20 07:48:42 -05:00
Dax Raad cb7930165c config validation
publish / publish (push) Has been cancelled
2025-06-20 00:57:28 -04:00