@mastra/mysql 0.7.0-alpha.1 → 0.7.0-alpha.3

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
@@ -4769,6 +4769,7 @@ function addMySQLMessageMetadataFilter(conditions, params, metadataFilter) {
4769
4769
  }
4770
4770
  }
4771
4771
  var MemoryMySQL = class MemoryMySQL extends MemoryStorage {
4772
+ supportsPartialThreadUpdate = true;
4772
4773
  supportsObservationalMemory = true;
4773
4774
  pool;
4774
4775
  operations;
@@ -5210,14 +5211,14 @@ var MemoryMySQL = class MemoryMySQL extends MemoryStorage {
5210
5211
  tableName: TABLE_THREADS,
5211
5212
  keys: { id },
5212
5213
  data: {
5213
- title,
5214
+ title: title ?? existing.title,
5214
5215
  metadata: JSON.stringify(mergedMetadata),
5215
5216
  updatedAt
5216
5217
  }
5217
5218
  });
5218
5219
  return {
5219
5220
  ...existing,
5220
- title,
5221
+ title: title ?? existing.title,
5221
5222
  metadata: mergedMetadata,
5222
5223
  updatedAt
5223
5224
  };