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

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.39", env;
91
+ var URLS, VERSION = "1.0.0-alpha.40", env;
92
92
  var init_urls = __esm(() => {
93
93
  URLS = {
94
94
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -1257,8 +1257,10 @@ class BrokerClient {
1257
1257
  this.startStatsReporting();
1258
1258
  if (msg.restored) {
1259
1259
  const groups = msg.restoredGroups ? msg.restoredGroups.map((g) => g.role ? `@${g.name}:${g.role}` : `@${g.name}`).join(", ") : "none";
1260
- process.stderr.write(`[claudemesh] session restored — last seen ${msg.lastSeenAt ?? "unknown"}, groups: ${groups}
1260
+ if (!this.opts.quiet) {
1261
+ process.stderr.write(`[claudemesh] session restored — last seen ${msg.lastSeenAt ?? "unknown"}, groups: ${groups}
1261
1262
  `);
1263
+ }
1262
1264
  if (msg.restoredStats) {
1263
1265
  const rs = msg.restoredStats;
1264
1266
  this._statsCounters.messagesIn = rs.messagesIn ?? 0;
@@ -6144,7 +6146,7 @@ async function withMesh(opts, fn) {
6144
6146
  mesh = await pickMesh(config.meshes);
6145
6147
  }
6146
6148
  const displayName = opts.displayName ?? config.displayName ?? `${hostname4()}-${process.pid}`;
6147
- const client = new BrokerClient(mesh, { displayName });
6149
+ const client = new BrokerClient(mesh, { displayName, quiet: true });
6148
6150
  try {
6149
6151
  await client.connect();
6150
6152
  const result = await fn(client, mesh);
@@ -12673,4 +12675,4 @@ main().catch((err) => {
12673
12675
  process.exit(EXIT.INTERNAL_ERROR);
12674
12676
  });
12675
12677
 
12676
- //# debugId=191EF98080348C3C64756E2164756E21
12678
+ //# debugId=BEBAC38EF8097F0D64756E2164756E21