@adhdev/daemon-standalone 0.8.67 → 0.8.69
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
|
@@ -29518,6 +29518,8 @@ var require_dist2 = __commonJS({
|
|
|
29518
29518
|
approvalCooldown: t.approvalCooldown ?? 3e3,
|
|
29519
29519
|
generatingIdle: t.generatingIdle ?? 6e3,
|
|
29520
29520
|
idleFinish: t.idleFinish ?? 5e3,
|
|
29521
|
+
idleFinishConfirm: t.idleFinishConfirm ?? 2e3,
|
|
29522
|
+
statusActivityHold: t.statusActivityHold ?? 2e3,
|
|
29521
29523
|
maxResponse: t.maxResponse ?? 3e5,
|
|
29522
29524
|
shutdownGrace: t.shutdownGrace ?? 1e3,
|
|
29523
29525
|
outputSettle: t.outputSettle ?? 300
|
|
@@ -29765,9 +29767,6 @@ var require_dist2 = __commonJS({
|
|
|
29765
29767
|
traceSessionId = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
|
29766
29768
|
static MAX_TRACE_ENTRIES = 250;
|
|
29767
29769
|
providerResolutionMeta;
|
|
29768
|
-
static IDLE_FINISH_CONFIRM_MS = 2e3;
|
|
29769
|
-
static HERMES_IDLE_FINISH_CONFIRM_MS = 5e3;
|
|
29770
|
-
static STATUS_ACTIVITY_HOLD_MS = 2e3;
|
|
29771
29770
|
static FINISH_RETRY_DELAY_MS = 300;
|
|
29772
29771
|
static MAX_FINISH_RETRIES = 2;
|
|
29773
29772
|
syncMessageViews() {
|
|
@@ -29775,10 +29774,10 @@ var require_dist2 = __commonJS({
|
|
|
29775
29774
|
this.structuredMessages = [...this.committedMessages];
|
|
29776
29775
|
}
|
|
29777
29776
|
getIdleFinishConfirmMs() {
|
|
29778
|
-
return this.
|
|
29777
|
+
return this.timeouts.idleFinishConfirm;
|
|
29779
29778
|
}
|
|
29780
29779
|
getStatusActivityHoldMs() {
|
|
29781
|
-
return this.
|
|
29780
|
+
return this.timeouts.statusActivityHold;
|
|
29782
29781
|
}
|
|
29783
29782
|
setStatus(status, trigger) {
|
|
29784
29783
|
const prev = this.currentStatus;
|
|
@@ -52727,7 +52726,10 @@ var StandaloneServer = class {
|
|
|
52727
52726
|
}
|
|
52728
52727
|
}
|
|
52729
52728
|
}),
|
|
52730
|
-
onStatusChange: () =>
|
|
52729
|
+
onStatusChange: () => {
|
|
52730
|
+
this.scheduleBroadcastStatus();
|
|
52731
|
+
void this.flushWsChatSubscriptions(void 0, { onlyActive: false });
|
|
52732
|
+
},
|
|
52731
52733
|
removeAgentTracking: () => {
|
|
52732
52734
|
},
|
|
52733
52735
|
hostedRuntimeManagerTag: "adhdev-standalone",
|
|
@@ -52753,7 +52755,10 @@ var StandaloneServer = class {
|
|
|
52753
52755
|
statusInstanceId,
|
|
52754
52756
|
statusVersion: pkgVersion,
|
|
52755
52757
|
statusDaemonMode: false,
|
|
52756
|
-
onStatusChange: () =>
|
|
52758
|
+
onStatusChange: () => {
|
|
52759
|
+
this.scheduleBroadcastStatus();
|
|
52760
|
+
void this.flushWsChatSubscriptions(void 0, { onlyActive: false });
|
|
52761
|
+
},
|
|
52757
52762
|
sessionHostControl,
|
|
52758
52763
|
onStreamsUpdated: (ideType, streams) => {
|
|
52759
52764
|
if (!this.components) return;
|