Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
export type UnsafeDeviceReadPathReason = "posix-device" | "posix-fd" | "windows-device";
export type UnsafeDeviceReadPathMatch = {
path: string;
reason: UnsafeDeviceReadPathReason;
};
export type UnsafeDeviceReadPathOptions = {
cwd?: string;
platform?: NodeJS.Platform;
};
export declare function matchUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): UnsafeDeviceReadPathMatch | undefined;
export declare function isUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): boolean;
export declare function assertNoUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): void;
//# sourceMappingURL=device-path.d.ts.map