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

15 lines
409 B
TypeScript

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