@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.mjs
CHANGED
|
@@ -43518,10 +43518,11 @@ ${tail}` : ""
|
|
|
43518
43518
|
}
|
|
43519
43519
|
const selfDaemonId = this.deps.statusInstanceId;
|
|
43520
43520
|
const isRemote = nodeDaemonId && selfDaemonId && nodeDaemonId !== selfDaemonId;
|
|
43521
|
-
if (isRemote && this.deps.dispatchMeshCommand) {
|
|
43521
|
+
if (isRemote && this.deps.dispatchMeshCommand && !args?._meshDirectDispatch) {
|
|
43522
43522
|
const forwarded = await this.deps.dispatchMeshCommand(nodeDaemonId, "fast_forward_mesh_node", {
|
|
43523
43523
|
...typeof args === "object" && args !== null ? args : {},
|
|
43524
|
-
workspace
|
|
43524
|
+
workspace,
|
|
43525
|
+
_meshDirectDispatch: true
|
|
43525
43526
|
});
|
|
43526
43527
|
return forwarded ?? { success: false, error: "no response from remote node" };
|
|
43527
43528
|
}
|