@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.
60 lines • 1.49 kB
TypeScript
/**
* Manage server updates and rollbacks
*/
export interface UpdateProgress {
step: string;
message: string;
isComplete: boolean;
}
export declare class UpdateManager {
private versionManager;
private updateChecker;
private dependencyChecker;
private backupManager;
private rootDir;
constructor(rootDir?: string);
/**
* Check for available updates
*/
checkForUpdates(): Promise<{
text: string;
}>;
/**
* Perform server update
*/
updateServer(createBackup?: boolean, personaIndicator?: string): Promise<{
text: string;
}>;
/**
* Rollback to previous version
*/
rollbackUpdate(force?: boolean, personaIndicator?: string): Promise<{
text: string;
}>;
/**
* Update npm installation
*/
private updateNpmInstallation;
/**
* Rollback npm installation
*/
private rollbackNpmInstallation;
/**
* Copy directory recursively with progress reporting
* @deprecated Use FileOperations.copyDirectory instead
*/
private copyDirectory;
/**
* Convert npm installation to git installation
*/
convertToGitInstallation(targetDir?: string, confirm?: boolean, personaIndicator?: string): Promise<{
text: string;
}>;
/**
* Get current server status
*/
getServerStatus(personaIndicator?: string): Promise<{
text: string;
}>;
}
//# sourceMappingURL=UpdateManager.d.ts.map