@adhdev/daemon-core 1.0.21-rc.2 → 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.js
CHANGED
|
@@ -791,10 +791,10 @@ function readInjected(value) {
|
|
|
791
791
|
}
|
|
792
792
|
function getDaemonBuildInfo() {
|
|
793
793
|
if (cached) return cached;
|
|
794
|
-
const commit = readInjected(true ? "
|
|
795
|
-
const commitShort = readInjected(true ? "
|
|
796
|
-
const version = readInjected(true ? "1.0.21-rc.
|
|
797
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
794
|
+
const commit = readInjected(true ? "6c7d05ae6b6e0449e7b28773f528a151ae2371df" : void 0) ?? "unknown";
|
|
795
|
+
const commitShort = readInjected(true ? "6c7d05ae" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
796
|
+
const version = readInjected(true ? "1.0.21-rc.4" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
797
|
+
const builtAt = readInjected(true ? "2026-07-23T18:34:38.204Z" : void 0);
|
|
798
798
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
799
799
|
return cached;
|
|
800
800
|
}
|
|
@@ -51316,10 +51316,16 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
51316
51316
|
if (allowMissingAssistantTimeout && pending.previousStatus === "waiting_approval") {
|
|
51317
51317
|
return { reason: "missing_final_assistant", terminal: false, holdForTranscript: true };
|
|
51318
51318
|
}
|
|
51319
|
-
|
|
51319
|
+
const isWriteLagNativeSource = this.type === "claude-cli";
|
|
51320
|
+
return {
|
|
51321
|
+
reason: "missing_final_assistant",
|
|
51322
|
+
terminal: true,
|
|
51323
|
+
allowTimeout: allowMissingAssistantTimeout,
|
|
51324
|
+
...isWriteLagNativeSource ? {} : { noExternalTranscriptSource: true }
|
|
51325
|
+
};
|
|
51320
51326
|
}
|
|
51321
51327
|
if (this.provider.requiresFinalAssistantBeforeIdle === true) {
|
|
51322
|
-
return { reason: "missing_final_assistant", terminal: true, allowTimeout: allowMissingAssistantTimeout };
|
|
51328
|
+
return { reason: "missing_final_assistant", terminal: true, allowTimeout: allowMissingAssistantTimeout, noExternalTranscriptSource: true };
|
|
51323
51329
|
}
|
|
51324
51330
|
} else {
|
|
51325
51331
|
LOG.debug("CLI", `[${this.type}] missing_final_assistant (not ownsExternal) requiresFinalAssistant=${!!this.provider.requiresFinalAssistantBeforeIdle}`);
|