@a4hgehad/weave-mcp 0.9.6 → 0.9.7

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 +1 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -517,21 +517,11 @@ class ConfigHandler {
517
517
  if (defaults.length === 0) {
518
518
  return agentConfig;
519
519
  }
520
- if (agentConfig.tools !== undefined) {
521
- return agentConfig;
522
- }
523
520
  const mcpTools = {
524
521
  websearch: "websearch_exa",
525
522
  context7: "context7_query_docs",
526
523
  grep_app: "grep_app_search"
527
524
  };
528
- const tools = {};
529
- for (const mcp of defaults) {
530
- const toolName = mcpTools[mcp];
531
- if (toolName) {
532
- tools[toolName] = true;
533
- }
534
- }
535
525
  const mcpInfo = this.buildMcpInfoSection(defaults);
536
526
  let prompt = agentConfig.prompt || "";
537
527
  if (!prompt.includes("<MCPs>")) {
@@ -541,7 +531,7 @@ class ConfigHandler {
541
531
  }
542
532
  return {
543
533
  ...agentConfig,
544
- tools: { ...agentConfig.tools || {}, ...tools },
534
+ tools: mergedTools,
545
535
  prompt
546
536
  };
547
537
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a4hgehad/weave-mcp",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Weave — lean OpenCode plugin with multi-agent orchestration + MCP support",
5
5
  "author": "3r3bu5",
6
6
  "license": "MIT",