Commit Graph

42 Commits

Author SHA1 Message Date
Spoon 6bb8334384 feat(hook): add tool.definition hook for plugins to modify tool description and parameters (#4956) 2026-02-12 22:52:17 -06:00
Dax Raad 74ab58cbdb core: expose tool arguments in shell hook for plugin visibility 2026-02-12 09:54:47 -05:00
Tyler Gannon 1f2805e8b8 feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) 2026-02-03 15:18:41 -06:00
adamelmore c9eb2eafd2 feat(core): add worktree to plugin tool context 2026-01-27 06:29:19 -06:00
adamelmore 1858f7195e fix(core): expose Instance.directory to custom tools 2026-01-26 20:07:47 -06:00
Aiden Cline 66da7594d4 ignore: rm spoof and bump plugin version 2026-01-25 17:27:24 -05:00
Aiden Cline 3ac44e7f9d add chat.headers hook, adjust codex and copilot plugins to use it 2026-01-21 15:10:08 -06:00
Spoon 7b4cea2a95 feat(hook): command execute before hook (#9267) 2026-01-18 13:11:22 -06:00
Daniel M Brasil 1089bf1ab0 fix: add missing metadata() and ask() defintions to ToolContext type (#8269) 2026-01-13 17:31:18 -06:00
Spoon 656aef30cf feat: pass sessionID to chat.system.transform (#7718) 2026-01-10 18:21:51 -06:00
Frédéric DE MATOS 51bfc5f50f fix: add ChatGPT-Account-Id header for organization subscriptions (#7603) 2026-01-10 07:50:24 -06:00
Aiden Cline e25116edd6 core: add variant to chat.message input 2026-01-04 00:28:52 -06:00
Eduardo Santos de Brito c216f49971 feat(plugin): expose server URL to plugins (#6373) 2025-12-29 21:05:08 -06:00
Joel Hooks afd3927fa2 feat(plugin): allow compaction hook to replace prompt entirely (#5907) 2025-12-22 22:19:14 -06:00
Joel Hooks 111aeac58f feat(plugin): add experimental.session.compacting hook for pre-compaction context injection (#5698)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-17 13:57:09 -06:00
Aiden Cline 682a721975 add ability to set topK 2025-12-15 14:34:56 -06:00
DS bf49451930 feat: restore experimental.chat.messages.transform and add experimental.chat.system.transform hooks (#5542) 2025-12-14 22:51:11 -06:00
Jorgen Henriksen 98cb5169c6 add experimental.chat.messages.transform hook (#5207)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-11 14:38:45 -06:00
franlol c47e33e3ed feat: add experimental.text.complete plugin hook (#4962) 2025-12-07 19:44:04 -06:00
Ben Vargas 2d54f98afa fix: correct Provider type in chat.params plugin hook (#5003) 2025-12-02 22:50:21 -06:00
Dax e9141bf5cd Tui onboarding (#4569)
Co-authored-by: GitHub Action <action@github.com>
2025-11-21 00:21:06 -05:00
Mathias Beugnon 73e5df6d34 fix: messageID type in chat.message (#4128)
Co-authored-by: GitHub Action <action@github.com>
2025-11-09 09:39:50 -06:00
Mathias Beugnon 217253acaf feat: add input context to chat.params and chat.message (#4085) 2025-11-08 23:29:27 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Ola bf4d4ea0ae feat(provider): add GitHub Enterprise support for Copilot (#2522)
Co-authored-by: Jon-Mikkel Korsvik <48263282+jkorsvik@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 15:36:12 -06:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Jérôme Benoit 0787f01d1d chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
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