adhdev 0.9.77-rc.27 → 0.9.77-rc.28

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
@@ -95955,7 +95955,7 @@ var init_adhdev_daemon = __esm({
95955
95955
  init_version();
95956
95956
  init_src();
95957
95957
  init_runtime_defaults();
95958
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.27" });
95958
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.28" });
95959
95959
  AdhdevDaemon = class _AdhdevDaemon {
95960
95960
  localHttpServer = null;
95961
95961
  localWss = null;
package/dist/index.js CHANGED
@@ -64791,7 +64791,7 @@ var init_adhdev_daemon = __esm({
64791
64791
  init_version();
64792
64792
  init_src();
64793
64793
  init_runtime_defaults();
64794
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.27" });
64794
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.77-rc.28" });
64795
64795
  AdhdevDaemon = class _AdhdevDaemon {
64796
64796
  localHttpServer = null;
64797
64797
  localWss = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adhdev",
3
- "version": "0.9.77-rc.27",
3
+ "version": "0.9.77-rc.28",
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.27",
50
+ "@adhdev/daemon-core": "0.9.77-rc.28",
51
51
  "@adhdev/ghostty-vt-node": "*",
52
52
  "@modelcontextprotocol/sdk": "^1.0.0",
53
53
  "@xterm/addon-serialize": "^0.14.0",
@@ -57474,9 +57474,10 @@ async function ipcDispatchToRemoteAgent(ctx, node, args) {
57474
57474
  let resolvedProviderType = args.providerType?.trim() || providerPriorityList[0] || "";
57475
57475
  if (!sessionId) {
57476
57476
  try {
57477
- const statusResult = await transport.meshCommand(daemonId, "get_status_metadata", {});
57478
- const payload = unwrapCommandPayload(statusResult);
57479
- const sessions = Array.isArray(payload?.sessions) ? payload.sessions : Array.isArray(payload?.status?.sessions) ? payload.status.sessions : [];
57477
+ const relayResult = await transport.meshCommand(daemonId, "get_status_metadata", {});
57478
+ const innerResult = relayResult?.result ?? relayResult;
57479
+ const statusObj = innerResult?.status ?? innerResult;
57480
+ const sessions = Array.isArray(statusObj?.sessions) ? statusObj.sessions : [];
57480
57481
  const meshSessions = sessions.filter(
57481
57482
  (s) => s?.settings?.meshNodeFor === ctx.mesh.id || s?.settings?.meshNodeId === node.id || s?.settings?.launchedByCoordinator === true
57482
57483
  );