claudemesh-cli 1.0.0-alpha.29 → 1.0.0-alpha.30
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
|
@@ -5588,7 +5588,10 @@ ${lines.join(`
|
|
|
5588
5588
|
} catch {}
|
|
5589
5589
|
return;
|
|
5590
5590
|
}
|
|
5591
|
-
const
|
|
5591
|
+
const body = msg.plaintext ?? decryptFailedWarning(fromPubkey);
|
|
5592
|
+
const prioBadge = msg.priority === "now" ? "[URGENT] " : msg.priority === "low" ? "[low] " : "";
|
|
5593
|
+
const kindBadge = msg.kind === "broadcast" ? " (broadcast)" : "";
|
|
5594
|
+
const content = `${prioBadge}${fromName}${kindBadge}: ${body}`;
|
|
5592
5595
|
try {
|
|
5593
5596
|
await server.notification({
|
|
5594
5597
|
method: "notifications/claude/channel",
|
|
@@ -5607,7 +5610,7 @@ ${lines.join(`
|
|
|
5607
5610
|
}
|
|
5608
5611
|
}
|
|
5609
5612
|
});
|
|
5610
|
-
process.stderr.write(`[claudemesh] pushed: from=${fromName} content=${
|
|
5613
|
+
process.stderr.write(`[claudemesh] pushed: from=${fromName} content=${body.slice(0, 60)}
|
|
5611
5614
|
`);
|
|
5612
5615
|
} catch (pushErr) {
|
|
5613
5616
|
process.stderr.write(`[claudemesh] push FAILED: ${pushErr}
|
|
@@ -5801,4 +5804,4 @@ startMcpServer().catch((err) => {
|
|
|
5801
5804
|
process.exit(1);
|
|
5802
5805
|
});
|
|
5803
5806
|
|
|
5804
|
-
//# debugId=
|
|
5807
|
+
//# debugId=89A595C2EEA0442364756E2164756E21
|