@adhdev/daemon-core 1.0.21-rc.3 → 1.0.21-rc.4
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 +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/providers/cli-provider-instance.ts +37 -2
package/dist/index.mjs
CHANGED
|
@@ -786,10 +786,10 @@ function readInjected(value) {
|
|
|
786
786
|
}
|
|
787
787
|
function getDaemonBuildInfo() {
|
|
788
788
|
if (cached) return cached;
|
|
789
|
-
const commit = readInjected(true ? "
|
|
790
|
-
const commitShort = readInjected(true ? "
|
|
791
|
-
const version = readInjected(true ? "1.0.21-rc.
|
|
792
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
789
|
+
const commit = readInjected(true ? "6c7d05ae6b6e0449e7b28773f528a151ae2371df" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "6c7d05ae" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.21-rc.4" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-23T18:34:38.204Z" : void 0);
|
|
793
793
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
794
794
|
return cached;
|
|
795
795
|
}
|
|
@@ -50878,10 +50878,16 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
50878
50878
|
if (allowMissingAssistantTimeout && pending.previousStatus === "waiting_approval") {
|
|
50879
50879
|
return { reason: "missing_final_assistant", terminal: false, holdForTranscript: true };
|
|
50880
50880
|
}
|
|
50881
|
-
|
|
50881
|
+
const isWriteLagNativeSource = this.type === "claude-cli";
|
|
50882
|
+
return {
|
|
50883
|
+
reason: "missing_final_assistant",
|
|
50884
|
+
terminal: true,
|
|
50885
|
+
allowTimeout: allowMissingAssistantTimeout,
|
|
50886
|
+
...isWriteLagNativeSource ? {} : { noExternalTranscriptSource: true }
|
|
50887
|
+
};
|
|
50882
50888
|
}
|
|
50883
50889
|
if (this.provider.requiresFinalAssistantBeforeIdle === true) {
|
|
50884
|
-
return { reason: "missing_final_assistant", terminal: true, allowTimeout: allowMissingAssistantTimeout };
|
|
50890
|
+
return { reason: "missing_final_assistant", terminal: true, allowTimeout: allowMissingAssistantTimeout, noExternalTranscriptSource: true };
|
|
50885
50891
|
}
|
|
50886
50892
|
} else {
|
|
50887
50893
|
LOG.debug("CLI", `[${this.type}] missing_final_assistant (not ownsExternal) requiresFinalAssistant=${!!this.provider.requiresFinalAssistantBeforeIdle}`);
|