adhdev 0.9.77-rc.16 → 0.9.77-rc.17
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/cli/index.js
CHANGED
|
@@ -95893,7 +95893,7 @@ var init_adhdev_daemon = __esm({
|
|
|
95893
95893
|
init_version();
|
|
95894
95894
|
init_src();
|
|
95895
95895
|
init_runtime_defaults();
|
|
95896
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.
|
|
95896
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.17" });
|
|
95897
95897
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
95898
95898
|
localHttpServer = null;
|
|
95899
95899
|
localWss = null;
|
package/dist/index.js
CHANGED
|
@@ -64729,7 +64729,7 @@ var init_adhdev_daemon = __esm({
|
|
|
64729
64729
|
init_version();
|
|
64730
64730
|
init_src();
|
|
64731
64731
|
init_runtime_defaults();
|
|
64732
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.
|
|
64732
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.17" });
|
|
64733
64733
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
64734
64734
|
localHttpServer = null;
|
|
64735
64735
|
localWss = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adhdev",
|
|
3
|
-
"version": "0.9.77-rc.
|
|
3
|
+
"version": "0.9.77-rc.17",
|
|
4
4
|
"description": "ADHDev — Agent Dashboard Hub for Dev. Remote-control AI coding agents from anywhere.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"node": ">=18"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@adhdev/daemon-core": "0.9.77-rc.
|
|
50
|
+
"@adhdev/daemon-core": "0.9.77-rc.17",
|
|
51
51
|
"@adhdev/ghostty-vt-node": "*",
|
|
52
52
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
53
|
"@xterm/addon-serialize": "^0.14.0",
|
|
@@ -57833,10 +57833,7 @@ async function meshListNodes(ctx) {
|
|
|
57833
57833
|
async function meshEnqueueTask(ctx, args) {
|
|
57834
57834
|
try {
|
|
57835
57835
|
const task = enqueueTask(ctx.mesh.id, args.message);
|
|
57836
|
-
if (ctx.transport
|
|
57837
|
-
ctx.transport.meshCommand(ctx.localDaemonId, "trigger_mesh_queue", { meshId: ctx.mesh.id }).catch(() => {
|
|
57838
|
-
});
|
|
57839
|
-
} else if (isLocalTransport(ctx.transport)) {
|
|
57836
|
+
if (isLocalTransport(ctx.transport)) {
|
|
57840
57837
|
ctx.transport.command("trigger_mesh_queue", { meshId: ctx.mesh.id }).catch(() => {
|
|
57841
57838
|
});
|
|
57842
57839
|
}
|
|
@@ -57868,7 +57865,8 @@ async function meshSendTask(ctx, args) {
|
|
|
57868
57865
|
return JSON.stringify(res);
|
|
57869
57866
|
}
|
|
57870
57867
|
const task = enqueueTask(ctx.mesh.id, args.message, { targetNodeId: args.node_id });
|
|
57871
|
-
|
|
57868
|
+
const isLocalNode = ctx.localMachineId && node.machineId === ctx.localMachineId || ctx.localDaemonId && node.daemonId === ctx.localDaemonId;
|
|
57869
|
+
if (ctx.transport instanceof IpcTransport && node.daemonId && !isLocalNode) {
|
|
57872
57870
|
ctx.transport.meshCommand(node.daemonId, "trigger_mesh_queue", { meshId: ctx.mesh.id }).catch(() => {
|
|
57873
57871
|
});
|
|
57874
57872
|
} else if (isLocalTransport(ctx.transport)) {
|
|
@@ -58015,7 +58013,8 @@ async function meshLaunchSession(ctx, args) {
|
|
|
58015
58013
|
});
|
|
58016
58014
|
} catch {
|
|
58017
58015
|
}
|
|
58018
|
-
|
|
58016
|
+
const isLocalNode = ctx.localMachineId && node.machineId === ctx.localMachineId || ctx.localDaemonId && node.daemonId === ctx.localDaemonId;
|
|
58017
|
+
if (ctx.transport instanceof IpcTransport && node.daemonId && !isLocalNode) {
|
|
58019
58018
|
ctx.transport.meshCommand(node.daemonId, "trigger_mesh_queue", { meshId: ctx.mesh.id }).catch(() => {
|
|
58020
58019
|
});
|
|
58021
58020
|
} else if (isLocalTransport(ctx.transport)) {
|