@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.mjs
CHANGED
|
@@ -409,10 +409,10 @@ function readInjected(value) {
|
|
|
409
409
|
}
|
|
410
410
|
function getDaemonBuildInfo() {
|
|
411
411
|
if (cached) return cached;
|
|
412
|
-
const commit = readInjected(true ? "
|
|
413
|
-
const commitShort = readInjected(true ? "
|
|
414
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
415
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
412
|
+
const commit = readInjected(true ? "b268e41ee8422d976c6774101d93809b131860e9" : void 0) ?? "unknown";
|
|
413
|
+
const commitShort = readInjected(true ? "b268e41e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
414
|
+
const version = readInjected(true ? "0.9.82-rc.489" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
415
|
+
const builtAt = readInjected(true ? "2026-07-10T04:37:55.985Z" : void 0);
|
|
416
416
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
417
417
|
return cached;
|
|
418
418
|
}
|
|
@@ -45163,13 +45163,18 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
45163
45163
|
* INVARIANT (do not regress): must be STRICTLY GREATER than
|
|
45164
45164
|
* AUTO_APPROVE_FLAP_CONTINUITY_MS + max_busy_phase + AUTO_APPROVE_SETTLE_MS so
|
|
45165
45165
|
* that during a flap the settle clock (which FLAP_CONTINUITY keeps alive across
|
|
45166
|
-
* each
|
|
45167
|
-
*
|
|
45168
|
-
* busy ~4.3–4.5s
|
|
45166
|
+
* each busy phase) gets to accrue its 600ms on the RETURNING approval frame
|
|
45167
|
+
* before this stall bound can trip. Observed geometry — worker: approval ~1.5s,
|
|
45168
|
+
* busy ~4.3–4.5s; coordinator self-session: approval ~1.5s, busy ~2.85s. Both
|
|
45169
|
+
* now use the extended window (isAutonomousMeshSession covers worker +
|
|
45170
|
+
* meshCoordinatorFor). Worst case: CONTINUITY(6000) + busy(~4.5s) + SETTLE(600)
|
|
45171
|
+
* = ~11100ms, so the stall bound must exceed that. 10500ms satisfies the invariant
|
|
45172
|
+
* for coordinator (6000 + 2850 + 600 = 9450 < 10500) and was previously 9000ms
|
|
45173
|
+
* (which failed for a worker busy phase of 4.5s: 6000+4500+600=11100 > 9000).
|
|
45169
45174
|
* the old 4500ms tripped inside the very first busy phase (while modal=none, so
|
|
45170
45175
|
* the nudge was NOT deferred) and leaked to the coordinator.
|
|
45171
45176
|
*/
|
|
45172
|
-
static AUTO_APPROVE_MASK_STALL_MS =
|
|
45177
|
+
static AUTO_APPROVE_MASK_STALL_MS = 10500;
|
|
45173
45178
|
adapter;
|
|
45174
45179
|
context = null;
|
|
45175
45180
|
events = [];
|
|
@@ -46330,7 +46335,7 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
46330
46335
|
* genuine resolution frees the gate promptly.
|
|
46331
46336
|
*/
|
|
46332
46337
|
autoApproveContinuityWindowMs() {
|
|
46333
|
-
return this.autoApproveMaskSince > 0 && this.
|
|
46338
|
+
return this.autoApproveMaskSince > 0 && this.isAutonomousMeshSession() ? _CliProviderInstance.AUTO_APPROVE_FLAP_CONTINUITY_MS : _CliProviderInstance.AUTO_APPROVE_GATE_HYSTERESIS_MS;
|
|
46334
46339
|
}
|
|
46335
46340
|
/**
|
|
46336
46341
|
* The settle-gate identity signature for a raw activeModal, or null when the
|