Commit Graph

11 Commits

Author SHA1 Message Date
Dax
3b6c0ec0b3 support custom tools (#2668) 2025-09-18 03:58:21 -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
4518f96e3d add plugin hook for config 2025-08-21 11:22:24 -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
Dax Raad
3ab4f42ebb support agent options 2025-08-10 20:30:37 -04:00
Dax Raad
b824809605 re-export shell $ for plugin 2025-08-04 23:20:04 -04:00
Dax Raad
f85d30c484 wip: plugins 2025-08-03 21:43:58 -04:00
Dax Raad
ca031278ca wip: plugins 2025-08-02 18:50:19 -04:00