adhdev 0.9.82-rc.22 → 0.9.82-rc.24
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 +342 -206
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +342 -206
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/vendor/mcp-server/index.js +5 -5
- package/vendor/mcp-server/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adhdev",
|
|
3
|
-
"version": "0.9.82-rc.
|
|
3
|
+
"version": "0.9.82-rc.24",
|
|
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.82-rc.
|
|
50
|
+
"@adhdev/daemon-core": "0.9.82-rc.24",
|
|
51
51
|
"@adhdev/ghostty-vt-node": "*",
|
|
52
52
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
53
|
"@xterm/addon-serialize": "^0.14.0",
|
|
@@ -1231,7 +1231,7 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
|
|
|
1231
1231
|
const surfacedEvents = [];
|
|
1232
1232
|
try {
|
|
1233
1233
|
surfacedEvents.push(
|
|
1234
|
-
...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", {})).filter(matchesCurrentMesh)
|
|
1234
|
+
...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", { meshId: ctx.mesh.id })).filter(matchesCurrentMesh)
|
|
1235
1235
|
);
|
|
1236
1236
|
} catch {
|
|
1237
1237
|
}
|
|
@@ -1240,7 +1240,7 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
|
|
|
1240
1240
|
if (requestedNodeIds && !requestedNodeIds.has(node.id)) continue;
|
|
1241
1241
|
try {
|
|
1242
1242
|
const remoteEvents = normalizePendingMeshCoordinatorEvents(
|
|
1243
|
-
await ctx.transport.meshCommand(node.daemonId, "get_pending_mesh_events", {})
|
|
1243
|
+
await ctx.transport.meshCommand(node.daemonId, "get_pending_mesh_events", { meshId: ctx.mesh.id })
|
|
1244
1244
|
).filter(matchesCurrentMesh);
|
|
1245
1245
|
if (remoteEvents.length === 0) continue;
|
|
1246
1246
|
for (const event of remoteEvents) {
|
|
@@ -1253,14 +1253,14 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
try {
|
|
1255
1255
|
surfacedEvents.push(
|
|
1256
|
-
...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", {})).filter(matchesCurrentMesh)
|
|
1256
|
+
...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", { meshId: ctx.mesh.id })).filter(matchesCurrentMesh)
|
|
1257
1257
|
);
|
|
1258
1258
|
} catch {
|
|
1259
1259
|
}
|
|
1260
1260
|
return surfacedEvents;
|
|
1261
1261
|
}
|
|
1262
1262
|
if (isLocalTransport(ctx.transport)) {
|
|
1263
|
-
return (0, import_daemon_core.drainPendingMeshCoordinatorEvents)().filter(matchesCurrentMesh);
|
|
1263
|
+
return (0, import_daemon_core.drainPendingMeshCoordinatorEvents)(ctx.mesh.id).filter(matchesCurrentMesh);
|
|
1264
1264
|
}
|
|
1265
1265
|
return [];
|
|
1266
1266
|
}
|
|
@@ -2067,7 +2067,7 @@ async function meshSendTask(ctx, args) {
|
|
|
2067
2067
|
ctx.transport.command("trigger_mesh_queue", { meshId: ctx.mesh.id }).catch(() => {
|
|
2068
2068
|
});
|
|
2069
2069
|
}
|
|
2070
|
-
const pendingEvents = isLocalTransport(ctx.transport) ? (0, import_daemon_core.drainPendingMeshCoordinatorEvents)() : [];
|
|
2070
|
+
const pendingEvents = isLocalTransport(ctx.transport) ? (0, import_daemon_core.drainPendingMeshCoordinatorEvents)(ctx.mesh.id) : [];
|
|
2071
2071
|
const result = { success: true, nodeId: args.node_id, taskId: task.id, status: task.status };
|
|
2072
2072
|
if (pendingEvents.length > 0) {
|
|
2073
2073
|
result.pendingCoordinatorEvents = pendingEvents;
|