@adhdev/daemon-standalone 0.9.15 → 0.9.17
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 +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/index-C-TSgji3.css +1 -0
- package/public/assets/{index-Ev_9FKNG.js → index-D7ATdaBV.js} +19 -19
- package/public/index.html +2 -2
- package/vendor/session-host-daemon/index.d.mts +2 -0
- package/vendor/session-host-daemon/index.d.ts +2 -0
- package/vendor/session-host-daemon/index.js +39 -11
- package/vendor/session-host-daemon/index.js.map +1 -1
- package/vendor/session-host-daemon/index.mjs +39 -11
- package/vendor/session-host-daemon/index.mjs.map +1 -1
- package/public/assets/index-BSO1MqUY.css +0 -1
package/dist/index.js
CHANGED
|
@@ -29833,9 +29833,12 @@ var require_dist2 = __commonJS({
|
|
|
29833
29833
|
return sanitizeTerminalText(String(value || "")).replace(/\s+/g, " ").trim();
|
|
29834
29834
|
}
|
|
29835
29835
|
function hasVisibleInterruptPrompt(text) {
|
|
29836
|
-
|
|
29837
|
-
|
|
29838
|
-
|
|
29836
|
+
const interruptCopyPattern = /\bEnter\s+to\s+interrupt\b(?:\s*,?\s*Ctrl\s*(?:\+|-)?\s*C\s+to\s+cancel)?/i;
|
|
29837
|
+
return sanitizeTerminalText(text || "").split(/\r?\n/g).some((line) => {
|
|
29838
|
+
const trimmed = line.trim();
|
|
29839
|
+
if (!interruptCopyPattern.test(trimmed)) return false;
|
|
29840
|
+
return /^(?:[^A-Za-z0-9\s]{1,8}\s+)?[❯›>]\s+/.test(trimmed);
|
|
29841
|
+
});
|
|
29839
29842
|
}
|
|
29840
29843
|
function parsedTranscriptIsRicherThanCommitted(parsedMessages, committedMessages) {
|
|
29841
29844
|
if (!Array.isArray(parsedMessages) || !Array.isArray(committedMessages)) return false;
|
|
@@ -30752,6 +30755,9 @@ var require_dist2 = __commonJS({
|
|
|
30752
30755
|
}
|
|
30753
30756
|
this.activeModal = null;
|
|
30754
30757
|
this.lastApprovalResolvedAt = Date.now();
|
|
30758
|
+
if (this.isWaitingForResponse) {
|
|
30759
|
+
this.setStatus("generating", "approval_prompt_gone_idle_confirm");
|
|
30760
|
+
}
|
|
30755
30761
|
}
|
|
30756
30762
|
if (!this.isWaitingForResponse) {
|
|
30757
30763
|
if (prevStatus !== "idle") {
|