LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
fix: robust exclusion of .llm-wiki-imported/ from import scan
skfan1355a3122aa0d97
diff --git a/src/lib/scheduled-import.ts b/src/lib/scheduled-import.tsindex f2ee3343..28560f5d 100644--- a/src/lib/scheduled-import.ts+++ b/src/lib/scheduled-import.ts@@ -147,10 +147,11 @@ export async function scanAndImport(projectPath: string, importPath: string): Prreturn}- // Filter to importable files only+ // Filter to importable files only, excluding the hidden config folder+ const dbFolderPrefix = `${ip}/${IMPORT_DB_FOLDER}`const importableFiles = monitoredFiles.filter(f => {- // Skip files inside the hidden config folder- if (f.path.includes(`/${IMPORT_DB_FOLDER}/`) || f.path.includes(`\\${IMPORT_DB_FOLDER}\\`)) {+ // Skip files inside .llm-wiki-imported/ (compare normalized paths)+ if (normalizePath(f.path).startsWith(dbFolderPrefix)) {return false}return isImportableFile(f.name)