Repository navigation
v1.12.0
This release makes tldraw offline lighter and easier to drive: builds are smaller across every OS, and each file now carries tldraw's full menu right in the canvas. Agents can create new documents through the local API, Pi joins the supported agent tools, and more.
What’s New?
Smaller builds
The build size for every OS has been reduced by at least 90 MB. For macOS the releases now include per-architecture DMGs (Apple Silicon arm64 and Intel x64) alongside the universal build, cutting the macOS build size in half vs the universal build.
In-file menus
Desktop window and document actions are now available without leaving the canvas. Each file now has a menu on the canvas bringing tldraw's normal menu items along with desktop-specific File and Develop submenus.
Agents creating documents from the canvas API
A new POST /api/docs/create endpoint creates a named .tldraw file, opens it in a new window, and saves it to disk immediately so an agent can start on a fresh canvas rather than being limited to documents that are already open. It returns the new document's id, documentId, filePath, name, and windowId, so the caller can go straight to /api/doc/:id/exec without re-discovering the document.
Pi agent skill support
Pi joins Claude Code, Codex, Cursor, and Gemini as an install target for the tldraw offline agent skill, installed to ~/.pi/agent/skills/tldraw-offline/SKILL.md.
Improvements
- Store user preferences (snap mode, grid, tool lock, locale, color scheme) app-wide rather than per-document, so a preference set in one window applies everywhere and survives a relaunch. Preferences previously kept in the renderer reset to defaults once during this upgrade.
- Install agent skills only for agent tools you actually have. Previously "Install Agent Skills" created
~/.codex,~/.cursor, and~/.geminidirectories on machines that had never run those tools, and reported them as installed. Hosts are now detected by their existing config directory, and adding a tool later is picked up on the next install or sync.
Bug Fixes
- Fix typed characters triggering menu commands while editing text on macOS: typing
<or>in a text box rotated the shape and!zoomed the canvas. Menu accelerators that are plain typed characters are now removed from the application menu whenever the canvas loses focus. - Fix preferences toggled from the in-canvas main menu doing nothing — the menu closed and the setting never changed.
- Fix the Developer Tools keyboard shortcut doing nothing in the packaged app, and stop the same handler from swallowing Reload (
Cmd/Ctrl+R) and Zoom Out (Cmd+-). - Start the updater before the rest of app initialization, so updates remain available even when ordinary startup fails. Manual Check for Updates… answers as soon as menus exist, and a non-critical startup failure no longer takes the updater down with it.
- Fix the Home screen failing to initialize on machines with Pi installed.
- Fix installed agent skills on Windows writing backslash paths into commands that run under a POSIX shell, and
%APPDATA%references that never expand there. Existing broken Windows installs self-heal on update. - Fix the Linux AppImage build failing after the electron-builder bump, by setting an explicit executable name.