claudemesh-cli 1.0.0-alpha.38 → 1.0.0-alpha.39

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.
@@ -88,7 +88,7 @@ __export(exports_urls, {
88
88
  VERSION: () => VERSION,
89
89
  URLS: () => URLS
90
90
  });
91
- var URLS, VERSION = "1.0.0-alpha.38", env;
91
+ var URLS, VERSION = "1.0.0-alpha.39", env;
92
92
  var init_urls = __esm(() => {
93
93
  URLS = {
94
94
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -6318,7 +6318,9 @@ async function runPeers(flags) {
6318
6318
  for (const slug of slugs) {
6319
6319
  try {
6320
6320
  await withMesh({ meshSlug: slug }, async (client, mesh) => {
6321
- const peers = await client.listPeers();
6321
+ const allPeers = await client.listPeers();
6322
+ const selfPubkey = client.getSessionPubkey();
6323
+ const peers = selfPubkey ? allPeers.filter((p) => p.pubkey !== selfPubkey) : allPeers;
6322
6324
  if (flags.json) {
6323
6325
  allJson.push({ mesh: mesh.slug, peers });
6324
6326
  return;
@@ -12671,4 +12673,4 @@ main().catch((err) => {
12671
12673
  process.exit(EXIT.INTERNAL_ERROR);
12672
12674
  });
12673
12675
 
12674
- //# debugId=4E8DA2143168400964756E2164756E21
12676
+ //# debugId=191EF98080348C3C64756E2164756E21