From 47dfebf277adbd6b901c4d18da11668aeffb842a Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 9 Oct 2025 12:21:44 -0500 Subject: [PATCH] docs: fix bugged example (#3068) --- packages/web/src/content/docs/plugins.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/content/docs/plugins.mdx b/packages/web/src/content/docs/plugins.mdx index bfcf1ed8..fe1ae9bf 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 {