@adhdev/daemon-standalone 1.0.6 → 1.0.7-rc.1
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 +10 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public/assets/{index-DPQEHzIH.js → index-Dn4LBR2L.js} +3 -3
- package/public/assets/{terminal-BZj_X5zy.js → terminal-DiXj2eIR.js} +1 -1
- package/public/assets/{vendor-cL4V2vaO.js → vendor-DyCWA2YZ.js} +57 -49
- package/public/index.html +2 -2
- package/vendor/mcp-server/index.js +0 -0
- package/vendor/session-host-daemon/index.js +0 -0
- package/vendor/session-host-daemon/index.mjs +0 -0
package/dist/index.js
CHANGED
|
@@ -30217,10 +30217,10 @@ var require_dist3 = __commonJS({
|
|
|
30217
30217
|
}
|
|
30218
30218
|
function getDaemonBuildInfo() {
|
|
30219
30219
|
if (cached2) return cached2;
|
|
30220
|
-
const commit = readInjected(true ? "
|
|
30221
|
-
const commitShort = readInjected(true ? "
|
|
30222
|
-
const version2 = readInjected(true ? "1.0.
|
|
30223
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
30220
|
+
const commit = readInjected(true ? "08a9c98386a035399bb9d637e1c95cc3a242c165" : void 0) ?? "unknown";
|
|
30221
|
+
const commitShort = readInjected(true ? "08a9c983" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
30222
|
+
const version2 = readInjected(true ? "1.0.7-rc.1" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
30223
|
+
const builtAt = readInjected(true ? "2026-07-20T04:10:58.513Z" : void 0);
|
|
30224
30224
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
30225
30225
|
return cached2;
|
|
30226
30226
|
}
|
|
@@ -86441,10 +86441,14 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
86441
86441
|
} catch {
|
|
86442
86442
|
}
|
|
86443
86443
|
const MIN_INTERVAL_MS = 30 * 60 * 1e3;
|
|
86444
|
-
|
|
86444
|
+
const upstreamProviderCount = this.countProviders(this.upstreamDir);
|
|
86445
|
+
if (upstreamProviderCount > 0 && prevTimestamp && Date.now() - prevTimestamp < MIN_INTERVAL_MS) {
|
|
86445
86446
|
this.log("Upstream check skipped (last check < 30min ago)");
|
|
86446
86447
|
return { updated: false };
|
|
86447
86448
|
}
|
|
86449
|
+
if (upstreamProviderCount === 0 && prevTimestamp && Date.now() - prevTimestamp < MIN_INTERVAL_MS) {
|
|
86450
|
+
this.log("Upstream empty (0 providers) \u2014 forcing fetch despite <30min cooldown");
|
|
86451
|
+
}
|
|
86448
86452
|
const tarballTarget = resolveProviderTarballTarget(this.providerTarballUrl);
|
|
86449
86453
|
try {
|
|
86450
86454
|
const etag = await new Promise((resolve26, reject) => {
|
|
@@ -86484,7 +86488,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
86484
86488
|
});
|
|
86485
86489
|
req.end();
|
|
86486
86490
|
});
|
|
86487
|
-
if (etag && etag === prevEtag) {
|
|
86491
|
+
if (etag && etag === prevEtag && upstreamProviderCount > 0) {
|
|
86488
86492
|
this.writeMeta(metaPath, prevEtag, Date.now());
|
|
86489
86493
|
this.log("Upstream unchanged (ETag match)");
|
|
86490
86494
|
return { updated: false };
|