openpencil/packages/core
Danila Poyarkov b502b43c4d feat(mcp): add open_file, new_document tools and disk export via path param
- open_file: opens a .fig/.pen from disk into a new tab via MCP
- new_document: creates an empty doc with optional save path
- export_image, export_svg, get_jsx: optional path param writes output
  to disk instead of returning base64/string (avoids flooding AI context)
- OPENPENCIL_MCP_ROOT env var scopes all file paths (defaults to cwd)
- setPlannedFilePath + startWatchingCurrentFile on editor store
- Extract openFileFromPath helper in use-menu.ts
- Add fs:allow-mkdir and scoped fs:allow-watch Tauri capabilities
- Better 'app not connected' error in stdio — instructs agent to stop

Co-authored-by: Jais Pedersen <jais@pedersens.net>
2026-04-22 17:05:54 +03:00
..
assets Refactor font loading: DRY up local font lookup, fix headless fallback 2026-03-16 13:38:16 +03:00
src feat(mcp): add open_file, new_document tools and disk export via path param 2026-04-22 17:05:54 +03:00
package.json fix(layout): bump yoga-layout to 3.3.0-grid.3 with Node.free() support 2026-04-13 12:09:45 +03:00
tsconfig.json Fix core release build config 2026-03-30 18:54:18 +03:00
tsdown.config.ts Release v0.11.6 2026-04-08 22:04:22 +03:00