Files
oh-my-opencode/dist/plugin/tool-execute-before.d.ts
T
2026-03-14 04:56:50 +00:00

13 lines
355 B
TypeScript

import type { PluginContext } from "./types";
import type { CreatedHooks } from "../create-hooks";
export declare function createToolExecuteBeforeHandler(args: {
ctx: PluginContext;
hooks: CreatedHooks;
}): (input: {
tool: string;
sessionID: string;
callID: string;
}, output: {
args: Record<string, unknown>;
}) => Promise<void>;