@adhdev/daemon-core 0.9.82-rc.488 → 0.9.82-rc.489
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
CHANGED
|
@@ -414,10 +414,10 @@ function readInjected(value) {
|
|
|
414
414
|
}
|
|
415
415
|
function getDaemonBuildInfo() {
|
|
416
416
|
if (cached) return cached;
|
|
417
|
-
const commit = readInjected(true ? "
|
|
418
|
-
const commitShort = readInjected(true ? "
|
|
419
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
420
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
417
|
+
const commit = readInjected(true ? "b268e41ee8422d976c6774101d93809b131860e9" : void 0) ?? "unknown";
|
|
418
|
+
const commitShort = readInjected(true ? "b268e41e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
419
|
+
const version = readInjected(true ? "0.9.82-rc.489" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
420
|
+
const builtAt = readInjected(true ? "2026-07-10T04:37:55.985Z" : void 0);
|
|
421
421
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
422
422
|
return cached;
|
|
423
423
|
}
|
|
@@ -45583,13 +45583,18 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
45583
45583
|
* INVARIANT (do not regress): must be STRICTLY GREATER than
|
|
45584
45584
|
* AUTO_APPROVE_FLAP_CONTINUITY_MS + max_busy_phase + AUTO_APPROVE_SETTLE_MS so
|
|
45585
45585
|
* that during a flap the settle clock (which FLAP_CONTINUITY keeps alive across
|
|
45586
|
-
* each
|
|
45587
|
-
*
|
|
45588
|
-
* busy ~4.3–4.5s
|
|
45586
|
+
* each busy phase) gets to accrue its 600ms on the RETURNING approval frame
|
|
45587
|
+
* before this stall bound can trip. Observed geometry — worker: approval ~1.5s,
|
|
45588
|
+
* busy ~4.3–4.5s; coordinator self-session: approval ~1.5s, busy ~2.85s. Both
|
|
45589
|
+
* now use the extended window (isAutonomousMeshSession covers worker +
|
|
45590
|
+
* meshCoordinatorFor). Worst case: CONTINUITY(6000) + busy(~4.5s) + SETTLE(600)
|
|
45591
|
+
* = ~11100ms, so the stall bound must exceed that. 10500ms satisfies the invariant
|
|
45592
|
+
* for coordinator (6000 + 2850 + 600 = 9450 < 10500) and was previously 9000ms
|
|
45593
|
+
* (which failed for a worker busy phase of 4.5s: 6000+4500+600=11100 > 9000).
|
|
45589
45594
|
* the old 4500ms tripped inside the very first busy phase (while modal=none, so
|
|
45590
45595
|
* the nudge was NOT deferred) and leaked to the coordinator.
|
|
45591
45596
|
*/
|
|
45592
|
-
static AUTO_APPROVE_MASK_STALL_MS =
|
|
45597
|
+
static AUTO_APPROVE_MASK_STALL_MS = 10500;
|
|
45593
45598
|
adapter;
|
|
45594
45599
|
context = null;
|
|
45595
45600
|
events = [];
|
|
@@ -46750,7 +46755,7 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
46750
46755
|
* genuine resolution frees the gate promptly.
|
|
46751
46756
|
*/
|
|
46752
46757
|
autoApproveContinuityWindowMs() {
|
|
46753
|
-
return this.autoApproveMaskSince > 0 && this.
|
|
46758
|
+
return this.autoApproveMaskSince > 0 && this.isAutonomousMeshSession() ? _CliProviderInstance.AUTO_APPROVE_FLAP_CONTINUITY_MS : _CliProviderInstance.AUTO_APPROVE_GATE_HYSTERESIS_MS;
|
|
46754
46759
|
}
|
|
46755
46760
|
/**
|
|
46756
46761
|
* The settle-gate identity signature for a raw activeModal, or null when the
|