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.19 titlebar drag fix

nash_suf21fca5abec3
diff --git a/mcp-server/package-lock.json b/mcp-server/package-lock.json
index 7dfc48bd..09546f31 100644
--- a/mcp-server/package-lock.json
+++ b/mcp-server/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "llm-wiki-mcp-server",
- "version": "0.4.18",
+ "version": "0.4.19",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "llm-wiki-mcp-server",
- "version": "0.4.18",
+ "version": "0.4.19",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0"
diff --git a/mcp-server/package.json b/mcp-server/package.json
index 29fe5695..f8b309a3 100644
--- a/mcp-server/package.json
+++ b/mcp-server/package.json
@@ -1,6 +1,6 @@
{
"name": "llm-wiki-mcp-server",
- "version": "0.4.18",
+ "version": "0.4.19",
"description": "MCP server for LLM Wiki local API",
"type": "module",
"main": "dist/src/index.js",
diff --git a/mcp-server/src/index.ts b/mcp-server/src/index.ts
index 16105d24..2f1cf451 100644
--- a/mcp-server/src/index.ts
+++ b/mcp-server/src/index.ts
@@ -9,7 +9,7 @@ import {
} from "@modelcontextprotocol/sdk/types.js"
import { LlmWikiApiClient, type ApiFileNode, type ApiGraphNode, type ApiSearchResult } from "./api-client.js"
-const VERSION = "0.4.18"
+const VERSION = "0.4.19"
const DEFAULT_PROJECT_ID = "current"
const MAX_TEXT_BYTES = 120_000
diff --git a/package-lock.json b/package-lock.json
index 93785de6..7810025f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "llm-wiki",
- "version": "0.4.18",
+ "version": "0.4.19",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "llm-wiki",
- "version": "0.4.18",
+ "version": "0.4.19",
"dependencies": {
"@base-ui/react": "^1.3.0",
"@fontsource-variable/geist": "^5.2.8",
diff --git a/package.json b/package.json
index cd5eb0c2..a676909a 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "llm-wiki",
"private": true,
- "version": "0.4.18",
+ "version": "0.4.19",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index cc2076c1..2fb669b6 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -4461,7 +4461,7 @@ checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
[[package]]
name = "llm-wiki"
-version = "0.4.18"
+version = "0.4.19"
dependencies = [
"arrow-array",
"arrow-schema",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 9af06e03..a9c67579 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "llm-wiki"
-version = "0.4.18"
+version = "0.4.19"
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 9d3d99bf..8c243de5 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.4.18",
+ "version": "0.4.19",
"identifier": "com.llmwiki.app",
"build": {
"beforeDevCommand": "npm run dev",
diff --git a/src/App.tsx b/src/App.tsx
index 911e00d4..90f690c1 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -17,6 +17,16 @@ import { WelcomeScreen } from "@/components/project/welcome-screen"
import { CreateProjectDialog } from "@/components/project/create-project-dialog"
import type { WikiProject } from "@/types/wiki"
+function MacTitlebarDragRegion() {
+ return (
+ <div
+ aria-hidden="true"
+ className="macos-titlebar-drag-region"
+ data-tauri-drag-region
+ />
+ )
+}
+
function App() {
const project = useWikiStore((s) => s.project)
const setProject = useWikiStore((s) => s.setProject)
@@ -469,15 +479,19 @@ function App() {
if (loading) {
return (
- <div className="flex h-full items-center justify-center bg-background text-muted-foreground">
- Loading...
- </div>
+ <>
+ <MacTitlebarDragRegion />
+ <div className="flex h-full items-center justify-center bg-background text-muted-foreground">
+ Loading...
+ </div>
+ </>
)
}
if (!project) {
return (
<>
+ <MacTitlebarDragRegion />
<WelcomeScreen
onCreateProject={() => setShowCreateDialog(true)}
onOpenProject={handleOpenProject}
@@ -494,6 +508,7 @@ function App() {
return (
<>
+ <MacTitlebarDragRegion />
<AppLayout onSwitchProject={handleSwitchProject} />
<CreateProjectDialog
open={showCreateDialog}
diff --git a/src/index.css b/src/index.css
index 5efc33ab..82eee37a 100644
--- a/src/index.css
+++ b/src/index.css
@@ -147,8 +147,12 @@
}
}
-.platform-macos body::before {
- content: "";
+.macos-titlebar-drag-region {
+ display: none;
+}
+
+.platform-macos .macos-titlebar-drag-region {
+ display: block;
position: fixed;
z-index: 2147483647;
top: 0;
@@ -157,6 +161,7 @@
height: var(--window-titlebar-height);
background: var(--background);
-webkit-app-region: drag;
+ user-select: none;
}
/* Legend scrollbar - left side */
diff --git a/src/lib/changelog.ts b/src/lib/changelog.ts
index 3dedf69c..dbe54167 100644
--- a/src/lib/changelog.ts
+++ b/src/lib/changelog.ts
@@ -25,6 +25,18 @@ export interface ChangelogEntry {
}
export const CHANGELOG: ChangelogEntry[] = [
+ {
+ version: "0.4.19",
+ date: "2026-06-03",
+ highlights: {
+ en: [
+ "Fixed the macOS traffic-light titlebar drag area while keeping Windows and Linux on their native window controls.",
+ ],
+ zh: [
+ "修复 macOS 顶部红黄绿按钮区域无法拖动窗口的问题,同时保持 Windows 和 Linux 使用原生窗口控制。",
+ ],
+ },
+ },
{
version: "0.4.18",
date: "2026-06-03",