Files
oh-my-opencode/dist/shared/prompt-tools.d.ts
T
2026-03-14 04:56:50 +00:00

4 lines
374 B
TypeScript

export type PromptToolPermission = boolean | "allow" | "deny" | "ask";
export declare function normalizePromptTools(tools: Record<string, PromptToolPermission> | undefined): Record<string, boolean> | undefined;
export declare function resolveInheritedPromptTools(sessionID: string, fallbackTools?: Record<string, PromptToolPermission>): Record<string, boolean> | undefined;