adhdev 0.9.76-rc.20 → 0.9.76-rc.22
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 +26 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/vendor/mcp-server/index.js +12 -6
- 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.76-rc.
|
|
3
|
+
"version": "0.9.76-rc.22",
|
|
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.76-rc.
|
|
50
|
+
"@adhdev/daemon-core": "0.9.76-rc.22",
|
|
51
51
|
"@adhdev/ghostty-vt-node": "*",
|
|
52
52
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
53
|
"@xterm/addon-serialize": "^0.14.0",
|
|
@@ -1402,11 +1402,16 @@ function unwrapCommandPayload(value) {
|
|
|
1402
1402
|
return value?.result?.result ?? value?.result ?? value;
|
|
1403
1403
|
}
|
|
1404
1404
|
function findNestedPayload(value, predicate) {
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1405
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1406
|
+
const stack = [{ payload: value, depth: 0 }];
|
|
1407
|
+
while (stack.length) {
|
|
1408
|
+
const { payload, depth } = stack.pop();
|
|
1409
|
+
if (predicate(payload)) return payload;
|
|
1410
|
+
if (!payload || typeof payload !== "object" || seen.has(payload) || depth >= 8) continue;
|
|
1411
|
+
seen.add(payload);
|
|
1412
|
+
for (const key of ["payload", "result"]) {
|
|
1413
|
+
if (key in payload) stack.push({ payload: payload[key], depth: depth + 1 });
|
|
1414
|
+
}
|
|
1410
1415
|
}
|
|
1411
1416
|
return value;
|
|
1412
1417
|
}
|
|
@@ -1711,7 +1716,8 @@ async function meshCheckpoint(ctx, args) {
|
|
|
1711
1716
|
if (isLocalTransport(ctx.transport)) {
|
|
1712
1717
|
const result = await commandForNode(ctx, node, "git_checkpoint", {
|
|
1713
1718
|
workspace: node.workspace,
|
|
1714
|
-
message: args.message
|
|
1719
|
+
message: args.message,
|
|
1720
|
+
includeUntracked: true
|
|
1715
1721
|
});
|
|
1716
1722
|
return JSON.stringify(result, null, 2);
|
|
1717
1723
|
} else {
|