@a4hgehad/weave-mcp 0.9.5 → 0.9.6
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 +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -464,7 +464,8 @@ function getAgentDisplayName(configKey) {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
// src/managers/config-handler.ts
|
|
467
|
-
var PRIMARY_AGENT_KEYS = new Set(["loom", "tapestry"
|
|
467
|
+
var PRIMARY_AGENT_KEYS = new Set(["loom", "tapestry"]);
|
|
468
|
+
var DUAL_MODE_AGENT_KEYS = new Set(["shuttle"]);
|
|
468
469
|
|
|
469
470
|
class ConfigHandler {
|
|
470
471
|
pluginConfig;
|
|
@@ -500,7 +501,10 @@ class ConfigHandler {
|
|
|
500
501
|
const override = overrides[name];
|
|
501
502
|
const merged = override ? { ...agentConfig, ...override } : { ...agentConfig };
|
|
502
503
|
const agentWithMcps = this.applyAgentMcpDefaults(name, merged);
|
|
503
|
-
if (
|
|
504
|
+
if (DUAL_MODE_AGENT_KEYS.has(name)) {
|
|
505
|
+
result[name] = agentWithMcps;
|
|
506
|
+
result[getAgentDisplayName(name)] = agentWithMcps;
|
|
507
|
+
} else if (PRIMARY_AGENT_KEYS.has(name)) {
|
|
504
508
|
result[getAgentDisplayName(name)] = agentWithMcps;
|
|
505
509
|
} else {
|
|
506
510
|
result[name] = agentWithMcps;
|