@adhdev/daemon-standalone 0.9.82-rc.391 → 0.9.82-rc.393
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 +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/mcp-server/index.js +10 -1
- package/vendor/mcp-server/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -3421,6 +3421,7 @@ async function meshEnqueueTask(ctx, args) {
|
|
|
3421
3421
|
}
|
|
3422
3422
|
{
|
|
3423
3423
|
const queueTrigger = await triggerMeshQueueAndReport(ctx);
|
|
3424
|
+
const coordinatorDaemonId = resolveCoordinatorDaemonId(ctx);
|
|
3424
3425
|
const dispatchPromises = [];
|
|
3425
3426
|
for (const node of ctx.mesh.nodes) {
|
|
3426
3427
|
const isLocalNode = isLocalControlPlaneNode(ctx, node);
|
|
@@ -3428,7 +3429,15 @@ async function meshEnqueueTask(ctx, args) {
|
|
|
3428
3429
|
if (targetNodeId && node.id !== targetNodeId) continue;
|
|
3429
3430
|
if (!(0, import_daemon_core3.nodeSatisfiesRequiredTags)(requiredTags, (0, import_daemon_core3.buildMeshNodeCapabilityTags)(node))) continue;
|
|
3430
3431
|
dispatchPromises.push(
|
|
3431
|
-
ipcDispatchToRemoteAgent(ctx, node, {
|
|
3432
|
+
ipcDispatchToRemoteAgent(ctx, node, {
|
|
3433
|
+
message: args.message,
|
|
3434
|
+
meshContext: {
|
|
3435
|
+
meshId: ctx.mesh.id,
|
|
3436
|
+
nodeId: node.id,
|
|
3437
|
+
taskId: task.id,
|
|
3438
|
+
...coordinatorDaemonId ? { coordinatorDaemonId } : {}
|
|
3439
|
+
}
|
|
3440
|
+
}).then((result) => {
|
|
3432
3441
|
if (result.success) {
|
|
3433
3442
|
try {
|
|
3434
3443
|
const providerType = result.providerType;
|