@massa-ai/tools-api 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.
- package/dist/index.js +3 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -128024,9 +128024,9 @@ function detectRuntimes(deps) {
|
|
|
128024
128024
|
r: exists("Rscript") ? "Rscript" : null
|
|
128025
128025
|
};
|
|
128026
128026
|
}
|
|
128027
|
-
function getRuntimeSummary(runtimes) {
|
|
128027
|
+
function getRuntimeSummary(runtimes, deps) {
|
|
128028
128028
|
const lines = [];
|
|
128029
|
-
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd)})` : ` ${label.padEnd(11)} not available`;
|
|
128029
|
+
const fmt = (label, cmd) => cmd ? ` ${label.padEnd(11)} ${cmd} (${getVersion(cmd, ["--version"], deps)})` : ` ${label.padEnd(11)} not available`;
|
|
128030
128030
|
lines.push(fmt("JavaScript:", runtimes.javascript));
|
|
128031
128031
|
lines.push(fmt("TypeScript:", runtimes.typescript));
|
|
128032
128032
|
lines.push(fmt("Python:", runtimes.python));
|
|
@@ -175845,9 +175845,7 @@ class AttributionResolver {
|
|
|
175845
175845
|
}
|
|
175846
175846
|
return { projectId: caller, source: "verbatim" };
|
|
175847
175847
|
} catch (error51) {
|
|
175848
|
-
logger.warn("[hook-attribution] resolution failed; using caller id (
|
|
175849
|
-
name: error51 instanceof Error ? error51.name : "unknown"
|
|
175850
|
-
});
|
|
175848
|
+
logger.warn("[hook-attribution] resolution failed; using caller id", safeErrorSummary(error51));
|
|
175851
175849
|
return { projectId: caller, source: "verbatim" };
|
|
175852
175850
|
}
|
|
175853
175851
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massa-ai/tools-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.1",
|
|
4
4
|
"author": "luizgmassa",
|
|
5
5
|
"description": "massa-ai REST API server - Semantic code search, memory, and context compression",
|
|
6
6
|
"type": "module",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"test": "bun scripts/run-tests-isolated.ts"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@massa-ai/core": "^1.
|
|
25
|
-
"@massa-ai/shared": "^1.
|
|
24
|
+
"@massa-ai/core": "^1.40.1",
|
|
25
|
+
"@massa-ai/shared": "^1.40.1",
|
|
26
26
|
"elysia": "^1.2.25",
|
|
27
27
|
"@elysiajs/swagger": "^1.2.0",
|
|
28
28
|
"@elysiajs/cors": "^1.2.0",
|