claude-expert-workflow-mcp
Version:
Production-ready MCP server for AI-powered product development consultation through specialized expert roles. Enterprise-grade with memory management, monitoring, and Claude Code integration.
37 lines • 1.51 kB
TypeScript
import { ConversationState, WorkflowSession } from '../types';
import { IPersistentStorage, PeristenceHealthStatus } from './interfaces';
export declare class FileBasedStorage implements IPersistentStorage {
private readonly dataDir;
private readonly conversationsDir;
private readonly workflowsDir;
private readonly backupsDir;
private readonly lockFile;
constructor(dataDir?: string);
/**
* Initialize storage directories and ensure data integrity
*/
initialize(): Promise<void>;
saveConversation(conversation: ConversationState): Promise<void>;
loadConversation(id: string): Promise<ConversationState | undefined>;
deleteConversation(id: string): Promise<boolean>;
listConversations(): Promise<string[]>;
saveWorkflow(workflow: WorkflowSession): Promise<void>;
loadWorkflow(id: string): Promise<WorkflowSession | undefined>;
deleteWorkflow(id: string): Promise<boolean>;
listWorkflows(): Promise<string[]>;
createBackup(): Promise<string>;
restoreFromBackup(backupPath: string): Promise<boolean>;
checkHealth(): Promise<PeristenceHealthStatus>;
cleanup(): Promise<void>;
private ensureDirectories;
private verifyDataIntegrity;
private quarantineFile;
private writeJsonFile;
private readJsonFile;
private copyDirectory;
private clearDirectory;
private removeDirectory;
private calculateDirectoryChecksum;
private calculateStorageUsage;
}
//# sourceMappingURL=fileStorage.d.ts.map