claudemesh-cli 1.34.4 → 1.34.5

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.
@@ -81,7 +81,7 @@ __export(exports_urls, {
81
81
  VERSION: () => VERSION,
82
82
  URLS: () => URLS
83
83
  });
84
- var URLS, VERSION = "1.34.4", env;
84
+ var URLS, VERSION = "1.34.5", env;
85
85
  var init_urls = __esm(() => {
86
86
  URLS = {
87
87
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -3003,16 +3003,18 @@ ${mf.allowed_tools.map((t) => ` - ${t}`).join(`
3003
3003
  } catch {}
3004
3004
  }
3005
3005
  });
3006
- let welcomeSent = false;
3007
- const WELCOME_GRACE_MS = 2000;
3006
+ const WELCOME_GRACE_FAST_MS = 5000;
3007
+ const WELCOME_GRACE_SLOW_MS = 15000;
3008
3008
  server.oninitialized = () => {
3009
3009
  mcpLog("server_initialized");
3010
- if (welcomeSent)
3011
- return;
3012
- welcomeSent = true;
3013
3010
  setTimeout(() => {
3011
+ mcpLog("welcome_attempt", { lane: "fast", grace_ms: WELCOME_GRACE_FAST_MS });
3012
+ emitMeshWelcome(server, mcpLog);
3013
+ }, WELCOME_GRACE_FAST_MS);
3014
+ setTimeout(() => {
3015
+ mcpLog("welcome_attempt", { lane: "slow", grace_ms: WELCOME_GRACE_SLOW_MS });
3014
3016
  emitMeshWelcome(server, mcpLog);
3015
- }, WELCOME_GRACE_MS);
3017
+ }, WELCOME_GRACE_SLOW_MS);
3016
3018
  };
3017
3019
  const transport = new StdioServerTransport;
3018
3020
  await server.connect(transport);
@@ -3253,4 +3255,4 @@ startMcpServer().catch((err) => {
3253
3255
  process.exit(1);
3254
3256
  });
3255
3257
 
3256
- //# debugId=37722A693A6DEC1564756E2164756E21
3258
+ //# debugId=5B72C4535C08E7F264756E2164756E21