@mastra/server 1.53.0-alpha.3 → 1.53.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 +27 -0
- package/dist/{api-schema-manifest-BTKRYQN2.cjs → api-schema-manifest-2ADWGS44.cjs} +4 -4
- package/dist/{api-schema-manifest-BTKRYQN2.cjs.map → api-schema-manifest-2ADWGS44.cjs.map} +1 -1
- package/dist/{api-schema-manifest-VEPBOUL3.js → api-schema-manifest-D5MRUN3F.js} +3 -3
- package/dist/{api-schema-manifest-VEPBOUL3.js.map → api-schema-manifest-D5MRUN3F.js.map} +1 -1
- package/dist/{chunk-2UXT54P3.js → chunk-3TB7OLWM.js} +3 -3
- package/dist/{chunk-2UXT54P3.js.map → chunk-3TB7OLWM.js.map} +1 -1
- package/dist/{chunk-KK6BI6UL.cjs → chunk-5SHV4VN7.cjs} +4 -4
- package/dist/{chunk-KK6BI6UL.cjs.map → chunk-5SHV4VN7.cjs.map} +1 -1
- package/dist/{chunk-DGCF3QUM.cjs → chunk-67C55FXM.cjs} +65 -65
- package/dist/{chunk-DGCF3QUM.cjs.map → chunk-67C55FXM.cjs.map} +1 -1
- package/dist/{chunk-C7LSLDC7.cjs → chunk-73ZRTS7S.cjs} +11 -2
- package/dist/chunk-73ZRTS7S.cjs.map +1 -0
- package/dist/{chunk-R7SQRQYD.js → chunk-7BT3XVWU.js} +11 -3
- package/dist/chunk-7BT3XVWU.js.map +1 -0
- package/dist/{chunk-A773U2QJ.cjs → chunk-7RTORLI4.cjs} +3 -3
- package/dist/{chunk-A773U2QJ.cjs.map → chunk-7RTORLI4.cjs.map} +1 -1
- package/dist/{chunk-A6SVMM25.js → chunk-A2VLKDT3.js} +7 -3
- package/dist/chunk-A2VLKDT3.js.map +1 -0
- package/dist/{chunk-LERI4STI.cjs → chunk-ACWI5FJL.cjs} +79 -74
- package/dist/chunk-ACWI5FJL.cjs.map +1 -0
- package/dist/{chunk-M5O2SOWH.cjs → chunk-AWH2J33A.cjs} +3 -3
- package/dist/{chunk-M5O2SOWH.cjs.map → chunk-AWH2J33A.cjs.map} +1 -1
- package/dist/{chunk-TQLNRUH3.js → chunk-CMO4UPNO.js} +8 -8
- package/dist/{chunk-TQLNRUH3.js.map → chunk-CMO4UPNO.js.map} +1 -1
- package/dist/{chunk-RK45RWAX.js → chunk-DBBQU7I5.js} +5 -5
- package/dist/chunk-DBBQU7I5.js.map +1 -0
- package/dist/{chunk-AJXH4AOX.js → chunk-EK2YKEO3.js} +8 -3
- package/dist/chunk-EK2YKEO3.js.map +1 -0
- package/dist/{chunk-JF6VE6ZA.js → chunk-IJFVB7CZ.js} +3 -3
- package/dist/{chunk-JF6VE6ZA.js.map → chunk-IJFVB7CZ.js.map} +1 -1
- package/dist/{chunk-WBW5BNAI.cjs → chunk-MSKLEJXP.cjs} +7 -3
- package/dist/chunk-MSKLEJXP.cjs.map +1 -0
- package/dist/{chunk-J2DXOUZV.js → chunk-MTZKPV6D.js} +4 -12
- package/dist/chunk-MTZKPV6D.js.map +1 -0
- package/dist/{chunk-J24BKQPK.js → chunk-NYSC6V6I.js} +3 -3
- package/dist/{chunk-J24BKQPK.js.map → chunk-NYSC6V6I.js.map} +1 -1
- package/dist/{chunk-HDM4ZEVO.cjs → chunk-QTCWFBJ2.cjs} +91 -91
- package/dist/{chunk-HDM4ZEVO.cjs.map → chunk-QTCWFBJ2.cjs.map} +1 -1
- package/dist/{chunk-FKRKOTCX.cjs → chunk-RPVHLIR7.cjs} +5 -5
- package/dist/chunk-RPVHLIR7.cjs.map +1 -0
- package/dist/{chunk-5QBM7JJC.cjs → chunk-TASNH6SY.cjs} +11 -11
- package/dist/{chunk-5QBM7JJC.cjs.map → chunk-TASNH6SY.cjs.map} +1 -1
- package/dist/{chunk-M3HO4QJQ.cjs → chunk-TCA2QMPR.cjs} +46 -54
- package/dist/chunk-TCA2QMPR.cjs.map +1 -0
- package/dist/{chunk-6W7NBDZW.js → chunk-X5ROLVN2.js} +3 -3
- package/dist/{chunk-6W7NBDZW.js.map → chunk-X5ROLVN2.js.map} +1 -1
- package/dist/{chunk-ZD4SKL6I.js → chunk-XQB5S433.js} +3 -3
- package/dist/{chunk-ZD4SKL6I.js.map → chunk-XQB5S433.js.map} +1 -1
- package/dist/{dist-JBFEG56T.js → dist-2QXB2QUB.js} +3 -3
- package/dist/{dist-JBFEG56T.js.map → dist-2QXB2QUB.js.map} +1 -1
- package/dist/{dist-TLH5RN67.cjs → dist-EXOCH7YA.cjs} +4 -4
- package/dist/{dist-TLH5RN67.cjs.map → dist-EXOCH7YA.cjs.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/{observational-memory-O7ZPZ4DM-FZQ67R4A.cjs → observational-memory-OSTBP4LB-5JLK6D4C.cjs} +29 -29
- package/dist/{observational-memory-O7ZPZ4DM-FZQ67R4A.cjs.map → observational-memory-OSTBP4LB-5JLK6D4C.cjs.map} +1 -1
- package/dist/{observational-memory-O7ZPZ4DM-67EF7JPH.js → observational-memory-OSTBP4LB-6IRW3U5X.js} +3 -3
- package/dist/{observational-memory-O7ZPZ4DM-67EF7JPH.js.map → observational-memory-OSTBP4LB-6IRW3U5X.js.map} +1 -1
- package/dist/server/handlers/agent-builder.cjs +17 -17
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/memory.cjs +27 -27
- package/dist/server/handlers/memory.d.ts +8 -0
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +29 -29
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability-shared.cjs +13 -9
- package/dist/server/handlers/observability-shared.d.ts +3 -1
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +1 -1
- package/dist/server/handlers/observability.cjs +40 -40
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +2 -2
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers.cjs +8 -8
- package/dist/server/handlers.js +4 -4
- package/dist/server/schemas/index.cjs +50 -50
- package/dist/server/schemas/index.js +2 -2
- package/dist/server/schemas/memory.d.ts +4 -0
- package/dist/server/schemas/memory.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/memory.d.ts +8 -0
- package/dist/server/server-adapter/routes/memory.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/chunk-A6SVMM25.js.map +0 -1
- package/dist/chunk-AJXH4AOX.js.map +0 -1
- package/dist/chunk-C7LSLDC7.cjs.map +0 -1
- package/dist/chunk-FKRKOTCX.cjs.map +0 -1
- package/dist/chunk-J2DXOUZV.js.map +0 -1
- package/dist/chunk-LERI4STI.cjs.map +0 -1
- package/dist/chunk-M3HO4QJQ.cjs.map +0 -1
- package/dist/chunk-R7SQRQYD.js.map +0 -1
- package/dist/chunk-RK45RWAX.js.map +0 -1
- package/dist/chunk-WBW5BNAI.cjs.map +0 -1
|
@@ -17,9 +17,9 @@ var chunk4JAXFPYO_cjs = require('../../chunk-4JAXFPYO.cjs');
|
|
|
17
17
|
var chunkERHA2RJM_cjs = require('../../chunk-ERHA2RJM.cjs');
|
|
18
18
|
var chunk33C4F4LV_cjs = require('../../chunk-33C4F4LV.cjs');
|
|
19
19
|
var chunk2Q2CCUIN_cjs = require('../../chunk-2Q2CCUIN.cjs');
|
|
20
|
-
var
|
|
20
|
+
var chunk5SHV4VN7_cjs = require('../../chunk-5SHV4VN7.cjs');
|
|
21
21
|
var chunk42WZN6MM_cjs = require('../../chunk-42WZN6MM.cjs');
|
|
22
|
-
var
|
|
22
|
+
var chunkMSKLEJXP_cjs = require('../../chunk-MSKLEJXP.cjs');
|
|
23
23
|
var chunkDN6EUIM5_cjs = require('../../chunk-DN6EUIM5.cjs');
|
|
24
24
|
var chunkWE6BWC6H_cjs = require('../../chunk-WE6BWC6H.cjs');
|
|
25
25
|
var chunkI5JCLVTK_cjs = require('../../chunk-I5JCLVTK.cjs');
|
|
@@ -883,23 +883,23 @@ Object.defineProperty(exports, "versionDetailSchema", {
|
|
|
883
883
|
});
|
|
884
884
|
Object.defineProperty(exports, "conversationDeletedSchema", {
|
|
885
885
|
enumerable: true,
|
|
886
|
-
get: function () { return
|
|
886
|
+
get: function () { return chunk5SHV4VN7_cjs.conversationDeletedSchema; }
|
|
887
887
|
});
|
|
888
888
|
Object.defineProperty(exports, "conversationIdPathParams", {
|
|
889
889
|
enumerable: true,
|
|
890
|
-
get: function () { return
|
|
890
|
+
get: function () { return chunk5SHV4VN7_cjs.conversationIdPathParams; }
|
|
891
891
|
});
|
|
892
892
|
Object.defineProperty(exports, "conversationItemsListSchema", {
|
|
893
893
|
enumerable: true,
|
|
894
|
-
get: function () { return
|
|
894
|
+
get: function () { return chunk5SHV4VN7_cjs.conversationItemsListSchema; }
|
|
895
895
|
});
|
|
896
896
|
Object.defineProperty(exports, "conversationObjectSchema", {
|
|
897
897
|
enumerable: true,
|
|
898
|
-
get: function () { return
|
|
898
|
+
get: function () { return chunk5SHV4VN7_cjs.conversationObjectSchema; }
|
|
899
899
|
});
|
|
900
900
|
Object.defineProperty(exports, "createConversationBodySchema", {
|
|
901
901
|
enumerable: true,
|
|
902
|
-
get: function () { return
|
|
902
|
+
get: function () { return chunk5SHV4VN7_cjs.createConversationBodySchema; }
|
|
903
903
|
});
|
|
904
904
|
Object.defineProperty(exports, "conversationItemMessageSchema", {
|
|
905
905
|
enumerable: true,
|
|
@@ -975,175 +975,175 @@ Object.defineProperty(exports, "responseUsageSchema", {
|
|
|
975
975
|
});
|
|
976
976
|
Object.defineProperty(exports, "agentIdQuerySchema", {
|
|
977
977
|
enumerable: true,
|
|
978
|
-
get: function () { return
|
|
978
|
+
get: function () { return chunkMSKLEJXP_cjs.agentIdQuerySchema; }
|
|
979
979
|
});
|
|
980
980
|
Object.defineProperty(exports, "awaitBufferStatusBodySchema", {
|
|
981
981
|
enumerable: true,
|
|
982
|
-
get: function () { return
|
|
982
|
+
get: function () { return chunkMSKLEJXP_cjs.awaitBufferStatusBodySchema; }
|
|
983
983
|
});
|
|
984
984
|
Object.defineProperty(exports, "awaitBufferStatusResponseSchema", {
|
|
985
985
|
enumerable: true,
|
|
986
|
-
get: function () { return
|
|
986
|
+
get: function () { return chunkMSKLEJXP_cjs.awaitBufferStatusResponseSchema; }
|
|
987
987
|
});
|
|
988
988
|
Object.defineProperty(exports, "cloneThreadBodySchema", {
|
|
989
989
|
enumerable: true,
|
|
990
|
-
get: function () { return
|
|
990
|
+
get: function () { return chunkMSKLEJXP_cjs.cloneThreadBodySchema; }
|
|
991
991
|
});
|
|
992
992
|
Object.defineProperty(exports, "cloneThreadResponseSchema", {
|
|
993
993
|
enumerable: true,
|
|
994
|
-
get: function () { return
|
|
994
|
+
get: function () { return chunkMSKLEJXP_cjs.cloneThreadResponseSchema; }
|
|
995
995
|
});
|
|
996
996
|
Object.defineProperty(exports, "createThreadBodySchema", {
|
|
997
997
|
enumerable: true,
|
|
998
|
-
get: function () { return
|
|
998
|
+
get: function () { return chunkMSKLEJXP_cjs.createThreadBodySchema; }
|
|
999
999
|
});
|
|
1000
1000
|
Object.defineProperty(exports, "createThreadNetworkQuerySchema", {
|
|
1001
1001
|
enumerable: true,
|
|
1002
|
-
get: function () { return
|
|
1002
|
+
get: function () { return chunkMSKLEJXP_cjs.createThreadNetworkQuerySchema; }
|
|
1003
1003
|
});
|
|
1004
1004
|
Object.defineProperty(exports, "deleteMessagesBodySchema", {
|
|
1005
1005
|
enumerable: true,
|
|
1006
|
-
get: function () { return
|
|
1006
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteMessagesBodySchema; }
|
|
1007
1007
|
});
|
|
1008
1008
|
Object.defineProperty(exports, "deleteMessagesNetworkQuerySchema", {
|
|
1009
1009
|
enumerable: true,
|
|
1010
|
-
get: function () { return
|
|
1010
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteMessagesNetworkQuerySchema; }
|
|
1011
1011
|
});
|
|
1012
1012
|
Object.defineProperty(exports, "deleteMessagesQuerySchema", {
|
|
1013
1013
|
enumerable: true,
|
|
1014
|
-
get: function () { return
|
|
1014
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteMessagesQuerySchema; }
|
|
1015
1015
|
});
|
|
1016
1016
|
Object.defineProperty(exports, "deleteMessagesResponseSchema", {
|
|
1017
1017
|
enumerable: true,
|
|
1018
|
-
get: function () { return
|
|
1018
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteMessagesResponseSchema; }
|
|
1019
1019
|
});
|
|
1020
1020
|
Object.defineProperty(exports, "deleteThreadNetworkQuerySchema", {
|
|
1021
1021
|
enumerable: true,
|
|
1022
|
-
get: function () { return
|
|
1022
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteThreadNetworkQuerySchema; }
|
|
1023
1023
|
});
|
|
1024
1024
|
Object.defineProperty(exports, "deleteThreadQuerySchema", {
|
|
1025
1025
|
enumerable: true,
|
|
1026
|
-
get: function () { return
|
|
1026
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteThreadQuerySchema; }
|
|
1027
1027
|
});
|
|
1028
1028
|
Object.defineProperty(exports, "deleteThreadResponseSchema", {
|
|
1029
1029
|
enumerable: true,
|
|
1030
|
-
get: function () { return
|
|
1030
|
+
get: function () { return chunkMSKLEJXP_cjs.deleteThreadResponseSchema; }
|
|
1031
1031
|
});
|
|
1032
1032
|
Object.defineProperty(exports, "getMemoryConfigQuerySchema", {
|
|
1033
1033
|
enumerable: true,
|
|
1034
|
-
get: function () { return
|
|
1034
|
+
get: function () { return chunkMSKLEJXP_cjs.getMemoryConfigQuerySchema; }
|
|
1035
1035
|
});
|
|
1036
1036
|
Object.defineProperty(exports, "getMemoryStatusNetworkQuerySchema", {
|
|
1037
1037
|
enumerable: true,
|
|
1038
|
-
get: function () { return
|
|
1038
|
+
get: function () { return chunkMSKLEJXP_cjs.getMemoryStatusNetworkQuerySchema; }
|
|
1039
1039
|
});
|
|
1040
1040
|
Object.defineProperty(exports, "getMemoryStatusQuerySchema", {
|
|
1041
1041
|
enumerable: true,
|
|
1042
|
-
get: function () { return
|
|
1042
|
+
get: function () { return chunkMSKLEJXP_cjs.getMemoryStatusQuerySchema; }
|
|
1043
1043
|
});
|
|
1044
1044
|
Object.defineProperty(exports, "getObservationalMemoryQuerySchema", {
|
|
1045
1045
|
enumerable: true,
|
|
1046
|
-
get: function () { return
|
|
1046
|
+
get: function () { return chunkMSKLEJXP_cjs.getObservationalMemoryQuerySchema; }
|
|
1047
1047
|
});
|
|
1048
1048
|
Object.defineProperty(exports, "getObservationalMemoryResponseSchema", {
|
|
1049
1049
|
enumerable: true,
|
|
1050
|
-
get: function () { return
|
|
1050
|
+
get: function () { return chunkMSKLEJXP_cjs.getObservationalMemoryResponseSchema; }
|
|
1051
1051
|
});
|
|
1052
1052
|
Object.defineProperty(exports, "getThreadByIdNetworkQuerySchema", {
|
|
1053
1053
|
enumerable: true,
|
|
1054
|
-
get: function () { return
|
|
1054
|
+
get: function () { return chunkMSKLEJXP_cjs.getThreadByIdNetworkQuerySchema; }
|
|
1055
1055
|
});
|
|
1056
1056
|
Object.defineProperty(exports, "getThreadByIdQuerySchema", {
|
|
1057
1057
|
enumerable: true,
|
|
1058
|
-
get: function () { return
|
|
1058
|
+
get: function () { return chunkMSKLEJXP_cjs.getThreadByIdQuerySchema; }
|
|
1059
1059
|
});
|
|
1060
1060
|
Object.defineProperty(exports, "getThreadByIdResponseSchema", {
|
|
1061
1061
|
enumerable: true,
|
|
1062
|
-
get: function () { return
|
|
1062
|
+
get: function () { return chunkMSKLEJXP_cjs.getThreadByIdResponseSchema; }
|
|
1063
1063
|
});
|
|
1064
1064
|
Object.defineProperty(exports, "getWorkingMemoryQuerySchema", {
|
|
1065
1065
|
enumerable: true,
|
|
1066
|
-
get: function () { return
|
|
1066
|
+
get: function () { return chunkMSKLEJXP_cjs.getWorkingMemoryQuerySchema; }
|
|
1067
1067
|
});
|
|
1068
1068
|
Object.defineProperty(exports, "getWorkingMemoryResponseSchema", {
|
|
1069
1069
|
enumerable: true,
|
|
1070
|
-
get: function () { return
|
|
1070
|
+
get: function () { return chunkMSKLEJXP_cjs.getWorkingMemoryResponseSchema; }
|
|
1071
1071
|
});
|
|
1072
1072
|
Object.defineProperty(exports, "listMessagesNetworkQuerySchema", {
|
|
1073
1073
|
enumerable: true,
|
|
1074
|
-
get: function () { return
|
|
1074
|
+
get: function () { return chunkMSKLEJXP_cjs.listMessagesNetworkQuerySchema; }
|
|
1075
1075
|
});
|
|
1076
1076
|
Object.defineProperty(exports, "listMessagesQuerySchema", {
|
|
1077
1077
|
enumerable: true,
|
|
1078
|
-
get: function () { return
|
|
1078
|
+
get: function () { return chunkMSKLEJXP_cjs.listMessagesQuerySchema; }
|
|
1079
1079
|
});
|
|
1080
1080
|
Object.defineProperty(exports, "listMessagesResponseSchema", {
|
|
1081
1081
|
enumerable: true,
|
|
1082
|
-
get: function () { return
|
|
1082
|
+
get: function () { return chunkMSKLEJXP_cjs.listMessagesResponseSchema; }
|
|
1083
1083
|
});
|
|
1084
1084
|
Object.defineProperty(exports, "listThreadsNetworkQuerySchema", {
|
|
1085
1085
|
enumerable: true,
|
|
1086
|
-
get: function () { return
|
|
1086
|
+
get: function () { return chunkMSKLEJXP_cjs.listThreadsNetworkQuerySchema; }
|
|
1087
1087
|
});
|
|
1088
1088
|
Object.defineProperty(exports, "listThreadsQuerySchema", {
|
|
1089
1089
|
enumerable: true,
|
|
1090
|
-
get: function () { return
|
|
1090
|
+
get: function () { return chunkMSKLEJXP_cjs.listThreadsQuerySchema; }
|
|
1091
1091
|
});
|
|
1092
1092
|
Object.defineProperty(exports, "listThreadsResponseSchema", {
|
|
1093
1093
|
enumerable: true,
|
|
1094
|
-
get: function () { return
|
|
1094
|
+
get: function () { return chunkMSKLEJXP_cjs.listThreadsResponseSchema; }
|
|
1095
1095
|
});
|
|
1096
1096
|
Object.defineProperty(exports, "memoryConfigResponseSchema", {
|
|
1097
1097
|
enumerable: true,
|
|
1098
|
-
get: function () { return
|
|
1098
|
+
get: function () { return chunkMSKLEJXP_cjs.memoryConfigResponseSchema; }
|
|
1099
1099
|
});
|
|
1100
1100
|
Object.defineProperty(exports, "memoryStatusResponseSchema", {
|
|
1101
1101
|
enumerable: true,
|
|
1102
|
-
get: function () { return
|
|
1102
|
+
get: function () { return chunkMSKLEJXP_cjs.memoryStatusResponseSchema; }
|
|
1103
1103
|
});
|
|
1104
1104
|
Object.defineProperty(exports, "optionalAgentIdQuerySchema", {
|
|
1105
1105
|
enumerable: true,
|
|
1106
|
-
get: function () { return
|
|
1106
|
+
get: function () { return chunkMSKLEJXP_cjs.optionalAgentIdQuerySchema; }
|
|
1107
1107
|
});
|
|
1108
1108
|
Object.defineProperty(exports, "saveMessagesBodySchema", {
|
|
1109
1109
|
enumerable: true,
|
|
1110
|
-
get: function () { return
|
|
1110
|
+
get: function () { return chunkMSKLEJXP_cjs.saveMessagesBodySchema; }
|
|
1111
1111
|
});
|
|
1112
1112
|
Object.defineProperty(exports, "saveMessagesNetworkQuerySchema", {
|
|
1113
1113
|
enumerable: true,
|
|
1114
|
-
get: function () { return
|
|
1114
|
+
get: function () { return chunkMSKLEJXP_cjs.saveMessagesNetworkQuerySchema; }
|
|
1115
1115
|
});
|
|
1116
1116
|
Object.defineProperty(exports, "saveMessagesResponseSchema", {
|
|
1117
1117
|
enumerable: true,
|
|
1118
|
-
get: function () { return
|
|
1118
|
+
get: function () { return chunkMSKLEJXP_cjs.saveMessagesResponseSchema; }
|
|
1119
1119
|
});
|
|
1120
1120
|
Object.defineProperty(exports, "searchMemoryQuerySchema", {
|
|
1121
1121
|
enumerable: true,
|
|
1122
|
-
get: function () { return
|
|
1122
|
+
get: function () { return chunkMSKLEJXP_cjs.searchMemoryQuerySchema; }
|
|
1123
1123
|
});
|
|
1124
1124
|
Object.defineProperty(exports, "searchMemoryResponseSchema", {
|
|
1125
1125
|
enumerable: true,
|
|
1126
|
-
get: function () { return
|
|
1126
|
+
get: function () { return chunkMSKLEJXP_cjs.searchMemoryResponseSchema; }
|
|
1127
1127
|
});
|
|
1128
1128
|
Object.defineProperty(exports, "threadIdPathParams", {
|
|
1129
1129
|
enumerable: true,
|
|
1130
|
-
get: function () { return
|
|
1130
|
+
get: function () { return chunkMSKLEJXP_cjs.threadIdPathParams; }
|
|
1131
1131
|
});
|
|
1132
1132
|
Object.defineProperty(exports, "updateThreadBodySchema", {
|
|
1133
1133
|
enumerable: true,
|
|
1134
|
-
get: function () { return
|
|
1134
|
+
get: function () { return chunkMSKLEJXP_cjs.updateThreadBodySchema; }
|
|
1135
1135
|
});
|
|
1136
1136
|
Object.defineProperty(exports, "updateThreadNetworkQuerySchema", {
|
|
1137
1137
|
enumerable: true,
|
|
1138
|
-
get: function () { return
|
|
1138
|
+
get: function () { return chunkMSKLEJXP_cjs.updateThreadNetworkQuerySchema; }
|
|
1139
1139
|
});
|
|
1140
1140
|
Object.defineProperty(exports, "updateWorkingMemoryBodySchema", {
|
|
1141
1141
|
enumerable: true,
|
|
1142
|
-
get: function () { return
|
|
1142
|
+
get: function () { return chunkMSKLEJXP_cjs.updateWorkingMemoryBodySchema; }
|
|
1143
1143
|
});
|
|
1144
1144
|
Object.defineProperty(exports, "updateWorkingMemoryResponseSchema", {
|
|
1145
1145
|
enumerable: true,
|
|
1146
|
-
get: function () { return
|
|
1146
|
+
get: function () { return chunkMSKLEJXP_cjs.updateWorkingMemoryResponseSchema; }
|
|
1147
1147
|
});
|
|
1148
1148
|
Object.defineProperty(exports, "listLogTransportsResponseSchema", {
|
|
1149
1149
|
enumerable: true,
|
|
@@ -15,9 +15,9 @@ export { activateVersionResponseSchema, compareVersionsQuerySchema, createCompar
|
|
|
15
15
|
export { createIndexBodySchema, createIndexResponseSchema, deleteIndexResponseSchema, describeIndexResponseSchema, listEmbeddersResponseSchema, listIndexesResponseSchema, listVectorsResponseSchema, queryVectorsBodySchema, queryVectorsResponseSchema, upsertVectorsBodySchema, upsertVectorsResponseSchema, vectorIndexPathParams, vectorNamePathParams } from '../../chunk-MTIYMK4E.js';
|
|
16
16
|
export { entityPathParams, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, saveScoreBodySchema, saveScoreResponseSchema, scorerEntrySchema, scorerIdPathParams, scoresWithPaginationResponseSchema } from '../../chunk-BZUNERBP.js';
|
|
17
17
|
export { getMcpServerDetailQuerySchema, jsonRpcErrorSchema, listMcpServerToolsResponseSchema, listMcpServersQuerySchema, listMcpServersResponseSchema, executeToolBodySchema as mcpExecuteToolBodySchema, executeToolResponseSchema as mcpExecuteToolResponseSchema, mcpServerDetailPathParams, mcpServerIdPathParams, mcpServerToolPathParams, mcpToolInfoSchema, serverDetailSchema, serverInfoSchema, versionDetailSchema } from '../../chunk-3W4W6HXP.js';
|
|
18
|
-
export { conversationDeletedSchema, conversationIdPathParams, conversationItemsListSchema, conversationObjectSchema, createConversationBodySchema } from '../../chunk-
|
|
18
|
+
export { conversationDeletedSchema, conversationIdPathParams, conversationItemsListSchema, conversationObjectSchema, createConversationBodySchema } from '../../chunk-IJFVB7CZ.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';
|
|
20
|
-
export { agentIdQuerySchema, awaitBufferStatusBodySchema, awaitBufferStatusResponseSchema, cloneThreadBodySchema, cloneThreadResponseSchema, createThreadBodySchema, createThreadNetworkQuerySchema, deleteMessagesBodySchema, deleteMessagesNetworkQuerySchema, deleteMessagesQuerySchema, deleteMessagesResponseSchema, deleteThreadNetworkQuerySchema, deleteThreadQuerySchema, deleteThreadResponseSchema, getMemoryConfigQuerySchema, getMemoryStatusNetworkQuerySchema, getMemoryStatusQuerySchema, getObservationalMemoryQuerySchema, getObservationalMemoryResponseSchema, getThreadByIdNetworkQuerySchema, getThreadByIdQuerySchema, getThreadByIdResponseSchema, getWorkingMemoryQuerySchema, getWorkingMemoryResponseSchema, listMessagesNetworkQuerySchema, listMessagesQuerySchema, listMessagesResponseSchema, listThreadsNetworkQuerySchema, listThreadsQuerySchema, listThreadsResponseSchema, memoryConfigResponseSchema, memoryStatusResponseSchema, optionalAgentIdQuerySchema, saveMessagesBodySchema, saveMessagesNetworkQuerySchema, saveMessagesResponseSchema, searchMemoryQuerySchema, searchMemoryResponseSchema, threadIdPathParams, updateThreadBodySchema, updateThreadNetworkQuerySchema, updateWorkingMemoryBodySchema, updateWorkingMemoryResponseSchema } from '../../chunk-
|
|
20
|
+
export { agentIdQuerySchema, awaitBufferStatusBodySchema, awaitBufferStatusResponseSchema, cloneThreadBodySchema, cloneThreadResponseSchema, createThreadBodySchema, createThreadNetworkQuerySchema, deleteMessagesBodySchema, deleteMessagesNetworkQuerySchema, deleteMessagesQuerySchema, deleteMessagesResponseSchema, deleteThreadNetworkQuerySchema, deleteThreadQuerySchema, deleteThreadResponseSchema, getMemoryConfigQuerySchema, getMemoryStatusNetworkQuerySchema, getMemoryStatusQuerySchema, getObservationalMemoryQuerySchema, getObservationalMemoryResponseSchema, getThreadByIdNetworkQuerySchema, getThreadByIdQuerySchema, getThreadByIdResponseSchema, getWorkingMemoryQuerySchema, getWorkingMemoryResponseSchema, listMessagesNetworkQuerySchema, listMessagesQuerySchema, listMessagesResponseSchema, listThreadsNetworkQuerySchema, listThreadsQuerySchema, listThreadsResponseSchema, memoryConfigResponseSchema, memoryStatusResponseSchema, optionalAgentIdQuerySchema, saveMessagesBodySchema, saveMessagesNetworkQuerySchema, saveMessagesResponseSchema, searchMemoryQuerySchema, searchMemoryResponseSchema, threadIdPathParams, updateThreadBodySchema, updateThreadNetworkQuerySchema, updateWorkingMemoryBodySchema, updateWorkingMemoryResponseSchema } from '../../chunk-A2VLKDT3.js';
|
|
21
21
|
export { listLogTransportsResponseSchema, listLogsQuerySchema, listLogsResponseSchema } from '../../chunk-QJ4B3W64.js';
|
|
22
22
|
export { agentExecutionBodySchema as a2aAgentExecutionBodySchema, a2aAgentIdPathParams, a2aTaskPathParams, agentCardResponseSchema, agentExecutionResponseSchema, messageSendBodySchema, taskQueryBodySchema, taskResponseSchema } from '../../chunk-J62MSX2P.js';
|
|
23
23
|
export { conditionalFieldSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, deleteStoredAgentResponseSchema, exportStoredAgentBodySchema, exportStoredAgentResponseSchema, getStoredAgentDependentsResponseSchema, getStoredAgentResponseSchema, instructionsSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, modelConfigSchema, openStoredAgentChangeRequestBodySchema, openStoredAgentChangeRequestResponseSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorGraphEntrySchema, processorGraphStepSchema, processorPhaseSchema, resolvedAuthorSchema, scorerConfigSchema, semanticRecallSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedReflectionConfigSchema, snapshotConfigSchema, storedAgentIdPathParams, storedAgentSchema, storedProcessorGraphSchema, titleGenerationSchema, toolConfigSchema, toolsConfigSchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema } from '../../chunk-HCCTSODR.js';
|
|
@@ -116,6 +116,7 @@ export declare const listMessagesQuerySchema: z.ZodObject<{
|
|
|
116
116
|
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
117
117
|
}, z.core.$strip>>;
|
|
118
118
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
119
120
|
}, z.core.$strip>>>;
|
|
120
121
|
includeSystemReminders: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
|
|
121
122
|
}, z.core.$strip> | z.ZodObject<{
|
|
@@ -146,6 +147,7 @@ export declare const listMessagesQuerySchema: z.ZodObject<{
|
|
|
146
147
|
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
147
148
|
}, z.core.$strip>>;
|
|
148
149
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
150
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
149
151
|
}, z.core.$strip>>>;
|
|
150
152
|
includeSystemReminders: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
|
|
151
153
|
}, z.core.$strip>;
|
|
@@ -261,6 +263,7 @@ export declare const listMessagesNetworkQuerySchema: z.ZodObject<{
|
|
|
261
263
|
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
262
264
|
}, z.core.$strip>>;
|
|
263
265
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
266
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
264
267
|
}, z.core.$strip>>>;
|
|
265
268
|
}, z.core.$strip> | z.ZodObject<{
|
|
266
269
|
perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -290,6 +293,7 @@ export declare const listMessagesNetworkQuerySchema: z.ZodObject<{
|
|
|
290
293
|
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
291
294
|
}, z.core.$strip>>;
|
|
292
295
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
296
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
293
297
|
}, z.core.$strip>>>;
|
|
294
298
|
}, z.core.$strip>;
|
|
295
299
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;AAuLH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;iBAGrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B;;iBAAqB,CAAC;AAgC7D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqBJ,CAAC;AAEhC;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;iBAEnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAclC,CAAC;AAEH;;GAEG;AACH,eAAO,MAA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js');
|
|
5
5
|
var chunkEVOVAWN6_cjs = require('../../chunk-EVOVAWN6.cjs');
|
|
6
6
|
var chunkVK4EOZXR_cjs = require('../../chunk-VK4EOZXR.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 = chunkQTCWFBJ2_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 [chunkQTCWFBJ2_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 = chunkQTCWFBJ2_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 = [...chunkQTCWFBJ2_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);
|
|
@@ -881,7 +881,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
881
881
|
* Builds the OpenAPI spec object with servers field and custom route paths.
|
|
882
882
|
*/
|
|
883
883
|
buildOpenAPISpec(config, prefix) {
|
|
884
|
-
const openApiSpec = chunkRTTQ6WVP_cjs.generateOpenAPIDocument(
|
|
884
|
+
const openApiSpec = chunkRTTQ6WVP_cjs.generateOpenAPIDocument(chunkQTCWFBJ2_cjs.SERVER_ROUTES, config);
|
|
885
885
|
if (prefix) {
|
|
886
886
|
openApiSpec.servers = [{ url: prefix }];
|
|
887
887
|
}
|
|
@@ -916,7 +916,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
916
916
|
await this.registerRoute(app, openApiRoute, { prefix });
|
|
917
917
|
}
|
|
918
918
|
async registerRoutes() {
|
|
919
|
-
for (const route of
|
|
919
|
+
for (const route of chunkQTCWFBJ2_cjs.SERVER_ROUTES) {
|
|
920
920
|
await this.registerRoute(this.app, route, { prefix: this.prefix });
|
|
921
921
|
}
|
|
922
922
|
if (this.openapiPath) {
|
|
@@ -1005,7 +1005,7 @@ async function checkRouteFGA(mastra, route, requestContext, params) {
|
|
|
1005
1005
|
message: "FGA authorization denied: route FGA metadata is incomplete"
|
|
1006
1006
|
};
|
|
1007
1007
|
}
|
|
1008
|
-
const effectivePermission = route.path ?
|
|
1008
|
+
const effectivePermission = route.path ? chunkQTCWFBJ2_cjs.getEffectivePermission(route) : null;
|
|
1009
1009
|
const permission = fgaConfig.permission || effectivePermission || `${getFGAResourcePermissionSlug(fgaConfig.resourceType)}:${deriveFGAAction(route.method)}`;
|
|
1010
1010
|
const authorized = await fgaProvider.check(user, {
|
|
1011
1011
|
resource: { type: fgaConfig.resourceType, id: resourceId },
|
|
@@ -1047,23 +1047,23 @@ function getFGAResourcePermissionSlug(resourceType) {
|
|
|
1047
1047
|
|
|
1048
1048
|
Object.defineProperty(exports, "SERVER_ROUTES", {
|
|
1049
1049
|
enumerable: true,
|
|
1050
|
-
get: function () { return
|
|
1050
|
+
get: function () { return chunkQTCWFBJ2_cjs.SERVER_ROUTES; }
|
|
1051
1051
|
});
|
|
1052
1052
|
Object.defineProperty(exports, "deriveAction", {
|
|
1053
1053
|
enumerable: true,
|
|
1054
|
-
get: function () { return
|
|
1054
|
+
get: function () { return chunkQTCWFBJ2_cjs.deriveAction; }
|
|
1055
1055
|
});
|
|
1056
1056
|
Object.defineProperty(exports, "derivePermission", {
|
|
1057
1057
|
enumerable: true,
|
|
1058
|
-
get: function () { return
|
|
1058
|
+
get: function () { return chunkQTCWFBJ2_cjs.derivePermission; }
|
|
1059
1059
|
});
|
|
1060
1060
|
Object.defineProperty(exports, "extractResource", {
|
|
1061
1061
|
enumerable: true,
|
|
1062
|
-
get: function () { return
|
|
1062
|
+
get: function () { return chunkQTCWFBJ2_cjs.extractResource; }
|
|
1063
1063
|
});
|
|
1064
1064
|
Object.defineProperty(exports, "getEffectivePermission", {
|
|
1065
1065
|
enumerable: true,
|
|
1066
|
-
get: function () { return
|
|
1066
|
+
get: function () { return chunkQTCWFBJ2_cjs.getEffectivePermission; }
|
|
1067
1067
|
});
|
|
1068
1068
|
Object.defineProperty(exports, "WorkflowRegistry", {
|
|
1069
1069
|
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-CMO4UPNO.js';
|
|
2
|
+
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-CMO4UPNO.js';
|
|
3
3
|
import { coreAuthMiddleware } from '../../chunk-RVTLB72J.js';
|
|
4
4
|
import { normalizeRoutePath } from '../../chunk-4GWTCVFL.js';
|
|
5
5
|
export { WorkflowRegistry, normalizeRoutePath } from '../../chunk-4GWTCVFL.js';
|
|
@@ -551,6 +551,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
551
551
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
552
552
|
}, import("zod/v4/core").$strip>>;
|
|
553
553
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
554
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
554
555
|
}, import("zod/v4/core").$strip>>>;
|
|
555
556
|
includeSystemReminders: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodBoolean>>;
|
|
556
557
|
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
|
|
@@ -581,6 +582,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
581
582
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
582
583
|
}, import("zod/v4/core").$strip>>;
|
|
583
584
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
585
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
584
586
|
}, import("zod/v4/core").$strip>>>;
|
|
585
587
|
includeSystemReminders: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodBoolean>>;
|
|
586
588
|
}, import("zod/v4/core").$strip>, undefined>, {
|
|
@@ -616,6 +618,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
616
618
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
617
619
|
}, import("zod/v4/core").$strip>>;
|
|
618
620
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
621
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
619
622
|
}, import("zod/v4/core").$strip>>>;
|
|
620
623
|
includeSystemReminders: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodBoolean>>;
|
|
621
624
|
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
|
|
@@ -646,6 +649,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
646
649
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
647
650
|
}, import("zod/v4/core").$strip>>;
|
|
648
651
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
652
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
649
653
|
}, import("zod/v4/core").$strip>>>;
|
|
650
654
|
includeSystemReminders: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodBoolean>>;
|
|
651
655
|
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
@@ -1061,6 +1065,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
1061
1065
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1062
1066
|
}, import("zod/v4/core").$strip>>;
|
|
1063
1067
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1068
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
1064
1069
|
}, import("zod/v4/core").$strip>>>;
|
|
1065
1070
|
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
|
|
1066
1071
|
perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
@@ -1090,6 +1095,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
1090
1095
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1091
1096
|
}, import("zod/v4/core").$strip>>;
|
|
1092
1097
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1098
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
1093
1099
|
}, import("zod/v4/core").$strip>>>;
|
|
1094
1100
|
}, import("zod/v4/core").$strip>, undefined>, {
|
|
1095
1101
|
messages: unknown[];
|
|
@@ -1124,6 +1130,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
1124
1130
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1125
1131
|
}, import("zod/v4/core").$strip>>;
|
|
1126
1132
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1133
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
1127
1134
|
}, import("zod/v4/core").$strip>>>;
|
|
1128
1135
|
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
|
|
1129
1136
|
perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
@@ -1153,6 +1160,7 @@ export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
|
|
|
1153
1160
|
endExclusive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1154
1161
|
}, import("zod/v4/core").$strip>>;
|
|
1155
1162
|
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1163
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
1156
1164
|
}, import("zod/v4/core").$strip>>>;
|
|
1157
1165
|
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
1158
1166
|
messages: import("zod").ZodArray<import("zod").ZodUnknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/memory.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/memory.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
117
117
|
"zod": "^4.4.3",
|
|
118
118
|
"zod-to-ts": "^2.1.0",
|
|
119
|
-
"@internal/lint": "0.0.
|
|
120
|
-
"@internal/storage-test-utils": "0.0.
|
|
121
|
-
"@internal/test-utils": "0.0.
|
|
119
|
+
"@internal/lint": "0.0.117",
|
|
120
|
+
"@internal/storage-test-utils": "0.0.113",
|
|
121
|
+
"@internal/test-utils": "0.0.53",
|
|
122
122
|
"@internal/core": "0.1.0",
|
|
123
|
-
"@internal/
|
|
123
|
+
"@internal/voice": "0.0.17",
|
|
124
124
|
"@mastra/agent-builder": "1.1.7",
|
|
125
|
-
"@
|
|
126
|
-
"@
|
|
127
|
-
"@mastra/
|
|
125
|
+
"@internal/types-builder": "0.0.92",
|
|
126
|
+
"@mastra/schema-compat": "1.3.4",
|
|
127
|
+
"@mastra/core": "1.53.0"
|
|
128
128
|
},
|
|
129
129
|
"homepage": "https://mastra.ai",
|
|
130
130
|
"repository": {
|