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/cli/index.js
CHANGED
|
@@ -12542,9 +12542,12 @@ function normalizeComparableTranscriptText(value) {
|
|
|
12542
12542
|
return sanitizeTerminalText(String(value || "")).replace(/\s+/g, " ").trim();
|
|
12543
12543
|
}
|
|
12544
12544
|
function hasVisibleInterruptPrompt(text) {
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12545
|
+
const interruptCopyPattern = /\bEnter\s+to\s+interrupt\b(?:\s*,?\s*Ctrl\s*(?:\+|-)?\s*C\s+to\s+cancel)?/i;
|
|
12546
|
+
return sanitizeTerminalText(text || "").split(/\r?\n/g).some((line) => {
|
|
12547
|
+
const trimmed = line.trim();
|
|
12548
|
+
if (!interruptCopyPattern.test(trimmed)) return false;
|
|
12549
|
+
return /^(?:[^A-Za-z0-9\s]{1,8}\s+)?[❯›>]\s+/.test(trimmed);
|
|
12550
|
+
});
|
|
12548
12551
|
}
|
|
12549
12552
|
function parsedTranscriptIsRicherThanCommitted(parsedMessages, committedMessages) {
|
|
12550
12553
|
if (!Array.isArray(parsedMessages) || !Array.isArray(committedMessages)) return false;
|
|
@@ -13460,6 +13463,9 @@ var init_provider_cli_adapter = __esm({
|
|
|
13460
13463
|
}
|
|
13461
13464
|
this.activeModal = null;
|
|
13462
13465
|
this.lastApprovalResolvedAt = Date.now();
|
|
13466
|
+
if (this.isWaitingForResponse) {
|
|
13467
|
+
this.setStatus("generating", "approval_prompt_gone_idle_confirm");
|
|
13468
|
+
}
|
|
13463
13469
|
}
|
|
13464
13470
|
if (!this.isWaitingForResponse) {
|
|
13465
13471
|
if (prevStatus !== "idle") {
|
|
@@ -87233,7 +87239,7 @@ var init_adhdev_daemon = __esm({
|
|
|
87233
87239
|
init_version();
|
|
87234
87240
|
init_src();
|
|
87235
87241
|
init_runtime_defaults();
|
|
87236
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.
|
|
87242
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.17" });
|
|
87237
87243
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
87238
87244
|
localHttpServer = null;
|
|
87239
87245
|
localWss = null;
|