@adhdev/daemon-core 1.0.18-rc.19 → 1.0.18-rc.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/cli-adapters/provider-cli-shared.d.ts +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/providers/auto-approve-modes.d.ts +1 -1
- package/package.json +3 -3
- package/src/cli-adapters/provider-cli-shared.ts +8 -1
- package/src/providers/auto-approve-modes.ts +7 -1
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.18-rc.
|
|
791
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
789
|
+
const commit = readInjected(true ? "b85c66fa11d0078f0e91383ab7702f22a72d3753" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "b85c66fa" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.18-rc.20" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-23T08:28:36.533Z" : 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;
|