@adhdev/daemon-core 0.9.82-rc.210 → 0.9.82-rc.211
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 +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/providers/spec/driver.ts +11 -1
package/package.json
CHANGED
|
@@ -322,7 +322,17 @@ export class SpecDriver {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
private cancelIdleHold(): void {
|
|
325
|
-
if (this.idleHoldTimer) {
|
|
325
|
+
if (this.idleHoldTimer) {
|
|
326
|
+
clearTimeout(this.idleHoldTimer);
|
|
327
|
+
this.idleHoldTimer = null;
|
|
328
|
+
// If the idle hold was armed by a completion_idle_after forced-idle,
|
|
329
|
+
// cancelling it means new activity arrived while we were waiting.
|
|
330
|
+
// Reset the completion tracker so the hold window restarts fresh
|
|
331
|
+
// when the marker reappears — otherwise the stale firstSeenAt makes
|
|
332
|
+
// the hold appear already-expired on the next PTY frame that matches.
|
|
333
|
+
this.completionIdleKey = '';
|
|
334
|
+
this.completionIdleFirstSeenAt = 0;
|
|
335
|
+
}
|
|
326
336
|
this.pendingIdleState = null;
|
|
327
337
|
}
|
|
328
338
|
|