@epoch-agent/server 0.23.0 → 0.25.0

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
@@ -764,9 +764,9 @@ var SessionHub = class {
764
764
  if (through !== null && through !== entry.persisted?.id) {
765
765
  entry.persisted = { id: through, seq: frame.seq };
766
766
  }
767
- const title = this.readTitle?.(sessionId) ?? null;
768
- if (title !== null && title !== entry.announcedTitle) {
769
- this.notifySessionTitleChanged(sessionId, title);
767
+ if (entry.announcedTitle === null) {
768
+ const title = this.readTitle?.(sessionId) ?? null;
769
+ if (title !== null) this.notifySessionTitleChanged(sessionId, title);
770
770
  }
771
771
  if (event.type === "finish") {
772
772
  entry.lastFinish = toWireFinish(event, frame.ts, entry.turnStartedAt);