@mastra/convex 1.6.1 → 1.7.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.
@@ -3,7 +3,7 @@ name: mastra-convex
3
3
  description: Documentation for @mastra/convex. Use when working with @mastra/convex APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/convex"
6
- version: "1.6.1"
6
+ version: "1.7.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.1",
2
+ "version": "1.7.0",
3
3
  "package": "@mastra/convex",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_server = require("./server-D5fx5hYY.cjs");
2
+ const require_server = require("./server-AGRJb6YG.cjs");
3
3
  const require_schema = require("./schema.cjs");
4
4
  let _mastra_core_cache = require("@mastra/core/cache");
5
5
  let _mastra_core_storage = require("@mastra/core/storage");
@@ -981,6 +981,7 @@ function parseStoredOMRecord(doc) {
981
981
  var MemoryConvex = class extends _mastra_core_storage.MemoryStorage {
982
982
  supportsPartialThreadUpdate = true;
983
983
  supportsObservationalMemory = true;
984
+ supportsObservationalMemoryHistorySearch = true;
984
985
  #db;
985
986
  constructor(config) {
986
987
  super();
@@ -1453,7 +1454,12 @@ var MemoryConvex = class extends _mastra_core_storage.MemoryStorage {
1453
1454
  limit,
1454
1455
  from: options?.from ? options.from.toISOString() : void 0,
1455
1456
  to: options?.to ? options.to.toISOString() : void 0,
1456
- offset: options?.offset ?? void 0
1457
+ offset: options?.offset ?? void 0,
1458
+ groupId: options?.groupId,
1459
+ recordId: options?.recordId,
1460
+ beforeGeneration: options?.beforeGeneration,
1461
+ afterGeneration: options?.afterGeneration,
1462
+ sortDirection: options?.sortDirection
1457
1463
  })).map((doc) => parseStoredOMRecord(doc));
1458
1464
  }
1459
1465
  async initializeObservationalMemory(input) {