From f85d30c484f26c0656dd91ad5f9c5ed26c0a2fce Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 3 Aug 2025 21:42:45 -0400 Subject: wip: plugins --- .opencode/plugin/example.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .opencode/plugin/example.ts (limited to '.opencode/plugin/example.ts') diff --git a/.opencode/plugin/example.ts b/.opencode/plugin/example.ts new file mode 100644 index 000000000..998108f0a --- /dev/null +++ b/.opencode/plugin/example.ts @@ -0,0 +1,10 @@ +import { Plugin } from "./index" + +export const ExamplePlugin: Plugin = async ({ app, client, $ }) => { + return { + permission: {}, + async "chat.params"(input, output) { + output.topP = 1 + }, + } +} -- cgit v1.2.3