Skip to content

Hortus 0.3.0

Choose a tag to compare

@groundgrounder groundgrounder released this 18 Nov 10:38
· 51 commits to main since this release

Hortus 0.3.0

Hortus 0.3.0 completes the agent safety loop with diff review and rollback, and adds a built-in Settings window with read-only agent CLI discovery.

  • Changes panel and session diff review. Inspect additions, edits, deletions, renames, binary updates, and line-level hunks for the selected agent session or across the vault by comparing the live vault against the pre-launch snapshot.
  • Granular rollback and snapshot cleanup. Roll back a single hunk, one file, or an entire agent session. Rollback verifies current file digests against the expected state before writing, restores file permissions and timestamps, and lets you remove finished session snapshots from History.
  • Built-in Settings (⌘,). Configure General preferences, Terminal font family and size (with Nerd Font glyph fallback), the agent executable and argument template, and the built-in agent guide (with custom override and reset). Settings sync with config.toml while preserving comments and external edits.
  • Agent CLI auto-discovery and login PATH launch. Scan common macOS directories plus your login shell PATH for installed agent CLIs (omp, codex, claude, gemini, opencode, aider, goose) without launching any target binary, fill the detected executable and argument template with one click, and forward the enriched PATH when starting agents from Finder or Dock.
  • Mermaid and view lifecycle cleanup. Refactored the Mermaid flowchart/mindmap layout modules and shared note view lifecycle teardown for consistency and maintainability.

Hortus 0.3.0 takes 16.9 MiB on disk, shows a note about 1.4 s after launch, and uses about 144 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.3.0

Hortus 0.3.0 补齐了 agent 安全写入的审阅与回滚闭环,并加入内置设置窗口与只读 agent CLI 自动发现。

  • Changes 面板与会话 diff 审阅。 基于启动前全库快照对比当前笔记库,在面板内按场次或全库查看新增、修改、删除、重命名、二进制变更以及行级 hunk diff。
  • 细粒度回滚与快照清理。 支持按单个 hunk、单文件或整场会话安全回滚。写入前校验当前文件摘要,还原权限与时间戳,并在遇到不可回滚或只读父目录等边界时安全处理;已结束的会话可在 History 中删除旧快照。
  • 内置设置窗口(⌘,)。 分通用、终端与 Agent 三个标签配置外观/行为、终端字体与字号(支持 Nerd Font 字符回退)、agent 可执行文件与参数模板,以及内置 agent 指南的覆盖与恢复;设置变更与 config.toml 双向同步,保留注释与手工配置项。
  • Agent CLI 自动发现与登录 PATH 启动。 结合系统进程 PATH、登录 shell PATH 与常见 macOS 安装目录,在不执行目标程序的前提下检测已安装的 agent(支持 omp、codex、claude、gemini、opencode、aider、goose)并一键填入,同时在从 Finder/Dock 启动 agent 时转发补强后的 PATH。
  • Mermaid 引擎与正文视图结构整理。 拆分 Mermaid 流程图/树图布局模块与解析原语,并统一正文阅读/编辑视图的切换与清理生命周期。

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