@adhdev/daemon-standalone 0.9.82-rc.179 → 0.9.82-rc.180

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
@@ -40142,6 +40142,18 @@ Next step: ${nextStep}`;
40142
40142
  } catch {
40143
40143
  }
40144
40144
  if (!meshIdFromDirectDispatch) return;
40145
+ } else {
40146
+ const workspaceMesh = getCachedMeshByWorkspace(workspace);
40147
+ const workspaceMeshId = readNonEmptyString2(workspaceMesh?.id);
40148
+ if (workspaceMeshId) {
40149
+ try {
40150
+ const activeDispatches = getActiveDirectDispatches(workspaceMeshId);
40151
+ if (activeDispatches.some((d) => d.sessionId === instanceId) || hasUnterminalDirectDispatchLedgerEntry(workspaceMeshId, instanceId)) {
40152
+ meshIdFromDirectDispatch = workspaceMeshId;
40153
+ }
40154
+ } catch {
40155
+ }
40156
+ }
40145
40157
  }
40146
40158
  const meshIdFromRuntime = readNonEmptyString2(settings.meshNodeFor) || meshIdFromDirectDispatch;
40147
40159
  const isMeshDelegate = Boolean(meshIdFromRuntime || settings.launchedByCoordinator);