@adhdev/daemon-core 1.0.28-rc.4 → 1.0.28-rc.5
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 +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/commands/upgrade-helper.ts +15 -1
package/dist/index.mjs
CHANGED
|
@@ -786,10 +786,10 @@ function readInjected(value) {
|
|
|
786
786
|
}
|
|
787
787
|
function getDaemonBuildInfo() {
|
|
788
788
|
if (cached) return cached;
|
|
789
|
-
const commit = readInjected(true ? "
|
|
790
|
-
const commitShort = readInjected(true ? "
|
|
791
|
-
const version = readInjected(true ? "1.0.28-rc.
|
|
792
|
-
const builtAt = readInjected(true ? "2026-07-25T06:
|
|
789
|
+
const commit = readInjected(true ? "a1cba539ff9abee6cdeb8e3331318daa1bf075a0" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "a1cba539" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.28-rc.5" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-25T06:48:48.092Z" : void 0);
|
|
793
793
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
794
794
|
return cached;
|
|
795
795
|
}
|
|
@@ -44776,7 +44776,11 @@ async function runDaemonUpgradeHelper(payload) {
|
|
|
44776
44776
|
appendUpgradeLog(`Waiting for parent pid ${payload.parentPid} to exit`);
|
|
44777
44777
|
await waitForPidExit(payload.parentPid, 15e3);
|
|
44778
44778
|
}
|
|
44779
|
-
|
|
44779
|
+
if (process.platform === "win32") {
|
|
44780
|
+
await stopSessionHostProcesses(sessionHostAppName);
|
|
44781
|
+
} else {
|
|
44782
|
+
appendUpgradeLog("POSIX \u2014 session-host left running (survives upgrade; sessions rebind on next boot)");
|
|
44783
|
+
}
|
|
44780
44784
|
removeDaemonPidFile();
|
|
44781
44785
|
const instanceDir = resolveInstanceDir();
|
|
44782
44786
|
const windowsInstallerLayout = resolveWindowsInstallerLayout({
|