@adhdev/daemon-standalone 0.9.82-rc.243 → 0.9.82-rc.244
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/index.js +2 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/mcp-server/index.js +22 -8
- package/vendor/mcp-server/index.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -37326,13 +37326,7 @@ Next step: ${nextStep}`;
|
|
|
37326
37326
|
}
|
|
37327
37327
|
return { success: true, forwarded: 0 };
|
|
37328
37328
|
}
|
|
37329
|
-
|
|
37330
|
-
const s = inst.getState();
|
|
37331
|
-
const status = readNonEmptyString2(s.status).toLowerCase();
|
|
37332
|
-
const activeChatStatus = readNonEmptyString2(s.activeChat?.status).toLowerCase();
|
|
37333
|
-
return status === "generating" || status === "streaming" || status === "long_generating" || activeChatStatus === "generating" || activeChatStatus === "streaming";
|
|
37334
|
-
});
|
|
37335
|
-
if (!isTerminalEvent || allCoordinatorsGenerating) {
|
|
37329
|
+
if (!isTerminalEvent) {
|
|
37336
37330
|
if (queuePendingMeshCoordinatorEvent({
|
|
37337
37331
|
event: args.event,
|
|
37338
37332
|
meshId: args.meshId,
|
|
@@ -37347,16 +37341,9 @@ Next step: ${nextStep}`;
|
|
|
37347
37341
|
queuedAt: Date.now(),
|
|
37348
37342
|
...workerCoordinatorDaemonId ? { targetCoordinatorDaemonId: workerCoordinatorDaemonId } : {}
|
|
37349
37343
|
})) {
|
|
37350
|
-
|
|
37351
|
-
LOG2.info("MeshEvents", `Queued ${args.event} for generating CLI coordinator (mesh ${args.meshId}) \u2014 will be delivered via get_pending_mesh_events when coordinator returns to idle`);
|
|
37352
|
-
} else {
|
|
37353
|
-
LOG2.info("MeshEvents", `Queued ${args.event} for MCP coordinator (mesh ${args.meshId})`);
|
|
37354
|
-
}
|
|
37344
|
+
LOG2.info("MeshEvents", `Queued ${args.event} for MCP coordinator (mesh ${args.meshId})`);
|
|
37355
37345
|
}
|
|
37356
37346
|
}
|
|
37357
|
-
if (allCoordinatorsGenerating) {
|
|
37358
|
-
return { success: true, forwarded: 0, bufferedForGeneratingCoordinator: true };
|
|
37359
|
-
}
|
|
37360
37347
|
for (const coord of coordinatorInstances) {
|
|
37361
37348
|
const coordState = coord.getState();
|
|
37362
37349
|
LOG2.info("MeshEvents", `Forwarding mesh event to coordinator ${coordState.instanceId}`);
|