@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.js CHANGED
@@ -51,6 +51,7 @@ function resolveConfiguredMode(provider, mode, settings) {
51
51
  return { active: true, strategy: mode.strategy, modeId: mode.id };
52
52
  }
53
53
  function resolveProviderAutoApproveMode(provider, settings) {
54
+ if (!provider) return inactiveMode();
54
55
  const config = provider.autoApproveModes;
55
56
  const explicitModeId = settings?.autoApproveMode;
56
57
  if (typeof explicitModeId === "string") {
@@ -790,10 +791,10 @@ function readInjected(value) {
790
791
  }
791
792
  function getDaemonBuildInfo() {
792
793
  if (cached) return cached;
793
- const commit = readInjected(true ? "091e33a4eb10f721c794790bbf09f7e18639190f" : void 0) ?? "unknown";
794
- const commitShort = readInjected(true ? "091e33a" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
795
- const version = readInjected(true ? "1.0.19" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
796
- const builtAt = readInjected(true ? "2026-07-23T07:36:28.241Z" : void 0);
794
+ const commit = readInjected(true ? "5a496bfb562636720786b97880c617ebcd15fe64" : void 0) ?? "unknown";
795
+ const commitShort = readInjected(true ? "5a496bf" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
796
+ const version = readInjected(true ? "1.0.20" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
797
+ const builtAt = readInjected(true ? "2026-07-23T08:01:01.842Z" : void 0);
797
798
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
798
799
  return cached;
799
800
  }