@adhdev/daemon-core 0.9.82-rc.231 → 0.9.82-rc.232
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/router.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -43845,10 +43845,11 @@ ${tail}` : ""
|
|
|
43845
43845
|
}
|
|
43846
43846
|
const selfDaemonId = this.deps.statusInstanceId;
|
|
43847
43847
|
const isRemote = nodeDaemonId && selfDaemonId && nodeDaemonId !== selfDaemonId;
|
|
43848
|
-
if (isRemote && this.deps.dispatchMeshCommand) {
|
|
43848
|
+
if (isRemote && this.deps.dispatchMeshCommand && !args?._meshDirectDispatch) {
|
|
43849
43849
|
const forwarded = await this.deps.dispatchMeshCommand(nodeDaemonId, "fast_forward_mesh_node", {
|
|
43850
43850
|
...typeof args === "object" && args !== null ? args : {},
|
|
43851
|
-
workspace
|
|
43851
|
+
workspace,
|
|
43852
|
+
_meshDirectDispatch: true
|
|
43852
43853
|
});
|
|
43853
43854
|
return forwarded ?? { success: false, error: "no response from remote node" };
|
|
43854
43855
|
}
|