Skip to content

Releases: GTC2080/Nexus

Nexus v1.0.4 — 极致性能优化 & Rust 计算迁移

19 Mar 11:21

Choose a tag to compare

Nexus v1.0.4

计算迁移 — 前端重计算下沉到 Rust

  • 语义上下文提取(buildSemanticContext + hashText)→ Rust get_related_notes_raw,前端零计算直传原始内容
  • 标签树构建(JS buildTagTree O(n*m))→ Rust get_tag_tree 直接返回嵌套树
  • 图谱邻接索引(3 个 useMemo)→ Rust get_enriched_graph_data 预计算邻接表
  • 热力图网格(JS 182 格日期计算)→ Rust get_heatmap_cells 预计算 26×7 网格
  • 化学计量 & 数据库归一化 → Rust 命令就绪

架构级性能优化

  • 修复双重 scan_vault — 启动时 vault 扫描从 2 次降为 1 次
  • 事件驱动替代轮询 — Truth System 从 30s 轮询改为 study-tick 事件驱动,IPC 调用量 -80%
  • 全局笔记缓存NoteContentCacheProvider LRU 20 条,省去重复磁盘读
  • 乐观删除 — 删除操作 UI 立即响应,失败自动回滚
  • 批量 SQL — 文件夹删除从 N×4 条 SQL → 4 条批量 DELETE
  • 复合索引note_links(target_name, source_id) 加速反向链接查询
  • FTS 延迟填充 — 仅首次创建时填充全文索引
  • 内存分配优化Vec::with_capacity / String::with_capacity 减少 ~30% 堆分配

渲染性能优化

  • CSS hover 替代 DOM 操作(6 个组件消除 layout thrashing)
  • WorkspaceShellEditorViewportReact.memo
  • 文件树 notes 引用稳定化,避免 build_file_tree 无效重建
  • Study tracker fire-and-forget 补充 .catch() 错误处理

用户体验

  • 零延迟启动画面 — 纯 HTML/CSS 内联 splash,窗口打开即渲染
  • Ketcher 暗色主题修复 — 分子画板原子标签/化学键颜色适配深色背景
  • 窗口居中 — 启动时自动定位到屏幕正中央
  • 设置面板重构 — 活动栏功能开关独立为"功能"tab

代码架构重构

  • 6 个 300-510 行组件拆分为单一职责模块,新增 11 个文件
  • 设置面板从 4 个扩展为 5 个独立面板(常规/功能/编辑器/AI/知识库)

Bug 修复

  • 修复 Ketcher CJS require() 导致生产构建白屏
  • 修复 __vitePreload 被拖入 25MB ketcher chunk 导致启动卡死
  • 修复 scan_vault 在启动时被调用两次

下载

文件 说明
Nexus_1.0.4_x64-setup.exe Windows NSIS 安装包(推荐)
Nexus_1.0.4_x64_en-US.msi Windows MSI 安装包

Nexus v1.0.3

19 Mar 08:27

Choose a tag to compare

Nexus v1.0.3

中文

新功能

  • 化学绘图板替代画布 — 移除通用 React Flow 画布,引入 Ketcher 专业分子编辑器,支持 .mol 文件,绝对极简暗色主题
  • Activity Bar 分子绘图下拉菜单 — 化学绘图按钮支持「新建分子文件」和「插入到笔记」两种模式
  • Markdown 内联分子插入/chemdraw 斜杠命令,绘制分子后自动插入 SMILES 代码块
  • 多语言支持(i18n) — 完整中英双语界面,覆盖 40+ 组件 300+ 条翻译,设置或引导中一键切换

优化

  • Rust 类型化错误AppError 枚举(thiserror)替换全部 Result<T, String>
  • Rust 锁优化 — 合并多次重复 .lock() 为单次作用域锁
  • React Compiler — 集成 babel-plugin-react-compiler 自动优化 memoization
  • React Error Boundary — 全局错误边界包裹 4 个 Suspense 区域
  • useTransition — Sidebar、GlobalGraphModal、useVaultSession 改用 useTransition
  • 测试覆盖 — 新增 25 个测试(总计 38 个),覆盖核心 hooks 和 ErrorBoundary

安装

  • 推荐:下载 Nexus_1.0.3_x64-setup.exe(NSIS 安装程序)
  • 或下载 Nexus_1.0.3_x64_en-US.msi(MSI 安装程序)

English

New Features

  • Chemical Editor replaces Canvas — Removed generic React Flow canvas, introduced Ketcher professional molecule editor with .mol file support and absolute minimalism dark theme
  • Activity Bar Chem Draw Dropdown — Chem draw button now supports "New Molecule File" and "Insert into Note" dual modes
  • Inline Molecule Insertion/chemdraw slash command in Markdown editor, auto-inserts SMILES code block after drawing
  • Multi-language Support (i18n) — Full Chinese/English UI with 300+ translation entries across 40+ components, one-click language switch

Improvements

  • Rust Typed ErrorsAppError enum (thiserror) replaces all Result<T, String>
  • Rust Lock Optimization — Merged redundant .lock() calls into single scoped locks
  • React Compiler — Integrated babel-plugin-react-compiler for automatic memoization
  • React Error Boundary — Global error boundary wrapping 4 Suspense zones
  • useTransition — Sidebar, GlobalGraphModal, useVaultSession now use useTransition for async state
  • Test Coverage — Added 25 new tests (38 total), covering core hooks and ErrorBoundary

Installation

  • Recommended: Download Nexus_1.0.3_x64-setup.exe (NSIS installer)
  • Or download Nexus_1.0.3_x64_en-US.msi (MSI installer)

v1.0.2

18 Mar 15:32

Choose a tag to compare

更新内容

  • 自动学习时间轴 — 后台自动记录活跃学习时长与文件访问,Activity Bar 一键查看热力图、文件夹排行和每日记录
  • 首次启动引导向导 — macOS 风格分步设置语言、主题、字体和学科方向
  • Markdown 表格支持 — 新增 TipTap Table 扩展,右键菜单可直接插入表格
  • Markdown 解析修复 — 修复 tiptap-markdown 与 TipTap v3 兼容性问题,文件重新打开后不再显示为纯文本
  • 右键菜单优化 — 修复鼠标移向子菜单时消失的问题
  • 移除旧 .timeline 功能 — 手动时间轴已被自动学习时间轴取代

What's New

  • Auto Study Timeline — Automatically tracks active study time and file access in the background; view heatmap, folder ranking, and daily records from the Activity Bar
  • Onboarding Wizard — macOS-style step-by-step setup for language, theme, font, and discipline on first launch
  • Markdown Table Support — Added TipTap Table extension; insert tables directly from the context menu
  • Markdown Parsing Fix — Fixed tiptap-markdown compatibility with TipTap v3; reopened files no longer display as plain text
  • Context Menu Fix — Fixed submenu disappearing when moving mouse toward it
  • Removed Old .timeline Feature — Manual timeline replaced by automatic study timeline

下载 / Downloads

  • Nexus_1.0.2_x64-setup.exe — Windows 安装包 / Windows Installer (NSIS)
  • Nexus_1.0.2_x64_en-US.msi — Windows 安装包 / Windows Installer (MSI)

v1.0.1

18 Mar 07:58

Choose a tag to compare

Nexus v1.0.1

中文(简体)

亮点更新

  • 新增 .paper 学术排版工作台:支持拖拽组装 Markdown 节点,一键编译 PDF。
  • 新增 Rust 异步编译管线:通过 Pandoc + XeLaTeX 静默编译,失败时返回可读错误日志。
  • 第三轮体积优化:工作区运行时改为懒加载,首屏加载更轻、更快。
  • 修复 Markdown 编辑器无法识别与插入表格的问题,GFM 表格语法现可正常解析显示。

已知问题

  • .paper PDF 编译依赖本机已安装 pandocxelatex;未安装时会提示安装指引。
  • 启动页右侧静态版本文案当前仍显示 0.1.0(不影响实际安装包版本,安装包已为 1.0.1)。
  • 首次启动时若 WebView 初始化较慢,主界面可能短暂空白 1-2 秒。

升级说明

  1. 关闭正在运行的旧版本 Nexus。
  2. 下载本页安装包并安装:
    • Nexus_1.0.1_x64-setup.exe(推荐)
    • Nexus_1.0.1_x64_en-US.msi
  3. 默认可直接覆盖安装,已有 Vault 数据不会被打包流程覆盖。
  4. 若要使用 .paper 一键编译,请确认系统已安装 Pandoc 与 XeLaTeX。

English

Highlights

  • Added .paper academic publishing studio with drag-and-drop section assembly and one-click PDF build.
  • Added Rust async compile pipeline using Pandoc + XeLaTeX with readable error diagnostics.
  • Third-round bundle optimization: workspace runtime is now lazy-loaded to reduce startup payload.
  • Fixed Markdown editor table parsing and insertion so GFM tables now render correctly.

Known Issues

  • .paper PDF compilation requires pandoc and xelatex to be installed locally.
  • The static startup-page version label may still show 0.1.0 (actual packaged release version is 1.0.1).
  • On first launch, the UI may appear blank for 1-2 seconds while WebView initializes.

Upgrade Guide

  1. Close any running older Nexus instance.
  2. Download and install one of the artifacts:
    • Nexus_1.0.1_x64-setup.exe (recommended)
    • Nexus_1.0.1_x64_en-US.msi
  3. In-place upgrade is supported; existing Vault data is not overwritten by packaging.
  4. To use .paper one-click compilation, install Pandoc and XeLaTeX on your system.

v1.0.0

17 Mar 10:15

Choose a tag to compare

Nexus v1.0.0

首个正式稳定版发布,当前提供 Windows 安装包。

下载

  • Nexus_1.0.0_x64-setup.exe

主要更新(中文)

  • 新增并完善 TRUTH_SYSTEM 看板(等级、EXP、属性雷达)
  • 时间轴能力增强:事件解析/校验与差异计算下沉到 Rust
  • 文件树构建与部分计算逻辑下沉 Rust,降低前端负载
  • 搜索链路优化:语义检索避免每次全量拉取 embedding,并升级 FTS 能力
  • 前端结构重构:App.tsx 职责拆分、设置页功能实装、下拉与主题适配优化
  • 全局主题系统完善:深色/浅色模式统一覆盖(含设置页、看板与主要界面)
  • 命令与数据库层模块化:commands/shared/services/db/* 结构优化

Highlights (English)

  • Added and polished TRUTH_SYSTEM dashboard (level, EXP, attribute radar)
  • Timeline parsing/validation and diff computation moved to Rust
  • File-tree building and compute-heavy flows moved to Rust to reduce frontend load
  • Search pipeline improved: avoid full embedding fetch on each query; upgraded FTS capability
  • Frontend refactor: App.tsx decomposition, functional settings actions, dropdown/theme adaptation fixes
  • Unified light/dark theme coverage across settings, dashboard, and core views
  • Backend modularization across commands/, shared/, services/, and db/*

校验信息

  • SHA256 (Nexus_1.0.0_x64-setup.exe):
    B03A07AFC07615F004F9C5BDDAF579279BFC0F69EF176D968BE71C74ACC6C2E5

说明

  • 当前 Release 以 Windows 包为主;macOS .dmg 将在 Mac 环境完成验证后发布。