@adhdev/daemon-core 1.0.19 → 1.0.20
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.mjs
CHANGED
|
@@ -46,6 +46,7 @@ function resolveConfiguredMode(provider, mode, settings) {
|
|
|
46
46
|
return { active: true, strategy: mode.strategy, modeId: mode.id };
|
|
47
47
|
}
|
|
48
48
|
function resolveProviderAutoApproveMode(provider, settings) {
|
|
49
|
+
if (!provider) return inactiveMode();
|
|
49
50
|
const config = provider.autoApproveModes;
|
|
50
51
|
const explicitModeId = settings?.autoApproveMode;
|
|
51
52
|
if (typeof explicitModeId === "string") {
|
|
@@ -785,10 +786,10 @@ function readInjected(value) {
|
|
|
785
786
|
}
|
|
786
787
|
function getDaemonBuildInfo() {
|
|
787
788
|
if (cached) return cached;
|
|
788
|
-
const commit = readInjected(true ? "
|
|
789
|
-
const commitShort = readInjected(true ? "
|
|
790
|
-
const version = readInjected(true ? "1.0.
|
|
791
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
789
|
+
const commit = readInjected(true ? "5a496bfb562636720786b97880c617ebcd15fe64" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "5a496bf" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.20" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-23T08:01:01.842Z" : void 0);
|
|
792
793
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
793
794
|
return cached;
|
|
794
795
|
}
|