@adhdev/daemon-standalone 0.9.82-rc.394 → 0.9.82-rc.396
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 +45 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/mcp-server/index.js +6 -3
- package/vendor/mcp-server/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1650,7 +1650,8 @@ function buildDirectTaskPayload(message, via, opts) {
|
|
|
1650
1650
|
...opts.taskMode ? { taskMode: opts.taskMode } : {},
|
|
1651
1651
|
...opts.providerType ? { providerType: opts.providerType } : {},
|
|
1652
1652
|
...opts.targetSessionId ? { targetSessionId: opts.targetSessionId } : {},
|
|
1653
|
-
...opts.dispatchedToIdleSession !== void 0 ? { dispatchedToIdleSession: opts.dispatchedToIdleSession } : {}
|
|
1653
|
+
...opts.dispatchedToIdleSession !== void 0 ? { dispatchedToIdleSession: opts.dispatchedToIdleSession } : {},
|
|
1654
|
+
...opts.coordinatorSessionId ? { coordinatorSessionId: opts.coordinatorSessionId } : {}
|
|
1654
1655
|
};
|
|
1655
1656
|
}
|
|
1656
1657
|
function findNode(mesh, nodeId) {
|
|
@@ -4089,7 +4090,8 @@ async function meshSendTask(ctx, args) {
|
|
|
4089
4090
|
taskId,
|
|
4090
4091
|
taskMode,
|
|
4091
4092
|
providerType,
|
|
4092
|
-
targetSessionId: dispatchedSessionId
|
|
4093
|
+
targetSessionId: dispatchedSessionId,
|
|
4094
|
+
...ctx.coordinatorSessionId ? { coordinatorSessionId: ctx.coordinatorSessionId } : {}
|
|
4093
4095
|
})
|
|
4094
4096
|
});
|
|
4095
4097
|
(0, import_daemon_core3.insertDirectDispatch)(ctx.mesh.id, {
|
|
@@ -4245,7 +4247,8 @@ async function meshSendTask(ctx, args) {
|
|
|
4245
4247
|
taskMode,
|
|
4246
4248
|
providerType: resolvedProviderType,
|
|
4247
4249
|
targetSessionId: args.session_id,
|
|
4248
|
-
dispatchedToIdleSession: sessionWasIdle
|
|
4250
|
+
dispatchedToIdleSession: sessionWasIdle,
|
|
4251
|
+
...ctx.coordinatorSessionId ? { coordinatorSessionId: ctx.coordinatorSessionId } : {}
|
|
4249
4252
|
})
|
|
4250
4253
|
});
|
|
4251
4254
|
} catch {
|