@mastra/deployer 0.1.0-alpha.60 → 0.1.0-alpha.61
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 +6 -0
- package/dist/index.js +1 -1
- package/dist/server/index.js +2 -3
- package/package.json +1 -1
- package/src/server/handlers/agents.ts +2 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Bundler } from './chunk-XSSW3PB4.js';
|
|
1
2
|
import { FileService } from './chunk-I7EFK2FV.js';
|
|
2
3
|
export { FileService, getBundler, getWatcher } from './chunk-I7EFK2FV.js';
|
|
3
|
-
import { Bundler } from './chunk-XSSW3PB4.js';
|
|
4
4
|
import { Deps } from './chunk-Q3WKR6OZ.js';
|
|
5
5
|
export { Deps, createChildProcessLogger, createPinoStream } from './chunk-Q3WKR6OZ.js';
|
|
6
6
|
import './chunk-ERNQNTBH.js';
|
package/dist/server/index.js
CHANGED
|
@@ -14,7 +14,6 @@ import { readFile } from 'fs/promises';
|
|
|
14
14
|
import { bodyLimit } from 'hono/body-limit';
|
|
15
15
|
import { cors } from 'hono/cors';
|
|
16
16
|
import { logger } from 'hono/logger';
|
|
17
|
-
import '@mastra/core/storage';
|
|
18
17
|
import { z, ZodFirstPartyTypeKind, ZodOptional } from 'zod';
|
|
19
18
|
import { Agent } from '@mastra/core/agent';
|
|
20
19
|
|
|
@@ -2857,7 +2856,7 @@ async function getEvalsByAgentIdHandler(c2) {
|
|
|
2857
2856
|
evals
|
|
2858
2857
|
});
|
|
2859
2858
|
} catch (error) {
|
|
2860
|
-
return handleError(error, "Error getting evals");
|
|
2859
|
+
return handleError(error, "Error getting test evals");
|
|
2861
2860
|
}
|
|
2862
2861
|
}
|
|
2863
2862
|
async function getLiveEvalsByAgentIdHandler(c2) {
|
|
@@ -2873,7 +2872,7 @@ async function getLiveEvalsByAgentIdHandler(c2) {
|
|
|
2873
2872
|
evals
|
|
2874
2873
|
});
|
|
2875
2874
|
} catch (error) {
|
|
2876
|
-
return handleError(error, "Error getting evals");
|
|
2875
|
+
return handleError(error, "Error getting live evals");
|
|
2877
2876
|
}
|
|
2878
2877
|
}
|
|
2879
2878
|
async function generateHandler(c2) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Mastra } from '@mastra/core';
|
|
2
|
-
import { type EvalRow } from '@mastra/core/storage';
|
|
3
2
|
import type { Context } from 'hono';
|
|
4
3
|
import { stringify } from 'superjson';
|
|
5
4
|
import zodToJsonSchema from 'zod-to-json-schema';
|
|
@@ -87,7 +86,7 @@ export async function getEvalsByAgentIdHandler(c: Context) {
|
|
|
87
86
|
evals,
|
|
88
87
|
});
|
|
89
88
|
} catch (error) {
|
|
90
|
-
return handleError(error, 'Error getting evals');
|
|
89
|
+
return handleError(error, 'Error getting test evals');
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
|
|
@@ -105,7 +104,7 @@ export async function getLiveEvalsByAgentIdHandler(c: Context) {
|
|
|
105
104
|
evals,
|
|
106
105
|
});
|
|
107
106
|
} catch (error) {
|
|
108
|
-
return handleError(error, 'Error getting evals');
|
|
107
|
+
return handleError(error, 'Error getting live evals');
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
|