@adhdev/daemon-core 0.9.82-rc.256 → 0.9.82-rc.257

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
@@ -7766,8 +7766,10 @@ function setupMeshEventForwarding(components) {
7766
7766
  if (!meshIdFromDirectDispatch) return;
7767
7767
  }
7768
7768
  const meshIdFromRuntime = readNonEmptyString2(settings.meshNodeFor) || meshIdFromDirectDispatch;
7769
- const isMeshDelegate = Boolean(meshIdFromRuntime || settings.launchedByCoordinator);
7770
- if (!isMeshDelegate) return;
7769
+ const hasWorkerEnvelope = Boolean(
7770
+ meshIdFromRuntime || settings.launchedByCoordinator || readNonEmptyString2(settings.meshCoordinatorDaemonId) || readNonEmptyString2(settings.meshCoordinatorNodeId)
7771
+ );
7772
+ if (!hasWorkerEnvelope) return;
7771
7773
  const mesh = meshIdFromRuntime ? getMeshWithCache(components, meshIdFromRuntime) : getCachedMeshByWorkspace(workspace);
7772
7774
  const meshId = meshIdFromRuntime || readNonEmptyString2(mesh?.id);
7773
7775
  if (!meshId) return;