diff options
| author | Aiden Cline <[email protected]> | 2025-10-09 12:21:44 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-09 12:21:44 -0500 |
| commit | 47dfebf277adbd6b901c4d18da11668aeffb842a (patch) | |
| tree | 905a78fd2fca59ea9efe9975c196d56ec7f52ba0 /packages/web/src/content | |
| parent | f3b50219368f0277a4d003e1b1fd05c7daacd0fe (diff) | |
| download | opencode-47dfebf277adbd6b901c4d18da11668aeffb842a.tar.gz opencode-47dfebf277adbd6b901c4d18da11668aeffb842a.zip | |
docs: fix bugged example (#3068)
Diffstat (limited to 'packages/web/src/content')
| -rw-r--r-- | packages/web/src/content/docs/plugins.mdx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/src/content/docs/plugins.mdx b/packages/web/src/content/docs/plugins.mdx index bfcf1ed87..fe1ae9bfd 100644 --- a/packages/web/src/content/docs/plugins.mdx +++ b/packages/web/src/content/docs/plugins.mdx @@ -111,7 +111,7 @@ export const EnvProtection = async ({ project, client, $, directory, worktree }) Plugins can also add custom tools to opencode: ```ts title=".opencode/plugin/custom-tools.ts" -import type { Plugin, tool } from "@opencode-ai/plugin" +import { type Plugin, tool } from "@opencode-ai/plugin" export const CustomToolsPlugin: Plugin = async (ctx) => { return { |
