@mastra/core 1.18.0 → 1.18.1-alpha.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/CHANGELOG.md +26 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
- package/dist/{chunk-KLVNQDUR.cjs → chunk-2W7R236U.cjs} +3 -3
- package/dist/chunk-2W7R236U.cjs.map +1 -0
- package/dist/{chunk-V2NQOABM.cjs → chunk-5ANYSU2W.cjs} +9 -9
- package/dist/{chunk-V2NQOABM.cjs.map → chunk-5ANYSU2W.cjs.map} +1 -1
- package/dist/{chunk-KOTSKPTF.cjs → chunk-6R5PT6ZP.cjs} +5 -5
- package/dist/{chunk-KOTSKPTF.cjs.map → chunk-6R5PT6ZP.cjs.map} +1 -1
- package/dist/{chunk-LKZQG2ZZ.cjs → chunk-6VRSFFQ4.cjs} +7 -6
- package/dist/chunk-6VRSFFQ4.cjs.map +1 -0
- package/dist/{chunk-2M3HWTRI.js → chunk-7IE4K74P.js} +4 -4
- package/dist/{chunk-2M3HWTRI.js.map → chunk-7IE4K74P.js.map} +1 -1
- package/dist/{chunk-I4ZSA3XJ.js → chunk-7V3UNILV.js} +4 -4
- package/dist/{chunk-I4ZSA3XJ.js.map → chunk-7V3UNILV.js.map} +1 -1
- package/dist/{chunk-ZRLAR66M.js → chunk-AJZQPWAV.js} +59 -19
- package/dist/chunk-AJZQPWAV.js.map +1 -0
- package/dist/{chunk-XOBRMYFA.js → chunk-BZ2MSXOF.js} +3 -3
- package/dist/chunk-BZ2MSXOF.js.map +1 -0
- package/dist/{chunk-HRT662B6.js → chunk-EAJDF6UV.js} +12 -7
- package/dist/chunk-EAJDF6UV.js.map +1 -0
- package/dist/{chunk-PWFPYJGG.cjs → chunk-EXDBQKH4.cjs} +15 -15
- package/dist/{chunk-PWFPYJGG.cjs.map → chunk-EXDBQKH4.cjs.map} +1 -1
- package/dist/{chunk-GJ62FP5X.js → chunk-HQCBFWL2.js} +18 -35
- package/dist/chunk-HQCBFWL2.js.map +1 -0
- package/dist/{chunk-UPBMT3QM.js → chunk-JTJCFEIY.js} +8 -8
- package/dist/{chunk-UPBMT3QM.js.map → chunk-JTJCFEIY.js.map} +1 -1
- package/dist/{chunk-GJIN53S6.cjs → chunk-L2GYXPJJ.cjs} +9 -9
- package/dist/{chunk-GJIN53S6.cjs.map → chunk-L2GYXPJJ.cjs.map} +1 -1
- package/dist/{chunk-2H53MD2U.cjs → chunk-LVZKPNQO.cjs} +50 -50
- package/dist/{chunk-2H53MD2U.cjs.map → chunk-LVZKPNQO.cjs.map} +1 -1
- package/dist/{chunk-MJF7NZEF.js → chunk-OLHODPXN.js} +3 -3
- package/dist/{chunk-MJF7NZEF.js.map → chunk-OLHODPXN.js.map} +1 -1
- package/dist/{chunk-6Z4GSLLO.js → chunk-OTJAMDX5.js} +3 -3
- package/dist/{chunk-6Z4GSLLO.js.map → chunk-OTJAMDX5.js.map} +1 -1
- package/dist/{chunk-EKFG6JWW.js → chunk-PB3KXPNE.js} +8 -7
- package/dist/chunk-PB3KXPNE.js.map +1 -0
- package/dist/{chunk-TVZCMQTV.cjs → chunk-QADPCUBX.cjs} +83 -82
- package/dist/chunk-QADPCUBX.cjs.map +1 -0
- package/dist/{chunk-RTBZOGTO.js → chunk-QNNFMCSE.js} +3 -3
- package/dist/{chunk-RTBZOGTO.js.map → chunk-QNNFMCSE.js.map} +1 -1
- package/dist/{chunk-7GLVV6CZ.js → chunk-RF4TETYQ.js} +4 -4
- package/dist/{chunk-7GLVV6CZ.js.map → chunk-RF4TETYQ.js.map} +1 -1
- package/dist/{chunk-XQN3BKCI.js → chunk-UJX2TJIF.js} +3 -3
- package/dist/{chunk-XQN3BKCI.js.map → chunk-UJX2TJIF.js.map} +1 -1
- package/dist/{chunk-XQRTJIC7.cjs → chunk-VEP4CV7E.cjs} +32 -3
- package/dist/chunk-VEP4CV7E.cjs.map +1 -0
- package/dist/{chunk-K7AE4BHR.js → chunk-VMBWVH4B.js} +4 -3
- package/dist/chunk-VMBWVH4B.js.map +1 -0
- package/dist/{chunk-J47RNLSY.cjs → chunk-WLNT3YJ7.cjs} +95 -55
- package/dist/chunk-WLNT3YJ7.cjs.map +1 -0
- package/dist/{chunk-L3X22YTN.cjs → chunk-WMF4CWAL.cjs} +185 -185
- package/dist/{chunk-L3X22YTN.cjs.map → chunk-WMF4CWAL.cjs.map} +1 -1
- package/dist/{chunk-4FMKWOPC.js → chunk-X4Q4KB6C.js} +31 -4
- package/dist/chunk-X4Q4KB6C.js.map +1 -0
- package/dist/{chunk-RTXCZT3M.cjs → chunk-XDZOEUNU.cjs} +19 -36
- package/dist/chunk-XDZOEUNU.cjs.map +1 -0
- package/dist/{chunk-GXXNF6NF.cjs → chunk-XNBGNCVV.cjs} +15 -10
- package/dist/chunk-XNBGNCVV.cjs.map +1 -0
- package/dist/{chunk-ZVGS2O2W.cjs → chunk-YCT2YQDL.cjs} +6 -6
- package/dist/{chunk-ZVGS2O2W.cjs.map → chunk-YCT2YQDL.cjs.map} +1 -1
- package/dist/{chunk-ZQE2VUYD.cjs → chunk-YMPV2RMB.cjs} +7 -7
- package/dist/{chunk-ZQE2VUYD.cjs.map → chunk-YMPV2RMB.cjs.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +8 -18
- package/dist/docs/assets/SOURCE_MAP.json +254 -254
- package/dist/docs/references/docs-agents-overview.md +4 -4
- package/dist/docs/references/docs-agents-processors.md +1 -1
- package/dist/docs/references/{docs-observability-datasets-overview.md → docs-evals-datasets-overview.md} +12 -12
- package/dist/docs/references/{docs-observability-datasets-running-experiments.md → docs-evals-datasets-running-experiments.md} +9 -9
- package/dist/docs/references/docs-evals-overview.md +8 -9
- package/dist/docs/references/docs-memory-observational-memory.md +20 -11
- package/dist/docs/references/docs-memory-overview.md +4 -4
- package/dist/docs/references/docs-memory-semantic-recall.md +28 -19
- package/dist/docs/references/docs-memory-storage.md +4 -4
- package/dist/docs/references/docs-rag-chunking-and-embedding.md +2 -2
- package/dist/docs/references/docs-server-auth-composite-auth.md +1 -7
- package/dist/docs/references/docs-server-auth-custom-auth-provider.md +2 -4
- package/dist/docs/references/docs-server-auth-jwt.md +1 -1
- package/dist/docs/references/docs-server-auth-simple-auth.md +1 -7
- package/dist/docs/references/docs-server-custom-adapters.md +3 -1
- package/dist/docs/references/docs-server-custom-api-routes.md +1 -1
- package/dist/docs/references/docs-server-mastra-client.md +1 -3
- package/dist/docs/references/docs-server-mastra-server.md +8 -0
- package/dist/docs/references/docs-server-request-context.md +17 -17
- package/dist/docs/references/docs-streaming-events.md +1 -90
- package/dist/docs/references/docs-studio-auth.md +142 -0
- package/dist/docs/references/docs-studio-deployment.md +260 -0
- package/dist/docs/references/docs-studio-observability.md +98 -0
- package/dist/docs/references/docs-studio-overview.md +127 -0
- package/dist/docs/references/docs-workflows-agents-and-tools.md +7 -10
- package/dist/docs/references/docs-workflows-control-flow.md +1 -1
- package/dist/docs/references/docs-workflows-overview.md +12 -7
- package/dist/docs/references/docs-workflows-suspend-and-resume.md +1 -1
- package/dist/docs/references/guides-concepts-multi-agent-systems.md +4 -4
- package/dist/docs/references/reference-agents-agent.md +1 -1
- package/dist/docs/references/reference-configuration.md +4 -4
- package/dist/docs/references/reference-memory-observational-memory.md +1 -1
- package/dist/docs/references/reference-storage-cloudflare-d1.md +1 -1
- package/dist/docs/references/reference-storage-lance.md +1 -1
- package/dist/docs/references/reference-storage-upstash.md +1 -1
- package/dist/docs/references/reference.md +16 -14
- 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.map +1 -1
- package/dist/harness/index.cjs +13 -12
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +8 -7
- package/dist/harness/index.js.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/aisdk/v5/model.d.ts +5 -0
- package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
- package/dist/llm/model/aisdk/v6/model.d.ts +5 -0
- package/dist/llm/model/aisdk/v6/model.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +5 -13
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/validation.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +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-WD6XLSFC.cjs +12 -0
- package/dist/{models-dev-5WY37RVC.cjs.map → models-dev-WD6XLSFC.cjs.map} +1 -1
- package/dist/models-dev-XG4KIUFT.js +3 -0
- package/dist/{models-dev-Y2UFJEOO.js.map → models-dev-XG4KIUFT.js.map} +1 -1
- package/dist/netlify-FMBBUFKT.cjs +12 -0
- package/dist/{netlify-ADZQ5ZNY.cjs.map → netlify-FMBBUFKT.cjs.map} +1 -1
- package/dist/netlify-NDOVF45T.js +3 -0
- package/dist/{netlify-I4AUVRO2.js.map → netlify-NDOVF45T.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 +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-KHXFOGCK.js +3 -0
- package/dist/{provider-registry-C7SZ5ZT4.js.map → provider-registry-KHXFOGCK.js.map} +1 -1
- package/dist/provider-registry-VUG7E4SG.cjs +40 -0
- package/dist/{provider-registry-I5RW3MEE.cjs.map → provider-registry-VUG7E4SG.cjs.map} +1 -1
- package/dist/provider-registry.json +14 -31
- 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/aisdk/v5/compat/prepare-tools.d.ts.map +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 +31 -23
- package/dist/utils.d.ts +10 -0
- package/dist/utils.d.ts.map +1 -1
- 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/workflows/workflow.d.ts.map +1 -1
- package/dist/workspace/index.cjs +68 -68
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/workspace.d.ts +1 -0
- package/dist/workspace/workspace.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/llm/model/provider-types.generated.d.ts +5 -13
- package/dist/chunk-4FMKWOPC.js.map +0 -1
- package/dist/chunk-EKFG6JWW.js.map +0 -1
- package/dist/chunk-GJ62FP5X.js.map +0 -1
- package/dist/chunk-GXXNF6NF.cjs.map +0 -1
- package/dist/chunk-HRT662B6.js.map +0 -1
- package/dist/chunk-J47RNLSY.cjs.map +0 -1
- package/dist/chunk-K7AE4BHR.js.map +0 -1
- package/dist/chunk-KLVNQDUR.cjs.map +0 -1
- package/dist/chunk-LKZQG2ZZ.cjs.map +0 -1
- package/dist/chunk-RTXCZT3M.cjs.map +0 -1
- package/dist/chunk-TVZCMQTV.cjs.map +0 -1
- package/dist/chunk-XOBRMYFA.js.map +0 -1
- package/dist/chunk-XQRTJIC7.cjs.map +0 -1
- package/dist/chunk-ZRLAR66M.js.map +0 -1
- package/dist/docs/references/docs-observability-logging.md +0 -99
- package/dist/docs/references/docs-observability-overview.md +0 -70
- package/dist/docs/references/docs-observability-tracing-bridges-otel.md +0 -209
- package/dist/docs/references/docs-observability-tracing-exporters-arize.md +0 -272
- package/dist/docs/references/docs-observability-tracing-exporters-braintrust.md +0 -126
- package/dist/docs/references/docs-observability-tracing-exporters-cloud.md +0 -127
- package/dist/docs/references/docs-observability-tracing-exporters-datadog.md +0 -317
- package/dist/docs/references/docs-observability-tracing-exporters-default.md +0 -209
- package/dist/docs/references/docs-observability-tracing-exporters-laminar.md +0 -100
- package/dist/docs/references/docs-observability-tracing-exporters-langfuse.md +0 -213
- package/dist/docs/references/docs-observability-tracing-exporters-langsmith.md +0 -198
- package/dist/docs/references/docs-observability-tracing-exporters-otel.md +0 -476
- package/dist/docs/references/docs-observability-tracing-exporters-posthog.md +0 -148
- package/dist/docs/references/docs-observability-tracing-overview.md +0 -1112
- package/dist/models-dev-5WY37RVC.cjs +0 -12
- package/dist/models-dev-Y2UFJEOO.js +0 -3
- package/dist/netlify-ADZQ5ZNY.cjs +0 -12
- package/dist/netlify-I4AUVRO2.js +0 -3
- package/dist/provider-registry-C7SZ5ZT4.js +0 -3
- package/dist/provider-registry-I5RW3MEE.cjs +0 -40
|
@@ -1,180 +1,180 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AgentsMDInjector", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkWLNT3YJ7_cjs.AgentsMDInjector; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BaseProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWLNT3YJ7_cjs.BaseProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWLNT3YJ7_cjs.BatchPartsProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkWLNT3YJ7_cjs.FilePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkWLNT3YJ7_cjs.ImagePartSchema; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkWLNT3YJ7_cjs.LanguageDetector; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkWLNT3YJ7_cjs.MessageContentSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessageHistory", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkWLNT3YJ7_cjs.MessageHistory; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkWLNT3YJ7_cjs.MessagePartSchema; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkWLNT3YJ7_cjs.ModerationProcessor; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "PIIDetector", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkWLNT3YJ7_cjs.PIIDetector; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputStepPhaseSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageContentSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputResultPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStepPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorRunner; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorState", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorState; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepInputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepOutputSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepSchema; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkWLNT3YJ7_cjs.PromptInjectionDetector; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkWLNT3YJ7_cjs.ReasoningPartSchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkWLNT3YJ7_cjs.SemanticRecall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SkillSearchProcessor", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkWLNT3YJ7_cjs.SkillSearchProcessor; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkWLNT3YJ7_cjs.SkillsProcessor; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkWLNT3YJ7_cjs.SourcePartSchema; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkWLNT3YJ7_cjs.StepStartPartSchema; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkWLNT3YJ7_cjs.StructuredOutputProcessor; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkWLNT3YJ7_cjs.SystemPromptScrubber; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkWLNT3YJ7_cjs.TextPartSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkWLNT3YJ7_cjs.ToolCallFilter; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkWLNT3YJ7_cjs.ToolInvocationPartSchema; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkWLNT3YJ7_cjs.ToolSearchProcessor; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkWLNT3YJ7_cjs.UnicodeNormalizer; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkWLNT3YJ7_cjs.WorkingMemory; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkWLNT3YJ7_cjs.WorkspaceInstructionsProcessor; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkWLNT3YJ7_cjs.globalEmbeddingCache; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkWLNT3YJ7_cjs.isProcessorWorkflow; }
|
|
178
178
|
});
|
|
179
179
|
//# sourceMappingURL=index.cjs.map
|
|
180
180
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AgentsMDInjector, BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-
|
|
1
|
+
export { AgentsMDInjector, BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-AJZQPWAV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-HQCBFWL2.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-KHXFOGCK.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-KHXFOGCK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-KHXFOGCK.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXDZOEUNU_cjs = require('./chunk-XDZOEUNU.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkXDZOEUNU_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkXDZOEUNU_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkXDZOEUNU_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkXDZOEUNU_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkXDZOEUNU_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkXDZOEUNU_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkXDZOEUNU_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkXDZOEUNU_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-VUG7E4SG.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-VUG7E4SG.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-VUG7E4SG.cjs"}
|
|
@@ -778,7 +778,8 @@
|
|
|
778
778
|
"mimo-v2-pro-free",
|
|
779
779
|
"minimax-m2.5",
|
|
780
780
|
"minimax-m2.5-free",
|
|
781
|
-
"nemotron-3-super-free"
|
|
781
|
+
"nemotron-3-super-free",
|
|
782
|
+
"qwen3.6-plus-free"
|
|
782
783
|
],
|
|
783
784
|
"docUrl": "https://opencode.ai/docs/zen",
|
|
784
785
|
"gateway": "models.dev"
|
|
@@ -2169,6 +2170,7 @@
|
|
|
2169
2170
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
2170
2171
|
"qwen/qwen3.5-397b-a17b",
|
|
2171
2172
|
"qwen/qwen3.5-plus-02-15",
|
|
2173
|
+
"qwen/qwen3.6-plus-preview:free",
|
|
2172
2174
|
"sourceful/riverflow-v2-fast-preview",
|
|
2173
2175
|
"sourceful/riverflow-v2-max-preview",
|
|
2174
2176
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -2202,7 +2204,7 @@
|
|
|
2202
2204
|
"npm": "@openrouter/ai-sdk-provider"
|
|
2203
2205
|
},
|
|
2204
2206
|
"zenmux": {
|
|
2205
|
-
"url": "https://zenmux.ai/api/
|
|
2207
|
+
"url": "https://zenmux.ai/api/v1",
|
|
2206
2208
|
"apiKeyEnvVar": "ZENMUX_API_KEY",
|
|
2207
2209
|
"apiKeyHeader": "Authorization",
|
|
2208
2210
|
"name": "ZenMux",
|
|
@@ -2225,7 +2227,6 @@
|
|
|
2225
2227
|
"google/gemini-2.5-flash-lite",
|
|
2226
2228
|
"google/gemini-2.5-pro",
|
|
2227
2229
|
"google/gemini-3-flash-preview",
|
|
2228
|
-
"google/gemini-3-pro-image-preview",
|
|
2229
2230
|
"google/gemini-3-pro-preview",
|
|
2230
2231
|
"google/gemini-3.1-flash-lite-preview",
|
|
2231
2232
|
"google/gemini-3.1-pro-preview",
|
|
@@ -2295,8 +2296,7 @@
|
|
|
2295
2296
|
"z-ai/glm-5-turbo"
|
|
2296
2297
|
],
|
|
2297
2298
|
"docUrl": "https://docs.zenmux.ai",
|
|
2298
|
-
"gateway": "models.dev"
|
|
2299
|
-
"npm": "@ai-sdk/anthropic"
|
|
2299
|
+
"gateway": "models.dev"
|
|
2300
2300
|
},
|
|
2301
2301
|
"perplexity": {
|
|
2302
2302
|
"apiKeyEnvVar": "PERPLEXITY_API_KEY",
|
|
@@ -2713,6 +2713,7 @@
|
|
|
2713
2713
|
"inception/mercury-2",
|
|
2714
2714
|
"inception/mercury-coder-small",
|
|
2715
2715
|
"kwaipilot/kat-coder-pro-v1",
|
|
2716
|
+
"kwaipilot/kat-coder-pro-v2",
|
|
2716
2717
|
"meituan/longcat-flash-chat",
|
|
2717
2718
|
"meituan/longcat-flash-thinking",
|
|
2718
2719
|
"meituan/longcat-flash-thinking-2601",
|
|
@@ -2758,6 +2759,7 @@
|
|
|
2758
2759
|
"morph/morph-v3-fast",
|
|
2759
2760
|
"morph/morph-v3-large",
|
|
2760
2761
|
"nvidia/nemotron-3-nano-30b-a3b",
|
|
2762
|
+
"nvidia/nemotron-3-super-120b-a12b",
|
|
2761
2763
|
"nvidia/nemotron-nano-12b-v2-vl",
|
|
2762
2764
|
"nvidia/nemotron-nano-9b-v2",
|
|
2763
2765
|
"openai/codex-mini",
|
|
@@ -3445,17 +3447,7 @@
|
|
|
3445
3447
|
"apiKeyEnvVar": "VULTR_API_KEY",
|
|
3446
3448
|
"apiKeyHeader": "Authorization",
|
|
3447
3449
|
"name": "Vultr",
|
|
3448
|
-
"models": [
|
|
3449
|
-
"DeepSeek-R1-Distill-Llama-70B",
|
|
3450
|
-
"DeepSeek-R1-Distill-Qwen-32B",
|
|
3451
|
-
"DeepSeek-V3.2",
|
|
3452
|
-
"GLM-5-FP8",
|
|
3453
|
-
"Kimi-K2.5",
|
|
3454
|
-
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
3455
|
-
"MiniMax-M2.5",
|
|
3456
|
-
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
3457
|
-
"gpt-oss-120b"
|
|
3458
|
-
],
|
|
3450
|
+
"models": ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
3459
3451
|
"docUrl": "https://api.vultrinference.com/",
|
|
3460
3452
|
"gateway": "models.dev"
|
|
3461
3453
|
},
|
|
@@ -4432,7 +4424,6 @@
|
|
|
4432
4424
|
"gemini/gemini-2.5-flash",
|
|
4433
4425
|
"gemini/gemini-2.5-flash-image",
|
|
4434
4426
|
"gemini/gemini-2.5-flash-lite",
|
|
4435
|
-
"gemini/gemini-2.5-flash-lite-preview-09-2025",
|
|
4436
4427
|
"gemini/gemini-2.5-pro",
|
|
4437
4428
|
"gemini/gemini-3-flash-preview",
|
|
4438
4429
|
"gemini/gemini-3-pro-image-preview",
|
|
@@ -5066,7 +5057,8 @@
|
|
|
5066
5057
|
"mimo-v2-pro-free",
|
|
5067
5058
|
"minimax-m2.5",
|
|
5068
5059
|
"minimax-m2.5-free",
|
|
5069
|
-
"nemotron-3-super-free"
|
|
5060
|
+
"nemotron-3-super-free",
|
|
5061
|
+
"qwen3.6-plus-free"
|
|
5070
5062
|
],
|
|
5071
5063
|
"berget": [
|
|
5072
5064
|
"BAAI/bge-reranker-v2-m3",
|
|
@@ -6267,6 +6259,7 @@
|
|
|
6267
6259
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
6268
6260
|
"qwen/qwen3.5-397b-a17b",
|
|
6269
6261
|
"qwen/qwen3.5-plus-02-15",
|
|
6262
|
+
"qwen/qwen3.6-plus-preview:free",
|
|
6270
6263
|
"sourceful/riverflow-v2-fast-preview",
|
|
6271
6264
|
"sourceful/riverflow-v2-max-preview",
|
|
6272
6265
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -6314,7 +6307,6 @@
|
|
|
6314
6307
|
"google/gemini-2.5-flash-lite",
|
|
6315
6308
|
"google/gemini-2.5-pro",
|
|
6316
6309
|
"google/gemini-3-flash-preview",
|
|
6317
|
-
"google/gemini-3-pro-image-preview",
|
|
6318
6310
|
"google/gemini-3-pro-preview",
|
|
6319
6311
|
"google/gemini-3.1-flash-lite-preview",
|
|
6320
6312
|
"google/gemini-3.1-pro-preview",
|
|
@@ -6690,6 +6682,7 @@
|
|
|
6690
6682
|
"inception/mercury-2",
|
|
6691
6683
|
"inception/mercury-coder-small",
|
|
6692
6684
|
"kwaipilot/kat-coder-pro-v1",
|
|
6685
|
+
"kwaipilot/kat-coder-pro-v2",
|
|
6693
6686
|
"meituan/longcat-flash-chat",
|
|
6694
6687
|
"meituan/longcat-flash-thinking",
|
|
6695
6688
|
"meituan/longcat-flash-thinking-2601",
|
|
@@ -6735,6 +6728,7 @@
|
|
|
6735
6728
|
"morph/morph-v3-fast",
|
|
6736
6729
|
"morph/morph-v3-large",
|
|
6737
6730
|
"nvidia/nemotron-3-nano-30b-a3b",
|
|
6731
|
+
"nvidia/nemotron-3-super-120b-a12b",
|
|
6738
6732
|
"nvidia/nemotron-nano-12b-v2-vl",
|
|
6739
6733
|
"nvidia/nemotron-nano-9b-v2",
|
|
6740
6734
|
"openai/codex-mini",
|
|
@@ -7299,17 +7293,7 @@
|
|
|
7299
7293
|
"zai-org/GLM-4.5-Air",
|
|
7300
7294
|
"zai-org/GLM-4.5-FP8"
|
|
7301
7295
|
],
|
|
7302
|
-
"vultr": [
|
|
7303
|
-
"DeepSeek-R1-Distill-Llama-70B",
|
|
7304
|
-
"DeepSeek-R1-Distill-Qwen-32B",
|
|
7305
|
-
"DeepSeek-V3.2",
|
|
7306
|
-
"GLM-5-FP8",
|
|
7307
|
-
"Kimi-K2.5",
|
|
7308
|
-
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
7309
|
-
"MiniMax-M2.5",
|
|
7310
|
-
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
7311
|
-
"gpt-oss-120b"
|
|
7312
|
-
],
|
|
7296
|
+
"vultr": ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
7313
7297
|
"github-models": [
|
|
7314
7298
|
"ai21-labs/ai21-jamba-1.5-large",
|
|
7315
7299
|
"ai21-labs/ai21-jamba-1.5-mini",
|
|
@@ -8166,7 +8150,6 @@
|
|
|
8166
8150
|
"gemini/gemini-2.5-flash",
|
|
8167
8151
|
"gemini/gemini-2.5-flash-image",
|
|
8168
8152
|
"gemini/gemini-2.5-flash-lite",
|
|
8169
|
-
"gemini/gemini-2.5-flash-lite-preview-09-2025",
|
|
8170
8153
|
"gemini/gemini-2.5-pro",
|
|
8171
8154
|
"gemini/gemini-3-flash-preview",
|
|
8172
8155
|
"gemini/gemini-3-pro-image-preview",
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
|
|
4
4
|
|
|
5
5
|
// src/relevance/relevance-score-provider.ts
|
|
6
6
|
function createSimilarityPrompt(query, text) {
|
|
@@ -17,7 +17,7 @@ Relevance score (0-1):`;
|
|
|
17
17
|
var MastraAgentRelevanceScorer = class {
|
|
18
18
|
agent;
|
|
19
19
|
constructor(name, model) {
|
|
20
|
-
this.agent = new
|
|
20
|
+
this.agent = new chunkWLNT3YJ7_cjs.Agent({
|
|
21
21
|
id: `relevance-scorer-${name}`,
|
|
22
22
|
name: `Relevance Scorer ${name}`,
|
|
23
23
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
@@ -37,7 +37,7 @@ Always return just the number, no explanation.`,
|
|
|
37
37
|
const prompt = createSimilarityPrompt(query, text);
|
|
38
38
|
const model = await this.agent.getModel();
|
|
39
39
|
let response;
|
|
40
|
-
if (
|
|
40
|
+
if (chunkWLNT3YJ7_cjs.isSupportedLanguageModel(model)) {
|
|
41
41
|
const responseText = await this.agent.generate(prompt);
|
|
42
42
|
response = responseText.text;
|
|
43
43
|
} else {
|
package/dist/relevance/index.js
CHANGED