@mastra/deployer 0.2.10-alpha.2 → 0.3.0-alpha.4
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/dist/server/index.cjs +2 -2
- package/dist/server/index.js +2 -2
- package/package.json +3 -3
package/dist/server/index.cjs
CHANGED
|
@@ -1223,8 +1223,8 @@ async function generateSystemPromptHandler(c2) {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
let evalSummary = "";
|
|
1225
1225
|
try {
|
|
1226
|
-
const testEvals = await mastra.
|
|
1227
|
-
const liveEvals = await mastra.
|
|
1226
|
+
const testEvals = await mastra.getStorage()?.getEvalsByAgentName?.(agent$1.name, "test") || [];
|
|
1227
|
+
const liveEvals = await mastra.getStorage()?.getEvalsByAgentName?.(agent$1.name, "live") || [];
|
|
1228
1228
|
const evalsMapped = [...testEvals, ...liveEvals].filter(
|
|
1229
1229
|
({ instructions: evalInstructions }) => evalInstructions === instructions
|
|
1230
1230
|
);
|
package/dist/server/index.js
CHANGED
|
@@ -1217,8 +1217,8 @@ async function generateSystemPromptHandler(c2) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
let evalSummary = "";
|
|
1219
1219
|
try {
|
|
1220
|
-
const testEvals = await mastra.
|
|
1221
|
-
const liveEvals = await mastra.
|
|
1220
|
+
const testEvals = await mastra.getStorage()?.getEvalsByAgentName?.(agent.name, "test") || [];
|
|
1221
|
+
const liveEvals = await mastra.getStorage()?.getEvalsByAgentName?.(agent.name, "live") || [];
|
|
1222
1222
|
const evalsMapped = [...testEvals, ...liveEvals].filter(
|
|
1223
1223
|
({ instructions: evalInstructions }) => evalInstructions === instructions
|
|
1224
1224
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"rollup-plugin-node-externals": "^8.0.0",
|
|
106
106
|
"typescript-paths": "^1.5.1",
|
|
107
107
|
"zod": "^3.24.2",
|
|
108
|
-
"@mastra/core": "^0.
|
|
109
|
-
"@mastra/server": "^
|
|
108
|
+
"@mastra/core": "^0.9.0-alpha.3",
|
|
109
|
+
"@mastra/server": "^2.0.0-alpha.3"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@hono/node-server": "^1.13.8",
|