adhdev 0.9.82-rc.38 → 0.9.82-rc.39
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
|
@@ -99001,7 +99001,7 @@ var init_adhdev_daemon = __esm({
|
|
|
99001
99001
|
init_version();
|
|
99002
99002
|
init_src();
|
|
99003
99003
|
init_runtime_defaults();
|
|
99004
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
99004
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.39" });
|
|
99005
99005
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
99006
99006
|
localHttpServer = null;
|
|
99007
99007
|
localWss = null;
|
package/dist/index.js
CHANGED
|
@@ -67828,7 +67828,7 @@ var init_adhdev_daemon = __esm({
|
|
|
67828
67828
|
init_version();
|
|
67829
67829
|
init_src();
|
|
67830
67830
|
init_runtime_defaults();
|
|
67831
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
67831
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.39" });
|
|
67832
67832
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
67833
67833
|
localHttpServer = null;
|
|
67834
67834
|
localWss = null;
|
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.39",
|
|
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.39",
|
|
51
51
|
"@adhdev/ghostty-vt-node": "*",
|
|
52
52
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
53
|
"@xterm/addon-serialize": "^0.14.0",
|
|
@@ -704,12 +704,16 @@ function extractGitDiff(value) {
|
|
|
704
704
|
}
|
|
705
705
|
function extractSubmodules(value, ignorePaths) {
|
|
706
706
|
const payload = unwrapCommandPayload(value);
|
|
707
|
-
const subs = payload?.submodules ?? value?.submodules;
|
|
707
|
+
const subs = payload?.status?.submodules ?? payload?.submodules ?? value?.status?.submodules ?? value?.submodules;
|
|
708
708
|
if (!Array.isArray(subs)) return void 0;
|
|
709
709
|
if (ignorePaths.length === 0) return subs;
|
|
710
710
|
const ignoreSet = new Set(ignorePaths);
|
|
711
711
|
return subs.filter((s) => s?.path && !ignoreSet.has(s.path));
|
|
712
712
|
}
|
|
713
|
+
function assignFullGitSnapshot(entry, status) {
|
|
714
|
+
if (!status || typeof status !== "object" || Array.isArray(status)) return;
|
|
715
|
+
entry.git = status;
|
|
716
|
+
}
|
|
713
717
|
function extractLaunchPayload(value) {
|
|
714
718
|
return findNestedPayload(value, (payload) => Boolean(payload?.sessionId || payload?.id || payload?.runtimeSessionId));
|
|
715
719
|
}
|
|
@@ -1570,6 +1574,7 @@ async function meshStatus(ctx) {
|
|
|
1570
1574
|
const uncommittedChanges = countUncommittedChanges(status);
|
|
1571
1575
|
const dirty = isGitStatusDirty(status);
|
|
1572
1576
|
entry.health = status?.isGitRepo ? dirty ? "dirty" : "online" : "degraded";
|
|
1577
|
+
assignFullGitSnapshot(entry, status);
|
|
1573
1578
|
entry.branch = status?.branch;
|
|
1574
1579
|
entry.isDirty = dirty;
|
|
1575
1580
|
entry.uncommittedChanges = uncommittedChanges;
|
|
@@ -1591,6 +1596,7 @@ async function meshStatus(ctx) {
|
|
|
1591
1596
|
const uncommittedChanges = countUncommittedChanges(status);
|
|
1592
1597
|
const dirty = isGitStatusDirty(status);
|
|
1593
1598
|
entry.health = status?.isGitRepo ? dirty ? "dirty" : "online" : "degraded";
|
|
1599
|
+
assignFullGitSnapshot(entry, status);
|
|
1594
1600
|
entry.branch = status?.branch;
|
|
1595
1601
|
entry.isDirty = dirty;
|
|
1596
1602
|
entry.uncommittedChanges = uncommittedChanges;
|