@mastra/server 0.0.0-netlify-no-bundle-20251127120354 → 0.0.0-partial-response-backport-20251204204441
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 +137 -656
- package/README.md +1 -1
- package/dist/{chunk-RCCWKKI3.js → chunk-2FBQWGK2.js} +31 -218
- package/dist/chunk-2FBQWGK2.js.map +1 -0
- package/dist/chunk-2S4IMB6E.cjs +130 -0
- package/dist/chunk-2S4IMB6E.cjs.map +1 -0
- package/dist/chunk-3SNGNFUJ.cjs +128 -0
- package/dist/chunk-3SNGNFUJ.cjs.map +1 -0
- package/dist/chunk-4QCXUEAT.js +25 -0
- package/dist/chunk-4QCXUEAT.js.map +1 -0
- package/dist/chunk-67GYDFSB.js +160 -0
- package/dist/chunk-67GYDFSB.js.map +1 -0
- package/dist/chunk-6ZR275MD.cjs +165 -0
- package/dist/chunk-6ZR275MD.cjs.map +1 -0
- package/dist/{chunk-64ITUOXI.cjs → chunk-7NADHFD2.cjs} +2 -2
- package/dist/{chunk-6QWQZI4Q.js.map → chunk-7NADHFD2.cjs.map} +1 -1
- package/dist/chunk-ABRFV4XP.js +83 -0
- package/dist/chunk-ABRFV4XP.js.map +1 -0
- package/dist/chunk-AHB4JCIQ.js +160 -0
- package/dist/chunk-AHB4JCIQ.js.map +1 -0
- package/dist/chunk-AW5BU3RQ.js +192 -0
- package/dist/chunk-AW5BU3RQ.js.map +1 -0
- package/dist/chunk-BATEJLED.js +124 -0
- package/dist/chunk-BATEJLED.js.map +1 -0
- package/dist/{chunk-UXGQZUYZ.js → chunk-CY4TP3FK.js} +3 -3
- package/dist/{chunk-UXGQZUYZ.js.map → chunk-CY4TP3FK.js.map} +1 -1
- package/dist/chunk-EP3JQDPD.cjs +131 -0
- package/dist/chunk-EP3JQDPD.cjs.map +1 -0
- package/dist/chunk-G4PUALCE.cjs +28 -0
- package/dist/chunk-G4PUALCE.cjs.map +1 -0
- package/dist/chunk-I3C4ODGV.cjs +335 -0
- package/dist/chunk-I3C4ODGV.cjs.map +1 -0
- package/dist/{chunk-UZ6CYAOG.cjs → chunk-JOBDMCQL.cjs} +21 -7
- package/dist/chunk-JOBDMCQL.cjs.map +1 -0
- package/dist/chunk-KPDPKARA.cjs +733 -0
- package/dist/chunk-KPDPKARA.cjs.map +1 -0
- package/dist/chunk-LLUOPR3J.js +323 -0
- package/dist/chunk-LLUOPR3J.js.map +1 -0
- package/dist/{chunk-6QWQZI4Q.js → chunk-MMROOK5J.js} +2 -2
- package/dist/chunk-MMROOK5J.js.map +1 -0
- package/dist/chunk-MYR4PVGN.js +123 -0
- package/dist/chunk-MYR4PVGN.js.map +1 -0
- package/dist/chunk-NT5XW5PI.cjs +596 -0
- package/dist/chunk-NT5XW5PI.cjs.map +1 -0
- package/dist/chunk-O5Q5JZMC.cjs +19565 -0
- package/dist/chunk-O5Q5JZMC.cjs.map +1 -0
- package/dist/chunk-PBXWFGEH.js +579 -0
- package/dist/chunk-PBXWFGEH.js.map +1 -0
- package/dist/{chunk-PDVJ2TTM.cjs → chunk-Q4WS5AH4.cjs} +31 -224
- package/dist/chunk-Q4WS5AH4.cjs.map +1 -0
- package/dist/chunk-QQXMIP6C.js +122 -0
- package/dist/chunk-QQXMIP6C.js.map +1 -0
- package/dist/{chunk-V272B7RM.cjs → chunk-QU6N55W6.cjs} +12 -11
- package/dist/chunk-QU6N55W6.cjs.map +1 -0
- package/dist/{chunk-V5WWQN7P.cjs → chunk-RE4RPXT2.cjs} +4 -4
- package/dist/{chunk-V5WWQN7P.cjs.map → chunk-RE4RPXT2.cjs.map} +1 -1
- package/dist/{chunk-YP34EWWK.js → chunk-SHWNNZBL.js} +10 -9
- package/dist/chunk-SHWNNZBL.js.map +1 -0
- package/dist/chunk-SPRRK3P7.cjs +200 -0
- package/dist/chunk-SPRRK3P7.cjs.map +1 -0
- package/dist/chunk-TM6RSSEG.js +711 -0
- package/dist/chunk-TM6RSSEG.js.map +1 -0
- package/dist/{chunk-ER3QM7DD.js → chunk-TOCYBDP2.js} +4 -4
- package/dist/{chunk-ER3QM7DD.js.map → chunk-TOCYBDP2.js.map} +1 -1
- package/dist/chunk-TRGAMKHX.cjs +167 -0
- package/dist/chunk-TRGAMKHX.cjs.map +1 -0
- package/dist/{chunk-G7BPNX2V.js → chunk-VN33BALN.js} +21 -7
- package/dist/chunk-VN33BALN.js.map +1 -0
- package/dist/chunk-VYX6MBSJ.js +909 -0
- package/dist/chunk-VYX6MBSJ.js.map +1 -0
- package/dist/chunk-VZX6AWAA.cjs +938 -0
- package/dist/chunk-VZX6AWAA.cjs.map +1 -0
- package/dist/{chunk-XQPJ63ZD.cjs → chunk-X6C7BUWN.cjs} +4 -4
- package/dist/{chunk-XQPJ63ZD.cjs.map → chunk-X6C7BUWN.cjs.map} +1 -1
- package/dist/chunk-XN74I6VW.cjs +88 -0
- package/dist/chunk-XN74I6VW.cjs.map +1 -0
- package/dist/chunk-XPQZ5C3T.js +19529 -0
- package/dist/chunk-XPQZ5C3T.js.map +1 -0
- package/dist/server/handlers/a2a.cjs +7 -15
- package/dist/server/handlers/a2a.d.ts +10 -492
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +31 -43
- package/dist/server/handlers/agent-builder.d.ts +84 -598
- package/dist/server/handlers/agent-builder.d.ts.map +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +41 -49
- package/dist/server/handlers/agents.d.ts +149 -3275
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +2 -2
- package/dist/server/handlers/error.js +1 -1
- package/dist/server/handlers/legacyWorkflows.cjs +48 -0
- package/dist/server/handlers/legacyWorkflows.cjs.map +1 -0
- package/dist/server/handlers/legacyWorkflows.d.ts +59 -0
- package/dist/server/handlers/legacyWorkflows.d.ts.map +1 -0
- package/dist/server/handlers/legacyWorkflows.js +3 -0
- package/dist/server/handlers/legacyWorkflows.js.map +1 -0
- package/dist/server/handlers/logs.cjs +7 -7
- package/dist/server/handlers/logs.d.ts +27 -135
- package/dist/server/handlers/logs.d.ts.map +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +31 -63
- package/dist/server/handlers/memory.d.ts +103 -934
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability.cjs +8 -24
- package/dist/server/handlers/observability.d.ts +21 -128
- package/dist/server/handlers/observability.d.ts.map +1 -1
- package/dist/server/handlers/observability.js +1 -1
- package/dist/server/handlers/scores.cjs +13 -13
- package/dist/server/handlers/scores.d.ts +141 -110
- package/dist/server/handlers/scores.d.ts.map +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/telemetry.cjs +20 -0
- package/dist/server/handlers/telemetry.cjs.map +1 -0
- package/dist/server/handlers/telemetry.d.ts +33 -0
- package/dist/server/handlers/telemetry.d.ts.map +1 -0
- package/dist/server/handlers/telemetry.js +3 -0
- package/dist/server/handlers/telemetry.js.map +1 -0
- package/dist/server/handlers/tools.cjs +11 -11
- package/dist/server/handlers/tools.d.ts +23 -69
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +3 -11
- package/dist/server/handlers/utils.d.ts +0 -5
- package/dist/server/handlers/utils.d.ts.map +1 -1
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/vector.cjs +7 -31
- package/dist/server/handlers/vector.d.ts +9 -93
- package/dist/server/handlers/vector.d.ts.map +1 -1
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/voice.cjs +9 -21
- package/dist/server/handlers/voice.d.ts +40 -81
- package/dist/server/handlers/voice.d.ts.map +1 -1
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +59 -51
- package/dist/server/handlers/workflows.d.ts +140 -915
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +36 -26
- package/dist/server/handlers.d.ts +2 -0
- package/dist/server/handlers.d.ts.map +1 -1
- package/dist/server/handlers.js +13 -11
- package/dist/server/http-exception.d.ts +5 -0
- package/dist/server/http-exception.d.ts.map +1 -1
- package/dist/server/utils.d.ts +3 -4
- package/dist/server/utils.d.ts.map +1 -1
- package/dist/{token-ZOD6YIQ3.cjs → token-375W3LEI.cjs} +8 -7
- package/dist/{token-VFONFWVS.cjs.map → token-375W3LEI.cjs.map} +1 -1
- package/dist/{token-JGA3ZWAN.js → token-C3IMNCC4.js} +6 -5
- package/dist/{token-GVZ7HRD7.js.map → token-C3IMNCC4.js.map} +1 -1
- package/dist/token-util-CV3RRG6K.cjs +9 -0
- package/dist/{token-util-BLJZJDBZ.cjs.map → token-util-CV3RRG6K.cjs.map} +1 -1
- package/dist/token-util-E5QO2RCL.js +7 -0
- package/dist/{token-util-7R2ZFIXO.js.map → token-util-E5QO2RCL.js.map} +1 -1
- package/package.json +15 -26
- package/dist/chunk-2NW6POYK.cjs +0 -89
- package/dist/chunk-2NW6POYK.cjs.map +0 -1
- package/dist/chunk-4JMHKKV3.cjs +0 -201
- package/dist/chunk-4JMHKKV3.cjs.map +0 -1
- package/dist/chunk-4O2QGUW3.js +0 -354
- package/dist/chunk-4O2QGUW3.js.map +0 -1
- package/dist/chunk-4W2SM6CG.js +0 -294
- package/dist/chunk-4W2SM6CG.js.map +0 -1
- package/dist/chunk-5W4RPVTK.cjs +0 -49
- package/dist/chunk-5W4RPVTK.cjs.map +0 -1
- package/dist/chunk-64ITUOXI.cjs.map +0 -1
- package/dist/chunk-6GHJDY7R.js +0 -23157
- package/dist/chunk-6GHJDY7R.js.map +0 -1
- package/dist/chunk-6KNI7VIX.js +0 -1021
- package/dist/chunk-6KNI7VIX.js.map +0 -1
- package/dist/chunk-A6MQQTHN.js +0 -310
- package/dist/chunk-A6MQQTHN.js.map +0 -1
- package/dist/chunk-AUQBEMDP.cjs +0 -322
- package/dist/chunk-AUQBEMDP.cjs.map +0 -1
- package/dist/chunk-CBDUTSTI.js +0 -192
- package/dist/chunk-CBDUTSTI.js.map +0 -1
- package/dist/chunk-FPCGLPLJ.cjs +0 -297
- package/dist/chunk-FPCGLPLJ.cjs.map +0 -1
- package/dist/chunk-G7BPNX2V.js.map +0 -1
- package/dist/chunk-IMK7366C.cjs +0 -346
- package/dist/chunk-IMK7366C.cjs.map +0 -1
- package/dist/chunk-LGG3N3AV.js +0 -116
- package/dist/chunk-LGG3N3AV.js.map +0 -1
- package/dist/chunk-LIDPFFPK.cjs +0 -23199
- package/dist/chunk-LIDPFFPK.cjs.map +0 -1
- package/dist/chunk-LZDCXQMX.js +0 -164
- package/dist/chunk-LZDCXQMX.js.map +0 -1
- package/dist/chunk-MH3A7RDQ.cjs +0 -1064
- package/dist/chunk-MH3A7RDQ.cjs.map +0 -1
- package/dist/chunk-MWQQRVQC.cjs +0 -259
- package/dist/chunk-MWQQRVQC.cjs.map +0 -1
- package/dist/chunk-PDVJ2TTM.cjs.map +0 -1
- package/dist/chunk-PKRHEXX7.js +0 -74
- package/dist/chunk-PKRHEXX7.js.map +0 -1
- package/dist/chunk-QDOIM3G5.cjs +0 -916
- package/dist/chunk-QDOIM3G5.cjs.map +0 -1
- package/dist/chunk-QVHQZUGJ.cjs +0 -368
- package/dist/chunk-QVHQZUGJ.cjs.map +0 -1
- package/dist/chunk-R4M3BSUG.js +0 -226
- package/dist/chunk-R4M3BSUG.js.map +0 -1
- package/dist/chunk-R6ZTXNN2.cjs +0 -797
- package/dist/chunk-R6ZTXNN2.cjs.map +0 -1
- package/dist/chunk-RCCWKKI3.js.map +0 -1
- package/dist/chunk-RIYA7ZCE.js +0 -887
- package/dist/chunk-RIYA7ZCE.js.map +0 -1
- package/dist/chunk-S6DFGBDD.cjs +0 -211
- package/dist/chunk-S6DFGBDD.cjs.map +0 -1
- package/dist/chunk-SAQSK4AG.cjs +0 -167
- package/dist/chunk-SAQSK4AG.cjs.map +0 -1
- package/dist/chunk-UCRV7PD3.js +0 -773
- package/dist/chunk-UCRV7PD3.js.map +0 -1
- package/dist/chunk-UZ6CYAOG.cjs.map +0 -1
- package/dist/chunk-V272B7RM.cjs.map +0 -1
- package/dist/chunk-XWGAT2DA.js +0 -44
- package/dist/chunk-XWGAT2DA.js.map +0 -1
- package/dist/chunk-YLQHE2S5.js +0 -204
- package/dist/chunk-YLQHE2S5.js.map +0 -1
- package/dist/chunk-YP34EWWK.js.map +0 -1
- package/dist/chunk-Z7R7CFVF.cjs +0 -125
- package/dist/chunk-Z7R7CFVF.cjs.map +0 -1
- package/dist/chunk-ZPZSAJAR.js +0 -328
- package/dist/chunk-ZPZSAJAR.js.map +0 -1
- package/dist/server/handlers/test-utils.cjs +0 -15
- package/dist/server/handlers/test-utils.cjs.map +0 -1
- package/dist/server/handlers/test-utils.d.ts +0 -6
- package/dist/server/handlers/test-utils.d.ts.map +0 -1
- package/dist/server/handlers/test-utils.js +0 -13
- package/dist/server/handlers/test-utils.js.map +0 -1
- package/dist/server/schemas/a2a.d.ts +0 -786
- package/dist/server/schemas/a2a.d.ts.map +0 -1
- package/dist/server/schemas/agent-builder.d.ts +0 -195
- package/dist/server/schemas/agent-builder.d.ts.map +0 -1
- package/dist/server/schemas/agents.d.ts +0 -1375
- package/dist/server/schemas/agents.d.ts.map +0 -1
- package/dist/server/schemas/common.d.ts +0 -165
- package/dist/server/schemas/common.d.ts.map +0 -1
- package/dist/server/schemas/logs.d.ts +0 -124
- package/dist/server/schemas/logs.d.ts.map +0 -1
- package/dist/server/schemas/memory.d.ts +0 -998
- package/dist/server/schemas/memory.d.ts.map +0 -1
- package/dist/server/schemas/observability.d.ts +0 -402
- package/dist/server/schemas/observability.d.ts.map +0 -1
- package/dist/server/schemas/scores.d.ts +0 -259
- package/dist/server/schemas/scores.d.ts.map +0 -1
- package/dist/server/schemas/vectors.d.ts +0 -107
- package/dist/server/schemas/vectors.d.ts.map +0 -1
- package/dist/server/schemas/workflows.d.ts +0 -608
- package/dist/server/schemas/workflows.d.ts.map +0 -1
- package/dist/server/server-adapter/index.cjs +0 -330
- package/dist/server/server-adapter/index.cjs.map +0 -1
- package/dist/server/server-adapter/index.d.ts +0 -52
- package/dist/server/server-adapter/index.d.ts.map +0 -1
- package/dist/server/server-adapter/index.js +0 -316
- package/dist/server/server-adapter/index.js.map +0 -1
- package/dist/server/server-adapter/openapi-utils.d.ts +0 -59
- package/dist/server/server-adapter/openapi-utils.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/a2a.d.ts +0 -3
- package/dist/server/server-adapter/routes/a2a.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/agent-builder.d.ts +0 -3
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/agents.d.ts +0 -3
- package/dist/server/server-adapter/routes/agents.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/index.d.ts +0 -41
- package/dist/server/server-adapter/routes/index.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/legacy.d.ts +0 -7
- package/dist/server/server-adapter/routes/legacy.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/logs.d.ts +0 -3
- package/dist/server/server-adapter/routes/logs.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/memory.d.ts +0 -3
- package/dist/server/server-adapter/routes/memory.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/observability.d.ts +0 -3
- package/dist/server/server-adapter/routes/observability.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/route-builder.d.ts +0 -52
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/scorers.d.ts +0 -3
- package/dist/server/server-adapter/routes/scorers.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/stream-types.d.ts +0 -10
- package/dist/server/server-adapter/routes/stream-types.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/tools.d.ts +0 -3
- package/dist/server/server-adapter/routes/tools.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/vectors.d.ts +0 -3
- package/dist/server/server-adapter/routes/vectors.d.ts.map +0 -1
- package/dist/server/server-adapter/routes/workflows.d.ts +0 -3
- package/dist/server/server-adapter/routes/workflows.d.ts.map +0 -1
- package/dist/token-GVZ7HRD7.js +0 -62
- package/dist/token-JGA3ZWAN.js.map +0 -1
- package/dist/token-VFONFWVS.cjs +0 -64
- package/dist/token-ZOD6YIQ3.cjs.map +0 -1
- package/dist/token-util-7R2ZFIXO.js +0 -7
- package/dist/token-util-BLJZJDBZ.cjs +0 -9
- package/dist/token-util-VGZUWSNR.cjs +0 -9
- package/dist/token-util-VGZUWSNR.cjs.map +0 -1
- package/dist/token-util-VKTPZLSE.js +0 -7
- package/dist/token-util-VKTPZLSE.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/memory.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,259 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Schema for scorer entry with associations to agents and workflows
|
|
4
|
-
*/
|
|
5
|
-
export declare const scorerEntrySchema: z.ZodObject<{
|
|
6
|
-
scorer: z.ZodObject<{
|
|
7
|
-
config: z.ZodObject<{
|
|
8
|
-
id: z.ZodString;
|
|
9
|
-
name: z.ZodOptional<z.ZodString>;
|
|
10
|
-
description: z.ZodString;
|
|
11
|
-
type: z.ZodOptional<z.ZodUnknown>;
|
|
12
|
-
judge: z.ZodOptional<z.ZodUnknown>;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
id: string;
|
|
15
|
-
description: string;
|
|
16
|
-
type?: unknown;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
judge?: unknown;
|
|
19
|
-
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
description: string;
|
|
22
|
-
type?: unknown;
|
|
23
|
-
name?: string | undefined;
|
|
24
|
-
judge?: unknown;
|
|
25
|
-
}>;
|
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
config: {
|
|
28
|
-
id: string;
|
|
29
|
-
description: string;
|
|
30
|
-
type?: unknown;
|
|
31
|
-
name?: string | undefined;
|
|
32
|
-
judge?: unknown;
|
|
33
|
-
};
|
|
34
|
-
}, {
|
|
35
|
-
config: {
|
|
36
|
-
id: string;
|
|
37
|
-
description: string;
|
|
38
|
-
type?: unknown;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
judge?: unknown;
|
|
41
|
-
};
|
|
42
|
-
}>;
|
|
43
|
-
sampling: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
44
|
-
agentIds: z.ZodArray<z.ZodString, "many">;
|
|
45
|
-
agentNames: z.ZodArray<z.ZodString, "many">;
|
|
46
|
-
workflowIds: z.ZodArray<z.ZodString, "many">;
|
|
47
|
-
isRegistered: z.ZodBoolean;
|
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
scorer: {
|
|
50
|
-
config: {
|
|
51
|
-
id: string;
|
|
52
|
-
description: string;
|
|
53
|
-
type?: unknown;
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
judge?: unknown;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
agentIds: string[];
|
|
59
|
-
agentNames: string[];
|
|
60
|
-
workflowIds: string[];
|
|
61
|
-
isRegistered: boolean;
|
|
62
|
-
sampling?: {} | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
scorer: {
|
|
65
|
-
config: {
|
|
66
|
-
id: string;
|
|
67
|
-
description: string;
|
|
68
|
-
type?: unknown;
|
|
69
|
-
name?: string | undefined;
|
|
70
|
-
judge?: unknown;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
agentIds: string[];
|
|
74
|
-
agentNames: string[];
|
|
75
|
-
workflowIds: string[];
|
|
76
|
-
isRegistered: boolean;
|
|
77
|
-
sampling?: {} | undefined;
|
|
78
|
-
}>;
|
|
79
|
-
/**
|
|
80
|
-
* Response schema for list scorers endpoint
|
|
81
|
-
* Returns a record of scorer ID to scorer entry with associations
|
|
82
|
-
*/
|
|
83
|
-
export declare const listScorersResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
84
|
-
scorer: z.ZodObject<{
|
|
85
|
-
config: z.ZodObject<{
|
|
86
|
-
id: z.ZodString;
|
|
87
|
-
name: z.ZodOptional<z.ZodString>;
|
|
88
|
-
description: z.ZodString;
|
|
89
|
-
type: z.ZodOptional<z.ZodUnknown>;
|
|
90
|
-
judge: z.ZodOptional<z.ZodUnknown>;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
id: string;
|
|
93
|
-
description: string;
|
|
94
|
-
type?: unknown;
|
|
95
|
-
name?: string | undefined;
|
|
96
|
-
judge?: unknown;
|
|
97
|
-
}, {
|
|
98
|
-
id: string;
|
|
99
|
-
description: string;
|
|
100
|
-
type?: unknown;
|
|
101
|
-
name?: string | undefined;
|
|
102
|
-
judge?: unknown;
|
|
103
|
-
}>;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
config: {
|
|
106
|
-
id: string;
|
|
107
|
-
description: string;
|
|
108
|
-
type?: unknown;
|
|
109
|
-
name?: string | undefined;
|
|
110
|
-
judge?: unknown;
|
|
111
|
-
};
|
|
112
|
-
}, {
|
|
113
|
-
config: {
|
|
114
|
-
id: string;
|
|
115
|
-
description: string;
|
|
116
|
-
type?: unknown;
|
|
117
|
-
name?: string | undefined;
|
|
118
|
-
judge?: unknown;
|
|
119
|
-
};
|
|
120
|
-
}>;
|
|
121
|
-
sampling: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
122
|
-
agentIds: z.ZodArray<z.ZodString, "many">;
|
|
123
|
-
agentNames: z.ZodArray<z.ZodString, "many">;
|
|
124
|
-
workflowIds: z.ZodArray<z.ZodString, "many">;
|
|
125
|
-
isRegistered: z.ZodBoolean;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
scorer: {
|
|
128
|
-
config: {
|
|
129
|
-
id: string;
|
|
130
|
-
description: string;
|
|
131
|
-
type?: unknown;
|
|
132
|
-
name?: string | undefined;
|
|
133
|
-
judge?: unknown;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
agentIds: string[];
|
|
137
|
-
agentNames: string[];
|
|
138
|
-
workflowIds: string[];
|
|
139
|
-
isRegistered: boolean;
|
|
140
|
-
sampling?: {} | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
scorer: {
|
|
143
|
-
config: {
|
|
144
|
-
id: string;
|
|
145
|
-
description: string;
|
|
146
|
-
type?: unknown;
|
|
147
|
-
name?: string | undefined;
|
|
148
|
-
judge?: unknown;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
agentIds: string[];
|
|
152
|
-
agentNames: string[];
|
|
153
|
-
workflowIds: string[];
|
|
154
|
-
isRegistered: boolean;
|
|
155
|
-
sampling?: {} | undefined;
|
|
156
|
-
}>>;
|
|
157
|
-
export declare const scorerIdPathParams: z.ZodObject<{
|
|
158
|
-
scorerId: z.ZodString;
|
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
scorerId: string;
|
|
161
|
-
}, {
|
|
162
|
-
scorerId: string;
|
|
163
|
-
}>;
|
|
164
|
-
export declare const entityPathParams: z.ZodObject<{
|
|
165
|
-
entityType: z.ZodString;
|
|
166
|
-
entityId: z.ZodString;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
entityId: string;
|
|
169
|
-
entityType: string;
|
|
170
|
-
}, {
|
|
171
|
-
entityId: string;
|
|
172
|
-
entityType: string;
|
|
173
|
-
}>;
|
|
174
|
-
export declare const listScoresByRunIdQuerySchema: z.ZodObject<{
|
|
175
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
176
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
page: number;
|
|
179
|
-
perPage: number;
|
|
180
|
-
}, {
|
|
181
|
-
page?: number | undefined;
|
|
182
|
-
perPage?: number | undefined;
|
|
183
|
-
}>;
|
|
184
|
-
export declare const listScoresByScorerIdQuerySchema: z.ZodObject<{
|
|
185
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
186
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
187
|
-
entityId: z.ZodOptional<z.ZodString>;
|
|
188
|
-
entityType: z.ZodOptional<z.ZodString>;
|
|
189
|
-
}, "strip", z.ZodTypeAny, {
|
|
190
|
-
page: number;
|
|
191
|
-
perPage: number;
|
|
192
|
-
entityId?: string | undefined;
|
|
193
|
-
entityType?: string | undefined;
|
|
194
|
-
}, {
|
|
195
|
-
page?: number | undefined;
|
|
196
|
-
perPage?: number | undefined;
|
|
197
|
-
entityId?: string | undefined;
|
|
198
|
-
entityType?: string | undefined;
|
|
199
|
-
}>;
|
|
200
|
-
export declare const listScoresByEntityIdQuerySchema: z.ZodObject<{
|
|
201
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
202
|
-
perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
203
|
-
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
page: number;
|
|
205
|
-
perPage: number;
|
|
206
|
-
}, {
|
|
207
|
-
page?: number | undefined;
|
|
208
|
-
perPage?: number | undefined;
|
|
209
|
-
}>;
|
|
210
|
-
export declare const saveScoreBodySchema: z.ZodObject<{
|
|
211
|
-
score: z.ZodUnknown;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
score?: unknown;
|
|
214
|
-
}, {
|
|
215
|
-
score?: unknown;
|
|
216
|
-
}>;
|
|
217
|
-
export declare const scoresWithPaginationResponseSchema: z.ZodObject<{
|
|
218
|
-
pagination: z.ZodObject<{
|
|
219
|
-
total: z.ZodNumber;
|
|
220
|
-
page: z.ZodNumber;
|
|
221
|
-
perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
|
|
222
|
-
hasMore: z.ZodBoolean;
|
|
223
|
-
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
total: number;
|
|
225
|
-
page: number;
|
|
226
|
-
perPage: number | false;
|
|
227
|
-
hasMore: boolean;
|
|
228
|
-
}, {
|
|
229
|
-
total: number;
|
|
230
|
-
page: number;
|
|
231
|
-
perPage: number | false;
|
|
232
|
-
hasMore: boolean;
|
|
233
|
-
}>;
|
|
234
|
-
scores: z.ZodArray<z.ZodUnknown, "many">;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
pagination: {
|
|
237
|
-
total: number;
|
|
238
|
-
page: number;
|
|
239
|
-
perPage: number | false;
|
|
240
|
-
hasMore: boolean;
|
|
241
|
-
};
|
|
242
|
-
scores: unknown[];
|
|
243
|
-
}, {
|
|
244
|
-
pagination: {
|
|
245
|
-
total: number;
|
|
246
|
-
page: number;
|
|
247
|
-
perPage: number | false;
|
|
248
|
-
hasMore: boolean;
|
|
249
|
-
};
|
|
250
|
-
scores: unknown[];
|
|
251
|
-
}>;
|
|
252
|
-
export declare const saveScoreResponseSchema: z.ZodObject<{
|
|
253
|
-
score: z.ZodUnknown;
|
|
254
|
-
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
score?: unknown;
|
|
256
|
-
}, {
|
|
257
|
-
score?: unknown;
|
|
258
|
-
}>;
|
|
259
|
-
//# sourceMappingURL=scores.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scores.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/scores.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AA4BpB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0C,CAAC;AAGjF,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAC;AAMH,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAK1C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;EAG1C,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAGH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC"}
|