@adhdev/daemon-core 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.mjs
CHANGED
|
@@ -2639,7 +2639,8 @@ var init_provider_cli_adapter = __esm({
|
|
|
2639
2639
|
);
|
|
2640
2640
|
const parsedModal = parsedTranscript?.activeModal && Array.isArray(parsedTranscript.activeModal.buttons) && parsedTranscript.activeModal.buttons.some((button) => typeof button === "string" && button.trim()) ? parsedTranscript.activeModal : null;
|
|
2641
2641
|
const modal = this.runParseApproval(tail) || parsedModal;
|
|
2642
|
-
const
|
|
2642
|
+
const rawScriptStatus = this.runDetectStatus(tail);
|
|
2643
|
+
const scriptStatus = parsedTranscript?.status === "waiting_approval" && modal ? "waiting_approval" : rawScriptStatus;
|
|
2643
2644
|
const parsedMessages = Array.isArray(parsedTranscript?.messages) ? normalizeCliParsedMessages(parsedTranscript.messages, {
|
|
2644
2645
|
committedMessages: this.committedMessages,
|
|
2645
2646
|
scope: this.currentTurnScope,
|