@adhdev/daemon-core 0.9.82-rc.232 → 0.9.82-rc.233

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-core",
3
- "version": "0.9.82-rc.232",
3
+ "version": "0.9.82-rc.233",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -258,11 +258,18 @@ export function tryAssignQueueTask(
258
258
  message: task.message,
259
259
  status: 'delivering',
260
260
  });
261
+ const localDaemonIdForDispatch = readNonEmptyString(loadConfig().machineId) || undefined;
261
262
  components.dispatchMeshCommand(node.daemonId, 'agent_command', {
262
263
  targetSessionId: sessionId,
263
264
  cliType: providerType,
264
265
  action: 'send_chat',
265
266
  message: task.message,
267
+ meshContext: {
268
+ meshId,
269
+ nodeId,
270
+ taskId: task.id,
271
+ ...(localDaemonIdForDispatch ? { coordinatorDaemonId: localDaemonIdForDispatch } : {}),
272
+ },
266
273
  }).then(() => {
267
274
  updateSessionDeliveryStatus(delivery.id, 'delivered');
268
275
  }).catch((e: any) => {