feat(core): enhanced anchored iterative context compression with self-verification (#15710)

This commit is contained in:
Ramón Medrano Llamas
2026-01-20 09:43:15 +01:00
committed by GitHub
parent e34f0b4a98
commit 1182168bd9
9 changed files with 283 additions and 40 deletions
@@ -289,7 +289,11 @@ export class McpClientManager {
*/
async restart(): Promise<void> {
await Promise.all(
Array.from(this.clients.entries()).map(async ([name, client]) => {
Array.from(this.clients.keys()).map(async (name) => {
const client = this.clients.get(name);
if (!client) {
return;
}
try {
await this.maybeDiscoverMcpServer(name, client.getServerConfig());
} catch (error) {