split config

This commit is contained in:
Sebastian Herrlinger
2026-02-13 16:28:54 +01:00
parent d30e917385
commit 27090c122d
21 changed files with 1018 additions and 202 deletions

View File

@@ -540,10 +540,12 @@ You can configure MCP servers you want to use through the `mcp` option.
Place plugin files in `.opencode/plugins/` or `~/.config/opencode/plugins/`. You can also load plugins from npm through the `plugin` option.
Each entry can be a string specifier or a `[specifier, options]` tuple. Options are passed to the plugin initializer.
```json title="opencode.json"
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-helicone-session", "@my-org/custom-plugin"]
"plugin": ["opencode-helicone-session", ["@my-org/custom-plugin", { "arbitrary": "options" }]]
}
```