fix: stabilize opencode declarations across package managers

This commit is contained in:
Affaan Mustafa
2026-04-05 15:11:19 -07:00
parent 0f4f95b3de
commit 05acc27530
8 changed files with 31 additions and 15 deletions

View File

@@ -23,7 +23,9 @@ import {
} from "./lib/changed-files-store.js"
import changedFilesTool from "../tools/changed-files.js"
export const ECCHooksPlugin = async ({
type ECCHooksPluginFn = (input: PluginInput) => Promise<Record<string, unknown>>
export const ECCHooksPlugin: ECCHooksPluginFn = async ({
client,
$,
directory,