UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines • 767 B
import { type ReplyInput, type Request } from "../permission-system/types.ts"; export interface NoUIOptions { readonly emitEvent: (event: string, data: unknown) => void; /** The `auto` preset is active. */ readonly presetBound?: boolean; } /** * Answers, with no UI to ask (print mode, unbound SDK), a request the permission service is still * asking about. The service has already applied every rule and found at least one pattern it must * ask about, so the answer is always a refusal with a reason, never an approval; a configured allow * or deny for the other patterns does not change that. */ export declare function handleNoUI(request: Request, { emitEvent, presetBound }: NoUIOptions): ReplyInput; //# sourceMappingURL=non-interactive.d.ts.map