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