@mastra/mongodb 1.18.6 → 1.18.7

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
@@ -9,7 +9,7 @@ import { MessageList } from "@mastra/core/agent";
9
9
  import { saveScorePayloadSchema } from "@mastra/core/evals";
10
10
  import { skillSnapshotFieldValuesEqual } from "@mastra/core/storage/domains/skills";
11
11
  //#region package.json
12
- var version = "1.18.6";
12
+ var version = "1.18.7";
13
13
  //#endregion
14
14
  //#region src/vector/filter.ts
15
15
  /**
@@ -4341,6 +4341,7 @@ var MongoDBExperimentsStorage = class MongoDBExperimentsStorage extends Experime
4341
4341
  const filter = { experimentId: args.experimentId };
4342
4342
  if (args.traceId) filter.traceId = args.traceId;
4343
4343
  if (args.status) filter.status = args.status;
4344
+ if (args.tags?.length) filter.tags = { $all: args.tags };
4344
4345
  if (args.filters) {
4345
4346
  const { organizationId, projectId } = args.filters;
4346
4347
  if (organizationId !== void 0) filter.organizationId = organizationId;