Skip to content

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: Graph refreshes after source file deletion

nash_subfc445f73d4f
diff --git a/src/components/sources/sources-view.tsx b/src/components/sources/sources-view.tsx
index f1e62096..b7fc7e79 100644
--- a/src/components/sources/sources-view.tsx
+++ b/src/components/sources/sources-view.tsx
@@ -168,6 +168,7 @@ export function SourcesView() {
await loadSources()
const tree = await listDirectory(project.path)
setFileTree(tree)
+ useWikiStore.getState().bumpDataVersion()
// Clear selected file if it was the deleted one
if (selectedFile === node.path || relatedPages.includes(selectedFile ?? "")) {