create-mastra 0.0.0-fix-multi-modal-for-cloud-20251028082043 → 0.0.0-fix-persist-session-cache-option-mcp-server-20251030161352
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 +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/templates/dev.entry.js +1 -44
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1095,11 +1095,11 @@ var MastraLogger = class {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
trackException(_error) {
|
|
1097
1097
|
}
|
|
1098
|
-
async
|
|
1098
|
+
async listLogs(transportId, params) {
|
|
1099
1099
|
if (!transportId || !this.transports.has(transportId)) {
|
|
1100
1100
|
return { logs: [], total: 0, page: params?.page ?? 1, perPage: params?.perPage ?? 100, hasMore: false };
|
|
1101
1101
|
}
|
|
1102
|
-
return this.transports.get(transportId).
|
|
1102
|
+
return this.transports.get(transportId).listLogs(params) ?? {
|
|
1103
1103
|
logs: [],
|
|
1104
1104
|
total: 0,
|
|
1105
1105
|
page: params?.page ?? 1,
|
|
@@ -1107,7 +1107,7 @@ var MastraLogger = class {
|
|
|
1107
1107
|
hasMore: false
|
|
1108
1108
|
};
|
|
1109
1109
|
}
|
|
1110
|
-
async
|
|
1110
|
+
async listLogsByRunId({
|
|
1111
1111
|
transportId,
|
|
1112
1112
|
runId,
|
|
1113
1113
|
fromDate,
|
|
@@ -1120,7 +1120,7 @@ var MastraLogger = class {
|
|
|
1120
1120
|
if (!transportId || !this.transports.has(transportId) || !runId) {
|
|
1121
1121
|
return { logs: [], total: 0, page: page ?? 1, perPage: perPage ?? 100, hasMore: false };
|
|
1122
1122
|
}
|
|
1123
|
-
return this.transports.get(transportId).
|
|
1123
|
+
return this.transports.get(transportId).listLogsByRunId({ runId, fromDate, toDate, logLevel, filters, page, perPage }) ?? {
|
|
1124
1124
|
logs: [],
|
|
1125
1125
|
total: 0,
|
|
1126
1126
|
page: page ?? 1,
|