@artinet/sdk 0.5.7 → 0.5.9

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 (408) hide show
  1. package/README.md +27 -214
  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 +3 -3
  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 +2 -2
  13. package/dist/services/a2a/factory/builder.d.ts.map +1 -0
  14. package/dist/services/a2a/factory/builder.js +5 -5
  15. package/dist/services/a2a/factory/builder.js.map +1 -1
  16. package/dist/services/a2a/factory/context.d.ts.map +1 -0
  17. package/dist/services/a2a/factory/event.d.ts.map +1 -0
  18. package/dist/services/a2a/factory/event.js +1 -1
  19. package/dist/services/a2a/factory/event.js.map +1 -1
  20. package/dist/services/a2a/factory/index.d.ts.map +1 -0
  21. package/dist/services/a2a/factory/method.d.ts.map +1 -0
  22. package/dist/services/a2a/factory/service.d.ts.map +1 -0
  23. package/dist/services/a2a/helpers/index.d.ts.map +1 -0
  24. package/dist/services/a2a/helpers/part.d.ts.map +1 -0
  25. package/dist/services/a2a/index.d.ts.map +1 -0
  26. package/dist/services/a2a/managers/cancellation.d.ts.map +1 -0
  27. package/dist/services/a2a/managers/connection.d.ts.map +1 -0
  28. package/dist/services/a2a/managers/context.d.ts.map +1 -0
  29. package/dist/services/a2a/managers/index.d.ts.map +1 -0
  30. package/dist/services/a2a/managers/task.d.ts.map +1 -0
  31. package/dist/services/a2a/methods/cancel-task.d.ts.map +1 -0
  32. package/dist/{types/services → services}/a2a/methods/get-task.d.ts +9 -9
  33. package/dist/services/a2a/methods/get-task.d.ts.map +1 -0
  34. package/dist/services/a2a/methods/index.d.ts.map +1 -0
  35. package/dist/services/a2a/methods/resubscribe-task.d.ts.map +1 -0
  36. package/dist/services/a2a/methods/send-message.d.ts.map +1 -0
  37. package/dist/services/a2a/methods/stream-message.d.ts.map +1 -0
  38. package/dist/services/a2a/methods/stream-message.js +0 -17
  39. package/dist/services/a2a/methods/stream-message.js.map +1 -1
  40. package/dist/{types/services → services}/a2a/service.d.ts +29 -29
  41. package/dist/services/a2a/service.d.ts.map +1 -0
  42. package/dist/services/a2a/state/index.d.ts.map +1 -0
  43. package/dist/services/a2a/state/load.d.ts.map +1 -0
  44. package/dist/services/a2a/state/process.d.ts.map +1 -0
  45. package/dist/services/a2a/state/update/artifact.d.ts.map +1 -0
  46. package/dist/services/a2a/state/update/index.d.ts.map +1 -0
  47. package/dist/services/a2a/state/update/update.d.ts.map +1 -0
  48. package/dist/services/core/execution/execute.d.ts.map +1 -0
  49. package/dist/services/core/execution/index.d.ts.map +1 -0
  50. package/dist/services/core/index.d.ts.map +1 -0
  51. package/dist/services/core/managers/command.d.ts.map +1 -0
  52. package/dist/services/core/managers/event.d.ts.map +1 -0
  53. package/dist/services/core/managers/index.d.ts.map +1 -0
  54. package/dist/services/core/managers/stream.d.ts.map +1 -0
  55. package/dist/services/index.d.ts.map +1 -0
  56. package/dist/services/mcp/index.d.ts.map +1 -0
  57. package/dist/services/mcp/service.d.ts.map +1 -0
  58. package/dist/transport/index.d.ts.map +1 -0
  59. package/dist/transport/rpc/parser.d.ts.map +1 -0
  60. package/dist/transport/rpc/rpc-client.d.ts.map +1 -0
  61. package/dist/transport/streaming/event-stream.d.ts.map +1 -0
  62. package/dist/transport/trpc/a2a/factory/index.d.ts.map +1 -0
  63. package/dist/{types/transport → transport}/trpc/a2a/factory/router.d.ts +176 -176
  64. package/dist/{types/transport → transport}/trpc/a2a/factory/router.d.ts.map +1 -1
  65. package/dist/transport/trpc/a2a/index.d.ts.map +1 -0
  66. package/dist/transport/trpc/a2a/routes/index.d.ts.map +1 -0
  67. package/dist/{types/transport → transport}/trpc/a2a/routes/info.d.ts +7 -7
  68. package/dist/transport/trpc/a2a/routes/info.d.ts.map +1 -0
  69. package/dist/transport/trpc/a2a/routes/message/index.d.ts.map +1 -0
  70. package/dist/{types/transport → transport}/trpc/a2a/routes/message/route.d.ts +41 -41
  71. package/dist/{types/transport → transport}/trpc/a2a/routes/message/route.d.ts.map +1 -1
  72. package/dist/transport/trpc/a2a/routes/tasks/index.d.ts.map +1 -0
  73. package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/route.d.ts +38 -38
  74. package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/route.d.ts.map +1 -1
  75. package/dist/{types/transport → transport}/trpc/a2a/trpc.d.ts +10 -10
  76. package/dist/transport/trpc/a2a/trpc.d.ts.map +1 -0
  77. package/dist/transport/trpc/index.d.ts.map +1 -0
  78. package/dist/types/ext.d.ts.map +1 -0
  79. package/dist/types/index.d.ts +3 -5
  80. package/dist/types/index.d.ts.map +1 -1
  81. package/dist/types/interfaces/client.d.ts.map +1 -0
  82. package/dist/types/interfaces/index.d.ts.map +1 -0
  83. package/dist/types/interfaces/services/a2a/builder.d.ts.map +1 -0
  84. package/dist/types/interfaces/services/a2a/context.d.ts.map +1 -0
  85. package/dist/types/interfaces/services/a2a/engine.d.ts.map +1 -0
  86. package/dist/types/interfaces/services/a2a/index.d.ts.map +1 -0
  87. package/dist/types/{types/interfaces → interfaces}/services/a2a/legacy.d.ts +1 -0
  88. package/dist/types/interfaces/services/a2a/legacy.d.ts.map +1 -0
  89. package/dist/types/{types/interfaces → interfaces}/services/a2a/service.d.ts +3 -3
  90. package/dist/types/interfaces/services/a2a/service.d.ts.map +1 -0
  91. package/dist/types/interfaces/services/core/context/command.d.ts.map +1 -0
  92. package/dist/types/interfaces/services/core/context/context.d.ts.map +1 -0
  93. package/dist/types/interfaces/services/core/context/index.d.ts.map +1 -0
  94. package/dist/types/interfaces/services/core/context/types.d.ts.map +1 -0
  95. package/dist/types/interfaces/services/core/execution/engine.d.ts.map +1 -0
  96. package/dist/types/interfaces/services/core/execution/environment.d.ts.map +1 -0
  97. package/dist/types/interfaces/services/core/execution/execute.d.ts.map +1 -0
  98. package/dist/types/interfaces/services/core/execution/index.d.ts.map +1 -0
  99. package/dist/types/interfaces/services/core/index.d.ts.map +1 -0
  100. package/dist/types/interfaces/services/core/managers/cancellation.d.ts.map +1 -0
  101. package/dist/types/interfaces/services/core/managers/connection.d.ts.map +1 -0
  102. package/dist/types/interfaces/services/core/managers/context.d.ts.map +1 -0
  103. package/dist/types/interfaces/services/core/managers/event.d.ts.map +1 -0
  104. package/dist/types/interfaces/services/core/managers/index.d.ts.map +1 -0
  105. package/dist/types/interfaces/services/core/managers/stream.d.ts.map +1 -0
  106. package/dist/types/interfaces/services/core/managers/task.d.ts.map +1 -0
  107. package/dist/types/interfaces/services/core/service.d.ts.map +1 -0
  108. package/dist/types/interfaces/services/index.d.ts.map +1 -0
  109. package/dist/types/interfaces/services/mcp/index.d.ts.map +1 -0
  110. package/dist/types/interfaces/services/mcp/service.d.ts.map +1 -0
  111. package/dist/types/interfaces/services/protocol.d.ts.map +1 -0
  112. package/dist/types/interfaces/storage.d.ts.map +1 -0
  113. package/dist/types/{types/schemas → schemas}/a2a/agent.d.ts +133 -133
  114. package/dist/types/schemas/a2a/agent.d.ts.map +1 -0
  115. package/dist/types/{types/schemas → schemas}/a2a/auth.d.ts +8 -8
  116. package/dist/types/schemas/a2a/auth.d.ts.map +1 -0
  117. package/dist/types/{types/schemas → schemas}/a2a/error.d.ts +24 -24
  118. package/dist/types/schemas/a2a/error.d.ts.map +1 -0
  119. package/dist/types/schemas/a2a/index.d.ts.map +1 -0
  120. package/dist/types/schemas/a2a/kind.d.ts.map +1 -0
  121. package/dist/types/{types/schemas → schemas}/a2a/message.d.ts +1204 -1204
  122. package/dist/types/{types/schemas → schemas}/a2a/message.d.ts.map +1 -1
  123. package/dist/types/{types/schemas → schemas}/a2a/notification.d.ts +52 -52
  124. package/dist/types/schemas/a2a/notification.d.ts.map +1 -0
  125. package/dist/types/{types/schemas → schemas}/a2a/parameters.d.ts +60 -60
  126. package/dist/types/schemas/a2a/parameters.d.ts.map +1 -0
  127. package/dist/types/{types/schemas → schemas}/a2a/protocol.d.ts +1615 -1615
  128. package/dist/types/{types/schemas → schemas}/a2a/protocol.d.ts.map +1 -1
  129. package/dist/types/{types/schemas → schemas}/a2a/rpc.d.ts +12 -12
  130. package/dist/types/schemas/a2a/rpc.d.ts.map +1 -0
  131. package/dist/types/{types/schemas → schemas}/a2a/task.d.ts +725 -725
  132. package/dist/types/{types/schemas → schemas}/a2a/task.d.ts.map +1 -1
  133. package/dist/types/schemas/a2a/transport.d.ts.map +1 -0
  134. package/dist/types/schemas/index.d.ts.map +1 -0
  135. package/dist/types/schemas/index.js +0 -1
  136. package/dist/types/schemas/index.js.map +1 -1
  137. package/dist/types/utils/index.d.ts +1 -8
  138. package/dist/types/utils/index.d.ts.map +1 -1
  139. package/dist/types/utils/transform.d.ts.map +1 -0
  140. package/dist/utils/common/constants.d.ts.map +1 -0
  141. package/dist/utils/common/errors.d.ts.map +1 -0
  142. package/dist/utils/common/utils.d.ts.map +1 -0
  143. package/dist/utils/common/zAsyncIterable-v3.d.ts.map +1 -0
  144. package/dist/utils/common/zAsyncIterable.d.ts.map +1 -0
  145. package/dist/utils/index.d.ts +12 -0
  146. package/dist/utils/index.d.ts.map +1 -0
  147. package/dist/utils/index.js +4 -7
  148. package/dist/utils/index.js.map +1 -1
  149. package/dist/utils/logging/index.d.ts.map +1 -0
  150. package/dist/utils/logging/log.d.ts.map +1 -0
  151. package/dist/utils/logging/log.js +15 -1
  152. package/dist/utils/logging/log.js.map +1 -1
  153. package/dist/utils/logging/logger.d.ts +19 -0
  154. package/dist/utils/logging/logger.d.ts.map +1 -0
  155. package/dist/utils/logging/logger.js +5 -37
  156. package/dist/utils/logging/logger.js.map +1 -1
  157. package/dist/{types/utils → utils}/storage/file.d.ts +1 -1
  158. package/dist/utils/storage/file.d.ts.map +1 -0
  159. package/dist/utils/storage/file.js +5 -4
  160. package/dist/utils/storage/file.js.map +1 -1
  161. package/dist/utils/storage/memory.d.ts.map +1 -0
  162. package/package.json +22 -29
  163. package/CHANGELOG.md +0 -298
  164. package/dist/types/client/a2a-client.d.ts.map +0 -1
  165. package/dist/types/client/index.d.ts.map +0 -1
  166. package/dist/types/schemas/deployment/index.js +0 -3
  167. package/dist/types/schemas/deployment/index.js.map +0 -1
  168. package/dist/types/schemas/deployment/proxy.js +0 -6
  169. package/dist/types/schemas/deployment/proxy.js.map +0 -1
  170. package/dist/types/schemas/deployment/request.js +0 -88
  171. package/dist/types/schemas/deployment/request.js.map +0 -1
  172. package/dist/types/server/express/errors.d.ts.map +0 -1
  173. package/dist/types/server/express/index.d.ts.map +0 -1
  174. package/dist/types/server/express/middeware.d.ts.map +0 -1
  175. package/dist/types/server/express/server.d.ts.map +0 -1
  176. package/dist/types/server/index.d.ts.map +0 -1
  177. package/dist/types/services/a2a/factory/builder.d.ts.map +0 -1
  178. package/dist/types/services/a2a/factory/context.d.ts.map +0 -1
  179. package/dist/types/services/a2a/factory/event.d.ts.map +0 -1
  180. package/dist/types/services/a2a/factory/index.d.ts.map +0 -1
  181. package/dist/types/services/a2a/factory/method.d.ts.map +0 -1
  182. package/dist/types/services/a2a/factory/service.d.ts.map +0 -1
  183. package/dist/types/services/a2a/helpers/index.d.ts.map +0 -1
  184. package/dist/types/services/a2a/helpers/part.d.ts.map +0 -1
  185. package/dist/types/services/a2a/index.d.ts.map +0 -1
  186. package/dist/types/services/a2a/managers/cancellation.d.ts.map +0 -1
  187. package/dist/types/services/a2a/managers/connection.d.ts.map +0 -1
  188. package/dist/types/services/a2a/managers/context.d.ts.map +0 -1
  189. package/dist/types/services/a2a/managers/index.d.ts.map +0 -1
  190. package/dist/types/services/a2a/managers/task.d.ts.map +0 -1
  191. package/dist/types/services/a2a/methods/cancel-task.d.ts.map +0 -1
  192. package/dist/types/services/a2a/methods/get-task.d.ts.map +0 -1
  193. package/dist/types/services/a2a/methods/index.d.ts.map +0 -1
  194. package/dist/types/services/a2a/methods/resubscribe-task.d.ts.map +0 -1
  195. package/dist/types/services/a2a/methods/send-message.d.ts.map +0 -1
  196. package/dist/types/services/a2a/methods/stream-message.d.ts.map +0 -1
  197. package/dist/types/services/a2a/service.d.ts.map +0 -1
  198. package/dist/types/services/a2a/state/index.d.ts.map +0 -1
  199. package/dist/types/services/a2a/state/load.d.ts.map +0 -1
  200. package/dist/types/services/a2a/state/process.d.ts.map +0 -1
  201. package/dist/types/services/a2a/state/update/artifact.d.ts.map +0 -1
  202. package/dist/types/services/a2a/state/update/index.d.ts.map +0 -1
  203. package/dist/types/services/a2a/state/update/update.d.ts.map +0 -1
  204. package/dist/types/services/core/execution/execute.d.ts.map +0 -1
  205. package/dist/types/services/core/execution/index.d.ts.map +0 -1
  206. package/dist/types/services/core/index.d.ts.map +0 -1
  207. package/dist/types/services/core/managers/command.d.ts.map +0 -1
  208. package/dist/types/services/core/managers/event.d.ts.map +0 -1
  209. package/dist/types/services/core/managers/index.d.ts.map +0 -1
  210. package/dist/types/services/core/managers/stream.d.ts.map +0 -1
  211. package/dist/types/services/index.d.ts.map +0 -1
  212. package/dist/types/services/mcp/index.d.ts.map +0 -1
  213. package/dist/types/services/mcp/service.d.ts.map +0 -1
  214. package/dist/types/transport/index.d.ts.map +0 -1
  215. package/dist/types/transport/rpc/parser.d.ts.map +0 -1
  216. package/dist/types/transport/rpc/rpc-client.d.ts.map +0 -1
  217. package/dist/types/transport/streaming/event-stream.d.ts.map +0 -1
  218. package/dist/types/transport/trpc/a2a/factory/index.d.ts.map +0 -1
  219. package/dist/types/transport/trpc/a2a/index.d.ts.map +0 -1
  220. package/dist/types/transport/trpc/a2a/routes/index.d.ts.map +0 -1
  221. package/dist/types/transport/trpc/a2a/routes/info.d.ts.map +0 -1
  222. package/dist/types/transport/trpc/a2a/routes/message/index.d.ts.map +0 -1
  223. package/dist/types/transport/trpc/a2a/routes/tasks/index.d.ts.map +0 -1
  224. package/dist/types/transport/trpc/a2a/trpc.d.ts.map +0 -1
  225. package/dist/types/transport/trpc/index.d.ts.map +0 -1
  226. package/dist/types/types/ext.d.ts.map +0 -1
  227. package/dist/types/types/index.d.ts +0 -5
  228. package/dist/types/types/index.d.ts.map +0 -1
  229. package/dist/types/types/interfaces/client.d.ts.map +0 -1
  230. package/dist/types/types/interfaces/index.d.ts.map +0 -1
  231. package/dist/types/types/interfaces/services/a2a/builder.d.ts.map +0 -1
  232. package/dist/types/types/interfaces/services/a2a/context.d.ts.map +0 -1
  233. package/dist/types/types/interfaces/services/a2a/engine.d.ts.map +0 -1
  234. package/dist/types/types/interfaces/services/a2a/index.d.ts.map +0 -1
  235. package/dist/types/types/interfaces/services/a2a/legacy.d.ts.map +0 -1
  236. package/dist/types/types/interfaces/services/a2a/service.d.ts.map +0 -1
  237. package/dist/types/types/interfaces/services/core/context/command.d.ts.map +0 -1
  238. package/dist/types/types/interfaces/services/core/context/context.d.ts.map +0 -1
  239. package/dist/types/types/interfaces/services/core/context/index.d.ts.map +0 -1
  240. package/dist/types/types/interfaces/services/core/context/types.d.ts.map +0 -1
  241. package/dist/types/types/interfaces/services/core/execution/engine.d.ts.map +0 -1
  242. package/dist/types/types/interfaces/services/core/execution/environment.d.ts.map +0 -1
  243. package/dist/types/types/interfaces/services/core/execution/execute.d.ts.map +0 -1
  244. package/dist/types/types/interfaces/services/core/execution/index.d.ts.map +0 -1
  245. package/dist/types/types/interfaces/services/core/index.d.ts.map +0 -1
  246. package/dist/types/types/interfaces/services/core/managers/cancellation.d.ts.map +0 -1
  247. package/dist/types/types/interfaces/services/core/managers/connection.d.ts.map +0 -1
  248. package/dist/types/types/interfaces/services/core/managers/context.d.ts.map +0 -1
  249. package/dist/types/types/interfaces/services/core/managers/event.d.ts.map +0 -1
  250. package/dist/types/types/interfaces/services/core/managers/index.d.ts.map +0 -1
  251. package/dist/types/types/interfaces/services/core/managers/stream.d.ts.map +0 -1
  252. package/dist/types/types/interfaces/services/core/managers/task.d.ts.map +0 -1
  253. package/dist/types/types/interfaces/services/core/service.d.ts.map +0 -1
  254. package/dist/types/types/interfaces/services/index.d.ts.map +0 -1
  255. package/dist/types/types/interfaces/services/mcp/index.d.ts.map +0 -1
  256. package/dist/types/types/interfaces/services/mcp/service.d.ts.map +0 -1
  257. package/dist/types/types/interfaces/services/protocol.d.ts.map +0 -1
  258. package/dist/types/types/interfaces/storage.d.ts.map +0 -1
  259. package/dist/types/types/schemas/a2a/agent.d.ts.map +0 -1
  260. package/dist/types/types/schemas/a2a/auth.d.ts.map +0 -1
  261. package/dist/types/types/schemas/a2a/error.d.ts.map +0 -1
  262. package/dist/types/types/schemas/a2a/index.d.ts.map +0 -1
  263. package/dist/types/types/schemas/a2a/kind.d.ts.map +0 -1
  264. package/dist/types/types/schemas/a2a/notification.d.ts.map +0 -1
  265. package/dist/types/types/schemas/a2a/parameters.d.ts.map +0 -1
  266. package/dist/types/types/schemas/a2a/rpc.d.ts.map +0 -1
  267. package/dist/types/types/schemas/a2a/transport.d.ts.map +0 -1
  268. package/dist/types/types/schemas/deployment/index.d.ts +0 -3
  269. package/dist/types/types/schemas/deployment/index.d.ts.map +0 -1
  270. package/dist/types/types/schemas/deployment/proxy.d.ts +0 -96
  271. package/dist/types/types/schemas/deployment/proxy.d.ts.map +0 -1
  272. package/dist/types/types/schemas/deployment/request.d.ts +0 -2848
  273. package/dist/types/types/schemas/deployment/request.d.ts.map +0 -1
  274. package/dist/types/types/schemas/index.d.ts.map +0 -1
  275. package/dist/types/types/utils/index.d.ts +0 -2
  276. package/dist/types/types/utils/index.d.ts.map +0 -1
  277. package/dist/types/types/utils/transform.d.ts.map +0 -1
  278. package/dist/types/utils/api/register.d.ts +0 -29
  279. package/dist/types/utils/api/register.d.ts.map +0 -1
  280. package/dist/types/utils/common/constants.d.ts.map +0 -1
  281. package/dist/types/utils/common/errors.d.ts.map +0 -1
  282. package/dist/types/utils/common/utils.d.ts.map +0 -1
  283. package/dist/types/utils/common/zAsyncIterable-v3.d.ts.map +0 -1
  284. package/dist/types/utils/common/zAsyncIterable.d.ts.map +0 -1
  285. package/dist/types/utils/deployment/agents.d.ts +0 -57
  286. package/dist/types/utils/deployment/agents.d.ts.map +0 -1
  287. package/dist/types/utils/deployment/bundler.d.ts +0 -15
  288. package/dist/types/utils/deployment/bundler.d.ts.map +0 -1
  289. package/dist/types/utils/deployment/full-deployment.d.ts +0 -18
  290. package/dist/types/utils/deployment/full-deployment.d.ts.map +0 -1
  291. package/dist/types/utils/deployment/index.d.ts +0 -5
  292. package/dist/types/utils/deployment/index.d.ts.map +0 -1
  293. package/dist/types/utils/deployment/task-wrapper.d.ts +0 -43
  294. package/dist/types/utils/deployment/task-wrapper.d.ts.map +0 -1
  295. package/dist/types/utils/deployment/test-deployment.d.ts +0 -28
  296. package/dist/types/utils/deployment/test-deployment.d.ts.map +0 -1
  297. package/dist/types/utils/logging/index.d.ts.map +0 -1
  298. package/dist/types/utils/logging/log.d.ts.map +0 -1
  299. package/dist/types/utils/logging/logger.d.ts +0 -20
  300. package/dist/types/utils/logging/logger.d.ts.map +0 -1
  301. package/dist/types/utils/storage/file.d.ts.map +0 -1
  302. package/dist/types/utils/storage/memory.d.ts.map +0 -1
  303. package/dist/utils/api/register.js +0 -107
  304. package/dist/utils/api/register.js.map +0 -1
  305. package/dist/utils/deployment/agents.js +0 -96
  306. package/dist/utils/deployment/agents.js.map +0 -1
  307. package/dist/utils/deployment/bundler.js +0 -52
  308. package/dist/utils/deployment/bundler.js.map +0 -1
  309. package/dist/utils/deployment/full-deployment.js +0 -35
  310. package/dist/utils/deployment/full-deployment.js.map +0 -1
  311. package/dist/utils/deployment/index.js +0 -5
  312. package/dist/utils/deployment/index.js.map +0 -1
  313. package/dist/utils/deployment/task-wrapper.js +0 -44
  314. package/dist/utils/deployment/task-wrapper.js.map +0 -1
  315. package/dist/utils/deployment/test-deployment.js +0 -69
  316. package/dist/utils/deployment/test-deployment.js.map +0 -1
  317. /package/dist/{types/client → client}/a2a-client.d.ts +0 -0
  318. /package/dist/{types/client → client}/index.d.ts +0 -0
  319. /package/dist/{types/server → server}/express/errors.d.ts +0 -0
  320. /package/dist/{types/server → server}/express/index.d.ts +0 -0
  321. /package/dist/{types/server → server}/express/middeware.d.ts +0 -0
  322. /package/dist/{types/server → server}/index.d.ts +0 -0
  323. /package/dist/{types/services → services}/a2a/factory/context.d.ts +0 -0
  324. /package/dist/{types/services → services}/a2a/factory/event.d.ts +0 -0
  325. /package/dist/{types/services → services}/a2a/factory/index.d.ts +0 -0
  326. /package/dist/{types/services → services}/a2a/factory/method.d.ts +0 -0
  327. /package/dist/{types/services → services}/a2a/factory/service.d.ts +0 -0
  328. /package/dist/{types/services → services}/a2a/helpers/index.d.ts +0 -0
  329. /package/dist/{types/services → services}/a2a/helpers/part.d.ts +0 -0
  330. /package/dist/{types/services → services}/a2a/index.d.ts +0 -0
  331. /package/dist/{types/services → services}/a2a/managers/cancellation.d.ts +0 -0
  332. /package/dist/{types/services → services}/a2a/managers/connection.d.ts +0 -0
  333. /package/dist/{types/services → services}/a2a/managers/context.d.ts +0 -0
  334. /package/dist/{types/services → services}/a2a/managers/index.d.ts +0 -0
  335. /package/dist/{types/services → services}/a2a/managers/task.d.ts +0 -0
  336. /package/dist/{types/services → services}/a2a/methods/cancel-task.d.ts +0 -0
  337. /package/dist/{types/services → services}/a2a/methods/index.d.ts +0 -0
  338. /package/dist/{types/services → services}/a2a/methods/resubscribe-task.d.ts +0 -0
  339. /package/dist/{types/services → services}/a2a/methods/send-message.d.ts +0 -0
  340. /package/dist/{types/services → services}/a2a/methods/stream-message.d.ts +0 -0
  341. /package/dist/{types/services → services}/a2a/state/index.d.ts +0 -0
  342. /package/dist/{types/services → services}/a2a/state/load.d.ts +0 -0
  343. /package/dist/{types/services → services}/a2a/state/process.d.ts +0 -0
  344. /package/dist/{types/services → services}/a2a/state/update/artifact.d.ts +0 -0
  345. /package/dist/{types/services → services}/a2a/state/update/index.d.ts +0 -0
  346. /package/dist/{types/services → services}/a2a/state/update/update.d.ts +0 -0
  347. /package/dist/{types/services → services}/core/execution/execute.d.ts +0 -0
  348. /package/dist/{types/services → services}/core/execution/index.d.ts +0 -0
  349. /package/dist/{types/services → services}/core/index.d.ts +0 -0
  350. /package/dist/{types/services → services}/core/managers/command.d.ts +0 -0
  351. /package/dist/{types/services → services}/core/managers/event.d.ts +0 -0
  352. /package/dist/{types/services → services}/core/managers/index.d.ts +0 -0
  353. /package/dist/{types/services → services}/core/managers/stream.d.ts +0 -0
  354. /package/dist/{types/services → services}/index.d.ts +0 -0
  355. /package/dist/{types/services → services}/mcp/index.d.ts +0 -0
  356. /package/dist/{types/services → services}/mcp/service.d.ts +0 -0
  357. /package/dist/{types/transport → transport}/index.d.ts +0 -0
  358. /package/dist/{types/transport → transport}/rpc/parser.d.ts +0 -0
  359. /package/dist/{types/transport → transport}/rpc/rpc-client.d.ts +0 -0
  360. /package/dist/{types/transport → transport}/streaming/event-stream.d.ts +0 -0
  361. /package/dist/{types/transport → transport}/trpc/a2a/factory/index.d.ts +0 -0
  362. /package/dist/{types/transport → transport}/trpc/a2a/index.d.ts +0 -0
  363. /package/dist/{types/transport → transport}/trpc/a2a/routes/index.d.ts +0 -0
  364. /package/dist/{types/transport → transport}/trpc/a2a/routes/message/index.d.ts +0 -0
  365. /package/dist/{types/transport → transport}/trpc/a2a/routes/tasks/index.d.ts +0 -0
  366. /package/dist/{types/transport → transport}/trpc/index.d.ts +0 -0
  367. /package/dist/types/{types/ext.d.ts → ext.d.ts} +0 -0
  368. /package/dist/types/{types/interfaces → interfaces}/client.d.ts +0 -0
  369. /package/dist/types/{types/interfaces → interfaces}/index.d.ts +0 -0
  370. /package/dist/types/{types/interfaces → interfaces}/services/a2a/builder.d.ts +0 -0
  371. /package/dist/types/{types/interfaces → interfaces}/services/a2a/context.d.ts +0 -0
  372. /package/dist/types/{types/interfaces → interfaces}/services/a2a/engine.d.ts +0 -0
  373. /package/dist/types/{types/interfaces → interfaces}/services/a2a/index.d.ts +0 -0
  374. /package/dist/types/{types/interfaces → interfaces}/services/core/context/command.d.ts +0 -0
  375. /package/dist/types/{types/interfaces → interfaces}/services/core/context/context.d.ts +0 -0
  376. /package/dist/types/{types/interfaces → interfaces}/services/core/context/index.d.ts +0 -0
  377. /package/dist/types/{types/interfaces → interfaces}/services/core/context/types.d.ts +0 -0
  378. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/engine.d.ts +0 -0
  379. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/environment.d.ts +0 -0
  380. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/execute.d.ts +0 -0
  381. /package/dist/types/{types/interfaces → interfaces}/services/core/execution/index.d.ts +0 -0
  382. /package/dist/types/{types/interfaces → interfaces}/services/core/index.d.ts +0 -0
  383. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/cancellation.d.ts +0 -0
  384. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/connection.d.ts +0 -0
  385. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/context.d.ts +0 -0
  386. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/event.d.ts +0 -0
  387. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/index.d.ts +0 -0
  388. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/stream.d.ts +0 -0
  389. /package/dist/types/{types/interfaces → interfaces}/services/core/managers/task.d.ts +0 -0
  390. /package/dist/types/{types/interfaces → interfaces}/services/core/service.d.ts +0 -0
  391. /package/dist/types/{types/interfaces → interfaces}/services/index.d.ts +0 -0
  392. /package/dist/types/{types/interfaces → interfaces}/services/mcp/index.d.ts +0 -0
  393. /package/dist/types/{types/interfaces → interfaces}/services/mcp/service.d.ts +0 -0
  394. /package/dist/types/{types/interfaces → interfaces}/services/protocol.d.ts +0 -0
  395. /package/dist/types/{types/interfaces → interfaces}/storage.d.ts +0 -0
  396. /package/dist/types/{types/schemas → schemas}/a2a/index.d.ts +0 -0
  397. /package/dist/types/{types/schemas → schemas}/a2a/kind.d.ts +0 -0
  398. /package/dist/types/{types/schemas → schemas}/a2a/transport.d.ts +0 -0
  399. /package/dist/types/{types/schemas → schemas}/index.d.ts +0 -0
  400. /package/dist/types/{types/utils → utils}/transform.d.ts +0 -0
  401. /package/dist/{types/utils → utils}/common/constants.d.ts +0 -0
  402. /package/dist/{types/utils → utils}/common/errors.d.ts +0 -0
  403. /package/dist/{types/utils → utils}/common/utils.d.ts +0 -0
  404. /package/dist/{types/utils → utils}/common/zAsyncIterable-v3.d.ts +0 -0
  405. /package/dist/{types/utils → utils}/common/zAsyncIterable.d.ts +0 -0
  406. /package/dist/{types/utils → utils}/logging/index.d.ts +0 -0
  407. /package/dist/{types/utils → utils}/logging/log.d.ts +0 -0
  408. /package/dist/{types/utils → utils}/storage/memory.d.ts +0 -0
@@ -1,2848 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { z } from "zod";
6
- /**
7
- * @description Represents the parameters for a server deployment request.
8
- */
9
- export declare const ServerDeploymentRequestParamsSchema: z.ZodObject<{
10
- /**
11
- * @required The name of the server
12
- */
13
- name: z.ZodString;
14
- /**
15
- * @required The agent card of the server
16
- */
17
- agentCard: z.ZodObject<{
18
- protocolVersion: z.ZodDefault<z.ZodString>;
19
- name: z.ZodString;
20
- description: z.ZodString;
21
- url: z.ZodString;
22
- preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
23
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
- url: z.ZodString;
25
- transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
26
- }, "strip", z.ZodTypeAny, {
27
- url: string;
28
- transport: string;
29
- }, {
30
- url: string;
31
- transport: string;
32
- }>, "many">>;
33
- iconUrl: z.ZodOptional<z.ZodString>;
34
- provider: z.ZodOptional<z.ZodObject<{
35
- organization: z.ZodString;
36
- url: z.ZodString;
37
- }, "strip", z.ZodTypeAny, {
38
- url: string;
39
- organization: string;
40
- }, {
41
- url: string;
42
- organization: string;
43
- }>>;
44
- version: z.ZodString;
45
- documentationUrl: z.ZodOptional<z.ZodString>;
46
- capabilities: z.ZodObject<{
47
- streaming: z.ZodOptional<z.ZodBoolean>;
48
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
49
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
50
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
- uri: z.ZodString;
52
- description: z.ZodOptional<z.ZodString>;
53
- required: z.ZodOptional<z.ZodBoolean>;
54
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
55
- }, "strip", z.ZodTypeAny, {
56
- uri: string;
57
- params?: Record<string, unknown> | undefined;
58
- description?: string | undefined;
59
- required?: boolean | undefined;
60
- }, {
61
- uri: string;
62
- params?: Record<string, unknown> | undefined;
63
- description?: string | undefined;
64
- required?: boolean | undefined;
65
- }>, "many">>;
66
- }, "strip", z.ZodTypeAny, {
67
- extensions?: {
68
- uri: string;
69
- params?: Record<string, unknown> | undefined;
70
- description?: string | undefined;
71
- required?: boolean | undefined;
72
- }[] | undefined;
73
- streaming?: boolean | undefined;
74
- pushNotifications?: boolean | undefined;
75
- stateTransitionHistory?: boolean | undefined;
76
- }, {
77
- extensions?: {
78
- uri: string;
79
- params?: Record<string, unknown> | undefined;
80
- description?: string | undefined;
81
- required?: boolean | undefined;
82
- }[] | undefined;
83
- streaming?: boolean | undefined;
84
- pushNotifications?: boolean | undefined;
85
- stateTransitionHistory?: boolean | undefined;
86
- }>;
87
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
88
- description: z.ZodOptional<z.ZodString>;
89
- } & {
90
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
91
- in: z.ZodEnum<["query", "header", "cookie"]>;
92
- name: z.ZodString;
93
- }, "strip", z.ZodTypeAny, {
94
- type: "apiKey";
95
- in: "query" | "header" | "cookie";
96
- name: string;
97
- description?: string | undefined;
98
- }, {
99
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
100
- in: "query" | "header" | "cookie";
101
- name: string;
102
- description?: string | undefined;
103
- }>, z.ZodObject<{
104
- description: z.ZodOptional<z.ZodString>;
105
- } & {
106
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
107
- scheme: z.ZodString;
108
- bearerFormat: z.ZodOptional<z.ZodString>;
109
- }, "strip", z.ZodTypeAny, {
110
- type: "http";
111
- scheme: string;
112
- description?: string | undefined;
113
- bearerFormat?: string | undefined;
114
- }, {
115
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
116
- scheme: string;
117
- description?: string | undefined;
118
- bearerFormat?: string | undefined;
119
- }>, z.ZodObject<{
120
- description: z.ZodOptional<z.ZodString>;
121
- } & {
122
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
123
- flows: z.ZodObject<{
124
- authorizationCode: z.ZodOptional<z.ZodObject<{
125
- authorizationUrl: z.ZodString;
126
- tokenUrl: z.ZodString;
127
- refreshUrl: z.ZodOptional<z.ZodString>;
128
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
130
- authorizationUrl: string;
131
- tokenUrl: string;
132
- scopes: Record<string, string>;
133
- refreshUrl?: string | undefined;
134
- }, {
135
- authorizationUrl: string;
136
- tokenUrl: string;
137
- scopes: Record<string, string>;
138
- refreshUrl?: string | undefined;
139
- }>>;
140
- clientCredentials: z.ZodOptional<z.ZodObject<{
141
- tokenUrl: z.ZodString;
142
- refreshUrl: z.ZodOptional<z.ZodString>;
143
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
144
- }, "strip", z.ZodTypeAny, {
145
- tokenUrl: string;
146
- scopes: Record<string, string>;
147
- refreshUrl?: string | undefined;
148
- }, {
149
- tokenUrl: string;
150
- scopes: Record<string, string>;
151
- refreshUrl?: string | undefined;
152
- }>>;
153
- implicit: z.ZodOptional<z.ZodObject<{
154
- authorizationUrl: z.ZodString;
155
- refreshUrl: z.ZodOptional<z.ZodString>;
156
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
157
- }, "strip", z.ZodTypeAny, {
158
- authorizationUrl: string;
159
- scopes: Record<string, string>;
160
- refreshUrl?: string | undefined;
161
- }, {
162
- authorizationUrl: string;
163
- scopes: Record<string, string>;
164
- refreshUrl?: string | undefined;
165
- }>>;
166
- password: z.ZodOptional<z.ZodObject<{
167
- tokenUrl: z.ZodString;
168
- refreshUrl: z.ZodOptional<z.ZodString>;
169
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
170
- }, "strip", z.ZodTypeAny, {
171
- tokenUrl: string;
172
- scopes: Record<string, string>;
173
- refreshUrl?: string | undefined;
174
- }, {
175
- tokenUrl: string;
176
- scopes: Record<string, string>;
177
- refreshUrl?: string | undefined;
178
- }>>;
179
- }, "strip", z.ZodTypeAny, {
180
- authorizationCode?: {
181
- authorizationUrl: string;
182
- tokenUrl: string;
183
- scopes: Record<string, string>;
184
- refreshUrl?: string | undefined;
185
- } | undefined;
186
- clientCredentials?: {
187
- tokenUrl: string;
188
- scopes: Record<string, string>;
189
- refreshUrl?: string | undefined;
190
- } | undefined;
191
- implicit?: {
192
- authorizationUrl: string;
193
- scopes: Record<string, string>;
194
- refreshUrl?: string | undefined;
195
- } | undefined;
196
- password?: {
197
- tokenUrl: string;
198
- scopes: Record<string, string>;
199
- refreshUrl?: string | undefined;
200
- } | undefined;
201
- }, {
202
- authorizationCode?: {
203
- authorizationUrl: string;
204
- tokenUrl: string;
205
- scopes: Record<string, string>;
206
- refreshUrl?: string | undefined;
207
- } | undefined;
208
- clientCredentials?: {
209
- tokenUrl: string;
210
- scopes: Record<string, string>;
211
- refreshUrl?: string | undefined;
212
- } | undefined;
213
- implicit?: {
214
- authorizationUrl: string;
215
- scopes: Record<string, string>;
216
- refreshUrl?: string | undefined;
217
- } | undefined;
218
- password?: {
219
- tokenUrl: string;
220
- scopes: Record<string, string>;
221
- refreshUrl?: string | undefined;
222
- } | undefined;
223
- }>;
224
- oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "oauth2";
227
- flows: {
228
- authorizationCode?: {
229
- authorizationUrl: string;
230
- tokenUrl: string;
231
- scopes: Record<string, string>;
232
- refreshUrl?: string | undefined;
233
- } | undefined;
234
- clientCredentials?: {
235
- tokenUrl: string;
236
- scopes: Record<string, string>;
237
- refreshUrl?: string | undefined;
238
- } | undefined;
239
- implicit?: {
240
- authorizationUrl: string;
241
- scopes: Record<string, string>;
242
- refreshUrl?: string | undefined;
243
- } | undefined;
244
- password?: {
245
- tokenUrl: string;
246
- scopes: Record<string, string>;
247
- refreshUrl?: string | undefined;
248
- } | undefined;
249
- };
250
- description?: string | undefined;
251
- oauth2MetadataUrl?: string | undefined;
252
- }, {
253
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
254
- flows: {
255
- authorizationCode?: {
256
- authorizationUrl: string;
257
- tokenUrl: string;
258
- scopes: Record<string, string>;
259
- refreshUrl?: string | undefined;
260
- } | undefined;
261
- clientCredentials?: {
262
- tokenUrl: string;
263
- scopes: Record<string, string>;
264
- refreshUrl?: string | undefined;
265
- } | undefined;
266
- implicit?: {
267
- authorizationUrl: string;
268
- scopes: Record<string, string>;
269
- refreshUrl?: string | undefined;
270
- } | undefined;
271
- password?: {
272
- tokenUrl: string;
273
- scopes: Record<string, string>;
274
- refreshUrl?: string | undefined;
275
- } | undefined;
276
- };
277
- description?: string | undefined;
278
- oauth2MetadataUrl?: string | undefined;
279
- }>, z.ZodObject<{
280
- description: z.ZodOptional<z.ZodString>;
281
- } & {
282
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
283
- openIdConnectUrl: z.ZodString;
284
- }, "strip", z.ZodTypeAny, {
285
- type: "openIdConnect";
286
- openIdConnectUrl: string;
287
- description?: string | undefined;
288
- }, {
289
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
290
- openIdConnectUrl: string;
291
- description?: string | undefined;
292
- }>, z.ZodObject<{
293
- description: z.ZodOptional<z.ZodString>;
294
- } & {
295
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
296
- }, "strip", z.ZodTypeAny, {
297
- type: "mutualTLS";
298
- description?: string | undefined;
299
- }, {
300
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
301
- description?: string | undefined;
302
- }>]>>>;
303
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
304
- defaultInputModes: z.ZodArray<z.ZodString, "many">;
305
- defaultOutputModes: z.ZodArray<z.ZodString, "many">;
306
- skills: z.ZodArray<z.ZodObject<{
307
- id: z.ZodString;
308
- name: z.ZodString;
309
- description: z.ZodString;
310
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
311
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
312
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
313
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
314
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
315
- }, "strip", z.ZodTypeAny, {
316
- description: string;
317
- name: string;
318
- id: string;
319
- tags?: string[] | undefined;
320
- examples?: string[] | undefined;
321
- inputModes?: string[] | undefined;
322
- outputModes?: string[] | undefined;
323
- security?: Record<string, string[]>[] | undefined;
324
- }, {
325
- description: string;
326
- name: string;
327
- id: string;
328
- tags?: string[] | undefined;
329
- examples?: string[] | undefined;
330
- inputModes?: string[] | undefined;
331
- outputModes?: string[] | undefined;
332
- security?: Record<string, string[]>[] | undefined;
333
- }>, "many">;
334
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
335
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
- protected: z.ZodString;
337
- signature: z.ZodString;
338
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
339
- }, "strip", z.ZodTypeAny, {
340
- protected: string;
341
- signature: string;
342
- header?: Record<string, unknown> | undefined;
343
- }, {
344
- protected: string;
345
- signature: string;
346
- header?: Record<string, unknown> | undefined;
347
- }>, "many">>;
348
- }, "strip", z.ZodTypeAny, {
349
- description: string;
350
- name: string;
351
- url: string;
352
- protocolVersion: string;
353
- version: string;
354
- capabilities: {
355
- extensions?: {
356
- uri: string;
357
- params?: Record<string, unknown> | undefined;
358
- description?: string | undefined;
359
- required?: boolean | undefined;
360
- }[] | undefined;
361
- streaming?: boolean | undefined;
362
- pushNotifications?: boolean | undefined;
363
- stateTransitionHistory?: boolean | undefined;
364
- };
365
- defaultInputModes: string[];
366
- defaultOutputModes: string[];
367
- skills: {
368
- description: string;
369
- name: string;
370
- id: string;
371
- tags?: string[] | undefined;
372
- examples?: string[] | undefined;
373
- inputModes?: string[] | undefined;
374
- outputModes?: string[] | undefined;
375
- security?: Record<string, string[]>[] | undefined;
376
- }[];
377
- security?: Record<string, string[]>[] | undefined;
378
- preferredTransport?: string | undefined;
379
- additionalInterfaces?: {
380
- url: string;
381
- transport: string;
382
- }[] | undefined;
383
- iconUrl?: string | undefined;
384
- provider?: {
385
- url: string;
386
- organization: string;
387
- } | undefined;
388
- documentationUrl?: string | undefined;
389
- securitySchemes?: Record<string, {
390
- type: "apiKey";
391
- in: "query" | "header" | "cookie";
392
- name: string;
393
- description?: string | undefined;
394
- } | {
395
- type: "http";
396
- scheme: string;
397
- description?: string | undefined;
398
- bearerFormat?: string | undefined;
399
- } | {
400
- type: "oauth2";
401
- flows: {
402
- authorizationCode?: {
403
- authorizationUrl: string;
404
- tokenUrl: string;
405
- scopes: Record<string, string>;
406
- refreshUrl?: string | undefined;
407
- } | undefined;
408
- clientCredentials?: {
409
- tokenUrl: string;
410
- scopes: Record<string, string>;
411
- refreshUrl?: string | undefined;
412
- } | undefined;
413
- implicit?: {
414
- authorizationUrl: string;
415
- scopes: Record<string, string>;
416
- refreshUrl?: string | undefined;
417
- } | undefined;
418
- password?: {
419
- tokenUrl: string;
420
- scopes: Record<string, string>;
421
- refreshUrl?: string | undefined;
422
- } | undefined;
423
- };
424
- description?: string | undefined;
425
- oauth2MetadataUrl?: string | undefined;
426
- } | {
427
- type: "openIdConnect";
428
- openIdConnectUrl: string;
429
- description?: string | undefined;
430
- } | {
431
- type: "mutualTLS";
432
- description?: string | undefined;
433
- }> | undefined;
434
- supportsAuthenticatedExtendedCard?: boolean | undefined;
435
- signatures?: {
436
- protected: string;
437
- signature: string;
438
- header?: Record<string, unknown> | undefined;
439
- }[] | undefined;
440
- }, {
441
- description: string;
442
- name: string;
443
- url: string;
444
- version: string;
445
- capabilities: {
446
- extensions?: {
447
- uri: string;
448
- params?: Record<string, unknown> | undefined;
449
- description?: string | undefined;
450
- required?: boolean | undefined;
451
- }[] | undefined;
452
- streaming?: boolean | undefined;
453
- pushNotifications?: boolean | undefined;
454
- stateTransitionHistory?: boolean | undefined;
455
- };
456
- defaultInputModes: string[];
457
- defaultOutputModes: string[];
458
- skills: {
459
- description: string;
460
- name: string;
461
- id: string;
462
- tags?: string[] | undefined;
463
- examples?: string[] | undefined;
464
- inputModes?: string[] | undefined;
465
- outputModes?: string[] | undefined;
466
- security?: Record<string, string[]>[] | undefined;
467
- }[];
468
- security?: Record<string, string[]>[] | undefined;
469
- protocolVersion?: string | undefined;
470
- preferredTransport?: string | undefined;
471
- additionalInterfaces?: {
472
- url: string;
473
- transport: string;
474
- }[] | undefined;
475
- iconUrl?: string | undefined;
476
- provider?: {
477
- url: string;
478
- organization: string;
479
- } | undefined;
480
- documentationUrl?: string | undefined;
481
- securitySchemes?: Record<string, {
482
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
483
- in: "query" | "header" | "cookie";
484
- name: string;
485
- description?: string | undefined;
486
- } | {
487
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
488
- scheme: string;
489
- description?: string | undefined;
490
- bearerFormat?: string | undefined;
491
- } | {
492
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
493
- flows: {
494
- authorizationCode?: {
495
- authorizationUrl: string;
496
- tokenUrl: string;
497
- scopes: Record<string, string>;
498
- refreshUrl?: string | undefined;
499
- } | undefined;
500
- clientCredentials?: {
501
- tokenUrl: string;
502
- scopes: Record<string, string>;
503
- refreshUrl?: string | undefined;
504
- } | undefined;
505
- implicit?: {
506
- authorizationUrl: string;
507
- scopes: Record<string, string>;
508
- refreshUrl?: string | undefined;
509
- } | undefined;
510
- password?: {
511
- tokenUrl: string;
512
- scopes: Record<string, string>;
513
- refreshUrl?: string | undefined;
514
- } | undefined;
515
- };
516
- description?: string | undefined;
517
- oauth2MetadataUrl?: string | undefined;
518
- } | {
519
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
520
- openIdConnectUrl: string;
521
- description?: string | undefined;
522
- } | {
523
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
524
- description?: string | undefined;
525
- }> | undefined;
526
- supportsAuthenticatedExtendedCard?: boolean | undefined;
527
- signatures?: {
528
- protected: string;
529
- signature: string;
530
- header?: Record<string, unknown> | undefined;
531
- }[] | undefined;
532
- }>;
533
- /**
534
- * @required The minified code of the server
535
- */
536
- code: z.ZodString;
537
- /**
538
- * @optional The NPM dependencies of the server(currently unsupported)
539
- */
540
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
541
- }, "strip", z.ZodTypeAny, {
542
- code: string;
543
- name: string;
544
- agentCard: {
545
- description: string;
546
- name: string;
547
- url: string;
548
- protocolVersion: string;
549
- version: string;
550
- capabilities: {
551
- extensions?: {
552
- uri: string;
553
- params?: Record<string, unknown> | undefined;
554
- description?: string | undefined;
555
- required?: boolean | undefined;
556
- }[] | undefined;
557
- streaming?: boolean | undefined;
558
- pushNotifications?: boolean | undefined;
559
- stateTransitionHistory?: boolean | undefined;
560
- };
561
- defaultInputModes: string[];
562
- defaultOutputModes: string[];
563
- skills: {
564
- description: string;
565
- name: string;
566
- id: string;
567
- tags?: string[] | undefined;
568
- examples?: string[] | undefined;
569
- inputModes?: string[] | undefined;
570
- outputModes?: string[] | undefined;
571
- security?: Record<string, string[]>[] | undefined;
572
- }[];
573
- security?: Record<string, string[]>[] | undefined;
574
- preferredTransport?: string | undefined;
575
- additionalInterfaces?: {
576
- url: string;
577
- transport: string;
578
- }[] | undefined;
579
- iconUrl?: string | undefined;
580
- provider?: {
581
- url: string;
582
- organization: string;
583
- } | undefined;
584
- documentationUrl?: string | undefined;
585
- securitySchemes?: Record<string, {
586
- type: "apiKey";
587
- in: "query" | "header" | "cookie";
588
- name: string;
589
- description?: string | undefined;
590
- } | {
591
- type: "http";
592
- scheme: string;
593
- description?: string | undefined;
594
- bearerFormat?: string | undefined;
595
- } | {
596
- type: "oauth2";
597
- flows: {
598
- authorizationCode?: {
599
- authorizationUrl: string;
600
- tokenUrl: string;
601
- scopes: Record<string, string>;
602
- refreshUrl?: string | undefined;
603
- } | undefined;
604
- clientCredentials?: {
605
- tokenUrl: string;
606
- scopes: Record<string, string>;
607
- refreshUrl?: string | undefined;
608
- } | undefined;
609
- implicit?: {
610
- authorizationUrl: string;
611
- scopes: Record<string, string>;
612
- refreshUrl?: string | undefined;
613
- } | undefined;
614
- password?: {
615
- tokenUrl: string;
616
- scopes: Record<string, string>;
617
- refreshUrl?: string | undefined;
618
- } | undefined;
619
- };
620
- description?: string | undefined;
621
- oauth2MetadataUrl?: string | undefined;
622
- } | {
623
- type: "openIdConnect";
624
- openIdConnectUrl: string;
625
- description?: string | undefined;
626
- } | {
627
- type: "mutualTLS";
628
- description?: string | undefined;
629
- }> | undefined;
630
- supportsAuthenticatedExtendedCard?: boolean | undefined;
631
- signatures?: {
632
- protected: string;
633
- signature: string;
634
- header?: Record<string, unknown> | undefined;
635
- }[] | undefined;
636
- };
637
- dependencies?: string[] | undefined;
638
- }, {
639
- code: string;
640
- name: string;
641
- agentCard: {
642
- description: string;
643
- name: string;
644
- url: string;
645
- version: string;
646
- capabilities: {
647
- extensions?: {
648
- uri: string;
649
- params?: Record<string, unknown> | undefined;
650
- description?: string | undefined;
651
- required?: boolean | undefined;
652
- }[] | undefined;
653
- streaming?: boolean | undefined;
654
- pushNotifications?: boolean | undefined;
655
- stateTransitionHistory?: boolean | undefined;
656
- };
657
- defaultInputModes: string[];
658
- defaultOutputModes: string[];
659
- skills: {
660
- description: string;
661
- name: string;
662
- id: string;
663
- tags?: string[] | undefined;
664
- examples?: string[] | undefined;
665
- inputModes?: string[] | undefined;
666
- outputModes?: string[] | undefined;
667
- security?: Record<string, string[]>[] | undefined;
668
- }[];
669
- security?: Record<string, string[]>[] | undefined;
670
- protocolVersion?: string | undefined;
671
- preferredTransport?: string | undefined;
672
- additionalInterfaces?: {
673
- url: string;
674
- transport: string;
675
- }[] | undefined;
676
- iconUrl?: string | undefined;
677
- provider?: {
678
- url: string;
679
- organization: string;
680
- } | undefined;
681
- documentationUrl?: string | undefined;
682
- securitySchemes?: Record<string, {
683
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
684
- in: "query" | "header" | "cookie";
685
- name: string;
686
- description?: string | undefined;
687
- } | {
688
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
689
- scheme: string;
690
- description?: string | undefined;
691
- bearerFormat?: string | undefined;
692
- } | {
693
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
694
- flows: {
695
- authorizationCode?: {
696
- authorizationUrl: string;
697
- tokenUrl: string;
698
- scopes: Record<string, string>;
699
- refreshUrl?: string | undefined;
700
- } | undefined;
701
- clientCredentials?: {
702
- tokenUrl: string;
703
- scopes: Record<string, string>;
704
- refreshUrl?: string | undefined;
705
- } | undefined;
706
- implicit?: {
707
- authorizationUrl: string;
708
- scopes: Record<string, string>;
709
- refreshUrl?: string | undefined;
710
- } | undefined;
711
- password?: {
712
- tokenUrl: string;
713
- scopes: Record<string, string>;
714
- refreshUrl?: string | undefined;
715
- } | undefined;
716
- };
717
- description?: string | undefined;
718
- oauth2MetadataUrl?: string | undefined;
719
- } | {
720
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
721
- openIdConnectUrl: string;
722
- description?: string | undefined;
723
- } | {
724
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
725
- description?: string | undefined;
726
- }> | undefined;
727
- supportsAuthenticatedExtendedCard?: boolean | undefined;
728
- signatures?: {
729
- protected: string;
730
- signature: string;
731
- header?: Record<string, unknown> | undefined;
732
- }[] | undefined;
733
- };
734
- dependencies?: string[] | undefined;
735
- }>;
736
- export type ServerDeploymentRequestParams = z.infer<typeof ServerDeploymentRequestParamsSchema>;
737
- /**
738
- * @description Represents the base parameters for a server deployment response.
739
- */
740
- export declare const BaseServerDeploymentResponseParamsSchema: z.ZodObject<{
741
- /**
742
- * @required The deployment ID(for full deployments the deployment ID is the same as the agent/registration ID)
743
- */
744
- deploymentId: z.ZodString;
745
- /**
746
- * @required Whether the deployment was successful
747
- */
748
- success: z.ZodBoolean;
749
- }, "strip", z.ZodTypeAny, {
750
- success: boolean;
751
- deploymentId: string;
752
- }, {
753
- success: boolean;
754
- deploymentId: string;
755
- }>;
756
- export type BaseServerDeploymentResponseParams = z.infer<typeof BaseServerDeploymentResponseParamsSchema>;
757
- /**
758
- * @description Represents the parameters for a server deployment success response.
759
- */
760
- export declare const ServerDeploymentSuccessResponseParamsSchema: z.ZodObject<{
761
- /**
762
- * @required The deployment ID(for full deployments the deployment ID is the same as the agent/registration ID)
763
- */
764
- deploymentId: z.ZodString;
765
- /**
766
- * @required Whether the deployment was successful
767
- */
768
- success: z.ZodBoolean;
769
- } & {
770
- /**
771
- * @required The name of the server
772
- */
773
- name: z.ZodString;
774
- /**
775
- * @required The URL of the server
776
- */
777
- url: z.ZodString;
778
- /**
779
- * @required The base path of the server
780
- */
781
- basePath: z.ZodString;
782
- }, "strip", z.ZodTypeAny, {
783
- name: string;
784
- url: string;
785
- success: boolean;
786
- basePath: string;
787
- deploymentId: string;
788
- }, {
789
- name: string;
790
- url: string;
791
- success: boolean;
792
- basePath: string;
793
- deploymentId: string;
794
- }>;
795
- export type ServerDeploymentSuccessResponseParams = z.infer<typeof ServerDeploymentSuccessResponseParamsSchema>;
796
- /**
797
- * @description Represents the request for a server deployment.
798
- */
799
- export declare const ServerDeploymentRequestSchema: z.ZodObject<{
800
- jsonrpc: z.ZodLiteral<"2.0">;
801
- id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
802
- } & {
803
- method: z.ZodLiteral<"/deploy">;
804
- params: z.ZodObject<{
805
- /**
806
- * @required The name of the server
807
- */
808
- name: z.ZodString;
809
- /**
810
- * @required The agent card of the server
811
- */
812
- agentCard: z.ZodObject<{
813
- protocolVersion: z.ZodDefault<z.ZodString>;
814
- name: z.ZodString;
815
- description: z.ZodString;
816
- url: z.ZodString;
817
- preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
818
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
819
- url: z.ZodString;
820
- transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
821
- }, "strip", z.ZodTypeAny, {
822
- url: string;
823
- transport: string;
824
- }, {
825
- url: string;
826
- transport: string;
827
- }>, "many">>;
828
- iconUrl: z.ZodOptional<z.ZodString>;
829
- provider: z.ZodOptional<z.ZodObject<{
830
- organization: z.ZodString;
831
- url: z.ZodString;
832
- }, "strip", z.ZodTypeAny, {
833
- url: string;
834
- organization: string;
835
- }, {
836
- url: string;
837
- organization: string;
838
- }>>;
839
- version: z.ZodString;
840
- documentationUrl: z.ZodOptional<z.ZodString>;
841
- capabilities: z.ZodObject<{
842
- streaming: z.ZodOptional<z.ZodBoolean>;
843
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
844
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
845
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
846
- uri: z.ZodString;
847
- description: z.ZodOptional<z.ZodString>;
848
- required: z.ZodOptional<z.ZodBoolean>;
849
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
850
- }, "strip", z.ZodTypeAny, {
851
- uri: string;
852
- params?: Record<string, unknown> | undefined;
853
- description?: string | undefined;
854
- required?: boolean | undefined;
855
- }, {
856
- uri: string;
857
- params?: Record<string, unknown> | undefined;
858
- description?: string | undefined;
859
- required?: boolean | undefined;
860
- }>, "many">>;
861
- }, "strip", z.ZodTypeAny, {
862
- extensions?: {
863
- uri: string;
864
- params?: Record<string, unknown> | undefined;
865
- description?: string | undefined;
866
- required?: boolean | undefined;
867
- }[] | undefined;
868
- streaming?: boolean | undefined;
869
- pushNotifications?: boolean | undefined;
870
- stateTransitionHistory?: boolean | undefined;
871
- }, {
872
- extensions?: {
873
- uri: string;
874
- params?: Record<string, unknown> | undefined;
875
- description?: string | undefined;
876
- required?: boolean | undefined;
877
- }[] | undefined;
878
- streaming?: boolean | undefined;
879
- pushNotifications?: boolean | undefined;
880
- stateTransitionHistory?: boolean | undefined;
881
- }>;
882
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
883
- description: z.ZodOptional<z.ZodString>;
884
- } & {
885
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
886
- in: z.ZodEnum<["query", "header", "cookie"]>;
887
- name: z.ZodString;
888
- }, "strip", z.ZodTypeAny, {
889
- type: "apiKey";
890
- in: "query" | "header" | "cookie";
891
- name: string;
892
- description?: string | undefined;
893
- }, {
894
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
895
- in: "query" | "header" | "cookie";
896
- name: string;
897
- description?: string | undefined;
898
- }>, z.ZodObject<{
899
- description: z.ZodOptional<z.ZodString>;
900
- } & {
901
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
902
- scheme: z.ZodString;
903
- bearerFormat: z.ZodOptional<z.ZodString>;
904
- }, "strip", z.ZodTypeAny, {
905
- type: "http";
906
- scheme: string;
907
- description?: string | undefined;
908
- bearerFormat?: string | undefined;
909
- }, {
910
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
911
- scheme: string;
912
- description?: string | undefined;
913
- bearerFormat?: string | undefined;
914
- }>, z.ZodObject<{
915
- description: z.ZodOptional<z.ZodString>;
916
- } & {
917
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
918
- flows: z.ZodObject<{
919
- authorizationCode: z.ZodOptional<z.ZodObject<{
920
- authorizationUrl: z.ZodString;
921
- tokenUrl: z.ZodString;
922
- refreshUrl: z.ZodOptional<z.ZodString>;
923
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
924
- }, "strip", z.ZodTypeAny, {
925
- authorizationUrl: string;
926
- tokenUrl: string;
927
- scopes: Record<string, string>;
928
- refreshUrl?: string | undefined;
929
- }, {
930
- authorizationUrl: string;
931
- tokenUrl: string;
932
- scopes: Record<string, string>;
933
- refreshUrl?: string | undefined;
934
- }>>;
935
- clientCredentials: z.ZodOptional<z.ZodObject<{
936
- tokenUrl: z.ZodString;
937
- refreshUrl: z.ZodOptional<z.ZodString>;
938
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
939
- }, "strip", z.ZodTypeAny, {
940
- tokenUrl: string;
941
- scopes: Record<string, string>;
942
- refreshUrl?: string | undefined;
943
- }, {
944
- tokenUrl: string;
945
- scopes: Record<string, string>;
946
- refreshUrl?: string | undefined;
947
- }>>;
948
- implicit: z.ZodOptional<z.ZodObject<{
949
- authorizationUrl: z.ZodString;
950
- refreshUrl: z.ZodOptional<z.ZodString>;
951
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
952
- }, "strip", z.ZodTypeAny, {
953
- authorizationUrl: string;
954
- scopes: Record<string, string>;
955
- refreshUrl?: string | undefined;
956
- }, {
957
- authorizationUrl: string;
958
- scopes: Record<string, string>;
959
- refreshUrl?: string | undefined;
960
- }>>;
961
- password: z.ZodOptional<z.ZodObject<{
962
- tokenUrl: z.ZodString;
963
- refreshUrl: z.ZodOptional<z.ZodString>;
964
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
965
- }, "strip", z.ZodTypeAny, {
966
- tokenUrl: string;
967
- scopes: Record<string, string>;
968
- refreshUrl?: string | undefined;
969
- }, {
970
- tokenUrl: string;
971
- scopes: Record<string, string>;
972
- refreshUrl?: string | undefined;
973
- }>>;
974
- }, "strip", z.ZodTypeAny, {
975
- authorizationCode?: {
976
- authorizationUrl: string;
977
- tokenUrl: string;
978
- scopes: Record<string, string>;
979
- refreshUrl?: string | undefined;
980
- } | undefined;
981
- clientCredentials?: {
982
- tokenUrl: string;
983
- scopes: Record<string, string>;
984
- refreshUrl?: string | undefined;
985
- } | undefined;
986
- implicit?: {
987
- authorizationUrl: string;
988
- scopes: Record<string, string>;
989
- refreshUrl?: string | undefined;
990
- } | undefined;
991
- password?: {
992
- tokenUrl: string;
993
- scopes: Record<string, string>;
994
- refreshUrl?: string | undefined;
995
- } | undefined;
996
- }, {
997
- authorizationCode?: {
998
- authorizationUrl: string;
999
- tokenUrl: string;
1000
- scopes: Record<string, string>;
1001
- refreshUrl?: string | undefined;
1002
- } | undefined;
1003
- clientCredentials?: {
1004
- tokenUrl: string;
1005
- scopes: Record<string, string>;
1006
- refreshUrl?: string | undefined;
1007
- } | undefined;
1008
- implicit?: {
1009
- authorizationUrl: string;
1010
- scopes: Record<string, string>;
1011
- refreshUrl?: string | undefined;
1012
- } | undefined;
1013
- password?: {
1014
- tokenUrl: string;
1015
- scopes: Record<string, string>;
1016
- refreshUrl?: string | undefined;
1017
- } | undefined;
1018
- }>;
1019
- oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
1020
- }, "strip", z.ZodTypeAny, {
1021
- type: "oauth2";
1022
- flows: {
1023
- authorizationCode?: {
1024
- authorizationUrl: string;
1025
- tokenUrl: string;
1026
- scopes: Record<string, string>;
1027
- refreshUrl?: string | undefined;
1028
- } | undefined;
1029
- clientCredentials?: {
1030
- tokenUrl: string;
1031
- scopes: Record<string, string>;
1032
- refreshUrl?: string | undefined;
1033
- } | undefined;
1034
- implicit?: {
1035
- authorizationUrl: string;
1036
- scopes: Record<string, string>;
1037
- refreshUrl?: string | undefined;
1038
- } | undefined;
1039
- password?: {
1040
- tokenUrl: string;
1041
- scopes: Record<string, string>;
1042
- refreshUrl?: string | undefined;
1043
- } | undefined;
1044
- };
1045
- description?: string | undefined;
1046
- oauth2MetadataUrl?: string | undefined;
1047
- }, {
1048
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1049
- flows: {
1050
- authorizationCode?: {
1051
- authorizationUrl: string;
1052
- tokenUrl: string;
1053
- scopes: Record<string, string>;
1054
- refreshUrl?: string | undefined;
1055
- } | undefined;
1056
- clientCredentials?: {
1057
- tokenUrl: string;
1058
- scopes: Record<string, string>;
1059
- refreshUrl?: string | undefined;
1060
- } | undefined;
1061
- implicit?: {
1062
- authorizationUrl: string;
1063
- scopes: Record<string, string>;
1064
- refreshUrl?: string | undefined;
1065
- } | undefined;
1066
- password?: {
1067
- tokenUrl: string;
1068
- scopes: Record<string, string>;
1069
- refreshUrl?: string | undefined;
1070
- } | undefined;
1071
- };
1072
- description?: string | undefined;
1073
- oauth2MetadataUrl?: string | undefined;
1074
- }>, z.ZodObject<{
1075
- description: z.ZodOptional<z.ZodString>;
1076
- } & {
1077
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
1078
- openIdConnectUrl: z.ZodString;
1079
- }, "strip", z.ZodTypeAny, {
1080
- type: "openIdConnect";
1081
- openIdConnectUrl: string;
1082
- description?: string | undefined;
1083
- }, {
1084
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1085
- openIdConnectUrl: string;
1086
- description?: string | undefined;
1087
- }>, z.ZodObject<{
1088
- description: z.ZodOptional<z.ZodString>;
1089
- } & {
1090
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
1091
- }, "strip", z.ZodTypeAny, {
1092
- type: "mutualTLS";
1093
- description?: string | undefined;
1094
- }, {
1095
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1096
- description?: string | undefined;
1097
- }>]>>>;
1098
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
1099
- defaultInputModes: z.ZodArray<z.ZodString, "many">;
1100
- defaultOutputModes: z.ZodArray<z.ZodString, "many">;
1101
- skills: z.ZodArray<z.ZodObject<{
1102
- id: z.ZodString;
1103
- name: z.ZodString;
1104
- description: z.ZodString;
1105
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1106
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1107
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1108
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1109
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
1110
- }, "strip", z.ZodTypeAny, {
1111
- description: string;
1112
- name: string;
1113
- id: string;
1114
- tags?: string[] | undefined;
1115
- examples?: string[] | undefined;
1116
- inputModes?: string[] | undefined;
1117
- outputModes?: string[] | undefined;
1118
- security?: Record<string, string[]>[] | undefined;
1119
- }, {
1120
- description: string;
1121
- name: string;
1122
- id: string;
1123
- tags?: string[] | undefined;
1124
- examples?: string[] | undefined;
1125
- inputModes?: string[] | undefined;
1126
- outputModes?: string[] | undefined;
1127
- security?: Record<string, string[]>[] | undefined;
1128
- }>, "many">;
1129
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
1130
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
1131
- protected: z.ZodString;
1132
- signature: z.ZodString;
1133
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1134
- }, "strip", z.ZodTypeAny, {
1135
- protected: string;
1136
- signature: string;
1137
- header?: Record<string, unknown> | undefined;
1138
- }, {
1139
- protected: string;
1140
- signature: string;
1141
- header?: Record<string, unknown> | undefined;
1142
- }>, "many">>;
1143
- }, "strip", z.ZodTypeAny, {
1144
- description: string;
1145
- name: string;
1146
- url: string;
1147
- protocolVersion: string;
1148
- version: string;
1149
- capabilities: {
1150
- extensions?: {
1151
- uri: string;
1152
- params?: Record<string, unknown> | undefined;
1153
- description?: string | undefined;
1154
- required?: boolean | undefined;
1155
- }[] | undefined;
1156
- streaming?: boolean | undefined;
1157
- pushNotifications?: boolean | undefined;
1158
- stateTransitionHistory?: boolean | undefined;
1159
- };
1160
- defaultInputModes: string[];
1161
- defaultOutputModes: string[];
1162
- skills: {
1163
- description: string;
1164
- name: string;
1165
- id: string;
1166
- tags?: string[] | undefined;
1167
- examples?: string[] | undefined;
1168
- inputModes?: string[] | undefined;
1169
- outputModes?: string[] | undefined;
1170
- security?: Record<string, string[]>[] | undefined;
1171
- }[];
1172
- security?: Record<string, string[]>[] | undefined;
1173
- preferredTransport?: string | undefined;
1174
- additionalInterfaces?: {
1175
- url: string;
1176
- transport: string;
1177
- }[] | undefined;
1178
- iconUrl?: string | undefined;
1179
- provider?: {
1180
- url: string;
1181
- organization: string;
1182
- } | undefined;
1183
- documentationUrl?: string | undefined;
1184
- securitySchemes?: Record<string, {
1185
- type: "apiKey";
1186
- in: "query" | "header" | "cookie";
1187
- name: string;
1188
- description?: string | undefined;
1189
- } | {
1190
- type: "http";
1191
- scheme: string;
1192
- description?: string | undefined;
1193
- bearerFormat?: string | undefined;
1194
- } | {
1195
- type: "oauth2";
1196
- flows: {
1197
- authorizationCode?: {
1198
- authorizationUrl: string;
1199
- tokenUrl: string;
1200
- scopes: Record<string, string>;
1201
- refreshUrl?: string | undefined;
1202
- } | undefined;
1203
- clientCredentials?: {
1204
- tokenUrl: string;
1205
- scopes: Record<string, string>;
1206
- refreshUrl?: string | undefined;
1207
- } | undefined;
1208
- implicit?: {
1209
- authorizationUrl: string;
1210
- scopes: Record<string, string>;
1211
- refreshUrl?: string | undefined;
1212
- } | undefined;
1213
- password?: {
1214
- tokenUrl: string;
1215
- scopes: Record<string, string>;
1216
- refreshUrl?: string | undefined;
1217
- } | undefined;
1218
- };
1219
- description?: string | undefined;
1220
- oauth2MetadataUrl?: string | undefined;
1221
- } | {
1222
- type: "openIdConnect";
1223
- openIdConnectUrl: string;
1224
- description?: string | undefined;
1225
- } | {
1226
- type: "mutualTLS";
1227
- description?: string | undefined;
1228
- }> | undefined;
1229
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1230
- signatures?: {
1231
- protected: string;
1232
- signature: string;
1233
- header?: Record<string, unknown> | undefined;
1234
- }[] | undefined;
1235
- }, {
1236
- description: string;
1237
- name: string;
1238
- url: string;
1239
- version: string;
1240
- capabilities: {
1241
- extensions?: {
1242
- uri: string;
1243
- params?: Record<string, unknown> | undefined;
1244
- description?: string | undefined;
1245
- required?: boolean | undefined;
1246
- }[] | undefined;
1247
- streaming?: boolean | undefined;
1248
- pushNotifications?: boolean | undefined;
1249
- stateTransitionHistory?: boolean | undefined;
1250
- };
1251
- defaultInputModes: string[];
1252
- defaultOutputModes: string[];
1253
- skills: {
1254
- description: string;
1255
- name: string;
1256
- id: string;
1257
- tags?: string[] | undefined;
1258
- examples?: string[] | undefined;
1259
- inputModes?: string[] | undefined;
1260
- outputModes?: string[] | undefined;
1261
- security?: Record<string, string[]>[] | undefined;
1262
- }[];
1263
- security?: Record<string, string[]>[] | undefined;
1264
- protocolVersion?: string | undefined;
1265
- preferredTransport?: string | undefined;
1266
- additionalInterfaces?: {
1267
- url: string;
1268
- transport: string;
1269
- }[] | undefined;
1270
- iconUrl?: string | undefined;
1271
- provider?: {
1272
- url: string;
1273
- organization: string;
1274
- } | undefined;
1275
- documentationUrl?: string | undefined;
1276
- securitySchemes?: Record<string, {
1277
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1278
- in: "query" | "header" | "cookie";
1279
- name: string;
1280
- description?: string | undefined;
1281
- } | {
1282
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1283
- scheme: string;
1284
- description?: string | undefined;
1285
- bearerFormat?: string | undefined;
1286
- } | {
1287
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1288
- flows: {
1289
- authorizationCode?: {
1290
- authorizationUrl: string;
1291
- tokenUrl: string;
1292
- scopes: Record<string, string>;
1293
- refreshUrl?: string | undefined;
1294
- } | undefined;
1295
- clientCredentials?: {
1296
- tokenUrl: string;
1297
- scopes: Record<string, string>;
1298
- refreshUrl?: string | undefined;
1299
- } | undefined;
1300
- implicit?: {
1301
- authorizationUrl: string;
1302
- scopes: Record<string, string>;
1303
- refreshUrl?: string | undefined;
1304
- } | undefined;
1305
- password?: {
1306
- tokenUrl: string;
1307
- scopes: Record<string, string>;
1308
- refreshUrl?: string | undefined;
1309
- } | undefined;
1310
- };
1311
- description?: string | undefined;
1312
- oauth2MetadataUrl?: string | undefined;
1313
- } | {
1314
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1315
- openIdConnectUrl: string;
1316
- description?: string | undefined;
1317
- } | {
1318
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1319
- description?: string | undefined;
1320
- }> | undefined;
1321
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1322
- signatures?: {
1323
- protected: string;
1324
- signature: string;
1325
- header?: Record<string, unknown> | undefined;
1326
- }[] | undefined;
1327
- }>;
1328
- /**
1329
- * @required The minified code of the server
1330
- */
1331
- code: z.ZodString;
1332
- /**
1333
- * @optional The NPM dependencies of the server(currently unsupported)
1334
- */
1335
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1336
- }, "strip", z.ZodTypeAny, {
1337
- code: string;
1338
- name: string;
1339
- agentCard: {
1340
- description: string;
1341
- name: string;
1342
- url: string;
1343
- protocolVersion: string;
1344
- version: string;
1345
- capabilities: {
1346
- extensions?: {
1347
- uri: string;
1348
- params?: Record<string, unknown> | undefined;
1349
- description?: string | undefined;
1350
- required?: boolean | undefined;
1351
- }[] | undefined;
1352
- streaming?: boolean | undefined;
1353
- pushNotifications?: boolean | undefined;
1354
- stateTransitionHistory?: boolean | undefined;
1355
- };
1356
- defaultInputModes: string[];
1357
- defaultOutputModes: string[];
1358
- skills: {
1359
- description: string;
1360
- name: string;
1361
- id: string;
1362
- tags?: string[] | undefined;
1363
- examples?: string[] | undefined;
1364
- inputModes?: string[] | undefined;
1365
- outputModes?: string[] | undefined;
1366
- security?: Record<string, string[]>[] | undefined;
1367
- }[];
1368
- security?: Record<string, string[]>[] | undefined;
1369
- preferredTransport?: string | undefined;
1370
- additionalInterfaces?: {
1371
- url: string;
1372
- transport: string;
1373
- }[] | undefined;
1374
- iconUrl?: string | undefined;
1375
- provider?: {
1376
- url: string;
1377
- organization: string;
1378
- } | undefined;
1379
- documentationUrl?: string | undefined;
1380
- securitySchemes?: Record<string, {
1381
- type: "apiKey";
1382
- in: "query" | "header" | "cookie";
1383
- name: string;
1384
- description?: string | undefined;
1385
- } | {
1386
- type: "http";
1387
- scheme: string;
1388
- description?: string | undefined;
1389
- bearerFormat?: string | undefined;
1390
- } | {
1391
- type: "oauth2";
1392
- flows: {
1393
- authorizationCode?: {
1394
- authorizationUrl: string;
1395
- tokenUrl: string;
1396
- scopes: Record<string, string>;
1397
- refreshUrl?: string | undefined;
1398
- } | undefined;
1399
- clientCredentials?: {
1400
- tokenUrl: string;
1401
- scopes: Record<string, string>;
1402
- refreshUrl?: string | undefined;
1403
- } | undefined;
1404
- implicit?: {
1405
- authorizationUrl: string;
1406
- scopes: Record<string, string>;
1407
- refreshUrl?: string | undefined;
1408
- } | undefined;
1409
- password?: {
1410
- tokenUrl: string;
1411
- scopes: Record<string, string>;
1412
- refreshUrl?: string | undefined;
1413
- } | undefined;
1414
- };
1415
- description?: string | undefined;
1416
- oauth2MetadataUrl?: string | undefined;
1417
- } | {
1418
- type: "openIdConnect";
1419
- openIdConnectUrl: string;
1420
- description?: string | undefined;
1421
- } | {
1422
- type: "mutualTLS";
1423
- description?: string | undefined;
1424
- }> | undefined;
1425
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1426
- signatures?: {
1427
- protected: string;
1428
- signature: string;
1429
- header?: Record<string, unknown> | undefined;
1430
- }[] | undefined;
1431
- };
1432
- dependencies?: string[] | undefined;
1433
- }, {
1434
- code: string;
1435
- name: string;
1436
- agentCard: {
1437
- description: string;
1438
- name: string;
1439
- url: string;
1440
- version: string;
1441
- capabilities: {
1442
- extensions?: {
1443
- uri: string;
1444
- params?: Record<string, unknown> | undefined;
1445
- description?: string | undefined;
1446
- required?: boolean | undefined;
1447
- }[] | undefined;
1448
- streaming?: boolean | undefined;
1449
- pushNotifications?: boolean | undefined;
1450
- stateTransitionHistory?: boolean | undefined;
1451
- };
1452
- defaultInputModes: string[];
1453
- defaultOutputModes: string[];
1454
- skills: {
1455
- description: string;
1456
- name: string;
1457
- id: string;
1458
- tags?: string[] | undefined;
1459
- examples?: string[] | undefined;
1460
- inputModes?: string[] | undefined;
1461
- outputModes?: string[] | undefined;
1462
- security?: Record<string, string[]>[] | undefined;
1463
- }[];
1464
- security?: Record<string, string[]>[] | undefined;
1465
- protocolVersion?: string | undefined;
1466
- preferredTransport?: string | undefined;
1467
- additionalInterfaces?: {
1468
- url: string;
1469
- transport: string;
1470
- }[] | undefined;
1471
- iconUrl?: string | undefined;
1472
- provider?: {
1473
- url: string;
1474
- organization: string;
1475
- } | undefined;
1476
- documentationUrl?: string | undefined;
1477
- securitySchemes?: Record<string, {
1478
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1479
- in: "query" | "header" | "cookie";
1480
- name: string;
1481
- description?: string | undefined;
1482
- } | {
1483
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1484
- scheme: string;
1485
- description?: string | undefined;
1486
- bearerFormat?: string | undefined;
1487
- } | {
1488
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1489
- flows: {
1490
- authorizationCode?: {
1491
- authorizationUrl: string;
1492
- tokenUrl: string;
1493
- scopes: Record<string, string>;
1494
- refreshUrl?: string | undefined;
1495
- } | undefined;
1496
- clientCredentials?: {
1497
- tokenUrl: string;
1498
- scopes: Record<string, string>;
1499
- refreshUrl?: string | undefined;
1500
- } | undefined;
1501
- implicit?: {
1502
- authorizationUrl: string;
1503
- scopes: Record<string, string>;
1504
- refreshUrl?: string | undefined;
1505
- } | undefined;
1506
- password?: {
1507
- tokenUrl: string;
1508
- scopes: Record<string, string>;
1509
- refreshUrl?: string | undefined;
1510
- } | undefined;
1511
- };
1512
- description?: string | undefined;
1513
- oauth2MetadataUrl?: string | undefined;
1514
- } | {
1515
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1516
- openIdConnectUrl: string;
1517
- description?: string | undefined;
1518
- } | {
1519
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1520
- description?: string | undefined;
1521
- }> | undefined;
1522
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1523
- signatures?: {
1524
- protected: string;
1525
- signature: string;
1526
- header?: Record<string, unknown> | undefined;
1527
- }[] | undefined;
1528
- };
1529
- dependencies?: string[] | undefined;
1530
- }>;
1531
- }, "strip", z.ZodTypeAny, {
1532
- params: {
1533
- code: string;
1534
- name: string;
1535
- agentCard: {
1536
- description: string;
1537
- name: string;
1538
- url: string;
1539
- protocolVersion: string;
1540
- version: string;
1541
- capabilities: {
1542
- extensions?: {
1543
- uri: string;
1544
- params?: Record<string, unknown> | undefined;
1545
- description?: string | undefined;
1546
- required?: boolean | undefined;
1547
- }[] | undefined;
1548
- streaming?: boolean | undefined;
1549
- pushNotifications?: boolean | undefined;
1550
- stateTransitionHistory?: boolean | undefined;
1551
- };
1552
- defaultInputModes: string[];
1553
- defaultOutputModes: string[];
1554
- skills: {
1555
- description: string;
1556
- name: string;
1557
- id: string;
1558
- tags?: string[] | undefined;
1559
- examples?: string[] | undefined;
1560
- inputModes?: string[] | undefined;
1561
- outputModes?: string[] | undefined;
1562
- security?: Record<string, string[]>[] | undefined;
1563
- }[];
1564
- security?: Record<string, string[]>[] | undefined;
1565
- preferredTransport?: string | undefined;
1566
- additionalInterfaces?: {
1567
- url: string;
1568
- transport: string;
1569
- }[] | undefined;
1570
- iconUrl?: string | undefined;
1571
- provider?: {
1572
- url: string;
1573
- organization: string;
1574
- } | undefined;
1575
- documentationUrl?: string | undefined;
1576
- securitySchemes?: Record<string, {
1577
- type: "apiKey";
1578
- in: "query" | "header" | "cookie";
1579
- name: string;
1580
- description?: string | undefined;
1581
- } | {
1582
- type: "http";
1583
- scheme: string;
1584
- description?: string | undefined;
1585
- bearerFormat?: string | undefined;
1586
- } | {
1587
- type: "oauth2";
1588
- flows: {
1589
- authorizationCode?: {
1590
- authorizationUrl: string;
1591
- tokenUrl: string;
1592
- scopes: Record<string, string>;
1593
- refreshUrl?: string | undefined;
1594
- } | undefined;
1595
- clientCredentials?: {
1596
- tokenUrl: string;
1597
- scopes: Record<string, string>;
1598
- refreshUrl?: string | undefined;
1599
- } | undefined;
1600
- implicit?: {
1601
- authorizationUrl: string;
1602
- scopes: Record<string, string>;
1603
- refreshUrl?: string | undefined;
1604
- } | undefined;
1605
- password?: {
1606
- tokenUrl: string;
1607
- scopes: Record<string, string>;
1608
- refreshUrl?: string | undefined;
1609
- } | undefined;
1610
- };
1611
- description?: string | undefined;
1612
- oauth2MetadataUrl?: string | undefined;
1613
- } | {
1614
- type: "openIdConnect";
1615
- openIdConnectUrl: string;
1616
- description?: string | undefined;
1617
- } | {
1618
- type: "mutualTLS";
1619
- description?: string | undefined;
1620
- }> | undefined;
1621
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1622
- signatures?: {
1623
- protected: string;
1624
- signature: string;
1625
- header?: Record<string, unknown> | undefined;
1626
- }[] | undefined;
1627
- };
1628
- dependencies?: string[] | undefined;
1629
- };
1630
- jsonrpc: "2.0";
1631
- id: string | number;
1632
- method: "/deploy";
1633
- }, {
1634
- params: {
1635
- code: string;
1636
- name: string;
1637
- agentCard: {
1638
- description: string;
1639
- name: string;
1640
- url: string;
1641
- version: string;
1642
- capabilities: {
1643
- extensions?: {
1644
- uri: string;
1645
- params?: Record<string, unknown> | undefined;
1646
- description?: string | undefined;
1647
- required?: boolean | undefined;
1648
- }[] | undefined;
1649
- streaming?: boolean | undefined;
1650
- pushNotifications?: boolean | undefined;
1651
- stateTransitionHistory?: boolean | undefined;
1652
- };
1653
- defaultInputModes: string[];
1654
- defaultOutputModes: string[];
1655
- skills: {
1656
- description: string;
1657
- name: string;
1658
- id: string;
1659
- tags?: string[] | undefined;
1660
- examples?: string[] | undefined;
1661
- inputModes?: string[] | undefined;
1662
- outputModes?: string[] | undefined;
1663
- security?: Record<string, string[]>[] | undefined;
1664
- }[];
1665
- security?: Record<string, string[]>[] | undefined;
1666
- protocolVersion?: string | undefined;
1667
- preferredTransport?: string | undefined;
1668
- additionalInterfaces?: {
1669
- url: string;
1670
- transport: string;
1671
- }[] | undefined;
1672
- iconUrl?: string | undefined;
1673
- provider?: {
1674
- url: string;
1675
- organization: string;
1676
- } | undefined;
1677
- documentationUrl?: string | undefined;
1678
- securitySchemes?: Record<string, {
1679
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1680
- in: "query" | "header" | "cookie";
1681
- name: string;
1682
- description?: string | undefined;
1683
- } | {
1684
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1685
- scheme: string;
1686
- description?: string | undefined;
1687
- bearerFormat?: string | undefined;
1688
- } | {
1689
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1690
- flows: {
1691
- authorizationCode?: {
1692
- authorizationUrl: string;
1693
- tokenUrl: string;
1694
- scopes: Record<string, string>;
1695
- refreshUrl?: string | undefined;
1696
- } | undefined;
1697
- clientCredentials?: {
1698
- tokenUrl: string;
1699
- scopes: Record<string, string>;
1700
- refreshUrl?: string | undefined;
1701
- } | undefined;
1702
- implicit?: {
1703
- authorizationUrl: string;
1704
- scopes: Record<string, string>;
1705
- refreshUrl?: string | undefined;
1706
- } | undefined;
1707
- password?: {
1708
- tokenUrl: string;
1709
- scopes: Record<string, string>;
1710
- refreshUrl?: string | undefined;
1711
- } | undefined;
1712
- };
1713
- description?: string | undefined;
1714
- oauth2MetadataUrl?: string | undefined;
1715
- } | {
1716
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1717
- openIdConnectUrl: string;
1718
- description?: string | undefined;
1719
- } | {
1720
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1721
- description?: string | undefined;
1722
- }> | undefined;
1723
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1724
- signatures?: {
1725
- protected: string;
1726
- signature: string;
1727
- header?: Record<string, unknown> | undefined;
1728
- }[] | undefined;
1729
- };
1730
- dependencies?: string[] | undefined;
1731
- };
1732
- jsonrpc: "2.0";
1733
- id: string | number;
1734
- method: "/deploy";
1735
- }>;
1736
- export type ServerDeploymentRequest = z.infer<typeof ServerDeploymentRequestSchema>;
1737
- /**
1738
- * @description Represents the request for a test server deployment.
1739
- */
1740
- export declare const TestServerDeploymentRequestSchema: z.ZodObject<{
1741
- jsonrpc: z.ZodLiteral<"2.0">;
1742
- id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1743
- } & {
1744
- method: z.ZodLiteral<"/test/deploy">;
1745
- params: z.ZodObject<{
1746
- /**
1747
- * @required The name of the server
1748
- */
1749
- name: z.ZodString;
1750
- /**
1751
- * @required The agent card of the server
1752
- */
1753
- agentCard: z.ZodObject<{
1754
- protocolVersion: z.ZodDefault<z.ZodString>;
1755
- name: z.ZodString;
1756
- description: z.ZodString;
1757
- url: z.ZodString;
1758
- preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
1759
- additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1760
- url: z.ZodString;
1761
- transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
1762
- }, "strip", z.ZodTypeAny, {
1763
- url: string;
1764
- transport: string;
1765
- }, {
1766
- url: string;
1767
- transport: string;
1768
- }>, "many">>;
1769
- iconUrl: z.ZodOptional<z.ZodString>;
1770
- provider: z.ZodOptional<z.ZodObject<{
1771
- organization: z.ZodString;
1772
- url: z.ZodString;
1773
- }, "strip", z.ZodTypeAny, {
1774
- url: string;
1775
- organization: string;
1776
- }, {
1777
- url: string;
1778
- organization: string;
1779
- }>>;
1780
- version: z.ZodString;
1781
- documentationUrl: z.ZodOptional<z.ZodString>;
1782
- capabilities: z.ZodObject<{
1783
- streaming: z.ZodOptional<z.ZodBoolean>;
1784
- pushNotifications: z.ZodOptional<z.ZodBoolean>;
1785
- stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
1786
- extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1787
- uri: z.ZodString;
1788
- description: z.ZodOptional<z.ZodString>;
1789
- required: z.ZodOptional<z.ZodBoolean>;
1790
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1791
- }, "strip", z.ZodTypeAny, {
1792
- uri: string;
1793
- params?: Record<string, unknown> | undefined;
1794
- description?: string | undefined;
1795
- required?: boolean | undefined;
1796
- }, {
1797
- uri: string;
1798
- params?: Record<string, unknown> | undefined;
1799
- description?: string | undefined;
1800
- required?: boolean | undefined;
1801
- }>, "many">>;
1802
- }, "strip", z.ZodTypeAny, {
1803
- extensions?: {
1804
- uri: string;
1805
- params?: Record<string, unknown> | undefined;
1806
- description?: string | undefined;
1807
- required?: boolean | undefined;
1808
- }[] | undefined;
1809
- streaming?: boolean | undefined;
1810
- pushNotifications?: boolean | undefined;
1811
- stateTransitionHistory?: boolean | undefined;
1812
- }, {
1813
- extensions?: {
1814
- uri: string;
1815
- params?: Record<string, unknown> | undefined;
1816
- description?: string | undefined;
1817
- required?: boolean | undefined;
1818
- }[] | undefined;
1819
- streaming?: boolean | undefined;
1820
- pushNotifications?: boolean | undefined;
1821
- stateTransitionHistory?: boolean | undefined;
1822
- }>;
1823
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1824
- description: z.ZodOptional<z.ZodString>;
1825
- } & {
1826
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
1827
- in: z.ZodEnum<["query", "header", "cookie"]>;
1828
- name: z.ZodString;
1829
- }, "strip", z.ZodTypeAny, {
1830
- type: "apiKey";
1831
- in: "query" | "header" | "cookie";
1832
- name: string;
1833
- description?: string | undefined;
1834
- }, {
1835
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1836
- in: "query" | "header" | "cookie";
1837
- name: string;
1838
- description?: string | undefined;
1839
- }>, z.ZodObject<{
1840
- description: z.ZodOptional<z.ZodString>;
1841
- } & {
1842
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
1843
- scheme: z.ZodString;
1844
- bearerFormat: z.ZodOptional<z.ZodString>;
1845
- }, "strip", z.ZodTypeAny, {
1846
- type: "http";
1847
- scheme: string;
1848
- description?: string | undefined;
1849
- bearerFormat?: string | undefined;
1850
- }, {
1851
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1852
- scheme: string;
1853
- description?: string | undefined;
1854
- bearerFormat?: string | undefined;
1855
- }>, z.ZodObject<{
1856
- description: z.ZodOptional<z.ZodString>;
1857
- } & {
1858
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
1859
- flows: z.ZodObject<{
1860
- authorizationCode: z.ZodOptional<z.ZodObject<{
1861
- authorizationUrl: z.ZodString;
1862
- tokenUrl: z.ZodString;
1863
- refreshUrl: z.ZodOptional<z.ZodString>;
1864
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
1865
- }, "strip", z.ZodTypeAny, {
1866
- authorizationUrl: string;
1867
- tokenUrl: string;
1868
- scopes: Record<string, string>;
1869
- refreshUrl?: string | undefined;
1870
- }, {
1871
- authorizationUrl: string;
1872
- tokenUrl: string;
1873
- scopes: Record<string, string>;
1874
- refreshUrl?: string | undefined;
1875
- }>>;
1876
- clientCredentials: z.ZodOptional<z.ZodObject<{
1877
- tokenUrl: z.ZodString;
1878
- refreshUrl: z.ZodOptional<z.ZodString>;
1879
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
1880
- }, "strip", z.ZodTypeAny, {
1881
- tokenUrl: string;
1882
- scopes: Record<string, string>;
1883
- refreshUrl?: string | undefined;
1884
- }, {
1885
- tokenUrl: string;
1886
- scopes: Record<string, string>;
1887
- refreshUrl?: string | undefined;
1888
- }>>;
1889
- implicit: z.ZodOptional<z.ZodObject<{
1890
- authorizationUrl: z.ZodString;
1891
- refreshUrl: z.ZodOptional<z.ZodString>;
1892
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
1893
- }, "strip", z.ZodTypeAny, {
1894
- authorizationUrl: string;
1895
- scopes: Record<string, string>;
1896
- refreshUrl?: string | undefined;
1897
- }, {
1898
- authorizationUrl: string;
1899
- scopes: Record<string, string>;
1900
- refreshUrl?: string | undefined;
1901
- }>>;
1902
- password: z.ZodOptional<z.ZodObject<{
1903
- tokenUrl: z.ZodString;
1904
- refreshUrl: z.ZodOptional<z.ZodString>;
1905
- scopes: z.ZodRecord<z.ZodString, z.ZodString>;
1906
- }, "strip", z.ZodTypeAny, {
1907
- tokenUrl: string;
1908
- scopes: Record<string, string>;
1909
- refreshUrl?: string | undefined;
1910
- }, {
1911
- tokenUrl: string;
1912
- scopes: Record<string, string>;
1913
- refreshUrl?: string | undefined;
1914
- }>>;
1915
- }, "strip", z.ZodTypeAny, {
1916
- authorizationCode?: {
1917
- authorizationUrl: string;
1918
- tokenUrl: string;
1919
- scopes: Record<string, string>;
1920
- refreshUrl?: string | undefined;
1921
- } | undefined;
1922
- clientCredentials?: {
1923
- tokenUrl: string;
1924
- scopes: Record<string, string>;
1925
- refreshUrl?: string | undefined;
1926
- } | undefined;
1927
- implicit?: {
1928
- authorizationUrl: string;
1929
- scopes: Record<string, string>;
1930
- refreshUrl?: string | undefined;
1931
- } | undefined;
1932
- password?: {
1933
- tokenUrl: string;
1934
- scopes: Record<string, string>;
1935
- refreshUrl?: string | undefined;
1936
- } | undefined;
1937
- }, {
1938
- authorizationCode?: {
1939
- authorizationUrl: string;
1940
- tokenUrl: string;
1941
- scopes: Record<string, string>;
1942
- refreshUrl?: string | undefined;
1943
- } | undefined;
1944
- clientCredentials?: {
1945
- tokenUrl: string;
1946
- scopes: Record<string, string>;
1947
- refreshUrl?: string | undefined;
1948
- } | undefined;
1949
- implicit?: {
1950
- authorizationUrl: string;
1951
- scopes: Record<string, string>;
1952
- refreshUrl?: string | undefined;
1953
- } | undefined;
1954
- password?: {
1955
- tokenUrl: string;
1956
- scopes: Record<string, string>;
1957
- refreshUrl?: string | undefined;
1958
- } | undefined;
1959
- }>;
1960
- oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
1961
- }, "strip", z.ZodTypeAny, {
1962
- type: "oauth2";
1963
- flows: {
1964
- authorizationCode?: {
1965
- authorizationUrl: string;
1966
- tokenUrl: string;
1967
- scopes: Record<string, string>;
1968
- refreshUrl?: string | undefined;
1969
- } | undefined;
1970
- clientCredentials?: {
1971
- tokenUrl: string;
1972
- scopes: Record<string, string>;
1973
- refreshUrl?: string | undefined;
1974
- } | undefined;
1975
- implicit?: {
1976
- authorizationUrl: string;
1977
- scopes: Record<string, string>;
1978
- refreshUrl?: string | undefined;
1979
- } | undefined;
1980
- password?: {
1981
- tokenUrl: string;
1982
- scopes: Record<string, string>;
1983
- refreshUrl?: string | undefined;
1984
- } | undefined;
1985
- };
1986
- description?: string | undefined;
1987
- oauth2MetadataUrl?: string | undefined;
1988
- }, {
1989
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
1990
- flows: {
1991
- authorizationCode?: {
1992
- authorizationUrl: string;
1993
- tokenUrl: string;
1994
- scopes: Record<string, string>;
1995
- refreshUrl?: string | undefined;
1996
- } | undefined;
1997
- clientCredentials?: {
1998
- tokenUrl: string;
1999
- scopes: Record<string, string>;
2000
- refreshUrl?: string | undefined;
2001
- } | undefined;
2002
- implicit?: {
2003
- authorizationUrl: string;
2004
- scopes: Record<string, string>;
2005
- refreshUrl?: string | undefined;
2006
- } | undefined;
2007
- password?: {
2008
- tokenUrl: string;
2009
- scopes: Record<string, string>;
2010
- refreshUrl?: string | undefined;
2011
- } | undefined;
2012
- };
2013
- description?: string | undefined;
2014
- oauth2MetadataUrl?: string | undefined;
2015
- }>, z.ZodObject<{
2016
- description: z.ZodOptional<z.ZodString>;
2017
- } & {
2018
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
2019
- openIdConnectUrl: z.ZodString;
2020
- }, "strip", z.ZodTypeAny, {
2021
- type: "openIdConnect";
2022
- openIdConnectUrl: string;
2023
- description?: string | undefined;
2024
- }, {
2025
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2026
- openIdConnectUrl: string;
2027
- description?: string | undefined;
2028
- }>, z.ZodObject<{
2029
- description: z.ZodOptional<z.ZodString>;
2030
- } & {
2031
- type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
2032
- }, "strip", z.ZodTypeAny, {
2033
- type: "mutualTLS";
2034
- description?: string | undefined;
2035
- }, {
2036
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2037
- description?: string | undefined;
2038
- }>]>>>;
2039
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
2040
- defaultInputModes: z.ZodArray<z.ZodString, "many">;
2041
- defaultOutputModes: z.ZodArray<z.ZodString, "many">;
2042
- skills: z.ZodArray<z.ZodObject<{
2043
- id: z.ZodString;
2044
- name: z.ZodString;
2045
- description: z.ZodString;
2046
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2047
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2048
- inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2049
- outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2050
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
2051
- }, "strip", z.ZodTypeAny, {
2052
- description: string;
2053
- name: string;
2054
- id: string;
2055
- tags?: string[] | undefined;
2056
- examples?: string[] | undefined;
2057
- inputModes?: string[] | undefined;
2058
- outputModes?: string[] | undefined;
2059
- security?: Record<string, string[]>[] | undefined;
2060
- }, {
2061
- description: string;
2062
- name: string;
2063
- id: string;
2064
- tags?: string[] | undefined;
2065
- examples?: string[] | undefined;
2066
- inputModes?: string[] | undefined;
2067
- outputModes?: string[] | undefined;
2068
- security?: Record<string, string[]>[] | undefined;
2069
- }>, "many">;
2070
- supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
2071
- signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
2072
- protected: z.ZodString;
2073
- signature: z.ZodString;
2074
- header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2075
- }, "strip", z.ZodTypeAny, {
2076
- protected: string;
2077
- signature: string;
2078
- header?: Record<string, unknown> | undefined;
2079
- }, {
2080
- protected: string;
2081
- signature: string;
2082
- header?: Record<string, unknown> | undefined;
2083
- }>, "many">>;
2084
- }, "strip", z.ZodTypeAny, {
2085
- description: string;
2086
- name: string;
2087
- url: string;
2088
- protocolVersion: string;
2089
- version: string;
2090
- capabilities: {
2091
- extensions?: {
2092
- uri: string;
2093
- params?: Record<string, unknown> | undefined;
2094
- description?: string | undefined;
2095
- required?: boolean | undefined;
2096
- }[] | undefined;
2097
- streaming?: boolean | undefined;
2098
- pushNotifications?: boolean | undefined;
2099
- stateTransitionHistory?: boolean | undefined;
2100
- };
2101
- defaultInputModes: string[];
2102
- defaultOutputModes: string[];
2103
- skills: {
2104
- description: string;
2105
- name: string;
2106
- id: string;
2107
- tags?: string[] | undefined;
2108
- examples?: string[] | undefined;
2109
- inputModes?: string[] | undefined;
2110
- outputModes?: string[] | undefined;
2111
- security?: Record<string, string[]>[] | undefined;
2112
- }[];
2113
- security?: Record<string, string[]>[] | undefined;
2114
- preferredTransport?: string | undefined;
2115
- additionalInterfaces?: {
2116
- url: string;
2117
- transport: string;
2118
- }[] | undefined;
2119
- iconUrl?: string | undefined;
2120
- provider?: {
2121
- url: string;
2122
- organization: string;
2123
- } | undefined;
2124
- documentationUrl?: string | undefined;
2125
- securitySchemes?: Record<string, {
2126
- type: "apiKey";
2127
- in: "query" | "header" | "cookie";
2128
- name: string;
2129
- description?: string | undefined;
2130
- } | {
2131
- type: "http";
2132
- scheme: string;
2133
- description?: string | undefined;
2134
- bearerFormat?: string | undefined;
2135
- } | {
2136
- type: "oauth2";
2137
- flows: {
2138
- authorizationCode?: {
2139
- authorizationUrl: string;
2140
- tokenUrl: string;
2141
- scopes: Record<string, string>;
2142
- refreshUrl?: string | undefined;
2143
- } | undefined;
2144
- clientCredentials?: {
2145
- tokenUrl: string;
2146
- scopes: Record<string, string>;
2147
- refreshUrl?: string | undefined;
2148
- } | undefined;
2149
- implicit?: {
2150
- authorizationUrl: string;
2151
- scopes: Record<string, string>;
2152
- refreshUrl?: string | undefined;
2153
- } | undefined;
2154
- password?: {
2155
- tokenUrl: string;
2156
- scopes: Record<string, string>;
2157
- refreshUrl?: string | undefined;
2158
- } | undefined;
2159
- };
2160
- description?: string | undefined;
2161
- oauth2MetadataUrl?: string | undefined;
2162
- } | {
2163
- type: "openIdConnect";
2164
- openIdConnectUrl: string;
2165
- description?: string | undefined;
2166
- } | {
2167
- type: "mutualTLS";
2168
- description?: string | undefined;
2169
- }> | undefined;
2170
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2171
- signatures?: {
2172
- protected: string;
2173
- signature: string;
2174
- header?: Record<string, unknown> | undefined;
2175
- }[] | undefined;
2176
- }, {
2177
- description: string;
2178
- name: string;
2179
- url: string;
2180
- version: string;
2181
- capabilities: {
2182
- extensions?: {
2183
- uri: string;
2184
- params?: Record<string, unknown> | undefined;
2185
- description?: string | undefined;
2186
- required?: boolean | undefined;
2187
- }[] | undefined;
2188
- streaming?: boolean | undefined;
2189
- pushNotifications?: boolean | undefined;
2190
- stateTransitionHistory?: boolean | undefined;
2191
- };
2192
- defaultInputModes: string[];
2193
- defaultOutputModes: string[];
2194
- skills: {
2195
- description: string;
2196
- name: string;
2197
- id: string;
2198
- tags?: string[] | undefined;
2199
- examples?: string[] | undefined;
2200
- inputModes?: string[] | undefined;
2201
- outputModes?: string[] | undefined;
2202
- security?: Record<string, string[]>[] | undefined;
2203
- }[];
2204
- security?: Record<string, string[]>[] | undefined;
2205
- protocolVersion?: string | undefined;
2206
- preferredTransport?: string | undefined;
2207
- additionalInterfaces?: {
2208
- url: string;
2209
- transport: string;
2210
- }[] | undefined;
2211
- iconUrl?: string | undefined;
2212
- provider?: {
2213
- url: string;
2214
- organization: string;
2215
- } | undefined;
2216
- documentationUrl?: string | undefined;
2217
- securitySchemes?: Record<string, {
2218
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2219
- in: "query" | "header" | "cookie";
2220
- name: string;
2221
- description?: string | undefined;
2222
- } | {
2223
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2224
- scheme: string;
2225
- description?: string | undefined;
2226
- bearerFormat?: string | undefined;
2227
- } | {
2228
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2229
- flows: {
2230
- authorizationCode?: {
2231
- authorizationUrl: string;
2232
- tokenUrl: string;
2233
- scopes: Record<string, string>;
2234
- refreshUrl?: string | undefined;
2235
- } | undefined;
2236
- clientCredentials?: {
2237
- tokenUrl: string;
2238
- scopes: Record<string, string>;
2239
- refreshUrl?: string | undefined;
2240
- } | undefined;
2241
- implicit?: {
2242
- authorizationUrl: string;
2243
- scopes: Record<string, string>;
2244
- refreshUrl?: string | undefined;
2245
- } | undefined;
2246
- password?: {
2247
- tokenUrl: string;
2248
- scopes: Record<string, string>;
2249
- refreshUrl?: string | undefined;
2250
- } | undefined;
2251
- };
2252
- description?: string | undefined;
2253
- oauth2MetadataUrl?: string | undefined;
2254
- } | {
2255
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2256
- openIdConnectUrl: string;
2257
- description?: string | undefined;
2258
- } | {
2259
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2260
- description?: string | undefined;
2261
- }> | undefined;
2262
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2263
- signatures?: {
2264
- protected: string;
2265
- signature: string;
2266
- header?: Record<string, unknown> | undefined;
2267
- }[] | undefined;
2268
- }>;
2269
- /**
2270
- * @required The minified code of the server
2271
- */
2272
- code: z.ZodString;
2273
- /**
2274
- * @optional The NPM dependencies of the server(currently unsupported)
2275
- */
2276
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2277
- }, "strip", z.ZodTypeAny, {
2278
- code: string;
2279
- name: string;
2280
- agentCard: {
2281
- description: string;
2282
- name: string;
2283
- url: string;
2284
- protocolVersion: string;
2285
- version: string;
2286
- capabilities: {
2287
- extensions?: {
2288
- uri: string;
2289
- params?: Record<string, unknown> | undefined;
2290
- description?: string | undefined;
2291
- required?: boolean | undefined;
2292
- }[] | undefined;
2293
- streaming?: boolean | undefined;
2294
- pushNotifications?: boolean | undefined;
2295
- stateTransitionHistory?: boolean | undefined;
2296
- };
2297
- defaultInputModes: string[];
2298
- defaultOutputModes: string[];
2299
- skills: {
2300
- description: string;
2301
- name: string;
2302
- id: string;
2303
- tags?: string[] | undefined;
2304
- examples?: string[] | undefined;
2305
- inputModes?: string[] | undefined;
2306
- outputModes?: string[] | undefined;
2307
- security?: Record<string, string[]>[] | undefined;
2308
- }[];
2309
- security?: Record<string, string[]>[] | undefined;
2310
- preferredTransport?: string | undefined;
2311
- additionalInterfaces?: {
2312
- url: string;
2313
- transport: string;
2314
- }[] | undefined;
2315
- iconUrl?: string | undefined;
2316
- provider?: {
2317
- url: string;
2318
- organization: string;
2319
- } | undefined;
2320
- documentationUrl?: string | undefined;
2321
- securitySchemes?: Record<string, {
2322
- type: "apiKey";
2323
- in: "query" | "header" | "cookie";
2324
- name: string;
2325
- description?: string | undefined;
2326
- } | {
2327
- type: "http";
2328
- scheme: string;
2329
- description?: string | undefined;
2330
- bearerFormat?: string | undefined;
2331
- } | {
2332
- type: "oauth2";
2333
- flows: {
2334
- authorizationCode?: {
2335
- authorizationUrl: string;
2336
- tokenUrl: string;
2337
- scopes: Record<string, string>;
2338
- refreshUrl?: string | undefined;
2339
- } | undefined;
2340
- clientCredentials?: {
2341
- tokenUrl: string;
2342
- scopes: Record<string, string>;
2343
- refreshUrl?: string | undefined;
2344
- } | undefined;
2345
- implicit?: {
2346
- authorizationUrl: string;
2347
- scopes: Record<string, string>;
2348
- refreshUrl?: string | undefined;
2349
- } | undefined;
2350
- password?: {
2351
- tokenUrl: string;
2352
- scopes: Record<string, string>;
2353
- refreshUrl?: string | undefined;
2354
- } | undefined;
2355
- };
2356
- description?: string | undefined;
2357
- oauth2MetadataUrl?: string | undefined;
2358
- } | {
2359
- type: "openIdConnect";
2360
- openIdConnectUrl: string;
2361
- description?: string | undefined;
2362
- } | {
2363
- type: "mutualTLS";
2364
- description?: string | undefined;
2365
- }> | undefined;
2366
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2367
- signatures?: {
2368
- protected: string;
2369
- signature: string;
2370
- header?: Record<string, unknown> | undefined;
2371
- }[] | undefined;
2372
- };
2373
- dependencies?: string[] | undefined;
2374
- }, {
2375
- code: string;
2376
- name: string;
2377
- agentCard: {
2378
- description: string;
2379
- name: string;
2380
- url: string;
2381
- version: string;
2382
- capabilities: {
2383
- extensions?: {
2384
- uri: string;
2385
- params?: Record<string, unknown> | undefined;
2386
- description?: string | undefined;
2387
- required?: boolean | undefined;
2388
- }[] | undefined;
2389
- streaming?: boolean | undefined;
2390
- pushNotifications?: boolean | undefined;
2391
- stateTransitionHistory?: boolean | undefined;
2392
- };
2393
- defaultInputModes: string[];
2394
- defaultOutputModes: string[];
2395
- skills: {
2396
- description: string;
2397
- name: string;
2398
- id: string;
2399
- tags?: string[] | undefined;
2400
- examples?: string[] | undefined;
2401
- inputModes?: string[] | undefined;
2402
- outputModes?: string[] | undefined;
2403
- security?: Record<string, string[]>[] | undefined;
2404
- }[];
2405
- security?: Record<string, string[]>[] | undefined;
2406
- protocolVersion?: string | undefined;
2407
- preferredTransport?: string | undefined;
2408
- additionalInterfaces?: {
2409
- url: string;
2410
- transport: string;
2411
- }[] | undefined;
2412
- iconUrl?: string | undefined;
2413
- provider?: {
2414
- url: string;
2415
- organization: string;
2416
- } | undefined;
2417
- documentationUrl?: string | undefined;
2418
- securitySchemes?: Record<string, {
2419
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2420
- in: "query" | "header" | "cookie";
2421
- name: string;
2422
- description?: string | undefined;
2423
- } | {
2424
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2425
- scheme: string;
2426
- description?: string | undefined;
2427
- bearerFormat?: string | undefined;
2428
- } | {
2429
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2430
- flows: {
2431
- authorizationCode?: {
2432
- authorizationUrl: string;
2433
- tokenUrl: string;
2434
- scopes: Record<string, string>;
2435
- refreshUrl?: string | undefined;
2436
- } | undefined;
2437
- clientCredentials?: {
2438
- tokenUrl: string;
2439
- scopes: Record<string, string>;
2440
- refreshUrl?: string | undefined;
2441
- } | undefined;
2442
- implicit?: {
2443
- authorizationUrl: string;
2444
- scopes: Record<string, string>;
2445
- refreshUrl?: string | undefined;
2446
- } | undefined;
2447
- password?: {
2448
- tokenUrl: string;
2449
- scopes: Record<string, string>;
2450
- refreshUrl?: string | undefined;
2451
- } | undefined;
2452
- };
2453
- description?: string | undefined;
2454
- oauth2MetadataUrl?: string | undefined;
2455
- } | {
2456
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2457
- openIdConnectUrl: string;
2458
- description?: string | undefined;
2459
- } | {
2460
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2461
- description?: string | undefined;
2462
- }> | undefined;
2463
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2464
- signatures?: {
2465
- protected: string;
2466
- signature: string;
2467
- header?: Record<string, unknown> | undefined;
2468
- }[] | undefined;
2469
- };
2470
- dependencies?: string[] | undefined;
2471
- }>;
2472
- }, "strip", z.ZodTypeAny, {
2473
- params: {
2474
- code: string;
2475
- name: string;
2476
- agentCard: {
2477
- description: string;
2478
- name: string;
2479
- url: string;
2480
- protocolVersion: string;
2481
- version: string;
2482
- capabilities: {
2483
- extensions?: {
2484
- uri: string;
2485
- params?: Record<string, unknown> | undefined;
2486
- description?: string | undefined;
2487
- required?: boolean | undefined;
2488
- }[] | undefined;
2489
- streaming?: boolean | undefined;
2490
- pushNotifications?: boolean | undefined;
2491
- stateTransitionHistory?: boolean | undefined;
2492
- };
2493
- defaultInputModes: string[];
2494
- defaultOutputModes: string[];
2495
- skills: {
2496
- description: string;
2497
- name: string;
2498
- id: string;
2499
- tags?: string[] | undefined;
2500
- examples?: string[] | undefined;
2501
- inputModes?: string[] | undefined;
2502
- outputModes?: string[] | undefined;
2503
- security?: Record<string, string[]>[] | undefined;
2504
- }[];
2505
- security?: Record<string, string[]>[] | undefined;
2506
- preferredTransport?: string | undefined;
2507
- additionalInterfaces?: {
2508
- url: string;
2509
- transport: string;
2510
- }[] | undefined;
2511
- iconUrl?: string | undefined;
2512
- provider?: {
2513
- url: string;
2514
- organization: string;
2515
- } | undefined;
2516
- documentationUrl?: string | undefined;
2517
- securitySchemes?: Record<string, {
2518
- type: "apiKey";
2519
- in: "query" | "header" | "cookie";
2520
- name: string;
2521
- description?: string | undefined;
2522
- } | {
2523
- type: "http";
2524
- scheme: string;
2525
- description?: string | undefined;
2526
- bearerFormat?: string | undefined;
2527
- } | {
2528
- type: "oauth2";
2529
- flows: {
2530
- authorizationCode?: {
2531
- authorizationUrl: string;
2532
- tokenUrl: string;
2533
- scopes: Record<string, string>;
2534
- refreshUrl?: string | undefined;
2535
- } | undefined;
2536
- clientCredentials?: {
2537
- tokenUrl: string;
2538
- scopes: Record<string, string>;
2539
- refreshUrl?: string | undefined;
2540
- } | undefined;
2541
- implicit?: {
2542
- authorizationUrl: string;
2543
- scopes: Record<string, string>;
2544
- refreshUrl?: string | undefined;
2545
- } | undefined;
2546
- password?: {
2547
- tokenUrl: string;
2548
- scopes: Record<string, string>;
2549
- refreshUrl?: string | undefined;
2550
- } | undefined;
2551
- };
2552
- description?: string | undefined;
2553
- oauth2MetadataUrl?: string | undefined;
2554
- } | {
2555
- type: "openIdConnect";
2556
- openIdConnectUrl: string;
2557
- description?: string | undefined;
2558
- } | {
2559
- type: "mutualTLS";
2560
- description?: string | undefined;
2561
- }> | undefined;
2562
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2563
- signatures?: {
2564
- protected: string;
2565
- signature: string;
2566
- header?: Record<string, unknown> | undefined;
2567
- }[] | undefined;
2568
- };
2569
- dependencies?: string[] | undefined;
2570
- };
2571
- jsonrpc: "2.0";
2572
- id: string | number;
2573
- method: "/test/deploy";
2574
- }, {
2575
- params: {
2576
- code: string;
2577
- name: string;
2578
- agentCard: {
2579
- description: string;
2580
- name: string;
2581
- url: string;
2582
- version: string;
2583
- capabilities: {
2584
- extensions?: {
2585
- uri: string;
2586
- params?: Record<string, unknown> | undefined;
2587
- description?: string | undefined;
2588
- required?: boolean | undefined;
2589
- }[] | undefined;
2590
- streaming?: boolean | undefined;
2591
- pushNotifications?: boolean | undefined;
2592
- stateTransitionHistory?: boolean | undefined;
2593
- };
2594
- defaultInputModes: string[];
2595
- defaultOutputModes: string[];
2596
- skills: {
2597
- description: string;
2598
- name: string;
2599
- id: string;
2600
- tags?: string[] | undefined;
2601
- examples?: string[] | undefined;
2602
- inputModes?: string[] | undefined;
2603
- outputModes?: string[] | undefined;
2604
- security?: Record<string, string[]>[] | undefined;
2605
- }[];
2606
- security?: Record<string, string[]>[] | undefined;
2607
- protocolVersion?: string | undefined;
2608
- preferredTransport?: string | undefined;
2609
- additionalInterfaces?: {
2610
- url: string;
2611
- transport: string;
2612
- }[] | undefined;
2613
- iconUrl?: string | undefined;
2614
- provider?: {
2615
- url: string;
2616
- organization: string;
2617
- } | undefined;
2618
- documentationUrl?: string | undefined;
2619
- securitySchemes?: Record<string, {
2620
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2621
- in: "query" | "header" | "cookie";
2622
- name: string;
2623
- description?: string | undefined;
2624
- } | {
2625
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2626
- scheme: string;
2627
- description?: string | undefined;
2628
- bearerFormat?: string | undefined;
2629
- } | {
2630
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2631
- flows: {
2632
- authorizationCode?: {
2633
- authorizationUrl: string;
2634
- tokenUrl: string;
2635
- scopes: Record<string, string>;
2636
- refreshUrl?: string | undefined;
2637
- } | undefined;
2638
- clientCredentials?: {
2639
- tokenUrl: string;
2640
- scopes: Record<string, string>;
2641
- refreshUrl?: string | undefined;
2642
- } | undefined;
2643
- implicit?: {
2644
- authorizationUrl: string;
2645
- scopes: Record<string, string>;
2646
- refreshUrl?: string | undefined;
2647
- } | undefined;
2648
- password?: {
2649
- tokenUrl: string;
2650
- scopes: Record<string, string>;
2651
- refreshUrl?: string | undefined;
2652
- } | undefined;
2653
- };
2654
- description?: string | undefined;
2655
- oauth2MetadataUrl?: string | undefined;
2656
- } | {
2657
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2658
- openIdConnectUrl: string;
2659
- description?: string | undefined;
2660
- } | {
2661
- type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
2662
- description?: string | undefined;
2663
- }> | undefined;
2664
- supportsAuthenticatedExtendedCard?: boolean | undefined;
2665
- signatures?: {
2666
- protected: string;
2667
- signature: string;
2668
- header?: Record<string, unknown> | undefined;
2669
- }[] | undefined;
2670
- };
2671
- dependencies?: string[] | undefined;
2672
- };
2673
- jsonrpc: "2.0";
2674
- id: string | number;
2675
- method: "/test/deploy";
2676
- }>;
2677
- export type TestServerDeploymentRequest = z.infer<typeof TestServerDeploymentRequestSchema>;
2678
- /**
2679
- * @description Represents the response for a server deployment success request.
2680
- */
2681
- export declare const ServerDeploymentSuccessResponseSchema: z.ZodObject<{
2682
- jsonrpc: z.ZodLiteral<"2.0">;
2683
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2684
- error: z.ZodOptional<z.ZodNever>;
2685
- } & {
2686
- result: z.ZodObject<{
2687
- /**
2688
- * @required The deployment ID(for full deployments the deployment ID is the same as the agent/registration ID)
2689
- */
2690
- deploymentId: z.ZodString;
2691
- /**
2692
- * @required Whether the deployment was successful
2693
- */
2694
- success: z.ZodBoolean;
2695
- } & {
2696
- /**
2697
- * @required The name of the server
2698
- */
2699
- name: z.ZodString;
2700
- /**
2701
- * @required The URL of the server
2702
- */
2703
- url: z.ZodString;
2704
- /**
2705
- * @required The base path of the server
2706
- */
2707
- basePath: z.ZodString;
2708
- }, "strip", z.ZodTypeAny, {
2709
- name: string;
2710
- url: string;
2711
- success: boolean;
2712
- basePath: string;
2713
- deploymentId: string;
2714
- }, {
2715
- name: string;
2716
- url: string;
2717
- success: boolean;
2718
- basePath: string;
2719
- deploymentId: string;
2720
- }>;
2721
- }, "strip", z.ZodTypeAny, {
2722
- jsonrpc: "2.0";
2723
- result: {
2724
- name: string;
2725
- url: string;
2726
- success: boolean;
2727
- basePath: string;
2728
- deploymentId: string;
2729
- };
2730
- id?: string | number | undefined;
2731
- error?: undefined;
2732
- }, {
2733
- jsonrpc: "2.0";
2734
- result: {
2735
- name: string;
2736
- url: string;
2737
- success: boolean;
2738
- basePath: string;
2739
- deploymentId: string;
2740
- };
2741
- id?: string | number | undefined;
2742
- error?: undefined;
2743
- }>;
2744
- export type ServerDeploymentSuccessResponse = z.infer<typeof ServerDeploymentSuccessResponseSchema>;
2745
- /**
2746
- * @description Represents the response for a server deployment request.
2747
- */
2748
- export declare const ServerDeploymentResponseSchema: z.ZodUnion<[z.ZodObject<{
2749
- jsonrpc: z.ZodLiteral<"2.0">;
2750
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2751
- error: z.ZodOptional<z.ZodNever>;
2752
- } & {
2753
- result: z.ZodObject<{
2754
- /**
2755
- * @required The deployment ID(for full deployments the deployment ID is the same as the agent/registration ID)
2756
- */
2757
- deploymentId: z.ZodString;
2758
- /**
2759
- * @required Whether the deployment was successful
2760
- */
2761
- success: z.ZodBoolean;
2762
- } & {
2763
- /**
2764
- * @required The name of the server
2765
- */
2766
- name: z.ZodString;
2767
- /**
2768
- * @required The URL of the server
2769
- */
2770
- url: z.ZodString;
2771
- /**
2772
- * @required The base path of the server
2773
- */
2774
- basePath: z.ZodString;
2775
- }, "strip", z.ZodTypeAny, {
2776
- name: string;
2777
- url: string;
2778
- success: boolean;
2779
- basePath: string;
2780
- deploymentId: string;
2781
- }, {
2782
- name: string;
2783
- url: string;
2784
- success: boolean;
2785
- basePath: string;
2786
- deploymentId: string;
2787
- }>;
2788
- }, "strip", z.ZodTypeAny, {
2789
- jsonrpc: "2.0";
2790
- result: {
2791
- name: string;
2792
- url: string;
2793
- success: boolean;
2794
- basePath: string;
2795
- deploymentId: string;
2796
- };
2797
- id?: string | number | undefined;
2798
- error?: undefined;
2799
- }, {
2800
- jsonrpc: "2.0";
2801
- result: {
2802
- name: string;
2803
- url: string;
2804
- success: boolean;
2805
- basePath: string;
2806
- deploymentId: string;
2807
- };
2808
- id?: string | number | undefined;
2809
- error?: undefined;
2810
- }>, z.ZodObject<{
2811
- jsonrpc: z.ZodLiteral<"2.0">;
2812
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2813
- } & {
2814
- result: z.ZodOptional<z.ZodNever>;
2815
- error: z.ZodObject<{
2816
- code: z.ZodNumber;
2817
- message: z.ZodString;
2818
- data: z.ZodOptional<z.ZodUnknown>;
2819
- }, "strip", z.ZodTypeAny, {
2820
- message: string;
2821
- code: number;
2822
- data?: unknown;
2823
- }, {
2824
- message: string;
2825
- code: number;
2826
- data?: unknown;
2827
- }>;
2828
- }, "strip", z.ZodTypeAny, {
2829
- jsonrpc: "2.0";
2830
- error: {
2831
- message: string;
2832
- code: number;
2833
- data?: unknown;
2834
- };
2835
- id?: string | number | undefined;
2836
- result?: undefined;
2837
- }, {
2838
- jsonrpc: "2.0";
2839
- error: {
2840
- message: string;
2841
- code: number;
2842
- data?: unknown;
2843
- };
2844
- id?: string | number | undefined;
2845
- result?: undefined;
2846
- }>]>;
2847
- export type ServerDeploymentResponse = z.infer<typeof ServerDeploymentResponseSchema>;
2848
- //# sourceMappingURL=request.d.ts.map