@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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  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,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 (PRIMARY_AGENT_KEYS.has(name) || DUAL_MODE_AGENT_KEYS.has(name)) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a4hgehad/weave-mcp",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Weave — lean OpenCode plugin with multi-agent orchestration + MCP support",
5
5
  "author": "3r3bu5",
6
6
  "license": "MIT",