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

release: v0.6.12

nash_su78e4b4071f68
diff --git a/package-lock.json b/package-lock.json
index db7ea6bc..5c51909c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "llm-wiki",
- "version": "0.6.11",
+ "version": "0.6.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "llm-wiki",
- "version": "0.6.11",
+ "version": "0.6.12",
"dependencies": {
"@base-ui/react": "^1.3.0",
"@fontsource-variable/geist": "^5.2.8",
diff --git a/package.json b/package.json
index f9fdb126..ce6802bd 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "llm-wiki",
"private": true,
- "version": "0.6.11",
+ "version": "0.6.12",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 6e2efc4d..219384c9 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -4753,7 +4753,7 @@ checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
[[package]]
name = "llm-wiki"
-version = "0.6.11"
+version = "0.6.12"
dependencies = [
"anydoc",
"arrow-array",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 83c66945..5511457c 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "llm-wiki"
-version = "0.6.11"
+version = "0.6.12"
description = "LLM Wiki - A personal knowledge base for LLM concepts"
authors = []
edition = "2021"
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 2a73f5e3..e5685840 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "LLM Wiki",
- "version": "0.6.11",
+ "version": "0.6.12",
"identifier": "com.llmwiki.app",
"build": {
"beforeDevCommand": "npm run dev",
diff --git a/src/components/settings/sections/changelog-section.tsx b/src/components/settings/sections/changelog-section.tsx
index 2a60f838..06bfd798 100644
--- a/src/components/settings/sections/changelog-section.tsx
+++ b/src/components/settings/sections/changelog-section.tsx
@@ -3,10 +3,14 @@ import { CHANGELOG } from "@/lib/changelog"
export function ChangelogSection() {
const { t, i18n } = useTranslation()
- // Match the ui language to either the en or zh highlight list.
- // Anything other than "zh" falls back to English so unsupported
- // locales degrade gracefully.
- const lang: "en" | "zh" = i18n.language?.startsWith("zh") ? "zh" : "en"
+ const language = i18n.language?.toLowerCase() ?? "en"
+ const lang: "en" | "zh" | "it" | "ru" = language.startsWith("zh")
+ ? "zh"
+ : language.startsWith("it")
+ ? "it"
+ : language.startsWith("ru")
+ ? "ru"
+ : "en"
return (
<div className="space-y-6">
@@ -34,7 +38,7 @@ export function ChangelogSection() {
<span className="text-xs text-muted-foreground">{entry.date}</span>
</div>
<ul className="mt-3 space-y-2 text-sm leading-relaxed text-foreground/90">
- {entry.highlights[lang].map((line, i) => (
+ {(entry.highlights[lang] ?? entry.highlights.en).map((line, i) => (
<li key={i} className="flex gap-2">
<span className="mt-1 h-1.5 w-1.5 shrink-0 rounded-full bg-primary/60" />
<span>{line}</span>
diff --git a/src/lib/changelog.ts b/src/lib/changelog.ts
index cf09e3f1..e6d3409f 100644
--- a/src/lib/changelog.ts
+++ b/src/lib/changelog.ts
@@ -21,10 +21,58 @@ export interface ChangelogEntry {
highlights: {
en: string[]
zh: string[]
+ it?: string[]
+ ru?: string[]
}
}
export const CHANGELOG: ChangelogEntry[] = [
+ {
+ version: "0.6.12",
+ date: "2026-09-27",
+ highlights: {
+ en: [
+ "Added background source monitoring across recent projects and raised configurable document processing and Ingest concurrency limits to 64.",
+ "Added verified MCP wiki-page writes and standalone PNG, JPG, and JPEG image ingestion with multimodal captions.",
+ "Made Ingest resumable after interrupted generation, added schema-based page routing, and strengthened truncation and queue recovery.",
+ "Improved Deep Research with project-grounded queries, source relevance filtering, and better entity-page selection.",
+ "Improved large knowledge-graph loading, analysis, link resolution, and API performance.",
+ "Fixed duplicate vector identities, malformed generated wikilinks, page-merge scaffolding, and image paths containing spaces.",
+ "Improved Anthropic-compatible provider authentication and Claude CLI diagnostics, OAuth errors, and timeout handling.",
+ "Improved spreadsheet dates, dark-theme controls, macOS release checks, and general stability and compatibility.",
+ ],
+ zh: [
+ "新增最近项目的后台资料监控,并将可配置的文档处理和 Ingest 并发上限提升至 64。",
+ "新增经过校验的 MCP Wiki 页面写入,以及 PNG、JPG、JPEG 图片资料摄取与多模态描述。",
+ "Ingest 支持生成中断恢复和基于 Schema 的页面路由,并强化截断检测与队列恢复。",
+ "深度研究新增项目语境查询、来源相关性过滤,并改进实体页面筛选。",
+ "优化大型知识图谱的加载、分析、链接解析和 API 性能。",
+ "修复向量 ID 冲突、生成式 Wiki 链接异常、页面合并模板残留及含空格的图片路径。",
+ "完善 Anthropic 兼容 Provider 鉴权,以及 Claude CLI 诊断、OAuth 错误和超时处理。",
+ "改进电子表格日期、深色主题控件、macOS 发布检查及整体稳定性与兼容性。",
+ ],
+ it: [
+ "Aggiunto il monitoraggio in background delle fonti nei progetti recenti e aumentato a 64 il limite configurabile di elaborazione documenti e Ingest.",
+ "Aggiunte la scrittura verificata delle pagine Wiki tramite MCP e l'acquisizione di immagini PNG, JPG e JPEG con descrizioni multimodali.",
+ "Ingest ora riprende dopo un'interruzione, instrada le pagine in base allo Schema e gestisce meglio troncamenti e ripristino della coda.",
+ "Migliorata la Ricerca approfondita con query basate sul contesto del progetto, filtro di pertinenza delle fonti e selezione più accurata delle entità.",
+ "Ottimizzate prestazioni, analisi, risoluzione dei collegamenti e API dei grafi della conoscenza di grandi dimensioni.",
+ "Corretti conflitti degli ID vettoriali, wikilink generati non validi, residui dei template di unione e percorsi immagine con spazi.",
+ "Migliorati l'autenticazione dei provider compatibili con Anthropic e i messaggi diagnostici, OAuth e timeout di Claude CLI.",
+ "Migliorate date dei fogli di calcolo, controlli del tema scuro, verifiche delle release macOS, stabilità e compatibilità generali.",
+ ],
+ ru: [
+ "Добавлен фоновый мониторинг источников во всех недавних проектах, а настраиваемый предел параллельной обработки документов и Ingest увеличен до 64.",
+ "Добавлены проверенная запись Wiki-страниц через MCP и импорт изображений PNG, JPG и JPEG с мультимодальными описаниями.",
+ "Ingest теперь возобновляется после прерывания генерации, маршрутизирует страницы по Schema и надёжнее обрабатывает усечение и восстановление очереди.",
+ "Улучшено глубокое исследование: запросы учитывают контекст проекта, источники фильтруются по релевантности, а страницы сущностей создаются точнее.",
+ "Оптимизированы загрузка, анализ, разрешение ссылок и API больших графов знаний.",
+ "Исправлены конфликты векторных ID, некорректные сгенерированные Wiki-ссылки, остатки шаблонов слияния и пути к изображениям с пробелами.",
+ "Улучшены аутентификация Anthropic-совместимых провайдеров, диагностика Claude CLI, обработка OAuth-ошибок и тайм-аутов.",
+ "Улучшены даты в таблицах, элементы тёмной темы, проверки релизов macOS, общая стабильность и совместимость.",
+ ],
+ },
+ },
{
version: "0.6.11",
date: "2026-08-25",
diff --git a/src/lib/ingest-source-path-collision.test.ts b/src/lib/ingest-source-path-collision.test.ts
index c1e09f90..48e4c111 100644
--- a/src/lib/ingest-source-path-collision.test.ts
+++ b/src/lib/ingest-source-path-collision.test.ts
@@ -20,6 +20,8 @@ let abortDuringReview: AbortController | null = null
let interactiveGenerationOverride = ""
let mergeRequestCount = 0
let truncateGenerationOnce = false
+let emptyGenerationOnce = false
+let confirmResumeCompleteOnce = false
vi.mock("./llm-client", () => ({
streamChat: vi.fn(async (_cfg, messages, cb) => {
@@ -104,6 +106,18 @@ vi.mock("./llm-client", () => ({
return
}
+ if (emptyGenerationOnce) {
+ emptyGenerationOnce = false
+ cb.onDone({ finishReason: "stop", truncated: false })
+ return
+ }
+ if (confirmResumeCompleteOnce) {
+ confirmResumeCompleteOnce = false
+ cb.onToken("---RESUME COMPLETE---")
+ cb.onDone({ finishReason: "stop", truncated: false })
+ return
+ }
+
const marker = sourceMarkers.shift() ?? "unknown project"
const targetPath = targetMatch[1]
const sourceIdentity =
@@ -160,6 +174,8 @@ describe("autoIngest source summary paths", () => {
interactiveGenerationOverride = ""
mergeRequestCount = 0
truncateGenerationOnce = false
+ emptyGenerationOnce = false
+ confirmResumeCompleteOnce = false
mockStreamChat.mockClear()
mockParseWithMineru.mockReset()
tmp = await createTempProject("same-basename-sources")
@@ -749,7 +765,13 @@ describe("autoIngest source summary paths", () => {
await expect(fs.readFile(`${tmp.path}/wiki/goals/preserved.md`, "utf8"))
.resolves.toContain("# Preserved")
- generationSuffix = ""
+ emptyGenerationOnce = true
+ await expect(autoIngest(tmp.path, sourcePath, useWikiStore.getState().llmConfig))
+ .rejects.toThrow("resume returned no complete wiki file")
+ await expect(fs.readdir(`${tmp.path}/.llm-wiki/ingest-generation`))
+ .resolves.toHaveLength(1)
+
+ confirmResumeCompleteOnce = true
await autoIngest(tmp.path, sourcePath, useWikiStore.getState().llmConfig)
const generationCalls = mockStreamChat.mock.calls.filter(([, messages]) =>
diff --git a/src/lib/ingest.ts b/src/lib/ingest.ts
index ca759f8a..ad283e3e 100644
--- a/src/lib/ingest.ts
+++ b/src/lib/ingest.ts
@@ -1158,6 +1158,7 @@ async function autoIngestImpl(
"The following FILE paths were already written successfully in an earlier attempt.",
"Do not emit them again. Emit only the remaining pages required by the analysis:",
...previouslyCompletedPaths.map((path) => `- ${path}`),
+ "If every required page is already complete, return exactly `---RESUME COMPLETE---`.",
].join("\n")
: "",
"",
@@ -1194,13 +1195,25 @@ async function autoIngestImpl(
generationError = err instanceof Error ? err.message : String(err)
}
- if ((generationError || generationTruncated) && parseFileBlocks(generation).blocks.length === 0) {
+ const parsedGeneration = parseFileBlocks(generation)
+ const resumeConfirmedComplete = previouslyCompletedPaths.length > 0 &&
+ generation.trim() === "---RESUME COMPLETE---"
+ if ((generationError || generationTruncated) && parsedGeneration.blocks.length === 0) {
const message = generationError
? `Generation failed before any complete wiki file was produced: ${generationError}`
: "Generation was truncated before any complete wiki file was produced."
activity.updateItem(activityId, { status: "error", detail: message })
throw new Error(message)
}
+ if (
+ previouslyCompletedPaths.length > 0 &&
+ !resumeConfirmedComplete &&
+ parsedGeneration.blocks.length === 0
+ ) {
+ const message = "Generation resume returned no complete wiki file and did not confirm completion."
+ activity.updateItem(activityId, { status: "error", detail: message })
+ throw new Error(message)
+ }
throwIfIngestAborted(signal, activityId)
let reviewSuggestionOutput = ""
@@ -1470,7 +1483,12 @@ async function autoIngestImpl(
// incomplete result. Throwing here keeps the queue task visible as
// pending/failed instead of removing it as "done" while Sources reports the
// same file as not ingested.
- const generationIncomplete = Boolean(generationError) || generationTruncated
+ const resumeProducedNoValidFiles = previouslyCompletedPaths.length > 0 &&
+ !resumeConfirmedComplete &&
+ writeResult.writtenPaths.length === 0
+ const generationIncomplete = Boolean(generationError) ||
+ generationTruncated ||
+ resumeProducedNoValidFiles
if (generationIncomplete && writtenPaths.length > 0) {
try {
await saveGenerationCheckpoint(generationProgressPath, {
@@ -1491,6 +1509,7 @@ async function autoIngestImpl(
const reasons = [
generationError ? `generation stream failed: ${generationError}` : "",
generationTruncated ? "generation reached its output limit" : "",
+ resumeProducedNoValidFiles ? "generation resume produced no valid wiki files" : "",
hardFailures.length > 0
? `${hardFailures.length} wiki file write failure(s)`
: "",