18 Commits

Author SHA1 Message Date
Dax
3b6c0ec0b3
support custom tools (#2668) 2025-09-18 03:58:21 -04:00
Dax Raad
40c206c2f9 add opencode attach command to connect to a remote opencode server 2025-09-17 03:30:25 -04:00
Dax Raad
abd99aeb7d ignore: fix event type gen 2025-09-17 01:17:56 -04:00
Dax Raad
38e8c42cf0 ci: format 2025-09-09 23:44:04 -04:00
Zack Jackson
ab3c22b77a
feat: add dynamic tool registration for plugins and external services (#2420) 2025-09-08 16:25:04 -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
Dax Raad
d686269377 await config hooks 2025-08-21 15:27:25 +00:00
Dax Raad
4518f96e3d add plugin hook for config 2025-08-21 11:22:24 -04:00
Dax Raad
8a83301e0d copilot auth update version 2025-08-20 11:46:14 -04:00
Dax
f19586cebd
fix anthropic console auth (#2049) 2025-08-18 17:12:21 -04:00
Dax Raad
a433766a31 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Tom
1c83ef75a2
fix(plugin): prevent compiled binary hang by removing lazy dynamic import (#1794)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-10 21:31:15 -04:00
Dax Raad
13d3fba86b switch gpt-5 to codex prompt 2025-08-10 20:47:38 -04:00
Dax Raad
f85d30c484 wip: plugins 2025-08-03 21:43:58 -04:00
Dax Raad
1bac46612c wip: plugin load from package 2025-08-03 21:19:03 -04:00
Yordis Prieto
ed397c5057
chore: add ts-expected-error (#1575) 2025-08-03 17:09:19 -04:00
Yordis Prieto
c9187a9f3a
chore: remove unnecessary TypeScript error suppression (#1571) 2025-08-03 15:50:08 -04:00
Dax Raad
ca031278ca wip: plugins 2025-08-02 18:50:19 -04:00