@mastra/core 1.10.0-alpha.0 → 1.10.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.
- package/CHANGELOG.md +101 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-XR7S7UTE.cjs → chunk-7AHCLTZZ.cjs} +9 -9
- package/dist/{chunk-XR7S7UTE.cjs.map → chunk-7AHCLTZZ.cjs.map} +1 -1
- package/dist/{chunk-MFCX5BRG.cjs → chunk-BCSVBOAN.cjs} +48 -48
- package/dist/{chunk-MFCX5BRG.cjs.map → chunk-BCSVBOAN.cjs.map} +1 -1
- package/dist/{chunk-GSJHPR6I.js → chunk-DIKRJVK6.js} +4 -4
- package/dist/{chunk-GSJHPR6I.js.map → chunk-DIKRJVK6.js.map} +1 -1
- package/dist/{chunk-7MGIUUDZ.cjs → chunk-E6I5LBDM.cjs} +5 -5
- package/dist/{chunk-7MGIUUDZ.cjs.map → chunk-E6I5LBDM.cjs.map} +1 -1
- package/dist/{chunk-5TZ46R7O.js → chunk-FT5Q6XTK.js} +3 -3
- package/dist/{chunk-5TZ46R7O.js.map → chunk-FT5Q6XTK.js.map} +1 -1
- package/dist/{chunk-KJOX2DBM.cjs → chunk-GCRPNAAR.cjs} +3 -3
- package/dist/{chunk-KJOX2DBM.cjs.map → chunk-GCRPNAAR.cjs.map} +1 -1
- package/dist/{chunk-GCDI7NB2.js → chunk-GTA5BKXZ.js} +7 -7
- package/dist/{chunk-GCDI7NB2.js.map → chunk-GTA5BKXZ.js.map} +1 -1
- package/dist/{chunk-S6TBWSUM.cjs → chunk-HAIQ57YB.cjs} +6 -6
- package/dist/{chunk-S6TBWSUM.cjs.map → chunk-HAIQ57YB.cjs.map} +1 -1
- package/dist/{chunk-TSY5TYQ2.cjs → chunk-HNYQITSV.cjs} +7 -7
- package/dist/{chunk-TSY5TYQ2.cjs.map → chunk-HNYQITSV.cjs.map} +1 -1
- package/dist/{chunk-PQB5LKUM.js → chunk-HQA3IBLZ.js} +4 -4
- package/dist/{chunk-PQB5LKUM.js.map → chunk-HQA3IBLZ.js.map} +1 -1
- package/dist/{chunk-YASKIGYS.js → chunk-NUZWQA4J.js} +3 -3
- package/dist/{chunk-YASKIGYS.js.map → chunk-NUZWQA4J.js.map} +1 -1
- package/dist/{chunk-QB7IB4TB.cjs → chunk-OOTLMVNN.cjs} +7 -7
- package/dist/{chunk-QB7IB4TB.cjs.map → chunk-OOTLMVNN.cjs.map} +1 -1
- package/dist/{chunk-F7LS4MGT.js → chunk-PDJCIONR.js} +5 -5
- package/dist/{chunk-F7LS4MGT.js.map → chunk-PDJCIONR.js.map} +1 -1
- package/dist/{chunk-TJBG4QLZ.cjs → chunk-PP4G2TZZ.cjs} +10 -10
- package/dist/{chunk-TJBG4QLZ.cjs.map → chunk-PP4G2TZZ.cjs.map} +1 -1
- package/dist/{chunk-22MLBFNK.js → chunk-SBBWRNZA.js} +3 -3
- package/dist/{chunk-22MLBFNK.js.map → chunk-SBBWRNZA.js.map} +1 -1
- package/dist/{chunk-XPHVLEQH.js → chunk-TJIFNVPX.js} +4 -4
- package/dist/{chunk-XPHVLEQH.js.map → chunk-TJIFNVPX.js.map} +1 -1
- package/dist/{chunk-TFCENZRY.cjs → chunk-XJNQHPBJ.cjs} +14 -14
- package/dist/{chunk-TFCENZRY.cjs.map → chunk-XJNQHPBJ.cjs.map} +1 -1
- package/dist/{chunk-35M33EPI.js → chunk-YC6Z75K2.js} +7 -7
- package/dist/{chunk-35M33EPI.js.map → chunk-YC6Z75K2.js.map} +1 -1
- package/dist/{chunk-BY3JCNLJ.cjs → chunk-Z2X5VTYJ.cjs} +49 -49
- package/dist/{chunk-BY3JCNLJ.cjs.map → chunk-Z2X5VTYJ.cjs.map} +1 -1
- package/dist/{chunk-G5Q4NE5J.js → chunk-ZBU6P4JV.js} +4 -4
- package/dist/{chunk-G5Q4NE5J.js.map → chunk-ZBU6P4JV.js.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +174 -174
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +4 -4
- package/dist/harness/index.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +6 -6
- package/dist/llm/index.js +1 -1
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +64 -64
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +25 -25
- package/dist/workflows/index.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,106 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added `editor` shorthand to `MastraCompositeStore` for routing all editor-related domains (agents, prompt blocks, scorer definitions, MCP clients, MCP servers, workspaces, skills) to a single storage backend. Priority: `domains` > `editor` > `default`. ([#13727](https://github.com/mastra-ai/mastra/pull/13727))
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { MastraCompositeStore } from '@mastra/core/storage';
|
|
11
|
+
|
|
12
|
+
new MastraCompositeStore({
|
|
13
|
+
id: 'composite',
|
|
14
|
+
default: postgresStore,
|
|
15
|
+
editor: filesystemStore,
|
|
16
|
+
});
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Improved code-agent editing so editor overrides can be applied and reverted without losing original dynamic values for fields like instructions, model, and tools.
|
|
20
|
+
|
|
21
|
+
- Added `FilesystemStore`, a file-based storage adapter for editor domains. Stores agent configurations, prompt blocks, scorer definitions, MCP clients, MCP servers, workspaces, and skills as JSON files in a local directory (default: `.mastra-storage/`). Only published snapshots are written to disk — version history is kept in memory. Use with `MastraCompositeStore`'s `editor` shorthand to enable Git-friendly editor configurations. ([#13727](https://github.com/mastra-ai/mastra/pull/13727))
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { FilesystemStore, MastraCompositeStore } from '@mastra/core/storage';
|
|
25
|
+
import { PostgresStore } from '@mastra/pg';
|
|
26
|
+
|
|
27
|
+
export const mastra = new Mastra({
|
|
28
|
+
storage: new MastraCompositeStore({
|
|
29
|
+
id: 'composite',
|
|
30
|
+
default: new PostgresStore({ id: 'pg', connectionString: process.env.DATABASE_URL }),
|
|
31
|
+
editor: new FilesystemStore({ dir: '.mastra-storage' }),
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Added `applyStoredOverrides` to the editor agent namespace. When a stored configuration exists for a code-defined agent, the editor merges the stored **instructions** and **tools** on top of the code agent's values at runtime. Model, memory, workspace, and other code-defined fields are never overridden — they may contain SDK instances or dynamic functions that cannot be safely serialized. Original code-defined values are preserved via a WeakMap and restored if the stored override is deleted.
|
|
37
|
+
|
|
38
|
+
- Add `inputExamples` support on tool definitions to show AI models what valid tool inputs look like. Models that support this (e.g., Anthropic's `input_examples`) will receive the examples alongside the tool schema, improving tool call accuracy. ([#12932](https://github.com/mastra-ai/mastra/pull/12932))
|
|
39
|
+
- Added optional `inputExamples` field to `ToolAction`, `CoreTool`, and `Tool` class
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
const weatherTool = createTool({
|
|
43
|
+
id: 'get-weather',
|
|
44
|
+
description: 'Get weather for a location',
|
|
45
|
+
inputSchema: z.object({
|
|
46
|
+
city: z.string(),
|
|
47
|
+
units: z.enum(['celsius', 'fahrenheit']),
|
|
48
|
+
}),
|
|
49
|
+
inputExamples: [
|
|
50
|
+
{ input: { city: 'New York', units: 'fahrenheit' } },
|
|
51
|
+
{ input: { city: 'Tokyo', units: 'celsius' } },
|
|
52
|
+
],
|
|
53
|
+
execute: async ({ city, units }) => {
|
|
54
|
+
return await fetchWeather(city, units);
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- dependencies updates: ([#13209](https://github.com/mastra-ai/mastra/pull/13209))
|
|
62
|
+
- Updated dependency [`p-map@^7.0.4` ↗︎](https://www.npmjs.com/package/p-map/v/7.0.4) (from `^7.0.3`, in `dependencies`)
|
|
63
|
+
|
|
64
|
+
- dependencies updates: ([#13210](https://github.com/mastra-ai/mastra/pull/13210))
|
|
65
|
+
- Updated dependency [`p-retry@^7.1.1` ↗︎](https://www.npmjs.com/package/p-retry/v/7.1.1) (from `^7.1.0`, in `dependencies`)
|
|
66
|
+
|
|
67
|
+
- Update provider registry and model documentation with latest models and providers ([`33e2fd5`](https://github.com/mastra-ai/mastra/commit/33e2fd5088f83666df17401e2da68c943dbc0448))
|
|
68
|
+
|
|
69
|
+
- Fixed execute_command tool timeout parameter to accept seconds instead of milliseconds, preventing agents from accidentally setting extremely short timeouts ([#13799](https://github.com/mastra-ai/mastra/pull/13799))
|
|
70
|
+
|
|
71
|
+
- **Skill tools are now stable across conversation turns and prompt-cache friendly.** ([#13744](https://github.com/mastra-ai/mastra/pull/13744))
|
|
72
|
+
- Renamed `skill-activate` → `skill` — returns full skill instructions directly in the tool result
|
|
73
|
+
- Consolidated `skill-read-reference`, `skill-read-script`, `skill-read-asset` → `skill_read`
|
|
74
|
+
- Renamed `skill-search` → `skill_search`
|
|
75
|
+
- `<available_skills>` in the system message is now sorted deterministically
|
|
76
|
+
|
|
77
|
+
- Fixed Cloudflare Workers build failures when using `@mastra/core`. Local process execution now loads its runtime dependency lazily, preventing incompatible Node-only modules from being bundled during worker builds. ([#13813](https://github.com/mastra-ai/mastra/pull/13813))
|
|
78
|
+
|
|
79
|
+
- Fix `mimeType` → `mediaType` typo in `sendMessage` file part construction. This caused file attachments to be routed through the V4 adapter instead of V5, preventing them from being correctly processed by AI SDK v5 providers. ([#13833](https://github.com/mastra-ai/mastra/pull/13833))
|
|
80
|
+
|
|
81
|
+
- Fixed onIterationComplete feedback being discarded when it returns `{ continue: false }` — feedback is now added to the conversation and the model gets one final turn to produce a text response before the loop stops. ([#13759](https://github.com/mastra-ai/mastra/pull/13759))
|
|
82
|
+
|
|
83
|
+
- Fixed `generate()` and `resumeGenerate()` to always throw provider stream errors. Previously, certain provider errors were silently swallowed, returning false "successful" empty responses. Now errors are always surfaced to the caller, making retry logic reliable when providers fail transiently. ([#13802](https://github.com/mastra-ai/mastra/pull/13802))
|
|
84
|
+
|
|
85
|
+
- Remove the default maxSteps limit so stopWhen can control sub-agent execution ([#13764](https://github.com/mastra-ai/mastra/pull/13764))
|
|
86
|
+
|
|
87
|
+
- Fix suspendedToolRunId required error when it shouldn't be required ([#13722](https://github.com/mastra-ai/mastra/pull/13722))
|
|
88
|
+
|
|
89
|
+
- Fixed subagent tool defaulting maxSteps to 50 when no stop condition is configured, preventing unbounded execution loops. When stopWhen is set, maxSteps is left to the caller. ([#13777](https://github.com/mastra-ai/mastra/pull/13777))
|
|
90
|
+
|
|
91
|
+
- Fixed prompt failures by removing assistant messages that only contain sources before model calls. ([#13790](https://github.com/mastra-ai/mastra/pull/13790))
|
|
92
|
+
|
|
93
|
+
- - Fixed experiment pending count showing negative values when experiments are triggered from the Studio ([#13831](https://github.com/mastra-ai/mastra/pull/13831))
|
|
94
|
+
- Fixed scorer prompt metadata (analysis context, generated prompts) being lost when saving experiment scores
|
|
95
|
+
|
|
96
|
+
- Fixed RequestContext constructor crashing when constructed from a deserialized plain object. ([#13856](https://github.com/mastra-ai/mastra/pull/13856))
|
|
97
|
+
|
|
98
|
+
- Fixed LLM errors (generateText, generateObject, streamText, streamObject) being swallowed by the AI SDK's default handler instead of being routed through the Mastra logger. Errors now appear with structured context (runId, modelId, provider, etc.) in your logger, and streaming errors are captured via onError callbacks. ([#13857](https://github.com/mastra-ai/mastra/pull/13857))
|
|
99
|
+
|
|
100
|
+
- Fixed workspace tool output truncation so it no longer gets prematurely cut off when short lines precede a very long line (e.g. minified JSON). Output now uses the full token budget instead of stopping at line boundaries, resulting in more complete tool results. ([#13828](https://github.com/mastra-ai/mastra/pull/13828))
|
|
101
|
+
|
|
102
|
+
- Fixed subagent tool to default maxSteps to 50 when no stopWhen condition is configured, preventing unbounded agent loops. When stopWhen is set, maxSteps remains unset so the stop condition controls termination. ([#13777](https://github.com/mastra-ai/mastra/pull/13777))
|
|
103
|
+
|
|
3
104
|
## 1.10.0-alpha.0
|
|
4
105
|
|
|
5
106
|
### Minor Changes
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBCSVBOAN_cjs = require('../chunk-BCSVBOAN.cjs');
|
|
4
4
|
var chunkYZMSJKAK_cjs = require('../chunk-YZMSJKAK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Agent", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBCSVBOAN_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBCSVBOAN_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBCSVBOAN_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBCSVBOAN_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBCSVBOAN_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBCSVBOAN_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBCSVBOAN_cjs.tryStreamWithJsonFallback; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MessageList", {
|
|
37
37
|
enumerable: true,
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-
|
|
1
|
+
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-YC6Z75K2.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-OHX36YXF.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkYZMSJKAK_cjs = require('./chunk-YZMSJKAK.cjs');
|
|
4
4
|
var chunkHH76UOJL_cjs = require('./chunk-HH76UOJL.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGCRPNAAR_cjs = require('./chunk-GCRPNAAR.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('./chunk-4U7ZLI36.cjs');
|
|
7
7
|
var chunkRO47SMI7_cjs = require('./chunk-RO47SMI7.cjs');
|
|
8
8
|
var jsonToZod = require('@mastra/schema-compat/json-to-zod');
|
|
@@ -405,7 +405,7 @@ var InMemoryAgentsStorage = class extends AgentsStorage {
|
|
|
405
405
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
406
406
|
agents = agents.filter((agent) => {
|
|
407
407
|
if (!agent.metadata) return false;
|
|
408
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
408
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(agent.metadata[key], value));
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
const sortedAgents = this.sortAgents(agents, field, direction);
|
|
@@ -1536,7 +1536,7 @@ var InMemoryMCPClientsStorage = class extends MCPClientsStorage {
|
|
|
1536
1536
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
1537
1537
|
configs = configs.filter((config) => {
|
|
1538
1538
|
if (!config.metadata) return false;
|
|
1539
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
1539
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(config.metadata[key], value));
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
1542
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -1804,7 +1804,7 @@ var InMemoryMCPServersStorage = class extends MCPServersStorage {
|
|
|
1804
1804
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
1805
1805
|
configs = configs.filter((config) => {
|
|
1806
1806
|
if (!config.metadata) return false;
|
|
1807
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
1807
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(config.metadata[key], value));
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
1810
1810
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -3867,7 +3867,7 @@ var InMemoryPromptBlocksStorage = class extends PromptBlocksStorage {
|
|
|
3867
3867
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
3868
3868
|
blocks = blocks.filter((block) => {
|
|
3869
3869
|
if (!block.metadata) return false;
|
|
3870
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
3870
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(block.metadata[key], value));
|
|
3871
3871
|
});
|
|
3872
3872
|
}
|
|
3873
3873
|
const sortedBlocks = this.sortBlocks(blocks, field, direction);
|
|
@@ -4133,7 +4133,7 @@ var InMemoryScorerDefinitionsStorage = class extends ScorerDefinitionsStorage {
|
|
|
4133
4133
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
4134
4134
|
scorers = scorers.filter((scorer) => {
|
|
4135
4135
|
if (!scorer.metadata) return false;
|
|
4136
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
4136
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(scorer.metadata[key], value));
|
|
4137
4137
|
});
|
|
4138
4138
|
}
|
|
4139
4139
|
const sortedScorers = this.sortScorers(scorers, field, direction);
|
|
@@ -5181,7 +5181,7 @@ var InMemoryWorkspacesStorage = class extends WorkspacesStorage {
|
|
|
5181
5181
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
5182
5182
|
configs = configs.filter((config) => {
|
|
5183
5183
|
if (!config.metadata) return false;
|
|
5184
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
5184
|
+
return Object.entries(metadata).every(([key, value]) => chunkGCRPNAAR_cjs.deepEqual(config.metadata[key], value));
|
|
5185
5185
|
});
|
|
5186
5186
|
}
|
|
5187
5187
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -7146,5 +7146,5 @@ exports.safelyParseJSON = safelyParseJSON;
|
|
|
7146
7146
|
exports.serializeDate = serializeDate;
|
|
7147
7147
|
exports.transformRow = transformRow;
|
|
7148
7148
|
exports.transformScoreRow = transformScoreRow;
|
|
7149
|
-
//# sourceMappingURL=chunk-
|
|
7150
|
-
//# sourceMappingURL=chunk-
|
|
7149
|
+
//# sourceMappingURL=chunk-7AHCLTZZ.cjs.map
|
|
7150
|
+
//# sourceMappingURL=chunk-7AHCLTZZ.cjs.map
|