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

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.37", env;
91
+ var URLS, VERSION = "1.0.0-alpha.38", env;
92
92
  var init_urls = __esm(() => {
93
93
  URLS = {
94
94
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -6242,7 +6242,7 @@ async function runBan(target, opts = {}) {
6242
6242
  render.ok(`Banned ${result.banned} from ${meshSlug}. They cannot reconnect until unbanned.`);
6243
6243
  render.hint(`Undo: claudemesh unban ${result.banned} --mesh ${meshSlug}`);
6244
6244
  } else {
6245
- render.err(result?.error ?? "ban failed");
6245
+ render.err(result?.message ?? result?.error ?? result?.code ?? "ban failed");
6246
6246
  }
6247
6247
  return result?.banned ? EXIT.SUCCESS : EXIT.INTERNAL_ERROR;
6248
6248
  });
@@ -6263,7 +6263,7 @@ async function runUnban(target, opts = {}) {
6263
6263
  if (result?.unbanned) {
6264
6264
  render.ok(`Unbanned ${result.unbanned} from ${meshSlug}. They can rejoin.`);
6265
6265
  } else {
6266
- render.err(result?.error ?? "unban failed");
6266
+ render.err(result?.message ?? result?.error ?? result?.code ?? "unban failed");
6267
6267
  }
6268
6268
  return result?.unbanned ? EXIT.SUCCESS : EXIT.INTERNAL_ERROR;
6269
6269
  });
@@ -12671,4 +12671,4 @@ main().catch((err) => {
12671
12671
  process.exit(EXIT.INTERNAL_ERROR);
12672
12672
  });
12673
12673
 
12674
- //# debugId=95D625F3B4CFD9EA64756E2164756E21
12674
+ //# debugId=4E8DA2143168400964756E2164756E21