@adhdev/daemon-standalone 0.9.82-rc.31 → 0.9.82-rc.33
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
CHANGED
|
@@ -46196,6 +46196,11 @@ ${(0, import_node_path.resolve)(workspace || os17.tmpdir())}`;
|
|
|
46196
46196
|
if (!node || typeof node !== "object" || Array.isArray(node)) return false;
|
|
46197
46197
|
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;
|
|
46198
46198
|
}
|
|
46199
|
+
function inlineMeshCarriesTransientNodeTruth(inlineMesh) {
|
|
46200
|
+
if (!inlineMesh || typeof inlineMesh !== "object" || Array.isArray(inlineMesh)) return false;
|
|
46201
|
+
if (!Array.isArray(inlineMesh.nodes) || inlineMesh.nodes.length === 0) return false;
|
|
46202
|
+
return inlineMesh.nodes.some((node) => hasInlineMeshTransientNodeState(node));
|
|
46203
|
+
}
|
|
46199
46204
|
function readInlineMeshNodeId(node) {
|
|
46200
46205
|
return readStringValue(node?.id, node?.nodeId) || "";
|
|
46201
46206
|
}
|
|
@@ -46925,8 +46930,10 @@ ${(0, import_node_path.resolve)(workspace || os17.tmpdir())}`;
|
|
|
46925
46930
|
if (preferInline) {
|
|
46926
46931
|
const cached22 = this.getCachedInlineMesh(meshId);
|
|
46927
46932
|
if (cached22) return { mesh: cached22, inline: true, source: "inline_cache" };
|
|
46928
|
-
|
|
46929
|
-
|
|
46933
|
+
if (inlineMeshCarriesTransientNodeTruth(inlineMesh)) {
|
|
46934
|
+
this.warmInlineMeshCache(meshId, inlineMesh);
|
|
46935
|
+
return { mesh: inlineMesh, inline: true, source: "inline_bootstrap" };
|
|
46936
|
+
}
|
|
46930
46937
|
}
|
|
46931
46938
|
try {
|
|
46932
46939
|
const { getMesh: getMesh3 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
|