@triedotdev/mcp 1.0.130 → 1.0.132
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.
|
@@ -5931,11 +5931,13 @@ function formatToolInput(input) {
|
|
|
5931
5931
|
for (const [k, v] of Object.entries(input)) {
|
|
5932
5932
|
if (k === "directory") continue;
|
|
5933
5933
|
if (Array.isArray(v)) {
|
|
5934
|
-
if (v.length > 0 && typeof v[0] === "object") {
|
|
5934
|
+
if (v.length > 0 && typeof v[0] === "object" && v[0] !== null) {
|
|
5935
5935
|
parts.push(`${k}: [${v.length} item${v.length !== 1 ? "s" : ""}]`);
|
|
5936
5936
|
} else {
|
|
5937
5937
|
parts.push(`${k}: [${v.join(", ")}]`);
|
|
5938
5938
|
}
|
|
5939
|
+
} else if (typeof v === "object" && v !== null) {
|
|
5940
|
+
parts.push(`${k}: {object}`);
|
|
5939
5941
|
} else {
|
|
5940
5942
|
parts.push(`${k}: ${String(v)}`);
|
|
5941
5943
|
}
|
|
@@ -6556,4 +6558,4 @@ export {
|
|
|
6556
6558
|
handleCheckpointTool,
|
|
6557
6559
|
InteractiveDashboard
|
|
6558
6560
|
};
|
|
6559
|
-
//# sourceMappingURL=chunk-
|
|
6561
|
+
//# sourceMappingURL=chunk-PQ4OTP4D.js.map
|