Skip to content

paintboard 0.4.0

Choose a tag to compare

@0xPD33 0xPD33 released this 22 Oct 18:57
· 6 commits to main since this release

Tabs and files

  • Open several boards in tabs. Ctrl+N makes a new board, Ctrl+W closes a tab, and Ctrl+Tab, Ctrl+PgUp/PgDn, and Ctrl+1 to Ctrl+9 switch tabs.
  • New, Open (Ctrl+O), Save, and Save As (Ctrl+Shift+S) use a built-in file dialog.
  • A dot on a tab marks unsaved changes. Closing a tab or the window asks to save, discard, or cancel.
  • With no file arguments, Paintboard reopens the tabs of the last session. paintboard a.pb b.pb opens each board in its own tab.
  • Copy and paste work between tabs.

Drawing

  • Lines and arrows that start or end on an item stay linked to it when it moves or resizes. Drag an end handle onto an item to link it.

Export

  • Ctrl+Shift+E exports the whole board to SVG.
  • paintboard --render FILE [OUT.png|OUT.svg] draws a board with no window.

Agents

  • New MCP tools: list_tabs, switch_tab, new_board, open_board, close_tab, export_svg, and measure_text. save_board takes a path for Save As.
  • add_items takes an id, a label centered on a shape, and arrows with from/to that link to items.
  • Headless get_canvas and export_png render every item through EGL, with no display server.
  • A guide for agents ships as the paintboard://guide resource and the paintboard_guide prompt.

Compatibility

  • Boards now save as PB04. Boards saved by 0.4.0 do not open in 0.3.0 or older. PB02 and PB03 boards still load.
  • The build now needs the egl pkg-config module, which Mesa or libglvnd provides.