github lattice-writer/lattice v0.20.6
Lattice v0.20.6

58 minutes ago

Highlights since 0.20.5

  • Every figure and table of the paper, in one panel. In the native Lattice, a new Floats panel lists the manuscript's labelled figures and tables under Figures and Tables tabs, in the order the document reads them: a float from a chapter \input halfway down main.tex sits between the main file's own floats, because the list follows the outline's own include walk. Each row shows its kind, label and a shortened caption, and the section it sits in once the panel is wide enough; the filter narrows the list by label or by caption alone, and says so when nothing matches. Hovering a row draws the same \ref{} preview card the editor draws, a right-click copies the label or \ref{label}, a click writes \ref{label} at the caret in the source, and a row dragged onto a LaTeX source writes it where you drop it, with the editor's drop caret drawn as it does for a dragged paper and one Undo taking it back. The panel opens beside the document from the command palette's Floats entry (⌘K, keywords Figures / tables / labels), and each window remembers the tab it was left on. Dragging onto a .tex file's Visual page does nothing yet, because the page's WebView takes the pointer before the app sees the drag; a click inserts there. (#1455)
  • A tab strip that stays navigable, and an optional cap on open tabs. In the native Lattice, a thin bar now sits over a panel's tabs and its thumb is what dragging moves; a middle-button drag pans the strip anywhere on it, and letting go or Escape ends the pan. A wheel over the strip scrolls its tabs sideways while the editor keeps its vertical wheel, and a strip that already fits does nothing instead of taking the gesture. A chevron appears once the tabs run past the strip's edge by more than its own button and the gap in front of it, and it lists every tab of the panel with the one in front checked, each with its folder when another file shares its name, and it takes the arrows, Home, End and Enter. Every selection change scrolls the selected tab into view. Settings › Appearance › Open tabs then holds a window to No limit (what a fresh install has), 5, 10, 15, 20 or Custom, a 2–40 slider; past the cap a document tab closes, and it is the least recently used one: never a pinned tab, never the tab in front of a panel, never one with unsaved changes, never a root .tex. A window whose every tab is one of those keeps them all rather than drop a word and says nothing, and the close is an ordinary close, so ⌘⇧T brings the tab back. (#1461)
  • A native CLI in Lattice's terminal can use Lattice's own tools. Lattice now speaks MCP to the claude, codex or agy you run in its terminal, with nothing on the network: a Unix socket in the app, a small bridge program the CLI launches, and one list of tools. It is off until you turn on Settings › Agent › MCP host, which asks first, in the app's own dialog, with the write scope in plain words; the page then shows this session's socket and the claude mcp add lattice -- … command that registers the app, with a Copy button, so the path and token are copied rather than typed. A client gets the open project's files, the document in front with its path, text and caret, what you have selected and the lines it spans, the last build's diagnostics, the compiled PDF's page and page count, and the bibliography the Agent's panel already verifies, and it can write a text file in the project or put the caret on a line so you see what it is talking about. A path outside the project is refused, and so is a .. that would leave it; the .bib is not writable, so entries still go in through the verified citation tools; one client connects at a time; and every call is written to Lattice's log with its tool — and, for a write or a reveal, the path it touched — which the same page opens. There is no tool for a figure, a slide, the board or Overleaf, and no way to reach another project. The host runs where Lattice has Unix sockets (macOS and Linux); on Windows the page says so with the switch off. (#1459)

Notable fixes

  • Commit & push no longer needs an AI provider. In the native Lattice, Commit & push resolved a generated commit message before it ran git and failed the whole action there when no provider was connected, so nothing was committed; it now commits with a plain message, and when something does fail it names the real reason instead of "Git action failed" over nothing. (#1463)
  • A task's reasoning effort and speed now reach the Agent in the native Lattice. Compile repair, Proofreading and Git writing each take their own reasoning effort and speed in Settings › Agent › Providers, with Model default leaving the model's own setting and a row that says so when the chosen model has no such choice. The rows shipped in 0.20.5, but the settings the app sends carried a task's provider options as an unknown field that the RPC's JSON codec encoded as null, so every pick went out empty, the server stored nothing, and the row read Model default again a moment later. The options now travel intact, and changing only an effort or a speed keeps the task's model instead of resetting it. Synara 1.7.0 also brings shortcuts that jump to an open chat tab by its position, generated titles capped to a word count under Settings › Behavior, and the idle runtime limit under the lattice profile. (#1457)
  • A Git failure in a Chinese interface says what failed, in Chinese. In the native Lattice running in Simplified Chinese, a failed commit, push, branch creation or pull request now titles its notification 提交失败, 推送失败, 分支创建失败, PR 创建失败 or Git 操作失败 instead of the English title over a Chinese reason. Settings inside the Agent panel also stops latching a mostly vertical wheel gesture to something that only scrolls sideways, so the page moves for the whole gesture, and the first arrow key after a select opens now moves the list instead of doing nothing. (#1457)
  • The Agent, Git and Settings pages' own log lines now reach the log file. In the native Lattice, a line those pages write themselves goes into the app's log — the one Settings › Logs › Open log folder and the support bundle read — where before every one was refused, so a report from one of those pages arrived with nothing behind the message. (#1462)
  • A PDF tab's menu speaks the writer's language and knows its file. In the native Lattice, right-clicking a PDF's tab gave a menu in English in a Chinese interface, and nothing about the PDF itself. Every tab's menu is now drawn in the app's language, and a PDF's tab carries Show in Finder, Copy path and Copy relative path, acting on the path the viewer actually loaded: the build's PDF beside its document, or another root document's kept copy under the build folder. Before a build has left a PDF there, the rows are drawn off with "No PDF yet" under the pointer instead of revealing nothing. A document's own tab keeps exactly the rows it had. (#1458)
  • A note is readable before you point at it. In the native Lattice, a note's resting wash was the highlighter's amber at 14%, legible only once the pointer lit it, so a placed note read as unplaced. It is now 22%, and the hovered mark still lands at 39.2%, so hovering adds to the mark instead of doubling it. A PDF note's band draws its rule at 1.5px as the Tauri app and the source editor's own mark do, and on a dark page the marks, bands and pins take the dark-page inks the Tauri app uses instead of the light theme's amber, which reads at 30 levels of contrast instead of 19. (#1460)

Thanks

  • @FredrikKarlssonSpeech for asking for easy access to a manuscript's figures and tables (#1449).
  • @moneuron for the Git failure report whose last half lands here, in the writer's own language (#1450).
  • @wchen99998 for pointing Lattice at exposing itself as a local MCP server for native CLIs (#1454).

Changes in v0.20.6

  • Floats panel: the manuscript's figures and tables, preview, copy and drag-insert (#1455) (47dc9685)
  • Pin Synara 1.7.0: per-task effort and speed, the settings fixes, and zh-CN Git titles (#1457) (52184a8f)
  • MCP host: Lattice's workspace tools over a local socket, for native CLIs (#1459) (71ac4592)
  • PDF tab menu: the writer's language, and its file in Finder (#1458) (d4b60e67)
  • A note's resting wash reads at 22%, and a dark page keeps its own inks (#1460) (634c11e2)
  • Tab strip: a bar to drag, every tab in a list, and an optional cap (#1461) (b906f085)
  • Agent surface: the page's own log lines reach the app log (#1462) (66a019f4)
  • Pin Synara b6b30195d: Commit and push without an AI provider (#1463) (384827a1)

Install (Apple silicon Mac)

Download Lattice-native_*_aarch64.dmg below (the native app, which
every Mac runs from 0.20.0), open it, and drag Lattice to Applications.

Lattice is signed with an Apple Developer ID and notarized by Apple.

Already running Lattice? It updates itself automatically — no need to
re-download.

Full Changelog: v0.20.5...v0.20.6

Install (Linux, experimental)

Download the .AppImage below, make it executable
(chmod +x Lattice_*.AppImage), and run it. It needs an x86_64
distribution at least as new as Ubuntu 22.04 (tested on Ubuntu
22.04, 24.04 and 26.04 and Fedora 45), and your own TeX Live from the
distribution's packages. If FUSE 2 is missing, run it with
--appimage-extract-and-run.

On Linux, Lattice does not update itself — download each new release
here — and the built-in Agent is not available yet.

Don't miss a new lattice release

NewReleases is sending notifications on new releases.