@adhdev/daemon-standalone 1.0.35-rc.8 → 1.0.35-rc.9
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 +13 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -33318,10 +33318,10 @@ var require_dist3 = __commonJS({
|
|
|
33318
33318
|
}
|
|
33319
33319
|
function getDaemonBuildInfo() {
|
|
33320
33320
|
if (cached2) return cached2;
|
|
33321
|
-
const commit = readInjected(true ? "
|
|
33322
|
-
const commitShort = readInjected(true ? "
|
|
33323
|
-
const version2 = readInjected(true ? "1.0.35-rc.
|
|
33324
|
-
const builtAt = readInjected(true ? "2026-08-
|
|
33321
|
+
const commit = readInjected(true ? "9ba07b62ec73a305f490d37bfd4dfeef67fecd62" : void 0) ?? "unknown";
|
|
33322
|
+
const commitShort = readInjected(true ? "9ba07b62" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
33323
|
+
const version2 = readInjected(true ? "1.0.35-rc.9" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
33324
|
+
const builtAt = readInjected(true ? "2026-08-05T06:27:33.064Z" : void 0);
|
|
33325
33325
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
33326
33326
|
return cached2;
|
|
33327
33327
|
}
|
|
@@ -96892,7 +96892,15 @@ ${rawInput}` : rawInput;
|
|
|
96892
96892
|
}
|
|
96893
96893
|
function expandResumeArgs(template, sessionId) {
|
|
96894
96894
|
if (!Array.isArray(template) || template.length === 0) return void 0;
|
|
96895
|
-
return template.map((part) =>
|
|
96895
|
+
return template.map((part) => {
|
|
96896
|
+
if (!part.includes("{{id}}")) return part;
|
|
96897
|
+
const expanded = part.split("{{id}}").join(sessionId);
|
|
96898
|
+
const prefix = part.slice(0, part.indexOf("{{id}}"));
|
|
96899
|
+
if (prefix && sessionId.startsWith(prefix)) {
|
|
96900
|
+
return part.split("{{id}}").join(sessionId.slice(prefix.length));
|
|
96901
|
+
}
|
|
96902
|
+
return expanded;
|
|
96903
|
+
});
|
|
96896
96904
|
}
|
|
96897
96905
|
function expandModelLaunchArgs(template, model) {
|
|
96898
96906
|
const m = typeof model === "string" ? model.trim() : "";
|