Cannot save as .pen — only .fig is offered, blocking AI agent workflows

Author: kelleyperryCreated Mar 31, 2026Updated Sep 25, 2026
Labelsenhancement

Description

The Save and Save As commands only support .fig format. There is no option to save as .pen. This blocks the AI agent (Claude Code via ACP) workflow, since the MCP tools only operate on .pen files.

The app can open .pen files (via use-menu.ts line 31, filters include both .fig and .pen), but saving is hardcoded to .fig only (saveFigFile / saveFigFileAs in editor.ts).

Steps to reproduce

  1. Open the desktop app
  2. Create a new document or draw something on canvas
  3. Select Claude Code as the AI provider
  4. Ask the AI to modify the design
  5. AI responds that it needs a .pen file
  6. Try File → Save As — only .fig is offered
  7. No way to get the AI working on the current document

Expected behavior

Save As should offer .pen as a format option (ideally the default), so the AI agent can read and modify the file.

Affected code

  • src/stores/editor.ts — saveFigFileAs() (line ~894) hardcodes defaultPath: 'Untitled.fig' and filters: [{ name: 'Figma file', extensions: ['fig'] }]
  • src/composables/use-menu.ts — lines 79-80 map save actions exclusively to saveFigFile / saveFigFileAs

Platform

macOS (Tauri)