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

13 lines
361 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export declare function createToolExecuteBeforeHandler(input: {
ctx: PluginInput;
pendingFilePaths: Map<string, string>;
}): (toolInput: {
tool: string;
sessionID?: string;
callID?: string;
}, toolOutput: {
args: Record<string, unknown>;
message?: string;
}) => Promise<void>;