@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/package.json
CHANGED
|
@@ -890,7 +890,10 @@ export class ProviderCliAdapter implements CliAdapter {
|
|
|
890
890
|
? parsedTranscript.activeModal
|
|
891
891
|
: null;
|
|
892
892
|
const modal = this.runParseApproval(tail) || parsedModal;
|
|
893
|
-
const
|
|
893
|
+
const rawScriptStatus = this.runDetectStatus(tail);
|
|
894
|
+
const scriptStatus = parsedTranscript?.status === 'waiting_approval' && modal
|
|
895
|
+
? 'waiting_approval'
|
|
896
|
+
: rawScriptStatus;
|
|
894
897
|
const parsedMessages = Array.isArray(parsedTranscript?.messages)
|
|
895
898
|
? normalizeCliParsedMessages(parsedTranscript.messages, {
|
|
896
899
|
committedMessages: this.committedMessages,
|