adhdev 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/cli/index.js +10 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- 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/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;
|
|
@@ -12504,6 +12507,9 @@ var init_provider_cli_adapter = __esm({
|
|
|
12504
12507
|
}
|
|
12505
12508
|
this.activeModal = null;
|
|
12506
12509
|
this.lastApprovalResolvedAt = Date.now();
|
|
12510
|
+
if (this.isWaitingForResponse) {
|
|
12511
|
+
this.setStatus("generating", "approval_prompt_gone_idle_confirm");
|
|
12512
|
+
}
|
|
12507
12513
|
}
|
|
12508
12514
|
if (!this.isWaitingForResponse) {
|
|
12509
12515
|
if (prevStatus !== "idle") {
|
|
@@ -55513,7 +55519,7 @@ var init_adhdev_daemon = __esm({
|
|
|
55513
55519
|
init_version();
|
|
55514
55520
|
init_src();
|
|
55515
55521
|
init_runtime_defaults();
|
|
55516
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.
|
|
55522
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.17" });
|
|
55517
55523
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
55518
55524
|
localHttpServer = null;
|
|
55519
55525
|
localWss = null;
|