UNPKG

@code-yeongyu/senpi

Version:

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

14 lines • 828 B
export declare const APPROVED_MONITOR_PARENT: unique symbol; export type MonitorPermissionInput = Record<string, unknown> & { [APPROVED_MONITOR_PARENT]?: string; }; export declare function setApprovedMonitorParent(input: Record<string, unknown>, parent: string): void; export declare function getApprovedMonitorParent(input: Record<string, unknown>): string | undefined; /** * Carry the parent the permission parser approved onto the frozen copy of a monitor call (senpi#5795): the JSON freeze * drops symbol keys, which would skip the parent-swap check at registration. Only for the same watched path; never * throws. */ export declare function transferApprovedMonitorParent(from: unknown, to: unknown): void; export declare function monitorParent(path: string): string; //# sourceMappingURL=monitor-permission.d.ts.map