@ttaqt/novel-workflow-mcp
Version:
MCP server for AI-assisted novel writing workflow with real-time web dashboard
27 lines • 1.5 kB
TypeScript
export declare class PathUtils {
/**
* Safely join paths ensuring no directory traversal
*/
private static safeJoin;
static getWorkflowRoot(projectPath: string): string;
static getStoryPath(projectPath: string, storyName: string): string;
static getArchiveStoryPath(projectPath: string, storyName: string): string;
static getArchiveStoriesPath(projectPath: string): string;
static getSteeringPath(projectPath: string): string;
static getTemplatesPath(projectPath: string): string;
static getAgentsPath(projectPath: string): string;
static getCommandsPath(projectPath: string): string;
static getApprovalsPath(projectPath: string): string;
static getStoryApprovalPath(projectPath: string, storyName: string): string;
static getSpecPath: typeof PathUtils.getStoryPath;
static getArchiveSpecPath: typeof PathUtils.getArchiveStoryPath;
static getArchiveSpecsPath: typeof PathUtils.getArchiveStoriesPath;
static getSpecApprovalPath: typeof PathUtils.getStoryApprovalPath;
static toPlatformPath(path: string): string;
static toUnixPath(path: string): string;
static getRelativePath(projectPath: string, fullPath: string): string;
}
export declare function validateProjectPath(projectPath: string): Promise<string>;
export declare function ensureDirectoryExists(dirPath: string): Promise<void>;
export declare function ensureWorkflowDirectory(projectPath: string): Promise<string>;
//# sourceMappingURL=path-utils.d.ts.map