refactor: update test structure and clean up unused code in cli and sdk

This commit is contained in:
mingholy.lmh
2025-11-25 11:45:34 +08:00
parent ad9ba914e1
commit ac6aecb622
14 changed files with 2620 additions and 401 deletions

View File

@@ -855,13 +855,6 @@ export class Config {
return this.mcpServers;
}
setMcpServers(servers: Record<string, MCPServerConfig>): void {
if (this.initialized) {
throw new Error('Cannot modify mcpServers after initialization');
}
this.mcpServers = servers;
}
addMcpServers(servers: Record<string, MCPServerConfig>): void {
if (this.initialized) {
throw new Error('Cannot modify mcpServers after initialization');