1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-10-17 13:46:46 +02:00

opencode: add OAC

This commit is contained in:
Henrik Hautakoski 2026-07-08 10:26:58 +02:00
parent a9fc1ca56e
commit 863c63a84b
216 changed files with 39215 additions and 37 deletions

View file

@ -1,12 +0,0 @@
import { Plugin } from "@opencode-ai/plugin"
export const NotificationPlugin : Plugin = async ({ project, client, $, directory, worktree }) => {
return {
event: async ({ event }) => {
// Send notification on session completion
if (event.type === "session.idle") {
await $`notify-send "Opencode" "Agent finished"`
}
},
}
}