This commit is contained in:
Dax Raad 2025-08-31 00:03:16 -04:00
commit 8905b31bdb
105 changed files with 1295 additions and 16825 deletions

View file

@ -1,7 +1,7 @@
import type {
Event,
createOpencodeClient,
App,
Project,
Model,
Provider,
Permission,
@ -14,7 +14,9 @@ import type { BunShell } from "./shell"
export type PluginInput = {
client: ReturnType<typeof createOpencodeClient>
app: App
project: Project
directory: string
worktree: string
$: BunShell
}
export type Plugin = (input: PluginInput) => Promise<Hooks>