@mastra/server 1.0.4-alpha.2 → 1.1.0-alpha.0
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 +6765 -0
- package/LICENSE.md +11 -42
- package/README.md +45 -137
- package/a2a/store.d.ts +1 -0
- package/auth.d.ts +1 -0
- package/dist/chunk-24SISJRB.js +250 -0
- package/dist/chunk-24SISJRB.js.map +1 -0
- package/dist/chunk-2HAVULC2.cjs +204 -0
- package/dist/chunk-2HAVULC2.cjs.map +1 -0
- package/dist/chunk-2HOMKKY4.cjs +352 -0
- package/dist/chunk-2HOMKKY4.cjs.map +1 -0
- package/dist/chunk-37DO73XV.cjs +33207 -0
- package/dist/chunk-37DO73XV.cjs.map +1 -0
- package/dist/chunk-3AZY5AWI.js +689 -0
- package/dist/chunk-3AZY5AWI.js.map +1 -0
- package/dist/chunk-3OIJLD3O.js +333 -0
- package/dist/chunk-3OIJLD3O.js.map +1 -0
- package/dist/chunk-3QUACCLU.js +1372 -0
- package/dist/chunk-3QUACCLU.js.map +1 -0
- package/dist/chunk-3W67K7YE.js +13 -0
- package/dist/chunk-3W67K7YE.js.map +1 -0
- package/dist/chunk-4HFYR562.cjs +82 -0
- package/dist/chunk-4HFYR562.cjs.map +1 -0
- package/dist/chunk-4JAEBN6N.js +1201 -0
- package/dist/chunk-4JAEBN6N.js.map +1 -0
- package/dist/chunk-4LVJBXI2.cjs +324 -0
- package/dist/chunk-4LVJBXI2.cjs.map +1 -0
- package/dist/{chunk-FV45V6WC.cjs → chunk-64ITUOXI.cjs} +3 -7
- package/dist/chunk-64ITUOXI.cjs.map +1 -0
- package/dist/chunk-6G2RQWKA.cjs +252 -0
- package/dist/chunk-6G2RQWKA.cjs.map +1 -0
- package/dist/chunk-6KC345IN.cjs +708 -0
- package/dist/chunk-6KC345IN.cjs.map +1 -0
- package/dist/{chunk-TRDNDNGQ.js → chunk-6QWQZI4Q.js} +4 -7
- package/dist/chunk-6QWQZI4Q.js.map +1 -0
- package/dist/chunk-7D3UAMQM.cjs +82 -0
- package/dist/chunk-7D3UAMQM.cjs.map +1 -0
- package/dist/chunk-7XIMPDJV.js +442 -0
- package/dist/chunk-7XIMPDJV.js.map +1 -0
- package/dist/chunk-A2K5ZL47.cjs +195 -0
- package/dist/chunk-A2K5ZL47.cjs.map +1 -0
- package/dist/chunk-AAHPYUEC.cjs +211 -0
- package/dist/chunk-AAHPYUEC.cjs.map +1 -0
- package/dist/chunk-AN42MFD5.cjs +1231 -0
- package/dist/chunk-AN42MFD5.cjs.map +1 -0
- package/dist/chunk-AQI6GLTN.cjs +2777 -0
- package/dist/chunk-AQI6GLTN.cjs.map +1 -0
- package/dist/chunk-AV3VZ6S3.cjs +190 -0
- package/dist/chunk-AV3VZ6S3.cjs.map +1 -0
- package/dist/chunk-C4NZAUUW.js +33168 -0
- package/dist/chunk-C4NZAUUW.js.map +1 -0
- package/dist/chunk-D5VCL56B.js +317 -0
- package/dist/chunk-D5VCL56B.js.map +1 -0
- package/dist/chunk-DD7LYNHB.js +596 -0
- package/dist/chunk-DD7LYNHB.js.map +1 -0
- package/dist/chunk-DHDVJ5II.js +334 -0
- package/dist/chunk-DHDVJ5II.js.map +1 -0
- package/dist/chunk-ED6NQBHF.js +190 -0
- package/dist/chunk-ED6NQBHF.js.map +1 -0
- package/dist/chunk-EKFYZUPC.cjs +1404 -0
- package/dist/chunk-EKFYZUPC.cjs.map +1 -0
- package/dist/chunk-EV5H2JQU.js +45 -0
- package/dist/chunk-EV5H2JQU.js.map +1 -0
- package/dist/chunk-F2WTCJ5C.js +1153 -0
- package/dist/chunk-F2WTCJ5C.js.map +1 -0
- package/dist/chunk-FCPLBTHB.js +195 -0
- package/dist/chunk-FCPLBTHB.js.map +1 -0
- package/dist/chunk-FQX5SQO7.js +212 -0
- package/dist/chunk-FQX5SQO7.js.map +1 -0
- package/dist/chunk-FRRHYZR6.cjs +88 -0
- package/dist/chunk-FRRHYZR6.cjs.map +1 -0
- package/dist/chunk-GUG6KRAJ.js +666 -0
- package/dist/chunk-GUG6KRAJ.js.map +1 -0
- package/dist/chunk-GXUBQJ74.js +184 -0
- package/dist/chunk-GXUBQJ74.js.map +1 -0
- package/dist/chunk-H66LLFDL.js +970 -0
- package/dist/chunk-H66LLFDL.js.map +1 -0
- package/dist/chunk-HDGF45K7.cjs +128 -0
- package/dist/chunk-HDGF45K7.cjs.map +1 -0
- package/dist/chunk-HT4LP3BO.js +75 -0
- package/dist/chunk-HT4LP3BO.js.map +1 -0
- package/dist/chunk-HZINLMHL.cjs +252 -0
- package/dist/chunk-HZINLMHL.cjs.map +1 -0
- package/dist/chunk-IS3HHGL4.js +250 -0
- package/dist/chunk-IS3HHGL4.js.map +1 -0
- package/dist/chunk-JLFFAYTC.cjs +252 -0
- package/dist/chunk-JLFFAYTC.cjs.map +1 -0
- package/dist/chunk-JRM3DWRM.cjs +322 -0
- package/dist/chunk-JRM3DWRM.cjs.map +1 -0
- package/dist/chunk-K2SXZLA3.cjs +1049 -0
- package/dist/chunk-K2SXZLA3.cjs.map +1 -0
- package/dist/chunk-K4HSW5ZF.js +77 -0
- package/dist/chunk-K4HSW5ZF.js.map +1 -0
- package/dist/chunk-LFNP3ACE.js +1009 -0
- package/dist/chunk-LFNP3ACE.js.map +1 -0
- package/dist/chunk-LFTVDHOD.js +200 -0
- package/dist/chunk-LFTVDHOD.js.map +1 -0
- package/dist/chunk-LJ6YRVDI.cjs +15 -0
- package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
- package/dist/chunk-LOA7RQYO.js +2774 -0
- package/dist/chunk-LOA7RQYO.js.map +1 -0
- package/dist/chunk-MCYD5LW7.cjs +90 -0
- package/dist/chunk-MCYD5LW7.cjs.map +1 -0
- package/dist/chunk-MZRJNOYJ.cjs +1195 -0
- package/dist/chunk-MZRJNOYJ.cjs.map +1 -0
- package/dist/chunk-O7I5CWRX.cjs +44 -0
- package/dist/chunk-O7I5CWRX.cjs.map +1 -0
- package/dist/chunk-ONN5EA7E.js +26 -0
- package/dist/chunk-ONN5EA7E.js.map +1 -0
- package/dist/chunk-OS7SAIRA.js +250 -0
- package/dist/chunk-OS7SAIRA.js.map +1 -0
- package/dist/chunk-PR4QN5HX.js +39 -0
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/chunk-PWXUI3OG.cjs +252 -0
- package/dist/chunk-PWXUI3OG.cjs.map +1 -0
- package/dist/chunk-QOVLJFLX.cjs +680 -0
- package/dist/chunk-QOVLJFLX.cjs.map +1 -0
- package/dist/chunk-QXDNFBJQ.js +220 -0
- package/dist/chunk-QXDNFBJQ.js.map +1 -0
- package/dist/chunk-RIX6WEJ2.js +83 -0
- package/dist/chunk-RIX6WEJ2.js.map +1 -0
- package/dist/chunk-RW66MHXI.js +246 -0
- package/dist/chunk-RW66MHXI.js.map +1 -0
- package/dist/chunk-S4SLHUJ7.cjs +253 -0
- package/dist/chunk-S4SLHUJ7.cjs.map +1 -0
- package/dist/chunk-SONAXR2M.cjs +450 -0
- package/dist/chunk-SONAXR2M.cjs.map +1 -0
- package/dist/chunk-SUKFO7UM.cjs +29 -0
- package/dist/chunk-SUKFO7UM.cjs.map +1 -0
- package/dist/chunk-T5KH32UA.cjs +47 -0
- package/dist/chunk-T5KH32UA.cjs.map +1 -0
- package/dist/chunk-TCWPL26W.js +119 -0
- package/dist/chunk-TCWPL26W.js.map +1 -0
- package/dist/chunk-TGDBGIDA.cjs +623 -0
- package/dist/chunk-TGDBGIDA.cjs.map +1 -0
- package/dist/chunk-USR6JK77.js +62 -0
- package/dist/chunk-USR6JK77.js.map +1 -0
- package/dist/chunk-VNHOYZ56.cjs +219 -0
- package/dist/chunk-VNHOYZ56.cjs.map +1 -0
- package/dist/chunk-VX3VN7FN.cjs +992 -0
- package/dist/chunk-VX3VN7FN.cjs.map +1 -0
- package/dist/chunk-WHC6S3VY.cjs +345 -0
- package/dist/chunk-WHC6S3VY.cjs.map +1 -0
- package/dist/chunk-XKLJYRAA.js +77 -0
- package/dist/chunk-XKLJYRAA.js.map +1 -0
- package/dist/chunk-XUSAKRLX.js +312 -0
- package/dist/chunk-XUSAKRLX.js.map +1 -0
- package/dist/chunk-ZKMVCV4G.cjs +71 -0
- package/dist/chunk-ZKMVCV4G.cjs.map +1 -0
- package/dist/dist-7NTDEVLP.cjs +928 -0
- package/dist/dist-7NTDEVLP.cjs.map +1 -0
- package/dist/dist-B5GMANA6.js +1147 -0
- package/dist/dist-B5GMANA6.js.map +1 -0
- package/dist/dist-EDO7GEGI.js +3 -0
- package/dist/dist-EDO7GEGI.js.map +1 -0
- package/dist/dist-OF24ZMHH.cjs +764 -0
- package/dist/dist-OF24ZMHH.cjs.map +1 -0
- package/dist/dist-P6YSNLL3.cjs +1150 -0
- package/dist/dist-P6YSNLL3.cjs.map +1 -0
- package/dist/dist-SMBO5KVB.js +937 -0
- package/dist/dist-SMBO5KVB.js.map +1 -0
- package/dist/dist-THPMW5QR.js +761 -0
- package/dist/dist-THPMW5QR.js.map +1 -0
- package/dist/dist-VZTG56X2.cjs +940 -0
- package/dist/dist-VZTG56X2.cjs.map +1 -0
- package/dist/dist-ZLC23RVC.cjs +16 -0
- package/dist/dist-ZLC23RVC.cjs.map +1 -0
- package/dist/dist-ZOZ6MHJH.js +925 -0
- package/dist/dist-ZOZ6MHJH.js.map +1 -0
- package/dist/docs/README.md +31 -0
- package/dist/docs/SKILL.md +32 -0
- package/dist/docs/SOURCE_MAP.json +6 -0
- package/dist/docs/server/01-custom-adapters.md +380 -0
- package/dist/docs/server/02-reference.md +833 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/server/a2a/protocol.d.ts +8 -0
- package/dist/server/a2a/protocol.d.ts.map +1 -0
- package/dist/server/a2a/store.cjs +25 -0
- package/dist/server/a2a/store.cjs.map +1 -0
- package/dist/server/a2a/store.d.ts +14 -0
- package/dist/server/a2a/store.d.ts.map +1 -0
- package/dist/server/a2a/store.js +23 -0
- package/dist/server/a2a/store.js.map +1 -0
- package/dist/server/a2a/tasks.d.ts +20 -0
- package/dist/server/a2a/tasks.d.ts.map +1 -0
- package/dist/server/auth/defaults.d.ts +3 -0
- package/dist/server/auth/defaults.d.ts.map +1 -0
- package/dist/server/auth/helpers.d.ts +21 -0
- package/dist/server/auth/helpers.d.ts.map +1 -0
- package/dist/server/auth/index.cjs +48 -0
- package/dist/server/auth/index.cjs.map +1 -0
- package/dist/server/auth/index.d.ts +3 -0
- package/dist/server/auth/index.d.ts.map +1 -0
- package/dist/server/auth/index.js +3 -0
- package/dist/server/auth/index.js.map +1 -0
- package/dist/server/auth/path-pattern.d.ts +43 -0
- package/dist/server/auth/path-pattern.d.ts.map +1 -0
- package/dist/server/constants.d.ts +51 -0
- package/dist/server/constants.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +40 -0
- package/dist/server/handlers/a2a.cjs.map +1 -0
- package/dist/server/handlers/a2a.d.ts +550 -0
- package/dist/server/handlers/a2a.d.ts.map +1 -0
- package/dist/server/handlers/a2a.js +3 -0
- package/dist/server/handlers/a2a.js.map +1 -0
- package/dist/server/handlers/agent-builder.cjs +68 -0
- package/dist/server/handlers/agent-builder.cjs.map +1 -0
- package/dist/server/handlers/agent-builder.d.ts +632 -0
- package/dist/server/handlers/agent-builder.d.ts.map +1 -0
- package/dist/server/handlers/agent-builder.js +3 -0
- package/dist/server/handlers/agent-builder.js.map +1 -0
- package/dist/server/handlers/agent-versions.cjs +60 -0
- package/dist/server/handlers/agent-versions.cjs.map +1 -0
- package/dist/server/handlers/agent-versions.d.ts +479 -0
- package/dist/server/handlers/agent-versions.d.ts.map +1 -0
- package/dist/server/handlers/agent-versions.js +3 -0
- package/dist/server/handlers/agent-versions.js.map +1 -0
- package/dist/server/handlers/agents.cjs +111 -13
- package/dist/server/handlers/agents.cjs.map +1 -0
- package/dist/server/handlers/agents.d.ts +3440 -6
- package/dist/server/handlers/agents.d.ts.map +1 -0
- package/dist/server/handlers/agents.js +3 -1
- package/dist/server/handlers/agents.js.map +1 -0
- package/dist/server/handlers/error.cjs +8 -2
- package/dist/server/handlers/error.cjs.map +1 -0
- package/dist/server/handlers/error.d.ts +14 -1
- package/dist/server/handlers/error.d.ts.map +1 -0
- package/dist/server/handlers/error.js +3 -1
- package/dist/server/handlers/error.js.map +1 -0
- package/dist/server/handlers/logs.cjs +9 -7
- package/dist/server/handlers/logs.cjs.map +1 -0
- package/dist/server/handlers/logs.d.ts +142 -3
- package/dist/server/handlers/logs.d.ts.map +1 -0
- package/dist/server/handlers/logs.js +3 -1
- package/dist/server/handlers/logs.js.map +1 -0
- package/dist/server/handlers/mcp.cjs +40 -0
- package/dist/server/handlers/mcp.cjs.map +1 -0
- package/dist/server/handlers/mcp.d.ts +132 -0
- package/dist/server/handlers/mcp.d.ts.map +1 -0
- package/dist/server/handlers/mcp.js +3 -0
- package/dist/server/handlers/mcp.js.map +1 -0
- package/dist/server/handlers/memory.cjs +83 -17
- package/dist/server/handlers/memory.cjs.map +1 -0
- package/dist/server/handlers/memory.d.ts +1089 -8
- package/dist/server/handlers/memory.d.ts.map +1 -0
- package/dist/server/handlers/memory.js +3 -1
- package/dist/server/handlers/memory.js.map +1 -0
- package/dist/server/handlers/observability.cjs +24 -0
- package/dist/server/handlers/observability.cjs.map +1 -0
- package/dist/server/handlers/observability.d.ts +154 -0
- package/dist/server/handlers/observability.d.ts.map +1 -0
- package/dist/server/handlers/observability.js +3 -0
- package/dist/server/handlers/observability.js.map +1 -0
- package/dist/server/handlers/processors.cjs +20 -0
- package/dist/server/handlers/processors.cjs.map +1 -0
- package/dist/server/handlers/processors.d.ts +181 -0
- package/dist/server/handlers/processors.d.ts.map +1 -0
- package/dist/server/handlers/processors.js +3 -0
- package/dist/server/handlers/processors.js.map +1 -0
- package/dist/server/handlers/scores.cjs +32 -0
- package/dist/server/handlers/scores.cjs.map +1 -0
- package/dist/server/handlers/scores.d.ts +121 -0
- package/dist/server/handlers/scores.d.ts.map +1 -0
- package/dist/server/handlers/scores.js +3 -0
- package/dist/server/handlers/scores.js.map +1 -0
- package/dist/server/handlers/stored-agents.cjs +28 -0
- package/dist/server/handlers/stored-agents.cjs.map +1 -0
- package/dist/server/handlers/stored-agents.d.ts +317 -0
- package/dist/server/handlers/stored-agents.d.ts.map +1 -0
- package/dist/server/handlers/stored-agents.js +3 -0
- package/dist/server/handlers/stored-agents.js.map +1 -0
- 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/test-utils.cjs +15 -0
- package/dist/server/handlers/test-utils.cjs.map +1 -0
- package/dist/server/handlers/test-utils.d.ts +6 -0
- package/dist/server/handlers/test-utils.d.ts.map +1 -0
- package/dist/server/handlers/test-utils.js +13 -0
- package/dist/server/handlers/test-utils.js.map +1 -0
- package/dist/server/handlers/tools.cjs +15 -9
- package/dist/server/handlers/tools.cjs.map +1 -0
- package/dist/server/handlers/tools.d.ts +71 -4
- package/dist/server/handlers/tools.d.ts.map +1 -0
- package/dist/server/handlers/tools.js +3 -1
- package/dist/server/handlers/tools.js.map +1 -0
- package/dist/server/handlers/utils.cjs +32 -2
- package/dist/server/handlers/utils.cjs.map +1 -0
- package/dist/server/handlers/utils.d.ts +39 -1
- package/dist/server/handlers/utils.d.ts.map +1 -0
- package/dist/server/handlers/utils.js +3 -1
- package/dist/server/handlers/utils.js.map +1 -0
- package/dist/server/handlers/vector.cjs +33 -7
- package/dist/server/handlers/vector.cjs.map +1 -0
- package/dist/server/handlers/vector.d.ts +135 -6
- package/dist/server/handlers/vector.d.ts.map +1 -0
- package/dist/server/handlers/vector.js +3 -1
- package/dist/server/handlers/vector.js.map +1 -0
- package/dist/server/handlers/voice.cjs +25 -7
- package/dist/server/handlers/voice.cjs.map +1 -0
- package/dist/server/handlers/voice.d.ts +82 -3
- package/dist/server/handlers/voice.d.ts.map +1 -0
- package/dist/server/handlers/voice.js +3 -1
- package/dist/server/handlers/voice.js.map +1 -0
- package/dist/server/handlers/workflows.cjs +75 -21
- package/dist/server/handlers/workflows.cjs.map +1 -0
- package/dist/server/handlers/workflows.d.ts +996 -10
- package/dist/server/handlers/workflows.d.ts.map +1 -0
- package/dist/server/handlers/workflows.js +3 -1
- package/dist/server/handlers/workflows.js.map +1 -0
- package/dist/server/handlers/workspace.cjs +80 -0
- package/dist/server/handlers/workspace.cjs.map +1 -0
- package/dist/server/handlers/workspace.d.ts +591 -0
- package/dist/server/handlers/workspace.d.ts.map +1 -0
- package/dist/server/handlers/workspace.js +3 -0
- package/dist/server/handlers/workspace.js.map +1 -0
- package/dist/server/handlers.cjs +41 -24
- package/dist/server/handlers.cjs.map +1 -0
- package/dist/server/handlers.d.ts +13 -9
- package/dist/server/handlers.d.ts.map +1 -0
- package/dist/server/handlers.js +14 -9
- package/dist/server/handlers.js.map +1 -0
- package/dist/server/http-exception.d.ts +82 -0
- package/dist/server/http-exception.d.ts.map +1 -0
- package/dist/server/schemas/a2a.d.ts +786 -0
- package/dist/server/schemas/a2a.d.ts.map +1 -0
- package/dist/server/schemas/agent-builder.d.ts +225 -0
- package/dist/server/schemas/agent-builder.d.ts.map +1 -0
- package/dist/server/schemas/agent-versions.d.ts +1646 -0
- package/dist/server/schemas/agent-versions.d.ts.map +1 -0
- package/dist/server/schemas/agents.d.ts +1815 -0
- package/dist/server/schemas/agents.d.ts.map +1 -0
- package/dist/server/schemas/common.d.ts +179 -0
- package/dist/server/schemas/common.d.ts.map +1 -0
- package/dist/server/schemas/logs.d.ts +124 -0
- package/dist/server/schemas/logs.d.ts.map +1 -0
- package/dist/server/schemas/mcp.d.ts +299 -0
- package/dist/server/schemas/mcp.d.ts.map +1 -0
- package/dist/server/schemas/memory.d.ts +1216 -0
- package/dist/server/schemas/memory.d.ts.map +1 -0
- package/dist/server/schemas/processors.d.ts +519 -0
- package/dist/server/schemas/processors.d.ts.map +1 -0
- package/dist/server/schemas/scores.d.ts +259 -0
- package/dist/server/schemas/scores.d.ts.map +1 -0
- package/dist/server/schemas/stored-agents.d.ts +850 -0
- package/dist/server/schemas/stored-agents.d.ts.map +1 -0
- package/dist/server/schemas/system.d.ts +36 -0
- package/dist/server/schemas/system.d.ts.map +1 -0
- package/dist/server/schemas/vectors.d.ts +107 -0
- package/dist/server/schemas/vectors.d.ts.map +1 -0
- package/dist/server/schemas/workflows.d.ts +863 -0
- package/dist/server/schemas/workflows.d.ts.map +1 -0
- package/dist/server/schemas/workspace.d.ts +1107 -0
- package/dist/server/schemas/workspace.d.ts.map +1 -0
- package/dist/server/server-adapter/index.cjs +661 -0
- package/dist/server/server-adapter/index.cjs.map +1 -0
- package/dist/server/server-adapter/index.d.ts +163 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -0
- package/dist/server/server-adapter/index.js +630 -0
- package/dist/server/server-adapter/index.js.map +1 -0
- package/dist/server/server-adapter/openapi-utils.d.ts +69 -0
- package/dist/server/server-adapter/openapi-utils.d.ts.map +1 -0
- package/dist/server/server-adapter/redact.d.ts +26 -0
- package/dist/server/server-adapter/redact.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/a2a.d.ts +3 -0
- package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts +3 -0
- package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/agents.d.ts +3 -0
- package/dist/server/server-adapter/routes/agents.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/index.d.ts +52 -0
- package/dist/server/server-adapter/routes/index.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/legacy.d.ts +7 -0
- package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/logs.d.ts +3 -0
- package/dist/server/server-adapter/routes/logs.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/mcp.d.ts +9 -0
- package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/memory.d.ts +3 -0
- package/dist/server/server-adapter/routes/memory.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/observability.d.ts +3 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/processors.d.ts +3 -0
- package/dist/server/server-adapter/routes/processors.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts +112 -0
- package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/scorers.d.ts +3 -0
- package/dist/server/server-adapter/routes/scorers.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/stored-agents.d.ts +8 -0
- package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/stream-types.d.ts +10 -0
- package/dist/server/server-adapter/routes/stream-types.d.ts.map +1 -0
- 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/server/server-adapter/routes/tools.d.ts +3 -0
- package/dist/server/server-adapter/routes/tools.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/vectors.d.ts +3 -0
- package/dist/server/server-adapter/routes/vectors.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workflows.d.ts +3 -0
- package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -0
- package/dist/server/server-adapter/routes/workspace.d.ts +8 -0
- package/dist/server/server-adapter/routes/workspace.d.ts.map +1 -0
- package/dist/server/types.d.ts +10 -0
- package/dist/server/types.d.ts.map +1 -0
- package/dist/server/utils.d.ts +58 -0
- package/dist/server/utils.d.ts.map +1 -0
- package/dist/token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs +63 -0
- package/dist/token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs.map +1 -0
- package/dist/token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js +61 -0
- package/dist/token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js.map +1 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs +63 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs.map +1 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js +61 -0
- package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js.map +1 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs +63 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs.map +1 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js +61 -0
- package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js +8 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs +10 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js +8 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js.map +1 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs +10 -0
- package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs +10 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs.map +1 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js +8 -0
- package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js.map +1 -0
- package/handlers/server/handlers.d.ts +1 -0
- package/handlers.d.ts +1 -0
- package/package.json +74 -20
- package/server-adapter.d.ts +1 -0
- package/dist/_tsup-dts-rollup.d.cts +0 -573
- package/dist/_tsup-dts-rollup.d.ts +0 -573
- package/dist/chunk-2FJURXCL.cjs +0 -213
- package/dist/chunk-3AHQ5RGN.js +0 -11
- package/dist/chunk-3EJZQ6TQ.js +0 -49
- package/dist/chunk-3RVHWGWO.js +0 -95
- package/dist/chunk-4JINXASC.js +0 -120
- package/dist/chunk-67WTHYAV.js +0 -156
- package/dist/chunk-A7DF4ETD.cjs +0 -100
- package/dist/chunk-B64YROKU.cjs +0 -317
- package/dist/chunk-CWSDZEZG.cjs +0 -139
- package/dist/chunk-DVPP5S6I.js +0 -135
- package/dist/chunk-JLDXUWK7.cjs +0 -126
- package/dist/chunk-L7XE5QTW.js +0 -16
- package/dist/chunk-M56ECCHK.cjs +0 -128
- package/dist/chunk-OPP7H5TW.js +0 -305
- package/dist/chunk-PDC4ZBQW.cjs +0 -126
- package/dist/chunk-QH6XWSXP.cjs +0 -5579
- package/dist/chunk-QN4KF3BH.cjs +0 -18
- package/dist/chunk-RBQASTUP.js +0 -203
- package/dist/chunk-SKBVVI24.cjs +0 -54
- package/dist/chunk-UV4WTEH4.js +0 -120
- package/dist/chunk-VK6FX47H.js +0 -5576
- package/dist/chunk-YANVFOYA.js +0 -120
- package/dist/chunk-Z46X3YCB.cjs +0 -164
- package/dist/chunk-ZLBRQFDD.cjs +0 -13
- package/dist/index.d.cts +0 -1
- package/dist/server/handlers/agents.d.cts +0 -6
- package/dist/server/handlers/error.d.cts +0 -1
- package/dist/server/handlers/logs.d.cts +0 -3
- package/dist/server/handlers/memory.d.cts +0 -8
- package/dist/server/handlers/network.cjs +0 -22
- package/dist/server/handlers/network.d.cts +0 -4
- package/dist/server/handlers/network.d.ts +0 -4
- package/dist/server/handlers/network.js +0 -1
- package/dist/server/handlers/telemetry.cjs +0 -14
- package/dist/server/handlers/telemetry.d.cts +0 -2
- package/dist/server/handlers/telemetry.d.ts +0 -2
- package/dist/server/handlers/telemetry.js +0 -1
- package/dist/server/handlers/tools.d.cts +0 -4
- package/dist/server/handlers/utils.d.cts +0 -1
- package/dist/server/handlers/vector.d.cts +0 -6
- package/dist/server/handlers/voice.d.cts +0 -3
- package/dist/server/handlers/workflows.d.cts +0 -10
- package/dist/server/handlers.d.cts +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/memory.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAkJH;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAAqB,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAAqB,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBjC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;EAEnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;EAElC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;EAEpC,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;EAAqB,CAAC;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBxC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;EAE1C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;EAAqB,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;EAAqB,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;EAAqB,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;EAEzC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;EAE3C,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;EAKzC,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;EAAwB,CAAC;AAEvE,eAAO,MAAM,4BAA4B;;;;;;;;;;EAEvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAMrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC"}
|
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const processorIdPathParams: z.ZodObject<{
|
|
3
|
+
processorId: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
processorId: string;
|
|
6
|
+
}, {
|
|
7
|
+
processorId: string;
|
|
8
|
+
}>;
|
|
9
|
+
/**
|
|
10
|
+
* Schema for processor configuration (how it's attached to an agent)
|
|
11
|
+
*/
|
|
12
|
+
export declare const processorConfigurationSchema: z.ZodObject<{
|
|
13
|
+
agentId: z.ZodString;
|
|
14
|
+
agentName: z.ZodString;
|
|
15
|
+
type: z.ZodEnum<["input", "output"]>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
type: "output" | "input";
|
|
18
|
+
agentId: string;
|
|
19
|
+
agentName: string;
|
|
20
|
+
}, {
|
|
21
|
+
type: "output" | "input";
|
|
22
|
+
agentId: string;
|
|
23
|
+
agentName: string;
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Schema for processor in list response
|
|
27
|
+
*/
|
|
28
|
+
export declare const serializedProcessorSchema: z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
name: z.ZodOptional<z.ZodString>;
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
phases: z.ZodArray<z.ZodEnum<["input", "inputStep", "outputStream", "outputResult", "outputStep"]>, "many">;
|
|
33
|
+
agentIds: z.ZodArray<z.ZodString, "many">;
|
|
34
|
+
configurations: z.ZodArray<z.ZodObject<{
|
|
35
|
+
agentId: z.ZodString;
|
|
36
|
+
type: z.ZodEnum<["input", "output"]>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
type: "output" | "input";
|
|
39
|
+
agentId: string;
|
|
40
|
+
}, {
|
|
41
|
+
type: "output" | "input";
|
|
42
|
+
agentId: string;
|
|
43
|
+
}>, "many">;
|
|
44
|
+
isWorkflow: z.ZodBoolean;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
id: string;
|
|
47
|
+
isWorkflow: boolean;
|
|
48
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
49
|
+
agentIds: string[];
|
|
50
|
+
configurations: {
|
|
51
|
+
type: "output" | "input";
|
|
52
|
+
agentId: string;
|
|
53
|
+
}[];
|
|
54
|
+
name?: string | undefined;
|
|
55
|
+
description?: string | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
id: string;
|
|
58
|
+
isWorkflow: boolean;
|
|
59
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
60
|
+
agentIds: string[];
|
|
61
|
+
configurations: {
|
|
62
|
+
type: "output" | "input";
|
|
63
|
+
agentId: string;
|
|
64
|
+
}[];
|
|
65
|
+
name?: string | undefined;
|
|
66
|
+
description?: string | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* Schema for detailed processor response
|
|
70
|
+
*/
|
|
71
|
+
export declare const serializedProcessorDetailSchema: z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
name: z.ZodOptional<z.ZodString>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
phases: z.ZodArray<z.ZodEnum<["input", "inputStep", "outputStream", "outputResult", "outputStep"]>, "many">;
|
|
76
|
+
configurations: z.ZodArray<z.ZodObject<{
|
|
77
|
+
agentId: z.ZodString;
|
|
78
|
+
agentName: z.ZodString;
|
|
79
|
+
type: z.ZodEnum<["input", "output"]>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
type: "output" | "input";
|
|
82
|
+
agentId: string;
|
|
83
|
+
agentName: string;
|
|
84
|
+
}, {
|
|
85
|
+
type: "output" | "input";
|
|
86
|
+
agentId: string;
|
|
87
|
+
agentName: string;
|
|
88
|
+
}>, "many">;
|
|
89
|
+
isWorkflow: z.ZodBoolean;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
id: string;
|
|
92
|
+
isWorkflow: boolean;
|
|
93
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
94
|
+
configurations: {
|
|
95
|
+
type: "output" | "input";
|
|
96
|
+
agentId: string;
|
|
97
|
+
agentName: string;
|
|
98
|
+
}[];
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
description?: string | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
id: string;
|
|
103
|
+
isWorkflow: boolean;
|
|
104
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
105
|
+
configurations: {
|
|
106
|
+
type: "output" | "input";
|
|
107
|
+
agentId: string;
|
|
108
|
+
agentName: string;
|
|
109
|
+
}[];
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* Schema for list processors endpoint response
|
|
115
|
+
*/
|
|
116
|
+
export declare const listProcessorsResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
name: z.ZodOptional<z.ZodString>;
|
|
119
|
+
description: z.ZodOptional<z.ZodString>;
|
|
120
|
+
phases: z.ZodArray<z.ZodEnum<["input", "inputStep", "outputStream", "outputResult", "outputStep"]>, "many">;
|
|
121
|
+
agentIds: z.ZodArray<z.ZodString, "many">;
|
|
122
|
+
configurations: z.ZodArray<z.ZodObject<{
|
|
123
|
+
agentId: z.ZodString;
|
|
124
|
+
type: z.ZodEnum<["input", "output"]>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
type: "output" | "input";
|
|
127
|
+
agentId: string;
|
|
128
|
+
}, {
|
|
129
|
+
type: "output" | "input";
|
|
130
|
+
agentId: string;
|
|
131
|
+
}>, "many">;
|
|
132
|
+
isWorkflow: z.ZodBoolean;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
id: string;
|
|
135
|
+
isWorkflow: boolean;
|
|
136
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
137
|
+
agentIds: string[];
|
|
138
|
+
configurations: {
|
|
139
|
+
type: "output" | "input";
|
|
140
|
+
agentId: string;
|
|
141
|
+
}[];
|
|
142
|
+
name?: string | undefined;
|
|
143
|
+
description?: string | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
id: string;
|
|
146
|
+
isWorkflow: boolean;
|
|
147
|
+
phases: ("input" | "inputStep" | "outputStream" | "outputResult" | "outputStep")[];
|
|
148
|
+
agentIds: string[];
|
|
149
|
+
configurations: {
|
|
150
|
+
type: "output" | "input";
|
|
151
|
+
agentId: string;
|
|
152
|
+
}[];
|
|
153
|
+
name?: string | undefined;
|
|
154
|
+
description?: string | undefined;
|
|
155
|
+
}>>;
|
|
156
|
+
/**
|
|
157
|
+
* Body schema for executing a processor
|
|
158
|
+
*/
|
|
159
|
+
export declare const executeProcessorBodySchema: z.ZodObject<{
|
|
160
|
+
phase: z.ZodEnum<["input", "inputStep", "outputStream", "outputResult", "outputStep"]>;
|
|
161
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
162
|
+
id: z.ZodString;
|
|
163
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
164
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
165
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
166
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
167
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
168
|
+
content: z.ZodOptional<z.ZodString>;
|
|
169
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
170
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
171
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
172
|
+
content: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
174
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
175
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
176
|
+
content: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
178
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
181
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
182
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
183
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
184
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
185
|
+
content: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
187
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
188
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
189
|
+
content: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
191
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
192
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
193
|
+
content: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
195
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
196
|
+
id: z.ZodString;
|
|
197
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
198
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
199
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
200
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
201
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
202
|
+
content: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
204
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
205
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
206
|
+
content: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
208
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
209
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
210
|
+
content: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
212
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
213
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
214
|
+
requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
messages: z.objectOutputType<{
|
|
217
|
+
id: z.ZodString;
|
|
218
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
219
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
220
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
221
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
222
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
223
|
+
content: z.ZodOptional<z.ZodString>;
|
|
224
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
225
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
226
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
227
|
+
content: z.ZodOptional<z.ZodString>;
|
|
228
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
229
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
230
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
231
|
+
content: z.ZodOptional<z.ZodString>;
|
|
232
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
233
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
234
|
+
phase: "input" | "inputStep" | "outputStream" | "outputResult" | "outputStep";
|
|
235
|
+
requestContext?: Record<string, any> | undefined;
|
|
236
|
+
agentId?: string | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
messages: z.objectInputType<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
241
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
242
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
243
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
244
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
245
|
+
content: z.ZodOptional<z.ZodString>;
|
|
246
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
247
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
248
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
249
|
+
content: z.ZodOptional<z.ZodString>;
|
|
250
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
251
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
252
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
253
|
+
content: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
255
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
256
|
+
phase: "input" | "inputStep" | "outputStream" | "outputResult" | "outputStep";
|
|
257
|
+
requestContext?: Record<string, any> | undefined;
|
|
258
|
+
agentId?: string | undefined;
|
|
259
|
+
}>;
|
|
260
|
+
/**
|
|
261
|
+
* Response schema for processor execution
|
|
262
|
+
*/
|
|
263
|
+
export declare const executeProcessorResponseSchema: z.ZodObject<{
|
|
264
|
+
success: z.ZodBoolean;
|
|
265
|
+
phase: z.ZodString;
|
|
266
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
269
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
270
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
271
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
272
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
273
|
+
content: z.ZodOptional<z.ZodString>;
|
|
274
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
275
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
276
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
277
|
+
content: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
279
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
280
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
281
|
+
content: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
283
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
286
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
287
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
288
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
289
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
290
|
+
content: z.ZodOptional<z.ZodString>;
|
|
291
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
292
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
293
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
294
|
+
content: z.ZodOptional<z.ZodString>;
|
|
295
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
296
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
297
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
298
|
+
content: z.ZodOptional<z.ZodString>;
|
|
299
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
300
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
303
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
304
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
305
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
306
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
307
|
+
content: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
309
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
310
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
311
|
+
content: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
313
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
314
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
315
|
+
content: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
317
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
318
|
+
messageList: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
320
|
+
id: z.ZodString;
|
|
321
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
322
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
323
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
324
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
325
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
326
|
+
content: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
328
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
329
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
330
|
+
content: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
332
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
333
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
334
|
+
content: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
336
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
339
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
340
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
341
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
342
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
343
|
+
content: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
345
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
346
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
347
|
+
content: z.ZodOptional<z.ZodString>;
|
|
348
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
349
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
350
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
351
|
+
content: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
353
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
354
|
+
id: z.ZodString;
|
|
355
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
356
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
357
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
358
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
359
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
360
|
+
content: z.ZodOptional<z.ZodString>;
|
|
361
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
362
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
363
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
364
|
+
content: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
366
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
367
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
368
|
+
content: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
370
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
messages: z.objectOutputType<{
|
|
373
|
+
id: z.ZodString;
|
|
374
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
375
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
376
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
377
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
378
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
379
|
+
content: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
381
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
382
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
383
|
+
content: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
385
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
386
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
387
|
+
content: z.ZodOptional<z.ZodString>;
|
|
388
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
389
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
390
|
+
}, {
|
|
391
|
+
messages: z.objectInputType<{
|
|
392
|
+
id: z.ZodString;
|
|
393
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
394
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
395
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
396
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
397
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
398
|
+
content: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
400
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
401
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
402
|
+
content: z.ZodOptional<z.ZodString>;
|
|
403
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
404
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
405
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
406
|
+
content: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
408
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
409
|
+
}>>;
|
|
410
|
+
tripwire: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
triggered: z.ZodBoolean;
|
|
412
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
413
|
+
metadata: z.ZodOptional<z.ZodAny>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
triggered: boolean;
|
|
416
|
+
metadata?: any;
|
|
417
|
+
reason?: string | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
triggered: boolean;
|
|
420
|
+
metadata?: any;
|
|
421
|
+
reason?: string | undefined;
|
|
422
|
+
}>>;
|
|
423
|
+
error: z.ZodOptional<z.ZodString>;
|
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
success: boolean;
|
|
426
|
+
phase: string;
|
|
427
|
+
error?: string | undefined;
|
|
428
|
+
tripwire?: {
|
|
429
|
+
triggered: boolean;
|
|
430
|
+
metadata?: any;
|
|
431
|
+
reason?: string | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
messages?: z.objectOutputType<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
436
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
437
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
438
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
439
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
440
|
+
content: z.ZodOptional<z.ZodString>;
|
|
441
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
442
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
443
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
444
|
+
content: z.ZodOptional<z.ZodString>;
|
|
445
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
446
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
447
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
448
|
+
content: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
450
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
451
|
+
messageList?: {
|
|
452
|
+
messages: z.objectOutputType<{
|
|
453
|
+
id: z.ZodString;
|
|
454
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
455
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
456
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
457
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
458
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
459
|
+
content: z.ZodOptional<z.ZodString>;
|
|
460
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
461
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
462
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
463
|
+
content: z.ZodOptional<z.ZodString>;
|
|
464
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
465
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
466
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
467
|
+
content: z.ZodOptional<z.ZodString>;
|
|
468
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
469
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
470
|
+
} | undefined;
|
|
471
|
+
}, {
|
|
472
|
+
success: boolean;
|
|
473
|
+
phase: string;
|
|
474
|
+
error?: string | undefined;
|
|
475
|
+
tripwire?: {
|
|
476
|
+
triggered: boolean;
|
|
477
|
+
metadata?: any;
|
|
478
|
+
reason?: string | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
messages?: z.objectInputType<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
483
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
484
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
485
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
486
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
487
|
+
content: z.ZodOptional<z.ZodString>;
|
|
488
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
489
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
490
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
491
|
+
content: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
493
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
494
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
495
|
+
content: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
497
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
498
|
+
messageList?: {
|
|
499
|
+
messages: z.objectInputType<{
|
|
500
|
+
id: z.ZodString;
|
|
501
|
+
role: z.ZodEnum<["user", "assistant", "system", "tool"]>;
|
|
502
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
503
|
+
content: z.ZodUnion<[z.ZodObject<{
|
|
504
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
505
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
506
|
+
content: z.ZodOptional<z.ZodString>;
|
|
507
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
508
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
509
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
510
|
+
content: z.ZodOptional<z.ZodString>;
|
|
511
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
512
|
+
format: z.ZodOptional<z.ZodLiteral<2>>;
|
|
513
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
514
|
+
content: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodString]>;
|
|
516
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
517
|
+
} | undefined;
|
|
518
|
+
}>;
|
|
519
|
+
//# sourceMappingURL=processors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processors.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/processors.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAIvC,CAAC;AAUH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC;AAyB5F;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrC,CAAC;AAWH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWzC,CAAC"}
|