@mastra/server 1.32.0 → 1.32.1
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 +22 -0
- package/dist/chunk-2J4KEVXS.cjs +47 -0
- package/dist/chunk-2J4KEVXS.cjs.map +1 -0
- package/dist/{chunk-RGGZPBPR.cjs → chunk-3TFM333T.cjs} +5 -5
- package/dist/{chunk-RGGZPBPR.cjs.map → chunk-3TFM333T.cjs.map} +1 -1
- package/dist/{chunk-6V7NAUV4.cjs → chunk-64YJOWH2.cjs} +4 -4
- package/dist/chunk-64YJOWH2.cjs.map +1 -0
- package/dist/chunk-6KDKASVR.js +22 -0
- package/dist/chunk-6KDKASVR.js.map +1 -0
- package/dist/{chunk-M5I6LD6N.js → chunk-ALUAG74N.js} +3 -3
- package/dist/{chunk-M5I6LD6N.js.map → chunk-ALUAG74N.js.map} +1 -1
- package/dist/{chunk-MOWSRYNJ.js → chunk-CFK4R6LE.js} +3 -3
- package/dist/chunk-CFK4R6LE.js.map +1 -0
- package/dist/{chunk-4H5DNMAO.js → chunk-DFSUBEGE.js} +3 -3
- package/dist/{chunk-4H5DNMAO.js.map → chunk-DFSUBEGE.js.map} +1 -1
- package/dist/chunk-DLYZIVMO.cjs +35 -0
- package/dist/chunk-DLYZIVMO.cjs.map +1 -0
- package/dist/{chunk-FFNKVUBU.js → chunk-DSJM7F5A.js} +4 -4
- package/dist/chunk-DSJM7F5A.js.map +1 -0
- package/dist/{chunk-LX3ESTTN.cjs → chunk-ELU7GCBF.cjs} +10 -9
- package/dist/chunk-ELU7GCBF.cjs.map +1 -0
- package/dist/{chunk-6AYGQBID.cjs → chunk-F35U36E2.cjs} +19 -19
- package/dist/{chunk-6AYGQBID.cjs.map → chunk-F35U36E2.cjs.map} +1 -1
- package/dist/{chunk-SZT2CUS6.cjs → chunk-F6MVX6E6.cjs} +4 -4
- package/dist/{chunk-SZT2CUS6.cjs.map → chunk-F6MVX6E6.cjs.map} +1 -1
- package/dist/{chunk-XDGV7WG3.js → chunk-FE2MMCKW.js} +6 -6
- package/dist/chunk-FE2MMCKW.js.map +1 -0
- package/dist/{chunk-4Y77CVSI.js → chunk-H656FJUZ.js} +3 -3
- package/dist/{chunk-4Y77CVSI.js.map → chunk-H656FJUZ.js.map} +1 -1
- package/dist/chunk-KMGGICVD.js +13 -0
- package/dist/chunk-KMGGICVD.js.map +1 -0
- package/dist/{chunk-QMEGOGRN.js → chunk-KUCUFXLD.js} +5 -5
- package/dist/chunk-KUCUFXLD.js.map +1 -0
- package/dist/chunk-L4M23OMB.cjs +44 -0
- package/dist/chunk-L4M23OMB.cjs.map +1 -0
- package/dist/{chunk-EYSAQHCP.cjs → chunk-LYXVNT6L.cjs} +16 -16
- package/dist/chunk-LYXVNT6L.cjs.map +1 -0
- package/dist/{chunk-FQ7YYW4Q.js → chunk-MI3PFFAR.js} +4 -4
- package/dist/chunk-MI3PFFAR.js.map +1 -0
- package/dist/{chunk-PPD3LELX.js → chunk-MQVBXOMA.js} +4 -4
- package/dist/{chunk-PPD3LELX.js.map → chunk-MQVBXOMA.js.map} +1 -1
- package/dist/chunk-NF5SYJHK.js +21 -0
- package/dist/chunk-NF5SYJHK.js.map +1 -0
- package/dist/{chunk-RQVAWLYS.js → chunk-NVM46NSG.js} +6 -6
- package/dist/chunk-NVM46NSG.js.map +1 -0
- package/dist/{chunk-IYQS5YRY.cjs → chunk-PJYQMPXT.cjs} +7 -7
- package/dist/{chunk-IYQS5YRY.cjs.map → chunk-PJYQMPXT.cjs.map} +1 -1
- package/dist/{chunk-WYHOHNYZ.cjs → chunk-QAFWIUAD.cjs} +7 -7
- package/dist/{chunk-WYHOHNYZ.cjs.map → chunk-QAFWIUAD.cjs.map} +1 -1
- package/dist/{chunk-YTCMTRWU.cjs → chunk-R6JGZX7Q.cjs} +5 -5
- package/dist/chunk-R6JGZX7Q.cjs.map +1 -0
- package/dist/{chunk-6XEWLKEU.js → chunk-SOJ2UNB6.js} +3 -3
- package/dist/{chunk-6XEWLKEU.js.map → chunk-SOJ2UNB6.js.map} +1 -1
- package/dist/{chunk-OYVLXYUL.js → chunk-UOC4K3RU.js} +3 -3
- package/dist/chunk-UOC4K3RU.js.map +1 -0
- package/dist/{chunk-RHA7MWOI.cjs → chunk-URRUDXO5.cjs} +39 -39
- package/dist/chunk-URRUDXO5.cjs.map +1 -0
- package/dist/{chunk-P2PZPH24.cjs → chunk-UWBU3GWI.cjs} +4 -4
- package/dist/{chunk-P2PZPH24.cjs.map → chunk-UWBU3GWI.cjs.map} +1 -1
- package/dist/{chunk-L5GHLBMN.cjs → chunk-V4DZUIDM.cjs} +63 -63
- package/dist/chunk-V4DZUIDM.cjs.map +1 -0
- package/dist/{chunk-L3LU2FSK.js → chunk-V5AXCSSN.js} +4 -3
- package/dist/chunk-V5AXCSSN.js.map +1 -0
- package/dist/{chunk-IIM2YSQ4.js → chunk-W5JSRJAK.js} +4 -4
- package/dist/{chunk-IIM2YSQ4.js.map → chunk-W5JSRJAK.js.map} +1 -1
- package/dist/{chunk-CQUVNOZ6.cjs → chunk-WZKXMP2U.cjs} +55 -55
- package/dist/chunk-WZKXMP2U.cjs.map +1 -0
- package/dist/{chunk-2OGDU5U7.js → chunk-XCIJHMUE.js} +4 -4
- package/dist/chunk-XCIJHMUE.js.map +1 -0
- package/dist/{chunk-BOFX5I7S.cjs → chunk-XI4WY2MX.cjs} +13 -13
- package/dist/chunk-XI4WY2MX.cjs.map +1 -0
- package/dist/{chunk-Q5EQ3HQY.cjs → chunk-Y32L6Z5V.cjs} +8 -8
- package/dist/{chunk-Q5EQ3HQY.cjs.map → chunk-Y32L6Z5V.cjs.map} +1 -1
- package/dist/{chunk-4WWS6GKP.js → chunk-YEAIZPBY.js} +3 -3
- package/dist/{chunk-4WWS6GKP.js.map → chunk-YEAIZPBY.js.map} +1 -1
- package/dist/{chunk-W4VETOUS.cjs → chunk-YF6DVWNN.cjs} +21 -21
- package/dist/chunk-YF6DVWNN.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/fga-permissions.d.ts +31 -0
- package/dist/server/fga-permissions.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +10 -10
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -16
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +38 -38
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp.cjs +11 -11
- package/dist/server/handlers/mcp.d.ts.map +1 -1
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +27 -27
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +6 -6
- package/dist/server/handlers/observability-storage-schemas.cjs +28 -0
- package/dist/server/handlers/observability-storage-schemas.cjs.map +1 -0
- package/dist/server/handlers/observability-storage-schemas.d.ts +31 -0
- package/dist/server/handlers/observability-storage-schemas.d.ts.map +1 -0
- package/dist/server/handlers/observability-storage-schemas.js +3 -0
- package/dist/server/handlers/observability-storage-schemas.js.map +1 -0
- package/dist/server/handlers/observability.cjs +10 -10
- package/dist/server/handlers/observability.d.ts +4 -208
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/responses.cjs +4 -4
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/responses.storage.cjs +8 -8
- package/dist/server/handlers/responses.storage.js +1 -1
- package/dist/server/handlers/schedules-workflows-shim.cjs +12 -0
- package/dist/server/handlers/schedules-workflows-shim.cjs.map +1 -0
- package/dist/server/handlers/schedules-workflows-shim.d.ts +21 -0
- package/dist/server/handlers/schedules-workflows-shim.d.ts.map +1 -0
- package/dist/server/handlers/schedules-workflows-shim.js +3 -0
- package/dist/server/handlers/schedules-workflows-shim.js.map +1 -0
- package/dist/server/handlers/schedules.cjs +6 -6
- package/dist/server/handlers/schedules.d.ts.map +1 -1
- package/dist/server/handlers/schedules.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +10 -10
- package/dist/server/handlers/utils.d.ts.map +1 -1
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +24 -24
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +32 -32
- package/dist/server/handlers.js +14 -14
- package/dist/server/schemas/index.cjs +73 -73
- package/dist/server/schemas/index.js +3 -3
- package/dist/server/server-adapter/index.cjs +157 -157
- package/dist/server/server-adapter/index.js +18 -18
- package/dist/server/server-adapter/routes/observability.d.ts +6 -210
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-2OGDU5U7.js.map +0 -1
- package/dist/chunk-6V7NAUV4.cjs.map +0 -1
- package/dist/chunk-BOFX5I7S.cjs.map +0 -1
- package/dist/chunk-CQUVNOZ6.cjs.map +0 -1
- package/dist/chunk-EYSAQHCP.cjs.map +0 -1
- package/dist/chunk-FFNKVUBU.js.map +0 -1
- package/dist/chunk-FQ7YYW4Q.js.map +0 -1
- package/dist/chunk-L3LU2FSK.js.map +0 -1
- package/dist/chunk-L5GHLBMN.cjs.map +0 -1
- package/dist/chunk-LX3ESTTN.cjs.map +0 -1
- package/dist/chunk-MOWSRYNJ.js.map +0 -1
- package/dist/chunk-OYVLXYUL.js.map +0 -1
- package/dist/chunk-QMEGOGRN.js.map +0 -1
- package/dist/chunk-RHA7MWOI.cjs.map +0 -1
- package/dist/chunk-RQVAWLYS.js.map +0 -1
- package/dist/chunk-W4VETOUS.cjs.map +0 -1
- package/dist/chunk-XDGV7WG3.js.map +0 -1
- package/dist/chunk-YTCMTRWU.cjs.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk2J4KEVXS_cjs = require('../../chunk-2J4KEVXS.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "branchesFilterSchema", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk2J4KEVXS_cjs.branchesFilterSchema; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "branchesOrderBySchema", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk2J4KEVXS_cjs.branchesOrderBySchema; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getBranchArgsSchema", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk2J4KEVXS_cjs.getBranchArgsSchema; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getBranchResponseSchema", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunk2J4KEVXS_cjs.getBranchResponseSchema; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "listBranchesResponseSchema", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunk2J4KEVXS_cjs.listBranchesResponseSchema; }
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=observability-storage-schemas.cjs.map
|
|
28
|
+
//# sourceMappingURL=observability-storage-schemas.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"observability-storage-schemas.cjs"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe re-export of branches-related Zod schemas from `@mastra/core/storage`.
|
|
3
|
+
*
|
|
4
|
+
* Why this shim exists:
|
|
5
|
+
* The `branches*` and `getBranch*` / `listBranches*` schemas (used to define
|
|
6
|
+
* `/observability/branches` and `/observability/traces/:traceId/branches/:spanId`
|
|
7
|
+
* routes) were introduced in `@mastra/core@1.32.0`. Earlier versions of
|
|
8
|
+
* `@mastra/core` ship `@mastra/core/storage` but do not export these names.
|
|
9
|
+
*
|
|
10
|
+
* A direct named import (`import { branchesFilterSchema } from
|
|
11
|
+
* '@mastra/core/storage'`) fails at ESM link time when this version of
|
|
12
|
+
* `@mastra/server` is paired with `@mastra/core < 1.32.0`, taking the entire
|
|
13
|
+
* user bundle down before any code runs.
|
|
14
|
+
*
|
|
15
|
+
* A namespace import tolerates missing names (`ns.MissingExport` is just
|
|
16
|
+
* `undefined`, no link-time error). We then fall back to a permissive empty
|
|
17
|
+
* `z.object({})` so the route definitions can still evaluate at module load
|
|
18
|
+
* time. On old core the branches routes will register but their handlers
|
|
19
|
+
* will fail at request time when the storage backend doesn't implement
|
|
20
|
+
* `listBranches` / `getBranch` — which is the correct degradation, since
|
|
21
|
+
* those storage methods don't exist on old core either.
|
|
22
|
+
*
|
|
23
|
+
* Once the consuming `@mastra/core` is on `1.32.0+` the schemas are real
|
|
24
|
+
* and behaviour is identical to a direct named import.
|
|
25
|
+
*/
|
|
26
|
+
export declare const branchesFilterSchema: any;
|
|
27
|
+
export declare const branchesOrderBySchema: any;
|
|
28
|
+
export declare const getBranchArgsSchema: any;
|
|
29
|
+
export declare const listBranchesResponseSchema: any;
|
|
30
|
+
export declare const getBranchResponseSchema: any;
|
|
31
|
+
//# sourceMappingURL=observability-storage-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observability-storage-schemas.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability-storage-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAgCH,eAAO,MAAM,oBAAoB,EAAE,GAAoD,CAAC;AACxF,eAAO,MAAM,qBAAqB,EAAE,GAAqD,CAAC;AAC1F,eAAO,MAAM,mBAAmB,EAAE,GAAkD,CAAC;AACrF,eAAO,MAAM,0BAA0B,EAAE,GAAqD,CAAC;AAC/F,eAAO,MAAM,uBAAuB,EAAE,GAAkD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { branchesFilterSchema, branchesOrderBySchema, getBranchArgsSchema, getBranchResponseSchema, listBranchesResponseSchema } from '../../chunk-NF5SYJHK.js';
|
|
2
|
+
//# sourceMappingURL=observability-storage-schemas.js.map
|
|
3
|
+
//# sourceMappingURL=observability-storage-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"observability-storage-schemas.js"}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkELU7GCBF_cjs = require('../../chunk-ELU7GCBF.cjs');
|
|
4
4
|
var chunkVIX5OA2V_cjs = require('../../chunk-VIX5OA2V.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "GET_BRANCH_ROUTE", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkELU7GCBF_cjs.GET_BRANCH_ROUTE; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "GET_SPAN_ROUTE", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkELU7GCBF_cjs.GET_SPAN_ROUTE; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "GET_TRACE_LIGHT_ROUTE", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkELU7GCBF_cjs.GET_TRACE_LIGHT_ROUTE; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "GET_TRACE_ROUTE", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkELU7GCBF_cjs.GET_TRACE_ROUTE; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "GET_TRACE_TRAJECTORY_ROUTE", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkELU7GCBF_cjs.GET_TRACE_TRAJECTORY_ROUTE; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "LIST_BRANCHES_ROUTE", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkELU7GCBF_cjs.LIST_BRANCHES_ROUTE; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "LIST_SCORES_BY_SPAN_ROUTE", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkELU7GCBF_cjs.LIST_SCORES_BY_SPAN_ROUTE; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "LIST_TRACES_ROUTE", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkELU7GCBF_cjs.LIST_TRACES_ROUTE; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "SCORE_TRACES_ROUTE", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkELU7GCBF_cjs.SCORE_TRACES_ROUTE; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "CREATE_FEEDBACK", {
|
|
45
45
|
enumerable: true,
|
|
@@ -109,217 +109,13 @@ export declare const LIST_TRACES_ROUTE: import("../server-adapter").ServerRoute<
|
|
|
109
109
|
}, z.core.$strip>>;
|
|
110
110
|
}, z.core.$strip>>, "GET", "/observability/traces">;
|
|
111
111
|
/** Route: GET /observability/branches - paginated branch-anchor span listing across all traces. */
|
|
112
|
-
export declare const LIST_BRANCHES_ROUTE: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
113
|
-
pagination: {
|
|
114
|
-
total: number;
|
|
115
|
-
page: number;
|
|
116
|
-
perPage: number | false;
|
|
117
|
-
hasMore: boolean;
|
|
118
|
-
};
|
|
119
|
-
branches: {
|
|
120
|
-
createdAt: Date;
|
|
121
|
-
updatedAt: Date | null;
|
|
122
|
-
name: string;
|
|
123
|
-
spanType: import("@mastra/core/observability").SpanType;
|
|
124
|
-
isEvent: boolean;
|
|
125
|
-
startedAt: Date;
|
|
126
|
-
traceId: string;
|
|
127
|
-
spanId: string;
|
|
128
|
-
status: import("@mastra/core/storage").TraceStatus;
|
|
129
|
-
experimentId?: string | null | undefined;
|
|
130
|
-
attributes?: Record<string, unknown> | null | undefined;
|
|
131
|
-
links?: unknown[] | null | undefined;
|
|
132
|
-
input?: unknown;
|
|
133
|
-
output?: unknown;
|
|
134
|
-
error?: unknown;
|
|
135
|
-
endedAt?: Date | null | undefined;
|
|
136
|
-
requestContext?: Record<string, unknown> | null | undefined;
|
|
137
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
138
|
-
tags?: string[] | null | undefined;
|
|
139
|
-
source?: string | null | undefined;
|
|
140
|
-
entityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
141
|
-
entityId?: string | null | undefined;
|
|
142
|
-
entityName?: string | null | undefined;
|
|
143
|
-
parentEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
144
|
-
parentEntityId?: string | null | undefined;
|
|
145
|
-
parentEntityName?: string | null | undefined;
|
|
146
|
-
rootEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
147
|
-
rootEntityId?: string | null | undefined;
|
|
148
|
-
rootEntityName?: string | null | undefined;
|
|
149
|
-
userId?: string | null | undefined;
|
|
150
|
-
organizationId?: string | null | undefined;
|
|
151
|
-
resourceId?: string | null | undefined;
|
|
152
|
-
runId?: string | null | undefined;
|
|
153
|
-
sessionId?: string | null | undefined;
|
|
154
|
-
threadId?: string | null | undefined;
|
|
155
|
-
requestId?: string | null | undefined;
|
|
156
|
-
environment?: string | null | undefined;
|
|
157
|
-
serviceName?: string | null | undefined;
|
|
158
|
-
scope?: Record<string, unknown> | null | undefined;
|
|
159
|
-
entityVersionId?: string | null | undefined;
|
|
160
|
-
parentEntityVersionId?: string | null | undefined;
|
|
161
|
-
rootEntityVersionId?: string | null | undefined;
|
|
162
|
-
parentSpanId?: string | null | undefined;
|
|
163
|
-
}[];
|
|
164
|
-
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
112
|
+
export declare const LIST_BRANCHES_ROUTE: import("../server-adapter").ServerRoute<Record<string, unknown>, any, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
165
113
|
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
166
|
-
}>, z.core.$strip>, undefined,
|
|
167
|
-
pagination: z.ZodObject<{
|
|
168
|
-
total: z.ZodNumber;
|
|
169
|
-
page: z.ZodNumber;
|
|
170
|
-
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
171
|
-
hasMore: z.ZodBoolean;
|
|
172
|
-
}, z.core.$strip>;
|
|
173
|
-
branches: z.ZodArray<z.ZodObject<{
|
|
174
|
-
createdAt: z.ZodDate;
|
|
175
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
176
|
-
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
-
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
178
|
-
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
179
|
-
input: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
180
|
-
output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
181
|
-
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
182
|
-
endedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
183
|
-
requestContext: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
184
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
185
|
-
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
186
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
|
-
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
188
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
-
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
-
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
191
|
-
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
-
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
-
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
194
|
-
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
|
-
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
-
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
-
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
-
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
-
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
-
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
|
-
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
-
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
206
|
-
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
|
-
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
-
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
-
name: z.ZodString;
|
|
210
|
-
spanType: z.ZodEnum<typeof import("@mastra/core/observability").SpanType>;
|
|
211
|
-
isEvent: z.ZodBoolean;
|
|
212
|
-
startedAt: z.ZodDate;
|
|
213
|
-
parentSpanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
214
|
-
traceId: z.ZodString;
|
|
215
|
-
spanId: z.ZodString;
|
|
216
|
-
status: z.ZodEnum<typeof import("@mastra/core/storage").TraceStatus>;
|
|
217
|
-
}, z.core.$strip>>;
|
|
218
|
-
}, z.core.$strip>>, "GET", "/observability/branches">;
|
|
114
|
+
}>, z.core.$strip>, undefined, any>, "GET", "/observability/branches">;
|
|
219
115
|
/** Route: GET /observability/traces/:traceId/branches/:spanId - retrieve the subtree rooted at a span. */
|
|
220
|
-
export declare const GET_BRANCH_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").
|
|
221
|
-
traceId: z.ZodString;
|
|
222
|
-
spanId: z.ZodString;
|
|
223
|
-
}, z.core.$strip>, z.ZodObject<Readonly<{
|
|
116
|
+
export declare const GET_BRANCH_ROUTE: import("../server-adapter").ServerRoute<any, any, "json", import("../server-adapter").RouteSchemas<any, z.ZodObject<Readonly<{
|
|
224
117
|
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
225
|
-
}>, z.core.$strip>, undefined>,
|
|
226
|
-
traceId: string;
|
|
227
|
-
spans: {
|
|
228
|
-
createdAt: Date;
|
|
229
|
-
updatedAt: Date | null;
|
|
230
|
-
name: string;
|
|
231
|
-
spanType: import("@mastra/core/observability").SpanType;
|
|
232
|
-
isEvent: boolean;
|
|
233
|
-
startedAt: Date;
|
|
234
|
-
traceId: string;
|
|
235
|
-
spanId: string;
|
|
236
|
-
experimentId?: string | null | undefined;
|
|
237
|
-
attributes?: Record<string, unknown> | null | undefined;
|
|
238
|
-
links?: unknown[] | null | undefined;
|
|
239
|
-
input?: unknown;
|
|
240
|
-
output?: unknown;
|
|
241
|
-
error?: unknown;
|
|
242
|
-
endedAt?: Date | null | undefined;
|
|
243
|
-
requestContext?: Record<string, unknown> | null | undefined;
|
|
244
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
245
|
-
tags?: string[] | null | undefined;
|
|
246
|
-
source?: string | null | undefined;
|
|
247
|
-
entityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
248
|
-
entityId?: string | null | undefined;
|
|
249
|
-
entityName?: string | null | undefined;
|
|
250
|
-
parentEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
251
|
-
parentEntityId?: string | null | undefined;
|
|
252
|
-
parentEntityName?: string | null | undefined;
|
|
253
|
-
rootEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
|
|
254
|
-
rootEntityId?: string | null | undefined;
|
|
255
|
-
rootEntityName?: string | null | undefined;
|
|
256
|
-
userId?: string | null | undefined;
|
|
257
|
-
organizationId?: string | null | undefined;
|
|
258
|
-
resourceId?: string | null | undefined;
|
|
259
|
-
runId?: string | null | undefined;
|
|
260
|
-
sessionId?: string | null | undefined;
|
|
261
|
-
threadId?: string | null | undefined;
|
|
262
|
-
requestId?: string | null | undefined;
|
|
263
|
-
environment?: string | null | undefined;
|
|
264
|
-
serviceName?: string | null | undefined;
|
|
265
|
-
scope?: Record<string, unknown> | null | undefined;
|
|
266
|
-
entityVersionId?: string | null | undefined;
|
|
267
|
-
parentEntityVersionId?: string | null | undefined;
|
|
268
|
-
rootEntityVersionId?: string | null | undefined;
|
|
269
|
-
parentSpanId?: string | null | undefined;
|
|
270
|
-
}[];
|
|
271
|
-
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
272
|
-
traceId: z.ZodString;
|
|
273
|
-
spanId: z.ZodString;
|
|
274
|
-
}, z.core.$strip>, z.ZodObject<Readonly<{
|
|
275
|
-
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
276
|
-
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
277
|
-
traceId: z.ZodString;
|
|
278
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
279
|
-
createdAt: z.ZodDate;
|
|
280
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
281
|
-
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
|
-
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
283
|
-
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
284
|
-
input: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
285
|
-
output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
286
|
-
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
287
|
-
endedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
288
|
-
requestContext: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
289
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
290
|
-
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
291
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
-
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
293
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
294
|
-
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
295
|
-
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
296
|
-
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
-
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
|
-
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
|
|
299
|
-
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
300
|
-
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
-
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
|
-
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
|
-
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
-
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
-
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
-
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
|
-
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
311
|
-
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
-
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
-
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
314
|
-
name: z.ZodString;
|
|
315
|
-
spanType: z.ZodEnum<typeof import("@mastra/core/observability").SpanType>;
|
|
316
|
-
isEvent: z.ZodBoolean;
|
|
317
|
-
startedAt: z.ZodDate;
|
|
318
|
-
parentSpanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
|
-
traceId: z.ZodString;
|
|
320
|
-
spanId: z.ZodString;
|
|
321
|
-
}, z.core.$strip>>;
|
|
322
|
-
}, z.core.$strip>>, "GET", "/observability/traces/:traceId/branches/:spanId">;
|
|
118
|
+
}>, z.core.$strip>, undefined, any>, "GET", "/observability/traces/:traceId/branches/:spanId">;
|
|
323
119
|
/** Route: GET /observability/traces/:traceId - retrieve a single trace with all spans. */
|
|
324
120
|
export declare const GET_TRACE_ROUTE: import("../server-adapter").ServerRoute<{
|
|
325
121
|
traceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAa3B,cAAc,+BAA+B,CAAC;AAwE9C,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDA+B5B,CAAC;AAEH,mGAAmG;AACnG,eAAO,MAAM,mBAAmB;;sEAyB9B,CAAC;AAEH,0GAA0G;AAC1G,eAAO,MAAM,gBAAgB;;8FA0B3B,CAAC;AAEH,0FAA0F;AAC1F,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DAwB1B,CAAC;AAEH,kGAAkG;AAClG,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAyBhC,CAAC;AAEH,qGAAqG;AACrG,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EAwBzB,CAAC;AAEH,8FAA8F;AAC9F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;uEA8BrC,CAAC;AAEH,yGAAyG;AACzG,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;0DAwC7B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EA2BpC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GET_BRANCH_ROUTE, GET_SPAN_ROUTE, GET_TRACE_LIGHT_ROUTE, GET_TRACE_ROUTE, GET_TRACE_TRAJECTORY_ROUTE, LIST_BRANCHES_ROUTE, LIST_SCORES_BY_SPAN_ROUTE, LIST_TRACES_ROUTE, SCORE_TRACES_ROUTE } from '../../chunk-
|
|
1
|
+
export { GET_BRANCH_ROUTE, GET_SPAN_ROUTE, GET_TRACE_LIGHT_ROUTE, GET_TRACE_ROUTE, GET_TRACE_TRAJECTORY_ROUTE, LIST_BRANCHES_ROUTE, LIST_SCORES_BY_SPAN_ROUTE, LIST_TRACES_ROUTE, SCORE_TRACES_ROUTE } from '../../chunk-V5AXCSSN.js';
|
|
2
2
|
export { CREATE_FEEDBACK, CREATE_SCORE, 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, LIST_FEEDBACK, LIST_LOGS, LIST_SCORES, NEW_ROUTES } from '../../chunk-YWORLTQM.js';
|
|
3
3
|
//# sourceMappingURL=observability.js.map
|
|
4
4
|
//# sourceMappingURL=observability.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYF6DVWNN_cjs = require('../../chunk-YF6DVWNN.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CREATE_RESPONSE_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYF6DVWNN_cjs.CREATE_RESPONSE_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DELETE_RESPONSE_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYF6DVWNN_cjs.DELETE_RESPONSE_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "GET_RESPONSE_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYF6DVWNN_cjs.GET_RESPONSE_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=responses.cjs.map
|
|
20
20
|
//# sourceMappingURL=responses.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CREATE_RESPONSE_ROUTE, DELETE_RESPONSE_ROUTE, GET_RESPONSE_ROUTE } from '../../chunk-
|
|
1
|
+
export { CREATE_RESPONSE_ROUTE, DELETE_RESPONSE_ROUTE, GET_RESPONSE_ROUTE } from '../../chunk-NVM46NSG.js';
|
|
2
2
|
//# sourceMappingURL=responses.js.map
|
|
3
3
|
//# sourceMappingURL=responses.js.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPJYQMPXT_cjs = require('../../chunk-PJYQMPXT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "deleteResponseTurnRecord", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkPJYQMPXT_cjs.deleteResponseTurnRecord; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "findConversationThreadAcrossAgents", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPJYQMPXT_cjs.findConversationThreadAcrossAgents; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "findResponseTurnRecord", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPJYQMPXT_cjs.findResponseTurnRecord; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "findResponseTurnRecordAcrossAgents", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPJYQMPXT_cjs.findResponseTurnRecordAcrossAgents; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getAgentMemoryStore", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPJYQMPXT_cjs.getAgentMemoryStore; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "persistResponseTurnRecord", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPJYQMPXT_cjs.persistResponseTurnRecord; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveResponseTurnMessagesForStorage", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPJYQMPXT_cjs.resolveResponseTurnMessagesForStorage; }
|
|
34
34
|
});
|
|
35
35
|
//# sourceMappingURL=responses.storage.cjs.map
|
|
36
36
|
//# sourceMappingURL=responses.storage.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { deleteResponseTurnRecord, findConversationThreadAcrossAgents, findResponseTurnRecord, findResponseTurnRecordAcrossAgents, getAgentMemoryStore, persistResponseTurnRecord, resolveResponseTurnMessagesForStorage } from '../../chunk-
|
|
1
|
+
export { deleteResponseTurnRecord, findConversationThreadAcrossAgents, findResponseTurnRecord, findResponseTurnRecordAcrossAgents, getAgentMemoryStore, persistResponseTurnRecord, resolveResponseTurnMessagesForStorage } from '../../chunk-DFSUBEGE.js';
|
|
2
2
|
//# sourceMappingURL=responses.storage.js.map
|
|
3
3
|
//# sourceMappingURL=responses.storage.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDLYZIVMO_cjs = require('../../chunk-DLYZIVMO.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "computeNextFireAt", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkDLYZIVMO_cjs.computeNextFireAt; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=schedules-workflows-shim.cjs.map
|
|
12
|
+
//# sourceMappingURL=schedules-workflows-shim.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schedules-workflows-shim.cjs"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe re-export of `computeNextFireAt` from `@mastra/core/workflows`.
|
|
3
|
+
*
|
|
4
|
+
* Why this shim exists:
|
|
5
|
+
* `computeNextFireAt` was introduced in `@mastra/core@1.32.0`. Earlier
|
|
6
|
+
* versions of `@mastra/core` ship `@mastra/core/workflows` but do not export
|
|
7
|
+
* this function. A direct named import fails at ESM link time when this
|
|
8
|
+
* version of `@mastra/server` is paired with `@mastra/core < 1.32.0`, taking
|
|
9
|
+
* the entire user bundle down before any code runs.
|
|
10
|
+
*
|
|
11
|
+
* A namespace import tolerates missing names. We expose the real function
|
|
12
|
+
* when available and fall back to a function that throws a clear error
|
|
13
|
+
* otherwise — schedules require new-core support anyway, so loud failure at
|
|
14
|
+
* the call site is far better than silent corruption.
|
|
15
|
+
*
|
|
16
|
+
* Typed as `any` on purpose (see ./observability-storage-schemas.ts for
|
|
17
|
+
* the same rationale): keeps the emitted `.d.ts` free of names that don't
|
|
18
|
+
* exist in older cores.
|
|
19
|
+
*/
|
|
20
|
+
export declare const computeNextFireAt: any;
|
|
21
|
+
//# sourceMappingURL=schedules-workflows-shim.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedules-workflows-shim.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/schedules-workflows-shim.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH,eAAO,MAAM,iBAAiB,EAAE,GAO5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schedules-workflows-shim.js"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUWBU3GWI_cjs = require('../../chunk-UWBU3GWI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "GET_SCHEDULE_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkUWBU3GWI_cjs.GET_SCHEDULE_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LIST_SCHEDULES_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUWBU3GWI_cjs.LIST_SCHEDULES_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "LIST_SCHEDULE_TRIGGERS_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUWBU3GWI_cjs.LIST_SCHEDULE_TRIGGERS_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PAUSE_SCHEDULE_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkUWBU3GWI_cjs.PAUSE_SCHEDULE_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "RESUME_SCHEDULE_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkUWBU3GWI_cjs.RESUME_SCHEDULE_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=schedules.cjs.map
|
|
28
28
|
//# sourceMappingURL=schedules.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/schedules.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/schedules.ts"],"names":[],"mappings":"AAuEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAiC/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAqB7B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA+BvC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EA0B/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EA8BhC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GET_SCHEDULE_ROUTE, LIST_SCHEDULES_ROUTE, LIST_SCHEDULE_TRIGGERS_ROUTE, PAUSE_SCHEDULE_ROUTE, RESUME_SCHEDULE_ROUTE } from '../../chunk-
|
|
1
|
+
export { GET_SCHEDULE_ROUTE, LIST_SCHEDULES_ROUTE, LIST_SCHEDULE_TRIGGERS_ROUTE, PAUSE_SCHEDULE_ROUTE, RESUME_SCHEDULE_ROUTE } from '../../chunk-H656FJUZ.js';
|
|
2
2
|
//# sourceMappingURL=schedules.js.map
|
|
3
3
|
//# sourceMappingURL=schedules.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkF6MVX6E6_cjs = require('../../chunk-F6MVX6E6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "GET_SCORER_ROUTE", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkF6MVX6E6_cjs.GET_SCORER_ROUTE; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LIST_SCORERS_ROUTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkF6MVX6E6_cjs.LIST_SCORERS_ROUTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "LIST_SCORES_BY_ENTITY_ID_ROUTE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkF6MVX6E6_cjs.LIST_SCORES_BY_ENTITY_ID_ROUTE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LIST_SCORES_BY_RUN_ID_ROUTE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkF6MVX6E6_cjs.LIST_SCORES_BY_RUN_ID_ROUTE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LIST_SCORES_BY_SCORER_ID_ROUTE", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkF6MVX6E6_cjs.LIST_SCORES_BY_SCORER_ID_ROUTE; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SAVE_SCORE_ROUTE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkF6MVX6E6_cjs.SAVE_SCORE_ROUTE; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=scores.cjs.map
|
|
32
32
|
//# sourceMappingURL=scores.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GET_SCORER_ROUTE, LIST_SCORERS_ROUTE, LIST_SCORES_BY_ENTITY_ID_ROUTE, LIST_SCORES_BY_RUN_ID_ROUTE, LIST_SCORES_BY_SCORER_ID_ROUTE, SAVE_SCORE_ROUTE } from '../../chunk-
|
|
1
|
+
export { GET_SCORER_ROUTE, LIST_SCORERS_ROUTE, LIST_SCORES_BY_ENTITY_ID_ROUTE, LIST_SCORES_BY_RUN_ID_ROUTE, LIST_SCORES_BY_SCORER_ID_ROUTE, SAVE_SCORE_ROUTE } from '../../chunk-YEAIZPBY.js';
|
|
2
2
|
//# sourceMappingURL=scores.js.map
|
|
3
3
|
//# sourceMappingURL=scores.js.map
|