@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":"message.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/message.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAc3B;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;iBAsCxC,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAO5C,CAAC;AACJ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC"}
@@ -1,338 +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
- * Defines parameters for fetching a specific push notification configuration for a task.
8
- */
9
- export declare const GetTaskPushNotificationConfigParamSchema: z.ZodObject<{
10
- id: z.ZodString;
11
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
- pushNotificationConfigId: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>;
14
- export type GetTaskPushNotificationConfigParam = z.infer<typeof GetTaskPushNotificationConfigParamSchema>;
15
- export declare const GetTaskPushNotificationConfigParamsSchema: z.ZodUnion<readonly [z.ZodObject<{
16
- id: z.ZodString;
17
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
- pushNotificationConfigId: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>, z.ZodObject<{
20
- id: z.ZodString;
21
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22
- }, z.core.$strip>]>;
23
- export type GetTaskPushNotificationConfigParams = z.infer<typeof GetTaskPushNotificationConfigParamsSchema>;
24
- /**
25
- * Defines parameters for listing all push notification configurations for a task.
26
- */
27
- export declare const ListTaskPushNotificationConfigsParamsSchema: z.ZodObject<{
28
- id: z.ZodString;
29
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30
- }, z.core.$strip>;
31
- export type ListTaskPushNotificationConfigsParams = z.infer<typeof ListTaskPushNotificationConfigsParamsSchema>;
32
- /**
33
- * Defines parameters for deleting a specific push notification configuration for a task.
34
- */
35
- export declare const DeleteTaskPushNotificationConfigParamsSchema: z.ZodObject<{
36
- id: z.ZodString;
37
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38
- pushNotificationConfigId: z.ZodString;
39
- }, z.core.$strip>;
40
- export type DeleteTaskPushNotificationConfigParams = z.infer<typeof DeleteTaskPushNotificationConfigParamsSchema>;
41
- /**
42
- * @description Defines authentication details for a push notification endpoint.
43
- */
44
- export declare const PushNotificationAuthenticationInfoSchema: z.ZodObject<{
45
- schemes: z.ZodArray<z.ZodString>;
46
- credentials: z.ZodOptional<z.ZodString>;
47
- }, z.core.$strip>;
48
- export type PushNotificationAuthenticationInfo = z.infer<typeof PushNotificationAuthenticationInfoSchema>;
49
- /**
50
- * @description Defines the configuration for setting up push notifications for task updates.
51
- */
52
- export declare const PushNotificationConfigSchema: z.ZodObject<{
53
- id: z.ZodOptional<z.ZodString>;
54
- url: z.ZodURL;
55
- token: z.ZodOptional<z.ZodString>;
56
- authentication: z.ZodOptional<z.ZodObject<{
57
- schemes: z.ZodArray<z.ZodString>;
58
- credentials: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>;
61
- export type PushNotificationConfig = z.infer<typeof PushNotificationConfigSchema>;
62
- /**
63
- * @description A container associating a push notification configuration with a specific task.
64
- */
65
- export declare const TaskPushNotificationConfigSchema: z.ZodObject<{
66
- taskId: z.ZodString;
67
- pushNotificationConfig: z.ZodObject<{
68
- id: z.ZodOptional<z.ZodString>;
69
- url: z.ZodURL;
70
- token: z.ZodOptional<z.ZodString>;
71
- authentication: z.ZodOptional<z.ZodObject<{
72
- schemes: z.ZodArray<z.ZodString>;
73
- credentials: z.ZodOptional<z.ZodString>;
74
- }, z.core.$strip>>;
75
- }, z.core.$strip>;
76
- }, z.core.$strip>;
77
- export type TaskPushNotificationConfig = z.infer<typeof TaskPushNotificationConfigSchema>;
78
- /**
79
- * @description Request to set or update the push notification config for a task.
80
- */
81
- export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
82
- jsonrpc: z.ZodLiteral<"2.0">;
83
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
84
- method: z.ZodLiteral<"tasks/pushNotificationConfig/set">;
85
- params: z.ZodObject<{
86
- taskId: z.ZodString;
87
- pushNotificationConfig: z.ZodObject<{
88
- id: z.ZodOptional<z.ZodString>;
89
- url: z.ZodURL;
90
- token: z.ZodOptional<z.ZodString>;
91
- authentication: z.ZodOptional<z.ZodObject<{
92
- schemes: z.ZodArray<z.ZodString>;
93
- credentials: z.ZodOptional<z.ZodString>;
94
- }, z.core.$strip>>;
95
- }, z.core.$strip>;
96
- }, z.core.$strip>;
97
- }, z.core.$strip>;
98
- export type SetTaskPushNotificationConfigRequest = z.infer<typeof SetTaskPushNotificationConfigRequestSchema>;
99
- /**
100
- * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/set' method.
101
- */
102
- export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
103
- jsonrpc: z.ZodLiteral<"2.0">;
104
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
105
- error: z.ZodOptional<z.ZodNever>;
106
- result: z.ZodObject<{
107
- taskId: z.ZodString;
108
- pushNotificationConfig: z.ZodObject<{
109
- id: z.ZodOptional<z.ZodString>;
110
- url: z.ZodURL;
111
- token: z.ZodOptional<z.ZodString>;
112
- authentication: z.ZodOptional<z.ZodObject<{
113
- schemes: z.ZodArray<z.ZodString>;
114
- credentials: z.ZodOptional<z.ZodString>;
115
- }, z.core.$strip>>;
116
- }, z.core.$strip>;
117
- }, z.core.$strip>;
118
- }, z.core.$strip>;
119
- export type SetTaskPushNotificationConfigSuccessResponse = z.infer<typeof SetTaskPushNotificationConfigSuccessResponseSchema>;
120
- /**
121
- * @description Response to a `tasks/pushNotificationConfig/set` request.
122
- */
123
- export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
124
- jsonrpc: z.ZodLiteral<"2.0">;
125
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
126
- error: z.ZodOptional<z.ZodNever>;
127
- result: z.ZodObject<{
128
- taskId: z.ZodString;
129
- pushNotificationConfig: z.ZodObject<{
130
- id: z.ZodOptional<z.ZodString>;
131
- url: z.ZodURL;
132
- token: z.ZodOptional<z.ZodString>;
133
- authentication: z.ZodOptional<z.ZodObject<{
134
- schemes: z.ZodArray<z.ZodString>;
135
- credentials: z.ZodOptional<z.ZodString>;
136
- }, z.core.$strip>>;
137
- }, z.core.$strip>;
138
- }, z.core.$strip>;
139
- }, z.core.$strip>, z.ZodObject<{
140
- jsonrpc: z.ZodLiteral<"2.0">;
141
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
142
- result: z.ZodOptional<z.ZodNever>;
143
- error: z.ZodObject<{
144
- code: z.ZodNumber;
145
- message: z.ZodString;
146
- data: z.ZodOptional<z.ZodUnknown>;
147
- }, z.core.$strip>;
148
- }, z.core.$strip>]>;
149
- export type SetTaskPushNotificationConfigResponse = z.infer<typeof SetTaskPushNotificationConfigResponseSchema>;
150
- /**
151
- * @description Request to retrieve the currently configured push notification configuration for a task.
152
- */
153
- export declare const GetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
154
- jsonrpc: z.ZodLiteral<"2.0">;
155
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
156
- method: z.ZodLiteral<"tasks/pushNotificationConfig/get">;
157
- params: z.ZodUnion<readonly [z.ZodObject<{
158
- id: z.ZodString;
159
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
160
- pushNotificationConfigId: z.ZodOptional<z.ZodString>;
161
- }, z.core.$strip>, z.ZodObject<{
162
- id: z.ZodString;
163
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
164
- }, z.core.$strip>]>;
165
- }, z.core.$strip>;
166
- export type GetTaskPushNotificationConfigRequest = z.infer<typeof GetTaskPushNotificationConfigRequestSchema>;
167
- /**
168
- * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/get' method.
169
- */
170
- export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
171
- jsonrpc: z.ZodLiteral<"2.0">;
172
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
173
- error: z.ZodOptional<z.ZodNever>;
174
- result: z.ZodObject<{
175
- taskId: z.ZodString;
176
- pushNotificationConfig: z.ZodObject<{
177
- id: z.ZodOptional<z.ZodString>;
178
- url: z.ZodURL;
179
- token: z.ZodOptional<z.ZodString>;
180
- authentication: z.ZodOptional<z.ZodObject<{
181
- schemes: z.ZodArray<z.ZodString>;
182
- credentials: z.ZodOptional<z.ZodString>;
183
- }, z.core.$strip>>;
184
- }, z.core.$strip>;
185
- }, z.core.$strip>;
186
- }, z.core.$strip>;
187
- export type GetTaskPushNotificationConfigSuccessResponse = z.infer<typeof GetTaskPushNotificationConfigSuccessResponseSchema>;
188
- /**
189
- * @description Response to a `tasks/pushNotificationConfig/get` request.
190
- */
191
- export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
192
- jsonrpc: z.ZodLiteral<"2.0">;
193
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
194
- error: z.ZodOptional<z.ZodNever>;
195
- result: z.ZodObject<{
196
- taskId: z.ZodString;
197
- pushNotificationConfig: z.ZodObject<{
198
- id: z.ZodOptional<z.ZodString>;
199
- url: z.ZodURL;
200
- token: z.ZodOptional<z.ZodString>;
201
- authentication: z.ZodOptional<z.ZodObject<{
202
- schemes: z.ZodArray<z.ZodString>;
203
- credentials: z.ZodOptional<z.ZodString>;
204
- }, z.core.$strip>>;
205
- }, z.core.$strip>;
206
- }, z.core.$strip>;
207
- }, z.core.$strip>, z.ZodObject<{
208
- jsonrpc: z.ZodLiteral<"2.0">;
209
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
210
- result: z.ZodOptional<z.ZodNever>;
211
- error: z.ZodObject<{
212
- code: z.ZodNumber;
213
- message: z.ZodString;
214
- data: z.ZodOptional<z.ZodUnknown>;
215
- }, z.core.$strip>;
216
- }, z.core.$strip>]>;
217
- export type GetTaskPushNotificationConfigResponse = z.infer<typeof GetTaskPushNotificationConfigResponseSchema>;
218
- /**
219
- * @description Request to list all push notification configurations for a task.
220
- */
221
- export declare const ListTaskPushNotificationConfigRequestSchema: z.ZodObject<{
222
- jsonrpc: z.ZodLiteral<"2.0">;
223
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
224
- method: z.ZodLiteral<"tasks/pushNotificationConfig/list">;
225
- params: z.ZodObject<{
226
- id: z.ZodString;
227
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
228
- }, z.core.$strip>;
229
- }, z.core.$strip>;
230
- export type ListTaskPushNotificationConfigRequest = z.infer<typeof ListTaskPushNotificationConfigRequestSchema>;
231
- export declare const ListTaskPushNotificationConfigResultSchema: z.ZodArray<z.ZodObject<{
232
- taskId: z.ZodString;
233
- pushNotificationConfig: z.ZodObject<{
234
- id: z.ZodOptional<z.ZodString>;
235
- url: z.ZodURL;
236
- token: z.ZodOptional<z.ZodString>;
237
- authentication: z.ZodOptional<z.ZodObject<{
238
- schemes: z.ZodArray<z.ZodString>;
239
- credentials: z.ZodOptional<z.ZodString>;
240
- }, z.core.$strip>>;
241
- }, z.core.$strip>;
242
- }, z.core.$strip>>;
243
- export type ListTaskPushNotificationConfigResult = z.infer<typeof ListTaskPushNotificationConfigResultSchema>;
244
- /**
245
- * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/list' method.
246
- */
247
- export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
248
- jsonrpc: z.ZodLiteral<"2.0">;
249
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
250
- error: z.ZodOptional<z.ZodNever>;
251
- result: z.ZodArray<z.ZodObject<{
252
- taskId: z.ZodString;
253
- pushNotificationConfig: z.ZodObject<{
254
- id: z.ZodOptional<z.ZodString>;
255
- url: z.ZodURL;
256
- token: z.ZodOptional<z.ZodString>;
257
- authentication: z.ZodOptional<z.ZodObject<{
258
- schemes: z.ZodArray<z.ZodString>;
259
- credentials: z.ZodOptional<z.ZodString>;
260
- }, z.core.$strip>>;
261
- }, z.core.$strip>;
262
- }, z.core.$strip>>;
263
- }, z.core.$strip>;
264
- export type ListTaskPushNotificationConfigSuccessResponse = z.infer<typeof ListTaskPushNotificationConfigSuccessResponseSchema>;
265
- /**
266
- * @description Response to a `tasks/pushNotificationConfig/list` request.
267
- */
268
- export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
269
- jsonrpc: z.ZodLiteral<"2.0">;
270
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
271
- error: z.ZodOptional<z.ZodNever>;
272
- result: z.ZodArray<z.ZodObject<{
273
- taskId: z.ZodString;
274
- pushNotificationConfig: z.ZodObject<{
275
- id: z.ZodOptional<z.ZodString>;
276
- url: z.ZodURL;
277
- token: z.ZodOptional<z.ZodString>;
278
- authentication: z.ZodOptional<z.ZodObject<{
279
- schemes: z.ZodArray<z.ZodString>;
280
- credentials: z.ZodOptional<z.ZodString>;
281
- }, z.core.$strip>>;
282
- }, z.core.$strip>;
283
- }, z.core.$strip>>;
284
- }, z.core.$strip>, z.ZodObject<{
285
- jsonrpc: z.ZodLiteral<"2.0">;
286
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
287
- result: z.ZodOptional<z.ZodNever>;
288
- error: z.ZodObject<{
289
- code: z.ZodNumber;
290
- message: z.ZodString;
291
- data: z.ZodOptional<z.ZodUnknown>;
292
- }, z.core.$strip>;
293
- }, z.core.$strip>]>;
294
- export type ListTaskPushNotificationConfigResponse = z.infer<typeof ListTaskPushNotificationConfigResponseSchema>;
295
- /**
296
- * @description Request to delete a specific push notification configuration for a task.
297
- */
298
- export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<{
299
- jsonrpc: z.ZodLiteral<"2.0">;
300
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
301
- method: z.ZodLiteral<"tasks/pushNotificationConfig/delete">;
302
- params: z.ZodObject<{
303
- id: z.ZodString;
304
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
305
- pushNotificationConfigId: z.ZodString;
306
- }, z.core.$strip>;
307
- }, z.core.$strip>;
308
- export type DeleteTaskPushNotificationConfigRequest = z.infer<typeof DeleteTaskPushNotificationConfigRequestSchema>;
309
- /**
310
- * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/delete' method.
311
- */
312
- export declare const DeleteTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
313
- jsonrpc: z.ZodLiteral<"2.0">;
314
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
315
- error: z.ZodOptional<z.ZodNever>;
316
- result: z.ZodNull;
317
- }, z.core.$strip>;
318
- export type DeleteTaskPushNotificationConfigSuccessResponse = z.infer<typeof DeleteTaskPushNotificationConfigSuccessResponseSchema>;
319
- /**
320
- * @description Response to a `tasks/pushNotificationConfig/delete` request.
321
- */
322
- export declare const DeleteTaskPushNotificationConfigResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
323
- jsonrpc: z.ZodLiteral<"2.0">;
324
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
325
- error: z.ZodOptional<z.ZodNever>;
326
- result: z.ZodNull;
327
- }, z.core.$strip>, z.ZodObject<{
328
- jsonrpc: z.ZodLiteral<"2.0">;
329
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
330
- result: z.ZodOptional<z.ZodNever>;
331
- error: z.ZodObject<{
332
- code: z.ZodNumber;
333
- message: z.ZodString;
334
- data: z.ZodOptional<z.ZodUnknown>;
335
- }, z.core.$strip>;
336
- }, z.core.$strip>]>;
337
- export type DeleteTaskPushNotificationConfigResponse = z.infer<typeof DeleteTaskPushNotificationConfigResponseSchema>;
338
- //# sourceMappingURL=notification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/notification.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;;iBAMjD,CAAC;AAEL,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;;;;;mBAGpD,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2CAA2C;;;iBACzB,CAAC;AAEhC,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,2CAA2C,CACnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4CAA4C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wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,8CAA8C,CACtD,CAAC"}
@@ -1,308 +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 Defines base properties common to all message or artifact parts.
8
- */
9
- export declare const PartBaseSchema: z.ZodObject<{
10
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
- }, z.core.$strip>;
12
- export type PartBase = z.infer<typeof PartBaseSchema>;
13
- /**
14
- * @description Defines base properties for a file.
15
- */
16
- export declare const FileBaseSchema: z.ZodObject<{
17
- name: z.ZodOptional<z.ZodString>;
18
- mimeType: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>;
20
- export type FileBase = z.infer<typeof FileBaseSchema>;
21
- /**
22
- * @description Represents a file with its content provided directly as a base64-encoded string.
23
- */
24
- export declare const FileWithBytesSchema: z.ZodObject<{
25
- name: z.ZodOptional<z.ZodString>;
26
- mimeType: z.ZodOptional<z.ZodString>;
27
- bytes: z.ZodString;
28
- uri: z.ZodOptional<z.ZodNever>;
29
- }, z.core.$strip>;
30
- export type FileWithBytes = z.infer<typeof FileWithBytesSchema>;
31
- /**
32
- * @description Represents a file with its content located at a specific URI.
33
- */
34
- export declare const FileWithUriSchema: z.ZodObject<{
35
- name: z.ZodOptional<z.ZodString>;
36
- mimeType: z.ZodOptional<z.ZodString>;
37
- uri: z.ZodString;
38
- bytes: z.ZodOptional<z.ZodNever>;
39
- }, z.core.$strip>;
40
- export type FileWithUri = z.infer<typeof FileWithUriSchema>;
41
- /**
42
- * @description Represents a file with its content provided directly as a base64-encoded string or located at a specific URI.
43
- */
44
- export declare const FileSchema: z.ZodUnion<readonly [z.ZodObject<{
45
- name: z.ZodOptional<z.ZodString>;
46
- mimeType: z.ZodOptional<z.ZodString>;
47
- bytes: z.ZodString;
48
- uri: z.ZodOptional<z.ZodNever>;
49
- }, z.core.$strip>, z.ZodObject<{
50
- name: z.ZodOptional<z.ZodString>;
51
- mimeType: z.ZodOptional<z.ZodString>;
52
- uri: z.ZodString;
53
- bytes: z.ZodOptional<z.ZodNever>;
54
- }, z.core.$strip>]>;
55
- export type File = z.infer<typeof FileSchema>;
56
- /**
57
- * @description Represents a file segment within a message or artifact. The file content can be
58
- * provided either directly as bytes or as a URI.
59
- */
60
- export declare const FilePartSchema: z.ZodObject<{
61
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
62
- kind: z.ZodEnum<{
63
- "artifact-update": "artifact-update";
64
- data: "data";
65
- file: "file";
66
- message: "message";
67
- "status-update": "status-update";
68
- task: "task";
69
- text: "text";
70
- }>;
71
- file: z.ZodUnion<readonly [z.ZodObject<{
72
- name: z.ZodOptional<z.ZodString>;
73
- mimeType: z.ZodOptional<z.ZodString>;
74
- bytes: z.ZodString;
75
- uri: z.ZodOptional<z.ZodNever>;
76
- }, z.core.$strip>, z.ZodObject<{
77
- name: z.ZodOptional<z.ZodString>;
78
- mimeType: z.ZodOptional<z.ZodString>;
79
- uri: z.ZodString;
80
- bytes: z.ZodOptional<z.ZodNever>;
81
- }, z.core.$strip>]>;
82
- }, z.core.$strip>;
83
- export type FilePart = z.infer<typeof FilePartSchema>;
84
- /**
85
- * @description Represents a text segment within a message or artifact.
86
- */
87
- export declare const TextPartSchema: z.ZodObject<{
88
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
89
- kind: z.ZodEnum<{
90
- "artifact-update": "artifact-update";
91
- data: "data";
92
- file: "file";
93
- message: "message";
94
- "status-update": "status-update";
95
- task: "task";
96
- text: "text";
97
- }>;
98
- text: z.ZodString;
99
- }, z.core.$strip>;
100
- export type TextPart = z.infer<typeof TextPartSchema>;
101
- /**
102
- * @description Represents a structured data segment (e.g., JSON) within a message or artifact.
103
- */
104
- export declare const DataPartSchema: z.ZodObject<{
105
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
106
- kind: z.ZodEnum<{
107
- "artifact-update": "artifact-update";
108
- data: "data";
109
- file: "file";
110
- message: "message";
111
- "status-update": "status-update";
112
- task: "task";
113
- text: "text";
114
- }>;
115
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
116
- }, z.core.$strip>;
117
- export type DataPart = z.infer<typeof DataPartSchema>;
118
- /**
119
- * @description A discriminated union representing a part of a message or artifact, which can
120
- * be text, a file, or structured data.
121
- */
122
- export declare const PartSchema: z.ZodUnion<readonly [z.ZodObject<{
123
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
124
- kind: z.ZodEnum<{
125
- "artifact-update": "artifact-update";
126
- data: "data";
127
- file: "file";
128
- message: "message";
129
- "status-update": "status-update";
130
- task: "task";
131
- text: "text";
132
- }>;
133
- text: z.ZodString;
134
- }, z.core.$strip>, z.ZodObject<{
135
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
136
- kind: z.ZodEnum<{
137
- "artifact-update": "artifact-update";
138
- data: "data";
139
- file: "file";
140
- message: "message";
141
- "status-update": "status-update";
142
- task: "task";
143
- text: "text";
144
- }>;
145
- file: z.ZodUnion<readonly [z.ZodObject<{
146
- name: z.ZodOptional<z.ZodString>;
147
- mimeType: z.ZodOptional<z.ZodString>;
148
- bytes: z.ZodString;
149
- uri: z.ZodOptional<z.ZodNever>;
150
- }, z.core.$strip>, z.ZodObject<{
151
- name: z.ZodOptional<z.ZodString>;
152
- mimeType: z.ZodOptional<z.ZodString>;
153
- uri: z.ZodString;
154
- bytes: z.ZodOptional<z.ZodNever>;
155
- }, z.core.$strip>]>;
156
- }, z.core.$strip>, z.ZodObject<{
157
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
158
- kind: z.ZodEnum<{
159
- "artifact-update": "artifact-update";
160
- data: "data";
161
- file: "file";
162
- message: "message";
163
- "status-update": "status-update";
164
- task: "task";
165
- text: "text";
166
- }>;
167
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
168
- }, z.core.$strip>]>;
169
- export type Part = z.infer<typeof PartSchema>;
170
- /**
171
- * @description Represents a file, data structure, or other resource generated by an agent during a task.
172
- */
173
- export declare const ArtifactSchema: z.ZodObject<{
174
- artifactId: z.ZodString;
175
- name: z.ZodOptional<z.ZodString>;
176
- description: z.ZodOptional<z.ZodString>;
177
- parts: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
178
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
179
- kind: z.ZodEnum<{
180
- "artifact-update": "artifact-update";
181
- data: "data";
182
- file: "file";
183
- message: "message";
184
- "status-update": "status-update";
185
- task: "task";
186
- text: "text";
187
- }>;
188
- text: z.ZodString;
189
- }, z.core.$strip>, z.ZodObject<{
190
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
191
- kind: z.ZodEnum<{
192
- "artifact-update": "artifact-update";
193
- data: "data";
194
- file: "file";
195
- message: "message";
196
- "status-update": "status-update";
197
- task: "task";
198
- text: "text";
199
- }>;
200
- file: z.ZodUnion<readonly [z.ZodObject<{
201
- name: z.ZodOptional<z.ZodString>;
202
- mimeType: z.ZodOptional<z.ZodString>;
203
- bytes: z.ZodString;
204
- uri: z.ZodOptional<z.ZodNever>;
205
- }, z.core.$strip>, z.ZodObject<{
206
- name: z.ZodOptional<z.ZodString>;
207
- mimeType: z.ZodOptional<z.ZodString>;
208
- uri: z.ZodString;
209
- bytes: z.ZodOptional<z.ZodNever>;
210
- }, z.core.$strip>]>;
211
- }, z.core.$strip>, z.ZodObject<{
212
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
213
- kind: z.ZodEnum<{
214
- "artifact-update": "artifact-update";
215
- data: "data";
216
- file: "file";
217
- message: "message";
218
- "status-update": "status-update";
219
- task: "task";
220
- text: "text";
221
- }>;
222
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
223
- }, z.core.$strip>]>>;
224
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
- extension: z.ZodOptional<z.ZodArray<z.ZodString>>;
226
- }, z.core.$strip>;
227
- export type Artifact = z.infer<typeof ArtifactSchema>;
228
- /**
229
- * @description Represents the role of a message sender.
230
- */
231
- export declare const MessageRoleSchema: z.ZodEnum<{
232
- user: "user";
233
- agent: "agent";
234
- }>;
235
- export type MessageRole = z.infer<typeof MessageRoleSchema>;
236
- /**
237
- * @description Represents a single message in the conversation between a user and an agent.
238
- */
239
- export declare const MessageSchema: z.ZodObject<{
240
- role: z.ZodEnum<{
241
- user: "user";
242
- agent: "agent";
243
- }>;
244
- parts: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
245
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
246
- kind: z.ZodEnum<{
247
- "artifact-update": "artifact-update";
248
- data: "data";
249
- file: "file";
250
- message: "message";
251
- "status-update": "status-update";
252
- task: "task";
253
- text: "text";
254
- }>;
255
- text: z.ZodString;
256
- }, z.core.$strip>, z.ZodObject<{
257
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
258
- kind: z.ZodEnum<{
259
- "artifact-update": "artifact-update";
260
- data: "data";
261
- file: "file";
262
- message: "message";
263
- "status-update": "status-update";
264
- task: "task";
265
- text: "text";
266
- }>;
267
- file: z.ZodUnion<readonly [z.ZodObject<{
268
- name: z.ZodOptional<z.ZodString>;
269
- mimeType: z.ZodOptional<z.ZodString>;
270
- bytes: z.ZodString;
271
- uri: z.ZodOptional<z.ZodNever>;
272
- }, z.core.$strip>, z.ZodObject<{
273
- name: z.ZodOptional<z.ZodString>;
274
- mimeType: z.ZodOptional<z.ZodString>;
275
- uri: z.ZodString;
276
- bytes: z.ZodOptional<z.ZodNever>;
277
- }, z.core.$strip>]>;
278
- }, z.core.$strip>, z.ZodObject<{
279
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
280
- kind: z.ZodEnum<{
281
- "artifact-update": "artifact-update";
282
- data: "data";
283
- file: "file";
284
- message: "message";
285
- "status-update": "status-update";
286
- task: "task";
287
- text: "text";
288
- }>;
289
- data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
290
- }, z.core.$strip>]>>;
291
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
292
- extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
293
- referenceTaskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
294
- messageId: z.ZodString;
295
- taskId: z.ZodOptional<z.ZodString>;
296
- contextId: z.ZodOptional<z.ZodString>;
297
- kind: z.ZodEnum<{
298
- "artifact-update": "artifact-update";
299
- data: "data";
300
- file: "file";
301
- message: "message";
302
- "status-update": "status-update";
303
- task: "task";
304
- text: "text";
305
- }>;
306
- }, z.core.$strip>;
307
- export type Message = z.infer<typeof MessageSchema>;
308
- //# sourceMappingURL=parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/parameters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;GAEG;AACH,eAAO,MAAM,cAAc;;iBAUoD,CAAC;AAEhF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,cAAc;;;iBAiBuB,CAAC;AAEnD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;iBAW/B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,iB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