vectorcraft/crates/mcp
bflatastic 1e2cb082ba Fix #526: the exports and the CLI write .ai as Save As does
file.saveAs and document.save wrote a PDF-compatible .ai, but
document.export (and with it the CLI's run --export x.ai and convert
in.svg out.ai, and MCP's export) refused it as a format that can only be
opened, and --help didn't list it as writable.

The .ai encoder is now shared: save.rs's ai_params and encode_ai (a PDF
of every artboard with the PDF options, carrying the native document,
blank pages with pdfCompatible: false) serve Save As and the exports
alike. The .ai format is writable, so document.formats, --help and the
MCP export tool list it; an export leaves the document's own path alone.
Export As and Export for Screens keep leaving .ai to Save As.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 03:18:07 +07:00
..
src Fix #526: the exports and the CLI write .ai as Save As does 2026-10-09 03:18:07 +07:00
tests MCP: prompts, resource templates, completions and logging 2026-10-07 07:25:02 +07:00
Cargo.toml M1.9: the MCP connect-failure test holds its own closed port 2026-10-05 11:41:26 +07:00