@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.js +15 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/commands/med-family/mesh-crud.ts +24 -2
package/dist/index.js
CHANGED
|
@@ -409,10 +409,10 @@ function readInjected(value) {
|
|
|
409
409
|
}
|
|
410
410
|
function getDaemonBuildInfo() {
|
|
411
411
|
if (cached) return cached;
|
|
412
|
-
const commit = readInjected(true ? "
|
|
413
|
-
const commitShort = readInjected(true ? "
|
|
414
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
415
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
412
|
+
const commit = readInjected(true ? "db891cf6efe138b52b7a1c4aa5b4f874b5309ed3" : void 0) ?? "unknown";
|
|
413
|
+
const commitShort = readInjected(true ? "db891cf6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
414
|
+
const version = readInjected(true ? "0.9.82-rc.436" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
415
|
+
const builtAt = readInjected(true ? "2026-06-30T16:41:06.336Z" : void 0);
|
|
416
416
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
417
417
|
return cached;
|
|
418
418
|
}
|
|
@@ -49443,10 +49443,19 @@ async function decideOssCloneSync(ossCtx, worktreeOssSha, sourceSha, rg) {
|
|
|
49443
49443
|
return "skip_diverged";
|
|
49444
49444
|
}
|
|
49445
49445
|
var meshCrudHandlers = {
|
|
49446
|
-
list_meshes: async (
|
|
49446
|
+
list_meshes: async (ctx, _args) => {
|
|
49447
49447
|
try {
|
|
49448
49448
|
const { listMeshes: listMeshes2 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
|
|
49449
|
-
|
|
49449
|
+
const meshes = listMeshes2();
|
|
49450
|
+
const localDaemonId = ctx?.deps?.statusInstanceId;
|
|
49451
|
+
const meshesWithHost = Array.isArray(meshes) ? meshes.map((mesh) => {
|
|
49452
|
+
try {
|
|
49453
|
+
return { ...mesh, meshHost: resolveMeshHostStatus(mesh, { localDaemonId }) };
|
|
49454
|
+
} catch {
|
|
49455
|
+
return mesh;
|
|
49456
|
+
}
|
|
49457
|
+
}) : meshes;
|
|
49458
|
+
return { success: true, meshes: meshesWithHost };
|
|
49450
49459
|
} catch (e) {
|
|
49451
49460
|
return { success: false, error: e.message };
|
|
49452
49461
|
}
|