11 lines
263 B
TypeScript
11 lines
263 B
TypeScript
import type { Plugin } from "@opencode-ai/plugin"
|
|
|
|
export const Notify: Plugin = async ({ $ }) => {
|
|
return {
|
|
// async event(input) {
|
|
// if (input.event.type === "session.idle") {
|
|
// await $`say "Your code is done!"`
|
|
// }
|
|
// },
|
|
}
|
|
}
|