Commit Graph

48 Commits (dcabafcdcecc80ca3826a2e47672bd6fc77b7bc0)

Author SHA1 Message Date
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