Skip to content

paintboard 0.5.0

Choose a tag to compare

@0xPD33 0xPD33 released this 22 Oct 22:38
· 4 commits to main since this release

Agents

  • add_graph lays out nodes, edges, and groups and draws them as one undo step. rank pins a node's position along the flow, a group becomes a dashed container, and an edge that closes a cycle routes around the graph.
  • Items keep an id in the board file. update_items and delete_items take ids without a revision. replace_items swaps the whole board.
  • Items take caption, parent, wrap, dashed, elbow, and waypoint points on lines and arrows. A new table item sizes its rows to its text.
  • While Collaborate is off, an agent call asks in the window: Allow once, Allow for this session, or Deny.
  • paintboard-bridge --file board.pb runs tool calls on a board file with no window. --call repeats, and --args @FILE reads arguments from a file.

Drawing

  • A label belongs to its shape, line, or arrow and moves with it. Double-click a shape or an arrow to type one.
  • Linked ends stop at the real outline of a diamond, an ellipse, a triangle, or a star.
  • Panel Dash and Elbow draw dashed strokes and right-angle arrows.
  • A container moves what it holds. Ctrl+G puts the selection in a dashed container.
  • The panel greys out controls that do nothing for the current tool and the selection.

Files

  • A tab reloads its board when another program saves the file, and Undo brings back the version before. A tab with unsaved changes asks first.
  • Save does not replace a file that changed since the tab read it without asking. save_board needs overwrite: true, and an MCP session that ends refuses too.

Compatibility

  • Boards now save as PB05. Boards saved by 0.5.0 do not open in 0.4.0 or older. PB02, PB03, and PB04 boards still load.
  • A shape's label is now a field of the shape, not a separate text item, so add_items returns different indices.
  • An id must be unique on the board. Edits that use a board index need the revision.