openpencil/desktop
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
..
capabilities feat(mcp): add open_file, new_document tools and disk export via path param 2026-04-22 17:05:54 +03:00
icons Use pencil loader icon as Tauri app icon 2026-03-01 01:37:01 +03:00
src Preserve fig-kiwi version on roundtrip 2026-03-25 06:02:24 +03:00
.gitignore Rename src-tauri → desktop, symlink for CLI compat 2026-02-28 08:10:09 +03:00
build.rs Rename src-tauri → desktop, symlink for CLI compat 2026-02-28 08:10:09 +03:00
Cargo.lock Fix ACP shell scope config and surface connection errors 2026-03-15 16:40:23 +03:00
Cargo.toml Add ACP client support for using external coding agents 2026-03-15 16:40:18 +03:00
Info.plist fix(tauri): correctly configure NSAllowsLocalNetworking 2026-04-22 13:01:38 +03:00
tauri.conf.json fix(tauri): correctly configure NSAllowsLocalNetworking 2026-04-22 13:01:38 +03:00