@mastra/spanner 1.6.0-alpha.1 → 1.6.0-alpha.2

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
@@ -6602,7 +6602,7 @@ var MemorySpanner = class MemorySpanner extends MemoryStorage {
6602
6602
  text: `Thread ${id} not found`,
6603
6603
  details: {
6604
6604
  threadId: id,
6605
- title
6605
+ title: title ?? null
6606
6606
  }
6607
6607
  });
6608
6608
  existingThread = this.formatThreadRow(row);
@@ -6614,7 +6614,7 @@ var MemorySpanner = class MemorySpanner extends MemoryStorage {
6614
6614
  tableName: TABLE_THREADS,
6615
6615
  keys: { id },
6616
6616
  data: {
6617
- title,
6617
+ title: title ?? existingThread.title,
6618
6618
  metadata: merged,
6619
6619
  updatedAt: now
6620
6620
  },
@@ -6642,7 +6642,7 @@ var MemorySpanner = class MemorySpanner extends MemoryStorage {
6642
6642
  category: ErrorCategory.THIRD_PARTY,
6643
6643
  details: {
6644
6644
  threadId: id,
6645
- title
6645
+ title: title ?? null
6646
6646
  }
6647
6647
  }, error);
6648
6648
  }