@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
7 lines • 346 B
TypeScript
/**
* Resolve a target path and verify that it remains inside the intended base
* directory. This is separator-aware, so sibling paths such as `/tmp/base2`
* are not treated as children of `/tmp/base`.
*/
export declare function resolvePathWithinBase(baseDir: string, ...segments: string[]): string;
//# sourceMappingURL=pathSecurity.d.ts.map