agentseal 0.5.1 → 0.5.2
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5223,7 +5223,8 @@ function scanMachine() {
|
|
|
5223
5223
|
const seenServers = /* @__PURE__ */ new Set();
|
|
5224
5224
|
const uniqueServers = [];
|
|
5225
5225
|
for (const srv of allMCPServers) {
|
|
5226
|
-
const
|
|
5226
|
+
const cmd = srv.command ?? srv.url ?? "";
|
|
5227
|
+
const id = Array.isArray(cmd) ? cmd.join(" ") : String(cmd);
|
|
5227
5228
|
const key = `${srv.name}::${id}`;
|
|
5228
5229
|
if (!seenServers.has(key)) {
|
|
5229
5230
|
seenServers.add(key);
|