@mastra/server 0.0.0-fix-issue-10434-concurrent-write-corruption-20251124213939 → 0.0.0-fix-backport-setserver-20251201151948

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.
Files changed (262) hide show
  1. package/CHANGELOG.md +105 -658
  2. package/README.md +1 -1
  3. package/dist/chunk-2S4IMB6E.cjs +130 -0
  4. package/dist/chunk-2S4IMB6E.cjs.map +1 -0
  5. package/dist/chunk-3SNGNFUJ.cjs +128 -0
  6. package/dist/chunk-3SNGNFUJ.cjs.map +1 -0
  7. package/dist/{chunk-BMKFP3XR.js → chunk-4ML6U6RF.js} +1165 -5133
  8. package/dist/chunk-4ML6U6RF.js.map +1 -0
  9. package/dist/chunk-4QCXUEAT.js +25 -0
  10. package/dist/chunk-4QCXUEAT.js.map +1 -0
  11. package/dist/chunk-67GYDFSB.js +160 -0
  12. package/dist/chunk-67GYDFSB.js.map +1 -0
  13. package/dist/chunk-6N3HC6O4.js +705 -0
  14. package/dist/chunk-6N3HC6O4.js.map +1 -0
  15. package/dist/chunk-6ZR275MD.cjs +165 -0
  16. package/dist/chunk-6ZR275MD.cjs.map +1 -0
  17. package/dist/{chunk-64ITUOXI.cjs → chunk-7NADHFD2.cjs} +2 -2
  18. package/dist/{chunk-6QWQZI4Q.js.map → chunk-7NADHFD2.cjs.map} +1 -1
  19. package/dist/{chunk-4ECGVOJZ.cjs → chunk-7RGKOGE4.cjs} +33 -226
  20. package/dist/chunk-7RGKOGE4.cjs.map +1 -0
  21. package/dist/chunk-ABRFV4XP.js +83 -0
  22. package/dist/chunk-ABRFV4XP.js.map +1 -0
  23. package/dist/chunk-AHB4JCIQ.js +160 -0
  24. package/dist/chunk-AHB4JCIQ.js.map +1 -0
  25. package/dist/chunk-AW5BU3RQ.js +192 -0
  26. package/dist/chunk-AW5BU3RQ.js.map +1 -0
  27. package/dist/chunk-BATEJLED.js +124 -0
  28. package/dist/chunk-BATEJLED.js.map +1 -0
  29. package/dist/{chunk-UXGQZUYZ.js → chunk-CY4TP3FK.js} +3 -3
  30. package/dist/{chunk-UXGQZUYZ.js.map → chunk-CY4TP3FK.js.map} +1 -1
  31. package/dist/chunk-CY6R3HLM.cjs +727 -0
  32. package/dist/chunk-CY6R3HLM.cjs.map +1 -0
  33. package/dist/chunk-EP3JQDPD.cjs +131 -0
  34. package/dist/chunk-EP3JQDPD.cjs.map +1 -0
  35. package/dist/chunk-G4PUALCE.cjs +28 -0
  36. package/dist/chunk-G4PUALCE.cjs.map +1 -0
  37. package/dist/chunk-H33KYEMY.cjs +720 -0
  38. package/dist/chunk-H33KYEMY.cjs.map +1 -0
  39. package/dist/chunk-I3C4ODGV.cjs +335 -0
  40. package/dist/chunk-I3C4ODGV.cjs.map +1 -0
  41. package/dist/{chunk-3R5EV3HV.js → chunk-IAE7SFBS.js} +33 -220
  42. package/dist/chunk-IAE7SFBS.js.map +1 -0
  43. package/dist/chunk-LLUOPR3J.js +323 -0
  44. package/dist/chunk-LLUOPR3J.js.map +1 -0
  45. package/dist/{chunk-6QWQZI4Q.js → chunk-MMROOK5J.js} +2 -2
  46. package/dist/chunk-MMROOK5J.js.map +1 -0
  47. package/dist/chunk-MYR4PVGN.js +123 -0
  48. package/dist/chunk-MYR4PVGN.js.map +1 -0
  49. package/dist/chunk-NT5XW5PI.cjs +596 -0
  50. package/dist/chunk-NT5XW5PI.cjs.map +1 -0
  51. package/dist/chunk-PBXWFGEH.js +579 -0
  52. package/dist/chunk-PBXWFGEH.js.map +1 -0
  53. package/dist/chunk-PY2K7VNW.js +698 -0
  54. package/dist/chunk-PY2K7VNW.js.map +1 -0
  55. package/dist/chunk-QQXMIP6C.js +122 -0
  56. package/dist/chunk-QQXMIP6C.js.map +1 -0
  57. package/dist/{chunk-V5WWQN7P.cjs → chunk-RE4RPXT2.cjs} +4 -4
  58. package/dist/{chunk-V5WWQN7P.cjs.map → chunk-RE4RPXT2.cjs.map} +1 -1
  59. package/dist/chunk-SPRRK3P7.cjs +200 -0
  60. package/dist/chunk-SPRRK3P7.cjs.map +1 -0
  61. package/dist/chunk-TRGAMKHX.cjs +167 -0
  62. package/dist/chunk-TRGAMKHX.cjs.map +1 -0
  63. package/dist/{chunk-BM7RP6NK.cjs → chunk-USGGDGWL.cjs} +1998 -5972
  64. package/dist/chunk-USGGDGWL.cjs.map +1 -0
  65. package/dist/{chunk-UZ6CYAOG.cjs → chunk-VY4ENABS.cjs} +7 -6
  66. package/dist/chunk-VY4ENABS.cjs.map +1 -0
  67. package/dist/chunk-XN74I6VW.cjs +88 -0
  68. package/dist/chunk-XN74I6VW.cjs.map +1 -0
  69. package/dist/{chunk-G7BPNX2V.js → chunk-YWOK4F5A.js} +7 -6
  70. package/dist/chunk-YWOK4F5A.js.map +1 -0
  71. package/dist/server/handlers/a2a.cjs +7 -15
  72. package/dist/server/handlers/a2a.d.ts +10 -492
  73. package/dist/server/handlers/a2a.d.ts.map +1 -1
  74. package/dist/server/handlers/a2a.js +1 -1
  75. package/dist/server/handlers/agent-builder.cjs +31 -43
  76. package/dist/server/handlers/agent-builder.d.ts +84 -598
  77. package/dist/server/handlers/agent-builder.d.ts.map +1 -1
  78. package/dist/server/handlers/agent-builder.js +1 -1
  79. package/dist/server/handlers/agents.cjs +41 -49
  80. package/dist/server/handlers/agents.d.ts +148 -3275
  81. package/dist/server/handlers/agents.d.ts.map +1 -1
  82. package/dist/server/handlers/agents.js +1 -1
  83. package/dist/server/handlers/error.cjs +2 -2
  84. package/dist/server/handlers/error.js +1 -1
  85. package/dist/server/handlers/legacyWorkflows.cjs +48 -0
  86. package/dist/server/handlers/legacyWorkflows.cjs.map +1 -0
  87. package/dist/server/handlers/legacyWorkflows.d.ts +59 -0
  88. package/dist/server/handlers/legacyWorkflows.d.ts.map +1 -0
  89. package/dist/server/handlers/legacyWorkflows.js +3 -0
  90. package/dist/server/handlers/legacyWorkflows.js.map +1 -0
  91. package/dist/server/handlers/logs.cjs +7 -7
  92. package/dist/server/handlers/logs.d.ts +27 -135
  93. package/dist/server/handlers/logs.d.ts.map +1 -1
  94. package/dist/server/handlers/logs.js +1 -1
  95. package/dist/server/handlers/memory.cjs +31 -63
  96. package/dist/server/handlers/memory.d.ts +103 -934
  97. package/dist/server/handlers/memory.d.ts.map +1 -1
  98. package/dist/server/handlers/memory.js +1 -1
  99. package/dist/server/handlers/observability.cjs +8 -24
  100. package/dist/server/handlers/observability.d.ts +21 -128
  101. package/dist/server/handlers/observability.d.ts.map +1 -1
  102. package/dist/server/handlers/observability.js +1 -1
  103. package/dist/server/handlers/scores.cjs +13 -13
  104. package/dist/server/handlers/scores.d.ts +141 -110
  105. package/dist/server/handlers/scores.d.ts.map +1 -1
  106. package/dist/server/handlers/scores.js +1 -1
  107. package/dist/server/handlers/telemetry.cjs +20 -0
  108. package/dist/server/handlers/telemetry.cjs.map +1 -0
  109. package/dist/server/handlers/telemetry.d.ts +33 -0
  110. package/dist/server/handlers/telemetry.d.ts.map +1 -0
  111. package/dist/server/handlers/telemetry.js +3 -0
  112. package/dist/server/handlers/telemetry.js.map +1 -0
  113. package/dist/server/handlers/tools.cjs +11 -11
  114. package/dist/server/handlers/tools.d.ts +23 -69
  115. package/dist/server/handlers/tools.d.ts.map +1 -1
  116. package/dist/server/handlers/tools.js +1 -1
  117. package/dist/server/handlers/utils.cjs +3 -11
  118. package/dist/server/handlers/utils.d.ts +0 -5
  119. package/dist/server/handlers/utils.d.ts.map +1 -1
  120. package/dist/server/handlers/utils.js +1 -1
  121. package/dist/server/handlers/vector.cjs +7 -31
  122. package/dist/server/handlers/vector.d.ts +9 -93
  123. package/dist/server/handlers/vector.d.ts.map +1 -1
  124. package/dist/server/handlers/vector.js +1 -1
  125. package/dist/server/handlers/voice.cjs +9 -21
  126. package/dist/server/handlers/voice.d.ts +40 -81
  127. package/dist/server/handlers/voice.d.ts.map +1 -1
  128. package/dist/server/handlers/voice.js +1 -1
  129. package/dist/server/handlers/workflows.cjs +41 -61
  130. package/dist/server/handlers/workflows.d.ts +87 -918
  131. package/dist/server/handlers/workflows.d.ts.map +1 -1
  132. package/dist/server/handlers/workflows.js +1 -1
  133. package/dist/server/handlers.cjs +36 -26
  134. package/dist/server/handlers.d.ts +2 -0
  135. package/dist/server/handlers.d.ts.map +1 -1
  136. package/dist/server/handlers.js +13 -11
  137. package/dist/server/http-exception.d.ts +5 -0
  138. package/dist/server/http-exception.d.ts.map +1 -1
  139. package/dist/server/utils.d.ts +2 -3
  140. package/dist/server/utils.d.ts.map +1 -1
  141. package/package.json +15 -26
  142. package/dist/chunk-2NW6POYK.cjs +0 -89
  143. package/dist/chunk-2NW6POYK.cjs.map +0 -1
  144. package/dist/chunk-35NT4TMQ.cjs +0 -201
  145. package/dist/chunk-35NT4TMQ.cjs.map +0 -1
  146. package/dist/chunk-3R5EV3HV.js.map +0 -1
  147. package/dist/chunk-4ECGVOJZ.cjs.map +0 -1
  148. package/dist/chunk-5PONYNYP.cjs +0 -125
  149. package/dist/chunk-5PONYNYP.cjs.map +0 -1
  150. package/dist/chunk-5W4RPVTK.cjs +0 -49
  151. package/dist/chunk-5W4RPVTK.cjs.map +0 -1
  152. package/dist/chunk-64ITUOXI.cjs.map +0 -1
  153. package/dist/chunk-6DTV6NEW.js +0 -116
  154. package/dist/chunk-6DTV6NEW.js.map +0 -1
  155. package/dist/chunk-7WTETKRM.cjs +0 -1064
  156. package/dist/chunk-7WTETKRM.cjs.map +0 -1
  157. package/dist/chunk-AEO6IHLK.cjs +0 -368
  158. package/dist/chunk-AEO6IHLK.cjs.map +0 -1
  159. package/dist/chunk-ASZUOBKV.js +0 -310
  160. package/dist/chunk-ASZUOBKV.js.map +0 -1
  161. package/dist/chunk-BM7RP6NK.cjs.map +0 -1
  162. package/dist/chunk-BMKFP3XR.js.map +0 -1
  163. package/dist/chunk-ECIVTQ4E.js +0 -354
  164. package/dist/chunk-ECIVTQ4E.js.map +0 -1
  165. package/dist/chunk-FAQICBMH.js +0 -164
  166. package/dist/chunk-FAQICBMH.js.map +0 -1
  167. package/dist/chunk-FXDZLX2Y.js +0 -192
  168. package/dist/chunk-FXDZLX2Y.js.map +0 -1
  169. package/dist/chunk-G7BPNX2V.js.map +0 -1
  170. package/dist/chunk-I5VZ5SKG.js +0 -328
  171. package/dist/chunk-I5VZ5SKG.js.map +0 -1
  172. package/dist/chunk-ICANWSEW.js +0 -204
  173. package/dist/chunk-ICANWSEW.js.map +0 -1
  174. package/dist/chunk-KB5NSROG.cjs +0 -211
  175. package/dist/chunk-KB5NSROG.cjs.map +0 -1
  176. package/dist/chunk-MWQQRVQC.cjs +0 -259
  177. package/dist/chunk-MWQQRVQC.cjs.map +0 -1
  178. package/dist/chunk-PKRHEXX7.js +0 -74
  179. package/dist/chunk-PKRHEXX7.js.map +0 -1
  180. package/dist/chunk-QGWCNTG6.cjs +0 -797
  181. package/dist/chunk-QGWCNTG6.cjs.map +0 -1
  182. package/dist/chunk-R4M3BSUG.js +0 -226
  183. package/dist/chunk-R4M3BSUG.js.map +0 -1
  184. package/dist/chunk-UJNHKFBR.cjs +0 -167
  185. package/dist/chunk-UJNHKFBR.cjs.map +0 -1
  186. package/dist/chunk-UOFV2ZCI.js +0 -878
  187. package/dist/chunk-UOFV2ZCI.js.map +0 -1
  188. package/dist/chunk-UZ6CYAOG.cjs.map +0 -1
  189. package/dist/chunk-VIP2H47U.js +0 -1021
  190. package/dist/chunk-VIP2H47U.js.map +0 -1
  191. package/dist/chunk-XWGAT2DA.js +0 -44
  192. package/dist/chunk-XWGAT2DA.js.map +0 -1
  193. package/dist/chunk-YJ3VDL3Z.cjs +0 -346
  194. package/dist/chunk-YJ3VDL3Z.cjs.map +0 -1
  195. package/dist/chunk-Z36N2OQA.cjs +0 -907
  196. package/dist/chunk-Z36N2OQA.cjs.map +0 -1
  197. package/dist/chunk-ZLRTFRL4.js +0 -773
  198. package/dist/chunk-ZLRTFRL4.js.map +0 -1
  199. package/dist/chunk-ZODCSH2W.cjs +0 -322
  200. package/dist/chunk-ZODCSH2W.cjs.map +0 -1
  201. package/dist/server/handlers/test-utils.cjs +0 -15
  202. package/dist/server/handlers/test-utils.cjs.map +0 -1
  203. package/dist/server/handlers/test-utils.d.ts +0 -6
  204. package/dist/server/handlers/test-utils.d.ts.map +0 -1
  205. package/dist/server/handlers/test-utils.js +0 -13
  206. package/dist/server/handlers/test-utils.js.map +0 -1
  207. package/dist/server/schemas/a2a.d.ts +0 -786
  208. package/dist/server/schemas/a2a.d.ts.map +0 -1
  209. package/dist/server/schemas/agent-builder.d.ts +0 -195
  210. package/dist/server/schemas/agent-builder.d.ts.map +0 -1
  211. package/dist/server/schemas/agents.d.ts +0 -1375
  212. package/dist/server/schemas/agents.d.ts.map +0 -1
  213. package/dist/server/schemas/common.d.ts +0 -165
  214. package/dist/server/schemas/common.d.ts.map +0 -1
  215. package/dist/server/schemas/logs.d.ts +0 -124
  216. package/dist/server/schemas/logs.d.ts.map +0 -1
  217. package/dist/server/schemas/memory.d.ts +0 -998
  218. package/dist/server/schemas/memory.d.ts.map +0 -1
  219. package/dist/server/schemas/observability.d.ts +0 -402
  220. package/dist/server/schemas/observability.d.ts.map +0 -1
  221. package/dist/server/schemas/scores.d.ts +0 -259
  222. package/dist/server/schemas/scores.d.ts.map +0 -1
  223. package/dist/server/schemas/vectors.d.ts +0 -107
  224. package/dist/server/schemas/vectors.d.ts.map +0 -1
  225. package/dist/server/schemas/workflows.d.ts +0 -608
  226. package/dist/server/schemas/workflows.d.ts.map +0 -1
  227. package/dist/server/server-adapter/index.cjs +0 -330
  228. package/dist/server/server-adapter/index.cjs.map +0 -1
  229. package/dist/server/server-adapter/index.d.ts +0 -52
  230. package/dist/server/server-adapter/index.d.ts.map +0 -1
  231. package/dist/server/server-adapter/index.js +0 -316
  232. package/dist/server/server-adapter/index.js.map +0 -1
  233. package/dist/server/server-adapter/openapi-utils.d.ts +0 -59
  234. package/dist/server/server-adapter/openapi-utils.d.ts.map +0 -1
  235. package/dist/server/server-adapter/routes/a2a.d.ts +0 -3
  236. package/dist/server/server-adapter/routes/a2a.d.ts.map +0 -1
  237. package/dist/server/server-adapter/routes/agent-builder.d.ts +0 -3
  238. package/dist/server/server-adapter/routes/agent-builder.d.ts.map +0 -1
  239. package/dist/server/server-adapter/routes/agents.d.ts +0 -3
  240. package/dist/server/server-adapter/routes/agents.d.ts.map +0 -1
  241. package/dist/server/server-adapter/routes/index.d.ts +0 -41
  242. package/dist/server/server-adapter/routes/index.d.ts.map +0 -1
  243. package/dist/server/server-adapter/routes/legacy.d.ts +0 -7
  244. package/dist/server/server-adapter/routes/legacy.d.ts.map +0 -1
  245. package/dist/server/server-adapter/routes/logs.d.ts +0 -3
  246. package/dist/server/server-adapter/routes/logs.d.ts.map +0 -1
  247. package/dist/server/server-adapter/routes/memory.d.ts +0 -3
  248. package/dist/server/server-adapter/routes/memory.d.ts.map +0 -1
  249. package/dist/server/server-adapter/routes/observability.d.ts +0 -3
  250. package/dist/server/server-adapter/routes/observability.d.ts.map +0 -1
  251. package/dist/server/server-adapter/routes/route-builder.d.ts +0 -52
  252. package/dist/server/server-adapter/routes/route-builder.d.ts.map +0 -1
  253. package/dist/server/server-adapter/routes/scorers.d.ts +0 -3
  254. package/dist/server/server-adapter/routes/scorers.d.ts.map +0 -1
  255. package/dist/server/server-adapter/routes/stream-types.d.ts +0 -10
  256. package/dist/server/server-adapter/routes/stream-types.d.ts.map +0 -1
  257. package/dist/server/server-adapter/routes/tools.d.ts +0 -3
  258. package/dist/server/server-adapter/routes/tools.d.ts.map +0 -1
  259. package/dist/server/server-adapter/routes/vectors.d.ts +0 -3
  260. package/dist/server/server-adapter/routes/vectors.d.ts.map +0 -1
  261. package/dist/server/server-adapter/routes/workflows.d.ts +0 -3
  262. package/dist/server/server-adapter/routes/workflows.d.ts.map +0 -1
@@ -1,1375 +0,0 @@
1
- import z from 'zod';
2
- export declare const agentIdPathParams: z.ZodObject<{
3
- agentId: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- agentId: string;
6
- }, {
7
- agentId: string;
8
- }>;
9
- export declare const toolIdPathParams: z.ZodObject<{
10
- toolId: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- toolId: string;
13
- }, {
14
- toolId: string;
15
- }>;
16
- export declare const agentToolPathParams: z.ZodObject<{
17
- agentId: z.ZodString;
18
- } & {
19
- toolId: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- agentId: string;
22
- toolId: string;
23
- }, {
24
- agentId: string;
25
- toolId: string;
26
- }>;
27
- export declare const modelConfigIdPathParams: z.ZodObject<{
28
- agentId: z.ZodString;
29
- } & {
30
- modelConfigId: z.ZodString;
31
- }, "strip", z.ZodTypeAny, {
32
- agentId: string;
33
- modelConfigId: string;
34
- }, {
35
- agentId: string;
36
- modelConfigId: string;
37
- }>;
38
- /**
39
- * Schema for serialized processor metadata
40
- */
41
- export declare const serializedProcessorSchema: z.ZodObject<{
42
- id: z.ZodString;
43
- name: z.ZodOptional<z.ZodString>;
44
- }, "strip", z.ZodTypeAny, {
45
- id: string;
46
- name?: string | undefined;
47
- }, {
48
- id: string;
49
- name?: string | undefined;
50
- }>;
51
- /**
52
- * Schema for serialized tool with JSON schemas
53
- * Uses passthrough() to allow additional tool properties beyond core fields
54
- */
55
- export declare const serializedToolSchema: z.ZodObject<{
56
- id: z.ZodString;
57
- description: z.ZodOptional<z.ZodString>;
58
- inputSchema: z.ZodOptional<z.ZodString>;
59
- outputSchema: z.ZodOptional<z.ZodString>;
60
- requireApproval: z.ZodOptional<z.ZodBoolean>;
61
- }, "strip", z.ZodTypeAny, {
62
- id: string;
63
- description?: string | undefined;
64
- inputSchema?: string | undefined;
65
- outputSchema?: string | undefined;
66
- requireApproval?: boolean | undefined;
67
- }, {
68
- id: string;
69
- description?: string | undefined;
70
- inputSchema?: string | undefined;
71
- outputSchema?: string | undefined;
72
- requireApproval?: boolean | undefined;
73
- }>;
74
- /**
75
- * Schema for serialized workflow with steps
76
- */
77
- export declare const serializedWorkflowSchema: z.ZodObject<{
78
- name: z.ZodString;
79
- steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
80
- id: z.ZodString;
81
- description: z.ZodOptional<z.ZodString>;
82
- }, "strip", z.ZodTypeAny, {
83
- id: string;
84
- description?: string | undefined;
85
- }, {
86
- id: string;
87
- description?: string | undefined;
88
- }>>>;
89
- }, "strip", z.ZodTypeAny, {
90
- name: string;
91
- steps?: Record<string, {
92
- id: string;
93
- description?: string | undefined;
94
- }> | undefined;
95
- }, {
96
- name: string;
97
- steps?: Record<string, {
98
- id: string;
99
- description?: string | undefined;
100
- }> | undefined;
101
- }>;
102
- /**
103
- * Schema for serialized agent definition (referenced by other agents)
104
- */
105
- export declare const serializedAgentDefinitionSchema: z.ZodObject<{
106
- id: z.ZodString;
107
- name: z.ZodString;
108
- }, "strip", z.ZodTypeAny, {
109
- name: string;
110
- id: string;
111
- }, {
112
- name: string;
113
- id: string;
114
- }>;
115
- /**
116
- * Main schema for serialized agent representation
117
- */
118
- export declare const serializedAgentSchema: z.ZodObject<{
119
- name: z.ZodString;
120
- description: z.ZodOptional<z.ZodString>;
121
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
122
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
123
- id: z.ZodString;
124
- description: z.ZodOptional<z.ZodString>;
125
- inputSchema: z.ZodOptional<z.ZodString>;
126
- outputSchema: z.ZodOptional<z.ZodString>;
127
- requireApproval: z.ZodOptional<z.ZodBoolean>;
128
- }, "strip", z.ZodTypeAny, {
129
- id: string;
130
- description?: string | undefined;
131
- inputSchema?: string | undefined;
132
- outputSchema?: string | undefined;
133
- requireApproval?: boolean | undefined;
134
- }, {
135
- id: string;
136
- description?: string | undefined;
137
- inputSchema?: string | undefined;
138
- outputSchema?: string | undefined;
139
- requireApproval?: boolean | undefined;
140
- }>>;
141
- agents: z.ZodRecord<z.ZodString, z.ZodObject<{
142
- id: z.ZodString;
143
- name: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
145
- name: string;
146
- id: string;
147
- }, {
148
- name: string;
149
- id: string;
150
- }>>;
151
- workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
152
- name: z.ZodString;
153
- steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
154
- id: z.ZodString;
155
- description: z.ZodOptional<z.ZodString>;
156
- }, "strip", z.ZodTypeAny, {
157
- id: string;
158
- description?: string | undefined;
159
- }, {
160
- id: string;
161
- description?: string | undefined;
162
- }>>>;
163
- }, "strip", z.ZodTypeAny, {
164
- name: string;
165
- steps?: Record<string, {
166
- id: string;
167
- description?: string | undefined;
168
- }> | undefined;
169
- }, {
170
- name: string;
171
- steps?: Record<string, {
172
- id: string;
173
- description?: string | undefined;
174
- }> | undefined;
175
- }>>;
176
- inputProcessors: z.ZodArray<z.ZodObject<{
177
- id: z.ZodString;
178
- name: z.ZodOptional<z.ZodString>;
179
- }, "strip", z.ZodTypeAny, {
180
- id: string;
181
- name?: string | undefined;
182
- }, {
183
- id: string;
184
- name?: string | undefined;
185
- }>, "many">;
186
- outputProcessors: z.ZodArray<z.ZodObject<{
187
- id: z.ZodString;
188
- name: z.ZodOptional<z.ZodString>;
189
- }, "strip", z.ZodTypeAny, {
190
- id: string;
191
- name?: string | undefined;
192
- }, {
193
- id: string;
194
- name?: string | undefined;
195
- }>, "many">;
196
- provider: z.ZodOptional<z.ZodString>;
197
- modelId: z.ZodOptional<z.ZodString>;
198
- modelVersion: z.ZodOptional<z.ZodString>;
199
- modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
200
- model: z.ZodObject<{
201
- modelId: z.ZodString;
202
- provider: z.ZodString;
203
- modelVersion: z.ZodString;
204
- }, "strip", z.ZodTypeAny, {
205
- modelId: string;
206
- provider: string;
207
- modelVersion: string;
208
- }, {
209
- modelId: string;
210
- provider: string;
211
- modelVersion: string;
212
- }>;
213
- }, "strip", z.ZodTypeAny, {
214
- model: {
215
- modelId: string;
216
- provider: string;
217
- modelVersion: string;
218
- };
219
- }, {
220
- model: {
221
- modelId: string;
222
- provider: string;
223
- modelVersion: string;
224
- };
225
- }>, "many">>;
226
- defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
227
- defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
228
- defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
229
- }, "strip", z.ZodTypeAny, {
230
- name: string;
231
- tools: Record<string, {
232
- id: string;
233
- description?: string | undefined;
234
- inputSchema?: string | undefined;
235
- outputSchema?: string | undefined;
236
- requireApproval?: boolean | undefined;
237
- }>;
238
- agents: Record<string, {
239
- name: string;
240
- id: string;
241
- }>;
242
- workflows: Record<string, {
243
- name: string;
244
- steps?: Record<string, {
245
- id: string;
246
- description?: string | undefined;
247
- }> | undefined;
248
- }>;
249
- inputProcessors: {
250
- id: string;
251
- name?: string | undefined;
252
- }[];
253
- outputProcessors: {
254
- id: string;
255
- name?: string | undefined;
256
- }[];
257
- description?: string | undefined;
258
- modelId?: string | undefined;
259
- provider?: string | undefined;
260
- modelVersion?: string | undefined;
261
- instructions?: any;
262
- modelList?: {
263
- model: {
264
- modelId: string;
265
- provider: string;
266
- modelVersion: string;
267
- };
268
- }[] | undefined;
269
- defaultOptions?: Record<string, any> | undefined;
270
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
271
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
272
- }, {
273
- name: string;
274
- tools: Record<string, {
275
- id: string;
276
- description?: string | undefined;
277
- inputSchema?: string | undefined;
278
- outputSchema?: string | undefined;
279
- requireApproval?: boolean | undefined;
280
- }>;
281
- agents: Record<string, {
282
- name: string;
283
- id: string;
284
- }>;
285
- workflows: Record<string, {
286
- name: string;
287
- steps?: Record<string, {
288
- id: string;
289
- description?: string | undefined;
290
- }> | undefined;
291
- }>;
292
- inputProcessors: {
293
- id: string;
294
- name?: string | undefined;
295
- }[];
296
- outputProcessors: {
297
- id: string;
298
- name?: string | undefined;
299
- }[];
300
- description?: string | undefined;
301
- modelId?: string | undefined;
302
- provider?: string | undefined;
303
- modelVersion?: string | undefined;
304
- instructions?: any;
305
- modelList?: {
306
- model: {
307
- modelId: string;
308
- provider: string;
309
- modelVersion: string;
310
- };
311
- }[] | undefined;
312
- defaultOptions?: Record<string, any> | undefined;
313
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
314
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
315
- }>;
316
- /**
317
- * Schema for agent with ID
318
- */
319
- export declare const serializedAgentWithIdSchema: z.ZodObject<{
320
- name: z.ZodString;
321
- description: z.ZodOptional<z.ZodString>;
322
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
323
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
324
- id: z.ZodString;
325
- description: z.ZodOptional<z.ZodString>;
326
- inputSchema: z.ZodOptional<z.ZodString>;
327
- outputSchema: z.ZodOptional<z.ZodString>;
328
- requireApproval: z.ZodOptional<z.ZodBoolean>;
329
- }, "strip", z.ZodTypeAny, {
330
- id: string;
331
- description?: string | undefined;
332
- inputSchema?: string | undefined;
333
- outputSchema?: string | undefined;
334
- requireApproval?: boolean | undefined;
335
- }, {
336
- id: string;
337
- description?: string | undefined;
338
- inputSchema?: string | undefined;
339
- outputSchema?: string | undefined;
340
- requireApproval?: boolean | undefined;
341
- }>>;
342
- agents: z.ZodRecord<z.ZodString, z.ZodObject<{
343
- id: z.ZodString;
344
- name: z.ZodString;
345
- }, "strip", z.ZodTypeAny, {
346
- name: string;
347
- id: string;
348
- }, {
349
- name: string;
350
- id: string;
351
- }>>;
352
- workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
353
- name: z.ZodString;
354
- steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
355
- id: z.ZodString;
356
- description: z.ZodOptional<z.ZodString>;
357
- }, "strip", z.ZodTypeAny, {
358
- id: string;
359
- description?: string | undefined;
360
- }, {
361
- id: string;
362
- description?: string | undefined;
363
- }>>>;
364
- }, "strip", z.ZodTypeAny, {
365
- name: string;
366
- steps?: Record<string, {
367
- id: string;
368
- description?: string | undefined;
369
- }> | undefined;
370
- }, {
371
- name: string;
372
- steps?: Record<string, {
373
- id: string;
374
- description?: string | undefined;
375
- }> | undefined;
376
- }>>;
377
- inputProcessors: z.ZodArray<z.ZodObject<{
378
- id: z.ZodString;
379
- name: z.ZodOptional<z.ZodString>;
380
- }, "strip", z.ZodTypeAny, {
381
- id: string;
382
- name?: string | undefined;
383
- }, {
384
- id: string;
385
- name?: string | undefined;
386
- }>, "many">;
387
- outputProcessors: z.ZodArray<z.ZodObject<{
388
- id: z.ZodString;
389
- name: z.ZodOptional<z.ZodString>;
390
- }, "strip", z.ZodTypeAny, {
391
- id: string;
392
- name?: string | undefined;
393
- }, {
394
- id: string;
395
- name?: string | undefined;
396
- }>, "many">;
397
- provider: z.ZodOptional<z.ZodString>;
398
- modelId: z.ZodOptional<z.ZodString>;
399
- modelVersion: z.ZodOptional<z.ZodString>;
400
- modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
401
- model: z.ZodObject<{
402
- modelId: z.ZodString;
403
- provider: z.ZodString;
404
- modelVersion: z.ZodString;
405
- }, "strip", z.ZodTypeAny, {
406
- modelId: string;
407
- provider: string;
408
- modelVersion: string;
409
- }, {
410
- modelId: string;
411
- provider: string;
412
- modelVersion: string;
413
- }>;
414
- }, "strip", z.ZodTypeAny, {
415
- model: {
416
- modelId: string;
417
- provider: string;
418
- modelVersion: string;
419
- };
420
- }, {
421
- model: {
422
- modelId: string;
423
- provider: string;
424
- modelVersion: string;
425
- };
426
- }>, "many">>;
427
- defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
428
- defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
429
- defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
430
- } & {
431
- id: z.ZodString;
432
- }, "strip", z.ZodTypeAny, {
433
- name: string;
434
- id: string;
435
- tools: Record<string, {
436
- id: string;
437
- description?: string | undefined;
438
- inputSchema?: string | undefined;
439
- outputSchema?: string | undefined;
440
- requireApproval?: boolean | undefined;
441
- }>;
442
- agents: Record<string, {
443
- name: string;
444
- id: string;
445
- }>;
446
- workflows: Record<string, {
447
- name: string;
448
- steps?: Record<string, {
449
- id: string;
450
- description?: string | undefined;
451
- }> | undefined;
452
- }>;
453
- inputProcessors: {
454
- id: string;
455
- name?: string | undefined;
456
- }[];
457
- outputProcessors: {
458
- id: string;
459
- name?: string | undefined;
460
- }[];
461
- description?: string | undefined;
462
- modelId?: string | undefined;
463
- provider?: string | undefined;
464
- modelVersion?: string | undefined;
465
- instructions?: any;
466
- modelList?: {
467
- model: {
468
- modelId: string;
469
- provider: string;
470
- modelVersion: string;
471
- };
472
- }[] | undefined;
473
- defaultOptions?: Record<string, any> | undefined;
474
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
475
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
476
- }, {
477
- name: string;
478
- id: string;
479
- tools: Record<string, {
480
- id: string;
481
- description?: string | undefined;
482
- inputSchema?: string | undefined;
483
- outputSchema?: string | undefined;
484
- requireApproval?: boolean | undefined;
485
- }>;
486
- agents: Record<string, {
487
- name: string;
488
- id: string;
489
- }>;
490
- workflows: Record<string, {
491
- name: string;
492
- steps?: Record<string, {
493
- id: string;
494
- description?: string | undefined;
495
- }> | undefined;
496
- }>;
497
- inputProcessors: {
498
- id: string;
499
- name?: string | undefined;
500
- }[];
501
- outputProcessors: {
502
- id: string;
503
- name?: string | undefined;
504
- }[];
505
- description?: string | undefined;
506
- modelId?: string | undefined;
507
- provider?: string | undefined;
508
- modelVersion?: string | undefined;
509
- instructions?: any;
510
- modelList?: {
511
- model: {
512
- modelId: string;
513
- provider: string;
514
- modelVersion: string;
515
- };
516
- }[] | undefined;
517
- defaultOptions?: Record<string, any> | undefined;
518
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
519
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
520
- }>;
521
- /**
522
- * Schema for individual provider information
523
- */
524
- export declare const providerSchema: z.ZodObject<{
525
- id: z.ZodString;
526
- name: z.ZodString;
527
- label: z.ZodOptional<z.ZodString>;
528
- description: z.ZodOptional<z.ZodString>;
529
- }, "strip", z.ZodTypeAny, {
530
- name: string;
531
- id: string;
532
- description?: string | undefined;
533
- label?: string | undefined;
534
- }, {
535
- name: string;
536
- id: string;
537
- description?: string | undefined;
538
- label?: string | undefined;
539
- }>;
540
- /**
541
- * Schema for providers endpoint response
542
- */
543
- export declare const providersResponseSchema: z.ZodObject<{
544
- providers: z.ZodArray<z.ZodObject<{
545
- id: z.ZodString;
546
- name: z.ZodString;
547
- label: z.ZodOptional<z.ZodString>;
548
- description: z.ZodOptional<z.ZodString>;
549
- }, "strip", z.ZodTypeAny, {
550
- name: string;
551
- id: string;
552
- description?: string | undefined;
553
- label?: string | undefined;
554
- }, {
555
- name: string;
556
- id: string;
557
- description?: string | undefined;
558
- label?: string | undefined;
559
- }>, "many">;
560
- }, "strip", z.ZodTypeAny, {
561
- providers: {
562
- name: string;
563
- id: string;
564
- description?: string | undefined;
565
- label?: string | undefined;
566
- }[];
567
- }, {
568
- providers: {
569
- name: string;
570
- id: string;
571
- description?: string | undefined;
572
- label?: string | undefined;
573
- }[];
574
- }>;
575
- /**
576
- * Schema for list agents endpoint response
577
- * Returns a record of agent ID to serialized agent
578
- */
579
- export declare const listAgentsResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
580
- name: z.ZodString;
581
- description: z.ZodOptional<z.ZodString>;
582
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
583
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
584
- id: z.ZodString;
585
- description: z.ZodOptional<z.ZodString>;
586
- inputSchema: z.ZodOptional<z.ZodString>;
587
- outputSchema: z.ZodOptional<z.ZodString>;
588
- requireApproval: z.ZodOptional<z.ZodBoolean>;
589
- }, "strip", z.ZodTypeAny, {
590
- id: string;
591
- description?: string | undefined;
592
- inputSchema?: string | undefined;
593
- outputSchema?: string | undefined;
594
- requireApproval?: boolean | undefined;
595
- }, {
596
- id: string;
597
- description?: string | undefined;
598
- inputSchema?: string | undefined;
599
- outputSchema?: string | undefined;
600
- requireApproval?: boolean | undefined;
601
- }>>;
602
- agents: z.ZodRecord<z.ZodString, z.ZodObject<{
603
- id: z.ZodString;
604
- name: z.ZodString;
605
- }, "strip", z.ZodTypeAny, {
606
- name: string;
607
- id: string;
608
- }, {
609
- name: string;
610
- id: string;
611
- }>>;
612
- workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
613
- name: z.ZodString;
614
- steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
615
- id: z.ZodString;
616
- description: z.ZodOptional<z.ZodString>;
617
- }, "strip", z.ZodTypeAny, {
618
- id: string;
619
- description?: string | undefined;
620
- }, {
621
- id: string;
622
- description?: string | undefined;
623
- }>>>;
624
- }, "strip", z.ZodTypeAny, {
625
- name: string;
626
- steps?: Record<string, {
627
- id: string;
628
- description?: string | undefined;
629
- }> | undefined;
630
- }, {
631
- name: string;
632
- steps?: Record<string, {
633
- id: string;
634
- description?: string | undefined;
635
- }> | undefined;
636
- }>>;
637
- inputProcessors: z.ZodArray<z.ZodObject<{
638
- id: z.ZodString;
639
- name: z.ZodOptional<z.ZodString>;
640
- }, "strip", z.ZodTypeAny, {
641
- id: string;
642
- name?: string | undefined;
643
- }, {
644
- id: string;
645
- name?: string | undefined;
646
- }>, "many">;
647
- outputProcessors: z.ZodArray<z.ZodObject<{
648
- id: z.ZodString;
649
- name: z.ZodOptional<z.ZodString>;
650
- }, "strip", z.ZodTypeAny, {
651
- id: string;
652
- name?: string | undefined;
653
- }, {
654
- id: string;
655
- name?: string | undefined;
656
- }>, "many">;
657
- provider: z.ZodOptional<z.ZodString>;
658
- modelId: z.ZodOptional<z.ZodString>;
659
- modelVersion: z.ZodOptional<z.ZodString>;
660
- modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
661
- model: z.ZodObject<{
662
- modelId: z.ZodString;
663
- provider: z.ZodString;
664
- modelVersion: z.ZodString;
665
- }, "strip", z.ZodTypeAny, {
666
- modelId: string;
667
- provider: string;
668
- modelVersion: string;
669
- }, {
670
- modelId: string;
671
- provider: string;
672
- modelVersion: string;
673
- }>;
674
- }, "strip", z.ZodTypeAny, {
675
- model: {
676
- modelId: string;
677
- provider: string;
678
- modelVersion: string;
679
- };
680
- }, {
681
- model: {
682
- modelId: string;
683
- provider: string;
684
- modelVersion: string;
685
- };
686
- }>, "many">>;
687
- defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
688
- defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
689
- defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
690
- }, "strip", z.ZodTypeAny, {
691
- name: string;
692
- tools: Record<string, {
693
- id: string;
694
- description?: string | undefined;
695
- inputSchema?: string | undefined;
696
- outputSchema?: string | undefined;
697
- requireApproval?: boolean | undefined;
698
- }>;
699
- agents: Record<string, {
700
- name: string;
701
- id: string;
702
- }>;
703
- workflows: Record<string, {
704
- name: string;
705
- steps?: Record<string, {
706
- id: string;
707
- description?: string | undefined;
708
- }> | undefined;
709
- }>;
710
- inputProcessors: {
711
- id: string;
712
- name?: string | undefined;
713
- }[];
714
- outputProcessors: {
715
- id: string;
716
- name?: string | undefined;
717
- }[];
718
- description?: string | undefined;
719
- modelId?: string | undefined;
720
- provider?: string | undefined;
721
- modelVersion?: string | undefined;
722
- instructions?: any;
723
- modelList?: {
724
- model: {
725
- modelId: string;
726
- provider: string;
727
- modelVersion: string;
728
- };
729
- }[] | undefined;
730
- defaultOptions?: Record<string, any> | undefined;
731
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
732
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
733
- }, {
734
- name: string;
735
- tools: Record<string, {
736
- id: string;
737
- description?: string | undefined;
738
- inputSchema?: string | undefined;
739
- outputSchema?: string | undefined;
740
- requireApproval?: boolean | undefined;
741
- }>;
742
- agents: Record<string, {
743
- name: string;
744
- id: string;
745
- }>;
746
- workflows: Record<string, {
747
- name: string;
748
- steps?: Record<string, {
749
- id: string;
750
- description?: string | undefined;
751
- }> | undefined;
752
- }>;
753
- inputProcessors: {
754
- id: string;
755
- name?: string | undefined;
756
- }[];
757
- outputProcessors: {
758
- id: string;
759
- name?: string | undefined;
760
- }[];
761
- description?: string | undefined;
762
- modelId?: string | undefined;
763
- provider?: string | undefined;
764
- modelVersion?: string | undefined;
765
- instructions?: any;
766
- modelList?: {
767
- model: {
768
- modelId: string;
769
- provider: string;
770
- modelVersion: string;
771
- };
772
- }[] | undefined;
773
- defaultOptions?: Record<string, any> | undefined;
774
- defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
775
- defaultStreamOptionsLegacy?: Record<string, any> | undefined;
776
- }>>;
777
- /**
778
- * Schema for list tools endpoint response
779
- * Returns a record of tool ID to serialized tool
780
- */
781
- export declare const listToolsResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
782
- id: z.ZodString;
783
- description: z.ZodOptional<z.ZodString>;
784
- inputSchema: z.ZodOptional<z.ZodString>;
785
- outputSchema: z.ZodOptional<z.ZodString>;
786
- requireApproval: z.ZodOptional<z.ZodBoolean>;
787
- }, "strip", z.ZodTypeAny, {
788
- id: string;
789
- description?: string | undefined;
790
- inputSchema?: string | undefined;
791
- outputSchema?: string | undefined;
792
- requireApproval?: boolean | undefined;
793
- }, {
794
- id: string;
795
- description?: string | undefined;
796
- inputSchema?: string | undefined;
797
- outputSchema?: string | undefined;
798
- requireApproval?: boolean | undefined;
799
- }>>;
800
- /**
801
- * Comprehensive body schema for agent generate and stream endpoints
802
- * Validates common fields while using passthrough for complex nested objects
803
- *
804
- * EXCLUDED FIELDS (not serializable):
805
- * - Callbacks: onStepFinish, onFinish, onChunk, onError, onAbort, prepareStep
806
- * - Class instances: inputProcessors, outputProcessors
807
- * - Non-serializable: abortSignal, tracingContext
808
- */
809
- export declare const agentExecutionBodySchema: z.ZodObject<{
810
- messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
811
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
812
- system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
813
- context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
814
- memory: z.ZodOptional<z.ZodObject<{
815
- thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
816
- id: z.ZodString;
817
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
818
- id: z.ZodString;
819
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
820
- id: z.ZodString;
821
- }, z.ZodTypeAny, "passthrough">>]>;
822
- resource: z.ZodString;
823
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
824
- readOnly: z.ZodOptional<z.ZodBoolean>;
825
- }, "strip", z.ZodTypeAny, {
826
- thread: string | z.objectOutputType<{
827
- id: z.ZodString;
828
- }, z.ZodTypeAny, "passthrough">;
829
- resource: string;
830
- options?: Record<string, any> | undefined;
831
- readOnly?: boolean | undefined;
832
- }, {
833
- thread: string | z.objectInputType<{
834
- id: z.ZodString;
835
- }, z.ZodTypeAny, "passthrough">;
836
- resource: string;
837
- options?: Record<string, any> | undefined;
838
- readOnly?: boolean | undefined;
839
- }>>;
840
- resourceId: z.ZodOptional<z.ZodString>;
841
- resourceid: z.ZodOptional<z.ZodString>;
842
- threadId: z.ZodOptional<z.ZodString>;
843
- runId: z.ZodOptional<z.ZodString>;
844
- savePerStep: z.ZodOptional<z.ZodBoolean>;
845
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
846
- maxSteps: z.ZodOptional<z.ZodNumber>;
847
- stopWhen: z.ZodOptional<z.ZodAny>;
848
- providerOptions: z.ZodOptional<z.ZodObject<{
849
- anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
850
- google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
851
- openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
852
- xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
853
- }, "strip", z.ZodTypeAny, {
854
- anthropic?: Record<string, any> | undefined;
855
- google?: Record<string, any> | undefined;
856
- openai?: Record<string, any> | undefined;
857
- xai?: Record<string, any> | undefined;
858
- }, {
859
- anthropic?: Record<string, any> | undefined;
860
- google?: Record<string, any> | undefined;
861
- openai?: Record<string, any> | undefined;
862
- xai?: Record<string, any> | undefined;
863
- }>>;
864
- modelSettings: z.ZodOptional<z.ZodAny>;
865
- activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
866
- toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
867
- clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
868
- toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
869
- type: z.ZodLiteral<"tool">;
870
- toolName: z.ZodString;
871
- }, "strip", z.ZodTypeAny, {
872
- type: "tool";
873
- toolName: string;
874
- }, {
875
- type: "tool";
876
- toolName: string;
877
- }>]>>;
878
- requireToolApproval: z.ZodOptional<z.ZodBoolean>;
879
- scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
880
- scorer: z.ZodString;
881
- sampling: z.ZodOptional<z.ZodAny>;
882
- }, "strip", z.ZodTypeAny, {
883
- scorer: string;
884
- sampling?: any;
885
- }, {
886
- scorer: string;
887
- sampling?: any;
888
- }>>]>>;
889
- returnScorerData: z.ZodOptional<z.ZodBoolean>;
890
- tracingOptions: z.ZodOptional<z.ZodObject<{
891
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
892
- requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
893
- traceId: z.ZodOptional<z.ZodString>;
894
- parentSpanId: z.ZodOptional<z.ZodString>;
895
- }, "strip", z.ZodTypeAny, {
896
- metadata?: Record<string, unknown> | undefined;
897
- requestContextKeys?: string[] | undefined;
898
- traceId?: string | undefined;
899
- parentSpanId?: string | undefined;
900
- }, {
901
- metadata?: Record<string, unknown> | undefined;
902
- requestContextKeys?: string[] | undefined;
903
- traceId?: string | undefined;
904
- parentSpanId?: string | undefined;
905
- }>>;
906
- output: z.ZodOptional<z.ZodAny>;
907
- structuredOutput: z.ZodOptional<z.ZodObject<{
908
- schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
909
- model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
910
- instructions: z.ZodOptional<z.ZodString>;
911
- jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
912
- errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
913
- fallbackValue: z.ZodOptional<z.ZodAny>;
914
- }, "strip", z.ZodTypeAny, {
915
- schema: {} & {
916
- [k: string]: unknown;
917
- };
918
- model?: any;
919
- instructions?: string | undefined;
920
- jsonPromptInjection?: boolean | undefined;
921
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
922
- fallbackValue?: any;
923
- }, {
924
- schema: {} & {
925
- [k: string]: unknown;
926
- };
927
- model?: any;
928
- instructions?: string | undefined;
929
- jsonPromptInjection?: boolean | undefined;
930
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
931
- fallbackValue?: any;
932
- }>>;
933
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
934
- messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
935
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
936
- system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
937
- context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
938
- memory: z.ZodOptional<z.ZodObject<{
939
- thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
940
- id: z.ZodString;
941
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
942
- id: z.ZodString;
943
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
944
- id: z.ZodString;
945
- }, z.ZodTypeAny, "passthrough">>]>;
946
- resource: z.ZodString;
947
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
948
- readOnly: z.ZodOptional<z.ZodBoolean>;
949
- }, "strip", z.ZodTypeAny, {
950
- thread: string | z.objectOutputType<{
951
- id: z.ZodString;
952
- }, z.ZodTypeAny, "passthrough">;
953
- resource: string;
954
- options?: Record<string, any> | undefined;
955
- readOnly?: boolean | undefined;
956
- }, {
957
- thread: string | z.objectInputType<{
958
- id: z.ZodString;
959
- }, z.ZodTypeAny, "passthrough">;
960
- resource: string;
961
- options?: Record<string, any> | undefined;
962
- readOnly?: boolean | undefined;
963
- }>>;
964
- resourceId: z.ZodOptional<z.ZodString>;
965
- resourceid: z.ZodOptional<z.ZodString>;
966
- threadId: z.ZodOptional<z.ZodString>;
967
- runId: z.ZodOptional<z.ZodString>;
968
- savePerStep: z.ZodOptional<z.ZodBoolean>;
969
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
970
- maxSteps: z.ZodOptional<z.ZodNumber>;
971
- stopWhen: z.ZodOptional<z.ZodAny>;
972
- providerOptions: z.ZodOptional<z.ZodObject<{
973
- anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
974
- google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
975
- openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
976
- xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
977
- }, "strip", z.ZodTypeAny, {
978
- anthropic?: Record<string, any> | undefined;
979
- google?: Record<string, any> | undefined;
980
- openai?: Record<string, any> | undefined;
981
- xai?: Record<string, any> | undefined;
982
- }, {
983
- anthropic?: Record<string, any> | undefined;
984
- google?: Record<string, any> | undefined;
985
- openai?: Record<string, any> | undefined;
986
- xai?: Record<string, any> | undefined;
987
- }>>;
988
- modelSettings: z.ZodOptional<z.ZodAny>;
989
- activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
990
- toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
991
- clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
992
- toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
993
- type: z.ZodLiteral<"tool">;
994
- toolName: z.ZodString;
995
- }, "strip", z.ZodTypeAny, {
996
- type: "tool";
997
- toolName: string;
998
- }, {
999
- type: "tool";
1000
- toolName: string;
1001
- }>]>>;
1002
- requireToolApproval: z.ZodOptional<z.ZodBoolean>;
1003
- scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
1004
- scorer: z.ZodString;
1005
- sampling: z.ZodOptional<z.ZodAny>;
1006
- }, "strip", z.ZodTypeAny, {
1007
- scorer: string;
1008
- sampling?: any;
1009
- }, {
1010
- scorer: string;
1011
- sampling?: any;
1012
- }>>]>>;
1013
- returnScorerData: z.ZodOptional<z.ZodBoolean>;
1014
- tracingOptions: z.ZodOptional<z.ZodObject<{
1015
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1016
- requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
- traceId: z.ZodOptional<z.ZodString>;
1018
- parentSpanId: z.ZodOptional<z.ZodString>;
1019
- }, "strip", z.ZodTypeAny, {
1020
- metadata?: Record<string, unknown> | undefined;
1021
- requestContextKeys?: string[] | undefined;
1022
- traceId?: string | undefined;
1023
- parentSpanId?: string | undefined;
1024
- }, {
1025
- metadata?: Record<string, unknown> | undefined;
1026
- requestContextKeys?: string[] | undefined;
1027
- traceId?: string | undefined;
1028
- parentSpanId?: string | undefined;
1029
- }>>;
1030
- output: z.ZodOptional<z.ZodAny>;
1031
- structuredOutput: z.ZodOptional<z.ZodObject<{
1032
- schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1033
- model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
1034
- instructions: z.ZodOptional<z.ZodString>;
1035
- jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
1036
- errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
1037
- fallbackValue: z.ZodOptional<z.ZodAny>;
1038
- }, "strip", z.ZodTypeAny, {
1039
- schema: {} & {
1040
- [k: string]: unknown;
1041
- };
1042
- model?: any;
1043
- instructions?: string | undefined;
1044
- jsonPromptInjection?: boolean | undefined;
1045
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
1046
- fallbackValue?: any;
1047
- }, {
1048
- schema: {} & {
1049
- [k: string]: unknown;
1050
- };
1051
- model?: any;
1052
- instructions?: string | undefined;
1053
- jsonPromptInjection?: boolean | undefined;
1054
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
1055
- fallbackValue?: any;
1056
- }>>;
1057
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1058
- messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
1059
- instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
1060
- system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
1061
- context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1062
- memory: z.ZodOptional<z.ZodObject<{
1063
- thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
1064
- id: z.ZodString;
1065
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1066
- id: z.ZodString;
1067
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1068
- id: z.ZodString;
1069
- }, z.ZodTypeAny, "passthrough">>]>;
1070
- resource: z.ZodString;
1071
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1072
- readOnly: z.ZodOptional<z.ZodBoolean>;
1073
- }, "strip", z.ZodTypeAny, {
1074
- thread: string | z.objectOutputType<{
1075
- id: z.ZodString;
1076
- }, z.ZodTypeAny, "passthrough">;
1077
- resource: string;
1078
- options?: Record<string, any> | undefined;
1079
- readOnly?: boolean | undefined;
1080
- }, {
1081
- thread: string | z.objectInputType<{
1082
- id: z.ZodString;
1083
- }, z.ZodTypeAny, "passthrough">;
1084
- resource: string;
1085
- options?: Record<string, any> | undefined;
1086
- readOnly?: boolean | undefined;
1087
- }>>;
1088
- resourceId: z.ZodOptional<z.ZodString>;
1089
- resourceid: z.ZodOptional<z.ZodString>;
1090
- threadId: z.ZodOptional<z.ZodString>;
1091
- runId: z.ZodOptional<z.ZodString>;
1092
- savePerStep: z.ZodOptional<z.ZodBoolean>;
1093
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1094
- maxSteps: z.ZodOptional<z.ZodNumber>;
1095
- stopWhen: z.ZodOptional<z.ZodAny>;
1096
- providerOptions: z.ZodOptional<z.ZodObject<{
1097
- anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1098
- google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1099
- openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1100
- xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1101
- }, "strip", z.ZodTypeAny, {
1102
- anthropic?: Record<string, any> | undefined;
1103
- google?: Record<string, any> | undefined;
1104
- openai?: Record<string, any> | undefined;
1105
- xai?: Record<string, any> | undefined;
1106
- }, {
1107
- anthropic?: Record<string, any> | undefined;
1108
- google?: Record<string, any> | undefined;
1109
- openai?: Record<string, any> | undefined;
1110
- xai?: Record<string, any> | undefined;
1111
- }>>;
1112
- modelSettings: z.ZodOptional<z.ZodAny>;
1113
- activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1114
- toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1115
- clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1116
- toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
1117
- type: z.ZodLiteral<"tool">;
1118
- toolName: z.ZodString;
1119
- }, "strip", z.ZodTypeAny, {
1120
- type: "tool";
1121
- toolName: string;
1122
- }, {
1123
- type: "tool";
1124
- toolName: string;
1125
- }>]>>;
1126
- requireToolApproval: z.ZodOptional<z.ZodBoolean>;
1127
- scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
1128
- scorer: z.ZodString;
1129
- sampling: z.ZodOptional<z.ZodAny>;
1130
- }, "strip", z.ZodTypeAny, {
1131
- scorer: string;
1132
- sampling?: any;
1133
- }, {
1134
- scorer: string;
1135
- sampling?: any;
1136
- }>>]>>;
1137
- returnScorerData: z.ZodOptional<z.ZodBoolean>;
1138
- tracingOptions: z.ZodOptional<z.ZodObject<{
1139
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1140
- requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1141
- traceId: z.ZodOptional<z.ZodString>;
1142
- parentSpanId: z.ZodOptional<z.ZodString>;
1143
- }, "strip", z.ZodTypeAny, {
1144
- metadata?: Record<string, unknown> | undefined;
1145
- requestContextKeys?: string[] | undefined;
1146
- traceId?: string | undefined;
1147
- parentSpanId?: string | undefined;
1148
- }, {
1149
- metadata?: Record<string, unknown> | undefined;
1150
- requestContextKeys?: string[] | undefined;
1151
- traceId?: string | undefined;
1152
- parentSpanId?: string | undefined;
1153
- }>>;
1154
- output: z.ZodOptional<z.ZodAny>;
1155
- structuredOutput: z.ZodOptional<z.ZodObject<{
1156
- schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1157
- model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
1158
- instructions: z.ZodOptional<z.ZodString>;
1159
- jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
1160
- errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
1161
- fallbackValue: z.ZodOptional<z.ZodAny>;
1162
- }, "strip", z.ZodTypeAny, {
1163
- schema: {} & {
1164
- [k: string]: unknown;
1165
- };
1166
- model?: any;
1167
- instructions?: string | undefined;
1168
- jsonPromptInjection?: boolean | undefined;
1169
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
1170
- fallbackValue?: any;
1171
- }, {
1172
- schema: {} & {
1173
- [k: string]: unknown;
1174
- };
1175
- model?: any;
1176
- instructions?: string | undefined;
1177
- jsonPromptInjection?: boolean | undefined;
1178
- errorStrategy?: "warn" | "strict" | "fallback" | undefined;
1179
- fallbackValue?: any;
1180
- }>>;
1181
- }, z.ZodTypeAny, "passthrough">>;
1182
- export declare const executeToolBodySchema: z.ZodObject<{
1183
- data: z.ZodType<unknown, z.ZodTypeDef, unknown>;
1184
- } & {
1185
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1186
- }, "strip", z.ZodTypeAny, {
1187
- requestContext?: Record<string, any> | undefined;
1188
- data?: unknown;
1189
- }, {
1190
- requestContext?: Record<string, any> | undefined;
1191
- data?: unknown;
1192
- }>;
1193
- export declare const executeToolContextBodySchema: z.ZodObject<{
1194
- data: z.ZodType<unknown, z.ZodTypeDef, unknown>;
1195
- } & {
1196
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1197
- }, "strip", z.ZodTypeAny, {
1198
- requestContext?: Record<string, any> | undefined;
1199
- data?: unknown;
1200
- }, {
1201
- requestContext?: Record<string, any> | undefined;
1202
- data?: unknown;
1203
- }>;
1204
- /**
1205
- * Response schema for voice speakers endpoint
1206
- * Flexible to accommodate provider-specific metadata
1207
- */
1208
- export declare const voiceSpeakersResponseSchema: z.ZodArray<z.ZodObject<{
1209
- voiceId: z.ZodString;
1210
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1211
- voiceId: z.ZodString;
1212
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1213
- voiceId: z.ZodString;
1214
- }, z.ZodTypeAny, "passthrough">>, "many">;
1215
- /**
1216
- * Body schema for approving tool call
1217
- */
1218
- export declare const approveToolCallBodySchema: z.ZodObject<{
1219
- runId: z.ZodString;
1220
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1221
- toolCallId: z.ZodString;
1222
- format: z.ZodOptional<z.ZodString>;
1223
- }, "strip", z.ZodTypeAny, {
1224
- runId: string;
1225
- toolCallId: string;
1226
- requestContext?: Record<string, any> | undefined;
1227
- format?: string | undefined;
1228
- }, {
1229
- runId: string;
1230
- toolCallId: string;
1231
- requestContext?: Record<string, any> | undefined;
1232
- format?: string | undefined;
1233
- }>;
1234
- /**
1235
- * Body schema for declining tool call
1236
- */
1237
- export declare const declineToolCallBodySchema: z.ZodObject<{
1238
- runId: z.ZodString;
1239
- requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1240
- toolCallId: z.ZodString;
1241
- format: z.ZodOptional<z.ZodString>;
1242
- }, "strip", z.ZodTypeAny, {
1243
- runId: string;
1244
- toolCallId: string;
1245
- requestContext?: Record<string, any> | undefined;
1246
- format?: string | undefined;
1247
- }, {
1248
- runId: string;
1249
- toolCallId: string;
1250
- requestContext?: Record<string, any> | undefined;
1251
- format?: string | undefined;
1252
- }>;
1253
- /**
1254
- * Response schema for tool approval/decline
1255
- */
1256
- export declare const toolCallResponseSchema: z.ZodObject<{
1257
- fullStream: z.ZodAny;
1258
- }, "strip", z.ZodTypeAny, {
1259
- fullStream?: any;
1260
- }, {
1261
- fullStream?: any;
1262
- }>;
1263
- /**
1264
- * Body schema for updating agent model
1265
- */
1266
- export declare const updateAgentModelBodySchema: z.ZodObject<{
1267
- modelId: z.ZodString;
1268
- provider: z.ZodString;
1269
- }, "strip", z.ZodTypeAny, {
1270
- modelId: string;
1271
- provider: string;
1272
- }, {
1273
- modelId: string;
1274
- provider: string;
1275
- }>;
1276
- /**
1277
- * Body schema for reordering agent model list
1278
- */
1279
- export declare const reorderAgentModelListBodySchema: z.ZodObject<{
1280
- reorderedModelIds: z.ZodArray<z.ZodString, "many">;
1281
- }, "strip", z.ZodTypeAny, {
1282
- reorderedModelIds: string[];
1283
- }, {
1284
- reorderedModelIds: string[];
1285
- }>;
1286
- /**
1287
- * Body schema for updating model in model list
1288
- */
1289
- export declare const updateAgentModelInModelListBodySchema: z.ZodObject<{
1290
- model: z.ZodOptional<z.ZodObject<{
1291
- modelId: z.ZodString;
1292
- provider: z.ZodString;
1293
- }, "strip", z.ZodTypeAny, {
1294
- modelId: string;
1295
- provider: string;
1296
- }, {
1297
- modelId: string;
1298
- provider: string;
1299
- }>>;
1300
- maxRetries: z.ZodOptional<z.ZodNumber>;
1301
- enabled: z.ZodOptional<z.ZodBoolean>;
1302
- }, "strip", z.ZodTypeAny, {
1303
- model?: {
1304
- modelId: string;
1305
- provider: string;
1306
- } | undefined;
1307
- maxRetries?: number | undefined;
1308
- enabled?: boolean | undefined;
1309
- }, {
1310
- model?: {
1311
- modelId: string;
1312
- provider: string;
1313
- } | undefined;
1314
- maxRetries?: number | undefined;
1315
- enabled?: boolean | undefined;
1316
- }>;
1317
- /**
1318
- * Response schema for model management operations
1319
- */
1320
- export declare const modelManagementResponseSchema: z.ZodObject<{
1321
- message: z.ZodString;
1322
- }, "strip", z.ZodTypeAny, {
1323
- message: string;
1324
- }, {
1325
- message: string;
1326
- }>;
1327
- /**
1328
- * Body schema for generating speech
1329
- */
1330
- export declare const generateSpeechBodySchema: z.ZodObject<{
1331
- text: z.ZodString;
1332
- speakerId: z.ZodOptional<z.ZodString>;
1333
- }, "strip", z.ZodTypeAny, {
1334
- text: string;
1335
- speakerId?: string | undefined;
1336
- }, {
1337
- text: string;
1338
- speakerId?: string | undefined;
1339
- }>;
1340
- /**
1341
- * Body schema for transcribing speech
1342
- */
1343
- export declare const transcribeSpeechBodySchema: z.ZodObject<{
1344
- audioData: z.ZodAny;
1345
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1346
- }, "strip", z.ZodTypeAny, {
1347
- options?: Record<string, any> | undefined;
1348
- audioData?: any;
1349
- }, {
1350
- options?: Record<string, any> | undefined;
1351
- audioData?: any;
1352
- }>;
1353
- /**
1354
- * Response schema for transcribe speech
1355
- */
1356
- export declare const transcribeSpeechResponseSchema: z.ZodObject<{
1357
- text: z.ZodString;
1358
- }, "strip", z.ZodTypeAny, {
1359
- text: string;
1360
- }, {
1361
- text: string;
1362
- }>;
1363
- /**
1364
- * Response schema for get listener
1365
- */
1366
- export declare const getListenerResponseSchema: z.ZodAny;
1367
- /**
1368
- * Response schema for agent generation endpoints
1369
- * These return AI SDK types which have complex structures
1370
- */
1371
- export declare const generateResponseSchema: z.ZodAny;
1372
- export declare const streamResponseSchema: z.ZodAny;
1373
- export declare const speakResponseSchema: z.ZodAny;
1374
- export declare const executeToolResponseSchema: z.ZodAny;
1375
- //# sourceMappingURL=agents.d.ts.map