UNPKG

@sofianedjerbi/knowledge-tree-mcp

Version:

MCP server for hierarchical project knowledge management

23 lines 1.09 kB
/** * Main entry point for path generation utilities */ import { PathOptions } from './types.js'; /** * Generates a smart path from a title and optional metadata * * Examples: * - "How to find an element in Redis" -> "database/redis/how-to/find-element-redis.json" * - "JWT authentication best practices" -> "auth/best-practices/jwt-authentication.json" * - "Fix MongoDB connection timeout" -> "database/mongodb/troubleshooting/mongodb-connection-timeout.json" * - "Terraspace module development guide" -> "iac/terraspace/guides/module-development.json" */ export declare function generatePathFromTitle(title: string, options?: PathOptions): string; /** * Suggests multiple path options for a title * Useful for giving users alternatives */ export declare function suggestPaths(title: string, options?: PathOptions): string[]; export { normalizeUserPath } from './builder.js'; export { detectCategory, detectSubcategory, detectUnknownTechnology } from './detector.js'; export { extractTopic, extractFilename, slugify } from './extractor.js'; //# sourceMappingURL=index.d.ts.map