@adhdev/daemon-standalone 0.9.38 → 0.9.39
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 +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/index-B_GRvXdo.js +83 -0
- package/public/index.html +1 -1
- package/public/assets/index-P-CZY-TK.js +0 -83
package/dist/index.js
CHANGED
|
@@ -30718,6 +30718,14 @@ var require_dist2 = __commonJS({
|
|
|
30718
30718
|
}
|
|
30719
30719
|
this.resolveStartupState("settled");
|
|
30720
30720
|
if (this.startupParseGate) return;
|
|
30721
|
+
if (!this.isWaitingForResponse && !this.currentTurnScope && !this.activeModal && !this.parseErrorMessage) {
|
|
30722
|
+
const tail = this.settledBuffer || this.recentOutputBuffer;
|
|
30723
|
+
const modal2 = this.runParseApproval(tail);
|
|
30724
|
+
const lightweightStatus = this.cliScripts?.detectStatus ? this.runDetectStatus(tail) : null;
|
|
30725
|
+
if (!modal2 && lightweightStatus === "idle" && this.currentStatus === "idle") {
|
|
30726
|
+
return;
|
|
30727
|
+
}
|
|
30728
|
+
}
|
|
30721
30729
|
const session = this.runParseSession();
|
|
30722
30730
|
if (!session) return;
|
|
30723
30731
|
const { status, messages, modal, parsedStatus } = session;
|
|
@@ -41457,8 +41465,8 @@ ${effect.notification.body || ""}`.trim();
|
|
|
41457
41465
|
}
|
|
41458
41466
|
detectStatusTransition() {
|
|
41459
41467
|
const now = Date.now();
|
|
41460
|
-
const adapterStatus = this.adapter.getStatus();
|
|
41461
|
-
const parsedStatus =
|
|
41468
|
+
const adapterStatus = this.adapter.getStatus({ allowParse: false });
|
|
41469
|
+
const parsedStatus = null;
|
|
41462
41470
|
const rawStatus = adapterStatus.status;
|
|
41463
41471
|
const autoApproveActive = rawStatus === "waiting_approval" && this.shouldAutoApprove();
|
|
41464
41472
|
if (autoApproveActive && !this.autoApproveBusy) {
|
|
@@ -41551,7 +41559,7 @@ ${effect.notification.body || ""}`.trim();
|
|
|
41551
41559
|
this.completedDebouncePending = { chatTitle, duration: duration3, timestamp: now };
|
|
41552
41560
|
this.completedDebounceTimer = setTimeout(() => {
|
|
41553
41561
|
if (this.completedDebouncePending) {
|
|
41554
|
-
const latestStatus = this.adapter.getStatus();
|
|
41562
|
+
const latestStatus = this.adapter.getStatus({ allowParse: false });
|
|
41555
41563
|
const latestAutoApproveActive = latestStatus.status === "waiting_approval" && this.shouldAutoApprove();
|
|
41556
41564
|
const latestVisibleStatus = latestAutoApproveActive ? "generating" : latestStatus.status;
|
|
41557
41565
|
if (latestVisibleStatus !== "idle") {
|