@blade-hq/agent-kit 0.5.22 → 0.5.23

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.
@@ -2832,6 +2832,13 @@ var AgentSocket = class {
2832
2832
  if (this.requestedJoins.has(sessionId)) {
2833
2833
  this.joinedSessions.add(sessionId);
2834
2834
  }
2835
+ if (response?.is_running) {
2836
+ useSessionStore.getState().updateSessionStatus(sessionId, "running");
2837
+ useChatStore.getState().setStreaming(sessionId, true);
2838
+ } else if (useChatStore.getState().isStreaming[sessionId]) {
2839
+ useChatStore.getState().setStreaming(sessionId, false);
2840
+ void this._syncSessionTurnsFromHistory(sessionId);
2841
+ }
2835
2842
  resolve();
2836
2843
  }
2837
2844
  );
@@ -3181,4 +3188,4 @@ export {
3181
3188
  bootstrapBladeClient,
3182
3189
  getBootstrappedClient
3183
3190
  };
3184
- //# sourceMappingURL=chunk-CCMNSYPI.js.map
3191
+ //# sourceMappingURL=chunk-B4RZNR3L.js.map