@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.
- package/dist/{chunk-R3ZSKJAO.js → chunk-MYYVB4RG.js} +11 -4
- package/dist/chunk-MYYVB4RG.js.map +1 -0
- package/dist/{chunk-TGVTIQEU.js → chunk-SJJMYXUT.js} +16 -3
- package/dist/chunk-SJJMYXUT.js.map +1 -0
- package/dist/{daemon-H6ICAFWF.js → daemon-YX3MOJGR.js} +3 -3
- package/dist/index.js +171 -27
- package/dist/index.js.map +1 -1
- package/dist/{init-RYB2DWAQ.js → init-HIC7WGLC.js} +2 -2
- package/dist/{restore-AU4RJCMZ.js → restore-ACYQGA7Y.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-R3ZSKJAO.js.map +0 -1
- package/dist/chunk-TGVTIQEU.js.map +0 -1
- /package/dist/{daemon-H6ICAFWF.js.map → daemon-YX3MOJGR.js.map} +0 -0
- /package/dist/{init-RYB2DWAQ.js.map → init-HIC7WGLC.js.map} +0 -0
- /package/dist/{restore-AU4RJCMZ.js.map → restore-ACYQGA7Y.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
DAEMON_RUN_SUBDIR,
|
|
8
8
|
DAEMON_SOCKET_FILENAME,
|
|
9
9
|
PROCESS_TRACKER_FILENAME
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
3373
|
+
//# sourceMappingURL=chunk-MYYVB4RG.js.map
|