Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(bots): keep cindy on Pi Bot MCP allowlists
zqchris0fc67b6267c3
diff --git a/apps/desktop/src/main/mcp-integrations/__tests__/piEnvironment.test.ts b/apps/desktop/src/main/mcp-integrations/__tests__/piEnvironment.test.tsindex 419ec71d83..814ee7f2f9 100644--- a/apps/desktop/src/main/mcp-integrations/__tests__/piEnvironment.test.ts+++ b/apps/desktop/src/main/mcp-integrations/__tests__/piEnvironment.test.ts@@ -267,6 +267,7 @@ describe('piEnvironment per-session identity', () => {it('gives a Bot only its frozen built-ins plus configured custom MCPs', async () => {const config = await getPiExtraSpawnConfig([+ makeProvider('cindy'),makeProvider('cindy_memory'),makeProvider('cindy_helper'),makeProvider('cindy_orca'),@@ -290,6 +291,7 @@ describe('piEnvironment per-session identity', () => {});expect(config?.mcpBridge?.servers.map((server) => server.name).sort()).toEqual([+ 'cindy','cindy_helper','cindy_memory','custom_probe',diff --git a/apps/desktop/src/main/mcp-integrations/piEnvironment.ts b/apps/desktop/src/main/mcp-integrations/piEnvironment.tsindex 1ceb15bd3b..cdf9cd54e3 100644--- a/apps/desktop/src/main/mcp-integrations/piEnvironment.ts+++ b/apps/desktop/src/main/mcp-integrations/piEnvironment.ts@@ -196,6 +196,10 @@ export async function getPiExtraSpawnConfig(return !disabledPluginIds.includes(pluginId)&& (!allowedPluginIds || allowedPluginIds.includes(pluginId));}+ // cindy is the always-on plugin gateway (ghost_list / ghost_info / ghost_call).+ // It has no plugin id on purpose — empty ghost_list, not a missing server.+ // Frozen Bot allowlists therefore must not treat it as an unknown host provider.+ if (server.name === 'cindy') return true;// A frozen Bot runtime may use explicitly configured custom MCPs, but it// must not inherit miscellaneous host providers merely because the shared// Pi bridge knows about them. Unknown providers absent from the Bot's