adhdev 0.8.68 → 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
@@ -52959,7 +52959,7 @@ var init_adhdev_daemon = __esm({
52959
52959
  init_source2();
52960
52960
  init_version();
52961
52961
  init_src();
52962
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.68" });
52962
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.69" });
52963
52963
  AdhdevDaemon = class _AdhdevDaemon {
52964
52964
  localHttpServer = null;
52965
52965
  localWss = null;
@@ -53419,7 +53419,10 @@ ${err?.stack || ""}`);
53419
53419
  this.p2p?.broadcastSessionOutput(key, data);
53420
53420
  }
53421
53421
  }),
53422
- onStatusChange: () => this.statusReporter?.onStatusChange(),
53422
+ onStatusChange: () => {
53423
+ this.statusReporter?.onStatusChange();
53424
+ void this.flushP2PChatSubscriptions({ onlyActive: false });
53425
+ },
53423
53426
  removeAgentTracking: (key) => this.statusReporter?.removeAgentTracking(key),
53424
53427
  hostedRuntimeManagerTag: "adhdev-cloud",
53425
53428
  createPtyTransportFactory: ({ runtimeId, providerType, workspace, cliArgs, providerSessionId, attachExisting }) => new SessionHostPtyTransportFactory({
@@ -53445,7 +53448,10 @@ ${err?.stack || ""}`);
53445
53448
  enabledIdes: config2.enabledIdes,
53446
53449
  statusInstanceId: instanceId,
53447
53450
  statusVersion: pkgVersion,
53448
- onStatusChange: () => this.statusReporter?.onStatusChange(),
53451
+ onStatusChange: () => {
53452
+ this.statusReporter?.onStatusChange();
53453
+ void this.flushP2PChatSubscriptions({ onlyActive: false });
53454
+ },
53449
53455
  onPostChatCommand: () => {
53450
53456
  setTimeout(() => this.statusReporter?.throttledReport(), 1e3);
53451
53457
  setTimeout(() => this.statusReporter?.throttledReport(), 3e3);