- 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> |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Info.plist | ||
| tauri.conf.json | ||