Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/core/prompts/__tests__/add-custom-instructions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ describe("addCustomInstructions", () => {
expect(prompt).toMatchFileSnapshot("./__snapshots__/add-custom-instructions/ask-mode-prompt.snap")
})

it("should exclude MCP server creation info when disabled", async () => {
it("should generate the prompt when the MCP hub has no servers", async () => {
const mockMcpHub = createMockMcpHub(false)

const prompt = await SYSTEM_PROMPT(
Expand All @@ -255,8 +255,7 @@ describe("addCustomInstructions", () => {
undefined, // partialReadsEnabled
)

expect(prompt).not.toContain("Creating an MCP Server")
expect(prompt).toMatchFileSnapshot("./__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap")
expect(prompt).toMatchFileSnapshot("./__snapshots__/add-custom-instructions/no-mcp-servers.snap")
})

it("should prioritize mode-specific rules for code mode", async () => {
Expand Down
5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/ca/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/de/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/en/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
"title": "Enable MCP Servers",
"description": "Turn this ON to let Zoo use tools from connected MCP servers. This gives Zoo more capabilities. If you don't plan to use these extra tools, turn it OFF to help reduce API token costs."
},
"enableServerCreation": {
"title": "Enable MCP Server Creation",
"description": "Enable this to have Zoo help you build <1>new</1> custom MCP servers. <0>Learn about server creation</0>",
"hint": "Hint: To reduce API token costs, disable this setting when you are not actively asking Zoo to create a new MCP server."
},
"editGlobalMCP": "Edit Global MCP",
"editProjectMCP": "Edit Project MCP",
"refreshMCP": "Refresh MCP Servers",
Expand Down
5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/es/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/fr/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/hi/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/id/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/it/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/ja/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/ko/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/nl/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/pl/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/pt-BR/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/ru/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/tr/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/vi/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/zh-CN/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions webview-ui/src/i18n/locales/zh-TW/mcp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading