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