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