@mastra/server 0.0.0-fix-11329-windows-path-20251222155941 → 0.0.0-fix-local-pkg-cwd-20251226155239
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 +240 -3
- package/dist/{chunk-S3TIWWQL.cjs → chunk-3MN73W4B.cjs} +22 -18
- package/dist/chunk-3MN73W4B.cjs.map +1 -0
- package/dist/{chunk-FYY54HZC.js → chunk-3OUPQHSX.js} +12 -8
- package/dist/chunk-3OUPQHSX.js.map +1 -0
- package/dist/{chunk-DW3WE4M4.js → chunk-3REGEJEN.js} +4 -4
- package/dist/{chunk-DW3WE4M4.js.map → chunk-3REGEJEN.js.map} +1 -1
- package/dist/chunk-3W67K7YE.js +13 -0
- package/dist/chunk-3W67K7YE.js.map +1 -0
- package/dist/{chunk-Q7NPRJRV.cjs → chunk-4EYONQIW.cjs} +9 -15
- package/dist/chunk-4EYONQIW.cjs.map +1 -0
- package/dist/{chunk-AZIH2QEC.js → chunk-5NFRDYFN.js} +9 -15
- package/dist/chunk-5NFRDYFN.js.map +1 -0
- package/dist/{chunk-3SFLFUKY.js → chunk-5NXQ6QXL.js} +4 -4
- package/dist/{chunk-3SFLFUKY.js.map → chunk-5NXQ6QXL.js.map} +1 -1
- package/dist/{chunk-C3UIIRAT.cjs → chunk-5ZYHM57F.cjs} +39 -39
- package/dist/{chunk-C3UIIRAT.cjs.map → chunk-5ZYHM57F.cjs.map} +1 -1
- package/dist/{chunk-KPSSRYGH.js → chunk-6HKMJXTF.js} +3 -3
- package/dist/chunk-6HKMJXTF.js.map +1 -0
- package/dist/{chunk-I6LR6CPC.cjs → chunk-AVOFMAUS.cjs} +10 -10
- package/dist/{chunk-I6LR6CPC.cjs.map → chunk-AVOFMAUS.cjs.map} +1 -1
- package/dist/{chunk-X43DWDXB.cjs → chunk-B35F4QEM.cjs} +22 -22
- package/dist/{chunk-X43DWDXB.cjs.map → chunk-B35F4QEM.cjs.map} +1 -1
- package/dist/{chunk-7KOS32XA.cjs → chunk-BVIEHV3I.cjs} +96 -96
- package/dist/{chunk-7KOS32XA.cjs.map → chunk-BVIEHV3I.cjs.map} +1 -1
- package/dist/{chunk-HAJOEDNB.js → chunk-CTOZHWSD.js} +32 -12
- package/dist/chunk-CTOZHWSD.js.map +1 -0
- package/dist/{chunk-XW2HXQDO.js → chunk-DUZRZLVR.js} +3 -3
- package/dist/{chunk-XW2HXQDO.js.map → chunk-DUZRZLVR.js.map} +1 -1
- package/dist/{chunk-2WMEM53H.js → chunk-E4ZPLXZT.js} +5 -5
- package/dist/{chunk-2WMEM53H.js.map → chunk-E4ZPLXZT.js.map} +1 -1
- package/dist/{chunk-253HVIIC.js → chunk-ER232COB.js} +6262 -923
- package/dist/chunk-ER232COB.js.map +1 -0
- package/dist/{chunk-SXVANU23.js → chunk-FEEM6QFN.js} +60 -5
- package/dist/chunk-FEEM6QFN.js.map +1 -0
- package/dist/chunk-G2AMUTU4.js +250 -0
- package/dist/chunk-G2AMUTU4.js.map +1 -0
- package/dist/{chunk-BNGT3NIC.cjs → chunk-G3KUL3RL.cjs} +26 -26
- package/dist/{chunk-BNGT3NIC.cjs.map → chunk-G3KUL3RL.cjs.map} +1 -1
- package/dist/{chunk-LQSZ4FJJ.cjs → chunk-IQEVRCM6.cjs} +37 -37
- package/dist/{chunk-LQSZ4FJJ.cjs.map → chunk-IQEVRCM6.cjs.map} +1 -1
- package/dist/{chunk-PUFCKXFW.cjs → chunk-KEW7MXUS.cjs} +11 -11
- package/dist/{chunk-PUFCKXFW.cjs.map → chunk-KEW7MXUS.cjs.map} +1 -1
- package/dist/{chunk-LKTCAPBD.cjs → chunk-L2E5RUVT.cjs} +13 -13
- package/dist/{chunk-LKTCAPBD.cjs.map → chunk-L2E5RUVT.cjs.map} +1 -1
- package/dist/chunk-L7ZFPOGS.js +44 -0
- package/dist/chunk-L7ZFPOGS.js.map +1 -0
- package/dist/chunk-LJ6YRVDI.cjs +15 -0
- package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
- package/dist/{chunk-S5XBFHJL.js → chunk-MXJEVTGK.js} +3 -3
- package/dist/{chunk-S5XBFHJL.js.map → chunk-MXJEVTGK.js.map} +1 -1
- package/dist/{chunk-564XV5EO.cjs → chunk-MZXGNP3J.cjs} +60 -60
- package/dist/{chunk-564XV5EO.cjs.map → chunk-MZXGNP3J.cjs.map} +1 -1
- package/dist/{chunk-MQLS6Z7A.js → chunk-OCJ3BRZM.js} +4 -4
- package/dist/{chunk-MQLS6Z7A.js.map → chunk-OCJ3BRZM.js.map} +1 -1
- package/dist/{chunk-UXGQZUYZ.js → chunk-ONN5EA7E.js} +13 -3
- package/dist/chunk-ONN5EA7E.js.map +1 -0
- package/dist/chunk-PNZQCQY4.cjs +252 -0
- package/dist/chunk-PNZQCQY4.cjs.map +1 -0
- package/dist/{chunk-IEYXQTUW.cjs → chunk-Q43HGWK7.cjs} +42 -22
- package/dist/chunk-Q43HGWK7.cjs.map +1 -0
- package/dist/{chunk-K6GBS34H.cjs → chunk-QD5JZUZR.cjs} +6340 -1001
- package/dist/chunk-QD5JZUZR.cjs.map +1 -0
- package/dist/{chunk-BMYZ4DO6.cjs → chunk-R25YJP3Y.cjs} +3 -3
- package/dist/chunk-R25YJP3Y.cjs.map +1 -0
- package/dist/{chunk-6V57U52D.js → chunk-SEP5QUTR.js} +8 -8
- package/dist/{chunk-6V57U52D.js.map → chunk-SEP5QUTR.js.map} +1 -1
- package/dist/chunk-SKVOSYY5.js +178 -0
- package/dist/chunk-SKVOSYY5.js.map +1 -0
- package/dist/{chunk-V5WWQN7P.cjs → chunk-SUKFO7UM.cjs} +13 -2
- package/dist/chunk-SUKFO7UM.cjs.map +1 -0
- package/dist/{chunk-UWRAKVAJ.js → chunk-T2AYFHKB.js} +5 -5
- package/dist/{chunk-UWRAKVAJ.js.map → chunk-T2AYFHKB.js.map} +1 -1
- package/dist/chunk-T4SPG2GP.cjs +82 -0
- package/dist/chunk-T4SPG2GP.cjs.map +1 -0
- package/dist/{chunk-DRUNNM4C.js → chunk-TOGG5Q45.js} +4 -4
- package/dist/{chunk-DRUNNM4C.js.map → chunk-TOGG5Q45.js.map} +1 -1
- package/dist/{chunk-H2RMXG2Q.cjs → chunk-UKRDDBXY.cjs} +62 -4
- package/dist/chunk-UKRDDBXY.cjs.map +1 -0
- package/dist/{chunk-JUYWLFVT.cjs → chunk-VYNS3ZKV.cjs} +5 -5
- package/dist/{chunk-JUYWLFVT.cjs.map → chunk-VYNS3ZKV.cjs.map} +1 -1
- package/dist/{chunk-SRQY5IWD.js → chunk-X5KAQFOV.js} +5 -5
- package/dist/{chunk-SRQY5IWD.js.map → chunk-X5KAQFOV.js.map} +1 -1
- package/dist/chunk-XAVPSRSG.cjs +46 -0
- package/dist/chunk-XAVPSRSG.cjs.map +1 -0
- package/dist/chunk-XOUK3IYU.js +77 -0
- package/dist/chunk-XOUK3IYU.js.map +1 -0
- package/dist/chunk-XWNPRPEW.cjs +184 -0
- package/dist/chunk-XWNPRPEW.cjs.map +1 -0
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +19 -19
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +24 -24
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +6 -2
- package/dist/server/handlers/error.d.ts +12 -0
- package/dist/server/handlers/error.d.ts.map +1 -1
- package/dist/server/handlers/error.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 +9 -9
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +24 -24
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +7 -23
- package/dist/server/handlers/observability.d.ts +90 -93
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.d.ts +7 -7
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +6 -6
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/system.cjs +12 -0
- package/dist/server/handlers/system.cjs.map +1 -0
- package/dist/server/handlers/system.d.ts +7 -0
- package/dist/server/handlers/system.d.ts.map +1 -0
- package/dist/server/handlers/system.js +3 -0
- package/dist/server/handlers/system.js.map +1 -0
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vector.cjs +13 -13
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.d.ts +6 -6
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +27 -27
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +27 -27
- package/dist/server/handlers.js +12 -12
- package/dist/server/schemas/agents.d.ts +3 -3
- package/dist/server/schemas/scores.d.ts +6 -6
- package/dist/server/schemas/system.d.ts +36 -0
- package/dist/server/schemas/system.d.ts.map +1 -0
- package/dist/server/server-adapter/index.cjs +164 -147
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.js +22 -17
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/routes/index.d.ts +1 -1
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/route-builder.d.ts +60 -1
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/system.d.ts +12 -0
- package/dist/server/server-adapter/routes/system.d.ts.map +1 -0
- package/dist/{token-6GSAFR2W-KVDFAJ2M-SDYXODLX.cjs → token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs} +8 -8
- package/dist/{token-6GSAFR2W-KVDFAJ2M-SDYXODLX.cjs.map → token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs.map} +1 -1
- package/dist/{token-6GSAFR2W-KVDFAJ2M-LNX5VF3I.js → token-6GSAFR2W-K2BTU23I-NW33N3NU.js} +5 -5
- package/dist/{token-6GSAFR2W-KVDFAJ2M-LNX5VF3I.js.map → token-6GSAFR2W-K2BTU23I-NW33N3NU.js.map} +1 -1
- package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js +61 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js.map +1 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs +63 -0
- package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs +10 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js +8 -0
- package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js.map +1 -0
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs +10 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map → token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs.map} +1 -1
- package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js +8 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map → token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js.map} +1 -1
- package/package.json +6 -6
- package/dist/chunk-253HVIIC.js.map +0 -1
- package/dist/chunk-AZIH2QEC.js.map +0 -1
- package/dist/chunk-BMYZ4DO6.cjs.map +0 -1
- package/dist/chunk-FYY54HZC.js.map +0 -1
- package/dist/chunk-GFF2I6UD.js +0 -354
- package/dist/chunk-GFF2I6UD.js.map +0 -1
- package/dist/chunk-H2RMXG2Q.cjs.map +0 -1
- package/dist/chunk-HAJOEDNB.js.map +0 -1
- package/dist/chunk-IEYXQTUW.cjs.map +0 -1
- package/dist/chunk-K6GBS34H.cjs.map +0 -1
- package/dist/chunk-KPSSRYGH.js.map +0 -1
- package/dist/chunk-Q7NPRJRV.cjs.map +0 -1
- package/dist/chunk-S3TIWWQL.cjs.map +0 -1
- package/dist/chunk-SXVANU23.js.map +0 -1
- package/dist/chunk-TYZ6ZISQ.cjs +0 -368
- package/dist/chunk-TYZ6ZISQ.cjs.map +0 -1
- package/dist/chunk-UXGQZUYZ.js.map +0 -1
- package/dist/chunk-V5WWQN7P.cjs.map +0 -1
- package/dist/server/schemas/observability.d.ts +0 -402
- package/dist/server/schemas/observability.d.ts.map +0 -1
- package/dist/token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js +0 -8
- package/dist/token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs +0 -10
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Schema for AI span types
|
|
4
|
-
* Defines all possible span types in the observability system
|
|
5
|
-
*/
|
|
6
|
-
export declare const aiSpanTypeSchema: z.ZodEnum<["agent_run", "generic", "model_generation", "model_step", "model_chunk", "mcp_tool_call", "processor_run", "tool_call", "workflow_run", "workflow_step", "workflow_conditional", "workflow_conditional_eval", "workflow_parallel", "workflow_loop", "workflow_sleep", "workflow_wait_event"]>;
|
|
7
|
-
/**
|
|
8
|
-
* Schema for AI span record
|
|
9
|
-
* Represents a single trace span with all its metadata
|
|
10
|
-
*/
|
|
11
|
-
export declare const aiSpanRecordSchema: z.ZodObject<{
|
|
12
|
-
traceId: z.ZodString;
|
|
13
|
-
spanId: z.ZodString;
|
|
14
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
15
|
-
name: z.ZodString;
|
|
16
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17
|
-
spanType: z.ZodEnum<["agent_run", "generic", "model_generation", "model_step", "model_chunk", "mcp_tool_call", "processor_run", "tool_call", "workflow_run", "workflow_step", "workflow_conditional", "workflow_conditional_eval", "workflow_parallel", "workflow_loop", "workflow_sleep", "workflow_wait_event"]>;
|
|
18
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
20
|
-
links: z.ZodAny;
|
|
21
|
-
startedAt: z.ZodDate;
|
|
22
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
23
|
-
createdAt: z.ZodDate;
|
|
24
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
25
|
-
input: z.ZodAny;
|
|
26
|
-
output: z.ZodAny;
|
|
27
|
-
error: z.ZodAny;
|
|
28
|
-
isEvent: z.ZodBoolean;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
metadata: Record<string, any> | null;
|
|
31
|
-
traceId: string;
|
|
32
|
-
parentSpanId: string | null;
|
|
33
|
-
name: string;
|
|
34
|
-
createdAt: Date;
|
|
35
|
-
updatedAt: Date | null;
|
|
36
|
-
endedAt: Date | null;
|
|
37
|
-
scope: Record<string, any> | null;
|
|
38
|
-
spanId: string;
|
|
39
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
40
|
-
attributes: Record<string, any> | null;
|
|
41
|
-
startedAt: Date;
|
|
42
|
-
isEvent: boolean;
|
|
43
|
-
error?: any;
|
|
44
|
-
output?: any;
|
|
45
|
-
input?: any;
|
|
46
|
-
links?: any;
|
|
47
|
-
}, {
|
|
48
|
-
metadata: Record<string, any> | null;
|
|
49
|
-
traceId: string;
|
|
50
|
-
parentSpanId: string | null;
|
|
51
|
-
name: string;
|
|
52
|
-
createdAt: Date;
|
|
53
|
-
updatedAt: Date | null;
|
|
54
|
-
endedAt: Date | null;
|
|
55
|
-
scope: Record<string, any> | null;
|
|
56
|
-
spanId: string;
|
|
57
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
58
|
-
attributes: Record<string, any> | null;
|
|
59
|
-
startedAt: Date;
|
|
60
|
-
isEvent: boolean;
|
|
61
|
-
error?: any;
|
|
62
|
-
output?: any;
|
|
63
|
-
input?: any;
|
|
64
|
-
links?: any;
|
|
65
|
-
}>;
|
|
66
|
-
/**
|
|
67
|
-
* Schema for paginated AI traces response
|
|
68
|
-
* Returns pagination info and array of trace spans
|
|
69
|
-
*/
|
|
70
|
-
export declare const getAITracesPaginatedResponseSchema: z.ZodObject<{
|
|
71
|
-
pagination: z.ZodObject<{
|
|
72
|
-
total: z.ZodNumber;
|
|
73
|
-
page: z.ZodNumber;
|
|
74
|
-
perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
|
|
75
|
-
hasMore: z.ZodBoolean;
|
|
76
|
-
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
total: number;
|
|
78
|
-
page: number;
|
|
79
|
-
perPage: number | false;
|
|
80
|
-
hasMore: boolean;
|
|
81
|
-
}, {
|
|
82
|
-
total: number;
|
|
83
|
-
page: number;
|
|
84
|
-
perPage: number | false;
|
|
85
|
-
hasMore: boolean;
|
|
86
|
-
}>;
|
|
87
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
88
|
-
traceId: z.ZodString;
|
|
89
|
-
spanId: z.ZodString;
|
|
90
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
-
spanType: z.ZodEnum<["agent_run", "generic", "model_generation", "model_step", "model_chunk", "mcp_tool_call", "processor_run", "tool_call", "workflow_run", "workflow_step", "workflow_conditional", "workflow_conditional_eval", "workflow_parallel", "workflow_loop", "workflow_sleep", "workflow_wait_event"]>;
|
|
94
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
95
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
96
|
-
links: z.ZodAny;
|
|
97
|
-
startedAt: z.ZodDate;
|
|
98
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
99
|
-
createdAt: z.ZodDate;
|
|
100
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
101
|
-
input: z.ZodAny;
|
|
102
|
-
output: z.ZodAny;
|
|
103
|
-
error: z.ZodAny;
|
|
104
|
-
isEvent: z.ZodBoolean;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
metadata: Record<string, any> | null;
|
|
107
|
-
traceId: string;
|
|
108
|
-
parentSpanId: string | null;
|
|
109
|
-
name: string;
|
|
110
|
-
createdAt: Date;
|
|
111
|
-
updatedAt: Date | null;
|
|
112
|
-
endedAt: Date | null;
|
|
113
|
-
scope: Record<string, any> | null;
|
|
114
|
-
spanId: string;
|
|
115
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
116
|
-
attributes: Record<string, any> | null;
|
|
117
|
-
startedAt: Date;
|
|
118
|
-
isEvent: boolean;
|
|
119
|
-
error?: any;
|
|
120
|
-
output?: any;
|
|
121
|
-
input?: any;
|
|
122
|
-
links?: any;
|
|
123
|
-
}, {
|
|
124
|
-
metadata: Record<string, any> | null;
|
|
125
|
-
traceId: string;
|
|
126
|
-
parentSpanId: string | null;
|
|
127
|
-
name: string;
|
|
128
|
-
createdAt: Date;
|
|
129
|
-
updatedAt: Date | null;
|
|
130
|
-
endedAt: Date | null;
|
|
131
|
-
scope: Record<string, any> | null;
|
|
132
|
-
spanId: string;
|
|
133
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
134
|
-
attributes: Record<string, any> | null;
|
|
135
|
-
startedAt: Date;
|
|
136
|
-
isEvent: boolean;
|
|
137
|
-
error?: any;
|
|
138
|
-
output?: any;
|
|
139
|
-
input?: any;
|
|
140
|
-
links?: any;
|
|
141
|
-
}>, "many">;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
pagination: {
|
|
144
|
-
total: number;
|
|
145
|
-
page: number;
|
|
146
|
-
perPage: number | false;
|
|
147
|
-
hasMore: boolean;
|
|
148
|
-
};
|
|
149
|
-
spans: {
|
|
150
|
-
metadata: Record<string, any> | null;
|
|
151
|
-
traceId: string;
|
|
152
|
-
parentSpanId: string | null;
|
|
153
|
-
name: string;
|
|
154
|
-
createdAt: Date;
|
|
155
|
-
updatedAt: Date | null;
|
|
156
|
-
endedAt: Date | null;
|
|
157
|
-
scope: Record<string, any> | null;
|
|
158
|
-
spanId: string;
|
|
159
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
160
|
-
attributes: Record<string, any> | null;
|
|
161
|
-
startedAt: Date;
|
|
162
|
-
isEvent: boolean;
|
|
163
|
-
error?: any;
|
|
164
|
-
output?: any;
|
|
165
|
-
input?: any;
|
|
166
|
-
links?: any;
|
|
167
|
-
}[];
|
|
168
|
-
}, {
|
|
169
|
-
pagination: {
|
|
170
|
-
total: number;
|
|
171
|
-
page: number;
|
|
172
|
-
perPage: number | false;
|
|
173
|
-
hasMore: boolean;
|
|
174
|
-
};
|
|
175
|
-
spans: {
|
|
176
|
-
metadata: Record<string, any> | null;
|
|
177
|
-
traceId: string;
|
|
178
|
-
parentSpanId: string | null;
|
|
179
|
-
name: string;
|
|
180
|
-
createdAt: Date;
|
|
181
|
-
updatedAt: Date | null;
|
|
182
|
-
endedAt: Date | null;
|
|
183
|
-
scope: Record<string, any> | null;
|
|
184
|
-
spanId: string;
|
|
185
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
186
|
-
attributes: Record<string, any> | null;
|
|
187
|
-
startedAt: Date;
|
|
188
|
-
isEvent: boolean;
|
|
189
|
-
error?: any;
|
|
190
|
-
output?: any;
|
|
191
|
-
input?: any;
|
|
192
|
-
links?: any;
|
|
193
|
-
}[];
|
|
194
|
-
}>;
|
|
195
|
-
export declare const traceIdPathParams: z.ZodObject<{
|
|
196
|
-
traceId: z.ZodString;
|
|
197
|
-
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
traceId: string;
|
|
199
|
-
}, {
|
|
200
|
-
traceId: string;
|
|
201
|
-
}>;
|
|
202
|
-
export declare const traceSpanPathParams: z.ZodObject<{
|
|
203
|
-
traceId: z.ZodString;
|
|
204
|
-
} & {
|
|
205
|
-
spanId: z.ZodString;
|
|
206
|
-
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
traceId: string;
|
|
208
|
-
spanId: string;
|
|
209
|
-
}, {
|
|
210
|
-
traceId: string;
|
|
211
|
-
spanId: string;
|
|
212
|
-
}>;
|
|
213
|
-
export declare const scoreTracesBodySchema: z.ZodObject<{
|
|
214
|
-
scorerName: z.ZodString;
|
|
215
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
216
|
-
traceId: z.ZodString;
|
|
217
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
218
|
-
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
traceId: string;
|
|
220
|
-
spanId?: string | undefined;
|
|
221
|
-
}, {
|
|
222
|
-
traceId: string;
|
|
223
|
-
spanId?: string | undefined;
|
|
224
|
-
}>, "many">;
|
|
225
|
-
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
scorerName: string;
|
|
227
|
-
targets: {
|
|
228
|
-
traceId: string;
|
|
229
|
-
spanId?: string | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
}, {
|
|
232
|
-
scorerName: string;
|
|
233
|
-
targets: {
|
|
234
|
-
traceId: string;
|
|
235
|
-
spanId?: string | undefined;
|
|
236
|
-
}[];
|
|
237
|
-
}>;
|
|
238
|
-
export declare const getAITraceResponseSchema: z.ZodObject<{
|
|
239
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
240
|
-
traceId: z.ZodString;
|
|
241
|
-
spanId: z.ZodString;
|
|
242
|
-
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
243
|
-
name: z.ZodString;
|
|
244
|
-
scope: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
245
|
-
spanType: z.ZodEnum<["agent_run", "generic", "model_generation", "model_step", "model_chunk", "mcp_tool_call", "processor_run", "tool_call", "workflow_run", "workflow_step", "workflow_conditional", "workflow_conditional_eval", "workflow_parallel", "workflow_loop", "workflow_sleep", "workflow_wait_event"]>;
|
|
246
|
-
attributes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
247
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
248
|
-
links: z.ZodAny;
|
|
249
|
-
startedAt: z.ZodDate;
|
|
250
|
-
endedAt: z.ZodNullable<z.ZodDate>;
|
|
251
|
-
createdAt: z.ZodDate;
|
|
252
|
-
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
253
|
-
input: z.ZodAny;
|
|
254
|
-
output: z.ZodAny;
|
|
255
|
-
error: z.ZodAny;
|
|
256
|
-
isEvent: z.ZodBoolean;
|
|
257
|
-
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
metadata: Record<string, any> | null;
|
|
259
|
-
traceId: string;
|
|
260
|
-
parentSpanId: string | null;
|
|
261
|
-
name: string;
|
|
262
|
-
createdAt: Date;
|
|
263
|
-
updatedAt: Date | null;
|
|
264
|
-
endedAt: Date | null;
|
|
265
|
-
scope: Record<string, any> | null;
|
|
266
|
-
spanId: string;
|
|
267
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
268
|
-
attributes: Record<string, any> | null;
|
|
269
|
-
startedAt: Date;
|
|
270
|
-
isEvent: boolean;
|
|
271
|
-
error?: any;
|
|
272
|
-
output?: any;
|
|
273
|
-
input?: any;
|
|
274
|
-
links?: any;
|
|
275
|
-
}, {
|
|
276
|
-
metadata: Record<string, any> | null;
|
|
277
|
-
traceId: string;
|
|
278
|
-
parentSpanId: string | null;
|
|
279
|
-
name: string;
|
|
280
|
-
createdAt: Date;
|
|
281
|
-
updatedAt: Date | null;
|
|
282
|
-
endedAt: Date | null;
|
|
283
|
-
scope: Record<string, any> | null;
|
|
284
|
-
spanId: string;
|
|
285
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
286
|
-
attributes: Record<string, any> | null;
|
|
287
|
-
startedAt: Date;
|
|
288
|
-
isEvent: boolean;
|
|
289
|
-
error?: any;
|
|
290
|
-
output?: any;
|
|
291
|
-
input?: any;
|
|
292
|
-
links?: any;
|
|
293
|
-
}>, "many">;
|
|
294
|
-
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
spans: {
|
|
296
|
-
metadata: Record<string, any> | null;
|
|
297
|
-
traceId: string;
|
|
298
|
-
parentSpanId: string | null;
|
|
299
|
-
name: string;
|
|
300
|
-
createdAt: Date;
|
|
301
|
-
updatedAt: Date | null;
|
|
302
|
-
endedAt: Date | null;
|
|
303
|
-
scope: Record<string, any> | null;
|
|
304
|
-
spanId: string;
|
|
305
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
306
|
-
attributes: Record<string, any> | null;
|
|
307
|
-
startedAt: Date;
|
|
308
|
-
isEvent: boolean;
|
|
309
|
-
error?: any;
|
|
310
|
-
output?: any;
|
|
311
|
-
input?: any;
|
|
312
|
-
links?: any;
|
|
313
|
-
}[];
|
|
314
|
-
}, {
|
|
315
|
-
spans: {
|
|
316
|
-
metadata: Record<string, any> | null;
|
|
317
|
-
traceId: string;
|
|
318
|
-
parentSpanId: string | null;
|
|
319
|
-
name: string;
|
|
320
|
-
createdAt: Date;
|
|
321
|
-
updatedAt: Date | null;
|
|
322
|
-
endedAt: Date | null;
|
|
323
|
-
scope: Record<string, any> | null;
|
|
324
|
-
spanId: string;
|
|
325
|
-
spanType: "agent_run" | "generic" | "model_generation" | "model_step" | "model_chunk" | "mcp_tool_call" | "processor_run" | "tool_call" | "workflow_run" | "workflow_step" | "workflow_conditional" | "workflow_conditional_eval" | "workflow_parallel" | "workflow_loop" | "workflow_sleep" | "workflow_wait_event";
|
|
326
|
-
attributes: Record<string, any> | null;
|
|
327
|
-
startedAt: Date;
|
|
328
|
-
isEvent: boolean;
|
|
329
|
-
error?: any;
|
|
330
|
-
output?: any;
|
|
331
|
-
input?: any;
|
|
332
|
-
links?: any;
|
|
333
|
-
}[];
|
|
334
|
-
}>;
|
|
335
|
-
export declare const scoreTracesResponseSchema: z.ZodObject<{
|
|
336
|
-
status: z.ZodString;
|
|
337
|
-
message: z.ZodString;
|
|
338
|
-
traceCount: z.ZodNumber;
|
|
339
|
-
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
message: string;
|
|
341
|
-
status: string;
|
|
342
|
-
traceCount: number;
|
|
343
|
-
}, {
|
|
344
|
-
message: string;
|
|
345
|
-
status: string;
|
|
346
|
-
traceCount: number;
|
|
347
|
-
}>;
|
|
348
|
-
export declare const listScoresBySpanResponseSchema: z.ZodObject<{
|
|
349
|
-
pagination: z.ZodObject<{
|
|
350
|
-
total: z.ZodNumber;
|
|
351
|
-
page: z.ZodNumber;
|
|
352
|
-
perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
|
|
353
|
-
hasMore: z.ZodBoolean;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
total: number;
|
|
356
|
-
page: number;
|
|
357
|
-
perPage: number | false;
|
|
358
|
-
hasMore: boolean;
|
|
359
|
-
}, {
|
|
360
|
-
total: number;
|
|
361
|
-
page: number;
|
|
362
|
-
perPage: number | false;
|
|
363
|
-
hasMore: boolean;
|
|
364
|
-
}>;
|
|
365
|
-
scores: z.ZodArray<z.ZodUnknown, "many">;
|
|
366
|
-
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
pagination: {
|
|
368
|
-
total: number;
|
|
369
|
-
page: number;
|
|
370
|
-
perPage: number | false;
|
|
371
|
-
hasMore: boolean;
|
|
372
|
-
};
|
|
373
|
-
scores: unknown[];
|
|
374
|
-
}, {
|
|
375
|
-
pagination: {
|
|
376
|
-
total: number;
|
|
377
|
-
page: number;
|
|
378
|
-
perPage: number | false;
|
|
379
|
-
hasMore: boolean;
|
|
380
|
-
};
|
|
381
|
-
scores: unknown[];
|
|
382
|
-
}>;
|
|
383
|
-
export declare const listScoresBySpanQuerySchema: z.ZodObject<{
|
|
384
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
385
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
page: number;
|
|
388
|
-
perPage: number;
|
|
389
|
-
}, {
|
|
390
|
-
page?: number | undefined;
|
|
391
|
-
perPage?: number | undefined;
|
|
392
|
-
}> | z.ZodObject<{
|
|
393
|
-
perPage: z.ZodOptional<z.ZodNumber>;
|
|
394
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
page: number;
|
|
397
|
-
perPage?: number | undefined;
|
|
398
|
-
}, {
|
|
399
|
-
page?: number | undefined;
|
|
400
|
-
perPage?: number | undefined;
|
|
401
|
-
}>;
|
|
402
|
-
//# sourceMappingURL=observability.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/observability.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB;;;GAGG;AACH,eAAO,MAAM,gBAAgB,0SAiB3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;EAE9B,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAAiC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { require_token_util } from './chunk-DW3WE4M4.js';
|
|
2
|
-
|
|
3
|
-
// ../memory/dist/token-util-NEHG7TUY-DJYRKLRD.js
|
|
4
|
-
var tokenUtilNEHG7TUY = require_token_util();
|
|
5
|
-
|
|
6
|
-
export { tokenUtilNEHG7TUY as default };
|
|
7
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map
|
|
8
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-BSQMRUEW.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkLKTCAPBD_cjs = require('./chunk-LKTCAPBD.cjs');
|
|
4
|
-
|
|
5
|
-
// ../memory/dist/token-util-NEHG7TUY-DJYRKLRD.js
|
|
6
|
-
var tokenUtilNEHG7TUY = chunkLKTCAPBD_cjs.require_token_util();
|
|
7
|
-
|
|
8
|
-
module.exports = tokenUtilNEHG7TUY;
|
|
9
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map
|
|
10
|
-
//# sourceMappingURL=token-util-NEHG7TUY-DJYRKLRD-MFJRDVVF.cjs.map
|