@artinet/sdk 0.5.6 → 0.5.8

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 (460) hide show
  1. package/README.md +82 -207
  2. package/dist/client/a2a-client.d.ts.map +1 -0
  3. package/dist/client/index.d.ts.map +1 -0
  4. package/dist/index.d.ts +7 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/server/express/errors.d.ts.map +1 -0
  7. package/dist/server/express/index.d.ts.map +1 -0
  8. package/dist/server/express/middeware.d.ts.map +1 -0
  9. package/dist/{types/server → server}/express/server.d.ts +8 -8
  10. package/dist/server/express/server.d.ts.map +1 -0
  11. package/dist/server/index.d.ts.map +1 -0
  12. package/dist/{types/services → services}/a2a/factory/builder.d.ts +8 -8
  13. package/dist/services/a2a/factory/builder.d.ts.map +1 -0
  14. package/dist/services/a2a/factory/builder.js +6 -6
  15. package/dist/services/a2a/factory/builder.js.map +1 -1
  16. package/dist/{types/services → services}/a2a/factory/context.d.ts +1 -1
  17. package/dist/services/a2a/factory/context.d.ts.map +1 -0
  18. package/dist/{types/services → services}/a2a/factory/event.d.ts +1 -1
  19. package/dist/services/a2a/factory/event.d.ts.map +1 -0
  20. package/dist/services/a2a/factory/event.js +2 -2
  21. package/dist/services/a2a/factory/event.js.map +1 -1
  22. package/dist/services/a2a/factory/index.d.ts.map +1 -0
  23. package/dist/services/a2a/factory/method.d.ts.map +1 -0
  24. package/dist/services/a2a/factory/service.d.ts.map +1 -0
  25. package/dist/services/a2a/helpers/index.d.ts.map +1 -0
  26. package/dist/services/a2a/helpers/part.d.ts.map +1 -0
  27. package/dist/services/a2a/index.d.ts.map +1 -0
  28. package/dist/services/a2a/managers/cancellation.d.ts.map +1 -0
  29. package/dist/services/a2a/managers/connection.d.ts.map +1 -0
  30. package/dist/services/a2a/managers/context.d.ts.map +1 -0
  31. package/dist/services/a2a/managers/index.d.ts.map +1 -0
  32. package/dist/services/a2a/managers/task.d.ts.map +1 -0
  33. package/dist/services/a2a/methods/cancel-task.d.ts.map +1 -0
  34. package/dist/{types/services → services}/a2a/methods/get-task.d.ts +19 -19
  35. package/dist/services/a2a/methods/get-task.d.ts.map +1 -0
  36. package/dist/services/a2a/methods/index.d.ts.map +1 -0
  37. package/dist/services/a2a/methods/resubscribe-task.d.ts.map +1 -0
  38. package/dist/services/a2a/methods/send-message.d.ts.map +1 -0
  39. package/dist/services/a2a/methods/stream-message.d.ts.map +1 -0
  40. package/dist/services/a2a/methods/stream-message.js +0 -17
  41. package/dist/services/a2a/methods/stream-message.js.map +1 -1
  42. package/dist/{types/services → services}/a2a/service.d.ts +63 -64
  43. package/dist/services/a2a/service.d.ts.map +1 -0
  44. package/dist/services/a2a/service.js +2 -5
  45. package/dist/services/a2a/service.js.map +1 -1
  46. package/dist/services/a2a/state/index.d.ts.map +1 -0
  47. package/dist/services/a2a/state/load.d.ts.map +1 -0
  48. package/dist/services/a2a/state/process.d.ts.map +1 -0
  49. package/dist/services/a2a/state/update/artifact.d.ts.map +1 -0
  50. package/dist/services/a2a/state/update/index.d.ts.map +1 -0
  51. package/dist/services/a2a/state/update/update.d.ts.map +1 -0
  52. package/dist/services/core/execution/execute.d.ts.map +1 -0
  53. package/dist/services/core/execution/index.d.ts.map +1 -0
  54. package/dist/services/core/index.d.ts.map +1 -0
  55. package/dist/services/core/managers/command.d.ts.map +1 -0
  56. package/dist/services/core/managers/event.d.ts.map +1 -0
  57. package/dist/services/core/managers/index.d.ts.map +1 -0
  58. package/dist/services/core/managers/stream.d.ts.map +1 -0
  59. package/dist/services/index.d.ts +4 -0
  60. package/dist/services/index.d.ts.map +1 -0
  61. package/dist/services/index.js +1 -0
  62. package/dist/services/index.js.map +1 -1
  63. package/dist/services/mcp/index.d.ts +2 -0
  64. package/dist/services/mcp/index.d.ts.map +1 -0
  65. package/dist/services/mcp/index.js +2 -0
  66. package/dist/services/mcp/index.js.map +1 -0
  67. package/dist/services/mcp/service.d.ts +31 -0
  68. package/dist/services/mcp/service.d.ts.map +1 -0
  69. package/dist/services/mcp/service.js +123 -0
  70. package/dist/services/mcp/service.js.map +1 -0
  71. package/dist/transport/index.d.ts.map +1 -0
  72. package/dist/transport/rpc/parser.d.ts.map +1 -0
  73. package/dist/transport/rpc/rpc-client.d.ts.map +1 -0
  74. package/dist/transport/streaming/event-stream.d.ts.map +1 -0
  75. package/dist/transport/trpc/a2a/factory/index.d.ts.map +1 -0
  76. package/dist/{types/transport → transport}/trpc/a2a/factory/router.d.ts +398 -398
  77. package/dist/{types/transport → transport}/trpc/a2a/factory/router.d.ts.map +1 -1
  78. package/dist/transport/trpc/a2a/index.d.ts.map +1 -0
  79. package/dist/transport/trpc/a2a/routes/index.d.ts.map +1 -0
  80. package/dist/{types/transport → transport}/trpc/a2a/routes/info.d.ts +15 -15
  81. package/dist/transport/trpc/a2a/routes/info.d.ts.map +1 -0
  82. package/dist/transport/trpc/a2a/routes/message/index.d.ts.map +1 -0
  83. package/dist/{types/transport → transport}/trpc/a2a/routes/message/route.d.ts +85 -85
  84. package/dist/{types/transport → transport}/trpc/a2a/routes/message/route.d.ts.map +1 -1
  85. package/dist/transport/trpc/a2a/routes/tasks/index.d.ts.map +1 -0
  86. package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/route.d.ts +92 -92
  87. package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/route.d.ts.map +1 -1
  88. package/dist/transport/trpc/a2a/routes/tasks/route.js +1 -1
  89. package/dist/transport/trpc/a2a/routes/tasks/route.js.map +1 -1
  90. package/dist/{types/transport → transport}/trpc/a2a/trpc.d.ts +35 -35
  91. package/dist/transport/trpc/a2a/trpc.d.ts.map +1 -0
  92. package/dist/transport/trpc/index.d.ts.map +1 -0
  93. package/dist/types/ext.d.ts.map +1 -0
  94. package/dist/types/index.d.ts +3 -5
  95. package/dist/types/index.d.ts.map +1 -1
  96. package/dist/types/interfaces/client.d.ts.map +1 -0
  97. package/dist/types/interfaces/index.d.ts.map +1 -0
  98. package/dist/types/{types/interfaces → interfaces}/services/a2a/builder.d.ts +4 -0
  99. package/dist/types/interfaces/services/a2a/builder.d.ts.map +1 -0
  100. package/dist/types/interfaces/services/a2a/builder.js +4 -0
  101. package/dist/types/interfaces/services/a2a/builder.js.map +1 -1
  102. package/dist/types/{types/interfaces → interfaces}/services/a2a/context.d.ts +1 -1
  103. package/dist/types/interfaces/services/a2a/context.d.ts.map +1 -0
  104. package/dist/types/interfaces/services/a2a/engine.d.ts.map +1 -0
  105. package/dist/types/interfaces/services/a2a/index.d.ts.map +1 -0
  106. package/dist/types/{types/interfaces → interfaces}/services/a2a/legacy.d.ts +1 -0
  107. package/dist/types/interfaces/services/a2a/legacy.d.ts.map +1 -0
  108. package/dist/types/{types/interfaces → interfaces}/services/a2a/service.d.ts +4 -4
  109. package/dist/types/interfaces/services/a2a/service.d.ts.map +1 -0
  110. package/dist/types/interfaces/services/core/context/command.d.ts.map +1 -0
  111. package/dist/types/{types/interfaces → interfaces}/services/core/context/context.d.ts +1 -1
  112. package/dist/types/interfaces/services/core/context/context.d.ts.map +1 -0
  113. package/dist/types/interfaces/services/core/context/index.d.ts.map +1 -0
  114. package/dist/types/interfaces/services/core/context/types.d.ts.map +1 -0
  115. package/dist/types/{types/interfaces → interfaces}/services/core/execution/engine.d.ts +1 -1
  116. package/dist/types/interfaces/services/core/execution/engine.d.ts.map +1 -0
  117. package/dist/types/interfaces/services/core/execution/environment.d.ts.map +1 -0
  118. package/dist/types/interfaces/services/core/execution/execute.d.ts.map +1 -0
  119. package/dist/types/interfaces/services/core/execution/index.d.ts.map +1 -0
  120. package/dist/types/interfaces/services/core/index.d.ts.map +1 -0
  121. package/dist/types/interfaces/services/core/managers/cancellation.d.ts.map +1 -0
  122. package/dist/types/interfaces/services/core/managers/connection.d.ts.map +1 -0
  123. package/dist/types/interfaces/services/core/managers/context.d.ts.map +1 -0
  124. package/dist/types/{types/interfaces → interfaces}/services/core/managers/event.d.ts +1 -1
  125. package/dist/types/interfaces/services/core/managers/event.d.ts.map +1 -0
  126. package/dist/types/interfaces/services/core/managers/index.d.ts.map +1 -0
  127. package/dist/types/{types/interfaces → interfaces}/services/core/managers/stream.d.ts +1 -1
  128. package/dist/types/interfaces/services/core/managers/stream.d.ts.map +1 -0
  129. package/dist/types/interfaces/services/core/managers/task.d.ts.map +1 -0
  130. package/dist/types/{types/interfaces → interfaces}/services/core/service.d.ts +1 -1
  131. package/dist/types/interfaces/services/core/service.d.ts.map +1 -0
  132. package/dist/types/{types/interfaces → interfaces}/services/index.d.ts +1 -0
  133. package/dist/types/interfaces/services/index.d.ts.map +1 -0
  134. package/dist/types/interfaces/services/index.js +1 -0
  135. package/dist/types/interfaces/services/index.js.map +1 -1
  136. package/dist/types/interfaces/services/mcp/index.d.ts +2 -0
  137. package/dist/types/interfaces/services/mcp/index.d.ts.map +1 -0
  138. package/dist/types/interfaces/services/mcp/index.js +2 -0
  139. package/dist/types/interfaces/services/mcp/index.js.map +1 -0
  140. package/dist/types/interfaces/services/mcp/service.d.ts +50 -0
  141. package/dist/types/interfaces/services/mcp/service.d.ts.map +1 -0
  142. package/dist/types/{schemas/deployment/proxy.js → interfaces/services/mcp/service.js} +1 -1
  143. package/dist/types/interfaces/services/mcp/service.js.map +1 -0
  144. package/dist/types/interfaces/services/protocol.d.ts.map +1 -0
  145. package/dist/types/interfaces/storage.d.ts.map +1 -0
  146. package/dist/types/schemas/a2a/agent.d.ts +2584 -0
  147. package/dist/types/schemas/a2a/agent.d.ts.map +1 -0
  148. package/dist/types/schemas/a2a/agent.js +9 -3
  149. package/dist/types/schemas/a2a/agent.js.map +1 -1
  150. package/dist/types/schemas/a2a/auth.d.ts +909 -0
  151. package/dist/types/schemas/a2a/auth.d.ts.map +1 -0
  152. package/dist/types/schemas/a2a/auth.js +11 -1
  153. package/dist/types/schemas/a2a/auth.js.map +1 -1
  154. package/dist/types/{types/schemas → schemas}/a2a/error.d.ts +243 -27
  155. package/dist/types/schemas/a2a/error.d.ts.map +1 -0
  156. package/dist/types/schemas/a2a/error.js +1 -1
  157. package/dist/types/schemas/a2a/error.js.map +1 -1
  158. package/dist/types/schemas/a2a/index.d.ts.map +1 -0
  159. package/dist/types/schemas/a2a/kind.d.ts +12 -0
  160. package/dist/types/schemas/a2a/kind.d.ts.map +1 -0
  161. package/dist/types/schemas/a2a/kind.js +1 -1
  162. package/dist/types/schemas/a2a/kind.js.map +1 -1
  163. package/dist/types/schemas/a2a/message.d.ts +10344 -0
  164. package/dist/types/schemas/a2a/message.d.ts.map +1 -0
  165. package/dist/types/schemas/a2a/message.js +1 -1
  166. package/dist/types/schemas/a2a/message.js.map +1 -1
  167. package/dist/types/schemas/a2a/notification.d.ts +1518 -0
  168. package/dist/types/schemas/a2a/notification.d.ts.map +1 -0
  169. package/dist/types/schemas/a2a/notification.js +2 -1
  170. package/dist/types/schemas/a2a/notification.js.map +1 -1
  171. package/dist/types/schemas/a2a/parameters.d.ts +957 -0
  172. package/dist/types/schemas/a2a/parameters.d.ts.map +1 -0
  173. package/dist/types/schemas/a2a/parameters.js +1 -1
  174. package/dist/types/schemas/a2a/parameters.js.map +1 -1
  175. package/dist/types/schemas/a2a/protocol.d.ts +14364 -0
  176. package/dist/types/schemas/a2a/protocol.d.ts.map +1 -0
  177. package/dist/types/schemas/a2a/protocol.js +1 -1
  178. package/dist/types/schemas/a2a/protocol.js.map +1 -1
  179. package/dist/types/schemas/a2a/rpc.d.ts +183 -0
  180. package/dist/types/schemas/a2a/rpc.d.ts.map +1 -0
  181. package/dist/types/schemas/a2a/rpc.js +1 -1
  182. package/dist/types/schemas/a2a/rpc.js.map +1 -1
  183. package/dist/types/schemas/a2a/task.d.ts +5887 -0
  184. package/dist/types/schemas/a2a/task.d.ts.map +1 -0
  185. package/dist/types/schemas/a2a/task.js +1 -1
  186. package/dist/types/schemas/a2a/task.js.map +1 -1
  187. package/dist/types/schemas/a2a/transport.d.ts +32 -0
  188. package/dist/types/schemas/a2a/transport.d.ts.map +1 -0
  189. package/dist/types/schemas/a2a/transport.js +2 -1
  190. package/dist/types/schemas/a2a/transport.js.map +1 -1
  191. package/dist/types/schemas/index.d.ts.map +1 -0
  192. package/dist/types/schemas/index.js +0 -1
  193. package/dist/types/schemas/index.js.map +1 -1
  194. package/dist/types/utils/index.d.ts +1 -8
  195. package/dist/types/utils/index.d.ts.map +1 -1
  196. package/dist/types/utils/transform.d.ts.map +1 -0
  197. package/dist/utils/common/constants.d.ts.map +1 -0
  198. package/dist/utils/common/errors.d.ts.map +1 -0
  199. package/dist/utils/common/utils.d.ts.map +1 -0
  200. package/dist/utils/common/zAsyncIterable-v3.d.ts +25 -0
  201. package/dist/utils/common/zAsyncIterable-v3.d.ts.map +1 -0
  202. package/dist/utils/common/zAsyncIterable-v3.js +39 -0
  203. package/dist/utils/common/zAsyncIterable-v3.js.map +1 -0
  204. package/dist/utils/common/zAsyncIterable.d.ts.map +1 -0
  205. package/dist/utils/common/zAsyncIterable.js +1 -0
  206. package/dist/utils/common/zAsyncIterable.js.map +1 -1
  207. package/dist/utils/index.d.ts +12 -0
  208. package/dist/utils/index.d.ts.map +1 -0
  209. package/dist/utils/index.js +5 -8
  210. package/dist/utils/index.js.map +1 -1
  211. package/dist/utils/logging/index.d.ts.map +1 -0
  212. package/dist/utils/logging/log.d.ts.map +1 -0
  213. package/dist/utils/logging/log.js +15 -1
  214. package/dist/utils/logging/log.js.map +1 -1
  215. package/dist/utils/logging/logger.d.ts +19 -0
  216. package/dist/utils/logging/logger.d.ts.map +1 -0
  217. package/dist/utils/logging/logger.js +5 -37
  218. package/dist/utils/logging/logger.js.map +1 -1
  219. package/dist/{types/utils → utils}/storage/file.d.ts +1 -1
  220. package/dist/utils/storage/file.d.ts.map +1 -0
  221. package/dist/utils/storage/file.js +5 -4
  222. package/dist/utils/storage/file.js.map +1 -1
  223. package/dist/utils/storage/memory.d.ts.map +1 -0
  224. package/package.json +21 -27
  225. package/CHANGELOG.md +0 -276
  226. package/dist/types/client/a2a-client.d.ts.map +0 -1
  227. package/dist/types/client/index.d.ts.map +0 -1
  228. package/dist/types/schemas/deployment/index.js +0 -3
  229. package/dist/types/schemas/deployment/index.js.map +0 -1
  230. package/dist/types/schemas/deployment/proxy.js.map +0 -1
  231. package/dist/types/schemas/deployment/request.js +0 -88
  232. package/dist/types/schemas/deployment/request.js.map +0 -1
  233. package/dist/types/server/express/errors.d.ts.map +0 -1
  234. package/dist/types/server/express/index.d.ts.map +0 -1
  235. package/dist/types/server/express/middeware.d.ts.map +0 -1
  236. package/dist/types/server/express/server.d.ts.map +0 -1
  237. package/dist/types/server/index.d.ts.map +0 -1
  238. package/dist/types/services/a2a/factory/builder.d.ts.map +0 -1
  239. package/dist/types/services/a2a/factory/context.d.ts.map +0 -1
  240. package/dist/types/services/a2a/factory/event.d.ts.map +0 -1
  241. package/dist/types/services/a2a/factory/index.d.ts.map +0 -1
  242. package/dist/types/services/a2a/factory/method.d.ts.map +0 -1
  243. package/dist/types/services/a2a/factory/service.d.ts.map +0 -1
  244. package/dist/types/services/a2a/helpers/index.d.ts.map +0 -1
  245. package/dist/types/services/a2a/helpers/part.d.ts.map +0 -1
  246. package/dist/types/services/a2a/index.d.ts.map +0 -1
  247. package/dist/types/services/a2a/managers/cancellation.d.ts.map +0 -1
  248. package/dist/types/services/a2a/managers/connection.d.ts.map +0 -1
  249. package/dist/types/services/a2a/managers/context.d.ts.map +0 -1
  250. package/dist/types/services/a2a/managers/index.d.ts.map +0 -1
  251. package/dist/types/services/a2a/managers/task.d.ts.map +0 -1
  252. package/dist/types/services/a2a/methods/cancel-task.d.ts.map +0 -1
  253. package/dist/types/services/a2a/methods/get-task.d.ts.map +0 -1
  254. package/dist/types/services/a2a/methods/index.d.ts.map +0 -1
  255. package/dist/types/services/a2a/methods/resubscribe-task.d.ts.map +0 -1
  256. package/dist/types/services/a2a/methods/send-message.d.ts.map +0 -1
  257. package/dist/types/services/a2a/methods/stream-message.d.ts.map +0 -1
  258. package/dist/types/services/a2a/service.d.ts.map +0 -1
  259. package/dist/types/services/a2a/state/index.d.ts.map +0 -1
  260. package/dist/types/services/a2a/state/load.d.ts.map +0 -1
  261. package/dist/types/services/a2a/state/process.d.ts.map +0 -1
  262. package/dist/types/services/a2a/state/update/artifact.d.ts.map +0 -1
  263. package/dist/types/services/a2a/state/update/index.d.ts.map +0 -1
  264. package/dist/types/services/a2a/state/update/update.d.ts.map +0 -1
  265. package/dist/types/services/core/execution/execute.d.ts.map +0 -1
  266. package/dist/types/services/core/execution/index.d.ts.map +0 -1
  267. package/dist/types/services/core/index.d.ts.map +0 -1
  268. package/dist/types/services/core/managers/command.d.ts.map +0 -1
  269. package/dist/types/services/core/managers/event.d.ts.map +0 -1
  270. package/dist/types/services/core/managers/index.d.ts.map +0 -1
  271. package/dist/types/services/core/managers/stream.d.ts.map +0 -1
  272. package/dist/types/services/index.d.ts +0 -3
  273. package/dist/types/services/index.d.ts.map +0 -1
  274. package/dist/types/transport/index.d.ts.map +0 -1
  275. package/dist/types/transport/rpc/parser.d.ts.map +0 -1
  276. package/dist/types/transport/rpc/rpc-client.d.ts.map +0 -1
  277. package/dist/types/transport/streaming/event-stream.d.ts.map +0 -1
  278. package/dist/types/transport/trpc/a2a/factory/index.d.ts.map +0 -1
  279. package/dist/types/transport/trpc/a2a/index.d.ts.map +0 -1
  280. package/dist/types/transport/trpc/a2a/routes/index.d.ts.map +0 -1
  281. package/dist/types/transport/trpc/a2a/routes/info.d.ts.map +0 -1
  282. package/dist/types/transport/trpc/a2a/routes/message/index.d.ts.map +0 -1
  283. package/dist/types/transport/trpc/a2a/routes/tasks/index.d.ts.map +0 -1
  284. package/dist/types/transport/trpc/a2a/trpc.d.ts.map +0 -1
  285. package/dist/types/transport/trpc/index.d.ts.map +0 -1
  286. package/dist/types/types/ext.d.ts.map +0 -1
  287. package/dist/types/types/index.d.ts +0 -5
  288. package/dist/types/types/index.d.ts.map +0 -1
  289. package/dist/types/types/interfaces/client.d.ts.map +0 -1
  290. package/dist/types/types/interfaces/index.d.ts.map +0 -1
  291. package/dist/types/types/interfaces/services/a2a/builder.d.ts.map +0 -1
  292. package/dist/types/types/interfaces/services/a2a/context.d.ts.map +0 -1
  293. package/dist/types/types/interfaces/services/a2a/engine.d.ts.map +0 -1
  294. package/dist/types/types/interfaces/services/a2a/index.d.ts.map +0 -1
  295. package/dist/types/types/interfaces/services/a2a/legacy.d.ts.map +0 -1
  296. package/dist/types/types/interfaces/services/a2a/service.d.ts.map +0 -1
  297. package/dist/types/types/interfaces/services/core/context/command.d.ts.map +0 -1
  298. package/dist/types/types/interfaces/services/core/context/context.d.ts.map +0 -1
  299. package/dist/types/types/interfaces/services/core/context/index.d.ts.map +0 -1
  300. package/dist/types/types/interfaces/services/core/context/types.d.ts.map +0 -1
  301. package/dist/types/types/interfaces/services/core/execution/engine.d.ts.map +0 -1
  302. package/dist/types/types/interfaces/services/core/execution/environment.d.ts.map +0 -1
  303. package/dist/types/types/interfaces/services/core/execution/execute.d.ts.map +0 -1
  304. package/dist/types/types/interfaces/services/core/execution/index.d.ts.map +0 -1
  305. package/dist/types/types/interfaces/services/core/index.d.ts.map +0 -1
  306. package/dist/types/types/interfaces/services/core/managers/cancellation.d.ts.map +0 -1
  307. package/dist/types/types/interfaces/services/core/managers/connection.d.ts.map +0 -1
  308. package/dist/types/types/interfaces/services/core/managers/context.d.ts.map +0 -1
  309. package/dist/types/types/interfaces/services/core/managers/event.d.ts.map +0 -1
  310. package/dist/types/types/interfaces/services/core/managers/index.d.ts.map +0 -1
  311. package/dist/types/types/interfaces/services/core/managers/stream.d.ts.map +0 -1
  312. package/dist/types/types/interfaces/services/core/managers/task.d.ts.map +0 -1
  313. package/dist/types/types/interfaces/services/core/service.d.ts.map +0 -1
  314. package/dist/types/types/interfaces/services/index.d.ts.map +0 -1
  315. package/dist/types/types/interfaces/services/protocol.d.ts.map +0 -1
  316. package/dist/types/types/interfaces/storage.d.ts.map +0 -1
  317. package/dist/types/types/schemas/a2a/agent.d.ts +0 -509
  318. package/dist/types/types/schemas/a2a/agent.d.ts.map +0 -1
  319. package/dist/types/types/schemas/a2a/auth.d.ts +0 -285
  320. package/dist/types/types/schemas/a2a/auth.d.ts.map +0 -1
  321. package/dist/types/types/schemas/a2a/error.d.ts.map +0 -1
  322. package/dist/types/types/schemas/a2a/index.d.ts.map +0 -1
  323. package/dist/types/types/schemas/a2a/kind.d.ts +0 -28
  324. package/dist/types/types/schemas/a2a/kind.d.ts.map +0 -1
  325. package/dist/types/types/schemas/a2a/message.d.ts +0 -2570
  326. package/dist/types/types/schemas/a2a/message.d.ts.map +0 -1
  327. package/dist/types/types/schemas/a2a/notification.d.ts +0 -338
  328. package/dist/types/types/schemas/a2a/notification.d.ts.map +0 -1
  329. package/dist/types/types/schemas/a2a/parameters.d.ts +0 -308
  330. package/dist/types/types/schemas/a2a/parameters.d.ts.map +0 -1
  331. package/dist/types/types/schemas/a2a/protocol.d.ts +0 -3207
  332. package/dist/types/types/schemas/a2a/protocol.d.ts.map +0 -1
  333. package/dist/types/types/schemas/a2a/rpc.d.ts +0 -57
  334. package/dist/types/types/schemas/a2a/rpc.d.ts.map +0 -1
  335. package/dist/types/types/schemas/a2a/task.d.ts +0 -1498
  336. package/dist/types/types/schemas/a2a/task.d.ts.map +0 -1
  337. package/dist/types/types/schemas/a2a/transport.d.ts +0 -28
  338. package/dist/types/types/schemas/a2a/transport.d.ts.map +0 -1
  339. package/dist/types/types/schemas/deployment/index.d.ts +0 -3
  340. package/dist/types/types/schemas/deployment/index.d.ts.map +0 -1
  341. package/dist/types/types/schemas/deployment/proxy.d.ts +0 -96
  342. package/dist/types/types/schemas/deployment/proxy.d.ts.map +0 -1
  343. package/dist/types/types/schemas/deployment/request.d.ts +0 -508
  344. package/dist/types/types/schemas/deployment/request.d.ts.map +0 -1
  345. package/dist/types/types/schemas/index.d.ts.map +0 -1
  346. package/dist/types/types/utils/index.d.ts +0 -2
  347. package/dist/types/types/utils/index.d.ts.map +0 -1
  348. package/dist/types/types/utils/transform.d.ts.map +0 -1
  349. package/dist/types/utils/api/register.d.ts +0 -29
  350. package/dist/types/utils/api/register.d.ts.map +0 -1
  351. package/dist/types/utils/common/constants.d.ts.map +0 -1
  352. package/dist/types/utils/common/errors.d.ts.map +0 -1
  353. package/dist/types/utils/common/utils.d.ts.map +0 -1
  354. package/dist/types/utils/common/zAsyncIterable.d.ts.map +0 -1
  355. package/dist/types/utils/deployment/agents.d.ts +0 -57
  356. package/dist/types/utils/deployment/agents.d.ts.map +0 -1
  357. package/dist/types/utils/deployment/bundler.d.ts +0 -15
  358. package/dist/types/utils/deployment/bundler.d.ts.map +0 -1
  359. package/dist/types/utils/deployment/full-deployment.d.ts +0 -18
  360. package/dist/types/utils/deployment/full-deployment.d.ts.map +0 -1
  361. package/dist/types/utils/deployment/index.d.ts +0 -5
  362. package/dist/types/utils/deployment/index.d.ts.map +0 -1
  363. package/dist/types/utils/deployment/task-wrapper.d.ts +0 -43
  364. package/dist/types/utils/deployment/task-wrapper.d.ts.map +0 -1
  365. package/dist/types/utils/deployment/test-deployment.d.ts +0 -28
  366. package/dist/types/utils/deployment/test-deployment.d.ts.map +0 -1
  367. package/dist/types/utils/logging/index.d.ts.map +0 -1
  368. package/dist/types/utils/logging/log.d.ts.map +0 -1
  369. package/dist/types/utils/logging/logger.d.ts +0 -20
  370. package/dist/types/utils/logging/logger.d.ts.map +0 -1
  371. package/dist/types/utils/storage/file.d.ts.map +0 -1
  372. package/dist/types/utils/storage/memory.d.ts.map +0 -1
  373. package/dist/utils/api/register.js +0 -107
  374. package/dist/utils/api/register.js.map +0 -1
  375. package/dist/utils/deployment/agents.js +0 -96
  376. package/dist/utils/deployment/agents.js.map +0 -1
  377. package/dist/utils/deployment/bundler.js +0 -52
  378. package/dist/utils/deployment/bundler.js.map +0 -1
  379. package/dist/utils/deployment/full-deployment.js +0 -35
  380. package/dist/utils/deployment/full-deployment.js.map +0 -1
  381. package/dist/utils/deployment/index.js +0 -5
  382. package/dist/utils/deployment/index.js.map +0 -1
  383. package/dist/utils/deployment/task-wrapper.js +0 -44
  384. package/dist/utils/deployment/task-wrapper.js.map +0 -1
  385. package/dist/utils/deployment/test-deployment.js +0 -69
  386. package/dist/utils/deployment/test-deployment.js.map +0 -1
  387. /package/dist/{types/client → client}/a2a-client.d.ts +0 -0
  388. /package/dist/{types/client → client}/index.d.ts +0 -0
  389. /package/dist/{types/server → server}/express/errors.d.ts +0 -0
  390. /package/dist/{types/server → server}/express/index.d.ts +0 -0
  391. /package/dist/{types/server → server}/express/middeware.d.ts +0 -0
  392. /package/dist/{types/server → server}/index.d.ts +0 -0
  393. /package/dist/{types/services → services}/a2a/factory/index.d.ts +0 -0
  394. /package/dist/{types/services → services}/a2a/factory/method.d.ts +0 -0
  395. /package/dist/{types/services → services}/a2a/factory/service.d.ts +0 -0
  396. /package/dist/{types/services → services}/a2a/helpers/index.d.ts +0 -0
  397. /package/dist/{types/services → services}/a2a/helpers/part.d.ts +0 -0
  398. /package/dist/{types/services → services}/a2a/index.d.ts +0 -0
  399. /package/dist/{types/services → services}/a2a/managers/cancellation.d.ts +0 -0
  400. /package/dist/{types/services → services}/a2a/managers/connection.d.ts +0 -0
  401. /package/dist/{types/services → services}/a2a/managers/context.d.ts +0 -0
  402. /package/dist/{types/services → services}/a2a/managers/index.d.ts +0 -0
  403. /package/dist/{types/services → services}/a2a/managers/task.d.ts +0 -0
  404. /package/dist/{types/services → services}/a2a/methods/cancel-task.d.ts +0 -0
  405. /package/dist/{types/services → services}/a2a/methods/index.d.ts +0 -0
  406. /package/dist/{types/services → services}/a2a/methods/resubscribe-task.d.ts +0 -0
  407. /package/dist/{types/services → services}/a2a/methods/send-message.d.ts +0 -0
  408. /package/dist/{types/services → services}/a2a/methods/stream-message.d.ts +0 -0
  409. /package/dist/{types/services → services}/a2a/state/index.d.ts +0 -0
  410. /package/dist/{types/services → services}/a2a/state/load.d.ts +0 -0
  411. /package/dist/{types/services → services}/a2a/state/process.d.ts +0 -0
  412. /package/dist/{types/services → services}/a2a/state/update/artifact.d.ts +0 -0
  413. /package/dist/{types/services → services}/a2a/state/update/index.d.ts +0 -0
  414. /package/dist/{types/services → services}/a2a/state/update/update.d.ts +0 -0
  415. /package/dist/{types/services → services}/core/execution/execute.d.ts +0 -0
  416. /package/dist/{types/services → services}/core/execution/index.d.ts +0 -0
  417. /package/dist/{types/services → services}/core/index.d.ts +0 -0
  418. /package/dist/{types/services → services}/core/managers/command.d.ts +0 -0
  419. /package/dist/{types/services → services}/core/managers/event.d.ts +0 -0
  420. /package/dist/{types/services → services}/core/managers/index.d.ts +0 -0
  421. /package/dist/{types/services → services}/core/managers/stream.d.ts +0 -0
  422. /package/dist/{types/transport → transport}/index.d.ts +0 -0
  423. /package/dist/{types/transport → transport}/rpc/parser.d.ts +0 -0
  424. /package/dist/{types/transport → transport}/rpc/rpc-client.d.ts +0 -0
  425. /package/dist/{types/transport → transport}/streaming/event-stream.d.ts +0 -0
  426. /package/dist/{types/transport → transport}/trpc/a2a/factory/index.d.ts +0 -0
  427. /package/dist/{types/transport → transport}/trpc/a2a/index.d.ts +0 -0
  428. /package/dist/{types/transport → transport}/trpc/a2a/routes/index.d.ts +0 -0
  429. /package/dist/{types/transport → transport}/trpc/a2a/routes/message/index.d.ts +0 -0
  430. /package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/index.d.ts +0 -0
  431. /package/dist/{types/transport → transport}/trpc/index.d.ts +0 -0
  432. /package/dist/types/{types/ext.d.ts → ext.d.ts} +0 -0
  433. /package/dist/types/{types/interfaces → interfaces}/client.d.ts +0 -0
  434. /package/dist/types/{types/interfaces → interfaces}/index.d.ts +0 -0
  435. /package/dist/types/{types/interfaces → interfaces}/services/a2a/engine.d.ts +0 -0
  436. /package/dist/types/{types/interfaces → interfaces}/services/a2a/index.d.ts +0 -0
  437. /package/dist/types/{types/interfaces → interfaces}/services/core/context/command.d.ts +0 -0
  438. /package/dist/types/{types/interfaces → interfaces}/services/core/context/index.d.ts +0 -0
  439. /package/dist/types/{types/interfaces → interfaces}/services/core/context/types.d.ts +0 -0
  440. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/environment.d.ts +0 -0
  441. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/execute.d.ts +0 -0
  442. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/index.d.ts +0 -0
  443. /package/dist/types/{types/interfaces → interfaces}/services/core/index.d.ts +0 -0
  444. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/cancellation.d.ts +0 -0
  445. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/connection.d.ts +0 -0
  446. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/context.d.ts +0 -0
  447. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/index.d.ts +0 -0
  448. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/task.d.ts +0 -0
  449. /package/dist/types/{types/interfaces → interfaces}/services/protocol.d.ts +0 -0
  450. /package/dist/types/{types/interfaces → interfaces}/storage.d.ts +0 -0
  451. /package/dist/types/{types/schemas → schemas}/a2a/index.d.ts +0 -0
  452. /package/dist/types/{types/schemas → schemas}/index.d.ts +0 -0
  453. /package/dist/types/{types/utils → utils}/transform.d.ts +0 -0
  454. /package/dist/{types/utils → utils}/common/constants.d.ts +0 -0
  455. /package/dist/{types/utils → utils}/common/errors.d.ts +0 -0
  456. /package/dist/{types/utils → utils}/common/utils.d.ts +0 -0
  457. /package/dist/{types/utils → utils}/common/zAsyncIterable.d.ts +0 -0
  458. /package/dist/{types/utils → utils}/logging/index.d.ts +0 -0
  459. /package/dist/{types/utils → utils}/logging/log.d.ts +0 -0
  460. /package/dist/{types/utils → utils}/storage/memory.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/task.ts"],"names":[],"mappings":"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"}
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { z } from "zod/v4";
6
- /**
7
- * @description Supported A2A transport protocols.
8
- */
9
- export declare const TransportProtocolSchema: z.ZodEnum<{
10
- JSONRPC: "JSONRPC";
11
- GRPC: "GRPC";
12
- "HTTP+JSON": "HTTP+JSON";
13
- }>;
14
- export type TransportProtocol = z.infer<typeof TransportProtocolSchema>;
15
- /**
16
- * @description Declares a combination of a target URL and a transport protocol for interacting with the agent.
17
- * This allows agents to expose the same functionality over multiple transport mechanisms.
18
- */
19
- export declare const AgentInterfaceSchema: z.ZodObject<{
20
- url: z.ZodURL;
21
- transport: z.ZodUnion<readonly [z.ZodEnum<{
22
- JSONRPC: "JSONRPC";
23
- GRPC: "GRPC";
24
- "HTTP+JSON": "HTTP+JSON";
25
- }>, z.ZodString]>;
26
- }, z.core.$strip>;
27
- export type AgentInterface = z.infer<typeof AgentInterfaceSchema>;
28
- //# sourceMappingURL=transport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/transport.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;EAA2C,CAAC;AAEhF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;iBAgB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./request.js";
2
- export * from "./proxy.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/deployment/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -1,96 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { UpdateEvent, TaskHandler } from "../../interfaces/services/a2a/index.js";
6
- import { Client } from "../../interfaces/client.js";
7
- /**
8
- * Represents a proxy function for sending task yield updates.
9
- * This function is typically provided by the host environment to allow
10
- * an agent to communicate updates about its task execution.
11
- * @param updateEvent - The update object yielded by the task.
12
- * @returns A promise that resolves when the update has been processed.
13
- */
14
- export type TaskProxy = (updateEvent: UpdateEvent) => Promise<void>;
15
- /**
16
- * Properties for the TaskManager function.
17
- */
18
- export interface TaskManagerProps {
19
- /**
20
- * The core task-handling generator function of an agent.
21
- * This function takes a `TaskContext` and yields `UpdateEvent` objects,
22
- * eventually returning a `Task` or void.
23
- */
24
- taskHandler: TaskHandler;
25
- }
26
- /**
27
- * Defines the signature for a TaskManager function.
28
- * A TaskManager is responsible for orchestrating the execution of an agent's task,
29
- * typically by interfacing with a host environment.
30
- * @param props - The properties for the task manager, including the taskHandler.
31
- * @returns A promise that resolves when the task handler has completed.
32
- */
33
- export type TaskManager = (props: TaskManagerProps) => Promise<void>;
34
- /**
35
- * Properties for the Connect function.
36
- * These properties are used when an agent needs to establish a connection
37
- * or send a request to another agent or an external service (e.g., an LLM).
38
- */
39
- export interface ConnectProps {
40
- /**
41
- * The identifier of the target agent or LLM to which the request is directed.
42
- */
43
- agentId: string;
44
- /**
45
- * An array of messages forming the conversation history or prompt.
46
- * Each message should have a `role` (e.g., "user", "assistant") and `content`.
47
- */
48
- messages: {
49
- role: string;
50
- content: string;
51
- }[];
52
- }
53
- /**
54
- * Defines the signature for a Connect function.
55
- * This function is used by agents to make external calls, such as to LLMs or other agents,
56
- * often proxied by a host environment.
57
- * @param props - The properties for the connect call, including agentID and messages.
58
- * @returns A promise that resolves to a string, which could be a response from the
59
- * target or a connection identifier.
60
- */
61
- export type ConnectAPICallback = (props: ConnectProps) => Promise<string>;
62
- /**
63
- * Represents a proxy for a client, providing a subset of `Client` functionalities.
64
- * This interface omits methods related to direct task management and header manipulation,
65
- * focusing on core interaction capabilities suitable for a proxied environment.
66
- */
67
- export interface ClientProxy extends Omit<Client, "sendTaskSubscribe" | "getTask" | "cancelTask" | "getTaskPushNotification" | "setTaskPushNotification" | "resubscribeTask" | "refreshAgentCard" | "setHeaders" | "addHeader" | "removeHeader" | "clearHeaders"> {
68
- }
69
- /**
70
- * Properties for the ClientFactory function.
71
- * These properties are used to configure and create a `ClientProxy` instance.
72
- */
73
- export interface ClientProps {
74
- /**
75
- * The base URL for the client to connect to.
76
- * Can be a URL object or a string.
77
- */
78
- baseUrl: URL | string;
79
- /**
80
- * Optional record of headers to be included in client requests.
81
- */
82
- headers?: Record<string, string>;
83
- /**
84
- * Optional fallback path for client requests.
85
- */
86
- fallbackPath?: string;
87
- }
88
- /**
89
- * Defines the signature for a ClientFactory function.
90
- * A ClientFactory is responsible for creating `ClientProxy` instances,
91
- * allowing agents to interact with services or other agents.
92
- * @param props - The properties required to configure the client.
93
- * @returns A `ClientProxy` instance.
94
- */
95
- export type ClientFactory = (props: ClientProps) => ClientProxy;
96
- //# sourceMappingURL=proxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/deployment/proxy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,WAAW,EACX,WAAW,EACZ,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/C;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE1E;;;;GAIG;AAEH,MAAM,WAAW,WACf,SAAQ,IAAI,CACV,MAAM,EACJ,mBAAmB,GACnB,SAAS,GACT,YAAY,GACZ,yBAAyB,GACzB,yBAAyB,GACzB,iBAAiB,GACjB,kBAAkB,GAClB,YAAY,GACZ,WAAW,GACX,cAAc,GACd,cAAc,CACjB;CAAG;AAEN;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,EAAE,GAAG,GAAG,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,WAAW,CAAC"}
@@ -1,508 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { z } from "zod/v4";
6
- /**
7
- * @description Represents the parameters for a server deployment request.
8
- */
9
- export declare const ServerDeploymentRequestParamsSchema: z.ZodObject<{
10
- name: z.ZodString;
11
- agentCard: z.ZodObject<{
12
- protocolVersion: z.ZodDefault<z.ZodString>;
13
- name: z.ZodString;
14
- description: z.ZodString;
15
- url: z.ZodURL;
16
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
17
- JSONRPC: "JSONRPC";
18
- GRPC: "GRPC";
19
- "HTTP+JSON": "HTTP+JSON";
20
- }>, z.ZodString]>>;
21
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
22
- url: z.ZodURL;
23
- transport: z.ZodUnion<readonly [z.ZodEnum<{
24
- JSONRPC: "JSONRPC";
25
- GRPC: "GRPC";
26
- "HTTP+JSON": "HTTP+JSON";
27
- }>, z.ZodString]>;
28
- }, z.core.$strip>>>;
29
- iconUrl: z.ZodOptional<z.ZodURL>;
30
- provider: z.ZodOptional<z.ZodObject<{
31
- organization: z.ZodString;
32
- url: z.ZodURL;
33
- }, z.core.$strip>>;
34
- version: z.ZodString;
35
- documentationUrl: z.ZodOptional<z.ZodURL>;
36
- capabilities: z.ZodObject<{
37
- streaming: z.ZodOptional<z.ZodBoolean>;
38
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
39
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
40
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
- uri: z.ZodString;
42
- description: z.ZodOptional<z.ZodString>;
43
- required: z.ZodOptional<z.ZodBoolean>;
44
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>;
47
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
48
- description: z.ZodOptional<z.ZodString>;
49
- type: z.ZodEnum<{
50
- apiKey: "apiKey";
51
- http: "http";
52
- mutualTLS: "mutualTLS";
53
- oauth2: "oauth2";
54
- openIdConnect: "openIdConnect";
55
- }>;
56
- in: z.ZodEnum<{
57
- query: "query";
58
- header: "header";
59
- cookie: "cookie";
60
- }>;
61
- name: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- description: z.ZodOptional<z.ZodString>;
64
- type: z.ZodEnum<{
65
- apiKey: "apiKey";
66
- http: "http";
67
- mutualTLS: "mutualTLS";
68
- oauth2: "oauth2";
69
- openIdConnect: "openIdConnect";
70
- }>;
71
- scheme: z.ZodString;
72
- bearerFormat: z.ZodOptional<z.ZodString>;
73
- }, z.core.$strip>, z.ZodObject<{
74
- description: z.ZodOptional<z.ZodString>;
75
- type: z.ZodEnum<{
76
- apiKey: "apiKey";
77
- http: "http";
78
- mutualTLS: "mutualTLS";
79
- oauth2: "oauth2";
80
- openIdConnect: "openIdConnect";
81
- }>;
82
- flows: z.ZodObject<{
83
- authorizationCode: z.ZodOptional<z.ZodObject<{
84
- authorizationUrl: z.ZodURL;
85
- tokenUrl: z.ZodURL;
86
- refreshUrl: z.ZodOptional<z.ZodURL>;
87
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
88
- }, z.core.$strip>>;
89
- clientCredentials: z.ZodOptional<z.ZodObject<{
90
- tokenUrl: z.ZodURL;
91
- refreshUrl: z.ZodOptional<z.ZodURL>;
92
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
93
- }, z.core.$strip>>;
94
- implicit: z.ZodOptional<z.ZodObject<{
95
- authorizationUrl: z.ZodURL;
96
- refreshUrl: z.ZodOptional<z.ZodURL>;
97
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
98
- }, z.core.$strip>>;
99
- password: z.ZodOptional<z.ZodObject<{
100
- tokenUrl: z.ZodURL;
101
- refreshUrl: z.ZodOptional<z.ZodURL>;
102
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>;
105
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
106
- }, z.core.$strip>, z.ZodObject<{
107
- description: z.ZodOptional<z.ZodString>;
108
- type: z.ZodEnum<{
109
- apiKey: "apiKey";
110
- http: "http";
111
- mutualTLS: "mutualTLS";
112
- oauth2: "oauth2";
113
- openIdConnect: "openIdConnect";
114
- }>;
115
- openIdConnectUrl: z.ZodString;
116
- }, z.core.$strip>, z.ZodObject<{
117
- description: z.ZodOptional<z.ZodString>;
118
- type: z.ZodEnum<{
119
- apiKey: "apiKey";
120
- http: "http";
121
- mutualTLS: "mutualTLS";
122
- oauth2: "oauth2";
123
- openIdConnect: "openIdConnect";
124
- }>;
125
- }, z.core.$strip>]>>>;
126
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
127
- defaultInputModes: z.ZodArray<z.ZodString>;
128
- defaultOutputModes: z.ZodArray<z.ZodString>;
129
- skills: z.ZodArray<z.ZodObject<{
130
- id: z.ZodString;
131
- name: z.ZodString;
132
- description: z.ZodString;
133
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
138
- }, z.core.$strip>>;
139
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
140
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
141
- protected: z.ZodString;
142
- signature: z.ZodString;
143
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
144
- }, z.core.$strip>>>;
145
- }, z.core.$strip>;
146
- code: z.ZodString;
147
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
- }, z.core.$strip>;
149
- export type ServerDeploymentRequestParams = z.infer<typeof ServerDeploymentRequestParamsSchema>;
150
- /**
151
- * @description Represents the base parameters for a server deployment response.
152
- */
153
- export declare const BaseServerDeploymentResponseParamsSchema: z.ZodObject<{
154
- deploymentId: z.ZodString;
155
- success: z.ZodBoolean;
156
- }, z.core.$strip>;
157
- export type BaseServerDeploymentResponseParams = z.infer<typeof BaseServerDeploymentResponseParamsSchema>;
158
- /**
159
- * @description Represents the parameters for a server deployment success response.
160
- */
161
- export declare const ServerDeploymentSuccessResponseParamsSchema: z.ZodObject<{
162
- deploymentId: z.ZodString;
163
- success: z.ZodBoolean;
164
- name: z.ZodString;
165
- url: z.ZodURL;
166
- basePath: z.ZodString;
167
- }, z.core.$strip>;
168
- export type ServerDeploymentSuccessResponseParams = z.infer<typeof ServerDeploymentSuccessResponseParamsSchema>;
169
- /**
170
- * @description Represents the request for a server deployment.
171
- */
172
- export declare const ServerDeploymentRequestSchema: z.ZodObject<{
173
- jsonrpc: z.ZodLiteral<"2.0">;
174
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
175
- method: z.ZodLiteral<"/deploy">;
176
- params: z.ZodObject<{
177
- name: z.ZodString;
178
- agentCard: z.ZodObject<{
179
- protocolVersion: z.ZodDefault<z.ZodString>;
180
- name: z.ZodString;
181
- description: z.ZodString;
182
- url: z.ZodURL;
183
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
184
- JSONRPC: "JSONRPC";
185
- GRPC: "GRPC";
186
- "HTTP+JSON": "HTTP+JSON";
187
- }>, z.ZodString]>>;
188
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
- url: z.ZodURL;
190
- transport: z.ZodUnion<readonly [z.ZodEnum<{
191
- JSONRPC: "JSONRPC";
192
- GRPC: "GRPC";
193
- "HTTP+JSON": "HTTP+JSON";
194
- }>, z.ZodString]>;
195
- }, z.core.$strip>>>;
196
- iconUrl: z.ZodOptional<z.ZodURL>;
197
- provider: z.ZodOptional<z.ZodObject<{
198
- organization: z.ZodString;
199
- url: z.ZodURL;
200
- }, z.core.$strip>>;
201
- version: z.ZodString;
202
- documentationUrl: z.ZodOptional<z.ZodURL>;
203
- capabilities: z.ZodObject<{
204
- streaming: z.ZodOptional<z.ZodBoolean>;
205
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
206
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
207
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
208
- uri: z.ZodString;
209
- description: z.ZodOptional<z.ZodString>;
210
- required: z.ZodOptional<z.ZodBoolean>;
211
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
212
- }, z.core.$strip>>>;
213
- }, z.core.$strip>;
214
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
215
- description: z.ZodOptional<z.ZodString>;
216
- type: z.ZodEnum<{
217
- apiKey: "apiKey";
218
- http: "http";
219
- mutualTLS: "mutualTLS";
220
- oauth2: "oauth2";
221
- openIdConnect: "openIdConnect";
222
- }>;
223
- in: z.ZodEnum<{
224
- query: "query";
225
- header: "header";
226
- cookie: "cookie";
227
- }>;
228
- name: z.ZodString;
229
- }, z.core.$strip>, z.ZodObject<{
230
- description: z.ZodOptional<z.ZodString>;
231
- type: z.ZodEnum<{
232
- apiKey: "apiKey";
233
- http: "http";
234
- mutualTLS: "mutualTLS";
235
- oauth2: "oauth2";
236
- openIdConnect: "openIdConnect";
237
- }>;
238
- scheme: z.ZodString;
239
- bearerFormat: z.ZodOptional<z.ZodString>;
240
- }, z.core.$strip>, z.ZodObject<{
241
- description: z.ZodOptional<z.ZodString>;
242
- type: z.ZodEnum<{
243
- apiKey: "apiKey";
244
- http: "http";
245
- mutualTLS: "mutualTLS";
246
- oauth2: "oauth2";
247
- openIdConnect: "openIdConnect";
248
- }>;
249
- flows: z.ZodObject<{
250
- authorizationCode: z.ZodOptional<z.ZodObject<{
251
- authorizationUrl: z.ZodURL;
252
- tokenUrl: z.ZodURL;
253
- refreshUrl: z.ZodOptional<z.ZodURL>;
254
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
255
- }, z.core.$strip>>;
256
- clientCredentials: z.ZodOptional<z.ZodObject<{
257
- tokenUrl: z.ZodURL;
258
- refreshUrl: z.ZodOptional<z.ZodURL>;
259
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
260
- }, z.core.$strip>>;
261
- implicit: z.ZodOptional<z.ZodObject<{
262
- authorizationUrl: z.ZodURL;
263
- refreshUrl: z.ZodOptional<z.ZodURL>;
264
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
265
- }, z.core.$strip>>;
266
- password: z.ZodOptional<z.ZodObject<{
267
- tokenUrl: z.ZodURL;
268
- refreshUrl: z.ZodOptional<z.ZodURL>;
269
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
270
- }, z.core.$strip>>;
271
- }, z.core.$strip>;
272
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
273
- }, z.core.$strip>, z.ZodObject<{
274
- description: z.ZodOptional<z.ZodString>;
275
- type: z.ZodEnum<{
276
- apiKey: "apiKey";
277
- http: "http";
278
- mutualTLS: "mutualTLS";
279
- oauth2: "oauth2";
280
- openIdConnect: "openIdConnect";
281
- }>;
282
- openIdConnectUrl: z.ZodString;
283
- }, z.core.$strip>, z.ZodObject<{
284
- description: z.ZodOptional<z.ZodString>;
285
- type: z.ZodEnum<{
286
- apiKey: "apiKey";
287
- http: "http";
288
- mutualTLS: "mutualTLS";
289
- oauth2: "oauth2";
290
- openIdConnect: "openIdConnect";
291
- }>;
292
- }, z.core.$strip>]>>>;
293
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
294
- defaultInputModes: z.ZodArray<z.ZodString>;
295
- defaultOutputModes: z.ZodArray<z.ZodString>;
296
- skills: z.ZodArray<z.ZodObject<{
297
- id: z.ZodString;
298
- name: z.ZodString;
299
- description: z.ZodString;
300
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
302
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
303
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
304
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
305
- }, z.core.$strip>>;
306
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
307
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
308
- protected: z.ZodString;
309
- signature: z.ZodString;
310
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
311
- }, z.core.$strip>>>;
312
- }, z.core.$strip>;
313
- code: z.ZodString;
314
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
315
- }, z.core.$strip>;
316
- }, z.core.$strip>;
317
- export type ServerDeploymentRequest = z.infer<typeof ServerDeploymentRequestSchema>;
318
- /**
319
- * @description Represents the request for a test server deployment.
320
- */
321
- export declare const TestServerDeploymentRequestSchema: z.ZodObject<{
322
- jsonrpc: z.ZodLiteral<"2.0">;
323
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
324
- method: z.ZodLiteral<"/test/deploy">;
325
- params: z.ZodObject<{
326
- name: z.ZodString;
327
- agentCard: z.ZodObject<{
328
- protocolVersion: z.ZodDefault<z.ZodString>;
329
- name: z.ZodString;
330
- description: z.ZodString;
331
- url: z.ZodURL;
332
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
333
- JSONRPC: "JSONRPC";
334
- GRPC: "GRPC";
335
- "HTTP+JSON": "HTTP+JSON";
336
- }>, z.ZodString]>>;
337
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
338
- url: z.ZodURL;
339
- transport: z.ZodUnion<readonly [z.ZodEnum<{
340
- JSONRPC: "JSONRPC";
341
- GRPC: "GRPC";
342
- "HTTP+JSON": "HTTP+JSON";
343
- }>, z.ZodString]>;
344
- }, z.core.$strip>>>;
345
- iconUrl: z.ZodOptional<z.ZodURL>;
346
- provider: z.ZodOptional<z.ZodObject<{
347
- organization: z.ZodString;
348
- url: z.ZodURL;
349
- }, z.core.$strip>>;
350
- version: z.ZodString;
351
- documentationUrl: z.ZodOptional<z.ZodURL>;
352
- capabilities: z.ZodObject<{
353
- streaming: z.ZodOptional<z.ZodBoolean>;
354
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
355
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
356
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
357
- uri: z.ZodString;
358
- description: z.ZodOptional<z.ZodString>;
359
- required: z.ZodOptional<z.ZodBoolean>;
360
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
361
- }, z.core.$strip>>>;
362
- }, z.core.$strip>;
363
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
364
- description: z.ZodOptional<z.ZodString>;
365
- type: z.ZodEnum<{
366
- apiKey: "apiKey";
367
- http: "http";
368
- mutualTLS: "mutualTLS";
369
- oauth2: "oauth2";
370
- openIdConnect: "openIdConnect";
371
- }>;
372
- in: z.ZodEnum<{
373
- query: "query";
374
- header: "header";
375
- cookie: "cookie";
376
- }>;
377
- name: z.ZodString;
378
- }, z.core.$strip>, z.ZodObject<{
379
- description: z.ZodOptional<z.ZodString>;
380
- type: z.ZodEnum<{
381
- apiKey: "apiKey";
382
- http: "http";
383
- mutualTLS: "mutualTLS";
384
- oauth2: "oauth2";
385
- openIdConnect: "openIdConnect";
386
- }>;
387
- scheme: z.ZodString;
388
- bearerFormat: z.ZodOptional<z.ZodString>;
389
- }, z.core.$strip>, z.ZodObject<{
390
- description: z.ZodOptional<z.ZodString>;
391
- type: z.ZodEnum<{
392
- apiKey: "apiKey";
393
- http: "http";
394
- mutualTLS: "mutualTLS";
395
- oauth2: "oauth2";
396
- openIdConnect: "openIdConnect";
397
- }>;
398
- flows: z.ZodObject<{
399
- authorizationCode: z.ZodOptional<z.ZodObject<{
400
- authorizationUrl: z.ZodURL;
401
- tokenUrl: z.ZodURL;
402
- refreshUrl: z.ZodOptional<z.ZodURL>;
403
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
404
- }, z.core.$strip>>;
405
- clientCredentials: z.ZodOptional<z.ZodObject<{
406
- tokenUrl: z.ZodURL;
407
- refreshUrl: z.ZodOptional<z.ZodURL>;
408
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
409
- }, z.core.$strip>>;
410
- implicit: z.ZodOptional<z.ZodObject<{
411
- authorizationUrl: z.ZodURL;
412
- refreshUrl: z.ZodOptional<z.ZodURL>;
413
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
414
- }, z.core.$strip>>;
415
- password: z.ZodOptional<z.ZodObject<{
416
- tokenUrl: z.ZodURL;
417
- refreshUrl: z.ZodOptional<z.ZodURL>;
418
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
419
- }, z.core.$strip>>;
420
- }, z.core.$strip>;
421
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
422
- }, z.core.$strip>, z.ZodObject<{
423
- description: z.ZodOptional<z.ZodString>;
424
- type: z.ZodEnum<{
425
- apiKey: "apiKey";
426
- http: "http";
427
- mutualTLS: "mutualTLS";
428
- oauth2: "oauth2";
429
- openIdConnect: "openIdConnect";
430
- }>;
431
- openIdConnectUrl: z.ZodString;
432
- }, z.core.$strip>, z.ZodObject<{
433
- description: z.ZodOptional<z.ZodString>;
434
- type: z.ZodEnum<{
435
- apiKey: "apiKey";
436
- http: "http";
437
- mutualTLS: "mutualTLS";
438
- oauth2: "oauth2";
439
- openIdConnect: "openIdConnect";
440
- }>;
441
- }, z.core.$strip>]>>>;
442
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
443
- defaultInputModes: z.ZodArray<z.ZodString>;
444
- defaultOutputModes: z.ZodArray<z.ZodString>;
445
- skills: z.ZodArray<z.ZodObject<{
446
- id: z.ZodString;
447
- name: z.ZodString;
448
- description: z.ZodString;
449
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
450
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
452
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
453
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
454
- }, z.core.$strip>>;
455
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
456
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
457
- protected: z.ZodString;
458
- signature: z.ZodString;
459
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
460
- }, z.core.$strip>>>;
461
- }, z.core.$strip>;
462
- code: z.ZodString;
463
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
464
- }, z.core.$strip>;
465
- }, z.core.$strip>;
466
- export type TestServerDeploymentRequest = z.infer<typeof TestServerDeploymentRequestSchema>;
467
- /**
468
- * @description Represents the response for a server deployment success request.
469
- */
470
- export declare const ServerDeploymentSuccessResponseSchema: z.ZodObject<{
471
- jsonrpc: z.ZodLiteral<"2.0">;
472
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
473
- error: z.ZodOptional<z.ZodNever>;
474
- result: z.ZodObject<{
475
- deploymentId: z.ZodString;
476
- success: z.ZodBoolean;
477
- name: z.ZodString;
478
- url: z.ZodURL;
479
- basePath: z.ZodString;
480
- }, z.core.$strip>;
481
- }, z.core.$strip>;
482
- export type ServerDeploymentSuccessResponse = z.infer<typeof ServerDeploymentSuccessResponseSchema>;
483
- /**
484
- * @description Represents the response for a server deployment request.
485
- */
486
- export declare const ServerDeploymentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
487
- jsonrpc: z.ZodLiteral<"2.0">;
488
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
489
- error: z.ZodOptional<z.ZodNever>;
490
- result: z.ZodObject<{
491
- deploymentId: z.ZodString;
492
- success: z.ZodBoolean;
493
- name: z.ZodString;
494
- url: z.ZodURL;
495
- basePath: z.ZodString;
496
- }, z.core.$strip>;
497
- }, z.core.$strip>, z.ZodObject<{
498
- jsonrpc: z.ZodLiteral<"2.0">;
499
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
500
- result: z.ZodOptional<z.ZodNever>;
501
- error: z.ZodObject<{
502
- code: z.ZodNumber;
503
- message: z.ZodString;
504
- data: z.ZodOptional<z.ZodUnknown>;
505
- }, z.core.$strip>;
506
- }, z.core.$strip>]>;
507
- export type ServerDeploymentResponse = z.infer<typeof ServerDeploymentResponseSchema>;
508
- //# sourceMappingURL=request.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/deployment/request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmByB,CAAC;AAE1E,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;iBAW0B,CAAC;AAEhF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2CAA2C;;;;;;iBAgBrD,CAAC;AAEJ,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,2CAA2C,CACnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKoB,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKqB,CAAC;AAEpE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;iBAKuB,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;mBAE4B,CAAC;AAExE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./transform.js";
2
- //# sourceMappingURL=index.d.ts.map