Aiden Cline 4 месяцев назад
Родитель
Сommit
47dfebf277
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/web/src/content/docs/plugins.mdx

+ 1 - 1
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 {