@mastra/server 1.48.0-alpha.6 → 1.48.0-alpha.8
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 +23 -0
- package/dist/{api-schema-manifest-Q5FDXWHO.cjs → api-schema-manifest-OSFSFYKI.cjs} +4 -4
- package/dist/{api-schema-manifest-Q5FDXWHO.cjs.map → api-schema-manifest-OSFSFYKI.cjs.map} +1 -1
- package/dist/{api-schema-manifest-4VFPTKMR.js → api-schema-manifest-YKMSPSZR.js} +3 -3
- package/dist/{api-schema-manifest-4VFPTKMR.js.map → api-schema-manifest-YKMSPSZR.js.map} +1 -1
- package/dist/{chunk-FU2NIFNJ.js → chunk-2MEUH7JT.js} +3 -3
- package/dist/chunk-2MEUH7JT.js.map +1 -0
- package/dist/{chunk-MM7BEDAW.cjs → chunk-3EZOV6A3.cjs} +5 -5
- package/dist/{chunk-MM7BEDAW.cjs.map → chunk-3EZOV6A3.cjs.map} +1 -1
- package/dist/{chunk-XX5G7THL.js → chunk-3MJF6POS.js} +3 -3
- package/dist/{chunk-XX5G7THL.js.map → chunk-3MJF6POS.js.map} +1 -1
- package/dist/{chunk-U32YHG7T.js → chunk-56RJJ6PJ.js} +3 -3
- package/dist/{chunk-U32YHG7T.js.map → chunk-56RJJ6PJ.js.map} +1 -1
- package/dist/{chunk-RFJJ7ZAD.cjs → chunk-5SZOGYYO.cjs} +133 -133
- package/dist/{chunk-RFJJ7ZAD.cjs.map → chunk-5SZOGYYO.cjs.map} +1 -1
- package/dist/{chunk-JWIAPHFH.cjs → chunk-6QQ4I6IY.cjs} +11 -11
- package/dist/{chunk-JWIAPHFH.cjs.map → chunk-6QQ4I6IY.cjs.map} +1 -1
- package/dist/{chunk-ZYPEQZPE.cjs → chunk-BVMR64B7.cjs} +25 -25
- package/dist/{chunk-ZYPEQZPE.cjs.map → chunk-BVMR64B7.cjs.map} +1 -1
- package/dist/{chunk-EB6H2VVW.js → chunk-DPTBGWU7.js} +3 -3
- package/dist/{chunk-EB6H2VVW.js.map → chunk-DPTBGWU7.js.map} +1 -1
- package/dist/{chunk-SNO2CFDL.js → chunk-DX4ROVTA.js} +4 -4
- package/dist/{chunk-SNO2CFDL.js.map → chunk-DX4ROVTA.js.map} +1 -1
- package/dist/{chunk-SI63GFYM.cjs → chunk-FR5QBXVS.cjs} +4 -4
- package/dist/{chunk-SI63GFYM.cjs.map → chunk-FR5QBXVS.cjs.map} +1 -1
- package/dist/{chunk-KSYJQMJ7.js → chunk-GZUFJQ5I.js} +4 -4
- package/dist/{chunk-KSYJQMJ7.js.map → chunk-GZUFJQ5I.js.map} +1 -1
- package/dist/{chunk-OC4S3EDO.js → chunk-I2LG5WYB.js} +3 -3
- package/dist/chunk-I2LG5WYB.js.map +1 -0
- package/dist/{chunk-FLO6YIKC.cjs → chunk-I4X4UHQW.cjs} +18 -18
- package/dist/{chunk-FLO6YIKC.cjs.map → chunk-I4X4UHQW.cjs.map} +1 -1
- package/dist/{chunk-EDFYCJM7.js → chunk-J63TLQKU.js} +4 -4
- package/dist/{chunk-EDFYCJM7.js.map → chunk-J63TLQKU.js.map} +1 -1
- package/dist/{chunk-U7XUUMFF.js → chunk-KR2OUW3N.js} +4 -4
- package/dist/{chunk-U7XUUMFF.js.map → chunk-KR2OUW3N.js.map} +1 -1
- package/dist/{chunk-735J6KQA.js → chunk-LQXFAW5L.js} +4 -4
- package/dist/{chunk-735J6KQA.js.map → chunk-LQXFAW5L.js.map} +1 -1
- package/dist/{chunk-LKOHTU4W.cjs → chunk-LRRO5PBP.cjs} +5 -5
- package/dist/{chunk-LKOHTU4W.cjs.map → chunk-LRRO5PBP.cjs.map} +1 -1
- package/dist/{chunk-DCDQNIYY.cjs → chunk-MJ5QWRI2.cjs} +3 -3
- package/dist/chunk-MJ5QWRI2.cjs.map +1 -0
- package/dist/{chunk-L3I5OC4W.cjs → chunk-MJH4EEUV.cjs} +9 -9
- package/dist/{chunk-L3I5OC4W.cjs.map → chunk-MJH4EEUV.cjs.map} +1 -1
- package/dist/{chunk-NDCWMT6H.js → chunk-NZBVBHKY.js} +4 -4
- package/dist/{chunk-NDCWMT6H.js.map → chunk-NZBVBHKY.js.map} +1 -1
- package/dist/{chunk-O35VIFMS.cjs → chunk-OE5GVCW4.cjs} +7 -7
- package/dist/{chunk-O35VIFMS.cjs.map → chunk-OE5GVCW4.cjs.map} +1 -1
- package/dist/{chunk-ZLES3TDX.cjs → chunk-OJB6MLRD.cjs} +4 -4
- package/dist/{chunk-ZLES3TDX.cjs.map → chunk-OJB6MLRD.cjs.map} +1 -1
- package/dist/{chunk-JUOHAGMO.js → chunk-PBNENTGS.js} +3 -3
- package/dist/{chunk-JUOHAGMO.js.map → chunk-PBNENTGS.js.map} +1 -1
- package/dist/{chunk-5KDVUPQN.cjs → chunk-PXY4G3SN.cjs} +4 -4
- package/dist/{chunk-5KDVUPQN.cjs.map → chunk-PXY4G3SN.cjs.map} +1 -1
- package/dist/{chunk-WQB65Q5Y.js → chunk-R3KUPFCO.js} +3 -3
- package/dist/chunk-R3KUPFCO.js.map +1 -0
- package/dist/{chunk-FCOEWHH3.cjs → chunk-SCY53JIH.cjs} +103 -103
- package/dist/chunk-SCY53JIH.cjs.map +1 -0
- package/dist/{chunk-UDTYX3A7.cjs → chunk-SORUUFZK.cjs} +12 -12
- package/dist/{chunk-UDTYX3A7.cjs.map → chunk-SORUUFZK.cjs.map} +1 -1
- package/dist/{chunk-FVXUFEHO.cjs → chunk-TGFTKXT4.cjs} +5 -5
- package/dist/{chunk-FVXUFEHO.cjs.map → chunk-TGFTKXT4.cjs.map} +1 -1
- package/dist/{chunk-7QRZY7RG.cjs → chunk-UXVICGWD.cjs} +3 -3
- package/dist/{chunk-7QRZY7RG.cjs.map → chunk-UXVICGWD.cjs.map} +1 -1
- package/dist/{chunk-KDAMUQII.cjs → chunk-VBPYR5ZH.cjs} +4 -4
- package/dist/{chunk-KDAMUQII.cjs.map → chunk-VBPYR5ZH.cjs.map} +1 -1
- package/dist/{chunk-FQTRNIV6.js → chunk-WLQ4XLHG.js} +3 -3
- package/dist/{chunk-FQTRNIV6.js.map → chunk-WLQ4XLHG.js.map} +1 -1
- package/dist/{chunk-7WHBMHJO.js → chunk-XDR5CTSX.js} +3 -3
- package/dist/{chunk-7WHBMHJO.js.map → chunk-XDR5CTSX.js.map} +1 -1
- package/dist/{chunk-TQPQ7HXR.js → chunk-XJLHTR7T.js} +16 -16
- package/dist/{chunk-TQPQ7HXR.js.map → chunk-XJLHTR7T.js.map} +1 -1
- package/dist/{chunk-V5YAPSSQ.js → chunk-YAEG3FIX.js} +3 -3
- package/dist/{chunk-V5YAPSSQ.js.map → chunk-YAEG3FIX.js.map} +1 -1
- package/dist/{chunk-K75VRP3V.cjs → chunk-YRZYCQGE.cjs} +17 -17
- package/dist/{chunk-K75VRP3V.cjs.map → chunk-YRZYCQGE.cjs.map} +1 -1
- package/dist/{chunk-SZ6QKUFJ.js → chunk-ZBOTGUPW.js} +3 -3
- package/dist/{chunk-SZ6QKUFJ.js.map → chunk-ZBOTGUPW.js.map} +1 -1
- package/dist/{chunk-6DTFR4ZS.js → chunk-ZJM23PJU.js} +3 -3
- package/dist/{chunk-6DTFR4ZS.js.map → chunk-ZJM23PJU.js.map} +1 -1
- package/dist/{chunk-HBXNOBJN.cjs → chunk-ZQ4GVMYG.cjs} +3 -3
- package/dist/chunk-ZQ4GVMYG.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/a2a.cjs +14 -14
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +17 -17
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +47 -47
- package/dist/server/handlers/agents.d.ts +5 -3
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/editor-builder.cjs +6 -6
- package/dist/server/handlers/editor-builder.js +1 -1
- package/dist/server/handlers/favorites-enrichment.cjs +4 -4
- package/dist/server/handlers/favorites-enrichment.js +1 -1
- package/dist/server/handlers/responses.cjs +4 -4
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.d.ts +4 -2
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +3 -3
- package/dist/server/handlers/stored-agent-favorites.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +10 -10
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +3 -3
- package/dist/server/handlers/stored-skill-favorites.js +1 -1
- package/dist/server/handlers/stored-skills.cjs +7 -7
- package/dist/server/handlers/stored-skills.js +1 -1
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/workflows.cjs +27 -27
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +16 -16
- package/dist/server/handlers.js +8 -8
- package/dist/server/schemas/agents.d.ts +3 -0
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +73 -73
- package/dist/server/schemas/index.js +3 -3
- package/dist/server/schemas/scores.d.ts +2 -0
- package/dist/server/schemas/scores.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +13 -13
- package/dist/server/server-adapter/index.js +2 -2
- package/dist/server/server-adapter/routes/scorers.d.ts +4 -2
- package/dist/server/server-adapter/routes/scorers.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-DCDQNIYY.cjs.map +0 -1
- package/dist/chunk-FCOEWHH3.cjs.map +0 -1
- package/dist/chunk-FU2NIFNJ.js.map +0 -1
- package/dist/chunk-HBXNOBJN.cjs.map +0 -1
- package/dist/chunk-OC4S3EDO.js.map +0 -1
- package/dist/chunk-WQB65Q5Y.js.map +0 -1
|
@@ -11,11 +11,11 @@ var chunkTMGV2NRM_cjs = require('../../chunk-TMGV2NRM.cjs');
|
|
|
11
11
|
var chunkTXM2XTUT_cjs = require('../../chunk-TXM2XTUT.cjs');
|
|
12
12
|
var chunkSGXBKIPB_cjs = require('../../chunk-SGXBKIPB.cjs');
|
|
13
13
|
var chunkL5D33443_cjs = require('../../chunk-L5D33443.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkVBPYR5ZH_cjs = require('../../chunk-VBPYR5ZH.cjs');
|
|
15
15
|
var chunkWNK6NJYP_cjs = require('../../chunk-WNK6NJYP.cjs');
|
|
16
16
|
var chunkGFP7IMFR_cjs = require('../../chunk-GFP7IMFR.cjs');
|
|
17
17
|
var chunkLZ32IIH2_cjs = require('../../chunk-LZ32IIH2.cjs');
|
|
18
|
-
var
|
|
18
|
+
var chunkMJ5QWRI2_cjs = require('../../chunk-MJ5QWRI2.cjs');
|
|
19
19
|
var chunkBNR5CIPX_cjs = require('../../chunk-BNR5CIPX.cjs');
|
|
20
20
|
var chunkHTBC6CVX_cjs = require('../../chunk-HTBC6CVX.cjs');
|
|
21
21
|
var chunk42WZN6MM_cjs = require('../../chunk-42WZN6MM.cjs');
|
|
@@ -30,7 +30,7 @@ var chunkRR5IB5A2_cjs = require('../../chunk-RR5IB5A2.cjs');
|
|
|
30
30
|
var chunkHXICAUTW_cjs = require('../../chunk-HXICAUTW.cjs');
|
|
31
31
|
var chunkS6TNTR3A_cjs = require('../../chunk-S6TNTR3A.cjs');
|
|
32
32
|
var chunkPTPMBE6M_cjs = require('../../chunk-PTPMBE6M.cjs');
|
|
33
|
-
var
|
|
33
|
+
var chunkZQ4GVMYG_cjs = require('../../chunk-ZQ4GVMYG.cjs');
|
|
34
34
|
var chunk47PVLKIL_cjs = require('../../chunk-47PVLKIL.cjs');
|
|
35
35
|
var chunkPFKYMKIH_cjs = require('../../chunk-PFKYMKIH.cjs');
|
|
36
36
|
var chunkDIG2K5CV_cjs = require('../../chunk-DIG2K5CV.cjs');
|
|
@@ -615,47 +615,47 @@ Object.defineProperty(exports, "updateItemBodySchema", {
|
|
|
615
615
|
});
|
|
616
616
|
Object.defineProperty(exports, "agentConfigurationSchema", {
|
|
617
617
|
enumerable: true,
|
|
618
|
-
get: function () { return
|
|
618
|
+
get: function () { return chunkVBPYR5ZH_cjs.agentConfigurationSchema; }
|
|
619
619
|
});
|
|
620
620
|
Object.defineProperty(exports, "agentFeaturesSchema", {
|
|
621
621
|
enumerable: true,
|
|
622
|
-
get: function () { return
|
|
622
|
+
get: function () { return chunkVBPYR5ZH_cjs.agentFeaturesSchema; }
|
|
623
623
|
});
|
|
624
624
|
Object.defineProperty(exports, "agentModelsSchema", {
|
|
625
625
|
enumerable: true,
|
|
626
|
-
get: function () { return
|
|
626
|
+
get: function () { return chunkVBPYR5ZH_cjs.agentModelsSchema; }
|
|
627
627
|
});
|
|
628
628
|
Object.defineProperty(exports, "builderAvailableModelsResponseSchema", {
|
|
629
629
|
enumerable: true,
|
|
630
|
-
get: function () { return
|
|
630
|
+
get: function () { return chunkVBPYR5ZH_cjs.builderAvailableModelsResponseSchema; }
|
|
631
631
|
});
|
|
632
632
|
Object.defineProperty(exports, "builderModelPolicySchema", {
|
|
633
633
|
enumerable: true,
|
|
634
|
-
get: function () { return
|
|
634
|
+
get: function () { return chunkVBPYR5ZH_cjs.builderModelPolicySchema; }
|
|
635
635
|
});
|
|
636
636
|
Object.defineProperty(exports, "builderPickerSchema", {
|
|
637
637
|
enumerable: true,
|
|
638
|
-
get: function () { return
|
|
638
|
+
get: function () { return chunkVBPYR5ZH_cjs.builderPickerSchema; }
|
|
639
639
|
});
|
|
640
640
|
Object.defineProperty(exports, "builderSettingsResponseSchema", {
|
|
641
641
|
enumerable: true,
|
|
642
|
-
get: function () { return
|
|
642
|
+
get: function () { return chunkVBPYR5ZH_cjs.builderSettingsResponseSchema; }
|
|
643
643
|
});
|
|
644
644
|
Object.defineProperty(exports, "defaultModelEntrySchema", {
|
|
645
645
|
enumerable: true,
|
|
646
|
-
get: function () { return
|
|
646
|
+
get: function () { return chunkVBPYR5ZH_cjs.defaultModelEntrySchema; }
|
|
647
647
|
});
|
|
648
648
|
Object.defineProperty(exports, "infrastructureStatusResponseSchema", {
|
|
649
649
|
enumerable: true,
|
|
650
|
-
get: function () { return
|
|
650
|
+
get: function () { return chunkVBPYR5ZH_cjs.infrastructureStatusResponseSchema; }
|
|
651
651
|
});
|
|
652
652
|
Object.defineProperty(exports, "pickerAllowlistSchema", {
|
|
653
653
|
enumerable: true,
|
|
654
|
-
get: function () { return
|
|
654
|
+
get: function () { return chunkVBPYR5ZH_cjs.pickerAllowlistSchema; }
|
|
655
655
|
});
|
|
656
656
|
Object.defineProperty(exports, "providerModelEntrySchema", {
|
|
657
657
|
enumerable: true,
|
|
658
|
-
get: function () { return
|
|
658
|
+
get: function () { return chunkVBPYR5ZH_cjs.providerModelEntrySchema; }
|
|
659
659
|
});
|
|
660
660
|
Object.defineProperty(exports, "agentVersionPathParams", {
|
|
661
661
|
enumerable: true,
|
|
@@ -779,43 +779,43 @@ Object.defineProperty(exports, "vectorNamePathParams", {
|
|
|
779
779
|
});
|
|
780
780
|
Object.defineProperty(exports, "entityPathParams", {
|
|
781
781
|
enumerable: true,
|
|
782
|
-
get: function () { return
|
|
782
|
+
get: function () { return chunkMJ5QWRI2_cjs.entityPathParams; }
|
|
783
783
|
});
|
|
784
784
|
Object.defineProperty(exports, "listScorersResponseSchema", {
|
|
785
785
|
enumerable: true,
|
|
786
|
-
get: function () { return
|
|
786
|
+
get: function () { return chunkMJ5QWRI2_cjs.listScorersResponseSchema; }
|
|
787
787
|
});
|
|
788
788
|
Object.defineProperty(exports, "listScoresByEntityIdQuerySchema", {
|
|
789
789
|
enumerable: true,
|
|
790
|
-
get: function () { return
|
|
790
|
+
get: function () { return chunkMJ5QWRI2_cjs.listScoresByEntityIdQuerySchema; }
|
|
791
791
|
});
|
|
792
792
|
Object.defineProperty(exports, "listScoresByRunIdQuerySchema", {
|
|
793
793
|
enumerable: true,
|
|
794
|
-
get: function () { return
|
|
794
|
+
get: function () { return chunkMJ5QWRI2_cjs.listScoresByRunIdQuerySchema; }
|
|
795
795
|
});
|
|
796
796
|
Object.defineProperty(exports, "listScoresByScorerIdQuerySchema", {
|
|
797
797
|
enumerable: true,
|
|
798
|
-
get: function () { return
|
|
798
|
+
get: function () { return chunkMJ5QWRI2_cjs.listScoresByScorerIdQuerySchema; }
|
|
799
799
|
});
|
|
800
800
|
Object.defineProperty(exports, "saveScoreBodySchema", {
|
|
801
801
|
enumerable: true,
|
|
802
|
-
get: function () { return
|
|
802
|
+
get: function () { return chunkMJ5QWRI2_cjs.saveScoreBodySchema; }
|
|
803
803
|
});
|
|
804
804
|
Object.defineProperty(exports, "saveScoreResponseSchema", {
|
|
805
805
|
enumerable: true,
|
|
806
|
-
get: function () { return
|
|
806
|
+
get: function () { return chunkMJ5QWRI2_cjs.saveScoreResponseSchema; }
|
|
807
807
|
});
|
|
808
808
|
Object.defineProperty(exports, "scorerEntrySchema", {
|
|
809
809
|
enumerable: true,
|
|
810
|
-
get: function () { return
|
|
810
|
+
get: function () { return chunkMJ5QWRI2_cjs.scorerEntrySchema; }
|
|
811
811
|
});
|
|
812
812
|
Object.defineProperty(exports, "scorerIdPathParams", {
|
|
813
813
|
enumerable: true,
|
|
814
|
-
get: function () { return
|
|
814
|
+
get: function () { return chunkMJ5QWRI2_cjs.scorerIdPathParams; }
|
|
815
815
|
});
|
|
816
816
|
Object.defineProperty(exports, "scoresWithPaginationResponseSchema", {
|
|
817
817
|
enumerable: true,
|
|
818
|
-
get: function () { return
|
|
818
|
+
get: function () { return chunkMJ5QWRI2_cjs.scoresWithPaginationResponseSchema; }
|
|
819
819
|
});
|
|
820
820
|
Object.defineProperty(exports, "getMcpServerDetailQuerySchema", {
|
|
821
821
|
enumerable: true,
|
|
@@ -1843,199 +1843,199 @@ Object.defineProperty(exports, "workflowRunsResponseSchema", {
|
|
|
1843
1843
|
});
|
|
1844
1844
|
Object.defineProperty(exports, "abortAgentThreadBodySchema", {
|
|
1845
1845
|
enumerable: true,
|
|
1846
|
-
get: function () { return
|
|
1846
|
+
get: function () { return chunkZQ4GVMYG_cjs.abortAgentThreadBodySchema; }
|
|
1847
1847
|
});
|
|
1848
1848
|
Object.defineProperty(exports, "abortAgentThreadResponseSchema", {
|
|
1849
1849
|
enumerable: true,
|
|
1850
|
-
get: function () { return
|
|
1850
|
+
get: function () { return chunkZQ4GVMYG_cjs.abortAgentThreadResponseSchema; }
|
|
1851
1851
|
});
|
|
1852
1852
|
Object.defineProperty(exports, "agentExecutionBodySchema", {
|
|
1853
1853
|
enumerable: true,
|
|
1854
|
-
get: function () { return
|
|
1854
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentExecutionBodySchema; }
|
|
1855
1855
|
});
|
|
1856
1856
|
Object.defineProperty(exports, "agentExecutionLegacyBodySchema", {
|
|
1857
1857
|
enumerable: true,
|
|
1858
|
-
get: function () { return
|
|
1858
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentExecutionLegacyBodySchema; }
|
|
1859
1859
|
});
|
|
1860
1860
|
Object.defineProperty(exports, "agentIdPathParams", {
|
|
1861
1861
|
enumerable: true,
|
|
1862
|
-
get: function () { return
|
|
1862
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentIdPathParams; }
|
|
1863
1863
|
});
|
|
1864
1864
|
Object.defineProperty(exports, "agentSkillPathParams", {
|
|
1865
1865
|
enumerable: true,
|
|
1866
|
-
get: function () { return
|
|
1866
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentSkillPathParams; }
|
|
1867
1867
|
});
|
|
1868
1868
|
Object.defineProperty(exports, "agentToolPathParams", {
|
|
1869
1869
|
enumerable: true,
|
|
1870
|
-
get: function () { return
|
|
1870
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentToolPathParams; }
|
|
1871
1871
|
});
|
|
1872
1872
|
Object.defineProperty(exports, "agentVersionQuerySchema", {
|
|
1873
1873
|
enumerable: true,
|
|
1874
|
-
get: function () { return
|
|
1874
|
+
get: function () { return chunkZQ4GVMYG_cjs.agentVersionQuerySchema; }
|
|
1875
1875
|
});
|
|
1876
1876
|
Object.defineProperty(exports, "approveNetworkToolCallBodySchema", {
|
|
1877
1877
|
enumerable: true,
|
|
1878
|
-
get: function () { return
|
|
1878
|
+
get: function () { return chunkZQ4GVMYG_cjs.approveNetworkToolCallBodySchema; }
|
|
1879
1879
|
});
|
|
1880
1880
|
Object.defineProperty(exports, "approveToolCallBodySchema", {
|
|
1881
1881
|
enumerable: true,
|
|
1882
|
-
get: function () { return
|
|
1882
|
+
get: function () { return chunkZQ4GVMYG_cjs.approveToolCallBodySchema; }
|
|
1883
1883
|
});
|
|
1884
1884
|
Object.defineProperty(exports, "declineNetworkToolCallBodySchema", {
|
|
1885
1885
|
enumerable: true,
|
|
1886
|
-
get: function () { return
|
|
1886
|
+
get: function () { return chunkZQ4GVMYG_cjs.declineNetworkToolCallBodySchema; }
|
|
1887
1887
|
});
|
|
1888
1888
|
Object.defineProperty(exports, "declineToolCallBodySchema", {
|
|
1889
1889
|
enumerable: true,
|
|
1890
|
-
get: function () { return
|
|
1890
|
+
get: function () { return chunkZQ4GVMYG_cjs.declineToolCallBodySchema; }
|
|
1891
1891
|
});
|
|
1892
1892
|
Object.defineProperty(exports, "enhanceInstructionsBodySchema", {
|
|
1893
1893
|
enumerable: true,
|
|
1894
|
-
get: function () { return
|
|
1894
|
+
get: function () { return chunkZQ4GVMYG_cjs.enhanceInstructionsBodySchema; }
|
|
1895
1895
|
});
|
|
1896
1896
|
Object.defineProperty(exports, "enhanceInstructionsResponseSchema", {
|
|
1897
1897
|
enumerable: true,
|
|
1898
|
-
get: function () { return
|
|
1898
|
+
get: function () { return chunkZQ4GVMYG_cjs.enhanceInstructionsResponseSchema; }
|
|
1899
1899
|
});
|
|
1900
1900
|
Object.defineProperty(exports, "executeToolBodySchema", {
|
|
1901
1901
|
enumerable: true,
|
|
1902
|
-
get: function () { return
|
|
1902
|
+
get: function () { return chunkZQ4GVMYG_cjs.executeToolBodySchema; }
|
|
1903
1903
|
});
|
|
1904
1904
|
Object.defineProperty(exports, "executeToolContextBodySchema", {
|
|
1905
1905
|
enumerable: true,
|
|
1906
|
-
get: function () { return
|
|
1906
|
+
get: function () { return chunkZQ4GVMYG_cjs.executeToolContextBodySchema; }
|
|
1907
1907
|
});
|
|
1908
1908
|
Object.defineProperty(exports, "executeToolResponseSchema", {
|
|
1909
1909
|
enumerable: true,
|
|
1910
|
-
get: function () { return
|
|
1910
|
+
get: function () { return chunkZQ4GVMYG_cjs.executeToolResponseSchema; }
|
|
1911
1911
|
});
|
|
1912
1912
|
Object.defineProperty(exports, "generateResponseSchema", {
|
|
1913
1913
|
enumerable: true,
|
|
1914
|
-
get: function () { return
|
|
1914
|
+
get: function () { return chunkZQ4GVMYG_cjs.generateResponseSchema; }
|
|
1915
1915
|
});
|
|
1916
1916
|
Object.defineProperty(exports, "listAgentsResponseSchema", {
|
|
1917
1917
|
enumerable: true,
|
|
1918
|
-
get: function () { return
|
|
1918
|
+
get: function () { return chunkZQ4GVMYG_cjs.listAgentsResponseSchema; }
|
|
1919
1919
|
});
|
|
1920
1920
|
Object.defineProperty(exports, "listSuspendedRunsQuerySchema", {
|
|
1921
1921
|
enumerable: true,
|
|
1922
|
-
get: function () { return
|
|
1922
|
+
get: function () { return chunkZQ4GVMYG_cjs.listSuspendedRunsQuerySchema; }
|
|
1923
1923
|
});
|
|
1924
1924
|
Object.defineProperty(exports, "listSuspendedRunsResponseSchema", {
|
|
1925
1925
|
enumerable: true,
|
|
1926
|
-
get: function () { return
|
|
1926
|
+
get: function () { return chunkZQ4GVMYG_cjs.listSuspendedRunsResponseSchema; }
|
|
1927
1927
|
});
|
|
1928
1928
|
Object.defineProperty(exports, "listToolsResponseSchema", {
|
|
1929
1929
|
enumerable: true,
|
|
1930
|
-
get: function () { return
|
|
1930
|
+
get: function () { return chunkZQ4GVMYG_cjs.listToolsResponseSchema; }
|
|
1931
1931
|
});
|
|
1932
1932
|
Object.defineProperty(exports, "modelConfigIdPathParams", {
|
|
1933
1933
|
enumerable: true,
|
|
1934
|
-
get: function () { return
|
|
1934
|
+
get: function () { return chunkZQ4GVMYG_cjs.modelConfigIdPathParams; }
|
|
1935
1935
|
});
|
|
1936
1936
|
Object.defineProperty(exports, "modelManagementResponseSchema", {
|
|
1937
1937
|
enumerable: true,
|
|
1938
|
-
get: function () { return
|
|
1938
|
+
get: function () { return chunkZQ4GVMYG_cjs.modelManagementResponseSchema; }
|
|
1939
1939
|
});
|
|
1940
1940
|
Object.defineProperty(exports, "observeAgentBodySchema", {
|
|
1941
1941
|
enumerable: true,
|
|
1942
|
-
get: function () { return
|
|
1942
|
+
get: function () { return chunkZQ4GVMYG_cjs.observeAgentBodySchema; }
|
|
1943
1943
|
});
|
|
1944
1944
|
Object.defineProperty(exports, "observeAgentResponseSchema", {
|
|
1945
1945
|
enumerable: true,
|
|
1946
|
-
get: function () { return
|
|
1946
|
+
get: function () { return chunkZQ4GVMYG_cjs.observeAgentResponseSchema; }
|
|
1947
1947
|
});
|
|
1948
1948
|
Object.defineProperty(exports, "providerSchema", {
|
|
1949
1949
|
enumerable: true,
|
|
1950
|
-
get: function () { return
|
|
1950
|
+
get: function () { return chunkZQ4GVMYG_cjs.providerSchema; }
|
|
1951
1951
|
});
|
|
1952
1952
|
Object.defineProperty(exports, "providersResponseSchema", {
|
|
1953
1953
|
enumerable: true,
|
|
1954
|
-
get: function () { return
|
|
1954
|
+
get: function () { return chunkZQ4GVMYG_cjs.providersResponseSchema; }
|
|
1955
1955
|
});
|
|
1956
1956
|
Object.defineProperty(exports, "queueAgentMessageBodySchema", {
|
|
1957
1957
|
enumerable: true,
|
|
1958
|
-
get: function () { return
|
|
1958
|
+
get: function () { return chunkZQ4GVMYG_cjs.queueAgentMessageBodySchema; }
|
|
1959
1959
|
});
|
|
1960
1960
|
Object.defineProperty(exports, "reorderAgentModelListBodySchema", {
|
|
1961
1961
|
enumerable: true,
|
|
1962
|
-
get: function () { return
|
|
1962
|
+
get: function () { return chunkZQ4GVMYG_cjs.reorderAgentModelListBodySchema; }
|
|
1963
1963
|
});
|
|
1964
1964
|
Object.defineProperty(exports, "resumeStreamBodySchema", {
|
|
1965
1965
|
enumerable: true,
|
|
1966
|
-
get: function () { return
|
|
1966
|
+
get: function () { return chunkZQ4GVMYG_cjs.resumeStreamBodySchema; }
|
|
1967
1967
|
});
|
|
1968
1968
|
Object.defineProperty(exports, "resumeStreamUntilIdleBodySchema", {
|
|
1969
1969
|
enumerable: true,
|
|
1970
|
-
get: function () { return
|
|
1970
|
+
get: function () { return chunkZQ4GVMYG_cjs.resumeStreamUntilIdleBodySchema; }
|
|
1971
1971
|
});
|
|
1972
1972
|
Object.defineProperty(exports, "sendAgentMessageBodySchema", {
|
|
1973
1973
|
enumerable: true,
|
|
1974
|
-
get: function () { return
|
|
1974
|
+
get: function () { return chunkZQ4GVMYG_cjs.sendAgentMessageBodySchema; }
|
|
1975
1975
|
});
|
|
1976
1976
|
Object.defineProperty(exports, "sendAgentSignalBodySchema", {
|
|
1977
1977
|
enumerable: true,
|
|
1978
|
-
get: function () { return
|
|
1978
|
+
get: function () { return chunkZQ4GVMYG_cjs.sendAgentSignalBodySchema; }
|
|
1979
1979
|
});
|
|
1980
1980
|
Object.defineProperty(exports, "sendToolApprovalBodySchema", {
|
|
1981
1981
|
enumerable: true,
|
|
1982
|
-
get: function () { return
|
|
1982
|
+
get: function () { return chunkZQ4GVMYG_cjs.sendToolApprovalBodySchema; }
|
|
1983
1983
|
});
|
|
1984
1984
|
Object.defineProperty(exports, "sendToolApprovalResponseSchema", {
|
|
1985
1985
|
enumerable: true,
|
|
1986
|
-
get: function () { return
|
|
1986
|
+
get: function () { return chunkZQ4GVMYG_cjs.sendToolApprovalResponseSchema; }
|
|
1987
1987
|
});
|
|
1988
1988
|
Object.defineProperty(exports, "serializedAgentDefinitionSchema", {
|
|
1989
1989
|
enumerable: true,
|
|
1990
|
-
get: function () { return
|
|
1990
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedAgentDefinitionSchema; }
|
|
1991
1991
|
});
|
|
1992
1992
|
Object.defineProperty(exports, "serializedAgentSchema", {
|
|
1993
1993
|
enumerable: true,
|
|
1994
|
-
get: function () { return
|
|
1994
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedAgentSchema; }
|
|
1995
1995
|
});
|
|
1996
1996
|
Object.defineProperty(exports, "serializedAgentWithIdSchema", {
|
|
1997
1997
|
enumerable: true,
|
|
1998
|
-
get: function () { return
|
|
1998
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedAgentWithIdSchema; }
|
|
1999
1999
|
});
|
|
2000
2000
|
Object.defineProperty(exports, "serializedProcessorSchema", {
|
|
2001
2001
|
enumerable: true,
|
|
2002
|
-
get: function () { return
|
|
2002
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedProcessorSchema; }
|
|
2003
2003
|
});
|
|
2004
2004
|
Object.defineProperty(exports, "serializedToolSchema", {
|
|
2005
2005
|
enumerable: true,
|
|
2006
|
-
get: function () { return
|
|
2006
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedToolSchema; }
|
|
2007
2007
|
});
|
|
2008
2008
|
Object.defineProperty(exports, "serializedWorkflowSchema", {
|
|
2009
2009
|
enumerable: true,
|
|
2010
|
-
get: function () { return
|
|
2010
|
+
get: function () { return chunkZQ4GVMYG_cjs.serializedWorkflowSchema; }
|
|
2011
2011
|
});
|
|
2012
2012
|
Object.defineProperty(exports, "streamResponseSchema", {
|
|
2013
2013
|
enumerable: true,
|
|
2014
|
-
get: function () { return
|
|
2014
|
+
get: function () { return chunkZQ4GVMYG_cjs.streamResponseSchema; }
|
|
2015
2015
|
});
|
|
2016
2016
|
Object.defineProperty(exports, "streamUntilIdleBodySchema", {
|
|
2017
2017
|
enumerable: true,
|
|
2018
|
-
get: function () { return
|
|
2018
|
+
get: function () { return chunkZQ4GVMYG_cjs.streamUntilIdleBodySchema; }
|
|
2019
2019
|
});
|
|
2020
2020
|
Object.defineProperty(exports, "subscribeAgentThreadBodySchema", {
|
|
2021
2021
|
enumerable: true,
|
|
2022
|
-
get: function () { return
|
|
2022
|
+
get: function () { return chunkZQ4GVMYG_cjs.subscribeAgentThreadBodySchema; }
|
|
2023
2023
|
});
|
|
2024
2024
|
Object.defineProperty(exports, "toolCallResponseSchema", {
|
|
2025
2025
|
enumerable: true,
|
|
2026
|
-
get: function () { return
|
|
2026
|
+
get: function () { return chunkZQ4GVMYG_cjs.toolCallResponseSchema; }
|
|
2027
2027
|
});
|
|
2028
2028
|
Object.defineProperty(exports, "toolIdPathParams", {
|
|
2029
2029
|
enumerable: true,
|
|
2030
|
-
get: function () { return
|
|
2030
|
+
get: function () { return chunkZQ4GVMYG_cjs.toolIdPathParams; }
|
|
2031
2031
|
});
|
|
2032
2032
|
Object.defineProperty(exports, "updateAgentModelBodySchema", {
|
|
2033
2033
|
enumerable: true,
|
|
2034
|
-
get: function () { return
|
|
2034
|
+
get: function () { return chunkZQ4GVMYG_cjs.updateAgentModelBodySchema; }
|
|
2035
2035
|
});
|
|
2036
2036
|
Object.defineProperty(exports, "updateAgentModelInModelListBodySchema", {
|
|
2037
2037
|
enumerable: true,
|
|
2038
|
-
get: function () { return
|
|
2038
|
+
get: function () { return chunkZQ4GVMYG_cjs.updateAgentModelInModelListBodySchema; }
|
|
2039
2039
|
});
|
|
2040
2040
|
Object.defineProperty(exports, "generateSpeechBodySchema", {
|
|
2041
2041
|
enumerable: true,
|
|
@@ -9,11 +9,11 @@ export { executeProcessorBodySchema, executeProcessorResponseSchema, listProcess
|
|
|
9
9
|
export { activatePromptBlockVersionResponseSchema, comparePromptBlockVersionsQuerySchema, comparePromptBlockVersionsResponseSchema, createPromptBlockVersionBodySchema, createPromptBlockVersionResponseSchema, deletePromptBlockVersionResponseSchema, getPromptBlockVersionResponseSchema, listPromptBlockVersionsQuerySchema, listPromptBlockVersionsResponseSchema, promptBlockVersionIdPathParams, promptBlockVersionPathParams, promptBlockVersionSchema, restorePromptBlockVersionResponseSchema } from '../../chunk-3BLT6ISZ.js';
|
|
10
10
|
export { activateMCPClientVersionResponseSchema, compareMCPClientVersionsQuerySchema, compareMCPClientVersionsResponseSchema, createMCPClientVersionBodySchema, createMCPClientVersionResponseSchema, deleteMCPClientVersionResponseSchema, getMCPClientVersionResponseSchema, listMCPClientVersionsQuerySchema, listMCPClientVersionsResponseSchema, mcpClientVersionIdPathParams, mcpClientVersionPathParams, mcpClientVersionSchema, restoreMCPClientVersionResponseSchema } from '../../chunk-EFJIK2PW.js';
|
|
11
11
|
export { addItemBodySchema, batchDeleteItemsBodySchema, batchDeleteItemsResponseSchema, batchInsertItemsBodySchema, batchInsertItemsResponseSchema, clusterFailuresBodySchema, clusterFailuresResponseSchema, compareExperimentsBodySchema, comparisonResponseSchema, createDatasetBodySchema, datasetAndExperimentIdPathParams, datasetAndItemIdPathParams, datasetIdPathParams, datasetItemResponseSchema, datasetItemVersionPathParams, datasetResponseSchema, datasetVersionResponseSchema, experimentIdPathParams, experimentResponseSchema, experimentResultIdPathParams, experimentResultResponseSchema, experimentReviewCountsSchema, experimentSummaryResponseSchema, generateItemsBodySchema, generateItemsResponseSchema, itemIdPathParams, itemVersionResponseSchema, listDatasetVersionsResponseSchema, listDatasetsResponseSchema, listExperimentResultsResponseSchema, listExperimentsResponseSchema, listItemVersionsResponseSchema, listItemsQuerySchema, listItemsResponseSchema, paginationQuerySchema, reviewSummaryResponseSchema, scorerResultSchema, triggerExperimentBodySchema, updateDatasetBodySchema, updateExperimentResultBodySchema, updateItemBodySchema } from '../../chunk-X7KQ23MW.js';
|
|
12
|
-
export { agentConfigurationSchema, agentFeaturesSchema, agentModelsSchema, builderAvailableModelsResponseSchema, builderModelPolicySchema, builderPickerSchema, builderSettingsResponseSchema, defaultModelEntrySchema, infrastructureStatusResponseSchema, pickerAllowlistSchema, providerModelEntrySchema } from '../../chunk-
|
|
12
|
+
export { agentConfigurationSchema, agentFeaturesSchema, agentModelsSchema, builderAvailableModelsResponseSchema, builderModelPolicySchema, builderPickerSchema, builderSettingsResponseSchema, defaultModelEntrySchema, infrastructureStatusResponseSchema, pickerAllowlistSchema, providerModelEntrySchema } from '../../chunk-PBNENTGS.js';
|
|
13
13
|
export { agentVersionPathParams, agentVersionSchema, compareVersionsResponseSchema, createVersionResponseSchema, getVersionResponseSchema, listVersionsResponseSchema, restoreVersionResponseSchema, versionIdPathParams } from '../../chunk-ONDWDP2S.js';
|
|
14
14
|
export { activateVersionResponseSchema, compareVersionsQuerySchema, createCompareVersionsResponseSchema, createListVersionsResponseSchema, createVersionBodySchema, deleteVersionResponseSchema, listVersionsQuerySchema, versionDiffEntrySchema, versionOrderBySchema } from '../../chunk-3OQMTFIV.js';
|
|
15
15
|
export { createIndexBodySchema, createIndexResponseSchema, deleteIndexResponseSchema, describeIndexResponseSchema, listEmbeddersResponseSchema, listIndexesResponseSchema, listVectorsResponseSchema, queryVectorsBodySchema, queryVectorsResponseSchema, upsertVectorsBodySchema, upsertVectorsResponseSchema, vectorIndexPathParams, vectorNamePathParams } from '../../chunk-RVICRXZF.js';
|
|
16
|
-
export { entityPathParams, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, saveScoreBodySchema, saveScoreResponseSchema, scorerEntrySchema, scorerIdPathParams, scoresWithPaginationResponseSchema } from '../../chunk-
|
|
16
|
+
export { entityPathParams, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, saveScoreBodySchema, saveScoreResponseSchema, scorerEntrySchema, scorerIdPathParams, scoresWithPaginationResponseSchema } from '../../chunk-I2LG5WYB.js';
|
|
17
17
|
export { getMcpServerDetailQuerySchema, jsonRpcErrorSchema, listMcpServerToolsResponseSchema, listMcpServersQuerySchema, listMcpServersResponseSchema, executeToolBodySchema as mcpExecuteToolBodySchema, executeToolResponseSchema as mcpExecuteToolResponseSchema, mcpServerDetailPathParams, mcpServerIdPathParams, mcpServerToolPathParams, mcpToolInfoSchema, serverDetailSchema, serverInfoSchema, versionDetailSchema } from '../../chunk-356JZOB2.js';
|
|
18
18
|
export { conversationDeletedSchema, conversationIdPathParams, conversationItemsListSchema, conversationObjectSchema, createConversationBodySchema } from '../../chunk-WOE6XG6B.js';
|
|
19
19
|
export { conversationItemMessageSchema, conversationItemSchema, conversationMessageContentSchema, createResponseBodySchema, deleteResponseSchema, responseIdPathParams, responseInputMessageSchema, responseInputTextContentSchema, responseInputTextPartSchema, responseObjectSchema, responseOutputFunctionCallOutputSchema, responseOutputFunctionCallSchema, responseOutputItemSchema, responseOutputMessageSchema, responseOutputTextSchema, responseTextFormatSchema, responseToolSchema, responseUsageSchema } from '../../chunk-BIUL4Y6W.js';
|
|
@@ -28,7 +28,7 @@ export { authenticatedCapabilitiesSchema, authenticatedUserSchema, capabilitiesR
|
|
|
28
28
|
export { fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, getAgentSkillResponseSchema, getSkillResponseSchema, indexBodySchema, indexResponseSchema, listReferencesResponseSchema, listSkillsResponseSchema, listWorkspacesResponseSchema, mountInfoSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema } from '../../chunk-ZHULRNJG.js';
|
|
29
29
|
export { actionIdPathParams, actionRunPathParams, resumeAgentBuilderBodySchema, startAsyncAgentBuilderBodySchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema } from '../../chunk-6SZGOLAP.js';
|
|
30
30
|
export { createWorkflowRunResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, sendWorkflowRunEventBodySchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema } from '../../chunk-K4HCNNHA.js';
|
|
31
|
-
export { abortAgentThreadBodySchema, abortAgentThreadResponseSchema, agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, listAgentsResponseSchema, listSuspendedRunsQuerySchema, listSuspendedRunsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, queueAgentMessageBodySchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema } from '../../chunk-
|
|
31
|
+
export { abortAgentThreadBodySchema, abortAgentThreadResponseSchema, agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, listAgentsResponseSchema, listSuspendedRunsQuerySchema, listSuspendedRunsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, queueAgentMessageBodySchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema } from '../../chunk-R3KUPFCO.js';
|
|
32
32
|
export { generateSpeechBodySchema, getListenerResponseSchema, speakResponseSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, voiceSpeakersResponseSchema } from '../../chunk-LPT77UR6.js';
|
|
33
33
|
export { defaultOptionsSchema } from '../../chunk-TKP6FJQ3.js';
|
|
34
34
|
export { baseLogMessageSchema, coreMessageSchema, createCombinedPaginationSchema, createPagePaginationSchema, messageResponseSchema, optionalRunIdSchema, paginationInfoSchema, partialQuerySchema, runIdSchema, statusQuerySchema, successResponseSchema, tracingOptionsSchema } from '../../chunk-2YY3EMMS.js';
|
|
@@ -20,6 +20,7 @@ export declare const scorerEntrySchema: z.ZodObject<{
|
|
|
20
20
|
source: z.ZodEnum<{
|
|
21
21
|
code: "code";
|
|
22
22
|
stored: "stored";
|
|
23
|
+
fs: "fs";
|
|
23
24
|
}>;
|
|
24
25
|
}, z.core.$strip>;
|
|
25
26
|
/**
|
|
@@ -44,6 +45,7 @@ export declare const listScorersResponseSchema: z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
44
45
|
source: z.ZodEnum<{
|
|
45
46
|
code: "code";
|
|
46
47
|
stored: "stored";
|
|
48
|
+
fs: "fs";
|
|
47
49
|
}>;
|
|
48
50
|
}, z.core.$strip>>;
|
|
49
51
|
export declare const scorerIdPathParams: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scores.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/scores.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AA4B3B;;GAEG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"scores.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/scores.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AA4B3B;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;iBAQ5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;kBAA0C,CAAC;AAGjF,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AAMH,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;iBAK1C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAGH,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAGH,eAAO,MAAM,kCAAkC;;;;;;;;iBAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB;;iBAElC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5SZOGYYO_cjs = require('../../chunk-5SZOGYYO.cjs');
|
|
4
4
|
var chunk4PQR3D5Y_cjs = require('../../chunk-4PQR3D5Y.cjs');
|
|
5
5
|
var chunkYWUVDFQZ_cjs = require('../../chunk-YWUVDFQZ.cjs');
|
|
6
6
|
var chunkSXKQ7CSX_cjs = require('../../chunk-SXKQ7CSX.cjs');
|
|
@@ -63,7 +63,7 @@ function getBuiltInRouteFGAConfig(route) {
|
|
|
63
63
|
if (!isProtectedFGARoute(route) || !route.path || !route.method) {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
66
|
-
const permission =
|
|
66
|
+
const permission = chunk5SZOGYYO_cjs.getEffectivePermission(route);
|
|
67
67
|
if (!permission) {
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
@@ -277,7 +277,7 @@ function getFGARouteInfo(route) {
|
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
279
|
function getRoutePermissions(route) {
|
|
280
|
-
return [
|
|
280
|
+
return [chunk5SZOGYYO_cjs.getEffectivePermission(route), route.fga?.permission].flatMap((value) => Array.isArray(value) ? value : [value]).filter((permission) => Boolean(permission));
|
|
281
281
|
}
|
|
282
282
|
async function resolveRouteFGAConfig(fgaProvider, route, requestContext, params) {
|
|
283
283
|
if (route.fga) {
|
|
@@ -611,7 +611,7 @@ var MastraServer = class _MastraServer extends server.MastraServerBase {
|
|
|
611
611
|
if (!rbacProvider) {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
|
-
const requiredPermission =
|
|
614
|
+
const requiredPermission = chunk5SZOGYYO_cjs.getEffectivePermission(route);
|
|
615
615
|
if (!requiredPermission) {
|
|
616
616
|
return null;
|
|
617
617
|
}
|
|
@@ -704,7 +704,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
704
704
|
const customRoutes = (this.customApiRoutes ?? serverConfig?.apiRoutes ?? []).filter(
|
|
705
705
|
(route) => !route._mastraInternal
|
|
706
706
|
);
|
|
707
|
-
const routes = [...
|
|
707
|
+
const routes = [...chunk5SZOGYYO_cjs.SERVER_ROUTES, ...customRoutes];
|
|
708
708
|
if (fgaProvider.validatePermissions) {
|
|
709
709
|
const permissions = [...new Set(routes.flatMap((route) => getRoutePermissions(route)))];
|
|
710
710
|
await fgaProvider.validatePermissions(permissions);
|
|
@@ -876,7 +876,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
876
876
|
* Builds the OpenAPI spec object with servers field and custom route paths.
|
|
877
877
|
*/
|
|
878
878
|
buildOpenAPISpec(config, prefix) {
|
|
879
|
-
const openApiSpec = chunkDN2NUSL2_cjs.generateOpenAPIDocument(
|
|
879
|
+
const openApiSpec = chunkDN2NUSL2_cjs.generateOpenAPIDocument(chunk5SZOGYYO_cjs.SERVER_ROUTES, config);
|
|
880
880
|
if (prefix) {
|
|
881
881
|
openApiSpec.servers = [{ url: prefix }];
|
|
882
882
|
}
|
|
@@ -911,7 +911,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
911
911
|
await this.registerRoute(app, openApiRoute, { prefix });
|
|
912
912
|
}
|
|
913
913
|
async registerRoutes() {
|
|
914
|
-
for (const route of
|
|
914
|
+
for (const route of chunk5SZOGYYO_cjs.SERVER_ROUTES) {
|
|
915
915
|
await this.registerRoute(this.app, route, { prefix: this.prefix });
|
|
916
916
|
}
|
|
917
917
|
if (this.openapiPath) {
|
|
@@ -1000,7 +1000,7 @@ async function checkRouteFGA(mastra, route, requestContext, params) {
|
|
|
1000
1000
|
message: "FGA authorization denied: route FGA metadata is incomplete"
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
const effectivePermission = route.path ?
|
|
1003
|
+
const effectivePermission = route.path ? chunk5SZOGYYO_cjs.getEffectivePermission(route) : null;
|
|
1004
1004
|
const permission = fgaConfig.permission || effectivePermission || `${getFGAResourcePermissionSlug(fgaConfig.resourceType)}:${deriveFGAAction(route.method)}`;
|
|
1005
1005
|
const authorized = await fgaProvider.check(user, {
|
|
1006
1006
|
resource: { type: fgaConfig.resourceType, id: resourceId },
|
|
@@ -1042,23 +1042,23 @@ function getFGAResourcePermissionSlug(resourceType) {
|
|
|
1042
1042
|
|
|
1043
1043
|
Object.defineProperty(exports, "SERVER_ROUTES", {
|
|
1044
1044
|
enumerable: true,
|
|
1045
|
-
get: function () { return
|
|
1045
|
+
get: function () { return chunk5SZOGYYO_cjs.SERVER_ROUTES; }
|
|
1046
1046
|
});
|
|
1047
1047
|
Object.defineProperty(exports, "deriveAction", {
|
|
1048
1048
|
enumerable: true,
|
|
1049
|
-
get: function () { return
|
|
1049
|
+
get: function () { return chunk5SZOGYYO_cjs.deriveAction; }
|
|
1050
1050
|
});
|
|
1051
1051
|
Object.defineProperty(exports, "derivePermission", {
|
|
1052
1052
|
enumerable: true,
|
|
1053
|
-
get: function () { return
|
|
1053
|
+
get: function () { return chunk5SZOGYYO_cjs.derivePermission; }
|
|
1054
1054
|
});
|
|
1055
1055
|
Object.defineProperty(exports, "extractResource", {
|
|
1056
1056
|
enumerable: true,
|
|
1057
|
-
get: function () { return
|
|
1057
|
+
get: function () { return chunk5SZOGYYO_cjs.extractResource; }
|
|
1058
1058
|
});
|
|
1059
1059
|
Object.defineProperty(exports, "getEffectivePermission", {
|
|
1060
1060
|
enumerable: true,
|
|
1061
|
-
get: function () { return
|
|
1061
|
+
get: function () { return chunk5SZOGYYO_cjs.getEffectivePermission; }
|
|
1062
1062
|
});
|
|
1063
1063
|
Object.defineProperty(exports, "WorkflowRegistry", {
|
|
1064
1064
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-
|
|
2
|
-
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-
|
|
1
|
+
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-XJLHTR7T.js';
|
|
2
|
+
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-XJLHTR7T.js';
|
|
3
3
|
import { coreAuthMiddleware } from '../../chunk-HATXNJ4V.js';
|
|
4
4
|
import { normalizeRoutePath } from '../../chunk-EOGTJIPF.js';
|
|
5
5
|
export { WorkflowRegistry, normalizeRoutePath } from '../../chunk-EOGTJIPF.js';
|
|
@@ -12,7 +12,7 @@ export declare const SCORES_ROUTES: readonly [import(".").ServerRoute<{}, Record
|
|
|
12
12
|
agentNames: string[];
|
|
13
13
|
workflowIds: string[];
|
|
14
14
|
isRegistered: boolean;
|
|
15
|
-
source: "code" | "stored";
|
|
15
|
+
source: "code" | "stored" | "fs";
|
|
16
16
|
sampling?: Record<string, never> | undefined;
|
|
17
17
|
}>, "json", import(".").RouteSchemas<undefined, undefined, undefined, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
18
18
|
scorer: import("zod").ZodObject<{
|
|
@@ -32,6 +32,7 @@ export declare const SCORES_ROUTES: readonly [import(".").ServerRoute<{}, Record
|
|
|
32
32
|
source: import("zod").ZodEnum<{
|
|
33
33
|
code: "code";
|
|
34
34
|
stored: "stored";
|
|
35
|
+
fs: "fs";
|
|
35
36
|
}>;
|
|
36
37
|
}, import("zod/v4/core").$strip>>>, "GET", "/scores/scorers">, import(".").ServerRoute<{
|
|
37
38
|
scorerId: string;
|
|
@@ -49,7 +50,7 @@ export declare const SCORES_ROUTES: readonly [import(".").ServerRoute<{}, Record
|
|
|
49
50
|
agentNames: string[];
|
|
50
51
|
workflowIds: string[];
|
|
51
52
|
isRegistered: boolean;
|
|
52
|
-
source: "code" | "stored";
|
|
53
|
+
source: "code" | "stored" | "fs";
|
|
53
54
|
sampling?: Record<string, never> | undefined;
|
|
54
55
|
} | null, "json", import(".").RouteSchemas<import("zod").ZodObject<{
|
|
55
56
|
scorerId: import("zod").ZodString;
|
|
@@ -71,6 +72,7 @@ export declare const SCORES_ROUTES: readonly [import(".").ServerRoute<{}, Record
|
|
|
71
72
|
source: import("zod").ZodEnum<{
|
|
72
73
|
code: "code";
|
|
73
74
|
stored: "stored";
|
|
75
|
+
fs: "fs";
|
|
74
76
|
}>;
|
|
75
77
|
}, import("zod/v4/core").$strip>>>, "GET", "/scores/scorers/:scorerId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
|
|
76
78
|
runId: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scorers.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/scorers.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"scorers.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/scorers.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAOhB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "1.48.0-alpha.
|
|
3
|
+
"version": "1.48.0-alpha.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -116,14 +116,14 @@
|
|
|
116
116
|
"zod": "^4.4.3",
|
|
117
117
|
"zod-to-ts": "^2.1.0",
|
|
118
118
|
"@internal/core": "0.1.0",
|
|
119
|
-
"@internal/lint": "0.0.109",
|
|
120
119
|
"@internal/storage-test-utils": "0.0.105",
|
|
120
|
+
"@internal/test-utils": "0.0.45",
|
|
121
121
|
"@internal/types-builder": "0.0.84",
|
|
122
|
-
"@mastra/agent-builder": "1.1.3-alpha.2",
|
|
123
|
-
"@mastra/core": "1.48.0-alpha.6",
|
|
124
122
|
"@internal/voice": "0.0.9",
|
|
125
|
-
"@mastra/
|
|
126
|
-
"@internal/
|
|
123
|
+
"@mastra/agent-builder": "1.1.3-alpha.2",
|
|
124
|
+
"@internal/lint": "0.0.109",
|
|
125
|
+
"@mastra/core": "1.48.0-alpha.8",
|
|
126
|
+
"@mastra/schema-compat": "1.3.2-alpha.1"
|
|
127
127
|
},
|
|
128
128
|
"homepage": "https://mastra.ai",
|
|
129
129
|
"repository": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/server/schemas/scores.ts"],"names":["z","paginationInfoSchema"],"mappings":";;;;;AAOA,IAAM,2BAAA,GAA8BA,IAAA,CAAE,MAAA,CAAO,EAAE,CAAA;AAK/C,IAAM,wBAAA,GAA2BA,KAAE,MAAA,CAAO;AAAA,EACxC,EAAA,EAAIA,KAAE,MAAA,EAAO;AAAA,EACb,IAAA,EAAMA,IAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS;AAAA,EAC1B,WAAA,EAAaA,KAAE,MAAA,EAAO;AAAA,EACtB,IAAA,EAAMA,IAAA,CAAE,OAAA,EAAQ,CAAE,QAAA,EAAS;AAAA,EAC3B,KAAA,EAAOA,IAAA,CAAE,OAAA,EAAQ,CAAE,QAAA;AACrB,CAAC,CAAA;AAMD,IAAM,kBAAA,GAAqBA,KAAE,MAAA,CAAO;AAAA,EAClC,MAAA,EAAQ;AACV,CAAC,CAAA;AAKM,IAAM,iBAAA,GAAoBA,KAAE,MAAA,CAAO;AAAA,EACxC,MAAA,EAAQ,kBAAA;AAAA,EACR,QAAA,EAAU,4BAA4B,QAAA,EAAS;AAAA,EAC/C,QAAA,EAAUA,IAAA,CAAE,KAAA,CAAMA,IAAA,CAAE,QAAQ,CAAA;AAAA,EAC5B,UAAA,EAAYA,IAAA,CAAE,KAAA,CAAMA,IAAA,CAAE,QAAQ,CAAA;AAAA,EAC9B,WAAA,EAAaA,IAAA,CAAE,KAAA,CAAMA,IAAA,CAAE,QAAQ,CAAA;AAAA,EAC/B,YAAA,EAAcA,KAAE,OAAA,EAAQ;AAAA,EACxB,QAAQA,IAAA,CAAE,IAAA,CAAK,CAAC,MAAA,EAAQ,QAAQ,CAAC;AACnC,CAAC;AAMM,IAAM,4BAA4BA,IAAA,CAAE,MAAA,CAAOA,IAAA,CAAE,MAAA,IAAU,iBAAiB;AAGxE,IAAM,kBAAA,GAAqBA,KAAE,MAAA,CAAO;AAAA,EACzC,QAAA,EAAUA,IAAA,CAAE,MAAA,EAAO,CAAE,SAAS,kCAAkC;AAClE,CAAC;AAEM,IAAM,gBAAA,GAAmBA,KAAE,MAAA,CAAO;AAAA,EACvC,UAAA,EAAYA,IAAA,CAAE,MAAA,EAAO,CAAE,SAAS,wCAAwC,CAAA;AAAA,EACxE,QAAA,EAAUA,IAAA,CAAE,MAAA,EAAO,CAAE,SAAS,kCAAkC;AAClE,CAAC;AAMM,IAAM,4BAAA,GAA+BA,KAAE,MAAA,CAAO;AAAA,EACnD,IAAA,EAAMA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,CAAC,CAAA;AAAA,EAC5C,OAAA,EAASA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,EAAE;AAClD,CAAC;AAEM,IAAM,+BAAA,GAAkCA,KAAE,MAAA,CAAO;AAAA,EACtD,IAAA,EAAMA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,CAAC,CAAA;AAAA,EAC5C,OAAA,EAASA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,EAAE,CAAA;AAAA,EAChD,QAAA,EAAUA,IAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS;AAAA,EAC9B,UAAA,EAAYA,IAAA,CAAE,MAAA,EAAO,CAAE,QAAA;AACzB,CAAC;AAEM,IAAM,+BAAA,GAAkCA,KAAE,MAAA,CAAO;AAAA,EACtD,IAAA,EAAMA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,CAAC,CAAA;AAAA,EAC5C,OAAA,EAASA,KAAE,MAAA,CAAO,MAAA,GAAS,QAAA,EAAS,CAAE,QAAQ,EAAE;AAClD,CAAC;AAGM,IAAM,mBAAA,GAAsBA,KAAE,MAAA,CAAO;AAAA,EAC1C,KAAA,EAAOA,KAAE,OAAA;AAAQ;AACnB,CAAC;AAGM,IAAM,kCAAA,GAAqCA,KAAE,MAAA,CAAO;AAAA,EACzD,UAAA,EAAYC,sCAAA;AAAA,EACZ,MAAA,EAAQD,IAAA,CAAE,KAAA,CAAMA,IAAA,CAAE,SAAS;AAAA;AAC7B,CAAC;AAEM,IAAM,uBAAA,GAA0BA,KAAE,MAAA,CAAO;AAAA,EAC9C,KAAA,EAAOA,KAAE,OAAA;AAAQ;AACnB,CAAC","file":"chunk-DCDQNIYY.cjs","sourcesContent":["import { z } from 'zod/v4';\nimport { paginationInfoSchema } from './common';\n\n/**\n * Schema for sampling configuration\n * Using passthrough to allow various sampling config shapes\n */\nconst scoringSamplingConfigSchema = z.object({});\n\n/**\n * Schema for MastraScorer config object\n */\nconst mastraScorerConfigSchema = z.object({\n id: z.string(),\n name: z.string().optional(),\n description: z.string(),\n type: z.unknown().optional(),\n judge: z.unknown().optional(),\n});\n\n/**\n * Schema for MastraScorer\n * Only validates public config property, uses passthrough to allow class instance\n */\nconst mastraScorerSchema = z.object({\n config: mastraScorerConfigSchema,\n});\n\n/**\n * Schema for scorer entry with associations to agents and workflows\n */\nexport const scorerEntrySchema = z.object({\n scorer: mastraScorerSchema,\n sampling: scoringSamplingConfigSchema.optional(),\n agentIds: z.array(z.string()),\n agentNames: z.array(z.string()),\n workflowIds: z.array(z.string()),\n isRegistered: z.boolean(),\n source: z.enum(['code', 'stored']),\n});\n\n/**\n * Response schema for list scorers endpoint\n * Returns a record of scorer ID to scorer entry with associations\n */\nexport const listScorersResponseSchema = z.record(z.string(), scorerEntrySchema);\n\n// Path parameter schemas\nexport const scorerIdPathParams = z.object({\n scorerId: z.string().describe('Unique identifier for the scorer'),\n});\n\nexport const entityPathParams = z.object({\n entityType: z.string().describe('Type of the entity (AGENT or WORKFLOW)'),\n entityId: z.string().describe('Unique identifier for the entity'),\n});\n\n// Query parameter schemas\n// HTTP query params must be flat (e.g., ?page=0&perPage=10)\n// Adapters should transform these into nested pagination objects for handlers if needed\n\nexport const listScoresByRunIdQuerySchema = z.object({\n page: z.coerce.number().optional().default(0),\n perPage: z.coerce.number().optional().default(10),\n});\n\nexport const listScoresByScorerIdQuerySchema = z.object({\n page: z.coerce.number().optional().default(0),\n perPage: z.coerce.number().optional().default(10),\n entityId: z.string().optional(),\n entityType: z.string().optional(),\n});\n\nexport const listScoresByEntityIdQuerySchema = z.object({\n page: z.coerce.number().optional().default(0),\n perPage: z.coerce.number().optional().default(10),\n});\n\n// Body schema for saving scores\nexport const saveScoreBodySchema = z.object({\n score: z.unknown(), // ScoreRowData - complex type\n});\n\n// Response schemas\nexport const scoresWithPaginationResponseSchema = z.object({\n pagination: paginationInfoSchema,\n scores: z.array(z.unknown()), // Array of score records\n});\n\nexport const saveScoreResponseSchema = z.object({\n score: z.unknown(), // ScoreRowData\n});\n"]}
|