@mastra/core 1.1.0 → 1.2.0-alpha.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 +74 -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/{chunk-RYVRCT7Z.cjs → chunk-22EV7GMK.cjs} +55 -19
- package/dist/chunk-22EV7GMK.cjs.map +1 -0
- package/dist/chunk-2QXNHEDL.js +8 -0
- package/dist/chunk-2QXNHEDL.js.map +1 -0
- package/dist/{chunk-OSIE5L6N.js → chunk-66BWIF4S.js} +7 -7
- package/dist/{chunk-OSIE5L6N.js.map → chunk-66BWIF4S.js.map} +1 -1
- package/dist/{chunk-IDDFKLI7.js → chunk-AC63Y6KP.js} +865 -1471
- package/dist/chunk-AC63Y6KP.js.map +1 -0
- package/dist/{chunk-4QJBNJI4.cjs → chunk-BLXWTBLL.cjs} +168 -168
- package/dist/{chunk-4QJBNJI4.cjs.map → chunk-BLXWTBLL.cjs.map} +1 -1
- package/dist/{chunk-KPIJA2R5.js → chunk-CILDTRXD.js} +2 -2
- package/dist/{chunk-KPIJA2R5.js.map → chunk-CILDTRXD.js.map} +1 -1
- package/dist/{chunk-OW7H7G5N.js → chunk-DWD5DB6W.js} +4 -4
- package/dist/{chunk-OW7H7G5N.js.map → chunk-DWD5DB6W.js.map} +1 -1
- package/dist/{chunk-MGOFRL36.cjs → chunk-EYUXOOSQ.cjs} +106 -39
- package/dist/chunk-EYUXOOSQ.cjs.map +1 -0
- package/dist/{chunk-FVVQY6UU.js → chunk-FAJYC6PA.js} +375 -23
- package/dist/chunk-FAJYC6PA.js.map +1 -0
- package/dist/{chunk-YQMDMIP6.js → chunk-FYMM4PKR.js} +1337 -312
- package/dist/chunk-FYMM4PKR.js.map +1 -0
- package/dist/{chunk-FAM74XPO.js → chunk-G6E3QNJC.js} +3741 -2912
- package/dist/chunk-G6E3QNJC.js.map +1 -0
- package/dist/{chunk-YSFYUEEG.cjs → chunk-I6PWV32C.cjs} +42 -10
- package/dist/chunk-I6PWV32C.cjs.map +1 -0
- package/dist/{chunk-VNGQXHUE.cjs → chunk-MCI7M6AT.cjs} +7 -7
- package/dist/{chunk-VNGQXHUE.cjs.map → chunk-MCI7M6AT.cjs.map} +1 -1
- package/dist/{chunk-4KQEQ4NM.js → chunk-NS33UC72.js} +55 -20
- package/dist/chunk-NS33UC72.js.map +1 -0
- package/dist/{chunk-4PERRFZD.cjs → chunk-OAOMKZXU.cjs} +1378 -353
- package/dist/chunk-OAOMKZXU.cjs.map +1 -0
- package/dist/{chunk-4ACKGMN2.cjs → chunk-ODNSWEMV.cjs} +7 -7
- package/dist/{chunk-4ACKGMN2.cjs.map → chunk-ODNSWEMV.cjs.map} +1 -1
- package/dist/{chunk-H4C5NORS.js → chunk-OQPAOUDS.js} +36 -5
- package/dist/chunk-OQPAOUDS.js.map +1 -0
- package/dist/{chunk-VAJRNUEF.js → chunk-SPVI7HCP.js} +76 -76
- package/dist/chunk-SPVI7HCP.js.map +1 -0
- package/dist/{chunk-ENLG644T.cjs → chunk-STNSGW7W.cjs} +1514 -2120
- package/dist/chunk-STNSGW7W.cjs.map +1 -0
- package/dist/{chunk-FZZI2V2T.js → chunk-USHB3SPM.js} +4 -4
- package/dist/{chunk-FZZI2V2T.js.map → chunk-USHB3SPM.js.map} +1 -1
- package/dist/{chunk-4NGQR4ML.cjs → chunk-UZL4H5P2.cjs} +5092 -4247
- package/dist/chunk-UZL4H5P2.cjs.map +1 -0
- package/dist/{chunk-DOVI2C5F.cjs → chunk-VZXYBFCX.cjs} +8 -8
- package/dist/{chunk-DOVI2C5F.cjs.map → chunk-VZXYBFCX.cjs.map} +1 -1
- package/dist/{chunk-4FUG3CNY.js → chunk-W3AQUG66.js} +3 -3
- package/dist/{chunk-4FUG3CNY.js.map → chunk-W3AQUG66.js.map} +1 -1
- package/dist/{chunk-SLMSUZBA.cjs → chunk-W57QS6F6.cjs} +400 -46
- package/dist/chunk-W57QS6F6.cjs.map +1 -0
- package/dist/{chunk-BG6DCMO2.js → chunk-XS2MED4Y.js} +105 -38
- package/dist/chunk-XS2MED4Y.js.map +1 -0
- package/dist/{chunk-HR67B4UM.cjs → chunk-XVHK5IAO.cjs} +15 -15
- package/dist/{chunk-HR67B4UM.cjs.map → chunk-XVHK5IAO.cjs.map} +1 -1
- package/dist/{chunk-RIPKI7ON.cjs → chunk-Y2SVKUOQ.cjs} +2 -2
- package/dist/{chunk-RIPKI7ON.cjs.map → chunk-Y2SVKUOQ.cjs.map} +1 -1
- package/dist/{chunk-LJOQ7WYC.cjs → chunk-ZCBG4ZQT.cjs} +4 -2
- package/dist/chunk-ZCBG4ZQT.cjs.map +1 -0
- package/dist/docs/README.md +2 -2
- package/dist/docs/SKILL.md +3 -3
- package/dist/docs/SOURCE_MAP.json +280 -270
- package/dist/docs/agents/01-overview.md +6 -2
- package/dist/docs/agents/02-using-tools.md +1 -0
- package/dist/docs/agents/06-processors.md +87 -1
- package/dist/docs/evals/01-overview.md +5 -5
- package/dist/docs/mcp/01-overview.md +2 -2
- package/dist/docs/observability/01-overview.md +1 -1
- package/dist/docs/observability/03-overview.md +3 -3
- package/dist/docs/processors/01-reference.md +100 -1
- package/dist/docs/rag/01-overview.md +1 -1
- package/dist/docs/rag/03-vector-databases.md +10 -1
- package/dist/docs/server/04-request-context.md +168 -0
- package/dist/docs/tools-mcp/01-mcp-overview.md +2 -2
- package/dist/docs/voice/01-overview.md +1 -1
- package/dist/docs/workflows/01-overview.md +9 -5
- package/dist/docs/workspace/01-overview.md +38 -31
- package/dist/docs/workspace/02-filesystem.md +9 -11
- package/dist/docs/workspace/03-sandbox.md +8 -10
- package/dist/docs/workspace/04-skills.md +24 -25
- package/dist/docs/workspace/05-search.md +34 -31
- package/dist/docs/workspace/06-reference.md +24 -149
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +15 -15
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +44 -15
- package/dist/loop/index.cjs +12 -12
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +11 -11
- package/dist/memory/index.js +1 -1
- package/dist/memory/memory.d.ts +6 -0
- package/dist/memory/memory.d.ts.map +1 -1
- package/dist/models-dev-2HBSVUOS.js +3 -0
- package/dist/{models-dev-B2ESSYRH.js.map → models-dev-2HBSVUOS.js.map} +1 -1
- package/dist/models-dev-SOIECXXQ.cjs +12 -0
- package/dist/{models-dev-IQ54YHQ4.cjs.map → models-dev-SOIECXXQ.cjs.map} +1 -1
- package/dist/netlify-SSWMYSAX.js +3 -0
- package/dist/{netlify-KPCOQ52P.js.map → netlify-SSWMYSAX.js.map} +1 -1
- package/dist/netlify-TXZZCT6N.cjs +12 -0
- package/dist/{netlify-D6LNGTDH.cjs.map → netlify-TXZZCT6N.cjs.map} +1 -1
- package/dist/processors/index.cjs +44 -40
- package/dist/processors/index.js +1 -1
- package/dist/processors/processors/index.d.ts +1 -0
- package/dist/processors/processors/index.d.ts.map +1 -1
- package/dist/processors/processors/tool-search.d.ts +176 -0
- package/dist/processors/processors/tool-search.d.ts.map +1 -0
- package/dist/provider-registry-K5L4DHRK.js +3 -0
- package/dist/{provider-registry-B3CGX3OF.js.map → provider-registry-K5L4DHRK.js.map} +1 -1
- package/dist/provider-registry-ML2VWWLB.cjs +40 -0
- package/dist/{provider-registry-CHV3DFFA.cjs.map → provider-registry-ML2VWWLB.cjs.map} +1 -1
- package/dist/provider-registry.json +101 -34
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +16 -16
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +101 -101
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.ts +4 -0
- package/dist/storage/types.d.ts.map +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/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/constants.cjs +7 -3
- package/dist/workflows/constants.d.ts +1 -0
- package/dist/workflows/constants.d.ts.map +1 -1
- package/dist/workflows/constants.js +1 -1
- package/dist/workflows/default.d.ts.map +1 -1
- package/dist/workflows/evented/execution-engine.d.ts +8 -1
- package/dist/workflows/evented/execution-engine.d.ts.map +1 -1
- package/dist/workflows/evented/helpers.d.ts +68 -0
- package/dist/workflows/evented/helpers.d.ts.map +1 -0
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/step-executor.d.ts +9 -17
- package/dist/workflows/evented/step-executor.d.ts.map +1 -1
- package/dist/workflows/evented/types.d.ts +29 -0
- package/dist/workflows/evented/types.d.ts.map +1 -0
- package/dist/workflows/evented/workflow-event-processor/index.d.ts +12 -3
- package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/loop.d.ts +2 -2
- package/dist/workflows/evented/workflow-event-processor/loop.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/parallel.d.ts +2 -2
- package/dist/workflows/evented/workflow-event-processor/parallel.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/sleep.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/utils.d.ts.map +1 -1
- package/dist/workflows/evented/workflow.d.ts +54 -3
- package/dist/workflows/evented/workflow.d.ts.map +1 -1
- package/dist/workflows/index.cjs +28 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/utils.d.ts +27 -0
- package/dist/workflows/utils.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/dist/workspace/filesystem/local-filesystem.d.ts +3 -0
- package/dist/workspace/filesystem/local-filesystem.d.ts.map +1 -1
- package/dist/workspace/index.cjs +32 -32
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/lifecycle.d.ts +2 -0
- package/dist/workspace/lifecycle.d.ts.map +1 -1
- package/dist/workspace/sandbox/local-sandbox.d.ts +1 -2
- package/dist/workspace/sandbox/local-sandbox.d.ts.map +1 -1
- package/dist/workspace/sandbox/sandbox.d.ts +0 -2
- package/dist/workspace/sandbox/sandbox.d.ts.map +1 -1
- package/dist/workspace/search/bm25.d.ts +2 -0
- package/dist/workspace/search/bm25.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +44 -15
- package/dist/chunk-4KQEQ4NM.js.map +0 -1
- package/dist/chunk-4NGQR4ML.cjs.map +0 -1
- package/dist/chunk-4PERRFZD.cjs.map +0 -1
- package/dist/chunk-BG6DCMO2.js.map +0 -1
- package/dist/chunk-ENLG644T.cjs.map +0 -1
- package/dist/chunk-FAM74XPO.js.map +0 -1
- package/dist/chunk-FVVQY6UU.js.map +0 -1
- package/dist/chunk-H4C5NORS.js.map +0 -1
- package/dist/chunk-IDDFKLI7.js.map +0 -1
- package/dist/chunk-LJOQ7WYC.cjs.map +0 -1
- package/dist/chunk-MGOFRL36.cjs.map +0 -1
- package/dist/chunk-RYVRCT7Z.cjs.map +0 -1
- package/dist/chunk-SLMSUZBA.cjs.map +0 -1
- package/dist/chunk-VAJRNUEF.js.map +0 -1
- package/dist/chunk-YEQB4VUA.js +0 -7
- package/dist/chunk-YEQB4VUA.js.map +0 -1
- package/dist/chunk-YQMDMIP6.js.map +0 -1
- package/dist/chunk-YSFYUEEG.cjs.map +0 -1
- package/dist/models-dev-B2ESSYRH.js +0 -3
- package/dist/models-dev-IQ54YHQ4.cjs +0 -12
- package/dist/netlify-D6LNGTDH.cjs +0 -12
- package/dist/netlify-KPCOQ52P.js +0 -3
- package/dist/provider-registry-B3CGX3OF.js +0 -3
- package/dist/provider-registry-CHV3DFFA.cjs +0 -40
|
@@ -1,164 +1,168 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkW57QS6F6_cjs = require('../chunk-W57QS6F6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "BaseProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkW57QS6F6_cjs.BaseProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkW57QS6F6_cjs.BatchPartsProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkW57QS6F6_cjs.FilePartSchema; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkW57QS6F6_cjs.ImagePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkW57QS6F6_cjs.LanguageDetector; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkW57QS6F6_cjs.MessageContentSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageHistory", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkW57QS6F6_cjs.MessageHistory; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkW57QS6F6_cjs.MessagePartSchema; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkW57QS6F6_cjs.ModerationProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PIIDetector", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkW57QS6F6_cjs.PIIDetector; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorInputPhaseSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorInputStepPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorMessageContentSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorMessageSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorOutputResultPhaseSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorOutputStepPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorRunner; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorState", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorState; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorStepInputSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorStepOutputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkW57QS6F6_cjs.ProcessorStepSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkW57QS6F6_cjs.PromptInjectionDetector; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkW57QS6F6_cjs.ReasoningPartSchema; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkW57QS6F6_cjs.SemanticRecall; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkW57QS6F6_cjs.SkillsProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkW57QS6F6_cjs.SourcePartSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkW57QS6F6_cjs.StepStartPartSchema; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkW57QS6F6_cjs.StructuredOutputProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkW57QS6F6_cjs.SystemPromptScrubber; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkW57QS6F6_cjs.TextPartSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkW57QS6F6_cjs.TokenLimiterProcessor; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkW57QS6F6_cjs.TokenLimiterProcessor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkW57QS6F6_cjs.ToolCallFilter; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkW57QS6F6_cjs.ToolInvocationPartSchema; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return chunkW57QS6F6_cjs.ToolSearchProcessor; }
|
|
146
150
|
});
|
|
147
151
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
148
152
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkW57QS6F6_cjs.UnicodeNormalizer; }
|
|
150
154
|
});
|
|
151
155
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
152
156
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkW57QS6F6_cjs.WorkingMemory; }
|
|
154
158
|
});
|
|
155
159
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
156
160
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkW57QS6F6_cjs.globalEmbeddingCache; }
|
|
158
162
|
});
|
|
159
163
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
160
164
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkW57QS6F6_cjs.isProcessorWorkflow; }
|
|
162
166
|
});
|
|
163
167
|
//# sourceMappingURL=index.cjs.map
|
|
164
168
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { 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, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, UnicodeNormalizer, WorkingMemory, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-
|
|
1
|
+
export { 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, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-FAJYC6PA.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -8,5 +8,6 @@ export { BatchPartsProcessor, type BatchPartsOptions, type BatchPartsState } fro
|
|
|
8
8
|
export { TokenLimiterProcessor, TokenLimiterProcessor as TokenLimiter, type TokenLimiterOptions, } from './token-limiter.js';
|
|
9
9
|
export { SystemPromptScrubber, type SystemPromptScrubberOptions, type SystemPromptDetectionResult, type SystemPromptDetection, } from './system-prompt-scrubber.js';
|
|
10
10
|
export { ToolCallFilter } from './tool-call-filter.js';
|
|
11
|
+
export { ToolSearchProcessor, type ToolSearchProcessorOptions } from './tool-search.js';
|
|
11
12
|
export { SkillsProcessor, type SkillsProcessorOptions } from './skills.js';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/processors/processors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EACL,mBAAmB,EACnB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,GAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,GACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EACL,qBAAqB,EACrB,qBAAqB,IAAI,YAAY,EACrC,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,GAC3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/processors/processors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EACL,mBAAmB,EACnB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,GAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,GACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EACL,qBAAqB,EACrB,qBAAqB,IAAI,YAAY,EACrC,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,GAC3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import type { Tool } from '../../tools/index.js';
|
|
2
|
+
import type { ProcessInputStepArgs, Processor } from '../index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration options for ToolSearchProcessor
|
|
5
|
+
*/
|
|
6
|
+
export interface ToolSearchProcessorOptions {
|
|
7
|
+
/**
|
|
8
|
+
* All tools that can be searched and loaded dynamically.
|
|
9
|
+
* These tools are not immediately available - they must be discovered via search and loaded on demand.
|
|
10
|
+
*/
|
|
11
|
+
tools: Record<string, Tool<any, any>>;
|
|
12
|
+
/**
|
|
13
|
+
* Configuration for the search behavior
|
|
14
|
+
*/
|
|
15
|
+
search?: {
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of tools to return in search results
|
|
18
|
+
* @default 5
|
|
19
|
+
*/
|
|
20
|
+
topK?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Minimum relevance score (0-1) for including a tool in search results
|
|
23
|
+
* @default 0
|
|
24
|
+
*/
|
|
25
|
+
minScore?: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Time-to-live for thread state in milliseconds.
|
|
29
|
+
* After this duration of inactivity, thread state will be eligible for cleanup.
|
|
30
|
+
* Set to 0 to disable TTL cleanup.
|
|
31
|
+
* @default 3600000 (1 hour)
|
|
32
|
+
*/
|
|
33
|
+
ttl?: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Search result with ranking score
|
|
37
|
+
*/
|
|
38
|
+
interface SearchResult {
|
|
39
|
+
name: string;
|
|
40
|
+
description: string;
|
|
41
|
+
score: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Processor that enables dynamic tool discovery and loading.
|
|
45
|
+
*
|
|
46
|
+
* Instead of providing all tools to the agent upfront, this processor:
|
|
47
|
+
* 1. Gives the agent two meta-tools: search_tools and load_tool
|
|
48
|
+
* 2. Agent searches for relevant tools using keywords
|
|
49
|
+
* 3. Agent loads specific tools into the conversation on demand
|
|
50
|
+
* 4. Loaded tools become immediately available for use
|
|
51
|
+
*
|
|
52
|
+
* This pattern dramatically reduces context usage when working with many tools (100+).
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```typescript
|
|
56
|
+
* const toolSearch = new ToolSearchProcessor({
|
|
57
|
+
* tools: {
|
|
58
|
+
* createIssue: githubTools.createIssue,
|
|
59
|
+
* sendEmail: emailTools.send,
|
|
60
|
+
* // ... 100+ tools
|
|
61
|
+
* },
|
|
62
|
+
* search: { topK: 5, minScore: 0 },
|
|
63
|
+
* ttl: 3600000, // 1 hour (default)
|
|
64
|
+
* });
|
|
65
|
+
*
|
|
66
|
+
* const agent = new Agent({
|
|
67
|
+
* name: 'my-agent',
|
|
68
|
+
* inputProcessors: [toolSearch],
|
|
69
|
+
* tools: {}, // Always-available tools (if any)
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare class ToolSearchProcessor implements Processor<'tool-search'> {
|
|
74
|
+
readonly id = "tool-search";
|
|
75
|
+
readonly name = "Tool Search Processor";
|
|
76
|
+
readonly description = "Enables dynamic tool discovery and loading via search";
|
|
77
|
+
private allTools;
|
|
78
|
+
private searchConfig;
|
|
79
|
+
private ttl;
|
|
80
|
+
/** BM25 index for tool search */
|
|
81
|
+
private bm25Index;
|
|
82
|
+
/** Map from tool ID to full description (for result formatting) */
|
|
83
|
+
private toolDescriptions;
|
|
84
|
+
/**
|
|
85
|
+
* Thread-scoped state management for loaded tools with TTL support.
|
|
86
|
+
* Instance-scoped to prevent cross-processor interference.
|
|
87
|
+
* Maps threadId -> ThreadState (tools + timestamp)
|
|
88
|
+
*/
|
|
89
|
+
private threadLoadedTools;
|
|
90
|
+
constructor(options: ToolSearchProcessorOptions);
|
|
91
|
+
/**
|
|
92
|
+
* Get the thread ID from the request context, or use 'default' as fallback.
|
|
93
|
+
*/
|
|
94
|
+
private getThreadId;
|
|
95
|
+
/**
|
|
96
|
+
* Get the set of loaded tool names for the current thread.
|
|
97
|
+
* Updates the lastAccessed timestamp for TTL management.
|
|
98
|
+
*/
|
|
99
|
+
private getLoadedToolNames;
|
|
100
|
+
/**
|
|
101
|
+
* Get loaded tools as Tool objects for the current thread.
|
|
102
|
+
*/
|
|
103
|
+
private getLoadedTools;
|
|
104
|
+
/**
|
|
105
|
+
* Clear loaded tools for a specific thread (useful for testing).
|
|
106
|
+
*
|
|
107
|
+
* @param threadId - The thread ID to clear, or 'default' if not provided
|
|
108
|
+
*/
|
|
109
|
+
clearState(threadId?: string): void;
|
|
110
|
+
/**
|
|
111
|
+
* Clear all thread state for this processor instance (useful for testing).
|
|
112
|
+
*/
|
|
113
|
+
clearAllState(): void;
|
|
114
|
+
/**
|
|
115
|
+
* Clean up stale thread state based on TTL.
|
|
116
|
+
* Removes threads that haven't been accessed within the TTL period.
|
|
117
|
+
*
|
|
118
|
+
* @returns Number of threads cleaned up
|
|
119
|
+
*/
|
|
120
|
+
private cleanupStaleState;
|
|
121
|
+
/**
|
|
122
|
+
* Schedule periodic cleanup of stale thread state.
|
|
123
|
+
* Runs cleanup every TTL/2 milliseconds to prevent unbounded memory growth.
|
|
124
|
+
*/
|
|
125
|
+
private scheduleCleanup;
|
|
126
|
+
/**
|
|
127
|
+
* Get statistics about current thread state (useful for monitoring).
|
|
128
|
+
*
|
|
129
|
+
* @returns Object with thread count and oldest access time
|
|
130
|
+
*/
|
|
131
|
+
getStateStats(): {
|
|
132
|
+
threadCount: number;
|
|
133
|
+
oldestAccessTime: number | null;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Manually trigger cleanup of stale state (useful for testing and monitoring).
|
|
137
|
+
*
|
|
138
|
+
* @returns Number of threads cleaned up
|
|
139
|
+
*/
|
|
140
|
+
cleanupNow(): number;
|
|
141
|
+
/**
|
|
142
|
+
* Index all tools into the BM25 index
|
|
143
|
+
*/
|
|
144
|
+
private indexTools;
|
|
145
|
+
/**
|
|
146
|
+
* Search for tools matching the query using BM25 ranking
|
|
147
|
+
* with name-match boosting.
|
|
148
|
+
*
|
|
149
|
+
* @param query - Search keywords
|
|
150
|
+
* @returns Array of matching tools with scores, sorted by relevance
|
|
151
|
+
*/
|
|
152
|
+
private searchTools;
|
|
153
|
+
processInputStep(args: ProcessInputStepArgs): Promise<{
|
|
154
|
+
tools: {
|
|
155
|
+
search_tools: Tool<{
|
|
156
|
+
query: string;
|
|
157
|
+
}, {
|
|
158
|
+
results: SearchResult[];
|
|
159
|
+
message: string;
|
|
160
|
+
}, unknown, unknown, import("../../tools").ToolExecutionContext<unknown, unknown, unknown>, "search_tools", unknown>;
|
|
161
|
+
load_tool: Tool<{
|
|
162
|
+
toolName: string;
|
|
163
|
+
}, {
|
|
164
|
+
success: boolean;
|
|
165
|
+
message: string;
|
|
166
|
+
toolName?: undefined;
|
|
167
|
+
} | {
|
|
168
|
+
success: boolean;
|
|
169
|
+
message: string;
|
|
170
|
+
toolName: string;
|
|
171
|
+
}, unknown, unknown, import("../../tools").ToolExecutionContext<unknown, unknown, unknown>, "load_tool", unknown>;
|
|
172
|
+
};
|
|
173
|
+
}>;
|
|
174
|
+
}
|
|
175
|
+
export {};
|
|
176
|
+
//# sourceMappingURL=tool-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-search.d.ts","sourceRoot":"","sources":["../../../src/processors/processors/tool-search.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAUhE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAEtC;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IAEF;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAeD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,mBAAoB,YAAW,SAAS,CAAC,aAAa,CAAC;IAClE,QAAQ,CAAC,EAAE,iBAAiB;IAC5B,QAAQ,CAAC,IAAI,2BAA2B;IACxC,QAAQ,CAAC,WAAW,2DAA2D;IAE/E,OAAO,CAAC,QAAQ,CAAiC;IACjD,OAAO,CAAC,YAAY,CAA8D;IAClF,OAAO,CAAC,GAAG,CAAS;IAEpB,iCAAiC;IACjC,OAAO,CAAC,SAAS,CAAY;IAC7B,mEAAmE;IACnE,OAAO,CAAC,gBAAgB,CAA6B;IAErD;;;;OAIG;IACH,OAAO,CAAC,iBAAiB,CAAkC;gBAE/C,OAAO,EAAE,0BAA0B;IAoB/C;;OAEG;IACH,OAAO,CAAC,WAAW;IAInB;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAY1B;;OAEG;IACH,OAAO,CAAC,cAAc;IActB;;;;OAIG;IACI,UAAU,CAAC,QAAQ,GAAE,MAAkB,GAAG,IAAI;IAIrD;;OAEG;IACI,aAAa,IAAI,IAAI;IAI5B;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;;OAGG;IACH,OAAO,CAAC,eAAe;IAevB;;;;OAIG;IACI,aAAa,IAAI;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;IAkBhF;;;;OAIG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACH,OAAO,CAAC,UAAU;IASlB;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IA4Cb,gBAAgB,CAAC,IAAI,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAkIlD"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-XS2MED4Y.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-K5L4DHRK.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-K5L4DHRK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-K5L4DHRK.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEYUXOOSQ_cjs = require('./chunk-EYUXOOSQ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkEYUXOOSQ_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkEYUXOOSQ_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkEYUXOOSQ_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkEYUXOOSQ_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkEYUXOOSQ_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkEYUXOOSQ_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkEYUXOOSQ_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkEYUXOOSQ_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-ML2VWWLB.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-ML2VWWLB.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-ML2VWWLB.cjs"}
|