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.4.6 — Knowledge tree delete, mermaid in chat, Windows Claude CLI fix

nash_su58f9ef1e4c7b
diff --git a/src/lib/changelog.ts b/src/lib/changelog.ts
index 74886fd9..518ddd2e 100644
--- a/src/lib/changelog.ts
+++ b/src/lib/changelog.ts
@@ -25,6 +25,28 @@ export interface ChangelogEntry {
}
export const CHANGELOG: ChangelogEntry[] = [
+ {
+ version: "0.4.6",
+ date: "2026-05-01",
+ highlights: {
+ en: [
+ "Right-click delete in the Knowledge tree for entity / concept pages, with full reference cleanup: every body `[[wikilink]]`, `index.md` listing entry, and `related:` frontmatter array pointing at the deleted page is rewritten in the same pass — no more dangling refs left behind for the FrontmatterPanel to flag with a warning icon.",
+ "Mermaid diagrams now render in chat: any ` ```mermaid ` fenced code block in an LLM reply renders as an SVG (lazy-loaded so the diagram engine is only fetched when first encountered). Click a diagram to enlarge with zoom controls; Esc to close.",
+ "Wiki pages whose frontmatter was wrapped in a stray ```yaml … ``` code fence now render correctly: the orphan closing ``` no longer hijacks the body into one giant un-formatted code block.",
+ "Windows: Claude Code CLI provider works again. Detection and chat spawn now resolve through the same path lookup (claude.cmd → claude.exe → claude), so Settings showing \"installed\" matches what chat can actually spawn.",
+ "Fixed: switching the UI language in Settings → Interface, saving, then editing any other settings field and saving again no longer silently reverts the UI back to the previous language.",
+ "All file-delete paths (Sources view source delete, Lint view orphan delete, Knowledge tree right-click) now use the same cleanup helper, so deleting via any of them gets the full sweep — no more inconsistent behaviour where one path cleaned wikilinks but left `related:` frontmatter pointing at the void.",
+ ],
+ zh: [
+ "Knowledge 知识树新增右键删除 entity / concept 页面:删除时自动清理所有引用 —— 文中的 `[[wikilink]]`、`index.md` 的目录条目、其它页面 frontmatter `related:` 数组里指向被删页的 slug,全都在同一步重写干净,不再留断链让 FrontmatterPanel 显示警告图标。",
+ "聊天中支持渲染 Mermaid 图:LLM 回复里的 ` ```mermaid ` 代码块会渲染成 SVG(懒加载,只有遇到第一个图才下载渲染引擎)。点击图可放大查看,支持缩放控制和 Esc 关闭。",
+ "frontmatter 被错误包在 ```yaml … ``` 代码栅栏里的 wiki 页现在能正常渲染:之前下半部全部被孤立的闭 fence 当成一个未关闭的代码块,标题、列表、表格全都不上样式。",
+ "Windows 下 Claude Code CLI 再次可用:探测和 chat 启动现在走同一套路径解析(claude.cmd → claude.exe → claude),不会再出现「Settings 检测到已安装但实际 chat 启动失败」的怪现象。",
+ "修复:在 Settings → Interface 切换 UI 语言保存后,再编辑其它设置并保存,UI 不会再被静默切回原来的语言。",
+ "所有删除入口(Sources 删原始文档、Lint 删孤儿页、Knowledge 树右键)现在都走同一个清理辅助函数,任意路径删除都会触发完整清扫 —— 不会再有一条路径清掉 wikilink 但漏掉 `related:` 留下断引的不一致。",
+ ],
+ },
+ },
{
version: "0.4.5",
date: "2026-04-30",