UNPKG

@sofianedjerbi/knowledge-tree-mcp

Version:

MCP server for hierarchical project knowledge management

24 lines 865 B
/** * Entry operations for moving and managing knowledge entries */ import type { ServerContext } from '../types/index.js'; /** * Move a knowledge entry from old path to new path and update all references */ export declare function moveEntryWithReferences(oldPath: string, newPath: string, context: ServerContext): Promise<{ success: boolean; error?: string; conflictResolution?: string; }>; /** * Update all references to an entry that has been moved */ export declare function updateReferencesToEntry(oldPath: string, newPath: string, context: ServerContext): Promise<void>; /** * Check if moving an entry would break any relationships */ export declare function validateEntryMove(oldPath: string, newPath: string, context: ServerContext): Promise<{ valid: boolean; warnings: string[]; }>; //# sourceMappingURL=entryOperations.d.ts.map