@adhdev/daemon-standalone 0.9.7 → 0.9.8
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
|
@@ -30507,7 +30507,8 @@ var require_dist2 = __commonJS({
|
|
|
30507
30507
|
);
|
|
30508
30508
|
const parsedModal = parsedTranscript?.activeModal && Array.isArray(parsedTranscript.activeModal.buttons) && parsedTranscript.activeModal.buttons.some((button) => typeof button === "string" && button.trim()) ? parsedTranscript.activeModal : null;
|
|
30509
30509
|
const modal = this.runParseApproval(tail) || parsedModal;
|
|
30510
|
-
const
|
|
30510
|
+
const rawScriptStatus = this.runDetectStatus(tail);
|
|
30511
|
+
const scriptStatus = parsedTranscript?.status === "waiting_approval" && modal ? "waiting_approval" : rawScriptStatus;
|
|
30511
30512
|
const parsedMessages = Array.isArray(parsedTranscript?.messages) ? normalizeCliParsedMessages(parsedTranscript.messages, {
|
|
30512
30513
|
committedMessages: this.committedMessages,
|
|
30513
30514
|
scope: this.currentTurnScope,
|