/** * Shared context type for bash permission helpers. Lives in its own * file to avoid runtime cyclic imports between `bash-permission.ts`, * `bash-write-target.ts`, and `bash-fast-allow.ts` — every consumer * pulls the type from here without depending on each other. */ import type { PermissionRule } from '../types.js'; /** * Optional context passed from {@link BashToolPermissionChecker} to * fine-tune the SOFT remote-execution pre-scan, the IO-redirect / * write-target gates, and the fast-allow shortcut. Without it, the * pre-scan still works but always trips on ` bash