From 65baf76df675fef4420d212dc7e00dd3713783b2 Mon Sep 17 00:00:00 2001 From: Dax Date: Thu, 18 Sep 2025 04:26:57 -0400 Subject: Plugin tool updates (#2670) --- .opencode/tool/foo.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.opencode') diff --git a/.opencode/tool/foo.ts b/.opencode/tool/foo.ts index 3d350de10..44ce990e3 100644 --- a/.opencode/tool/foo.ts +++ b/.opencode/tool/foo.ts @@ -1,6 +1,6 @@ -import z from "zod/v4" +import { tool } from "@opencode-ai/plugin" -export default { +export default tool((z) => ({ description: "foo tool for fooing", args: { foo: z.string().describe("foo"), @@ -8,4 +8,4 @@ export default { async execute() { return "Hey fuck you!" }, -} +})) -- cgit v1.2.3