- connectAutomation accepts an explicit ws:// URL and a register token - EditorView reads ?automationWs / ?automationToken so a served build (W4C Design Studio iframe) can reach the server MCP instead of the user's 127.0.0.1 - MCP accepts OPENPENCIL_MCP_BROWSER_TOKEN for canvas registration only, never for /mcp or /rpc, so a public canvas WebSocket does not expose the tool token |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| components | ||
| theme | ||
| views | ||
| app.css | ||
| App.vue | ||
| constants.ts | ||
| env.d.ts | ||
| global.d.ts | ||
| main.ts | ||
| markdown.d.ts | ||
| router.d.ts | ||
| router.ts | ||