@adhdev/daemon-core 1.0.18 → 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 ? "572f2d8a6f85a8adb7ed8d6cae14e02ceee27a1a" : void 0) ?? "unknown";
789
- const commitShort = readInjected(true ? "572f2d8" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
790
- const version = readInjected(true ? "1.0.18" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
791
- const builtAt = readInjected(true ? "2026-07-23T07:17:01.484Z" : void 0);
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
  }
@@ -13060,6 +13061,7 @@ var init_spawn_env = __esm({
13060
13061
  import * as os5 from "os";
13061
13062
  import * as path11 from "path";
13062
13063
  function isPurePtyTranscriptProvider(provider) {
13064
+ if (!provider) return false;
13063
13065
  if (provider.transcriptAuthority === "provider") return false;
13064
13066
  if (provider.nativeHistory) return false;
13065
13067
  const transcriptPty = provider.tui?.transcriptPty;