adhdev 0.9.82-rc.31 → 0.9.82-rc.32
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 +10 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -45794,6 +45794,11 @@ function hasInlineMeshTransientNodeState(node) {
|
|
|
45794
45794
|
if (!node || typeof node !== "object" || Array.isArray(node)) return false;
|
|
45795
45795
|
return "cachedStatus" in node || "lastGit" in node || "last_git" in node || "lastProbe" in node || "last_probe" in node || "error" in node || "health" in node || "machineStatus" in node || "lastSeenAt" in node || "last_seen_at" in node || "updatedAt" in node || "updated_at" in node || "activeSession" in node || "active_session" in node || "activeSessionId" in node || "active_session_id" in node || "sessionId" in node || "session_id" in node || "providerType" in node || "provider_type" in node;
|
|
45796
45796
|
}
|
|
45797
|
+
function inlineMeshCarriesTransientNodeTruth(inlineMesh) {
|
|
45798
|
+
if (!inlineMesh || typeof inlineMesh !== "object" || Array.isArray(inlineMesh)) return false;
|
|
45799
|
+
if (!Array.isArray(inlineMesh.nodes) || inlineMesh.nodes.length === 0) return false;
|
|
45800
|
+
return inlineMesh.nodes.some((node) => hasInlineMeshTransientNodeState(node));
|
|
45801
|
+
}
|
|
45797
45802
|
function readInlineMeshNodeId(node) {
|
|
45798
45803
|
return readStringValue(node?.id, node?.nodeId) || "";
|
|
45799
45804
|
}
|
|
@@ -46560,8 +46565,10 @@ var init_router = __esm({
|
|
|
46560
46565
|
if (preferInline) {
|
|
46561
46566
|
const cached3 = this.getCachedInlineMesh(meshId);
|
|
46562
46567
|
if (cached3) return { mesh: cached3, inline: true, source: "inline_cache" };
|
|
46563
|
-
|
|
46564
|
-
|
|
46568
|
+
if (inlineMeshCarriesTransientNodeTruth(inlineMesh)) {
|
|
46569
|
+
this.warmInlineMeshCache(meshId, inlineMesh);
|
|
46570
|
+
return { mesh: inlineMesh, inline: true, source: "inline_bootstrap" };
|
|
46571
|
+
}
|
|
46565
46572
|
}
|
|
46566
46573
|
try {
|
|
46567
46574
|
const { getMesh: getMesh3 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
|
|
@@ -67471,7 +67478,7 @@ var init_adhdev_daemon = __esm({
|
|
|
67471
67478
|
init_version();
|
|
67472
67479
|
init_src();
|
|
67473
67480
|
init_runtime_defaults();
|
|
67474
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
67481
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.32" });
|
|
67475
67482
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
67476
67483
|
localHttpServer = null;
|
|
67477
67484
|
localWss = null;
|