@crabeye-ai/crabeye-mcp-bridge 1.2.0 → 1.2.1

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.
@@ -7,7 +7,7 @@ import {
7
7
  DAEMON_RUN_SUBDIR,
8
8
  DAEMON_SOCKET_FILENAME,
9
9
  PROCESS_TRACKER_FILENAME
10
- } from "./chunk-TGVTIQEU.js";
10
+ } from "./chunk-SJJMYXUT.js";
11
11
 
12
12
  // src/logging/index.ts
13
13
  var LEVEL_VALUE = {
@@ -2020,7 +2020,10 @@ var ManagerDaemon = class {
2020
2020
  result: {
2021
2021
  protocolVersion: initResult.protocolVersion,
2022
2022
  serverInfo: initResult.serverInfo,
2023
- capabilities: initResult.capabilities
2023
+ capabilities: initResult.capabilities,
2024
+ ...typeof initResult.instructions === "string" && {
2025
+ instructions: initResult.instructions
2026
+ }
2024
2027
  }
2025
2028
  }
2026
2029
  }
@@ -2291,10 +2294,14 @@ var ManagerDaemon = class {
2291
2294
  const restored = routing.payload;
2292
2295
  const result = restored.result;
2293
2296
  if (result !== void 0 && typeof result.protocolVersion === "string" && typeof result.serverInfo === "object" && result.serverInfo !== null && typeof result.capabilities === "object" && result.capabilities !== null) {
2297
+ const DAEMON_INSTRUCTIONS_CAP = 64 * 1024;
2298
+ const rawInstr = result.instructions;
2299
+ const instrToCache = typeof rawInstr === "string" && rawInstr.length > 0 ? rawInstr.slice(0, DAEMON_INSTRUCTIONS_CAP) : void 0;
2294
2300
  group.child.setCachedInit({
2295
2301
  protocolVersion: result.protocolVersion,
2296
2302
  serverInfo: result.serverInfo,
2297
- capabilities: result.capabilities
2303
+ capabilities: result.capabilities,
2304
+ ...instrToCache !== void 0 && { instructions: instrToCache }
2298
2305
  });
2299
2306
  }
2300
2307
  }
@@ -3363,4 +3370,4 @@ export {
3363
3370
  ensureDaemonRunning,
3364
3371
  DaemonLivenessSupervisor
3365
3372
  };
3366
- //# sourceMappingURL=chunk-R3ZSKJAO.js.map
3373
+ //# sourceMappingURL=chunk-MYYVB4RG.js.map