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.
package/dist/entrypoints/mcp.js
CHANGED
|
@@ -1424,8 +1424,10 @@ class BrokerClient {
|
|
|
1424
1424
|
this.startStatsReporting();
|
|
1425
1425
|
if (msg.restored) {
|
|
1426
1426
|
const groups = msg.restoredGroups ? msg.restoredGroups.map((g) => g.role ? `@${g.name}:${g.role}` : `@${g.name}`).join(", ") : "none";
|
|
1427
|
-
|
|
1427
|
+
if (!this.opts.quiet) {
|
|
1428
|
+
process.stderr.write(`[claudemesh] session restored — last seen ${msg.lastSeenAt ?? "unknown"}, groups: ${groups}
|
|
1428
1429
|
`);
|
|
1430
|
+
}
|
|
1429
1431
|
if (msg.restoredStats) {
|
|
1430
1432
|
const rs = msg.restoredStats;
|
|
1431
1433
|
this._statsCounters.messagesIn = rs.messagesIn ?? 0;
|
|
@@ -3365,7 +3367,7 @@ async function withMesh(opts, fn) {
|
|
|
3365
3367
|
mesh = await pickMesh(config.meshes);
|
|
3366
3368
|
}
|
|
3367
3369
|
const displayName = opts.displayName ?? config.displayName ?? `${hostname()}-${process.pid}`;
|
|
3368
|
-
const client = new BrokerClient(mesh, { displayName });
|
|
3370
|
+
const client = new BrokerClient(mesh, { displayName, quiet: true });
|
|
3369
3371
|
try {
|
|
3370
3372
|
await client.connect();
|
|
3371
3373
|
const result = await fn(client, mesh);
|
|
@@ -3523,7 +3525,7 @@ __export(exports_urls, {
|
|
|
3523
3525
|
VERSION: () => VERSION,
|
|
3524
3526
|
URLS: () => URLS
|
|
3525
3527
|
});
|
|
3526
|
-
var URLS, VERSION = "1.0.0-alpha.
|
|
3528
|
+
var URLS, VERSION = "1.0.0-alpha.40", env;
|
|
3527
3529
|
var init_urls = __esm(() => {
|
|
3528
3530
|
URLS = {
|
|
3529
3531
|
BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
|
|
@@ -6557,4 +6559,4 @@ startMcpServer().catch((err) => {
|
|
|
6557
6559
|
process.exit(1);
|
|
6558
6560
|
});
|
|
6559
6561
|
|
|
6560
|
-
//# debugId=
|
|
6562
|
+
//# debugId=CCA5747403B744DA64756E2164756E21
|