summaryrefslogtreecommitdiffhomepage
path: root/.opencode
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-03 21:42:45 -0400
committerDax Raad <[email protected]>2025-08-03 21:43:58 -0400
commitf85d30c484f26c0656dd91ad5f9c5ed26c0a2fce (patch)
treeff8cc896fa4eee9da0c83ccbf0a49343c5590472 /.opencode
parent1bac46612cef3b383af2ce411ca2ad313d5c5ce0 (diff)
downloadopencode-f85d30c484f26c0656dd91ad5f9c5ed26c0a2fce.tar.gz
opencode-f85d30c484f26c0656dd91ad5f9c5ed26c0a2fce.zip
wip: plugins
Diffstat (limited to '.opencode')
-rw-r--r--.opencode/plugin/example.ts10
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
+ },
+ }
+}