Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

578 B
Raw Blame
export declare function safeDirName(input: string): string;
export declare function safePathSegmentHashed(input: string): string;
export declare function resolveSafeInstallDir(params: {
    baseDir: string;
    id: string;
    invalidNameMessage: string;
    nameEncoder?: (id: string) => string;
}): {
    ok: true;
    path: string;
} | {
    ok: false;
    error: string;
};
export declare function assertCanonicalPathWithinBase(params: {
    baseDir: string;
    candidatePath: string;
    boundaryLabel: string;
}): Promise<void>;
//# sourceMappingURL=install-path.d.ts.map