@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,509 +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 provider or organization behind an agent.
8
- */
9
- export declare const AgentProviderSchema: z.ZodObject<{
10
- organization: z.ZodString;
11
- url: z.ZodURL;
12
- }, z.core.$strip>;
13
- export type AgentProvider = z.infer<typeof AgentProviderSchema>;
14
- /**
15
- * @description A declaration of an extension supported by an Agent.
16
- */
17
- export declare const AgentExtensionSchema: z.ZodObject<{
18
- uri: z.ZodString;
19
- description: z.ZodOptional<z.ZodString>;
20
- required: z.ZodOptional<z.ZodBoolean>;
21
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22
- }, z.core.$strip>;
23
- export type AgentExtension = z.infer<typeof AgentExtensionSchema>;
24
- /**
25
- * @description Defines optional capabilities supported by an agent.
26
- */
27
- export declare const AgentCapabilitiesSchema: z.ZodObject<{
28
- streaming: z.ZodOptional<z.ZodBoolean>;
29
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
30
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
31
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
- uri: z.ZodString;
33
- description: z.ZodOptional<z.ZodString>;
34
- required: z.ZodOptional<z.ZodBoolean>;
35
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>;
38
- export type AgentCapabilities = z.infer<typeof AgentCapabilitiesSchema>;
39
- /**
40
- * @description Represents a unit of capability that an agent can perform.
41
- */
42
- export declare const AgentSkillSchema: z.ZodObject<{
43
- id: z.ZodString;
44
- name: z.ZodString;
45
- description: z.ZodString;
46
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
51
- }, z.core.$strip>;
52
- export type AgentSkill = z.infer<typeof AgentSkillSchema>;
53
- /**
54
- * @description AgentCardSignature represents a JWS signature of an AgentCard.
55
- */
56
- export declare const AgentCardSignatureSchema: z.ZodObject<{
57
- protected: z.ZodString;
58
- signature: z.ZodString;
59
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
60
- }, z.core.$strip>;
61
- export type AgentCardSignature = z.infer<typeof AgentCardSignatureSchema>;
62
- /**
63
- * @description An AgentCard conveys key information about an agent's identity,
64
- * capabilities, skills, authentication requirements, and communication modalities.
65
- */
66
- export declare const AgentCardSchema: z.ZodObject<{
67
- protocolVersion: z.ZodDefault<z.ZodString>;
68
- name: z.ZodString;
69
- description: z.ZodString;
70
- url: z.ZodURL;
71
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
72
- JSONRPC: "JSONRPC";
73
- GRPC: "GRPC";
74
- "HTTP+JSON": "HTTP+JSON";
75
- }>, z.ZodString]>>;
76
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
- url: z.ZodURL;
78
- transport: z.ZodUnion<readonly [z.ZodEnum<{
79
- JSONRPC: "JSONRPC";
80
- GRPC: "GRPC";
81
- "HTTP+JSON": "HTTP+JSON";
82
- }>, z.ZodString]>;
83
- }, z.core.$strip>>>;
84
- iconUrl: z.ZodOptional<z.ZodURL>;
85
- provider: z.ZodOptional<z.ZodObject<{
86
- organization: z.ZodString;
87
- url: z.ZodURL;
88
- }, z.core.$strip>>;
89
- version: z.ZodString;
90
- documentationUrl: z.ZodOptional<z.ZodURL>;
91
- capabilities: z.ZodObject<{
92
- streaming: z.ZodOptional<z.ZodBoolean>;
93
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
94
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
95
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
96
- uri: z.ZodString;
97
- description: z.ZodOptional<z.ZodString>;
98
- required: z.ZodOptional<z.ZodBoolean>;
99
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
100
- }, z.core.$strip>>>;
101
- }, z.core.$strip>;
102
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
103
- description: z.ZodOptional<z.ZodString>;
104
- type: z.ZodEnum<{
105
- apiKey: "apiKey";
106
- http: "http";
107
- mutualTLS: "mutualTLS";
108
- oauth2: "oauth2";
109
- openIdConnect: "openIdConnect";
110
- }>;
111
- in: z.ZodEnum<{
112
- query: "query";
113
- header: "header";
114
- cookie: "cookie";
115
- }>;
116
- name: z.ZodString;
117
- }, z.core.$strip>, z.ZodObject<{
118
- description: z.ZodOptional<z.ZodString>;
119
- type: z.ZodEnum<{
120
- apiKey: "apiKey";
121
- http: "http";
122
- mutualTLS: "mutualTLS";
123
- oauth2: "oauth2";
124
- openIdConnect: "openIdConnect";
125
- }>;
126
- scheme: z.ZodString;
127
- bearerFormat: z.ZodOptional<z.ZodString>;
128
- }, z.core.$strip>, z.ZodObject<{
129
- description: z.ZodOptional<z.ZodString>;
130
- type: z.ZodEnum<{
131
- apiKey: "apiKey";
132
- http: "http";
133
- mutualTLS: "mutualTLS";
134
- oauth2: "oauth2";
135
- openIdConnect: "openIdConnect";
136
- }>;
137
- flows: z.ZodObject<{
138
- authorizationCode: z.ZodOptional<z.ZodObject<{
139
- authorizationUrl: z.ZodURL;
140
- tokenUrl: z.ZodURL;
141
- refreshUrl: z.ZodOptional<z.ZodURL>;
142
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
143
- }, z.core.$strip>>;
144
- clientCredentials: z.ZodOptional<z.ZodObject<{
145
- tokenUrl: z.ZodURL;
146
- refreshUrl: z.ZodOptional<z.ZodURL>;
147
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
148
- }, z.core.$strip>>;
149
- implicit: z.ZodOptional<z.ZodObject<{
150
- authorizationUrl: z.ZodURL;
151
- refreshUrl: z.ZodOptional<z.ZodURL>;
152
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
153
- }, z.core.$strip>>;
154
- password: z.ZodOptional<z.ZodObject<{
155
- tokenUrl: z.ZodURL;
156
- refreshUrl: z.ZodOptional<z.ZodURL>;
157
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
158
- }, z.core.$strip>>;
159
- }, z.core.$strip>;
160
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
161
- }, z.core.$strip>, z.ZodObject<{
162
- description: z.ZodOptional<z.ZodString>;
163
- type: z.ZodEnum<{
164
- apiKey: "apiKey";
165
- http: "http";
166
- mutualTLS: "mutualTLS";
167
- oauth2: "oauth2";
168
- openIdConnect: "openIdConnect";
169
- }>;
170
- openIdConnectUrl: z.ZodString;
171
- }, z.core.$strip>, z.ZodObject<{
172
- description: z.ZodOptional<z.ZodString>;
173
- type: z.ZodEnum<{
174
- apiKey: "apiKey";
175
- http: "http";
176
- mutualTLS: "mutualTLS";
177
- oauth2: "oauth2";
178
- openIdConnect: "openIdConnect";
179
- }>;
180
- }, z.core.$strip>]>>>;
181
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
182
- defaultInputModes: z.ZodArray<z.ZodString>;
183
- defaultOutputModes: z.ZodArray<z.ZodString>;
184
- skills: z.ZodArray<z.ZodObject<{
185
- id: z.ZodString;
186
- name: z.ZodString;
187
- description: z.ZodString;
188
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
190
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
191
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
193
- }, z.core.$strip>>;
194
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
195
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
196
- protected: z.ZodString;
197
- signature: z.ZodString;
198
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
199
- }, z.core.$strip>>>;
200
- }, z.core.$strip>;
201
- export type AgentCard = z.infer<typeof AgentCardSchema>;
202
- /**
203
- * @description Request to get an authenticated extended card.
204
- */
205
- export declare const GetAuthenticatedExtendedCardRequestSchema: z.ZodObject<{
206
- jsonrpc: z.ZodLiteral<"2.0">;
207
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
208
- method: z.ZodLiteral<"agent/getAuthenticatedExtendedCard">;
209
- params: z.ZodOptional<z.ZodNever>;
210
- }, z.core.$strip>;
211
- export type GetAuthenticatedExtendedCardRequest = z.infer<typeof GetAuthenticatedExtendedCardRequestSchema>;
212
- /**
213
- * @description JSON-RPC success response model for the 'agent/getAuthenticatedExtendedCard' method.
214
- */
215
- export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObject<{
216
- jsonrpc: z.ZodLiteral<"2.0">;
217
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
218
- error: z.ZodOptional<z.ZodNever>;
219
- result: z.ZodObject<{
220
- protocolVersion: z.ZodDefault<z.ZodString>;
221
- name: z.ZodString;
222
- description: z.ZodString;
223
- url: z.ZodURL;
224
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
225
- JSONRPC: "JSONRPC";
226
- GRPC: "GRPC";
227
- "HTTP+JSON": "HTTP+JSON";
228
- }>, z.ZodString]>>;
229
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
230
- url: z.ZodURL;
231
- transport: z.ZodUnion<readonly [z.ZodEnum<{
232
- JSONRPC: "JSONRPC";
233
- GRPC: "GRPC";
234
- "HTTP+JSON": "HTTP+JSON";
235
- }>, z.ZodString]>;
236
- }, z.core.$strip>>>;
237
- iconUrl: z.ZodOptional<z.ZodURL>;
238
- provider: z.ZodOptional<z.ZodObject<{
239
- organization: z.ZodString;
240
- url: z.ZodURL;
241
- }, z.core.$strip>>;
242
- version: z.ZodString;
243
- documentationUrl: z.ZodOptional<z.ZodURL>;
244
- capabilities: z.ZodObject<{
245
- streaming: z.ZodOptional<z.ZodBoolean>;
246
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
247
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
248
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
249
- uri: z.ZodString;
250
- description: z.ZodOptional<z.ZodString>;
251
- required: z.ZodOptional<z.ZodBoolean>;
252
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
253
- }, z.core.$strip>>>;
254
- }, z.core.$strip>;
255
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
256
- description: z.ZodOptional<z.ZodString>;
257
- type: z.ZodEnum<{
258
- apiKey: "apiKey";
259
- http: "http";
260
- mutualTLS: "mutualTLS";
261
- oauth2: "oauth2";
262
- openIdConnect: "openIdConnect";
263
- }>;
264
- in: z.ZodEnum<{
265
- query: "query";
266
- header: "header";
267
- cookie: "cookie";
268
- }>;
269
- name: z.ZodString;
270
- }, z.core.$strip>, z.ZodObject<{
271
- description: z.ZodOptional<z.ZodString>;
272
- type: z.ZodEnum<{
273
- apiKey: "apiKey";
274
- http: "http";
275
- mutualTLS: "mutualTLS";
276
- oauth2: "oauth2";
277
- openIdConnect: "openIdConnect";
278
- }>;
279
- scheme: z.ZodString;
280
- bearerFormat: z.ZodOptional<z.ZodString>;
281
- }, z.core.$strip>, z.ZodObject<{
282
- description: z.ZodOptional<z.ZodString>;
283
- type: z.ZodEnum<{
284
- apiKey: "apiKey";
285
- http: "http";
286
- mutualTLS: "mutualTLS";
287
- oauth2: "oauth2";
288
- openIdConnect: "openIdConnect";
289
- }>;
290
- flows: z.ZodObject<{
291
- authorizationCode: z.ZodOptional<z.ZodObject<{
292
- authorizationUrl: z.ZodURL;
293
- tokenUrl: z.ZodURL;
294
- refreshUrl: z.ZodOptional<z.ZodURL>;
295
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
296
- }, z.core.$strip>>;
297
- clientCredentials: z.ZodOptional<z.ZodObject<{
298
- tokenUrl: z.ZodURL;
299
- refreshUrl: z.ZodOptional<z.ZodURL>;
300
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
301
- }, z.core.$strip>>;
302
- implicit: z.ZodOptional<z.ZodObject<{
303
- authorizationUrl: z.ZodURL;
304
- refreshUrl: z.ZodOptional<z.ZodURL>;
305
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
306
- }, z.core.$strip>>;
307
- password: z.ZodOptional<z.ZodObject<{
308
- tokenUrl: z.ZodURL;
309
- refreshUrl: z.ZodOptional<z.ZodURL>;
310
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
311
- }, z.core.$strip>>;
312
- }, z.core.$strip>;
313
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
314
- }, z.core.$strip>, z.ZodObject<{
315
- description: z.ZodOptional<z.ZodString>;
316
- type: z.ZodEnum<{
317
- apiKey: "apiKey";
318
- http: "http";
319
- mutualTLS: "mutualTLS";
320
- oauth2: "oauth2";
321
- openIdConnect: "openIdConnect";
322
- }>;
323
- openIdConnectUrl: z.ZodString;
324
- }, z.core.$strip>, z.ZodObject<{
325
- description: z.ZodOptional<z.ZodString>;
326
- type: z.ZodEnum<{
327
- apiKey: "apiKey";
328
- http: "http";
329
- mutualTLS: "mutualTLS";
330
- oauth2: "oauth2";
331
- openIdConnect: "openIdConnect";
332
- }>;
333
- }, z.core.$strip>]>>>;
334
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
335
- defaultInputModes: z.ZodArray<z.ZodString>;
336
- defaultOutputModes: z.ZodArray<z.ZodString>;
337
- skills: z.ZodArray<z.ZodObject<{
338
- id: z.ZodString;
339
- name: z.ZodString;
340
- description: z.ZodString;
341
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
343
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
345
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
346
- }, z.core.$strip>>;
347
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
348
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
349
- protected: z.ZodString;
350
- signature: z.ZodString;
351
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
352
- }, z.core.$strip>>>;
353
- }, z.core.$strip>;
354
- }, z.core.$strip>;
355
- export type GetAuthenticatedExtendedCardSuccessResponse = z.infer<typeof GetAuthenticatedExtendedCardSuccessResponseSchema>;
356
- /**
357
- * @description Response to a `agent/getAuthenticatedExtendedCard` request.
358
- */
359
- export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
360
- jsonrpc: z.ZodLiteral<"2.0">;
361
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
362
- error: z.ZodOptional<z.ZodNever>;
363
- result: z.ZodObject<{
364
- protocolVersion: z.ZodDefault<z.ZodString>;
365
- name: z.ZodString;
366
- description: z.ZodString;
367
- url: z.ZodURL;
368
- preferredTransport: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
369
- JSONRPC: "JSONRPC";
370
- GRPC: "GRPC";
371
- "HTTP+JSON": "HTTP+JSON";
372
- }>, z.ZodString]>>;
373
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
374
- url: z.ZodURL;
375
- transport: z.ZodUnion<readonly [z.ZodEnum<{
376
- JSONRPC: "JSONRPC";
377
- GRPC: "GRPC";
378
- "HTTP+JSON": "HTTP+JSON";
379
- }>, z.ZodString]>;
380
- }, z.core.$strip>>>;
381
- iconUrl: z.ZodOptional<z.ZodURL>;
382
- provider: z.ZodOptional<z.ZodObject<{
383
- organization: z.ZodString;
384
- url: z.ZodURL;
385
- }, z.core.$strip>>;
386
- version: z.ZodString;
387
- documentationUrl: z.ZodOptional<z.ZodURL>;
388
- capabilities: z.ZodObject<{
389
- streaming: z.ZodOptional<z.ZodBoolean>;
390
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
391
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
392
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
- uri: z.ZodString;
394
- description: z.ZodOptional<z.ZodString>;
395
- required: z.ZodOptional<z.ZodBoolean>;
396
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
397
- }, z.core.$strip>>>;
398
- }, z.core.$strip>;
399
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
400
- description: z.ZodOptional<z.ZodString>;
401
- type: z.ZodEnum<{
402
- apiKey: "apiKey";
403
- http: "http";
404
- mutualTLS: "mutualTLS";
405
- oauth2: "oauth2";
406
- openIdConnect: "openIdConnect";
407
- }>;
408
- in: z.ZodEnum<{
409
- query: "query";
410
- header: "header";
411
- cookie: "cookie";
412
- }>;
413
- name: z.ZodString;
414
- }, z.core.$strip>, z.ZodObject<{
415
- description: z.ZodOptional<z.ZodString>;
416
- type: z.ZodEnum<{
417
- apiKey: "apiKey";
418
- http: "http";
419
- mutualTLS: "mutualTLS";
420
- oauth2: "oauth2";
421
- openIdConnect: "openIdConnect";
422
- }>;
423
- scheme: z.ZodString;
424
- bearerFormat: z.ZodOptional<z.ZodString>;
425
- }, z.core.$strip>, z.ZodObject<{
426
- description: z.ZodOptional<z.ZodString>;
427
- type: z.ZodEnum<{
428
- apiKey: "apiKey";
429
- http: "http";
430
- mutualTLS: "mutualTLS";
431
- oauth2: "oauth2";
432
- openIdConnect: "openIdConnect";
433
- }>;
434
- flows: z.ZodObject<{
435
- authorizationCode: z.ZodOptional<z.ZodObject<{
436
- authorizationUrl: z.ZodURL;
437
- tokenUrl: z.ZodURL;
438
- refreshUrl: z.ZodOptional<z.ZodURL>;
439
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
440
- }, z.core.$strip>>;
441
- clientCredentials: z.ZodOptional<z.ZodObject<{
442
- tokenUrl: z.ZodURL;
443
- refreshUrl: z.ZodOptional<z.ZodURL>;
444
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
445
- }, z.core.$strip>>;
446
- implicit: z.ZodOptional<z.ZodObject<{
447
- authorizationUrl: z.ZodURL;
448
- refreshUrl: z.ZodOptional<z.ZodURL>;
449
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
450
- }, z.core.$strip>>;
451
- password: z.ZodOptional<z.ZodObject<{
452
- tokenUrl: z.ZodURL;
453
- refreshUrl: z.ZodOptional<z.ZodURL>;
454
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
455
- }, z.core.$strip>>;
456
- }, z.core.$strip>;
457
- oauth2MetadataUrl: z.ZodOptional<z.ZodURL>;
458
- }, z.core.$strip>, z.ZodObject<{
459
- description: z.ZodOptional<z.ZodString>;
460
- type: z.ZodEnum<{
461
- apiKey: "apiKey";
462
- http: "http";
463
- mutualTLS: "mutualTLS";
464
- oauth2: "oauth2";
465
- openIdConnect: "openIdConnect";
466
- }>;
467
- openIdConnectUrl: z.ZodString;
468
- }, z.core.$strip>, z.ZodObject<{
469
- description: z.ZodOptional<z.ZodString>;
470
- type: z.ZodEnum<{
471
- apiKey: "apiKey";
472
- http: "http";
473
- mutualTLS: "mutualTLS";
474
- oauth2: "oauth2";
475
- openIdConnect: "openIdConnect";
476
- }>;
477
- }, z.core.$strip>]>>>;
478
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
479
- defaultInputModes: z.ZodArray<z.ZodString>;
480
- defaultOutputModes: z.ZodArray<z.ZodString>;
481
- skills: z.ZodArray<z.ZodObject<{
482
- id: z.ZodString;
483
- name: z.ZodString;
484
- description: z.ZodString;
485
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
486
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
487
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
488
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
489
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
490
- }, z.core.$strip>>;
491
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
492
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
493
- protected: z.ZodString;
494
- signature: z.ZodString;
495
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
496
- }, z.core.$strip>>>;
497
- }, z.core.$strip>;
498
- }, z.core.$strip>, z.ZodObject<{
499
- jsonrpc: z.ZodLiteral<"2.0">;
500
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
501
- result: z.ZodOptional<z.ZodNever>;
502
- error: z.ZodObject<{
503
- code: z.ZodNumber;
504
- message: z.ZodString;
505
- data: z.ZodOptional<z.ZodUnknown>;
506
- }, z.core.$strip>;
507
- }, z.core.$strip>]>;
508
- export type GetAuthenticatedExtendedCardResponse = z.infer<typeof GetAuthenticatedExtendedCardResponseSchema>;
509
- //# sourceMappingURL=agent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/a2a/agent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAS3B;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;iBAc4B,CAAC;AAE7D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;iBAiCkC,CAAC;AAEpE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;iBAsC+B,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;iBA2DiC,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;iBAwBU,CAAC;AAEhD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgJzB,CAAC;AAEJ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,yCAAyC;;;;;iBAWnD,CAAC;AACJ,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ3D,CAAC;AACJ,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC/D,OAAO,iDAAiD,CACzD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKmB,CAAC;AAC3E,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,0CAA0C,CAClD,CAAC"}