opencode/.opencode/plugin/example.ts
Aiden Cline 7b6d5b1429
Some checks are pending
deploy / deploy (push) Waiting to run
chore: update marked-shiki, remove patch (#1653)
2025-08-06 08:47:53 -05:00

10 lines
234 B
TypeScript

import { Plugin } from "../../packages/plugin/src/index"
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
return {
permission: {},
async "chat.params"(input, output) {
output.topP = 1
},
}
}