summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src/example.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-02 18:50:19 -0400
committerDax Raad <[email protected]>2025-08-02 18:50:19 -0400
commitca031278ca9ca30277620e344f7a95c597a8a0de (patch)
tree93af08a56682986262fb7d2c97cfd77d6a973ff7 /packages/plugin/src/example.ts
parentae6e47bb42bbfcbb908cda28f4ec028a7335904e (diff)
downloadopencode-ca031278ca9ca30277620e344f7a95c597a8a0de.tar.gz
opencode-ca031278ca9ca30277620e344f7a95c597a8a0de.zip
wip: plugins
Diffstat (limited to 'packages/plugin/src/example.ts')
-rw-r--r--packages/plugin/src/example.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/plugin/src/example.ts b/packages/plugin/src/example.ts
new file mode 100644
index 000000000..ac8c0e344
--- /dev/null
+++ b/packages/plugin/src/example.ts
@@ -0,0 +1,7 @@
+import { Plugin } from "./index"
+
+export const ExamplePlugin: Plugin = async ({ app, client }) => {
+ return {
+ permission: {},
+ }
+}