@massa-ai/mcp-client 1.39.0 → 1.40.1

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.
@@ -121472,9 +121472,9 @@ function detectRuntimes(deps) {
121472
121472
  r: exists("Rscript") ? "Rscript" : null
121473
121473
  };
121474
121474
  }
121475
- function getRuntimeSummary(runtimes) {
121475
+ function getRuntimeSummary(runtimes, deps) {
121476
121476
  const lines = [];
121477
- const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd)})` : ` ${label.padEnd(11)} not available`;
121477
+ const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd, ["--version"], deps)})` : ` ${label.padEnd(11)} not available`;
121478
121478
  lines.push(fmt("JavaScript:", runtimes.javascript));
121479
121479
  lines.push(fmt("TypeScript:", runtimes.typescript));
121480
121480
  lines.push(fmt("Python:", runtimes.python));
package/dist/index.js CHANGED
@@ -137125,9 +137125,7 @@ class AttributionResolver {
137125
137125
  }
137126
137126
  return { projectId: caller, source: "verbatim" };
137127
137127
  } catch (error51) {
137128
- logger.warn("[hook-attribution] resolution failed; using caller id (sanitized)", {
137129
- name: error51 instanceof Error ? error51.name : "unknown"
137130
- });
137128
+ logger.warn("[hook-attribution] resolution failed; using caller id", safeErrorSummary(error51));
137131
137129
  return { projectId: caller, source: "verbatim" };
137132
137130
  }
137133
137131
  }
@@ -139612,9 +139610,9 @@ function detectRuntimes(deps) {
139612
139610
  r: exists("Rscript") ? "Rscript" : null
139613
139611
  };
139614
139612
  }
139615
- function getRuntimeSummary(runtimes) {
139613
+ function getRuntimeSummary(runtimes, deps) {
139616
139614
  const lines = [];
139617
- const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd)})` : ` ${label.padEnd(11)} not available`;
139615
+ const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd, ["--version"], deps)})` : ` ${label.padEnd(11)} not available`;
139618
139616
  lines.push(fmt("JavaScript:", runtimes.javascript));
139619
139617
  lines.push(fmt("TypeScript:", runtimes.typescript));
139620
139618
  lines.push(fmt("Python:", runtimes.python));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massa-ai/mcp-client",
3
- "version": "1.39.0",
3
+ "version": "1.40.1",
4
4
  "description": "massa-ai MCP server - Semantic code search, memory, and context compression via Model Context Protocol",
5
5
  "author": "luizgmassa",
6
6
  "type": "module",
@@ -20,8 +20,8 @@
20
20
  "type-check": "tsc --noEmit"
21
21
  },
22
22
  "dependencies": {
23
- "@massa-ai/core": "^1.39.0",
24
- "@massa-ai/shared": "^1.39.0",
23
+ "@massa-ai/core": "^1.40.1",
24
+ "@massa-ai/shared": "^1.40.1",
25
25
  "@modelcontextprotocol/sdk": "^1.0.0"
26
26
  },
27
27
  "devDependencies": {