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.

47 lines 1.55 kB
/** * Browse collection content from GitHub */ import { GitHubClient } from './GitHubClient.js'; import { CollectionCache } from '../cache/CollectionCache.js'; export declare class CollectionBrowser { private githubClient; private collectionCache; private baseUrl; constructor(githubClient: GitHubClient, collectionCache?: CollectionCache); /** * Browse collection content by section and type * Falls back to cached data when GitHub API is not available or not authenticated * @param section - Top level section: library, showcase, or catalog * @param type - Optional content type within the library section (personas, skills, etc.) */ browseCollection(section?: string, type?: string): Promise<{ items: any[]; categories: any[]; sections?: any[]; }>; /** * Browse collection from cached data */ private browseFromCache; /** * Browse collection from seed data as last resort */ private browseFromSeedData; /** * Get unique content types from items */ private getContentTypesFromItems; /** * Filter items by section and type */ private filterItemsBySection; /** * Convert cache items to GitHub API format */ private convertCacheItemsToGitHubFormat; /** * Format collection browse results */ formatBrowseResults(items: any[], categories: any[], section?: string, type?: string, personaIndicator?: string): string; } //# sourceMappingURL=CollectionBrowser.d.ts.map