@adhdev/daemon-standalone 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.js CHANGED
@@ -32505,6 +32505,7 @@ var require_dist3 = __commonJS({
32505
32505
  return { active: true, strategy: mode.strategy, modeId: mode.id };
32506
32506
  }
32507
32507
  function resolveProviderAutoApproveMode(provider, settings) {
32508
+ if (!provider) return inactiveMode();
32508
32509
  const config2 = provider.autoApproveModes;
32509
32510
  const explicitModeId = settings?.autoApproveMode;
32510
32511
  if (typeof explicitModeId === "string") {
@@ -33261,10 +33262,10 @@ var require_dist3 = __commonJS({
33261
33262
  }
33262
33263
  function getDaemonBuildInfo() {
33263
33264
  if (cached2) return cached2;
33264
- const commit = readInjected(true ? "572f2d8a6f85a8adb7ed8d6cae14e02ceee27a1a" : void 0) ?? "unknown";
33265
- const commitShort = readInjected(true ? "572f2d8" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
33266
- const version2 = readInjected(true ? "1.0.18" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
33267
- const builtAt = readInjected(true ? "2026-07-23T07:17:01.484Z" : void 0);
33265
+ const commit = readInjected(true ? "5a496bfb562636720786b97880c617ebcd15fe64" : void 0) ?? "unknown";
33266
+ const commitShort = readInjected(true ? "5a496bf" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
33267
+ const version2 = readInjected(true ? "1.0.20" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
33268
+ const builtAt = readInjected(true ? "2026-07-23T08:01:01.842Z" : void 0);
33268
33269
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
33269
33270
  return cached2;
33270
33271
  }
@@ -45650,6 +45651,7 @@ ${rendered}`, "utf-8");
45650
45651
  }
45651
45652
  });
45652
45653
  function isPurePtyTranscriptProvider(provider) {
45654
+ if (!provider) return false;
45653
45655
  if (provider.transcriptAuthority === "provider") return false;
45654
45656
  if (provider.nativeHistory) return false;
45655
45657
  const transcriptPty = provider.tui?.transcriptPty;