diff options
| author | Matt Silverlock <[email protected]> | 2025-12-28 14:13:11 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-28 13:13:11 -0600 |
| commit | 0c19b71f428be388ad9591097b8b234e82192ad9 (patch) | |
| tree | adbe0725f676d98a273817b3ee6d91bbc0453ee9 /packages/web/src/content/docs/config.mdx | |
| parent | 70fa66397e01ab3915058421d2060c62f5a2e01c (diff) | |
| download | opencode-0c19b71f428be388ad9591097b8b234e82192ad9.tar.gz opencode-0c19b71f428be388ad9591097b8b234e82192ad9.zip | |
docs: add plugin configuration documentation (#6301)
Co-authored-by: OpenCode <[email protected]>
Diffstat (limited to 'packages/web/src/content/docs/config.mdx')
| -rw-r--r-- | packages/web/src/content/docs/config.mdx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/web/src/content/docs/config.mdx b/packages/web/src/content/docs/config.mdx index d7f803178..c7f151338 100644 --- a/packages/web/src/content/docs/config.mdx +++ b/packages/web/src/content/docs/config.mdx @@ -378,6 +378,26 @@ You can configure MCP servers you want to use through the `mcp` option. --- +### Plugins + +[Plugins](/docs/plugins) extend OpenCode with custom tools, hooks, and integrations. + +Place plugin files in `.opencode/plugin/` or `~/.config/opencode/plugin/`. You can also load plugins from npm through the `plugin` option. + +```json title="opencode.json" +{ + "$schema": "https://opencode.ai/config.json", + "plugin": [ + "opencode-helicone-session", + "@my-org/custom-plugin" + ] +} +``` + +[Learn more here](/docs/plugins). + +--- + ### Instructions You can configure the instructions for the model you're using through the `instructions` option. |
