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/cli/index.js
CHANGED
|
@@ -46782,6 +46782,11 @@ function hasInlineMeshTransientNodeState(node) {
|
|
|
46782
46782
|
if (!node || typeof node !== "object" || Array.isArray(node)) return false;
|
|
46783
46783
|
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;
|
|
46784
46784
|
}
|
|
46785
|
+
function inlineMeshCarriesTransientNodeTruth(inlineMesh) {
|
|
46786
|
+
if (!inlineMesh || typeof inlineMesh !== "object" || Array.isArray(inlineMesh)) return false;
|
|
46787
|
+
if (!Array.isArray(inlineMesh.nodes) || inlineMesh.nodes.length === 0) return false;
|
|
46788
|
+
return inlineMesh.nodes.some((node) => hasInlineMeshTransientNodeState(node));
|
|
46789
|
+
}
|
|
46785
46790
|
function readInlineMeshNodeId(node) {
|
|
46786
46791
|
return readStringValue(node?.id, node?.nodeId) || "";
|
|
46787
46792
|
}
|
|
@@ -47548,8 +47553,10 @@ var init_router = __esm({
|
|
|
47548
47553
|
if (preferInline) {
|
|
47549
47554
|
const cached3 = this.getCachedInlineMesh(meshId);
|
|
47550
47555
|
if (cached3) return { mesh: cached3, inline: true, source: "inline_cache" };
|
|
47551
|
-
|
|
47552
|
-
|
|
47556
|
+
if (inlineMeshCarriesTransientNodeTruth(inlineMesh)) {
|
|
47557
|
+
this.warmInlineMeshCache(meshId, inlineMesh);
|
|
47558
|
+
return { mesh: inlineMesh, inline: true, source: "inline_bootstrap" };
|
|
47559
|
+
}
|
|
47553
47560
|
}
|
|
47554
47561
|
try {
|
|
47555
47562
|
const { getMesh: getMesh3 } = await Promise.resolve().then(() => (init_mesh_config(), mesh_config_exports));
|
|
@@ -98644,7 +98651,7 @@ var init_adhdev_daemon = __esm({
|
|
|
98644
98651
|
init_version();
|
|
98645
98652
|
init_src();
|
|
98646
98653
|
init_runtime_defaults();
|
|
98647
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
98654
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.32" });
|
|
98648
98655
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
98649
98656
|
localHttpServer = null;
|
|
98650
98657
|
localWss = null;
|