@a4hgehad/weave-mcp 0.9.3 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -500,8 +500,11 @@ class ConfigHandler {
|
|
|
500
500
|
const override = overrides[name];
|
|
501
501
|
const merged = override ? { ...agentConfig, ...override } : { ...agentConfig };
|
|
502
502
|
const agentWithMcps = this.applyAgentMcpDefaults(name, merged);
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
if (PRIMARY_AGENT_KEYS.has(name) || DUAL_MODE_AGENT_KEYS.has(name)) {
|
|
504
|
+
result[getAgentDisplayName(name)] = agentWithMcps;
|
|
505
|
+
} else {
|
|
506
|
+
result[name] = agentWithMcps;
|
|
507
|
+
}
|
|
505
508
|
}
|
|
506
509
|
return result;
|
|
507
510
|
}
|