Pass openpencil-mcp as a stdio MCP server to the ACP session so agents get all design tools (create shapes, render JSX, export images, etc.) instead of just plain conversation. - Add makeFigma option to createServer for external FigmaAPI injection - Skip file lifecycle tools (open/save/new) when using external FigmaAPI - Pass MCP server config in ACP newSession mcpServers - Add bun to Tauri shell scope for MCP server subprocess
35 lines
912 B
JSON
35 lines
912 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"dialog:allow-save",
|
|
"dialog:allow-open",
|
|
{
|
|
"identifier": "fs:allow-read-file",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-write-file",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
"fs:allow-watch",
|
|
"fs:allow-unwatch",
|
|
{
|
|
"identifier": "shell:allow-spawn",
|
|
"allow": [
|
|
{ "name": "claude-code-acp", "cmd": "claude-code-acp", "args": true },
|
|
{ "name": "codex-acp", "cmd": "codex-acp", "args": true },
|
|
{ "name": "gemini", "cmd": "gemini", "args": true },
|
|
{ "name": "bun", "cmd": "bun", "args": true }
|
|
]
|
|
},
|
|
"shell:allow-stdin-write",
|
|
"shell:allow-kill"
|
|
]
|
|
}
|