@adhdev/daemon-core 0.9.82-rc.242 → 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 CHANGED
@@ -7569,13 +7569,7 @@ function injectMeshSystemMessage(components, args) {
7569
7569
  }
7570
7570
  return { success: true, forwarded: 0 };
7571
7571
  }
7572
- const allCoordinatorsGenerating = isTerminalEvent && coordinatorInstances.every((inst) => {
7573
- const s = inst.getState();
7574
- const status = readNonEmptyString2(s.status).toLowerCase();
7575
- const activeChatStatus = readNonEmptyString2(s.activeChat?.status).toLowerCase();
7576
- return status === "generating" || status === "streaming" || status === "long_generating" || activeChatStatus === "generating" || activeChatStatus === "streaming";
7577
- });
7578
- if (!isTerminalEvent || allCoordinatorsGenerating) {
7572
+ if (!isTerminalEvent) {
7579
7573
  if (queuePendingMeshCoordinatorEvent({
7580
7574
  event: args.event,
7581
7575
  meshId: args.meshId,
@@ -7590,16 +7584,9 @@ function injectMeshSystemMessage(components, args) {
7590
7584
  queuedAt: Date.now(),
7591
7585
  ...workerCoordinatorDaemonId ? { targetCoordinatorDaemonId: workerCoordinatorDaemonId } : {}
7592
7586
  })) {
7593
- if (allCoordinatorsGenerating) {
7594
- LOG.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`);
7595
- } else {
7596
- LOG.info("MeshEvents", `Queued ${args.event} for MCP coordinator (mesh ${args.meshId})`);
7597
- }
7587
+ LOG.info("MeshEvents", `Queued ${args.event} for MCP coordinator (mesh ${args.meshId})`);
7598
7588
  }
7599
7589
  }
7600
- if (allCoordinatorsGenerating) {
7601
- return { success: true, forwarded: 0, bufferedForGeneratingCoordinator: true };
7602
- }
7603
7590
  for (const coord of coordinatorInstances) {
7604
7591
  const coordState = coord.getState();
7605
7592
  LOG.info("MeshEvents", `Forwarding mesh event to coordinator ${coordState.instanceId}`);