docs: fix bugged example (#3068)

This commit is contained in:
Aiden Cline
2025-10-09 12:21:44 -05:00
committed by GitHub
parent f3b5021936
commit 47dfebf277

View File

@@ -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 {