@adhdev/daemon-standalone 0.9.82-rc.229 → 0.9.82-rc.230

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-standalone",
3
- "version": "0.9.82-rc.229",
3
+ "version": "0.9.82-rc.230",
4
4
  "description": "ADHDev standalone daemon — embedded HTTP/WS server for local dashboard",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -2994,6 +2994,7 @@ async function meshSendTask(ctx, args) {
2994
2994
  if (ctx.transport instanceof IpcTransport && node.daemonId && !isLocalNode) {
2995
2995
  const cached = getSessionMetadata(meshSessionCacheKey(args.node_id, args.session_id || ""));
2996
2996
  const taskId = (0, import_node_crypto.randomUUID)();
2997
+ const coordinatorDaemonId = resolveCoordinatorNode(ctx)?.daemonId || ctx.localDaemonId;
2997
2998
  const result2 = await ipcDispatchToRemoteAgent(ctx, node, {
2998
2999
  session_id: args.session_id,
2999
3000
  message: args.message,
@@ -3002,7 +3003,8 @@ async function meshSendTask(ctx, args) {
3002
3003
  meshContext: {
3003
3004
  meshId: ctx.mesh.id,
3004
3005
  nodeId: args.node_id,
3005
- taskId
3006
+ taskId,
3007
+ ...coordinatorDaemonId ? { coordinatorDaemonId } : {}
3006
3008
  }
3007
3009
  });
3008
3010
  if (result2.success) {