Skip to content

Hortus 0.4.0

Choose a tag to compare

@groundgrounder groundgrounder released this 22 Nov 18:33
· 19 commits to main since this release

Hortus 0.4.0

Hortus 0.4.0 adds vault file management, a full knowledge graph (Backlinks, Tags, clickable wikilinks, [[ completion, rename link updates, and read-only JSON CLI commands), Mermaid sequence and state diagrams, and diagram source-linking with Focus Mode.

  • Knowledge UI & safe rename link updates. Click [[wikilinks]] (including heading anchors) and #tags directly in reading view, ⌘-click links or type [[ for native single-undo completion in editing view, inspect incoming references in the Backlinks panel (including Mermaid node links and embeds), and filter hierarchical #tags in the Tags panel. Renaming a note previews affected files and atomically rewrites references across the vault while protecting unsaved tabs.
  • Read-only JSON CLI for agents and scripts. Query any vault offline with hortus search, backlinks, links, tags, outline, orphans, broken-links, and hortus mermaid check / render, backed by a shared in-memory link and tag index.
  • In-app file management. Create notes and folders, rename files, and move items to Trash from the Files sidebar or menu, synchronizing open tabs, undo history, session restoration, and recovery drafts across windows.
  • Mermaid sequence and state diagrams. Native Rust parsing, adaptive layout, orthogonal routing, and Core Text / Core Graphics rendering for sequenceDiagram (participants, control blocks, notes, activations, bottom mirrored headers on tall diagrams) and stateDiagram-v2 / stateDiagram (start/end, composite states, concurrent regions, fork/join, choice, notes, bidirectional and self-loop transitions).
  • Diagram source-linking & Focus Mode (⇧⌘D). Bidirectional cursor-to-diagram highlighting and ⌘-click / context-menu jump to source without relayout, plus a full-editor Focus Mode with 25%–400% vector zoom, pan, minimap, ⌘F node search (with hidden-match expansion), and cached per-diagram viewports.
  • Stability & cross-feature hardening. Unified CommonMark fence/comment parsing in link indexing, live reading-view snapshot sync, undo-preserving renames, safer trash ordering, Focus Mode lifecycle cleanup, and lock poison recovery.

Hortus 0.4.0 takes 18.0 MiB on disk, shows a note about 0.8 s after launch, and uses about 150 MiB of memory with the demo diagram open, as one process. Figures are medians of five runs on an Apple M3 MacBook Air with macOS 27.2.1. Requires macOS 27 or later on Apple Silicon. This build is ad-hoc signed, so macOS asks you to approve the first launch; the README has the steps.


Hortus 0.4.0

Hortus 0.4.0 新增库内文件管理、完整知识图谱(反链/标签面板、可点击双链、[[ 原生补全、重命名同步改链与只读 JSON CLI)、Mermaid 时序图与状态图原生渲染,以及图表源码双向定位与专注模式。

  • 知识图谱界面与重命名安全改链。 阅读视图直接点击 [[双链]](含标题定位)与 #标签,编辑视图支持 ⌘ 点击跳转与 [[ 原生单步可撤销补全;新增可停靠的反链面板(含 Mermaid 节点与嵌入引用)与层级标签面板。重命名笔记时预览受影响文件并原子更新库内引用,同时保护未保存标签页。
  • 面向 Agent 与脚本的只读 JSON CLI。 基于共享内存图谱索引,新增 hortus search、backlinks、links、tags、outline、orphans、broken-links 与 hortus mermaid check / render,全部离线输出结构化 JSON。
  • 库内文件管理。 支持在文件树或菜单中直接新建笔记/文件夹、重命名与移到废纸篓,自动跨窗口同步标签页、撤销历史、会话恢复与未保存草稿。
  • 原生 Mermaid 时序图与状态图。 在 Rust 内核与原生矢量绘制管线中新增 sequenceDiagram(参与者、控制块、注释、激活条及长图底部镜像表头)与 stateDiagram-v2 / stateDiagram(起止状态、复合状态、并发区域、fork/join、choice、注释及双向/自环转换)。
  • 图表源码双向定位与专注模式(⇧⌘D)。 支持源码光标与图元双向高亮、⌘ 点击或右键无重排跳回源码;专注模式提供 25%–400% 矢量缩放、平移、小地图、⌘F 节点搜索(自动展开折叠命中)并按图表缓存视口。
  • 跨功能稳定性加固。 统一 CommonMark 围栏与注释在链接索引中的解析,加固阅读视图快照同步、重命名撤销保护、移到废纸篓安全顺序、专注模式生命周期与锁中毒恢复。

Hortus 0.4.0 安装占用 18.0 MiB,启动后约 0.8 秒显示笔记,打开演示大图时只有一个进程、内存约 150 MiB。数字均为 Apple M3 MacBook Air、macOS 27.2.1 上五次测量的中位数。需要 macOS 27 或更高版本、Apple 芯片。这个版本使用 ad-hoc 签名,第一次打开时 macOS 会请你确认,步骤见 README。