@a4hgehad/weave-mcp 0.9.3 → 0.9.4

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  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", "shuttle"]);
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,8 +501,14 @@ 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
- const key = PRIMARY_AGENT_KEYS.has(name) ? getAgentDisplayName(name) : name;
504
- result[key] = agentWithMcps;
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)) {
508
+ result[getAgentDisplayName(name)] = agentWithMcps;
509
+ } else {
510
+ result[name] = agentWithMcps;
511
+ }
505
512
  }
506
513
  return result;
507
514
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a4hgehad/weave-mcp",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Weave — lean OpenCode plugin with multi-agent orchestration + MCP support",
5
5
  "author": "3r3bu5",
6
6
  "license": "MIT",