claudemesh-cli 1.34.4 → 1.34.6
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
|
@@ -104,7 +104,7 @@ __export(exports_urls, {
|
|
|
104
104
|
VERSION: () => VERSION,
|
|
105
105
|
URLS: () => URLS
|
|
106
106
|
});
|
|
107
|
-
var URLS, VERSION = "1.34.
|
|
107
|
+
var URLS, VERSION = "1.34.6", env;
|
|
108
108
|
var init_urls = __esm(() => {
|
|
109
109
|
URLS = {
|
|
110
110
|
BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
|
|
@@ -18480,8 +18480,8 @@ ${mf.allowed_tools.map((t) => ` - ${t}`).join(`
|
|
|
18480
18480
|
} catch {}
|
|
18481
18481
|
}
|
|
18482
18482
|
});
|
|
18483
|
+
const WELCOME_GRACE_MS = 3000;
|
|
18483
18484
|
let welcomeSent = false;
|
|
18484
|
-
const WELCOME_GRACE_MS = 2000;
|
|
18485
18485
|
server.oninitialized = () => {
|
|
18486
18486
|
mcpLog("server_initialized");
|
|
18487
18487
|
if (welcomeSent)
|
|
@@ -18602,10 +18602,10 @@ async function emitMeshWelcome(server, mcpLog) {
|
|
|
18602
18602
|
self_session_pubkey: selfSessionPubkey ?? "",
|
|
18603
18603
|
self_role: selfRole ?? "",
|
|
18604
18604
|
mesh_slug: selfMeshSlug ?? "",
|
|
18605
|
-
peer_count: peerCount >= 0 ? peerCount :
|
|
18606
|
-
peer_names: peerNames,
|
|
18607
|
-
unread_count: inboxItems.length,
|
|
18608
|
-
latest_message_ids: inboxItems.slice(0, 10).map((it) => String(it.id ?? ""))
|
|
18605
|
+
peer_count: peerCount >= 0 ? String(peerCount) : "",
|
|
18606
|
+
peer_names: JSON.stringify(peerNames),
|
|
18607
|
+
unread_count: String(inboxItems.length),
|
|
18608
|
+
latest_message_ids: JSON.stringify(inboxItems.slice(0, 10).map((it) => String(it.id ?? "")))
|
|
18609
18609
|
}
|
|
18610
18610
|
}
|
|
18611
18611
|
});
|
|
@@ -20656,4 +20656,4 @@ main().catch((err) => {
|
|
|
20656
20656
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
20657
20657
|
});
|
|
20658
20658
|
|
|
20659
|
-
//# debugId=
|
|
20659
|
+
//# debugId=944F6ED12781882C64756E2164756E21
|