This commit is contained in:
Dax Raad
2026-03-10 16:07:25 -04:00
parent 4d5da9697e
commit 040700dbc4
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -12,6 +12,7 @@ import type {
Config,
} from "@opencode-ai/sdk"
import type { BunShell } from "./shell.js"
import { type ToolDefinition } from "./tool.js"
export * from "./tool.js"
@@ -27,6 +28,8 @@ export type PluginInput = {
project: Project
directory: string
worktree: string
serverUrl: URL
$: BunShell
}
export type Plugin = (input: PluginInput) => Promise<Hooks>