The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(mcp): the packaged app could not load the shell plugin at all
purplef8b49a94b960
diff --git a/src/api/mcp/external-client.ts b/src/api/mcp/external-client.tsindex 85841dd8..2a44f75a 100644--- a/src/api/mcp/external-client.ts+++ b/src/api/mcp/external-client.ts@@ -47,9 +47,10 @@ export class MCPExternalClient {async connect(): Promise<MCPToolDefinition[]> {try {- // Dynamic import for Tauri shell plugin — only available in .exe builds- // @ts-ignore — module may not exist in dev mode- const shellModule = await import(/* @vite-ignore */ '@tauri-apps/plugin-shell')+ // Lazy so the plugin only loads once a server connects, but vite must+ // resolve and bundle it: with @vite-ignore the packaged WebView gets a+ // bare specifier and every connect dies on the import itself (D#90).+ const shellModule = await import('@tauri-apps/plugin-shell')const { Command } = shellModule// Windows gotcha: Node-based MCP servers are invoked as `npx`, `npm`,