claudemesh-cli 0.5.7 → 0.5.9
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.js +17 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48698,6 +48698,22 @@ ${rows.join(`
|
|
|
48698
48698
|
} catch {}
|
|
48699
48699
|
});
|
|
48700
48700
|
}
|
|
48701
|
+
setTimeout(async () => {
|
|
48702
|
+
const client = allClients()[0];
|
|
48703
|
+
if (!client || client.status !== "open")
|
|
48704
|
+
return;
|
|
48705
|
+
try {
|
|
48706
|
+
const peers = await client.listPeers();
|
|
48707
|
+
const peerNames = peers.filter((p) => p.displayName !== myName).map((p) => p.displayName).join(", ") || "none";
|
|
48708
|
+
await server.notification({
|
|
48709
|
+
method: "notifications/claude/channel",
|
|
48710
|
+
params: {
|
|
48711
|
+
content: `[system] Connected as ${myName} to mesh ${client.meshSlug}. ${peers.length} peer(s) online: ${peerNames}. Call mesh_info for full details or set_summary to announce yourself.`,
|
|
48712
|
+
meta: { kind: "welcome", mesh_slug: client.meshSlug }
|
|
48713
|
+
}
|
|
48714
|
+
});
|
|
48715
|
+
} catch {}
|
|
48716
|
+
}, 3000);
|
|
48701
48717
|
const keepalive = setInterval(() => {}, 1000);
|
|
48702
48718
|
const shutdown = () => {
|
|
48703
48719
|
clearInterval(keepalive);
|
|
@@ -49613,7 +49629,7 @@ init_config();
|
|
|
49613
49629
|
// package.json
|
|
49614
49630
|
var package_default = {
|
|
49615
49631
|
name: "claudemesh-cli",
|
|
49616
|
-
version: "0.5.
|
|
49632
|
+
version: "0.5.9",
|
|
49617
49633
|
description: "Claude Code MCP client for claudemesh — peer mesh messaging between Claude sessions.",
|
|
49618
49634
|
keywords: [
|
|
49619
49635
|
"claude-code",
|