@mastra/server 1.68.0-alpha.10 → 1.68.0-alpha.11
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/_types/@internal_core/dist/storage/index.d.ts +2 -0
- package/dist/{api-schema-manifest-BUEINaAC.js → api-schema-manifest-DRBrp4e0.js} +2 -2
- package/dist/{api-schema-manifest-BUEINaAC.js.map → api-schema-manifest-DRBrp4e0.js.map} +1 -1
- package/dist/{api-schema-manifest-Byk_S1Xu.cjs → api-schema-manifest-hEcC_Jev.cjs} +2 -2
- package/dist/{api-schema-manifest-Byk_S1Xu.cjs.map → api-schema-manifest-hEcC_Jev.cjs.map} +1 -1
- package/dist/{datasets-DOZwJ68z.cjs → datasets-DNNuDeQ2.cjs} +36 -10
- package/dist/datasets-DNNuDeQ2.cjs.map +1 -0
- package/dist/{datasets-DfMv5GX5.js → datasets-L8o0f3nY.js} +36 -10
- package/dist/datasets-L8o0f3nY.js.map +1 -0
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-observability-tracing-trace-query.md +78 -8
- package/dist/{observability-new-endpoints-BUC8-mAb.cjs → observability-new-endpoints-CDrOjmJw.cjs} +26 -4
- package/dist/observability-new-endpoints-CDrOjmJw.cjs.map +1 -0
- package/dist/{observability-new-endpoints-CZyppvEy.js → observability-new-endpoints-CWfdrnzJ.js} +27 -5
- package/dist/observability-new-endpoints-CWfdrnzJ.js.map +1 -0
- package/dist/{routes-BGhq6AWK.cjs → routes-C_j75KdR.cjs} +2 -2
- package/dist/{routes-BGhq6AWK.cjs.map → routes-C_j75KdR.cjs.map} +1 -1
- package/dist/{routes-Bakqf-F5.js → routes-DOL9nlPr.js} +2 -2
- package/dist/{routes-Bakqf-F5.js.map → routes-DOL9nlPr.js.map} +1 -1
- package/dist/server/handlers/auth.cjs +1 -4
- package/dist/server/handlers/auth.cjs.map +1 -1
- package/dist/server/handlers/auth.d.ts.map +1 -1
- package/dist/server/handlers/auth.js +1 -4
- package/dist/server/handlers/auth.js.map +1 -1
- package/dist/server/handlers/datasets.cjs +15 -10
- package/dist/server/handlers/datasets.cjs.map +1 -1
- package/dist/server/handlers/datasets.d.ts +204 -0
- package/dist/server/handlers/datasets.d.ts.map +1 -1
- package/dist/server/handlers/datasets.js +15 -10
- package/dist/server/handlers/datasets.js.map +1 -1
- package/dist/server/handlers/mcp-client-versions.cjs +1 -1
- package/dist/server/handlers/mcp-client-versions.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +1 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +118 -0
- package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability.cjs +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/prompt-block-versions.cjs +1 -1
- package/dist/server/handlers/prompt-block-versions.js +1 -1
- package/dist/server/handlers/scorer-versions.cjs +1 -1
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-mcp-clients.cjs +1 -1
- package/dist/server/handlers/stored-mcp-clients.js +1 -1
- package/dist/server/handlers/stored-prompt-blocks.cjs +1 -1
- package/dist/server/handlers/stored-prompt-blocks.js +1 -1
- package/dist/server/handlers/stored-scorers.cjs +1 -1
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +1 -1
- package/dist/server/handlers/stored-skill-favorites.js +1 -1
- package/dist/server/handlers/stored-skills.cjs +1 -1
- package/dist/server/handlers/stored-skills.js +1 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/schemas/datasets.d.ts +82 -0
- package/dist/server/schemas/datasets.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +2 -2
- package/dist/server/schemas/index.js +2 -2
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/datasets.d.ts +204 -0
- package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/observability.d.ts +59 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/datasets-DOZwJ68z.cjs.map +0 -1
- package/dist/datasets-DfMv5GX5.js.map +0 -1
- package/dist/observability-new-endpoints-BUC8-mAb.cjs.map +0 -1
- package/dist/observability-new-endpoints-CZyppvEy.js.map +0 -1
|
@@ -29,6 +29,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
29
29
|
page: number;
|
|
30
30
|
perPage: number;
|
|
31
31
|
} | undefined;
|
|
32
|
+
mode?: "delta" | undefined;
|
|
33
|
+
after?: string | undefined;
|
|
34
|
+
limit?: number | undefined;
|
|
32
35
|
} & ServerContext): Promise<{
|
|
33
36
|
traces: {
|
|
34
37
|
traceId: string;
|
|
@@ -76,6 +79,31 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
76
79
|
perPage: number | false;
|
|
77
80
|
hasMore: boolean;
|
|
78
81
|
};
|
|
82
|
+
deltaCursor?: string | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
traces: {
|
|
85
|
+
traceId: string;
|
|
86
|
+
rootSpanId: string;
|
|
87
|
+
name: string;
|
|
88
|
+
entityId: string | null;
|
|
89
|
+
parentSpanId: string | null;
|
|
90
|
+
createdAt: string;
|
|
91
|
+
metadata: Record<string, unknown> | null;
|
|
92
|
+
inputPreview: string | null;
|
|
93
|
+
threadId: string | null;
|
|
94
|
+
resourceId: string | null;
|
|
95
|
+
startedAt: string;
|
|
96
|
+
endedAt: string;
|
|
97
|
+
entityName: string | null;
|
|
98
|
+
entityType: string | null;
|
|
99
|
+
environment: string | null;
|
|
100
|
+
status: "error" | "success";
|
|
101
|
+
}[];
|
|
102
|
+
delta: {
|
|
103
|
+
limit: number;
|
|
104
|
+
hasMore: boolean;
|
|
105
|
+
};
|
|
106
|
+
deltaCursor: string;
|
|
79
107
|
} | {
|
|
80
108
|
groups: {
|
|
81
109
|
threadId: string;
|
|
@@ -121,6 +149,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
121
149
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
122
150
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
123
151
|
}, z.core.$strip>>;
|
|
152
|
+
mode: z.ZodOptional<z.ZodLiteral<"delta">>;
|
|
153
|
+
after: z.ZodOptional<z.ZodString>;
|
|
154
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
124
155
|
}, z.core.$strict>, unknown>, z.ZodUnion<readonly [z.ZodObject<{
|
|
125
156
|
traces: z.ZodArray<z.ZodObject<{
|
|
126
157
|
traceId: z.ZodString;
|
|
@@ -174,6 +205,34 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
174
205
|
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
175
206
|
hasMore: z.ZodBoolean;
|
|
176
207
|
}, z.core.$strip>;
|
|
208
|
+
deltaCursor: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
210
|
+
traces: z.ZodArray<z.ZodObject<{
|
|
211
|
+
traceId: z.ZodString;
|
|
212
|
+
rootSpanId: z.ZodString;
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
entityId: z.ZodNullable<z.ZodString>;
|
|
215
|
+
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
216
|
+
createdAt: z.ZodString;
|
|
217
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
218
|
+
inputPreview: z.ZodNullable<z.ZodString>;
|
|
219
|
+
threadId: z.ZodNullable<z.ZodString>;
|
|
220
|
+
resourceId: z.ZodNullable<z.ZodString>;
|
|
221
|
+
startedAt: z.ZodString;
|
|
222
|
+
endedAt: z.ZodString;
|
|
223
|
+
entityName: z.ZodNullable<z.ZodString>;
|
|
224
|
+
entityType: z.ZodNullable<z.ZodString>;
|
|
225
|
+
environment: z.ZodNullable<z.ZodString>;
|
|
226
|
+
status: z.ZodEnum<{
|
|
227
|
+
error: "error";
|
|
228
|
+
success: "success";
|
|
229
|
+
}>;
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
delta: z.ZodObject<{
|
|
232
|
+
limit: z.ZodNumber;
|
|
233
|
+
hasMore: z.ZodBoolean;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
deltaCursor: z.ZodString;
|
|
177
236
|
}, z.core.$strict>, z.ZodObject<{
|
|
178
237
|
groups: z.ZodArray<z.ZodObject<{
|
|
179
238
|
threadId: z.ZodString;
|
|
@@ -3274,6 +3333,9 @@ export declare const NEW_ROUTES: {
|
|
|
3274
3333
|
page: number;
|
|
3275
3334
|
perPage: number;
|
|
3276
3335
|
} | undefined;
|
|
3336
|
+
mode?: "delta" | undefined;
|
|
3337
|
+
after?: string | undefined;
|
|
3338
|
+
limit?: number | undefined;
|
|
3277
3339
|
} & ServerContext): Promise<{
|
|
3278
3340
|
traces: {
|
|
3279
3341
|
traceId: string;
|
|
@@ -3321,6 +3383,31 @@ export declare const NEW_ROUTES: {
|
|
|
3321
3383
|
perPage: number | false;
|
|
3322
3384
|
hasMore: boolean;
|
|
3323
3385
|
};
|
|
3386
|
+
deltaCursor?: string | undefined;
|
|
3387
|
+
} | {
|
|
3388
|
+
traces: {
|
|
3389
|
+
traceId: string;
|
|
3390
|
+
rootSpanId: string;
|
|
3391
|
+
name: string;
|
|
3392
|
+
entityId: string | null;
|
|
3393
|
+
parentSpanId: string | null;
|
|
3394
|
+
createdAt: string;
|
|
3395
|
+
metadata: Record<string, unknown> | null;
|
|
3396
|
+
inputPreview: string | null;
|
|
3397
|
+
threadId: string | null;
|
|
3398
|
+
resourceId: string | null;
|
|
3399
|
+
startedAt: string;
|
|
3400
|
+
endedAt: string;
|
|
3401
|
+
entityName: string | null;
|
|
3402
|
+
entityType: string | null;
|
|
3403
|
+
environment: string | null;
|
|
3404
|
+
status: "error" | "success";
|
|
3405
|
+
}[];
|
|
3406
|
+
delta: {
|
|
3407
|
+
limit: number;
|
|
3408
|
+
hasMore: boolean;
|
|
3409
|
+
};
|
|
3410
|
+
deltaCursor: string;
|
|
3324
3411
|
} | {
|
|
3325
3412
|
groups: {
|
|
3326
3413
|
threadId: string;
|
|
@@ -3366,6 +3453,9 @@ export declare const NEW_ROUTES: {
|
|
|
3366
3453
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
3367
3454
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
3368
3455
|
}, z.core.$strip>>;
|
|
3456
|
+
mode: z.ZodOptional<z.ZodLiteral<"delta">>;
|
|
3457
|
+
after: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3369
3459
|
}, z.core.$strict>, unknown>, z.ZodUnion<readonly [z.ZodObject<{
|
|
3370
3460
|
traces: z.ZodArray<z.ZodObject<{
|
|
3371
3461
|
traceId: z.ZodString;
|
|
@@ -3419,6 +3509,34 @@ export declare const NEW_ROUTES: {
|
|
|
3419
3509
|
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
3420
3510
|
hasMore: z.ZodBoolean;
|
|
3421
3511
|
}, z.core.$strip>;
|
|
3512
|
+
deltaCursor: z.ZodOptional<z.ZodString>;
|
|
3513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3514
|
+
traces: z.ZodArray<z.ZodObject<{
|
|
3515
|
+
traceId: z.ZodString;
|
|
3516
|
+
rootSpanId: z.ZodString;
|
|
3517
|
+
name: z.ZodString;
|
|
3518
|
+
entityId: z.ZodNullable<z.ZodString>;
|
|
3519
|
+
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
3520
|
+
createdAt: z.ZodString;
|
|
3521
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3522
|
+
inputPreview: z.ZodNullable<z.ZodString>;
|
|
3523
|
+
threadId: z.ZodNullable<z.ZodString>;
|
|
3524
|
+
resourceId: z.ZodNullable<z.ZodString>;
|
|
3525
|
+
startedAt: z.ZodString;
|
|
3526
|
+
endedAt: z.ZodString;
|
|
3527
|
+
entityName: z.ZodNullable<z.ZodString>;
|
|
3528
|
+
entityType: z.ZodNullable<z.ZodString>;
|
|
3529
|
+
environment: z.ZodNullable<z.ZodString>;
|
|
3530
|
+
status: z.ZodEnum<{
|
|
3531
|
+
error: "error";
|
|
3532
|
+
success: "success";
|
|
3533
|
+
}>;
|
|
3534
|
+
}, z.core.$strict>>;
|
|
3535
|
+
delta: z.ZodObject<{
|
|
3536
|
+
limit: z.ZodNumber;
|
|
3537
|
+
hasMore: z.ZodBoolean;
|
|
3538
|
+
}, z.core.$strip>;
|
|
3539
|
+
deltaCursor: z.ZodString;
|
|
3422
3540
|
}, z.core.$strict>, z.ZodObject<{
|
|
3423
3541
|
groups: z.ZodArray<z.ZodObject<{
|
|
3424
3542
|
threadId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability-new-endpoints.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability-new-endpoints.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"observability-new-endpoints.d.ts","sourceRoot":"","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LIST_METRICS, C as GET_SCORE_TIME_SERIES, D as GET_TRACE_QUERY_VALUES, E as GET_TRACE_QUERY_FIELDS, F as UPDATE_FEEDBACK_REVIEW_STATUS, M as NEW_ROUTES, N as QUERY_THREADS, O as LIST_FEEDBACK, P as QUERY_TRACES, S as GET_SCORE_PERCENTILES, T as GET_TAGS, _ as GET_METRIC_PERCENTILES, a as GET_ENTITY_NAMES, b as GET_SCORE_AGGREGATE, c as GET_FEEDBACK_AGGREGATE, d as GET_FEEDBACK_TIME_SERIES, f as GET_METRIC_AGGREGATE, g as GET_METRIC_NAMES, h as GET_METRIC_LABEL_VALUES, i as DELETE_SCORES, j as LIST_SCORES, k as LIST_LOGS, l as GET_FEEDBACK_BREAKDOWN, m as GET_METRIC_LABEL_KEYS, n as CREATE_SCORE, o as GET_ENTITY_TYPES, p as GET_METRIC_BREAKDOWN, r as DELETE_FEEDBACK, s as GET_ENVIRONMENTS, t as CREATE_FEEDBACK, u as GET_FEEDBACK_PERCENTILES, v as GET_METRIC_TIME_SERIES, w as GET_SERVICE_NAMES, x as GET_SCORE_BREAKDOWN, y as GET_SCORE } from "../../observability-new-endpoints-
|
|
1
|
+
import { A as LIST_METRICS, C as GET_SCORE_TIME_SERIES, D as GET_TRACE_QUERY_VALUES, E as GET_TRACE_QUERY_FIELDS, F as UPDATE_FEEDBACK_REVIEW_STATUS, M as NEW_ROUTES, N as QUERY_THREADS, O as LIST_FEEDBACK, P as QUERY_TRACES, S as GET_SCORE_PERCENTILES, T as GET_TAGS, _ as GET_METRIC_PERCENTILES, a as GET_ENTITY_NAMES, b as GET_SCORE_AGGREGATE, c as GET_FEEDBACK_AGGREGATE, d as GET_FEEDBACK_TIME_SERIES, f as GET_METRIC_AGGREGATE, g as GET_METRIC_NAMES, h as GET_METRIC_LABEL_VALUES, i as DELETE_SCORES, j as LIST_SCORES, k as LIST_LOGS, l as GET_FEEDBACK_BREAKDOWN, m as GET_METRIC_LABEL_KEYS, n as CREATE_SCORE, o as GET_ENTITY_TYPES, p as GET_METRIC_BREAKDOWN, r as DELETE_FEEDBACK, s as GET_ENVIRONMENTS, t as CREATE_FEEDBACK, u as GET_FEEDBACK_PERCENTILES, v as GET_METRIC_TIME_SERIES, w as GET_SERVICE_NAMES, x as GET_SCORE_BREAKDOWN, y as GET_SCORE } from "../../observability-new-endpoints-CWfdrnzJ.js";
|
|
2
2
|
export { CREATE_FEEDBACK, CREATE_SCORE, DELETE_FEEDBACK, DELETE_SCORES, GET_ENTITY_NAMES, GET_ENTITY_TYPES, GET_ENVIRONMENTS, GET_FEEDBACK_AGGREGATE, GET_FEEDBACK_BREAKDOWN, GET_FEEDBACK_PERCENTILES, GET_FEEDBACK_TIME_SERIES, GET_METRIC_AGGREGATE, GET_METRIC_BREAKDOWN, GET_METRIC_LABEL_KEYS, GET_METRIC_LABEL_VALUES, GET_METRIC_NAMES, GET_METRIC_PERCENTILES, GET_METRIC_TIME_SERIES, GET_SCORE, GET_SCORE_AGGREGATE, GET_SCORE_BREAKDOWN, GET_SCORE_PERCENTILES, GET_SCORE_TIME_SERIES, GET_SERVICE_NAMES, GET_TAGS, GET_TRACE_QUERY_FIELDS, GET_TRACE_QUERY_VALUES, LIST_FEEDBACK, LIST_LOGS, LIST_METRICS, LIST_SCORES, NEW_ROUTES, QUERY_THREADS, QUERY_TRACES, UPDATE_FEEDBACK_REVIEW_STATUS };
|
|
@@ -6,7 +6,7 @@ const require_server_handlers_error = require("./error.cjs");
|
|
|
6
6
|
const require_server_handlers_observability_list_query_schemas = require("./observability-list-query-schemas.cjs");
|
|
7
7
|
const require_server_handlers_observability_shared = require("./observability-shared.cjs");
|
|
8
8
|
const require_server_handlers_observability_storage_schemas = require("./observability-storage-schemas.cjs");
|
|
9
|
-
const require_observability_new_endpoints = require("../../observability-new-endpoints-
|
|
9
|
+
const require_observability_new_endpoints = require("../../observability-new-endpoints-CDrOjmJw.cjs");
|
|
10
10
|
let zod_v4 = require("zod/v4");
|
|
11
11
|
let _mastra_core_evals = require("@mastra/core/evals");
|
|
12
12
|
let _mastra_core_evals_scoreTraces = require("@mastra/core/evals/scoreTraces");
|
|
@@ -5,7 +5,7 @@ import { handleError } from "./error.js";
|
|
|
5
5
|
import { paginationArgsSchema } from "./observability-list-query-schemas.js";
|
|
6
6
|
import { OBSERVABILITY_LIST_ENDPOINTS, assertObservabilityDeltaSupported, createObservabilityListQuerySchema, getObservabilityStore, getScoresStore, getStorage } from "./observability-shared.js";
|
|
7
7
|
import { batchDeleteTracesArgsSchema, batchDeleteTracesResponseSchema, branchesFilterSchema, branchesOrderBySchema, getBranchArgsSchema, getBranchResponseSchema, listBranchesResponseSchema, listTracesLightResponseSchema } from "./observability-storage-schemas.js";
|
|
8
|
-
import { A as LIST_METRICS, C as GET_SCORE_TIME_SERIES, D as GET_TRACE_QUERY_VALUES, E as GET_TRACE_QUERY_FIELDS, F as UPDATE_FEEDBACK_REVIEW_STATUS, M as NEW_ROUTES, N as QUERY_THREADS, O as LIST_FEEDBACK, P as QUERY_TRACES, S as GET_SCORE_PERCENTILES, T as GET_TAGS, _ as GET_METRIC_PERCENTILES, a as GET_ENTITY_NAMES, b as GET_SCORE_AGGREGATE, c as GET_FEEDBACK_AGGREGATE, d as GET_FEEDBACK_TIME_SERIES, f as GET_METRIC_AGGREGATE, g as GET_METRIC_NAMES, h as GET_METRIC_LABEL_VALUES, i as DELETE_SCORES, j as LIST_SCORES, k as LIST_LOGS, l as GET_FEEDBACK_BREAKDOWN, m as GET_METRIC_LABEL_KEYS, n as CREATE_SCORE, o as GET_ENTITY_TYPES, p as GET_METRIC_BREAKDOWN, r as DELETE_FEEDBACK, s as GET_ENVIRONMENTS, t as CREATE_FEEDBACK, u as GET_FEEDBACK_PERCENTILES, v as GET_METRIC_TIME_SERIES, w as GET_SERVICE_NAMES, x as GET_SCORE_BREAKDOWN, y as GET_SCORE } from "../../observability-new-endpoints-
|
|
8
|
+
import { A as LIST_METRICS, C as GET_SCORE_TIME_SERIES, D as GET_TRACE_QUERY_VALUES, E as GET_TRACE_QUERY_FIELDS, F as UPDATE_FEEDBACK_REVIEW_STATUS, M as NEW_ROUTES, N as QUERY_THREADS, O as LIST_FEEDBACK, P as QUERY_TRACES, S as GET_SCORE_PERCENTILES, T as GET_TAGS, _ as GET_METRIC_PERCENTILES, a as GET_ENTITY_NAMES, b as GET_SCORE_AGGREGATE, c as GET_FEEDBACK_AGGREGATE, d as GET_FEEDBACK_TIME_SERIES, f as GET_METRIC_AGGREGATE, g as GET_METRIC_NAMES, h as GET_METRIC_LABEL_VALUES, i as DELETE_SCORES, j as LIST_SCORES, k as LIST_LOGS, l as GET_FEEDBACK_BREAKDOWN, m as GET_METRIC_LABEL_KEYS, n as CREATE_SCORE, o as GET_ENTITY_TYPES, p as GET_METRIC_BREAKDOWN, r as DELETE_FEEDBACK, s as GET_ENVIRONMENTS, t as CREATE_FEEDBACK, u as GET_FEEDBACK_PERCENTILES, v as GET_METRIC_TIME_SERIES, w as GET_SERVICE_NAMES, x as GET_SCORE_BREAKDOWN, y as GET_SCORE } from "../../observability-new-endpoints-CWfdrnzJ.js";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
10
|
import { extractTrajectoryFromTrace, listScoresResponseSchema } from "@mastra/core/evals";
|
|
11
11
|
import { scoreTraces } from "@mastra/core/evals/scoreTraces";
|
|
@@ -4,8 +4,8 @@ const require_http_exception = require("../../http-exception-CKDHupKw.cjs");
|
|
|
4
4
|
const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
5
5
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
6
6
|
const require_server_handlers_error = require("./error.cjs");
|
|
7
|
-
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
8
7
|
const require_prompt_block_versions = require("../../prompt-block-versions-ChvK-DMW.cjs");
|
|
8
|
+
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
9
9
|
//#region src/server/handlers/prompt-block-versions.ts
|
|
10
10
|
const SNAPSHOT_CONFIG_FIELDS = [
|
|
11
11
|
"name",
|
|
@@ -2,8 +2,8 @@ import { t as HTTPException } from "../../http-exception-CyfxZB6W.js";
|
|
|
2
2
|
import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
3
3
|
import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-mRt04Bqa.js";
|
|
4
4
|
import { handleError } from "./error.js";
|
|
5
|
-
import { calculateChangedFields, computeVersionDiffs, createVersionWithRetry, enforceRetentionLimit, extractConfigFromVersion } from "./version-helpers.js";
|
|
6
5
|
import { a as createPromptBlockVersionResponseSchema, c as listPromptBlockVersionsQuerySchema, d as promptBlockVersionPathParams, i as createPromptBlockVersionBodySchema, l as listPromptBlockVersionsResponseSchema, n as comparePromptBlockVersionsQuerySchema, o as deletePromptBlockVersionResponseSchema, p as restorePromptBlockVersionResponseSchema, r as comparePromptBlockVersionsResponseSchema, s as getPromptBlockVersionResponseSchema, t as activatePromptBlockVersionResponseSchema, u as promptBlockVersionIdPathParams } from "../../prompt-block-versions-DU0xf_a5.js";
|
|
6
|
+
import { calculateChangedFields, computeVersionDiffs, createVersionWithRetry, enforceRetentionLimit, extractConfigFromVersion } from "./version-helpers.js";
|
|
7
7
|
//#region src/server/handlers/prompt-block-versions.ts
|
|
8
8
|
const SNAPSHOT_CONFIG_FIELDS = [
|
|
9
9
|
"name",
|
|
@@ -4,8 +4,8 @@ const require_http_exception = require("../../http-exception-CKDHupKw.cjs");
|
|
|
4
4
|
const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
5
5
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
6
6
|
const require_server_handlers_error = require("./error.cjs");
|
|
7
|
-
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
8
7
|
const require_scorer_versions = require("../../scorer-versions-DAsYq5b3.cjs");
|
|
8
|
+
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
9
9
|
//#region src/server/handlers/scorer-versions.ts
|
|
10
10
|
const SNAPSHOT_CONFIG_FIELDS = [
|
|
11
11
|
"name",
|
|
@@ -2,8 +2,8 @@ import { t as HTTPException } from "../../http-exception-CyfxZB6W.js";
|
|
|
2
2
|
import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
3
3
|
import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-mRt04Bqa.js";
|
|
4
4
|
import { handleError } from "./error.js";
|
|
5
|
-
import { calculateChangedFields, computeVersionDiffs, createVersionWithRetry, enforceRetentionLimit, extractConfigFromVersion } from "./version-helpers.js";
|
|
6
5
|
import { a as createScorerVersionResponseSchema, c as listScorerVersionsQuerySchema, d as scorerVersionIdPathParams, f as scorerVersionPathParams, i as createScorerVersionBodySchema, l as listScorerVersionsResponseSchema, n as compareScorerVersionsQuerySchema, o as deleteScorerVersionResponseSchema, r as compareScorerVersionsResponseSchema, s as getScorerVersionResponseSchema, t as activateScorerVersionResponseSchema, u as restoreScorerVersionResponseSchema } from "../../scorer-versions-VpbcaDi8.js";
|
|
6
|
+
import { calculateChangedFields, computeVersionDiffs, createVersionWithRetry, enforceRetentionLimit, extractConfigFromVersion } from "./version-helpers.js";
|
|
7
7
|
//#region src/server/handlers/scorer-versions.ts
|
|
8
8
|
const SNAPSHOT_CONFIG_FIELDS = [
|
|
9
9
|
"name",
|
|
@@ -7,9 +7,9 @@ const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
|
7
7
|
const require_server_handlers_error = require("./error.cjs");
|
|
8
8
|
const require_stored_agents = require("../../stored-agents-61cRlWax.cjs");
|
|
9
9
|
const require_server_handlers_author_enrichment = require("./author-enrichment.cjs");
|
|
10
|
+
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
10
11
|
const require_server_handlers_validate_agent_instructions = require("./validate-agent-instructions.cjs");
|
|
11
12
|
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
12
|
-
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
13
13
|
const require_editor_builder = require("../../editor-builder-D85orYra.cjs");
|
|
14
14
|
const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
|
|
15
15
|
const require_server_handlers_validate_avatar = require("./validate-avatar.cjs");
|
|
@@ -5,9 +5,9 @@ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScop
|
|
|
5
5
|
import { handleError } from "./error.js";
|
|
6
6
|
import { C as storedAgentIdPathParams, O as updateStoredAgentBodySchema, a as exportStoredAgentBodySchema, c as getStoredAgentResponseSchema, d as listStoredAgentsResponseSchema, g as previewInstructionsResponseSchema, h as previewInstructionsBodySchema, i as deleteStoredAgentResponseSchema, k as updateStoredAgentResponseSchema, m as openStoredAgentChangeRequestResponseSchema, n as createStoredAgentBodySchema, o as exportStoredAgentResponseSchema, p as openStoredAgentChangeRequestBodySchema, r as createStoredAgentResponseSchema, s as getStoredAgentDependentsResponseSchema, u as listStoredAgentsQuerySchema } from "../../stored-agents-CuEn_6cd.js";
|
|
7
7
|
import { attachAuthor, prepareAuthorEnrichment } from "./author-enrichment.js";
|
|
8
|
+
import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
|
|
8
9
|
import { validateAgentInstructionReferences } from "./validate-agent-instructions.js";
|
|
9
10
|
import { handleAutoVersioning } from "./version-helpers.js";
|
|
10
|
-
import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
|
|
11
11
|
import { i as isBuilderFeatureEnabled } from "../../editor-builder-D287Qf1k.js";
|
|
12
12
|
import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
|
|
13
13
|
import { validateMetadataAvatarUrl } from "./validate-avatar.js";
|
|
@@ -5,8 +5,8 @@ const require_common = require("../../common-BPjna_b6.cjs");
|
|
|
5
5
|
const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
6
6
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
7
7
|
const require_server_handlers_error = require("./error.cjs");
|
|
8
|
-
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
9
8
|
const require_stored_mcp_clients = require("../../stored-mcp-clients-Bh7nQkqD.cjs");
|
|
9
|
+
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
10
10
|
//#region src/server/handlers/stored-mcp-clients.ts
|
|
11
11
|
/**
|
|
12
12
|
* GET /stored/mcp-clients - List all stored MCP clients
|
|
@@ -3,8 +3,8 @@ import { d as statusQuerySchema } from "../../common-C7NBaaQu.js";
|
|
|
3
3
|
import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
4
4
|
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-mRt04Bqa.js";
|
|
5
5
|
import { handleError } from "./error.js";
|
|
6
|
-
import { MCP_CLIENT_SNAPSHOT_CONFIG_FIELDS, handleAutoVersioning } from "./version-helpers.js";
|
|
7
6
|
import { a as listStoredMCPClientsQuerySchema, i as getStoredMCPClientResponseSchema, l as updateStoredMCPClientBodySchema, n as createStoredMCPClientResponseSchema, o as listStoredMCPClientsResponseSchema, r as deleteStoredMCPClientResponseSchema, s as storedMCPClientIdPathParams, t as createStoredMCPClientBodySchema, u as updateStoredMCPClientResponseSchema } from "../../stored-mcp-clients-BEcB720j.js";
|
|
7
|
+
import { MCP_CLIENT_SNAPSHOT_CONFIG_FIELDS, handleAutoVersioning } from "./version-helpers.js";
|
|
8
8
|
//#region src/server/handlers/stored-mcp-clients.ts
|
|
9
9
|
/**
|
|
10
10
|
* GET /stored/mcp-clients - List all stored MCP clients
|
|
@@ -5,8 +5,8 @@ const require_common = require("../../common-BPjna_b6.cjs");
|
|
|
5
5
|
const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
6
6
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
7
7
|
const require_server_handlers_error = require("./error.cjs");
|
|
8
|
-
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
9
8
|
const require_stored_prompt_blocks = require("../../stored-prompt-blocks-CyL4SKVR.cjs");
|
|
9
|
+
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
10
10
|
//#region src/server/handlers/stored-prompt-blocks.ts
|
|
11
11
|
const PROMPT_BLOCK_SNAPSHOT_CONFIG_FIELDS = [
|
|
12
12
|
"name",
|
|
@@ -3,8 +3,8 @@ import { d as statusQuerySchema } from "../../common-C7NBaaQu.js";
|
|
|
3
3
|
import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
4
4
|
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-mRt04Bqa.js";
|
|
5
5
|
import { handleError } from "./error.js";
|
|
6
|
-
import { handleAutoVersioning } from "./version-helpers.js";
|
|
7
6
|
import { a as listStoredPromptBlocksQuerySchema, i as getStoredPromptBlockResponseSchema, l as updateStoredPromptBlockBodySchema, n as createStoredPromptBlockResponseSchema, o as listStoredPromptBlocksResponseSchema, r as deleteStoredPromptBlockResponseSchema, s as storedPromptBlockIdPathParams, t as createStoredPromptBlockBodySchema, u as updateStoredPromptBlockResponseSchema } from "../../stored-prompt-blocks-CRGk4tz5.js";
|
|
7
|
+
import { handleAutoVersioning } from "./version-helpers.js";
|
|
8
8
|
//#region src/server/handlers/stored-prompt-blocks.ts
|
|
9
9
|
const PROMPT_BLOCK_SNAPSHOT_CONFIG_FIELDS = [
|
|
10
10
|
"name",
|
|
@@ -5,8 +5,8 @@ const require_common = require("../../common-BPjna_b6.cjs");
|
|
|
5
5
|
const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
6
6
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
7
7
|
const require_server_handlers_error = require("./error.cjs");
|
|
8
|
-
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
9
8
|
const require_stored_scorers = require("../../stored-scorers-BLj27wz5.cjs");
|
|
9
|
+
const require_server_handlers_version_helpers = require("./version-helpers.cjs");
|
|
10
10
|
//#region src/server/handlers/stored-scorers.ts
|
|
11
11
|
const SCORER_SNAPSHOT_CONFIG_FIELDS = [
|
|
12
12
|
"name",
|
|
@@ -3,8 +3,8 @@ import { d as statusQuerySchema } from "../../common-C7NBaaQu.js";
|
|
|
3
3
|
import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
4
4
|
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-mRt04Bqa.js";
|
|
5
5
|
import { handleError } from "./error.js";
|
|
6
|
-
import { handleAutoVersioning } from "./version-helpers.js";
|
|
7
6
|
import { a as listStoredScorersQuerySchema, i as getStoredScorerResponseSchema, l as updateStoredScorerBodySchema, n as createStoredScorerResponseSchema, o as listStoredScorersResponseSchema, r as deleteStoredScorerResponseSchema, s as storedScorerIdPathParams, t as createStoredScorerBodySchema, u as updateStoredScorerResponseSchema } from "../../stored-scorers-D7dAXnFk.js";
|
|
7
|
+
import { handleAutoVersioning } from "./version-helpers.js";
|
|
8
8
|
//#region src/server/handlers/stored-scorers.ts
|
|
9
9
|
const SCORER_SNAPSHOT_CONFIG_FIELDS = [
|
|
10
10
|
"name",
|
|
@@ -5,9 +5,9 @@ const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
|
5
5
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
6
6
|
const require_server_handlers_error = require("./error.cjs");
|
|
7
7
|
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
8
|
+
const require_stored_skills = require("../../stored-skills-CkA2oWJJ.cjs");
|
|
8
9
|
const require_editor_builder = require("../../editor-builder-D85orYra.cjs");
|
|
9
10
|
const require_favorites = require("../../favorites-D1-AzGsK.cjs");
|
|
10
|
-
const require_stored_skills = require("../../stored-skills-CkA2oWJJ.cjs");
|
|
11
11
|
//#region src/server/handlers/stored-skill-favorites.ts
|
|
12
12
|
/**
|
|
13
13
|
* Resolves the storage and favorites domains, throwing 500 if unavailable.
|
|
@@ -3,9 +3,9 @@ import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
|
3
3
|
import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-mRt04Bqa.js";
|
|
4
4
|
import { handleError } from "./error.js";
|
|
5
5
|
import { assertReadAccess, getCallerAuthorId } from "./authorship.js";
|
|
6
|
+
import { p as storedSkillIdPathParams } from "../../stored-skills-DlNmwsTl.js";
|
|
6
7
|
import { a as requireBuilderFeature } from "../../editor-builder-D287Qf1k.js";
|
|
7
8
|
import { t as favoriteToggleResponseSchema } from "../../favorites-DWDyKxts.js";
|
|
8
|
-
import { p as storedSkillIdPathParams } from "../../stored-skills-DlNmwsTl.js";
|
|
9
9
|
//#region src/server/handlers/stored-skill-favorites.ts
|
|
10
10
|
/**
|
|
11
11
|
* Resolves the storage and favorites domains, throwing 500 if unavailable.
|
|
@@ -5,9 +5,9 @@ const require_route_builder = require("../../route-builder-CbCx1upL.cjs");
|
|
|
5
5
|
const require_utils = require("../../utils-DbHFc3hG.cjs");
|
|
6
6
|
const require_server_handlers_error = require("./error.cjs");
|
|
7
7
|
const require_server_handlers_authorship = require("./authorship.cjs");
|
|
8
|
+
const require_stored_skills = require("../../stored-skills-CkA2oWJJ.cjs");
|
|
8
9
|
const require_editor_builder = require("../../editor-builder-D85orYra.cjs");
|
|
9
10
|
const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
|
|
10
|
-
const require_stored_skills = require("../../stored-skills-CkA2oWJJ.cjs");
|
|
11
11
|
let _mastra_core_workspace = require("@mastra/core/workspace");
|
|
12
12
|
//#region src/server/handlers/stored-skills.ts
|
|
13
13
|
/**
|
|
@@ -3,9 +3,9 @@ import { n as createRoute } from "../../route-builder-DDOjv0sM.js";
|
|
|
3
3
|
import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-mRt04Bqa.js";
|
|
4
4
|
import { handleError } from "./error.js";
|
|
5
5
|
import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
|
|
6
|
+
import { a as deleteStoredSkillResponseSchema, c as listStoredSkillsResponseSchema, g as updateStoredSkillResponseSchema, h as updateStoredSkillBodySchema, i as createStoredSkillResponseSchema, l as publishStoredSkillBodySchema, o as getStoredSkillResponseSchema, p as storedSkillIdPathParams, r as createStoredSkillBodySchema, s as listStoredSkillsQuerySchema, u as publishStoredSkillResponseSchema } from "../../stored-skills-DlNmwsTl.js";
|
|
6
7
|
import { i as isBuilderFeatureEnabled } from "../../editor-builder-D287Qf1k.js";
|
|
7
8
|
import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
|
|
8
|
-
import { a as deleteStoredSkillResponseSchema, c as listStoredSkillsResponseSchema, g as updateStoredSkillResponseSchema, h as updateStoredSkillBodySchema, i as createStoredSkillResponseSchema, l as publishStoredSkillBodySchema, o as getStoredSkillResponseSchema, p as storedSkillIdPathParams, r as createStoredSkillBodySchema, s as listStoredSkillsQuerySchema, u as publishStoredSkillResponseSchema } from "../../stored-skills-DlNmwsTl.js";
|
|
9
9
|
import { LocalSkillSource } from "@mastra/core/workspace";
|
|
10
10
|
//#region src/server/handlers/stored-skills.ts
|
|
11
11
|
/**
|
|
@@ -89,7 +89,7 @@ const GET_API_SCHEMA_ROUTE = require_route_builder.createRoute({
|
|
|
89
89
|
tags: ["System"],
|
|
90
90
|
requiresAuth: true,
|
|
91
91
|
handler: async () => {
|
|
92
|
-
const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-
|
|
92
|
+
const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-hEcC_Jev.cjs"));
|
|
93
93
|
return buildApiSchemaManifest();
|
|
94
94
|
}
|
|
95
95
|
});
|
|
@@ -87,7 +87,7 @@ const GET_API_SCHEMA_ROUTE = createRoute({
|
|
|
87
87
|
tags: ["System"],
|
|
88
88
|
requiresAuth: true,
|
|
89
89
|
handler: async () => {
|
|
90
|
-
const { buildApiSchemaManifest } = await import("../../api-schema-manifest-
|
|
90
|
+
const { buildApiSchemaManifest } = await import("../../api-schema-manifest-DRBrp4e0.js");
|
|
91
91
|
return buildApiSchemaManifest();
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -37,10 +37,30 @@ export declare const listExperimentResultsQuerySchema: z.ZodObject<{
|
|
|
37
37
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
38
38
|
perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
39
39
|
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>, unknown>;
|
|
40
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
41
|
+
field: z.ZodEnum<{
|
|
42
|
+
createdAt: "createdAt";
|
|
43
|
+
startedAt: "startedAt";
|
|
44
|
+
}>;
|
|
45
|
+
direction: z.ZodEnum<{
|
|
46
|
+
ASC: "ASC";
|
|
47
|
+
DESC: "DESC";
|
|
48
|
+
}>;
|
|
49
|
+
}, z.core.$strip>>, unknown>>;
|
|
40
50
|
}, z.core.$strip> | z.ZodObject<{
|
|
41
51
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
42
52
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
43
53
|
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>, unknown>;
|
|
54
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
55
|
+
field: z.ZodEnum<{
|
|
56
|
+
createdAt: "createdAt";
|
|
57
|
+
startedAt: "startedAt";
|
|
58
|
+
}>;
|
|
59
|
+
direction: z.ZodEnum<{
|
|
60
|
+
ASC: "ASC";
|
|
61
|
+
DESC: "DESC";
|
|
62
|
+
}>;
|
|
63
|
+
}, z.core.$strip>>, unknown>>;
|
|
44
64
|
}, z.core.$strip>;
|
|
45
65
|
export declare const listDatasetsQuerySchema: z.ZodObject<{
|
|
46
66
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -52,6 +72,17 @@ export declare const listDatasetsQuerySchema: z.ZodObject<{
|
|
|
52
72
|
workflow: "workflow";
|
|
53
73
|
}>>;
|
|
54
74
|
targetIds: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>, unknown>;
|
|
75
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
76
|
+
field: z.ZodEnum<{
|
|
77
|
+
createdAt: "createdAt";
|
|
78
|
+
name: "name";
|
|
79
|
+
updatedAt: "updatedAt";
|
|
80
|
+
}>;
|
|
81
|
+
direction: z.ZodEnum<{
|
|
82
|
+
ASC: "ASC";
|
|
83
|
+
DESC: "DESC";
|
|
84
|
+
}>;
|
|
85
|
+
}, z.core.$strip>>, unknown>>;
|
|
55
86
|
}, z.core.$strip> | z.ZodObject<{
|
|
56
87
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
57
88
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -62,6 +93,17 @@ export declare const listDatasetsQuerySchema: z.ZodObject<{
|
|
|
62
93
|
workflow: "workflow";
|
|
63
94
|
}>>;
|
|
64
95
|
targetIds: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>, unknown>;
|
|
96
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
97
|
+
field: z.ZodEnum<{
|
|
98
|
+
createdAt: "createdAt";
|
|
99
|
+
name: "name";
|
|
100
|
+
updatedAt: "updatedAt";
|
|
101
|
+
}>;
|
|
102
|
+
direction: z.ZodEnum<{
|
|
103
|
+
ASC: "ASC";
|
|
104
|
+
DESC: "DESC";
|
|
105
|
+
}>;
|
|
106
|
+
}, z.core.$strip>>, unknown>>;
|
|
65
107
|
}, z.core.$strip>;
|
|
66
108
|
export declare const listExperimentsQuerySchema: z.ZodObject<{
|
|
67
109
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -77,6 +119,16 @@ export declare const listExperimentsQuerySchema: z.ZodObject<{
|
|
|
77
119
|
workflow: "workflow";
|
|
78
120
|
}>>;
|
|
79
121
|
targetId: z.ZodOptional<z.ZodString>;
|
|
122
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
123
|
+
field: z.ZodEnum<{
|
|
124
|
+
createdAt: "createdAt";
|
|
125
|
+
status: "status";
|
|
126
|
+
}>;
|
|
127
|
+
direction: z.ZodEnum<{
|
|
128
|
+
ASC: "ASC";
|
|
129
|
+
DESC: "DESC";
|
|
130
|
+
}>;
|
|
131
|
+
}, z.core.$strip>>, unknown>>;
|
|
80
132
|
}, z.core.$strip> | z.ZodObject<{
|
|
81
133
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
82
134
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -91,6 +143,16 @@ export declare const listExperimentsQuerySchema: z.ZodObject<{
|
|
|
91
143
|
workflow: "workflow";
|
|
92
144
|
}>>;
|
|
93
145
|
targetId: z.ZodOptional<z.ZodString>;
|
|
146
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
147
|
+
field: z.ZodEnum<{
|
|
148
|
+
createdAt: "createdAt";
|
|
149
|
+
status: "status";
|
|
150
|
+
}>;
|
|
151
|
+
direction: z.ZodEnum<{
|
|
152
|
+
ASC: "ASC";
|
|
153
|
+
DESC: "DESC";
|
|
154
|
+
}>;
|
|
155
|
+
}, z.core.$strip>>, unknown>>;
|
|
94
156
|
}, z.core.$strip>;
|
|
95
157
|
export declare const tenancyQuerySchema: z.ZodObject<{
|
|
96
158
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
@@ -101,11 +163,31 @@ export declare const listItemsQuerySchema: z.ZodObject<{
|
|
|
101
163
|
perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
102
164
|
version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
103
165
|
search: z.ZodOptional<z.ZodString>;
|
|
166
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
167
|
+
field: z.ZodEnum<{
|
|
168
|
+
createdAt: "createdAt";
|
|
169
|
+
updatedAt: "updatedAt";
|
|
170
|
+
}>;
|
|
171
|
+
direction: z.ZodEnum<{
|
|
172
|
+
ASC: "ASC";
|
|
173
|
+
DESC: "DESC";
|
|
174
|
+
}>;
|
|
175
|
+
}, z.core.$strip>>, unknown>>;
|
|
104
176
|
}, z.core.$strip> | z.ZodObject<{
|
|
105
177
|
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
106
178
|
perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
107
179
|
version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
108
180
|
search: z.ZodOptional<z.ZodString>;
|
|
181
|
+
orderBy: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
182
|
+
field: z.ZodEnum<{
|
|
183
|
+
createdAt: "createdAt";
|
|
184
|
+
updatedAt: "updatedAt";
|
|
185
|
+
}>;
|
|
186
|
+
direction: z.ZodEnum<{
|
|
187
|
+
ASC: "ASC";
|
|
188
|
+
DESC: "DESC";
|
|
189
|
+
}>;
|
|
190
|
+
}, z.core.$strip>>, unknown>>;
|
|
109
191
|
}, z.core.$strip>;
|
|
110
192
|
export declare const createDatasetBodySchema: z.ZodObject<{
|
|
111
193
|
name: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAkO3B,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;iBAE3B,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;iBAIvC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;iBAI/C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAC;AAMH,eAAO,MAAM,qBAAqB;;;;;;iBAAiC,CAAC;
|
|
1
|
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AMH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;iBAwBpC,CAAC;AASH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;iBAYxC,CAAC"}
|
|
@@ -22,11 +22,10 @@ const require_scores = require("../../scores-5aHyxHos.cjs");
|
|
|
22
22
|
const require_vectors = require("../../vectors-DlW_SU5m.cjs");
|
|
23
23
|
const require_version_common = require("../../version-common-CxQdBbPm.cjs");
|
|
24
24
|
const require_agent_versions = require("../../agent-versions-D2QdSbFn.cjs");
|
|
25
|
-
const require_datasets = require("../../datasets-
|
|
25
|
+
const require_datasets = require("../../datasets-DNNuDeQ2.cjs");
|
|
26
26
|
const require_editor_builder = require("../../editor-builder-DhUUVbQ-.cjs");
|
|
27
27
|
const require_mcp_client_versions = require("../../mcp-client-versions-DoGlpOEW.cjs");
|
|
28
28
|
const require_processor_providers = require("../../processor-providers-DHvTA9AL.cjs");
|
|
29
|
-
const require_processors = require("../../processors-D6lRjS0e.cjs");
|
|
30
29
|
const require_prompt_block_versions = require("../../prompt-block-versions-ChvK-DMW.cjs");
|
|
31
30
|
const require_scorer_versions = require("../../scorer-versions-DAsYq5b3.cjs");
|
|
32
31
|
const require_stored_mcp_clients = require("../../stored-mcp-clients-Bh7nQkqD.cjs");
|
|
@@ -34,6 +33,7 @@ const require_stored_prompt_blocks = require("../../stored-prompt-blocks-CyL4SKV
|
|
|
34
33
|
const require_stored_scorers = require("../../stored-scorers-BLj27wz5.cjs");
|
|
35
34
|
const require_stored_skills = require("../../stored-skills-CkA2oWJJ.cjs");
|
|
36
35
|
const require_system = require("../../system-D85p7-oz.cjs");
|
|
36
|
+
const require_processors = require("../../processors-D6lRjS0e.cjs");
|
|
37
37
|
exports.SKILL_ORIGIN_METADATA_KEY = require_stored_skills.SKILL_ORIGIN_METADATA_KEY;
|
|
38
38
|
exports.a2aAgentExecutionBodySchema = require_a2a.agentExecutionBodySchema;
|
|
39
39
|
exports.a2aAgentIdPathParams = require_a2a.a2aAgentIdPathParams;
|