Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): preserve policy-less plugin discovery (#4019)

Dash5310f4e7e1a4
diff --git a/apps/desktop/src/main/mcp-integrations/__tests__/codexBuiltinToolPolicy.test.ts b/apps/desktop/src/main/mcp-integrations/__tests__/codexBuiltinToolPolicy.test.ts
index 5e0481ab3f..1f1afff813 100644
--- a/apps/desktop/src/main/mcp-integrations/__tests__/codexBuiltinToolPolicy.test.ts
+++ b/apps/desktop/src/main/mcp-integrations/__tests__/codexBuiltinToolPolicy.test.ts
@@ -16,7 +16,7 @@ describe('frozen built-in tool policy', () => {
expect(isFrozenBuiltinPluginAllowed(vendorOptions, 'memory')).toBe(true);
});
- it('fails open only when no valid frozen policy exists', () => {
+ it('keeps ordinary tasks available when no frozen policy exists', () => {
expect(isFrozenBuiltinPluginAllowed(undefined, 'collab')).toBe(true);
expect(
isFrozenBuiltinPluginAllowed(