adhdev 0.9.15 → 0.9.16
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/cli/index.js +7 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/session-host-daemon/index.js +8 -5
- package/vendor/session-host-daemon/index.js.map +1 -1
- package/vendor/session-host-daemon/index.mjs +8 -5
- package/vendor/session-host-daemon/index.mjs.map +1 -1
package/dist/index.js
CHANGED
|
@@ -11586,9 +11586,12 @@ function normalizeComparableTranscriptText(value) {
|
|
|
11586
11586
|
return sanitizeTerminalText(String(value || "")).replace(/\s+/g, " ").trim();
|
|
11587
11587
|
}
|
|
11588
11588
|
function hasVisibleInterruptPrompt(text) {
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11589
|
+
const interruptCopyPattern = /\bEnter\s+to\s+interrupt\b(?:\s*,?\s*Ctrl\s*(?:\+|-)?\s*C\s+to\s+cancel)?/i;
|
|
11590
|
+
return sanitizeTerminalText(text || "").split(/\r?\n/g).some((line) => {
|
|
11591
|
+
const trimmed = line.trim();
|
|
11592
|
+
if (!interruptCopyPattern.test(trimmed)) return false;
|
|
11593
|
+
return /^(?:[^A-Za-z0-9\s]{1,8}\s+)?[❯›>]\s+/.test(trimmed);
|
|
11594
|
+
});
|
|
11592
11595
|
}
|
|
11593
11596
|
function parsedTranscriptIsRicherThanCommitted(parsedMessages, committedMessages) {
|
|
11594
11597
|
if (!Array.isArray(parsedMessages) || !Array.isArray(committedMessages)) return false;
|
|
@@ -55513,7 +55516,7 @@ var init_adhdev_daemon = __esm({
|
|
|
55513
55516
|
init_version();
|
|
55514
55517
|
init_src();
|
|
55515
55518
|
init_runtime_defaults();
|
|
55516
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.
|
|
55519
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.16" });
|
|
55517
55520
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
55518
55521
|
localHttpServer = null;
|
|
55519
55522
|
localWss = null;
|