@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.
84 lines • 2.3 kB
TypeScript
/**
* Wizard Text Templates
*
* Centralized configuration for all wizard text to support:
* - Internationalization (i18n) in the future
* - Consistent messaging across the application
* - Easy updates without modifying business logic
* - Template reusability
*/
export interface WizardTemplates {
title: string;
currentConfigHeader: string;
steps: {
userIdentity: WizardStep;
githubIntegration: WizardStep;
portfolioSync: WizardStep;
displayPreferences: WizardStep;
};
instructions: {
quick: string;
detailed: string;
skip: string;
};
footer: string;
}
export interface WizardStep {
title: string;
description: string;
instructions: string[];
currentValue: (value: any) => string;
}
/**
* Default English templates
*/
export declare const defaultWizardTemplates: WizardTemplates;
/**
* Friendly value replacements for null/undefined config values
*/
export declare const friendlyNullValues: Record<string, string>;
/**
* Helper function to get wizard text in specified language
* @param language - Language code (e.g., 'en', 'es', 'fr')
* @returns Wizard templates for the specified language
*/
export declare function getWizardTemplates(language?: string): WizardTemplates;
/**
* Helper function to get friendly null value
* @param path - Dot-notation path to the config field
* @returns Friendly message for null value
*/
export declare function getFriendlyNullValue(path: string): string;
/**
* Template builder for wizard steps
* Allows for dynamic construction of wizard content
*/
export declare class WizardTemplateBuilder {
private templates;
constructor(language?: string);
/**
* Build the complete wizard text
*/
buildWizardText(currentConfig: any): string;
/**
* Build current configuration section
*/
private buildCurrentConfig;
/**
* Build all wizard steps
*/
private buildSteps;
/**
* Format a single wizard step
*/
private formatStep;
/**
* Build instruction options
*/
private buildInstructions;
/**
* Format config as YAML (stub - would use actual yaml library)
*/
private formatConfigAsYaml;
}
//# sourceMappingURL=wizardTemplates.d.ts.map