@mastra/mongodb 1.27.1-alpha.0 → 1.27.1
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
|
@@ -10,7 +10,7 @@ import { MessageList } from "@mastra/core/agent";
|
|
|
10
10
|
import { saveScorePayloadSchema } from "@mastra/core/evals";
|
|
11
11
|
import { skillSnapshotFieldValuesEqual } from "@mastra/core/storage/domains/skills";
|
|
12
12
|
// package.json
|
|
13
|
-
var version = "1.27.1
|
|
13
|
+
var version = "1.27.1";
|
|
14
14
|
// src/vector/filter.ts
|
|
15
15
|
/**
|
|
16
16
|
* Translator for MongoDB filter queries.
|
|
@@ -10080,7 +10080,7 @@ var MemoryStorageMongoDB = class MemoryStorageMongoDB extends MemoryStorage {
|
|
|
10080
10080
|
}).toArray();
|
|
10081
10081
|
for (const doc of interrupted) await this.#completeRollover(collection, doc, doc.pendingSuccessor);
|
|
10082
10082
|
const keys = await collection.aggregate([
|
|
10083
|
-
{ $match: { supersededBy: null } },
|
|
10083
|
+
{ $match: { $or: [{ supersededBy: null }, { pendingSuccessor: { $exists: true } }] } },
|
|
10084
10084
|
{ $group: {
|
|
10085
10085
|
_id: "$lookupKey",
|
|
10086
10086
|
live: { $sum: 1 }
|