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.
@@ -104,7 +104,7 @@ __export(exports_urls, {
104
104
  VERSION: () => VERSION,
105
105
  URLS: () => URLS
106
106
  });
107
- var URLS, VERSION = "1.34.4", env;
107
+ var URLS, VERSION = "1.34.5", env;
108
108
  var init_urls = __esm(() => {
109
109
  URLS = {
110
110
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -18480,16 +18480,18 @@ ${mf.allowed_tools.map((t) => ` - ${t}`).join(`
18480
18480
  } catch {}
18481
18481
  }
18482
18482
  });
18483
- let welcomeSent = false;
18484
- const WELCOME_GRACE_MS = 2000;
18483
+ const WELCOME_GRACE_FAST_MS = 5000;
18484
+ const WELCOME_GRACE_SLOW_MS = 15000;
18485
18485
  server.oninitialized = () => {
18486
18486
  mcpLog("server_initialized");
18487
- if (welcomeSent)
18488
- return;
18489
- welcomeSent = true;
18490
18487
  setTimeout(() => {
18488
+ mcpLog("welcome_attempt", { lane: "fast", grace_ms: WELCOME_GRACE_FAST_MS });
18489
+ emitMeshWelcome(server, mcpLog);
18490
+ }, WELCOME_GRACE_FAST_MS);
18491
+ setTimeout(() => {
18492
+ mcpLog("welcome_attempt", { lane: "slow", grace_ms: WELCOME_GRACE_SLOW_MS });
18491
18493
  emitMeshWelcome(server, mcpLog);
18492
- }, WELCOME_GRACE_MS);
18494
+ }, WELCOME_GRACE_SLOW_MS);
18493
18495
  };
18494
18496
  const transport = new StdioServerTransport;
18495
18497
  await server.connect(transport);
@@ -20656,4 +20658,4 @@ main().catch((err) => {
20656
20658
  process.exit(EXIT.INTERNAL_ERROR);
20657
20659
  });
20658
20660
 
20659
- //# debugId=A642AC8B680B8F3E64756E2164756E21
20661
+ //# debugId=EF9DE01AAAC037BD64756E2164756E21