@mastra/core 1.16.1-alpha.1 → 1.17.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 +85 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-OEOHECI4.cjs → chunk-3H34KWBU.cjs} +9 -9
- package/dist/{chunk-OEOHECI4.cjs.map → chunk-3H34KWBU.cjs.map} +1 -1
- package/dist/{chunk-Y5EGGY3M.js → chunk-62GLEYP6.js} +3 -3
- package/dist/{chunk-Y5EGGY3M.js.map → chunk-62GLEYP6.js.map} +1 -1
- package/dist/{chunk-J3NJXIJ4.js → chunk-ABA3KD3X.js} +524 -246
- package/dist/chunk-ABA3KD3X.js.map +1 -0
- package/dist/{chunk-NHYQRELK.cjs → chunk-BKXCVT72.cjs} +3 -3
- package/dist/chunk-BKXCVT72.cjs.map +1 -0
- package/dist/{chunk-P7HTEQ33.js → chunk-CVG4K4O3.js} +4 -4
- package/dist/{chunk-P7HTEQ33.js.map → chunk-CVG4K4O3.js.map} +1 -1
- package/dist/{chunk-RGOEP34Y.js → chunk-CYQ2TNSK.js} +3 -3
- package/dist/{chunk-RGOEP34Y.js.map → chunk-CYQ2TNSK.js.map} +1 -1
- package/dist/{chunk-4DFZ553O.js → chunk-DGBPIUTG.js} +3 -3
- package/dist/{chunk-4DFZ553O.js.map → chunk-DGBPIUTG.js.map} +1 -1
- package/dist/{chunk-PSJRMLRB.js → chunk-DIWGRQZT.js} +3 -3
- package/dist/chunk-DIWGRQZT.js.map +1 -0
- package/dist/{chunk-EBPV22NT.cjs → chunk-EWGUU5QC.cjs} +6 -6
- package/dist/{chunk-EBPV22NT.cjs.map → chunk-EWGUU5QC.cjs.map} +1 -1
- package/dist/{chunk-6ZT4MY74.cjs → chunk-FQMFXIUQ.cjs} +185 -185
- package/dist/{chunk-6ZT4MY74.cjs.map → chunk-FQMFXIUQ.cjs.map} +1 -1
- package/dist/{chunk-ZJMETLCP.js → chunk-FWDG2WUV.js} +29 -27
- package/dist/chunk-FWDG2WUV.js.map +1 -0
- package/dist/{chunk-KDT3Y3ME.cjs → chunk-I7S3ZFOU.cjs} +82 -82
- package/dist/{chunk-KDT3Y3ME.cjs.map → chunk-I7S3ZFOU.cjs.map} +1 -1
- package/dist/{chunk-TOPTRKIX.js → chunk-IOKPS5RD.js} +14 -4
- package/dist/chunk-IOKPS5RD.js.map +1 -0
- package/dist/{chunk-YB77ED7R.js → chunk-IPINMJOH.js} +3 -3
- package/dist/{chunk-YB77ED7R.js.map → chunk-IPINMJOH.js.map} +1 -1
- package/dist/{chunk-WJWWFBKT.js → chunk-IYSW4VN7.js} +476 -27
- package/dist/chunk-IYSW4VN7.js.map +1 -0
- package/dist/{chunk-ESKXIAWT.js → chunk-J2BSGWLR.js} +9 -9
- package/dist/{chunk-ESKXIAWT.js.map → chunk-J2BSGWLR.js.map} +1 -1
- package/dist/{chunk-X672Z4KM.js → chunk-KFYDUUVH.js} +7 -7
- package/dist/{chunk-X672Z4KM.js.map → chunk-KFYDUUVH.js.map} +1 -1
- package/dist/{chunk-7L2ICIDI.cjs → chunk-MBJ6IAKF.cjs} +6 -6
- package/dist/{chunk-7L2ICIDI.cjs.map → chunk-MBJ6IAKF.cjs.map} +1 -1
- package/dist/{chunk-7O2GO5ZA.cjs → chunk-O2BVR6WC.cjs} +16 -16
- package/dist/{chunk-7O2GO5ZA.cjs.map → chunk-O2BVR6WC.cjs.map} +1 -1
- package/dist/{chunk-GKUIFIWB.cjs → chunk-OXH67SS4.cjs} +9 -9
- package/dist/{chunk-GKUIFIWB.cjs.map → chunk-OXH67SS4.cjs.map} +1 -1
- package/dist/{chunk-JWTPUJWM.cjs → chunk-QLC3UBDY.cjs} +512 -61
- package/dist/chunk-QLC3UBDY.cjs.map +1 -0
- package/dist/{chunk-XW4B2RAG.cjs → chunk-QVVWKMFM.cjs} +525 -248
- package/dist/chunk-QVVWKMFM.cjs.map +1 -0
- package/dist/{chunk-RQBBPR64.cjs → chunk-R2V6BCYX.cjs} +29 -27
- package/dist/chunk-R2V6BCYX.cjs.map +1 -0
- package/dist/{chunk-YKW2LXON.js → chunk-RUUHBB7U.js} +4 -4
- package/dist/{chunk-YKW2LXON.js.map → chunk-RUUHBB7U.js.map} +1 -1
- package/dist/{chunk-HFGULJ4Q.js → chunk-RX5ZKTWD.js} +4 -4
- package/dist/{chunk-HFGULJ4Q.js.map → chunk-RX5ZKTWD.js.map} +1 -1
- package/dist/{chunk-UCKOC22J.cjs → chunk-TPJSYHLC.cjs} +15 -5
- package/dist/chunk-TPJSYHLC.cjs.map +1 -0
- package/dist/{chunk-AM2AF362.cjs → chunk-XWGZAY4F.cjs} +5 -5
- package/dist/{chunk-AM2AF362.cjs.map → chunk-XWGZAY4F.cjs.map} +1 -1
- package/dist/{chunk-LPCQ6RYF.cjs → chunk-YE2NPWVL.cjs} +50 -50
- package/dist/{chunk-LPCQ6RYF.cjs.map → chunk-YE2NPWVL.cjs.map} +1 -1
- package/dist/{chunk-XKOCRXCP.js → chunk-ZOJZL62I.js} +3 -3
- package/dist/{chunk-XKOCRXCP.js.map → chunk-ZOJZL62I.js.map} +1 -1
- package/dist/{chunk-QJGJEX2X.cjs → chunk-ZOZHH547.cjs} +7 -7
- package/dist/{chunk-QJGJEX2X.cjs.map → chunk-ZOZHH547.cjs.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +3 -1
- package/dist/docs/assets/SOURCE_MAP.json +265 -255
- package/dist/docs/references/docs-workspace-lsp.md +116 -0
- package/dist/docs/references/docs-workspace-overview.md +15 -1
- package/dist/docs/references/reference-harness-harness-class.md +2 -0
- package/dist/docs/references/reference-processors-skill-search-processor.md +93 -0
- package/dist/docs/references/reference.md +1 -0
- 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/harness.d.ts +4 -5
- package/dist/harness/harness.d.ts.map +1 -1
- package/dist/harness/index.cjs +44 -12
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.d.ts +1 -1
- package/dist/harness/index.d.ts.map +1 -1
- package/dist/harness/index.js +39 -7
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/types.d.ts +18 -4
- package/dist/harness/types.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +5 -0
- 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/models-dev-3UNU47HO.cjs +12 -0
- package/dist/{models-dev-KMQOE3SL.cjs.map → models-dev-3UNU47HO.cjs.map} +1 -1
- package/dist/models-dev-U3LBEE4O.js +3 -0
- package/dist/{models-dev-7F53M5Y6.js.map → models-dev-U3LBEE4O.js.map} +1 -1
- package/dist/netlify-ET5JT5FX.cjs +12 -0
- package/dist/{netlify-MBDMAHGO.cjs.map → netlify-ET5JT5FX.cjs.map} +1 -1
- package/dist/netlify-QVXFSZJQ.js +3 -0
- package/dist/{netlify-KUZQYG5K.js.map → netlify-QVXFSZJQ.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +50 -42
- package/dist/processors/index.js +1 -1
- package/dist/processors/processors/index.d.ts +2 -0
- package/dist/processors/processors/index.d.ts.map +1 -1
- package/dist/processors/processors/skill-search.d.ts +111 -0
- package/dist/processors/processors/skill-search.d.ts.map +1 -0
- package/dist/processors/tool-result-reminder.d.ts +32 -0
- package/dist/processors/tool-result-reminder.d.ts.map +1 -0
- package/dist/provider-registry-IP3K4FE4.js +3 -0
- package/dist/{provider-registry-EB75EFT7.js.map → provider-registry-IP3K4FE4.js.map} +1 -1
- package/dist/provider-registry-S6VYJ3GX.cjs +40 -0
- package/dist/{provider-registry-3B6CFW7R.cjs.map → provider-registry-S6VYJ3GX.cjs.map} +1 -1
- package/dist/provider-registry.json +10 -0
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +74 -74
- 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/tools/tool-builder/builder.d.ts.map +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 +24 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workspace/constants/index.d.ts +4 -1
- package/dist/workspace/constants/index.d.ts.map +1 -1
- package/dist/workspace/index.cjs +68 -68
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/lsp/client.d.ts +30 -0
- package/dist/workspace/lsp/client.d.ts.map +1 -1
- package/dist/workspace/lsp/manager.d.ts +11 -0
- package/dist/workspace/lsp/manager.d.ts.map +1 -1
- package/dist/workspace/tools/index.d.ts +1 -0
- package/dist/workspace/tools/index.d.ts.map +1 -1
- package/dist/workspace/tools/lsp-inspect.d.ts +13 -0
- package/dist/workspace/tools/lsp-inspect.d.ts.map +1 -0
- package/dist/workspace/tools/tools.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/llm/model/provider-types.generated.d.ts +5 -0
- package/test-utils/llm-mock.d.ts +1 -0
- package/dist/chunk-J3NJXIJ4.js.map +0 -1
- package/dist/chunk-JWTPUJWM.cjs.map +0 -1
- package/dist/chunk-NHYQRELK.cjs.map +0 -1
- package/dist/chunk-PSJRMLRB.js.map +0 -1
- package/dist/chunk-RQBBPR64.cjs.map +0 -1
- package/dist/chunk-TOPTRKIX.js.map +0 -1
- package/dist/chunk-UCKOC22J.cjs.map +0 -1
- package/dist/chunk-WJWWFBKT.js.map +0 -1
- package/dist/chunk-XW4B2RAG.cjs.map +0 -1
- package/dist/chunk-ZJMETLCP.js.map +0 -1
- package/dist/models-dev-7F53M5Y6.js +0 -3
- package/dist/models-dev-KMQOE3SL.cjs +0 -12
- package/dist/netlify-KUZQYG5K.js +0 -3
- package/dist/netlify-MBDMAHGO.cjs +0 -12
- package/dist/provider-registry-3B6CFW7R.cjs +0 -40
- package/dist/provider-registry-EB75EFT7.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,90 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add `lsp_inspect` tool for LSP-based code inspection with hover, definition, and implementation queries ([#14565](https://github.com/mastra-ai/mastra/pull/14565))
|
|
8
|
+
|
|
9
|
+
- Added `disableBuiltinTools` to `HarnessConfig` so you can disable specific built-in harness tools. ([#14227](https://github.com/mastra-ai/mastra/pull/14227))
|
|
10
|
+
|
|
11
|
+
Example:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
new Harness({ disableBuiltinTools: ['submit_plan', 'subagent'] });
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- Added SkillSearchProcessor for on-demand skill discovery. Instead of injecting all skill metadata upfront, agents get `search_skills` and `load_skill` meta-tools to find and load skills on demand with thread-scoped state and TTL cleanup. ([#14596](https://github.com/mastra-ai/mastra/pull/14596))
|
|
18
|
+
|
|
19
|
+
**Example**
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { SkillSearchProcessor } from '@mastra/core/processors';
|
|
23
|
+
|
|
24
|
+
const skillSearch = new SkillSearchProcessor({
|
|
25
|
+
workspace,
|
|
26
|
+
search: { topK: 5 },
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const agent = new Agent({
|
|
30
|
+
workspace,
|
|
31
|
+
inputProcessors: [skillSearch],
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Update provider registry and model documentation with latest models and providers ([`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067))
|
|
38
|
+
|
|
39
|
+
- Fixed `Harness.listThreads()` so callers can request threads across all resources. ([#14690](https://github.com/mastra-ai/mastra/pull/14690))
|
|
40
|
+
|
|
41
|
+
- The internal architecture of observational memory has been refactored. The public API and behavior remain unchanged. ([#14453](https://github.com/mastra-ai/mastra/pull/14453))
|
|
42
|
+
|
|
43
|
+
- Fixed Harness `stateSchema` typing to accept Zod schemas with `.default()`, `.optional()`, and `.transform()` modifiers. Previously, these modifiers caused TypeScript errors because the type system forced schema Input and Output types to be identical. Now `stateSchema` correctly accepts any schema regardless of input type divergence. ([#14606](https://github.com/mastra-ai/mastra/pull/14606))
|
|
44
|
+
|
|
45
|
+
- Improved the Loaded AGENTS.md reminder in the TUI so it uses the new bordered notice style and collapses long reminder content by default. ([#14637](https://github.com/mastra-ai/mastra/pull/14637))
|
|
46
|
+
|
|
47
|
+
- Fixed tool input validation failures not producing observability spans. When input schema validation failed, no TOOL_CALL span was created because span creation happened inside the execution function that ran after validation. Moved span creation before input validation so validation errors are now captured in spans and visible in observability backends like Datadog. ([#14677](https://github.com/mastra-ai/mastra/pull/14677))
|
|
48
|
+
|
|
49
|
+
## 1.17.0-alpha.2
|
|
50
|
+
|
|
51
|
+
### Minor Changes
|
|
52
|
+
|
|
53
|
+
- Add lsp_inspect tool for LSP-based code inspection with hover, definition, and implementation queries ([#14565](https://github.com/mastra-ai/mastra/pull/14565))
|
|
54
|
+
|
|
55
|
+
- Added `disableBuiltinTools` to `HarnessConfig` so you can disable specific built-in harness tools. ([#14227](https://github.com/mastra-ai/mastra/pull/14227))
|
|
56
|
+
|
|
57
|
+
Example:
|
|
58
|
+
`new Harness({ disableBuiltinTools: ['submit_plan', 'subagent'] })`
|
|
59
|
+
|
|
60
|
+
- Added SkillSearchProcessor for on-demand skill discovery. Instead of injecting all skill metadata upfront, agents get `search_skills` and `load_skill` meta-tools to find and load skills on demand with thread-scoped state and TTL cleanup. ([#14596](https://github.com/mastra-ai/mastra/pull/14596))
|
|
61
|
+
|
|
62
|
+
**Example**
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
import { SkillSearchProcessor } from '@mastra/core/processors';
|
|
66
|
+
|
|
67
|
+
const skillSearch = new SkillSearchProcessor({
|
|
68
|
+
workspace,
|
|
69
|
+
search: { topK: 5 },
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
const agent = new Agent({
|
|
73
|
+
workspace,
|
|
74
|
+
inputProcessors: [skillSearch],
|
|
75
|
+
});
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Fixed `Harness.listThreads()` so callers can request threads across all resources. ([#14690](https://github.com/mastra-ai/mastra/pull/14690))
|
|
81
|
+
|
|
82
|
+
- Fixed Harness `stateSchema` typing to accept Zod schemas with `.default()`, `.optional()`, and `.transform()` modifiers. Previously, these modifiers caused TypeScript errors because the type system forced schema Input and Output types to be identical. Now `stateSchema` correctly accepts any schema regardless of input type divergence. ([#14606](https://github.com/mastra-ai/mastra/pull/14606))
|
|
83
|
+
|
|
84
|
+
- Improved the Loaded AGENTS.md reminder in the TUI so it uses the new bordered notice style and collapses long reminder content by default. ([#14637](https://github.com/mastra-ai/mastra/pull/14637))
|
|
85
|
+
|
|
86
|
+
- Fixed tool input validation failures not producing observability spans. When input schema validation failed, no TOOL_CALL span was created because span creation happened inside the execution function that ran after validation. Moved span creation before input validation so validation errors are now captured in spans and visible in observability backends like Datadog. ([#14677](https://github.com/mastra-ai/mastra/pull/14677))
|
|
87
|
+
|
|
3
88
|
## 1.16.1-alpha.1
|
|
4
89
|
|
|
5
90
|
### Patch Changes
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQLC3UBDY_cjs = require('../chunk-QLC3UBDY.cjs');
|
|
4
4
|
var chunkANLO4VM2_cjs = require('../chunk-ANLO4VM2.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 chunkQLC3UBDY_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkQLC3UBDY_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQLC3UBDY_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkQLC3UBDY_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkQLC3UBDY_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkQLC3UBDY_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkQLC3UBDY_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-IYSW4VN7.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-SLZ3WO42.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkANLO4VM2_cjs = require('./chunk-ANLO4VM2.cjs');
|
|
4
4
|
var chunkQVQ3PGG2_cjs = require('./chunk-QVQ3PGG2.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkR2V6BCYX_cjs = require('./chunk-R2V6BCYX.cjs');
|
|
6
6
|
var chunkG5HKDGNT_cjs = require('./chunk-G5HKDGNT.cjs');
|
|
7
7
|
var chunk4U7ZLI36_cjs = require('./chunk-4U7ZLI36.cjs');
|
|
8
8
|
var chunkRO47SMI7_cjs = require('./chunk-RO47SMI7.cjs');
|
|
@@ -1990,7 +1990,7 @@ var InMemoryAgentsStorage = class extends AgentsStorage {
|
|
|
1990
1990
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
1991
1991
|
agents = agents.filter((agent) => {
|
|
1992
1992
|
if (!agent.metadata) return false;
|
|
1993
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
1993
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(agent.metadata[key], value));
|
|
1994
1994
|
});
|
|
1995
1995
|
}
|
|
1996
1996
|
const sortedAgents = this.sortAgents(agents, field, direction);
|
|
@@ -3166,7 +3166,7 @@ var InMemoryMCPClientsStorage = class extends MCPClientsStorage {
|
|
|
3166
3166
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
3167
3167
|
configs = configs.filter((config) => {
|
|
3168
3168
|
if (!config.metadata) return false;
|
|
3169
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
3169
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(config.metadata[key], value));
|
|
3170
3170
|
});
|
|
3171
3171
|
}
|
|
3172
3172
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -3434,7 +3434,7 @@ var InMemoryMCPServersStorage = class extends MCPServersStorage {
|
|
|
3434
3434
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
3435
3435
|
configs = configs.filter((config) => {
|
|
3436
3436
|
if (!config.metadata) return false;
|
|
3437
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
3437
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(config.metadata[key], value));
|
|
3438
3438
|
});
|
|
3439
3439
|
}
|
|
3440
3440
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -4899,7 +4899,7 @@ var InMemoryPromptBlocksStorage = class extends PromptBlocksStorage {
|
|
|
4899
4899
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
4900
4900
|
blocks = blocks.filter((block) => {
|
|
4901
4901
|
if (!block.metadata) return false;
|
|
4902
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
4902
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(block.metadata[key], value));
|
|
4903
4903
|
});
|
|
4904
4904
|
}
|
|
4905
4905
|
const sortedBlocks = this.sortBlocks(blocks, field, direction);
|
|
@@ -5165,7 +5165,7 @@ var InMemoryScorerDefinitionsStorage = class extends ScorerDefinitionsStorage {
|
|
|
5165
5165
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
5166
5166
|
scorers = scorers.filter((scorer) => {
|
|
5167
5167
|
if (!scorer.metadata) return false;
|
|
5168
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
5168
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(scorer.metadata[key], value));
|
|
5169
5169
|
});
|
|
5170
5170
|
}
|
|
5171
5171
|
const sortedScorers = this.sortScorers(scorers, field, direction);
|
|
@@ -6213,7 +6213,7 @@ var InMemoryWorkspacesStorage = class extends WorkspacesStorage {
|
|
|
6213
6213
|
if (metadata && Object.keys(metadata).length > 0) {
|
|
6214
6214
|
configs = configs.filter((config) => {
|
|
6215
6215
|
if (!config.metadata) return false;
|
|
6216
|
-
return Object.entries(metadata).every(([key, value]) =>
|
|
6216
|
+
return Object.entries(metadata).every(([key, value]) => chunkR2V6BCYX_cjs.deepEqual(config.metadata[key], value));
|
|
6217
6217
|
});
|
|
6218
6218
|
}
|
|
6219
6219
|
const sortedConfigs = this.sortConfigs(configs, field, direction);
|
|
@@ -8188,5 +8188,5 @@ exports.serializeSpanAttributes = serializeSpanAttributes;
|
|
|
8188
8188
|
exports.toEntityType = toEntityType;
|
|
8189
8189
|
exports.transformRow = transformRow;
|
|
8190
8190
|
exports.transformScoreRow = transformScoreRow;
|
|
8191
|
-
//# sourceMappingURL=chunk-
|
|
8192
|
-
//# sourceMappingURL=chunk-
|
|
8191
|
+
//# sourceMappingURL=chunk-3H34KWBU.cjs.map
|
|
8192
|
+
//# sourceMappingURL=chunk-3H34KWBU.cjs.map
|