Commit Graph

14 Commits

Author SHA1 Message Date
Dax Raad 5e290ca9e6 rework custom tools 2025-09-18 05:42:59 -04:00
Dax bbe1d61875 support custom tools (#2668) 2025-09-18 03:58:21 -04:00
Dax Raad e3bf324ea9 ci: format 2025-09-09 23:44:04 -04:00
Zack Jackson 37893ed24c feat: add dynamic tool registration for plugins and external services (#2420) 2025-09-08 16:25:04 -04:00
Dax Raad 4fa6df14ae docs: sdk 2025-09-01 17:35:52 -04: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
Dax Raad b8322e5b19 add plugin hook for config 2025-08-21 11:22:24 -04:00
Dax 82ac58da90 fix anthropic console auth (#2049) 2025-08-18 17:12:21 -04:00
Dax Raad ba30792e43 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Dax Raad 652bed02bb support agent options 2025-08-10 20:30:37 -04:00
Dax Raad 1fbfb6435a re-export shell $ for plugin 2025-08-04 23:20:04 -04:00
Dax Raad 48faf9d3ce wip: plugins 2025-08-03 21:43:58 -04:00
Dax Raad 4fc04bbac2 wip: plugin load from package 2025-08-03 21:19:03 -04:00
Dax Raad d3ca086b59 wip: plugins 2025-08-02 18:50:19 -04:00