mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Headless `open_file` (and `file.open` through run_command) had its own loader that stopped at .vectorcraft and .svg, so an agent could not open a PDF or an .ai file without the desktop app, although the engine and `vectorcraft-cli` already import them through vectorcraft-pdf. The headless loader now imports .pdf, .ai and any file starting with %PDF through vectorcraft_pdf::import_with_report (default options, as File ▸ Open uses), and returns the import warnings like the SVG path. The open_file tool description lists the new types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>