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/cli.js
CHANGED
|
@@ -11640,7 +11640,10 @@ ${lines.join(`
|
|
|
11640
11640
|
} catch {}
|
|
11641
11641
|
return;
|
|
11642
11642
|
}
|
|
11643
|
-
const
|
|
11643
|
+
const body = msg.plaintext ?? decryptFailedWarning(fromPubkey);
|
|
11644
|
+
const prioBadge = msg.priority === "now" ? "[URGENT] " : msg.priority === "low" ? "[low] " : "";
|
|
11645
|
+
const kindBadge = msg.kind === "broadcast" ? " (broadcast)" : "";
|
|
11646
|
+
const content = `${prioBadge}${fromName}${kindBadge}: ${body}`;
|
|
11644
11647
|
try {
|
|
11645
11648
|
await server.notification({
|
|
11646
11649
|
method: "notifications/claude/channel",
|
|
@@ -11659,7 +11662,7 @@ ${lines.join(`
|
|
|
11659
11662
|
}
|
|
11660
11663
|
}
|
|
11661
11664
|
});
|
|
11662
|
-
process.stderr.write(`[claudemesh] pushed: from=${fromName} content=${
|
|
11665
|
+
process.stderr.write(`[claudemesh] pushed: from=${fromName} content=${body.slice(0, 60)}
|
|
11663
11666
|
`);
|
|
11664
11667
|
} catch (pushErr) {
|
|
11665
11668
|
process.stderr.write(`[claudemesh] push FAILED: ${pushErr}
|
|
@@ -12449,4 +12452,4 @@ main().catch((err) => {
|
|
|
12449
12452
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
12450
12453
|
});
|
|
12451
12454
|
|
|
12452
|
-
//# debugId=
|
|
12455
|
+
//# debugId=AF03F88BC783BD6C64756E2164756E21
|