Commit Graph

317 Commits (b892d91baea94dea1605be37d72f515f10608ea3)

Author SHA1 Message Date
GitHub Action cd9db8a81d chore: regen sdk 2025-12-09 16:53:24 +00:00
Daniel Polito 203f3312ee
feat: ability to toggle MCP Servers in TUI (#4509) 2025-12-08 11:31:22 -06:00
GitHub Action da7edb5f5c chore: regen sdk 2025-12-08 00:58:40 +00:00
Dax Raad bf0f85e37f playing with sdk docs 2025-12-07 19:58:04 -05:00
Dax ea7ec60f51
v2 SDK (#5216)
Co-authored-by: GitHub Action <action@github.com>
2025-12-07 19:04:14 -05:00
André Cruz 509e43d6f8
feat(mcp): add OAuth authentication support for remote MCP servers (#5014) 2025-12-07 15:47:27 -05:00
GitHub Action c6d0ae892e chore: regen sdk 2025-12-05 21:02:17 +00:00
Nathan Thomas 40eb8b93e1
feat: add max steps for supervisor and sub-agents (#4062)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-12-05 12:26:44 -06:00
Aiden Cline 85974e9acd ignore: regen sdk 2025-12-05 10:50:14 -06:00
Adam 09f522f0aa
Reapply "feat(desktop): terminal pane (#5081)"
This reverts commit f9dcd97936.
2025-12-04 20:32:08 -06:00
Aiden Cline f9dcd97936 Revert "feat(desktop): terminal pane (#5081)"
This reverts commit d763c11a6d.
2025-12-04 15:57:01 -06:00
Adam d763c11a6d
feat(desktop): terminal pane (#5081)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2025-12-04 15:37:29 -06:00
Dax 6d3fc63658
core: refactor provider and model system (#5033)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-12-03 21:09:03 -05:00
Ariane Emory c00d4885c6
feat: add tool_details keybind w/ no default (#4976)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-03 13:38:09 -06:00
Ariane Emory 921b98066d
feat: add messages_last_user command to scroll TUI to last user message (implements #4847) (#4855)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-03 12:30:11 -06:00
Spoon 0bccd1d578
feat: experimental.primary_tools, allow user to set the tools that should only be available to primary agents (#4913)
Co-authored-by: GitHub Action <action@github.com>
2025-12-03 11:19:43 -06:00
Jaga Santagostino f17e1def32
toggle to hide username in TUI (#4750)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-02 15:11:03 -06:00
opencode c0fc02769b release: v1.0.125 2025-12-01 14:23:35 +00:00
Dax Raad a093917db1 core: update generated types to include explore agent configuration 2025-11-28 21:43:56 -05:00
Aiden Cline 99d7ff47c4
enable parcel file watcher, expand parcel ignore patterns, replace fs watcher for git branches with parcel (#4805) 2025-11-26 17:33:43 -06:00
Dax Raad 98031173b6 lil branch refactor 2025-11-26 12:34:48 -05:00
opencode-agent[bot] df9952c291
Renamed vcs.changed to vcs.branch.updated (#4771)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-26 01:17:59 -06:00
Aiden Cline ec8f2e078e Remove keybinds from favorites feature, keep functionality 2025-11-26 00:45:33 -06:00
shuv 335f46122b
Add favorites to model selector (#23) (#4343)
Co-authored-by: Github Action <action@github.com>
2025-11-26 00:41:41 -06:00
Ariane Emory 57644a4be8
feat: add a diff_style option to allow disabling columnar diffs (resolve #4677) (#4756)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-25 23:34:58 -06:00
Aiden Cline 09bc8d9ca4
show current git branch in tui (#4765)
Co-authored-by: GitHub Action <action@github.com>
2025-11-25 21:39:20 -06:00
Shantur Rathore 69c2dd53ad
config: add setCacheKey in provider options (#4738)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-25 17:53:56 -06:00
Aiden Cline 020ee56f25 fix: dont auto continue if compaction was manual 2025-11-25 12:11:09 -06:00
Shantur Rathore b1aaa8570e
prompt_async: Allows to receive prompt and return immediately, start … (#4664)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-24 23:52:57 -06:00
Aiden Cline 3b2aa7e91d Revert "Support basic auth in opencode sdk (#4697)"
This reverts commit b9253d0b3b.
2025-11-24 23:12:00 -06:00
Andrew Joslin b9253d0b3b
Support basic auth in opencode sdk (#4697) 2025-11-24 17:05:35 -06:00
Aiden Cline a9a2c23736 add autoupdate: notify 2025-11-24 14:32:38 -06:00
Ravi Kumar b92e8510f9
fix: auto upgrade toast message (#4625)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: opencode <opencode@sst.dev>
2025-11-22 16:26:46 -06:00
Goni Zahavy 6afdb5c0e5
tui: added ctrl-z terminal suspension support (#3983) 2025-11-22 12:48:23 -06:00
opencode 3ae27273c6 release: v1.0.91 2025-11-22 02:19:56 +00:00
Aiden Cline d16c8c9f0f ignore: update sdk 2025-11-21 01:25:06 -06:00
Aiden Cline f6da3c467b ignore: sync sdk 2025-11-21 01:04:02 -06:00
Dax 23ea8ba1ce
Tui onboarding (#4569)
Co-authored-by: GitHub Action <action@github.com>
2025-11-21 00:21:06 -05:00
Spoon 43c021ed80
feat: add field to allow user only messages (#4554)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-20 19:13:42 -06:00
Dax 16fdc90976
fix: resolve issue 4475 (#4505) 2025-11-19 13:10:09 -05:00
Aiden Cline 81ebf56cf1 feat: add top level lsp: false and formatter: false to allow disabling all formatters or lsps at once 2025-11-18 17:48:40 -06:00
Adam fc5fc2c570 wip(desktop): new layout work 2025-11-18 17:07:34 +00:00
Adam 4069999b78 wip(desktop): new layout work 2025-11-18 17:07:34 +00:00
Dax Raad bdfa213ccf deprecated session.idle event 2025-11-17 11:42:45 -05:00
Dax Raad 8b19c6c7e4 better retry display 2025-11-17 11:31:10 -05:00
Dax a1214fff2e
Refactor agent loop (#4412) 2025-11-17 10:57:18 -05:00
Aiden Cline 10b3702938 chore: update type 2025-11-17 00:07:23 -06:00
opencode 49040c0130 release: v1.0.66 2025-11-16 07:27:25 +00:00
Dax Raad 64d28ea457 fix sdk types 2025-11-14 12:42:46 -05:00
Dax Raad 2520780846 fix sdk types 2025-11-14 12:42:46 -05:00
Dax Raad 5fc26c958a add global.event.subscribe() to sdk 2025-11-14 12:32:43 -05:00
Aiden Cline 779a27693a fix: opencode run timeout 2025-11-13 14:27:33 -06:00
Tommy D. Rossi 609ab069a9
Add scroll acceleration support to TUI (#4289) 2025-11-13 17:02:10 +01:00
Aiden Cline 0b86adbe99
feat: agent color cfg (#4226)
Co-authored-by: 0xrin <0xrin1@protonmail.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-11 18:32:44 -06:00
Aiden Cline 4e549b1c05
fix: allow user to configure doom loop & external dir perms (#4095) 2025-11-09 20:21:38 -06:00
GitHub Action 34ff87d504 chore: format code 2025-11-08 01:59:02 +00:00
opencode 5d6bdca6d0 release: v1.0.43 2025-11-07 21:04:26 +00:00
Aiden Cline 73cd8a334c
rework acp to compensate for changes in Zed IDE (#4050) 2025-11-07 13:57:12 -06:00
Dax Raad 287855336d allow not specifying a limit on messages endpoint 2025-11-07 13:05:19 -05:00
opencode d55f4f3322 release: v1.0.40 2025-11-07 17:37:31 +00:00
Dax Raad e45e94634f only display last 100 messages in TUI 2025-11-06 13:21:15 -05:00
Dax Raad 1ea3a8eb9b big format 2025-11-06 13:03:12 -05:00
Dax Raad 05ae99a09b fix sidebar modified files 2025-11-05 16:49:17 -05:00
opencode ef0b5e3dcb release: v1.0.27 2025-11-05 20:44:40 +00:00
opencode 06ca45189b release: v1.0.26 2025-11-05 18:08:19 +00:00
Ola fe94bb8e50
feat(provider): add GitHub Enterprise support for Copilot (#2522)
Co-authored-by: Jon-Mikkel Korsvik <48263282+jkorsvik@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 15:36:12 -06:00
Dax Raad 7a7060ef15 fix session performance issue from large diffs 2025-11-04 13:35:44 -05:00
opencode f9af9fc221 release: v1.0.21 2025-11-04 17:47:34 +00:00
opencode 36c1a05eaa release: v1.0.18 2025-11-03 22:01:30 +00:00
Dax Raad 99a6c5e44d regen sdk 2025-11-03 11:55:19 -05:00
Dax Raad 94658c31c5 add back child session cycle 2025-11-02 18:26:38 -05:00
Yuku Kotani 2fe7d13e69
Add formatter status display to TUI status dialog (#3701) 2025-11-01 11:14:39 -04:00
Dax Raad d4cb47eadc tui: add keyboard shortcuts to cycle through recently used models
Users can now press F2 to cycle forward and Shift+F2 to cycle backward through their recently used models, making it faster to switch between commonly used AI models without opening the model selection dialog.
2025-10-31 19:42:41 -04:00
Dax Raad 261ff416a9 sync 2025-10-31 23:05:11 +00:00
opencode a57ae3ec93 release: v1.0.3 2025-10-31 22:52:57 +00:00
Nathan Thomas e630d680dd
feat: allow ctrl+d to exit the app (#3636) 2025-10-31 16:27:41 -05:00
opencode b9a39b816c release: v1.0.0 2025-10-31 19:28:07 +00:00
Dax 96bdeb3c7b
OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Aiden Cline b628c580c2 update types 2025-10-31 10:49:52 -05:00
opencode 504a599473 release: v0.15.30 2025-10-31 06:12:16 +00:00
opencode 4b3a841dd9 release: v0.15.29 2025-10-30 06:49:34 +00:00
opencode c652b2b4e8 release: v0.15.24 2025-10-29 15:38:55 +00:00
opencode 4b1c6300a0 release: v0.15.23 2025-10-29 01:35:27 +00:00
Aiden Cline 0e65700183 update sdk 2025-10-27 10:47:04 -05:00
Mohammad Alhashemi 2e434a459a
feat: add noReply parameter (#3433)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-25 14:56:54 -05:00
opencode fc2afdc92f release: v0.15.17 2025-10-25 06:45:23 +00:00
Dax Raad fb40dc6b20 generate user message title and body 2025-10-24 11:50:42 -04:00
Dax Raad 4bd7646ccb regen sdk 2025-10-23 16:33:00 -04:00
Aiden Cline 61899d4fa7 regen sdk 2025-10-22 23:00:03 -05:00
opencode 6ac5a447c2 release: v0.15.12 2025-10-21 17:31:56 +00:00
Giuseppe Rota 731122bf99
fix(acp): use newer acp package (#3317) 2025-10-21 09:35:09 -05:00
opencode 6995dab1dc release: v0.15.10 2025-10-20 22:21:03 +00:00
opencode 542b9fa342 release: v0.15.4 2025-10-16 14:53:32 +00:00
opencode 83be5b0171 release: v0.15.3 2025-10-14 18:44:21 +00:00
Dax Raad 48057c2c21 fix: resolve TypeScript errors in SDK and Slack package 2025-10-14 02:54:37 -04:00
Dax Raad f211fc45a3 drop excess dependency in opencode sdk 2025-10-09 20:55:25 -04:00
Dax Raad a440e09cfe core: improve MCP reliability and add status monitoring
- Added 5-second timeout to MCP client verification to prevent hanging connections
- New GET /mcp endpoint to monitor server connection status
- Automatically removes unresponsive MCP clients during initialization
2025-10-07 04:04:19 -04:00
opencode e3f9e7785e release: v0.14.4 2025-10-07 03:32:10 +00:00
Dax Raad 116a006ce6 sdk: simplify getting started with single createOpencode function
Makes it easier for developers to get started by providing a single function that creates both server and client, removing the need to manually coordinate separate server and client creation
2025-10-05 07:01:32 -04:00
Dax Raad f3c2d1b6c2 sdk: simplify getting started with single createOpencode function
Makes it easier for developers to get started by providing a single function that creates both server and client, removing the need to manually coordinate separate server and client creation
2025-10-05 07:00:29 -04:00
opencode 19cb211b62 release: v0.13.8 2025-10-02 04:16:48 +00:00
opencode 9cc1f2884f release: v0.11.5 2025-09-26 09:40:16 +00:00
opencode 1c878c662b release: v0.11.4 2025-09-26 05:56:03 +00:00
opencode f57c3f7cf6 release: v0.10.2 2025-09-19 15:18:11 +00:00
opencode 5a7a725787 release: v0.10.0 2025-09-18 20:51:03 +00:00
opencode 733b21e22b release: v0.9.11 2025-09-17 16:29:48 +00:00
opencode 9ca48d3a39 release: v0.9.10 2025-09-17 14:54:25 +00:00
opencode e618cbc447 release: v0.9.8 2025-09-17 07:14:33 +00:00
Dax Raad abd99aeb7d ignore: fix event type gen 2025-09-17 01:17:56 -04:00
opencode 8f58fef5ad release: v0.9.2 2025-09-16 04:29:00 +00:00
opencode 4954edf8ae release: v0.9.0 2025-09-15 07:18:49 +00:00
Dax c1b4e1f19d
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
opencode 4b30705c42 release: v0.8.0 2025-09-14 06:07:43 +00:00
opencode 4ceee53480 release: v0.7.6 2025-09-12 10:45:44 +00:00
opencode 3978a8e636 release: v0.7.4 2025-09-12 10:08:33 +00:00
opencode 54f7fb5019 release: v0.7.3 2025-09-11 21:38:17 +00:00
opencode 84f0c63fa1 release: v0.7.2 2025-09-11 17:02:59 +00:00
Dax Raad 38e8c42cf0 ci: format 2025-09-09 23:44:04 -04:00
opencode 10aee9755c release: v0.6.9 2025-09-09 21:17:41 +00:00
opencode 57e26bd2fe release: v0.6.7 2025-09-09 07:23:01 +00:00
Zack Jackson ab3c22b77a
feat: add dynamic tool registration for plugins and external services (#2420) 2025-09-08 16:25:04 -04:00
Adam f171250033
fix: better file/content return 2025-09-04 12:39:49 -05:00
Zack Jackson e001af2709
feat: add createOpencodeTui() function to SDK for programmatic TUI launching (#2410) 2025-09-04 02:49:44 -04:00
Dax Raad 042802848d wip: zen 2025-09-02 16:38:50 -04:00
Dax Raad 8952b3d246 support OPENCODE_CONFIG_CONTENT 2025-09-02 16:38:50 -04: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
Adam e37e878e72
feat: home dir in app info 2025-08-28 14:34:20 -05:00
Adam aa9ab0a304
feat: include ignored files 2025-08-28 10:49:45 -05:00
Adam 8749c0c707
feat: file list api 2025-08-27 15:28:03 -05:00
Dax Raad 0fbd7c84fd sdk update 2025-08-27 12:18:09 -04:00
opencode eebca580e3 release: v0.5.28 2025-08-26 20:23:34 +00:00
Dax Raad 732b67f8ce ci: stuff 2025-08-23 12:21:58 -04:00
Dax Raad 0f1697b2ab add sse streaming to sdk 2025-08-22 18:30:25 -04:00
Dax 133fe41cd5
slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Dax Raad d9233872b9 add `createOpencodeServer` to js sdk and wait for readiness. always use random port for `opencode serve`. add `/client` and `/server` imports for js sdk 2025-08-21 17:13:24 -04:00
Dax Raad 947a3e8aff fix sdk config type 2025-08-21 13:00:16 -04:00
Dax Raad 9a3186317b allow importing sdk from @opencode-ai/sdk/server and @opencode-ai/sdk/client 2025-08-21 12:58:37 -04:00
zWing b1e584ca1d
chore: add export types in js-sdk (#1923)
Co-authored-by: zwingzheng <zwingzheng@tencent.com>
2025-08-21 11:06:27 -05:00
zWing bca523eb63
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
opencode 446ce488c0 release: v0.5.6 2025-08-18 15:56:22 +00:00
Aiden Cline dc01071498
feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
opencode 57b04d9eb7 release: v0.5.2 2025-08-15 15:22:21 +00:00
adamdotdevin 1ae38c90a3
feat(api): get session and session children routes 2025-08-15 08:49:19 -05:00
adamdotdevin 9609c1803e
feat: /tui/show-toast api 2025-08-15 08:39:58 -05:00
adamdotdevin 6e0e87fb2a
fix: more commands cleanup 2025-08-15 07:43:30 -05:00
Mariano Uvalle 0befc5d602
Feat: Render tool metadata after permission rejection. (#1949)
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-08-15 06:16:40 -05:00
opencode ecafa40bcf release: v0.5.1 2025-08-14 20:47:45 +00:00
Dax Raad a433766a31 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Dax Raad ee62dc0745 wip: sdk 2025-08-14 12:22:27 -04:00
opencode 036b24791d release: v0.4.43 2025-08-13 19:33:38 +00:00
opencode 296cc41a07 release: v0.4.40 2025-08-12 21:51:19 +00:00
opencode 3a2b2f13f2 release: v0.4.34 2025-08-12 17:14:23 +00:00
opencode 85e0b53c33 release: v0.4.19 2025-08-11 18:36:06 +00:00
opencode eb15b2ba75 release: v0.4.17 2025-08-11 15:15:24 +00:00
opencode 55c294c013 release: v0.4.6 2025-08-11 01:59:27 +00:00
opencode 95e410db88 release: v0.4.3 2025-08-11 00:53:06 +00:00
zWing 2f4291672b
chore(js-sdk): Compatible with nodenext (#1667) 2025-08-08 20:05:50 -04:00
opencode 063d67a046 release: v0.4.1 2025-08-08 03:01:03 +00:00
Dax Raad 1a561bb512 add api to get session 2025-08-06 20:24:36 -04:00
Timo Clasen 54457e48bb
fix(docs): small_model is not used for summarization (#1360) 2025-08-06 14:03:14 -05:00
Dax Raad ca031278ca wip: plugins 2025-08-02 18:50:19 -04:00
opencode 5a727c0794 release: v0.3.112 2025-08-01 21:53:33 +00:00
opencode 7665bd9439 Release v0.3.105 2025-07-31 23:41:27 +00:00
opencode c1c99c7e0f Release v0.3.104 2025-07-31 23:02:36 +00:00
opencode a00de2df08 Release v0.3.102 2025-07-31 21:25:12 +00:00
Dax Raad a2191ce6fb wip: permissions 2025-07-31 16:38:37 -04:00
Dax 33cef075d2
ci: new publish method (#1451) 2025-07-31 01:00:29 -04:00