UNPKG

@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.

48 lines 1.59 kB
/** * ConfigWizardCheck - Handles checking if the configuration wizard should run * on first interaction with the MCP server */ import { ConfigManager } from './ConfigManager.js'; export declare class ConfigWizardCheck { private hasCheckedWizard; private configManager; private currentVersion; constructor(configManager: ConfigManager); /** * Get the current version from package.json */ private getCurrentVersion; /** * Check if configuration wizard should run on first interaction * Returns a prompt message if wizard should run, null otherwise */ checkIfWizardNeeded(): Promise<string | null>; /** * Determine if we should show the update wizard based on version changes * This logic can be updated with each release to trigger when needed */ private shouldShowUpdateWizard; /** * Get the wizard prompt message - friendly for non-technical users */ private getWizardPrompt; /** * Get the update wizard prompt for returning users * This can be customized for each release that needs to notify users */ private getUpdateWizardPrompt; /** * Wrap tool responses to check for wizard on first interaction * CRITICAL FIX: Create new response objects to avoid mutations */ wrapResponse(response: any): Promise<any>; /** * Mark wizard as completed */ markWizardCompleted(): Promise<void>; /** * Mark wizard as dismissed */ markWizardDismissed(): Promise<void>; } //# sourceMappingURL=ConfigWizardCheck.d.ts.map