cascade-ai 0.12.21 → 0.12.22

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
@@ -39,7 +39,7 @@ import cron from 'node-cron';
39
39
 
40
40
 
41
41
  // src/constants.ts
42
- var CASCADE_VERSION = "0.12.21";
42
+ var CASCADE_VERSION = "0.12.22";
43
43
  var CASCADE_CONFIG_DIR = ".cascade";
44
44
  var CASCADE_MD_FILE = "CASCADE.md";
45
45
  var CASCADE_IGNORE_FILE = ".cascadeignore";
@@ -10787,11 +10787,9 @@ var DashboardServer = class {
10787
10787
  this.activeSessions.set(sessionId, cascade);
10788
10788
  cascade.on("stream:token", (e) => {
10789
10789
  this.socket.emitToSocket(socketId, "stream:token", { sessionId, tierId: e.tierId, text: e.text });
10790
- this.socket.broadcast("stream:token", { sessionId, tierId: e.tierId, text: e.text });
10791
10790
  });
10792
10791
  cascade.on("tier:status", (e) => {
10793
10792
  this.socket.emitToSocket(socketId, "tier:status", { sessionId, ...e });
10794
- this.socket.broadcast("tier:status", { sessionId, ...e });
10795
10793
  });
10796
10794
  cascade.on("permission:user-required", (e) => {
10797
10795
  this.socket.emitToSocket(socketId, "permission:user-required", { sessionId, ...e });
@@ -11286,11 +11284,9 @@ var DashboardServer = class {
11286
11284
  const cascade = new Cascade(this.config, this.workspacePath, this.store);
11287
11285
  this.activeSessions.set(sessionId, cascade);
11288
11286
  cascade.on("stream:token", (e) => {
11289
- this.socket.broadcast("stream:token", { sessionId, tierId: e.tierId, text: e.text });
11290
11287
  this.socket.broadcastToRoom(`session:${sessionId}`, "stream:token", { sessionId, tierId: e.tierId, text: e.text });
11291
11288
  });
11292
11289
  cascade.on("tier:status", (e) => {
11293
- this.socket.broadcast("tier:status", { sessionId, ...e });
11294
11290
  this.socket.broadcastToRoom(`session:${sessionId}`, "tier:status", { sessionId, ...e });
11295
11291
  });
11296
11292
  cascade.on("permission:user-required", (e) => {