@sofianedjerbi/knowledge-tree-mcp
Version:
MCP server for hierarchical project knowledge management
35 lines • 962 B
TypeScript
/**
* Types for the path generation system
*/
import type { ProjectConfig } from '../../types/ProjectConfig.js';
export interface MatchScore {
category: string;
score: number;
source: 'tag' | 'tech-exact' | 'title-early' | 'title-late' | 'fuzzy';
matchedKeyword?: string;
}
export interface PathOptions {
category?: string;
tags?: string[];
priority?: string;
projectConfig?: ProjectConfig;
}
export interface PathComponents {
category: string;
subcategory?: string;
filename: string;
}
export interface ConfigMaps {
technologies: Record<string, string>;
categories: Record<string, string[]>;
subcategories: Record<string, string[]>;
}
export declare const SCORING_WEIGHTS: {
readonly TAG_MATCH: 3;
readonly TECH_EXACT: 2.5;
readonly TITLE_EARLY: 2;
readonly TITLE_LATE: 1.5;
readonly FUZZY_MATCH: 0.5;
};
export declare const SKIP_WORDS: string[];
//# sourceMappingURL=types.d.ts.map