Преглед изворни кода

fix(e2e): add alwaysAllow config for MCP time server tools (#10733)

Archimedes пре 2 месеци
родитељ
комит
dba76f51e7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts

+ 1 - 0
apps/vscode-e2e/src/suite/tools/use-mcp-tool.test.ts

@@ -58,6 +58,7 @@ suite("Roo Code use_mcp_tool Tool", function () {
 				time: {
 				time: {
 					command: "uvx",
 					command: "uvx",
 					args: ["mcp-server-time"],
 					args: ["mcp-server-time"],
+					alwaysAllow: ["get_current_time", "convert_time"],
 				},
 				},
 			},
 			},
 		}
 		}