@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.js
CHANGED
|
@@ -791,10 +791,10 @@ function readInjected(value) {
|
|
|
791
791
|
}
|
|
792
792
|
function getDaemonBuildInfo() {
|
|
793
793
|
if (cached) return cached;
|
|
794
|
-
const commit = readInjected(true ? "
|
|
795
|
-
const commitShort = readInjected(true ? "
|
|
796
|
-
const version = readInjected(true ? "1.0.28-rc.
|
|
797
|
-
const builtAt = readInjected(true ? "2026-07-25T06:
|
|
794
|
+
const commit = readInjected(true ? "a1cba539ff9abee6cdeb8e3331318daa1bf075a0" : void 0) ?? "unknown";
|
|
795
|
+
const commitShort = readInjected(true ? "a1cba539" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
796
|
+
const version = readInjected(true ? "1.0.28-rc.5" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
797
|
+
const builtAt = readInjected(true ? "2026-07-25T06:48:48.092Z" : void 0);
|
|
798
798
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
799
799
|
return cached;
|
|
800
800
|
}
|
|
@@ -45217,7 +45217,11 @@ async function runDaemonUpgradeHelper(payload) {
|
|
|
45217
45217
|
appendUpgradeLog(`Waiting for parent pid ${payload.parentPid} to exit`);
|
|
45218
45218
|
await waitForPidExit(payload.parentPid, 15e3);
|
|
45219
45219
|
}
|
|
45220
|
-
|
|
45220
|
+
if (process.platform === "win32") {
|
|
45221
|
+
await stopSessionHostProcesses(sessionHostAppName);
|
|
45222
|
+
} else {
|
|
45223
|
+
appendUpgradeLog("POSIX \u2014 session-host left running (survives upgrade; sessions rebind on next boot)");
|
|
45224
|
+
}
|
|
45221
45225
|
removeDaemonPidFile();
|
|
45222
45226
|
const instanceDir = resolveInstanceDir();
|
|
45223
45227
|
const windowsInstallerLayout = resolveWindowsInstallerLayout({
|