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/mcp.js
CHANGED
|
@@ -81,7 +81,7 @@ __export(exports_urls, {
|
|
|
81
81
|
VERSION: () => VERSION,
|
|
82
82
|
URLS: () => URLS
|
|
83
83
|
});
|
|
84
|
-
var URLS, VERSION = "1.34.
|
|
84
|
+
var URLS, VERSION = "1.34.6", env;
|
|
85
85
|
var init_urls = __esm(() => {
|
|
86
86
|
URLS = {
|
|
87
87
|
BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
|
|
@@ -3003,8 +3003,8 @@ ${mf.allowed_tools.map((t) => ` - ${t}`).join(`
|
|
|
3003
3003
|
} catch {}
|
|
3004
3004
|
}
|
|
3005
3005
|
});
|
|
3006
|
+
const WELCOME_GRACE_MS = 3000;
|
|
3006
3007
|
let welcomeSent = false;
|
|
3007
|
-
const WELCOME_GRACE_MS = 2000;
|
|
3008
3008
|
server.oninitialized = () => {
|
|
3009
3009
|
mcpLog("server_initialized");
|
|
3010
3010
|
if (welcomeSent)
|
|
@@ -3125,10 +3125,10 @@ async function emitMeshWelcome(server, mcpLog) {
|
|
|
3125
3125
|
self_session_pubkey: selfSessionPubkey ?? "",
|
|
3126
3126
|
self_role: selfRole ?? "",
|
|
3127
3127
|
mesh_slug: selfMeshSlug ?? "",
|
|
3128
|
-
peer_count: peerCount >= 0 ? peerCount :
|
|
3129
|
-
peer_names: peerNames,
|
|
3130
|
-
unread_count: inboxItems.length,
|
|
3131
|
-
latest_message_ids: inboxItems.slice(0, 10).map((it) => String(it.id ?? ""))
|
|
3128
|
+
peer_count: peerCount >= 0 ? String(peerCount) : "",
|
|
3129
|
+
peer_names: JSON.stringify(peerNames),
|
|
3130
|
+
unread_count: String(inboxItems.length),
|
|
3131
|
+
latest_message_ids: JSON.stringify(inboxItems.slice(0, 10).map((it) => String(it.id ?? "")))
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
3134
3134
|
});
|
|
@@ -3253,4 +3253,4 @@ startMcpServer().catch((err) => {
|
|
|
3253
3253
|
process.exit(1);
|
|
3254
3254
|
});
|
|
3255
3255
|
|
|
3256
|
-
//# debugId=
|
|
3256
|
+
//# debugId=4F71089DFFB6986164756E2164756E21
|