Add BMAD, Claude, Cursor, and OpenCode configuration directories along with AGENTS.md documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
411 B
TypeScript
18 lines
411 B
TypeScript
import type { Plugin } from "@opencode-ai/plugin"
|
|
|
|
// 🔧 CONFIGURATION: Set to true to enable this plugin
|
|
const ENABLED = false
|
|
|
|
export const Notify: Plugin = async ({ $ }) => {
|
|
// Plugin disabled - set ENABLED = true to activate
|
|
if (!ENABLED) return {}
|
|
|
|
return {
|
|
async event(input) {
|
|
if (input.event.type === "session.idle") {
|
|
await $`say "Your code is done!"`
|
|
}
|
|
},
|
|
}
|
|
}
|