diff options
Diffstat (limited to '.opencode/plugin/example.ts')
| -rw-r--r-- | .opencode/plugin/example.ts | 10 |
1 files changed, 10 insertions, 0 deletions
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 + }, + } +} |
