@adhdev/daemon-standalone 0.9.82-rc.404 → 0.9.82-rc.405
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 +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30127,10 +30127,10 @@ var require_dist3 = __commonJS({
|
|
|
30127
30127
|
}
|
|
30128
30128
|
function getDaemonBuildInfo() {
|
|
30129
30129
|
if (cached2) return cached2;
|
|
30130
|
-
const commit = readInjected(true ? "
|
|
30131
|
-
const commitShort = readInjected(true ? "
|
|
30132
|
-
const version2 = readInjected(true ? "0.9.82-rc.
|
|
30133
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
30130
|
+
const commit = readInjected(true ? "4e4b5f468d194f630073a66359898bce97fadf4b" : void 0) ?? "unknown";
|
|
30131
|
+
const commitShort = readInjected(true ? "4e4b5f46" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
30132
|
+
const version2 = readInjected(true ? "0.9.82-rc.405" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
30133
|
+
const builtAt = readInjected(true ? "2026-06-28T03:55:26.092Z" : void 0);
|
|
30134
30134
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
30135
30135
|
return cached2;
|
|
30136
30136
|
}
|
|
@@ -69609,6 +69609,16 @@ ${body}
|
|
|
69609
69609
|
// steadily while the session sits idle, so this guard makes the synthesis fire
|
|
69610
69610
|
// AT MOST ONCE per collapsed turn.
|
|
69611
69611
|
fastCollapseSynthesizedTaskId = null;
|
|
69612
|
+
// GENERATING-BOUNDARY (R4c): the wall-clock moment the FSM's starting→idle
|
|
69613
|
+
// startup-grace collapse was observed (set ONCE, on the first starting→idle
|
|
69614
|
+
// transition this boot). The idle-stayed collapse window is anchored on THIS,
|
|
69615
|
+
// not on instance/boot time (this.startedAt): the FSM spends the full 8s
|
|
69616
|
+
// startup-grace sitting in 'starting' before collapsing, and a turn can be
|
|
69617
|
+
// dispatched a few seconds AFTER the collapse — measuring the window from boot
|
|
69618
|
+
// would have it already closed by the time that turn lands+completes (the live
|
|
69619
|
+
// R4b miss: collapse at boot+8s, dispatch at boot+12.4s > the 12s boot window).
|
|
69620
|
+
// Anchoring on the collapse moment makes the window cover dispatch-delay+turn.
|
|
69621
|
+
startupGraceCollapseAt = null;
|
|
69612
69622
|
settings = {};
|
|
69613
69623
|
monitor;
|
|
69614
69624
|
generatingDebounceTimer = null;
|
|
@@ -70960,6 +70970,7 @@ ${body}
|
|
|
70960
70970
|
}
|
|
70961
70971
|
} else if (newStatus === "idle" && this.lastStatus === "starting") {
|
|
70962
70972
|
this.emitAgentReadyOnce(chatTitle, now);
|
|
70973
|
+
if (this.startupGraceCollapseAt === null) this.startupGraceCollapseAt = now;
|
|
70963
70974
|
this.maybeSynthesizeStartupGraceCollapse(chatTitle, now, "startup_grace_fast_collapse");
|
|
70964
70975
|
} else if (newStatus === "error") {
|
|
70965
70976
|
if (this.generatingDebounceTimer) {
|
|
@@ -70999,7 +71010,7 @@ ${body}
|
|
|
70999
71010
|
}
|
|
71000
71011
|
this.lastStatus = newStatus;
|
|
71001
71012
|
}
|
|
71002
|
-
if (newStatus === "idle" && previousStatus === "idle" && now - this.
|
|
71013
|
+
if (newStatus === "idle" && previousStatus === "idle" && this.startupGraceCollapseAt !== null && now - this.startupGraceCollapseAt < STARTUP_GRACE_IDLE_COLLAPSE_WINDOW_MS) {
|
|
71003
71014
|
this.maybeSynthesizeStartupGraceCollapse(chatTitle, now, "startup_grace_idle_turn_collapse");
|
|
71004
71015
|
}
|
|
71005
71016
|
if (newStatus === "idle" && adapterStatus.fsmReadySeen === true && !this.agentReadyEmitted) {
|