@adhdev/daemon-core 0.9.82-rc.435 → 0.9.82-rc.436

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/index.mjs CHANGED
@@ -404,10 +404,10 @@ function readInjected(value) {
404
404
  }
405
405
  function getDaemonBuildInfo() {
406
406
  if (cached) return cached;
407
- const commit = readInjected(true ? "bf124fd471f6149d84a75594a6adaaff75793523" : void 0) ?? "unknown";
408
- const commitShort = readInjected(true ? "bf124fd4" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
409
- const version = readInjected(true ? "0.9.82-rc.435" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
410
- const builtAt = readInjected(true ? "2026-06-30T15:14:48.195Z" : void 0);
407
+ const commit = readInjected(true ? "db891cf6efe138b52b7a1c4aa5b4f874b5309ed3" : void 0) ?? "unknown";
408
+ const commitShort = readInjected(true ? "db891cf6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
409
+ const version = readInjected(true ? "0.9.82-rc.436" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
410
+ const builtAt = readInjected(true ? "2026-06-30T16:41:06.336Z" : void 0);
411
411
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
412
412
  return cached;
413
413
  }
@@ -49049,10 +49049,19 @@ async function decideOssCloneSync(ossCtx, worktreeOssSha, sourceSha, rg) {
49049
49049
  return "skip_diverged";
49050
49050
  }
49051
49051
  var meshCrudHandlers = {
49052
- list_meshes: async (_ctx, _args) => {
49052
+ list_meshes: async (ctx, _args) => {
49053
49053
  try {
49054
49054
  const { listMeshes: listMeshes2 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
49055
- return { success: true, meshes: listMeshes2() };
49055
+ const meshes = listMeshes2();
49056
+ const localDaemonId = ctx?.deps?.statusInstanceId;
49057
+ const meshesWithHost = Array.isArray(meshes) ? meshes.map((mesh) => {
49058
+ try {
49059
+ return { ...mesh, meshHost: resolveMeshHostStatus(mesh, { localDaemonId }) };
49060
+ } catch {
49061
+ return mesh;
49062
+ }
49063
+ }) : meshes;
49064
+ return { success: true, meshes: meshesWithHost };
49056
49065
  } catch (e) {
49057
49066
  return { success: false, error: e.message };
49058
49067
  }