Skip to content

Releases

v0.22.3

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:51

Added

  • Use Antigravity CLI (agy) as a coding agent beside Claude Code, Codex, Gemini CLI, and omp.
  • Add Pairdraw’s MCP server to agy from Settings → MCP → Other apps.

Fixed

  • After you add an OpenAI- or Anthropic-compatible provider in Settings, sending a prompt starts a chat instead of opening AI setup again: the new model becomes the design model when no usable one is chosen yet, and the empty starter model leaves the model list.

v0.22.2

Choose a tag to compare

@github-actions github-actions released this 04 Dec 11:07

Added

  • An agent working on the canvas shows what it is doing: its cursor drifts gently and its label names the step while it thinks or waits on a tool, so a session no longer looks stuck.
  • A page an agent builds while its reply streams moves into place: new elements rise, the element being written pulses, and the finished frame catches one sheen, without changing the committed document.
  • Choose the design model or coding agent from the Home prompt composer before starting a design.

Changed

  • The built-in skills are now one per area: frontend-design, design-system, brand, emil-design-eng, break-ui, learn-taste, and mobile-native. The overlapping page, banner, slide, logo, and animation skills are gone.

Performance

  • Long agent replies stream without redrawing the composer or finished reasoning blocks.

v0.22.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 17:01

Fixed

  • Pairdraw now updates its installed MCP server, CLI, and Harness companions with the app, retrying automatically when the first attempt fails, and when Pairdraw restarts it replaces an MCP server left running by the previous version, so Settings no longer asks you to install a matching version by hand and the server that matches the app answers again.
  • Shell commands in agent chat steps keep their exact text, stay monospaced, and no longer push the step card past the chat column.
  • Pairdraw no longer freezes in short bursts while an AI agent streams a long reply or loads fonts for new text: each reply updates in small batches instead of once per token, and reasoning that stays folded no longer builds and lays out its text.

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 07:56

This release makes agent work easier to follow and keep: real provider marks appear on every AI surface, a layer takes a Markdown annotation, and pasting code creates editable layers. Grid and auto layout gain cell alignment, spans, wrap alignment, and first-on-top stacking; more values bind to variables; slices become their own layer type; .pen saves carry more of a file; boolean flattens and image exports draw what Figma does; and the editor and Home take the refined interface.

Added

  • Add an annotation to a layer with a Markdown note and a category, and see annotation dots and measurements on the canvas from View › Annotations.
  • Paste React or JSX source with Tailwind classes or inline styles, and HTML with CSS, as editable layers: flex and grid become auto layout, text keeps its runs, and colours and numbers bind to the document's variables when exactly one holds the pasted value. Components the source does not define become named frames, expressions that need their caller become placeholder text, one toast counts both, and a paste past the size it reads is refused instead of pasted as text. import_code over MCP and pairdraw import read the same source into layers without running it, and the canvas menu's Paste as code and Paste as text force either result.
  • A colour variable binds a drop or inner shadow's colour, while number variables bind a shadow's radius, spread, or offset, a layout grid's count, gutter, offset, or section size, and the grid gap and paragraph spacing and indent fields in the properties panel. get_css reads a paint's alpha and profile, and set_fill takes a CSS gradient string from it — linear-gradient(<angle>deg, …) or diamond-gradient(…) — keeping its stops; a tagged alias survives reopening and shows as bound in Figma.
  • export_image and browser screenshots return an MCP image content block with a text summary, so vision-capable MCP clients can see the picture; a path argument still writes the file instead.
  • set_text_range_style sets line height, letter spacing, letter case, or decoration on a text range, set_layout sets wrapped content alignment and first-on-top stacking, set_minmax removes a size limit by taking null, and get_node returns character and paragraph runs with include_text_runs.
  • Picking a boolean operation with a boolean group selected changes that group in place, keeping its children, instead of wrapping it in another boolean; the menu marks the group's current operation.
  • Combine as variants from the canvas context menu, the command palette, or the Design panel header turns selected sibling components into one variant set in one undo step, and plain component names become Property 1 values named after each component, as Figma does.
  • A component or component set has an editable description and one documentation link in the Design panel; an instance shows its main component's description read-only, and component proxies expose description, descriptionMarkdown, and documentationLinks.
  • A layer's fill, stroke, or effect can be saved as a shared style from its section's create action, and a frame's layout grids as a shared grid style from the Layout grids section; every selected layer that supports it binds the style in one undo step. A shared style's name, description, and values can be edited from its picker, so linked layers, including instance children, update while detached layers stay untouched.
  • A layer inside a grid auto layout can take a column or row start, a column or row span, and horizontal or vertical alignment within its cell from the Design panel, kept through save and reopen.
  • An auto layout frame offers wrapped content alignment, first-on-top canvas stacking, and an Absolute position toggle for its children; a size control adds a minimum or maximum at the layer's current size, and Alt while dragging a resize handle resizes from the centre while Ctrl or Command keeps children where they are instead of placing them by their constraints.
  • Noise fills draw their grain on shapes; text and lines keep the flat colour.
  • Saving a document opened from a .pen file writes it back in that format, and Save As can choose either a .fig or a .pen file; anything the Pencil.dev format cannot hold is reported.
  • Slices are their own layer type: S draws one, it round-trips through .fig with its export settings, the layer list marks it, and SVG, PDF, and PNG exports render the page region beneath its box. A slice takes no layers and never appears in design, DOM, Tailwind, or JSX exports.
  • Prototype transitions play and export every easing Figma offers — the Back bezier presets, the four spring presets, and custom bezier or spring curves — and interactions can set a variable, change a collection's mode, or branch on a condition with if, else-if, and else, played in place and exported as video without changing the document.
  • A Figma file the reader could only partly use now says what it skipped: pairdraw info and MCP open_file report the diagnostics, the CLI and MCP reports name the components whose records could not be read and why, and the app shows one notice after opening. A healthy file shows no notice, and an agent-opened file gets the diagnostics without it.
  • A layer inside an instance resets its own changes to the component without clearing the rest of the instance, the properties panel marks a row whose value an instance overrides and resets just that property, and agents can reset individual overridden properties using the property panel's field names.
  • Holding Option (Alt) with nothing hovered measures the selection against its frame's edges, and a spacing field for auto layout padding or gap shows every padding area and the gaps between children with their values while it is hovered or edited, and the bands leave when the selection or tool changes.
  • View › Layout Grids hides every layout grid at once with Ctrl+Shift+4 (Control+G on macOS), carrying the choice across tabs and sessions without changing any frame.
  • The CLI's MP4 and WebM export takes the ffmpeg binary from PAIRDRAW_FFMPEG when it is set, falling back to ffmpeg on the path.

Changed

  • The editor and Home take the refined interface: layered panel surfaces, consistent 14/8/6px corners across cards, fields, and chips, quieter section titles, Instrument Sans, and island-shaped document tabs, tool rail, and zoom control with hover-only resize seams. Home splits into a prompt, import tiles, and recent files on the dotted workspace; its kind chips and import tiles use the compact Home sizing, and Recent groups search, sort, grid or list, Open, and Design in one compact header, with cards at least 300px wide — so mid-size windows show two instead of three — that show a real preview when one exists and a styled placeholder otherwise. Disabled Send buttons keep readable contrast.
  • Every AI the app names wears the real mark of the coding agent or model that answers — the top bar, chat header and typing state, canvas cursor labels, presence lists, and Home's prompt — staying neutral until a provider is configured. While a coding agent works, its mark and live dot appear in the Following toggle and Layers panel, the top-bar chat button shows the live dot, and the composer is an 8px inset-ring field with agent-tinted status. A reply refused for lack of credit offers the provider settings, and a rate-limit notice shows the wait and holds Retry until it passes.
  • The built-in design skills ship verbatim from their upstream authors — Anthropic frontend-design, Impeccable, design-taste-frontend, the ui-ux-pro-max set, and Emil Kowalski's motion and interaction skills — each with its source commit and license.
  • The Code panel says it is updating until the code's preview lands, and shows Up to date again when the code is cleared.
  • A text layer whose characters a range styles differently shows Mixed in the typography panel instead of the first character's value; applying a change to the layer still clears that value from every run.
  • HTML import keeps a CSS grid container as a grid, with its column and row tracks, gaps, and a child's span, instead of stacking its content.

Fixed

  • Flattening a boolean outlines its result into a vector instead of leaving the boolean unchanged, and flattening a container merges its visible children with the topmost child's fills; a mask shapes the merged outline without adding paint, and a layer flattened outside a container keeps its strokes, effects, opacity, and blend mode.
  • A layer replaced or edited inside an instance or slot keeps its change when the file is saved and reopened, a file from before slot content stopped counting as an override no longer shows a reset action that would do nothing, and reading a file that names one slot frame from more than one instance keeps the first owner instead of opening two owners.
  • A style saved to a .fig file keeps its description and publish flag.
  • A constrained child stops at its own minimum or maximum width and height when resizing the parent would push it past them.
  • HTML and JSX imported outside a browser apply Tailwind utilities with arbitrary values such as w-[1024px] and bg-[#4F46E5]; a tiled or cropped image fill keeps its placement and crop in HTML, JSX, Tailwind, and SVG export, a cropped rotation with no crop transform no longer turns, and pattern fills anchor their tiles at START, CENTER, and END and wrap them across the layer's edges.
  • Saving a .pen file names the frames whose layout grids or tiled image fills it could not keep and the layers whose resize constraints it cannot hold, instead of leaving them out or silently returning them to defaults, and keeps the fields an instance overrides, an ellipse's inner radius and angles, a polygon's point count, and a frame that does not lay out its children.
  • A canvas that cannot start says why and offers Try again instead of a blank page, Space pans after the pointer pressed a toolbar ...
Read more

v0.21.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 06:20

Added

  • Saving or exporting a file now lists what the chosen format could not hold, once the save has succeeded: a draw.io file names the variables it does not carry — “draw.io has no variables: 1 variable in 1 collection (Brand) not written.” — and a Pencil.dev file lists the pages merged into the first one plus the content it cannot carry: noise and texture effects, image adjustment filters, scroll overflow, and OpenType features.

Fixed

  • A profile a person named “Design model” keeps its name when settings load; only the migrated default profile is renamed by the interface language.
  • Copy as SVG, PNG, JSX, or HTML now says “Could not copy: Nothing to copy” when the selection draws nothing, instead of doing nothing.
  • Enter right after a value field's completion list opens now accepts the highlighted reference instead of doing nothing.
  • The Indonesian interface says “Ekstra”, “Alur”, “Ruang sekeliling”, “Pewarnaan”, and “Token Bearer” instead of leaving those labels in English.
  • Shortcut labels off macOS name their key as the platform does — “Backspace”, “Tab”, “Enter”, “PageUp”, “PageDown” — instead of showing the macOS glyph.
  • The Vertex AI project field shows one message when it needs a project, instead of the same sentence as both its hint and its error.

Performance

  • Compiled shader effects live in a bounded cache that releases them, so a long session no longer keeps every effect's GPU resource and a paint whose effect was evicted recompiles instead of drawing a deleted effect.

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 14:17

This release sharpens what the canvas shows and what an agent costs: the shader gallery grows to 21 complete shaders
that only paint while they are on screen, Display P3 documents draw and blend in their own profile and keep it in PNG,
SVG, CSS, Tailwind, JSX, and token exports, agents read a subtree as compact CSS-like lines instead of JSX, and a reply
shows the frames it changed. In the Comment tool you can circle an area and let the agent fix what is circled,
pairdraw check reviews a pull request's design files in CI, and a saved .pen file keeps the document's design
memory, statuses, and image fills. The interface is translated into Indonesian, and the fixes below cover the canvas
staying put when the panels beside it hide, variable deletion, layer names, and idle cost.

Added

  • Draw a ring around an area in the Comment tool instead of clicking, write a note, and Fix with agent sends that area, the layers inside it and a crop of it to the agent, which fixes what is circled, replies and resolves the comment.
  • A reply that changes frames shows them under its text as small before and after renders, with narrower renders for frames that reflow; each one opens its frame on the page.
  • get_css reads a node subtree as compact CSS-like lines — flex:row;gap:12px;padding:16px 24px;bg:var(--color/brand, #4F46E5);radius:8px, text as font:600 14px/20px Inter — with lengths in px and a max_bytes budget, so an agent reads only what a task needs: on the same five agent tasks it costs 44.6% fewer bytes than get_jsx and 78.5% fewer than describe/get_node. It writes a colour in the document's profile, as get_jsx does (#RRGGBB in an sRGB document, color(display-p3 …) in a Display P3 one, inside the var(--token, …) fallback too).
  • set_layout takes padding and gap as CSS shorthand ("16px 24px", "12px 4px"), set_radius takes "12px 12px 4px 0", and set_fill takes a token name ("var(--color/brand)"), painting its value and binding the fill; a name two variables share is refused with both, never guessed.
  • A property bound to a variable deleted in its source file keeps that binding and shows a mark naming the variable and why it is gone.
  • The shader gallery offers 21 complete shaders, up from 9: liquid chrome, fluted glass, paper, god rays, thermal, Voronoi cells, deep water, smoke, neon pulse, grain wash, obsidian, and marble ink add to the Sunset, Northern lights, Retro screen, Halftone print, Dithered dusk, Glass orb, Marble, Neon grid, and Velvet presets.
  • A shader effect's gradient stops are edited as a list of colours and positions in the properties panel, and its shape is chosen from the shapes the library draws, instead of both being edited in the preset's JSON.
  • pairdraw check and the pairdraw-check GitHub Action check a pull request's .fig and .pen changes: frames rendered at several widths, token drift, and new design-memory findings, reported in one comment kept up to date.
  • set_reactions authors a Change to by naming a variant's properties, such as { State: "Hover" }, instead of its id, so an agent can build tabs and accordions that switch variants in one frame per state; a target that matches several variants is refused.
  • Imported HTML keeps each background picture's size, position, and repeat, paints stacked backgrounds in the order CSS gives them, and paints boxes in the page's z-index order with negative layers under their container's background.
  • The interface, desktop notifications, the Web Capture extension, and Pairdraw Cloud are translated into Indonesian (Bahasa Indonesia): the comment empty state reads as a full sentence, the prototype overflow select no longer clips its "No scrolling" choice, the Fix with agent rename is translated, and an unconfigured design model is named in Indonesian in the chat composer, profile menu, switch confirmation, guided setup and Settings › Models. A profile keeps the name a person gave it, including profiles older builds saved under the English name.
  • Added comparison pages for Paper, Figma, and pen.dev beside the Penpot comparison, each with checked sources, an honest list of what the other tool does better, and the import path that works today, and an "Open by design" page that states the no-account, no-seat, and no-MCP-cap rules, with setup for Claude Code, Codex, Cursor, and Pi.
  • useCanvas takes onViewportMove(dx, dy), called when a resize moves the canvas on screen, so a host can pan the view the other way and keep the drawing still.

Changed

  • A Display P3 document draws, blends, and exports in its own color profile: on a P3 display its colors look as designed, PNG exports keep the P3 profile, SVG, CSS, Tailwind, JSX, and token exports write its colors as they show, text fills keep their wide gamut, and sRGB documents draw exactly as before. The color picker, gradient and mesh editors, and eyedropper loupe preview the colour the canvas draws; the loupe and the picker's hex field read and take sRGB codes. A CSS or Tailwind token import keeps oklch() or color(display-p3 …) as that colour in a Display P3 document, exported tokens label its colours with its own profile, and vectorizing an image reads a colour that names its space into it. JPEG, WEBP, and PDF export write a Display P3 document in sRGB, the export panel says so, and a .pen file writes its colors as sRGB hex, the only form Pencil.dev holds.
  • The website's home page draws its frames as they enter, carries the agent cursor into the feature tabs while it streams tool calls, and shows its copy before the agent acts.

Fixed

  • Read a color that names its own space, such as color(display-p3 1 0 0), into the document's color profile wherever one is authored: pasted and placed SVG files, token imports, MCP tools, and colors written directly on a design JSX layer. A Display P3 document keeps the P3 numbers, and an sRGB document maps the color into sRGB by reducing chroma, as CSS does; CSS declarations from an imported stylesheet stay sRGB, as they are authored.
  • A saved .pen file keeps the libraries it imports, so instances of their components stay linked when the file reopens and keep the icon a layer inside one swaps in, and keeps the libraries the document enabled and the library it publishes as.
  • A variable or collection deleted in Figma leaves every variable list and token export, while layers bound to it still resolve it and .fig saves keep it deleted; a .pen write leaves out deleted variables and collections and stores the value a deleted binding resolved to; a .fig file whose variables include a type Pairdraw does not model, such as a paint variable, now opens and saves with those records intact.
  • A .pen file keeps the document's design memory (allowed values, decisions, pinned examples) and its status workflow with each layer's status, instead of losing them on save.
  • Saving a Pencil.dev (.pen) file embeds image fills and reports the content the format cannot hold — noise and texture effects, image adjustment filters, scroll overflow, OpenType features, and extra pages — instead of throwing or dropping it silently.
  • Deeply nested layers keep their names readable: the layers panel scrolls sideways to the selected layer, as in Figma, including when focus moves through the panel with the keyboard.
  • Pasting the same component from another document again reuses the component the first paste created, instead of adding a duplicate, and the same holds for component sets.
  • Hiding or showing the panels beside the canvas keeps the drawing where it is on screen instead of jumping by the panel's width.

Performance

  • Shaders play through WebGPU; without it the gallery shows each preset's palette and Shader Mode shows a note instead of playing. Preview plays a shader only while one of its layers is on screen, a shader that never changes keeps its still frame, moving the view away from every shader stops the frame loop, a hidden tab stops its shaders until it comes back, and a page plays at most 16 shaders at once. With motion turned off a shader shows its still frame, Shader Mode stops asking for frames while its clock is paused, and a shader written in code repaints only while it is visible on the current page.
  • A collaboration room stops rechecking its connection twice a second once its document has loaded, a voice call stops sampling audio levels while its tab is muted and alone in the call, a file opened through the browser is no longer polled for changes while its tab is hidden, and the cloud connection and invitation dialogs no longer tick a clock or wake the app while they are closed.
  • Laying out a frame no longer walks the layers inside a child that keeps its own size, so dragging a padding or spacing handle on a card of fixed sections costs the same however many layers those sections hold.
  • Layers without instance overrides share one empty override state instead of each holding two empty maps, which removes about 9 MB from a large document's memory use without changing any saved data.

Security

  • Markup imported from a webpage or written by an agent reaches the styling sandbox without event handlers, embedded documents, or executable links, so nothing it carries can run while its styles are measured.

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:12

This release makes Pairdraw a place where you and an agent design together under the same rules: a design memory the agent must follow, variations it can cook up for you to pick from, prompts and reviews you shape yourself, and a token meter that shows what each reply costs. Prototypes grow up — interactive components with hover/press/delay triggers, Smart animate, scrolling frames with fixed and sticky layers, and video export to MP4/GIF/WebM — and the everyday canvas gets the tools Figma users reach for: an eyedropper, document colors, on-canvas auto layout handles, image adjustments, noise and texture effects, OpenType features, replace-fonts, and push-to-main. Figma grid auto layout and draw.io connector routes survive a round trip. Under the hood, a large .fig opens faster, prepares each page once, and keeps fewer copies of each layer.

Breaking changes

  • ReadDocumentWarning from @pairdraw/core/io is now a discriminated union with unknown-variable, missing-image, and unknown-node arms beside unresolved-imports; code that switches exhaustively on kind or reads paths/reason without narrowing must handle the new arms.
  • In @pairdraw/scene-graph, a layer's empty lists and records, such as fills, effects, boundVariables, pluginData, and the lists in source, are one frozen value every layer shares. Give the field a new value, for example through updateNode, instead of writing into it; writing into it now throws a TypeError.

Added

  • Added on-canvas auto layout handles: drag a frame's padding or gap to change it. Shift moves by the large nudge; Alt edits the opposite side on the dragged axis, and Alt+Shift all four sides. Instances edit their own values as an override.
  • A document keeps a design memory that agents follow: the colors, fonts, font sizes, spacing, and corner radii they may use (the document's variables and styles plus values you allow), decisions written down, and frames pinned as examples. Create it from the Design panel with nothing selected, or learn it from a selected frame.
  • An agent's edit that brings in a color or font outside the design memory is undone, and the agent is told the nearest allowed values; so is a variable or style it creates or changes with such a value, or a change to the memory itself. Off-scale sizes, spacing, and radii go through with a warning. Your own edits, including CLI commands, are never undone: the Lint panel lists values outside the memory with a fix and Allow, pairdraw tool call and pairdraw eval warn, and pairdraw tool call --enforce-design-memory refuses.
  • Agents read the design memory with get_design_memory, check values with check_design_values, and write decisions down with record_design_decision; pairdraw design-memory prints it, and pairdraw.designMemory reads it in scripts.
  • The color picker lists the solid colors used on the current page, most used first, so a color already in the document is one click away.
  • The Eyedropper tool (I) and the color picker's eyedropper button pick any color shown on the canvas, with a loupe of the pixels under the pointer; Alt samples into the stroke, and Escape leaves without changing the selection.
  • Long AI chats compact themselves into a summary before the context window fills, instead of failing at the limit: automatically before a message or between a reply's steps, on demand with /compact (text after it says what to keep), and with Compact and retry when a request was too long; the transcript keeps every message with a divider that opens the summary, and Settings → AI can turn automatic compaction off.
  • A model assigned to Fast tasks names each conversation after its first reply and, when it is an API model, writes compaction summaries in place of the Design model; "Same as Design" and no model leave both as they were.
  • Settings → Prompts holds your own instructions for the AI: the Design agent's, added after Pairdraw's or in their place (the design JSX reference always follows), and the templates for design reviews, chat titles, and compaction summaries, with variable help, a sample preview, and Reset; a template with errors falls back to the built-in one, and text left as Pairdraw's keeps receiving its updates.
  • /review asks the Review model to review the selection or page, with attached images as references and optional focus text; its findings join the conversation as a review card with Fix these, and each AI edit's change preview offers Review this change.
  • Noise effects carry their grain in the scene graph and are edited in the effects panel: a mono, duo, or multi noise, its size, density, colour, and opacity.
  • Texture effects roughen a layer, with a grain size, a radius, and clipping to the layer's shape.
  • Design JSX gains noise() and texture() helpers, and JSX export writes both effects as those calls.
  • SVG export draws a noise as Figma's turbulence chain and a texture as Figma's displacement chain.
  • The canvas draws noise with Figma's measured grain statistics over cached tiles, and a texture displaces a layer's edges by its radius.
  • The text panel offers the OpenType features the selected font actually has — ligatures, tabular and oldstyle figures, fractions, small caps, ordinals, slashed zero, and the font's stylistic sets and character variants — as switches beside the variable font axes, which now have sliders as well as numeric fields. Figma's common ligature, contextual-alternates, and kerning switches stay visible, and the font's remaining features fold behind More font features.
  • set_text_properties and set_font_range take font_features, a tag-to-boolean map, so scripts and agents can set OpenType features on a whole text or a range. Scripts can also use pairdraw.setFontFeatures and pairdraw.setRangeFontFeatures, and read a text's set features through openTypeFeatures, as Figma's plugin API does.
  • Added check_responsive, which lays out a copy of a frame at several widths, such as phone, tablet, and desktop, and returns one render per width with the text overflow, layers outside the frame, and overlapping siblings found there, without changing the document.
  • The AI chat shows the tokens each reply spent and a running total for the conversation, with an estimated cost when the model's price is known; Settings › AI turns the meter off.
  • Open Figma frames with grid auto layout, keeping their rows, columns, gaps, and child placement when the file is saved again.
  • Image fills and strokes draw their exposure, contrast, saturation, temperature, tint, highlights, and shadows adjustments on the canvas and in exports, matching Figma's output; the highlight response is within one level of Figma on saturated colours. The image fill picker sets them with sliders, and a whole drag is one undo step.
  • Prototypes play interactive components: Change to switches an instance to another variant of its set, set once on the main component's variant, with While hovering, While pressing, Mouse enter, Mouse leave, On click, and After delay triggers, and interactions set on a layer inside a component run on the instance's copy of that layer; the Prototype section lists the variants and shows how many interactions an instance takes from its main component, and play never changes the document.
  • Frames take Overflow scrolling in the Prototype section. In play the wheel or a drag scrolls a clipping frame inside a screen, a screen longer than the window that scrolls fits across and pans through the rest, and Scroll to brings a layer into view, easing with Dissolve.
  • Figma files keep their interactive components, hover and press triggers, Scroll to, and scrolling frames through a round trip and play them; a Mouse enter or Mouse leave delay set in Pairdraw is not written to .fig yet. Agents set them with set_reactions and the overflow_direction of update_node and batch_update.
  • File › Export Prototype as Video… records a prototype as an MP4, GIF, or WebM file: from a start frame, following its After delay interactions and their Dissolve transitions on a clock of its own, so the video is the same every time, at a chosen size, frame rate, and maximum length. MP4 and WebM need a browser that encodes them with WebCodecs, which the desktop app has.
  • The CLI (pairdraw export -f mp4, gif, or webm) and the MCP export_video tool record the same video, with optional scripted clicks; from a file without the app, MP4 and WebM are encoded with ffmpeg when it is installed, and GIF works everywhere.
  • Push an instance's text, fill, size, visibility, and nested overrides to its main component, clearing them from the instance in one undo step.
  • Added Replace fonts, reachable from the missing-fonts warning and the font-family menu; list_fonts gains scope: "document" to report every face across the document with its missing state and layer count, and replace_fonts swaps fonts over MCP and scripts in one undoable step.
  • Added Position when scrolling for layers in a scrolling frame: Scroll with parent, Fixed, or Sticky. Play keeps fixed layers in place and sticks sticky ones to the frame's top or left edge, above the content that scrolls under them, and .fig files read and write the setting.
  • Pairdraw's documentation and landing page are published at https://pairdraw.dev.
  • Prototype interactions can Smart animate: on Navigate to and Change to, layers that share a name and place in both frames or variants move, resize, rotate, fade, and change corner radius and solid fill color, and the rest fade out or in, in Play and in exported videos. Figma files keep Smart animate through a round trip, and agents set it with set_reactions.
  • Dissolve and Smart animate take an easing (Ease out, Ease in, Ease in and out, or Linear) in the Prototype section, read from and written to .fig files.
  • pairdraw tokens --check and the token_drift tool compare the variables with a stylesheet, a project folder, or...
Read more

v0.19.2

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:15

Pairdraw 0.19.2 makes imported web pages and HTML match the page much more closely, lets tabs switch a component set's variants, adds Figma's headless UI object and hasMissingFont for scripts, makes one-page CLI commands load only that page, and fixes a long list of export, layout, text, component, chat, and desktop problems. Pairdraw 0.16.1 and later offer this release in the app.

Added

  • Tabs may bind their choice to a component set's variant property: the property's options must be the trigger words, preview switches the variant with the chosen trigger, and exported Reka tabs use those options and drive the variant attribute.
  • A script run headless gets Figma's UI object, so calls to figma.ui.postMessage, figma.showUI, and the rest do nothing instead of throwing on a missing figma.ui.
  • Text layers report hasMissingFont, which scripts read to tell when a face needs loading or is absent from the document.

Changed

  • HTML that Pairdraw puts on the clipboard for other apps, such as document editors and email, is the layout the import uses: grids come out as placed boxes and tables and list items as plain blocks, so it looks the same in a browser but keeps no table structure.
  • Every CLI command that works on one page takes --page with a page name or --page-id with its ID from pairdraw pages, but not both, and means the same with a file and with the running app.
  • The Behaviour section labels the two variant values a control draws as on and off, so a set whose values read like the value itself, such as Checked and Unchecked, is clear to set up.

Fixed

  • Undo keeps an agent's step with the document it edited, so opening another document while the agent is still working no longer puts that step in the opened document's history.
  • A layout pass the editor refuses, because frames nest deeper than the engine can lay out, no longer holds the layout nodes it had built.
  • A page refuses auto layout, which it cannot hold, so its layers keep the places the document gives them.
  • Imported web captures and Tailwind HTML keep a paragraph's styled words in one text layer, instead of splitting every span into a layer of its own.
  • Imported web captures keep words a page boxes one by one, as streaming chat replies do, in one paragraph instead of breaking each word at its own width.
  • Imported HTML and web captures lay a paragraph with boxed runs in it, such as inline code, out in wrapping lines instead of stacking each piece, and no longer turn a line break into an empty box.
  • Web captures draw icons a page paints through a CSS mask, as Iconify and Tailwind icon classes do, as the icon in its color instead of a solid square.
  • Imported HTML and web captures keep text that the page does not wrap on one line, clipped by its box, instead of breaking it inside a narrow box and losing the end of a label.
  • Imported HTML and web captures place flex items in their CSS order.
  • Imported HTML and web captures lay content out inside its box's border, as CSS does, instead of over it.
  • A web capture imported as HTML, through pairdraw import or the import_html tool, builds the same layers as pasting the capture.
  • Imported HTML shows the value or placeholder of a text field as its text.
  • Copying a page whose document has no body, such as a frameset page, captures its document root instead of failing with a missing-element error.
  • A chat answers with the model chosen while its connection was still loading, instead of keeping the previous model until the next change.
  • A CLI command that names a page the document lacks reports it in the same words for tree, find, query, and eval, where find and query used to return no matches instead.
  • pairdraw export --page no longer ignores --page-id, and the app applies --page-id to tree, find, and query instead of dropping it before the command runs.
  • A page-scoped .fig save renders the Cover page's thumbnail, which it used to replace with the placeholder when the cover was not loaded.
  • Imported HTML picks a concrete family from a CSS font stack, so a stack that starts with ui-monospace, system-ui, or another generic keyword draws a mono or sans face instead of falling back to Inter.
  • pairdraw node --json and the get_node tool report per-corner radii when they differ, isMask/maskType, and a boolean layer’s booleanOperation, which the document already held, and still leave those fields out for a plain layer.
  • Style lint accepts a layer linked to a shared effect or text style, so it no longer reports typography and shadows that already use a shared preset.
  • Text on a path keeps its path when the Scale tool scales it, so it no longer falls back to one flat line.
  • How far a fixed-size text's lines reach scales with the layer when the Scale tool scales it, so lines that overflow its box stay drawn.
  • Separate messages from a coding agent show as separate paragraphs in the chat instead of running together.
  • A finished chat reply keeps its Markdown in place instead of fading the whole text in again.
  • Interface text breaks into even lines, so centered notices and short messages no longer end on a stray word or split a phrase.
  • AI chat shows the Option key in the follow-up shortcut hint on macOS, instead of always naming Alt.
  • Saving a key while the system credential store is locked or out of reach explains how to fix it and retry, instead of showing the backend text.
  • AI setup plans a role again when its configured model cannot run in this app, instead of finishing setup on a model chat then refuses.
  • Each mode’s "Use a variable" button in the Variables dialog names its mode for screen readers.
  • A .pen document with many theme axes opens instead of hanging: each axis gets its own variable collection unless a variable combines it with others.
  • Escape clears the selection at any depth and Enter keeps layers without children selected, as in Figma; a click takes the empty area of a component or instance whatever its fill, while a ⌘-click passes through a frame or instance whose fill does not show.
  • Picking a layer in the layers panel scopes canvas clicks as a click on that layer would, and no dashed outline marks the container.
  • PDF export works in the installed pairdraw CLI and MCP server, which run on Node.js, instead of failing with "Cannot read properties of undefined (reading 'jsPDF')".
  • A Vue text field or textarea exported as code puts the attributes it is given, such as name, required, or aria-invalid, on its input rather than its wrapper, as the React components do.
  • In preview, a slider's range and a progress bar's indicator follow the value when they sit inside the track, as in the shadcn/ui kit's Slider.
  • The interface draws in Inter's own medium and semibold weights, and in Inter on Home, also on systems without Inter installed, such as most Linux desktops; once a document opened, every weight used to come from the regular face.
  • An inline SVG icon keeps its nearly closed circles when it is scaled, instead of drawing them as a dot.
  • Home shows previews of recent and stored files again instead of a placeholder icon.
  • A code edit's top-level elements preview together, so a connector can join layers another element draws and an instance can name a component written after it.
  • A rounded rectangle shape with text keeps its corners at 0.4 of its shorter side through resizes, as FigJam does, instead of a fixed 6 px radius.
  • A coding agent that exits mid-reply ends the reply with an error instead of leaving the chat waiting, and the next message starts a fresh agent.
  • A grid frame set to Hug takes the smallest size around its tracks and gaps, its fractional tracks take their content's size there, and its minimum and maximum apply.
  • A fixed auto layout frame keeps the room its padding and included inside strokes take once the user or a tool lays it out, instead of a size too small for them. A frame saved that way before this change keeps its size when the file opens and grows to its padding on the next edit.
  • tree --depth, find --limit, and query --limit refuse a value that is not a whole number in range instead of silently changing which nodes they show.
  • export --thumbnail --node refuses the pair instead of writing the whole page and reporting the node as its target.
  • A user error from pairdraw prints its message and exits 1 without a stack trace; PAIRDRAW_DEBUG=1 keeps the stack for a crash.
  • tokens --import and tokens --project refuse --out, which writes dtcg files, and name --write or --output as what saves the import.
  • Tailwind export keeps a font size Tailwind does not name (40px, 28px) as an arbitrary value instead of writing a utility such as text-10 that no stylesheet generates.
  • An instance of a component variant copied into another document brings its component set, so the pasted instance keeps its variant and set properties and can switch variants.
  • A component variant copied without its set selected lands as the whole set, so the pasted variants keep their variant properties and set properties.
  • Opening a document completes once its page is applied instead of waiting for the first painted frame, so an automation open_file no longer times out and leaves an empty tab when nothing draws the window.
  • HTML export keeps a layer’s blend mode as mix-blend-mode, as SVG export already did; linear dodge uses plus-lighter, while linear burn exports flat because Chrome, Edge, and Firefox do not implement plus-darker. Normal and pass-through add none.
  • Inserting a component from a pinned older library revision no longer moves the document’s library binding to that revision, so the document keeps its place in the update flow.
  • A * CORS origin is ignored while authentication is off, so a website cannot call an unauthenticated server even if the operator wrote PAIRDRAW_MCP_CORS_ORIGIN=*.
  • Starting a design from Home sends the words alone when the...
Read more

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 08:19

Pairdraw 0.19.1 makes the built-in browser's screenshots and page imports work, updates installed CLI, MCP, and Harness companions together with the app, and shows each agent's logo. Pairdraw 0.16.1 and later offer this release in the app.

Changed

  • The people list and the Following bar show each agent with the logo of the model or coding agent it runs on, such as Claude Code or OpenAI, and keep the sparkle for an agent they cannot identify.
  • Claude Code's Agent, Fast mode, and Ultracode controls in the chat composer each have their own icon instead of the same sliders.
  • When the desktop app updates itself, it also updates the Pairdraw MCP server, CLI, and Harness companion already installed on the computer to its own version, once per version, with the package manager that installed each; a failed update still offers guided setup.

Fixed

  • The built-in browser's screenshots work on macOS: each button places a picture instead of failing with "The page returned no picture", a page screenshot holds the whole page down to its last line (up to 4096 points, and at any zoom) instead of only the part the screen fits, and the view screenshot no longer ends in an empty strip.
  • Import page, Import element, and Screenshot of an element in the built-in browser no longer fail at once with "The page returned nothing"; they wait for the capture or for the click in the page.

Security

  • Release builds of the desktop app no longer open the Web Inspector from Inspect Element or Safari's Develop menu; development builds keep it.

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 01:06

Pairdraw 0.19.0 moves the properties panel into the left sidebar as the Design tab, opens large .fig files faster and in less memory, lets agents read and write prototype connections, hardens Cloud access, and fixes a long list of round-trip, layout, text, component, desktop, collaboration, CLI, and export problems. Pairdraw 0.16.1 and later offer this release in the app.

Breaking changes

  • Layers inside an instance no longer resize: their corner handles are gone, their width and height fields are disabled, and a .fig export records no size for them, as in Figma; files that already carry such a size still open with it.

Added

  • get_node and get_page_tree find a layer by its ID on a page that has not been opened yet, loading that page as Figma's dynamic-page mode does, and scripts can load pages with page.loadAsync, setCurrentPageAsync, and loadAllPagesAsync.
  • Agent tools can read and write prototype connections: get_reactions and set_reactions use Figma's plugin shape, keep a change undoable like the Prototype panel, and refuse a trigger, action, or destination the prototype play cannot run.
  • Dragging a fill, stroke, or effect row onto another row reorders the list, as in Figma; undo restores the previous order.
  • An instance offers Reset all changes in the canvas menu, the Object menu, and its Design panel header, putting it and the instances inside it back over one undo step.
  • The design token import offers to pick the folder that holds a resolver's files when they were not picked with it.
  • Plugin scripts can keep values between runs with figma.clientStorage.

Changed

  • The properties panel now shows in the left sidebar as the fourth tab, Design, beside Layers, Assets, and Slides: selecting a layer no longer opens a panel or changes the sidebar's tab.
  • Desktop sign-in approval asks for the code the app shows instead of telling you to compare it.
  • batch_update changes nothing when one of its operations names a missing layer or an invalid property, instead of applying the rest.
  • The authoring reference names the textDecoration and textCase values; decoration details, not the property itself, take CSS names.
  • The MCP reference lists every shared design tool, and the docs state the current count.
  • The JSX copy reference names the exported renderJSX() in every language.
  • The docs state that the MCP server works with the document open in the running editor, and that eval is off by default over both transports rather than only HTTP.

Performance

  • Opening a large .fig no longer re-derives the whole document for each page it reads, and a page reaches the editor from the reader worker without a second deep copy of every layer, so a document with hundreds of thousands of layers opens faster and in less memory.
  • Opening a .fig moves the file to the reader worker instead of copying it for the worker, the archive, and the recovery copy, and keeps each unzipped image once instead of copying it into the document again, cutting the peak memory of opening a large file; if the worker fails after taking the file, the file is read again.
  • Moving a selection with the arrow keys no longer lays out the whole subtree of every moved layer, nor does undo or redo, so nudging stays instant on large auto layout documents.
  • Deleting a large layer captures its subtree once instead of twice, halving the work of a big delete.
  • Dragging an effect slider keeps a bounded number of cached filters, so a long session no longer grows with every value the drag passed.
  • The first Chinese, Japanese, or Korean text loads only the system fonts its characters need, keeps one copy of each face shared by every canvas, and no longer registers fallback faces as browser fonts, using hundreds of megabytes less memory.
  • Paragraphs built from one font provider share one font collection, so a document of many CJK texts no longer copies a variable font's instance per paragraph and fills the heap while opening.
  • Undo steps past the history limit are freed again, and a document that is never saved no longer pins its history, so a long session keeps its memory bounded.
  • Surfaces and the profiler's font are freed on replacement and teardown, so a long session that switches surfaces keeps handing their pixel buffers back.

Security

  • Someone removed from a workspace loses access to the documents they made there, though an invitation can still let them back in.
  • A document grant changes only access that starts from an accepted invitation, so a new grant cannot reach someone who has no access.
  • Sending invitations is capped at 100 a day per sender and 5 a day to one address, counted across workspaces and documents, so they cannot be used to send spam.
  • A per-document or per-workspace budget, such as invitations or uploads, no longer resets by naming another document or workspace: one account has a cap across all of them.
  • The sharing API no longer answers whether an email address has a cloud account.
  • A share link stops working while whoever made the link or the document is banned.
  • A collaboration room stops taking edits once its document reaches the room size limit, while deletions that free space still go through.
  • A Cloud API request over 8 MB is refused with a 413 at the body limit before the handler runs, and a query serving a request is cancelled after 30 seconds.
  • Cloud pages carry a content security policy that lets only the site's own scripts and Turnstile's run, keeps plugins off, and stops another site from framing them.
  • An official cloud deployment requires MFA for deployment administrators.
  • A crafted .fig archive can no longer make the app inflate unbounded data: entries and total size are capped.

Fixed

Documents and files

  • A page added or moved among pages whose order keys Figma numbered, such as a shadcn/ui kit, is saved where it now sits instead of sorting into another place on reopen.
  • Documents opened from .fig files save and load pages again after a layer of a component is deleted, including when an instance sits inside a frame of that component.
  • A page opened for only some of its components keeps every sibling layer in the order the file saved it, including a reorder made before its other component pages load.
  • A layer from an opened .fig file that is grouped or moved into a frame keeps its place after the file is saved and reopened.
  • An instance keeps the place its own record gives it in its parent rather than inheriting its component's alignment, grow, positioning, and constraints.
  • Spreading a pile of layers gives the same result on every run instead of a different arrangement each time.
  • A rescaled instance draws its vector at the instance size after the file is reopened, instead of at the component's outline size.
  • Pasting a layer copied out of a component while it is bound to one of the component properties pastes it unbound instead of failing.
  • A fill, stroke, or effect bound to a variable keeps its binding when another entry in the list is added, removed, or moved.
  • The Plugin API componentPropertyReferences reports the bindings of any layer in a component or instance, not only frames, text, components, and instances.
  • Tools and scripts that read a page not yet opened load its layers first, and switch to the page that was asked for last instead of one that finished loading later.
  • Agent tools, including render, import_svg, import_mermaid, import_html, insert_icon, and insert_library_component, refuse a parent inside an instance instead of adding layers the document cannot save as .fig; layers added to an instance slot still save.
  • Pages of a large .fig keep loading in the reader worker after the document is edited, instead of falling back to a main-thread load that freezes the editor; a page that arrives while an edit is open stays out of that edit's undo step.
  • A large .fig page applies in pieces as it arrives from the reader worker, so the editor keeps responding instead of freezing for the whole page; a load that fails takes back only its own layers.
  • Saving a .fig keeps the document when drawing its optional file preview fails: the save falls back to the placeholder thumbnail instead of rejecting.
  • Text whose glyphs cannot all be outlined, such as a script drawn in a substituted face, is saved without derived glyph data, so Figma lays it out with its own fonts instead of drawing holes.
  • An image fill or stroke keeps its exposure, contrast, saturation, temperature, tint, highlights, and shadows adjustments when a .fig file is saved after that image is edited.
  • A dashed stroke keeps its dash pattern when a .fig file is saved and reopened, including on instance layers, where a stroke weight or dash set on the copy also survives a component edit or a variant swap.
  • An instance text draws the size, font, spacing, decoration, and case of the text style it inherits, including the style's variables, over values its own record claims, and a text range that names a fill style draws in that style's paints.
  • Converting a document to .pen keeps every vector layer's path geometry instead of writing empty paths, and keeps each layer's variable mode (theme) instead of dropping back to the default one.
  • save_file and a save on close refuse a destination that is not the document's archive (.fig, or .jam for a board) before writing anything, and name the path to use instead.
  • A .pen instance draws the children its ref passes in place of its component's layers, with or without a declared slot, and a fit_content(N) fallback holds only while the instance is empty.
  • A hugging .pen frame with space_between keeps the gap between its children instead of packing them together, and a .pen padding of four values is read as top, right, bottom, and left instead of dropping the bottom and left.
  • A .pen image whose path is percent-encoded, as pen.dev writes My%20Design-assets/…, now loa...
Read more