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: default scheduled import path to raw/sources
skfan1356b08b28c6764
diff --git a/src/App.tsx b/src/App.tsxindex 3835df8d..1dc6aa7a 100644--- a/src/App.tsx+++ b/src/App.tsx@@ -286,7 +286,7 @@ function App() {// Reset to default for new projectsuseWikiStore.getState().setScheduledImportConfig({enabled: false,- path: "raw",+ path: "raw/sources",interval: 60,lastScan: null,})diff --git a/src/components/settings/sections/scheduled-import-section.tsx b/src/components/settings/sections/scheduled-import-section.tsxindex 554cf328..d663fb44 100644--- a/src/components/settings/sections/scheduled-import-section.tsx+++ b/src/components/settings/sections/scheduled-import-section.tsx@@ -112,7 +112,7 @@ export function ScheduledImportSection({ draft, setDraft }: Props) {<Inputvalue={draft.scheduledImportPath}onChange={(e) => setDraft("scheduledImportPath", e.target.value)}- placeholder="raw"+ placeholder="raw/sources"disabled={!draft.scheduledImportEnabled}className="flex-1"/>diff --git a/src/components/settings/settings-view.tsx b/src/components/settings/settings-view.tsxindex 85734cdb..1399bb61 100644--- a/src/components/settings/settings-view.tsx+++ b/src/components/settings/settings-view.tsx@@ -80,10 +80,10 @@ function initialDraft(maxHistoryMessages: number,uiLanguage: string,): SettingsDraft {- // Resolve the display path: if path is empty, show default "raw"+ // Resolve the display path: if path is empty, show default "raw/sources"// If path is relative, show it as-is (user sees relative path)// If path is absolute, show it as-is- const displayPath = scheduledImport.path || "raw"+ const displayPath = scheduledImport.path || "raw/sources"return {provider: llm.provider,diff --git a/src/lib/scheduled-import.ts b/src/lib/scheduled-import.tsindex 355b7f00..5d70fc17 100644--- a/src/lib/scheduled-import.ts+++ b/src/lib/scheduled-import.ts@@ -202,12 +202,12 @@ export async function scanAndImport(projectPath: string, importPath: string): Pr/*** Resolve the absolute path for scheduled import.* If the config path is relative (not absolute), prepend the project path.- * If the config path is empty, use the default "raw" directory.+ * If the config path is empty, use the default "raw/sources" directory.*/export function resolveImportPath(projectPath: string, configPath: string): string {const pp = normalizePath(projectPath)- // Default to "raw" if path is empty- const path = configPath || "raw"+ // Default to "raw/sources" if path is empty+ const path = configPath || "raw/sources"// If path is already absolute, use it as-isif (path.startsWith("/") || path.match(/^[a-zA-Z]:\\/)) {return normalizePath(path)