@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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/mesh/mesh-events-coordinator.ts +17 -2
package/dist/index.mjs
CHANGED
|
@@ -7760,8 +7760,10 @@ function setupMeshEventForwarding(components) {
|
|
|
7760
7760
|
if (!meshIdFromDirectDispatch) return;
|
|
7761
7761
|
}
|
|
7762
7762
|
const meshIdFromRuntime = readNonEmptyString2(settings.meshNodeFor) || meshIdFromDirectDispatch;
|
|
7763
|
-
const
|
|
7764
|
-
|
|
7763
|
+
const hasWorkerEnvelope = Boolean(
|
|
7764
|
+
meshIdFromRuntime || settings.launchedByCoordinator || readNonEmptyString2(settings.meshCoordinatorDaemonId) || readNonEmptyString2(settings.meshCoordinatorNodeId)
|
|
7765
|
+
);
|
|
7766
|
+
if (!hasWorkerEnvelope) return;
|
|
7765
7767
|
const mesh = meshIdFromRuntime ? getMeshWithCache(components, meshIdFromRuntime) : getCachedMeshByWorkspace(workspace);
|
|
7766
7768
|
const meshId = meshIdFromRuntime || readNonEmptyString2(mesh?.id);
|
|
7767
7769
|
if (!meshId) return;
|