Files
oh-my-opencode/dist/hooks/non-interactive-env/non-interactive-env-hook.d.ts
T
2026-03-14 04:56:50 +00:00

15 lines
432 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export * from "./constants";
export * from "./detector";
export * from "./types";
export declare function createNonInteractiveEnvHook(_ctx: PluginInput): {
"tool.execute.before": (input: {
tool: string;
sessionID: string;
callID: string;
}, output: {
args: Record<string, unknown>;
message?: string;
}) => Promise<void>;
};