Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
export type SafePathSegmentOptions = {
allowDotPrefix?: boolean;
label?: string;
};
export declare function isSafePathSegment(segment: string, options?: SafePathSegmentOptions): boolean;
export declare function assertSafePathSegment(segment: string, options?: SafePathSegmentOptions): string;
export declare function sanitizeSafePathSegment(value: string, fallback: string, options?: SafePathSegmentOptions): string;
export declare function assertSafePathPrefix(prefix: string, options?: SafePathSegmentOptions): string;
//# sourceMappingURL=safe-path-segment.d.ts.map