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/cli/index.js CHANGED
@@ -84663,7 +84663,7 @@ var init_adhdev_daemon = __esm({
84663
84663
  init_source();
84664
84664
  init_version();
84665
84665
  init_src();
84666
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.68" });
84666
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.69" });
84667
84667
  AdhdevDaemon = class _AdhdevDaemon {
84668
84668
  localHttpServer = null;
84669
84669
  localWss = null;
@@ -85123,7 +85123,10 @@ ${err?.stack || ""}`);
85123
85123
  this.p2p?.broadcastSessionOutput(key, data);
85124
85124
  }
85125
85125
  }),
85126
- onStatusChange: () => this.statusReporter?.onStatusChange(),
85126
+ onStatusChange: () => {
85127
+ this.statusReporter?.onStatusChange();
85128
+ void this.flushP2PChatSubscriptions({ onlyActive: false });
85129
+ },
85127
85130
  removeAgentTracking: (key) => this.statusReporter?.removeAgentTracking(key),
85128
85131
  hostedRuntimeManagerTag: "adhdev-cloud",
85129
85132
  createPtyTransportFactory: ({ runtimeId, providerType, workspace, cliArgs, providerSessionId, attachExisting }) => new SessionHostPtyTransportFactory({
@@ -85149,7 +85152,10 @@ ${err?.stack || ""}`);
85149
85152
  enabledIdes: config2.enabledIdes,
85150
85153
  statusInstanceId: instanceId,
85151
85154
  statusVersion: pkgVersion,
85152
- onStatusChange: () => this.statusReporter?.onStatusChange(),
85155
+ onStatusChange: () => {
85156
+ this.statusReporter?.onStatusChange();
85157
+ void this.flushP2PChatSubscriptions({ onlyActive: false });
85158
+ },
85153
85159
  onPostChatCommand: () => {
85154
85160
  setTimeout(() => this.statusReporter?.throttledReport(), 1e3);
85155
85161
  setTimeout(() => this.statusReporter?.throttledReport(), 3e3);