Commit Graph

69 Commits

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