@massa-ai/mcp-client 1.39.0 → 1.41.0
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/config-cli.js +9 -2
- package/dist/index.js +10 -5
- package/package.json +3 -3
package/dist/config-cli.js
CHANGED
|
@@ -728,6 +728,11 @@ var init_env = __esm(() => {
|
|
|
728
728
|
} catch {}
|
|
729
729
|
});
|
|
730
730
|
|
|
731
|
+
// ../../packages/shared/dist/config/config-writer.js
|
|
732
|
+
var init_config_writer = __esm(() => {
|
|
733
|
+
init_config_loader();
|
|
734
|
+
});
|
|
735
|
+
|
|
731
736
|
// ../../packages/shared/dist/config/api-key.js
|
|
732
737
|
var init_api_key = __esm(() => {
|
|
733
738
|
init_config_loader();
|
|
@@ -997,6 +1002,8 @@ var init_config = __esm(() => {
|
|
|
997
1002
|
init_config_loader();
|
|
998
1003
|
init_massa_ai_config();
|
|
999
1004
|
init_config_loader();
|
|
1005
|
+
init_config_writer();
|
|
1006
|
+
init_xdg();
|
|
1000
1007
|
init_api_key();
|
|
1001
1008
|
DEFAULT_ALLOWED_EXTENSIONS = [
|
|
1002
1009
|
".ts",
|
|
@@ -121472,9 +121479,9 @@ function detectRuntimes(deps) {
|
|
|
121472
121479
|
r: exists("Rscript") ? "Rscript" : null
|
|
121473
121480
|
};
|
|
121474
121481
|
}
|
|
121475
|
-
function getRuntimeSummary(runtimes) {
|
|
121482
|
+
function getRuntimeSummary(runtimes, deps) {
|
|
121476
121483
|
const lines = [];
|
|
121477
|
-
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd)})` : ` ${label.padEnd(11)} not available`;
|
|
121484
|
+
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd, ["--version"], deps)})` : ` ${label.padEnd(11)} not available`;
|
|
121478
121485
|
lines.push(fmt("JavaScript:", runtimes.javascript));
|
|
121479
121486
|
lines.push(fmt("TypeScript:", runtimes.typescript));
|
|
121480
121487
|
lines.push(fmt("Python:", runtimes.python));
|
package/dist/index.js
CHANGED
|
@@ -25725,6 +25725,11 @@ var init_env = __esm(() => {
|
|
|
25725
25725
|
} catch {}
|
|
25726
25726
|
});
|
|
25727
25727
|
|
|
25728
|
+
// ../../packages/shared/dist/config/config-writer.js
|
|
25729
|
+
var init_config_writer = __esm(() => {
|
|
25730
|
+
init_config_loader();
|
|
25731
|
+
});
|
|
25732
|
+
|
|
25728
25733
|
// ../../packages/shared/dist/config/api-key.js
|
|
25729
25734
|
var init_api_key = __esm(() => {
|
|
25730
25735
|
init_config_loader();
|
|
@@ -25994,6 +25999,8 @@ var init_config = __esm(() => {
|
|
|
25994
25999
|
init_config_loader();
|
|
25995
26000
|
init_massa_ai_config();
|
|
25996
26001
|
init_config_loader();
|
|
26002
|
+
init_config_writer();
|
|
26003
|
+
init_xdg();
|
|
25997
26004
|
init_api_key();
|
|
25998
26005
|
DEFAULT_ALLOWED_EXTENSIONS = [
|
|
25999
26006
|
".ts",
|
|
@@ -137125,9 +137132,7 @@ class AttributionResolver {
|
|
|
137125
137132
|
}
|
|
137126
137133
|
return { projectId: caller, source: "verbatim" };
|
|
137127
137134
|
} catch (error51) {
|
|
137128
|
-
logger.warn("[hook-attribution] resolution failed; using caller id (
|
|
137129
|
-
name: error51 instanceof Error ? error51.name : "unknown"
|
|
137130
|
-
});
|
|
137135
|
+
logger.warn("[hook-attribution] resolution failed; using caller id", safeErrorSummary(error51));
|
|
137131
137136
|
return { projectId: caller, source: "verbatim" };
|
|
137132
137137
|
}
|
|
137133
137138
|
}
|
|
@@ -139612,9 +139617,9 @@ function detectRuntimes(deps) {
|
|
|
139612
139617
|
r: exists("Rscript") ? "Rscript" : null
|
|
139613
139618
|
};
|
|
139614
139619
|
}
|
|
139615
|
-
function getRuntimeSummary(runtimes) {
|
|
139620
|
+
function getRuntimeSummary(runtimes, deps) {
|
|
139616
139621
|
const lines = [];
|
|
139617
|
-
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd)})` : ` ${label.padEnd(11)} not available`;
|
|
139622
|
+
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd, ["--version"], deps)})` : ` ${label.padEnd(11)} not available`;
|
|
139618
139623
|
lines.push(fmt("JavaScript:", runtimes.javascript));
|
|
139619
139624
|
lines.push(fmt("TypeScript:", runtimes.typescript));
|
|
139620
139625
|
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.
|
|
3
|
+
"version": "1.41.0",
|
|
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.
|
|
24
|
-
"@massa-ai/shared": "^1.
|
|
23
|
+
"@massa-ai/core": "^1.41.0",
|
|
24
|
+
"@massa-ai/shared": "^1.41.0",
|
|
25
25
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|