@artinet/sdk 0.5.7 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/README.md +22 -220
  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 +20 -26
  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 +0,0 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../../src/types/schemas/deployment/request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,mCAAmC;IAE5C;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CkE,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;QApFvC;;WAEG;;QAEH;;WAEG;;;QAcH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwDgE,CAAC;AAExE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./transform.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../src/types/utils/transform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH;;;GAGG;AACH,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,EAAE,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI;IAC3C,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM;CACjC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,MAAM,EAChB,MAAM,SAAS,YAA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,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnD;;OAEG;IACH,KAAY,aAAa,CACvB,CAAC,SAAS,MAAM,EAChB,QAAQ,SAAS,MAAM,CAAC,EACxB,MAAM,SAAS,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,IAC5C,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;CACxD"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { IRegistration } from "@artinet/metadata-validator";
6
- import { AgentCard } from "../../types/index.js";
7
- /**
8
- * Registers an agent with the A2A registry.
9
- * @param metadata The metadata to register.
10
- * @returns A promise that resolves to the registration ID.
11
- */
12
- export declare function apiRegister(metadata: string): Promise<{
13
- success: boolean;
14
- registrationId?: string;
15
- error?: string;
16
- }>;
17
- /**
18
- * Converts an AgentCard object into a RegistrationSchema object.
19
- * @param card The AgentCard to convert.
20
- * @returns A RegistrationSchema object.
21
- */
22
- export declare function convert(card: AgentCard): IRegistration;
23
- /**
24
- * Registers an agent with the A2A registry.
25
- * @param card The AgentCard to register.
26
- * @returns A promise that resolves to the registration ID.
27
- */
28
- export declare function register(card: AgentCard): Promise<string>;
29
- //# sourceMappingURL=register.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/utils/api/register.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAqB,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAC;AAG7D;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAgBxE;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,aAAa,CAiCtD;AAED;;;;GAIG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CA6C/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,6BAAyB;AAIpE,eAAO,MAAM,cAAc,GACzB,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,YAAW,MAA8B,KACxC,qBAWF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,YAAW,MAA8B,KACxC,qBAWF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,YAAW,MAA8B,KACxC,qBAWF,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAS,EAKnC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/errors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,QAAQ,EAUR,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EAEtB,4BAA4B,EAC5B,yBAAyB,EAGzB,qBAAqB,EACrB,cAAc,EACf,6BAAyB;AAE1B,qBAAa,WAAW,CAAC,CAAC,SAAS,YAAY,CAAE,SAAQ,KAAK;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC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d,CAAC;AAEJ,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,WAAW,MAAM,YAAkB,EACnC,YAAY,MAAM,KACjB,qBAcD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"zAsyncIterable-v3.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/zAsyncIterable-v3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,IAAI,EACjB,OAAO,SAAS,OAAO,GAAG,KAAK,EAC/B,IAAI,EAAE;IACN;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC;IAC3C;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;IAC/C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GA2BS,CAAC,CAAC,OAAO,CACf,aAAa,CACX,OAAO,SAAS,IAAI,GAAG,eAAe,CAAC,QAAQ,CAAC,GAAG,QAAQ,EAC3D,SAAS,EACT,OAAO,CACR,EACD,GAAG,EACH,aAAa,CACX,OAAO,SAAS,IAAI,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG,SAAS,EAC7D,UAAU,EACV,OAAO,CACR,CACF,CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"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CACZ,cAAc,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,EAC9C,aAAa,CAAC,QAAQ,EAAE,SAAS,CAAC,CACnC,CACF,CAAC"}
@@ -1,57 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { ClientFactory, ConnectAPICallback, TaskManager } from "../../types/schemas/deployment/index.js";
6
- export declare namespace artinet {
7
- namespace v0 {
8
- /**
9
- * Manages the execution of an agent's task.
10
- * This function is intended to be used within an agent's code when deployed to a
11
- * managed environment. It takes the agent's core task-handling generator function
12
- * and iterates over its yielded updates, passing them to a proxy function
13
- * made available by the host environment.
14
- *
15
- * The `TaskContext` and the `TaskProxy` (for yielding updates) are expected
16
- * to be provided by the host environment via `process.env`.
17
- *
18
- * @param {TaskManagerProps} props - The properties for the task manager, including the taskHandler.
19
- * @param {function(TaskContext): AsyncGenerator<any, any, unknown>} props.taskHandler - An asynchronous generator function that takes a `TaskContext`
20
- * and yields updates, eventually returning a `Task` or void.
21
- * @returns {Promise<void>} A promise that resolves when the task handler has completed.
22
- * @throws An error if the `taskManagerStub` or `context` is not set in `process.env`,
23
- * indicating an invalid runtime environment.
24
- */
25
- const taskManager: TaskManager;
26
- /**
27
- * Establishes a connection or sends a request to another agent or service.
28
- * This function proxies requests to a host-provided implementation, enabling
29
- * agents in a managed environment to make external calls (e.g., to an LLM or another agent)
30
- * without needing direct network access or credentials. The actual implementation
31
- * is delegated to `env.connectStub`, provided by the host environment.
32
- *
33
- * @param {ConnectProps} props - The properties for the connect call, including the target agentID and messages.
34
- * @param {string} props.agentID - The identifier of the target agent or LLM to which the request is directed.
35
- * @param {object[]} props.messages - An array of messages forming the conversation history or prompt.
36
- * @returns {Promise<string>} A promise that resolves to the string response from the target agent/LLM or a connection identifier.
37
- * @throws An error if `env.connectStub` is not found,
38
- * indicating an invalid runtime environment.
39
- */
40
- const connect: ConnectAPICallback;
41
- /**
42
- * Creates a client proxy for interacting with other agents or services.
43
- * This function acts as a factory to obtain a `ClientProxy` instance.
44
- * The actual implementation of the client factory is delegated to `env.clientStub`,
45
- * provided by the host environment. This allows agents to communicate with
46
- * other entities in a managed environment without direct awareness of the
47
- * underlying communication mechanisms.
48
- *
49
- * @param {ClientProps} props - The properties for creating the client.
50
- * @returns {ClientProxy} A proxy object for interacting with a client service or agent.
51
- * @throws An error if `env.clientStub` is not found,
52
- * indicating an invalid runtime environment.
53
- */
54
- const agent: ClientFactory;
55
- }
56
- }
57
- //# sourceMappingURL=agents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/agents.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,aAAa,EAGb,kBAAkB,EAElB,WAAW,EAGZ,gDAA4C;AAM7C,yBAAiB,OAAO,CAAC;IAEvB,UAAiB,EAAE,CAAC;QAClB;;;;;;;;;;;;;;;;WAgBG;QACI,MAAM,WAAW,EAAE,WA0BzB,CAAC;QAEF;;;;;;;;;;;;;WAaG;QACI,MAAM,OAAO,EAAE,kBAWrB,CAAC;QAEF;;;;;;;;;;;;WAYG;QACI,MAAM,KAAK,EAAE,aASnB,CAAC;KACH;CACF"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- /**
6
- * Bundles a given JavaScript or TypeScript file into a single minified ES module string.
7
- * This utility leverages `esbuild` for efficient bundling, minification, and sourcemap generation.
8
- * It's designed to prepare agent code for deployment by packaging it and its local dependencies.
9
- *
10
- * @param filePath - The URL of the entry point file to bundle.
11
- * @returns A promise that resolves to a string containing the bundled and minified code.
12
- * @throws An error if the file path does not exist, is not a file, or if bundling fails for any reason.
13
- */
14
- export declare function bundle(filePath: URL): Promise<string>;
15
- //# sourceMappingURL=bundler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundler.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/bundler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;;;;;;;GAQG;AACH,wBAAsB,MAAM,CAAC,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,CA4C3D"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { ServerDeploymentRequestParams } from "../../types/schemas/deployment/index.js";
6
- /**
7
- * Sends a full deployment request to the server.
8
- * @param params The parameters to pass to the method.
9
- * @returns The response from the server.
10
- */
11
- export declare function fullDeployment(params: ServerDeploymentRequestParams): Promise<{
12
- name: string;
13
- url: string;
14
- success: boolean;
15
- basePath: string;
16
- deploymentId: string;
17
- }>;
18
- //# sourceMappingURL=full-deployment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"full-deployment.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/full-deployment.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,6BAA6B,EAG9B,gDAA4C;AAoC7C;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,6BAA6B;;;;;;GAYzE"}
@@ -1,5 +0,0 @@
1
- export * from "../../types/schemas/deployment/index.js";
2
- export * from "./bundler.js";
3
- export * from "./full-deployment.js";
4
- export * from "./test-deployment.js";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/index.ts"],"names":[],"mappings":"AAAA,wDAAoD;AACpD,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { AgentEngine } from "../../types/index.js";
6
- /**
7
- * @fileoverview This module provides proxy functions for agent task handling and
8
- * fetching responses within a managed deployment environment. These proxies
9
- * abstract the communication with the host environment, allowing agent code to
10
- * remain clean and focused on its core logic.
11
- */
12
- /**
13
- * Proxies task execution to a host-provided handler.
14
- * This function is intended to be used within an agent's code when deployed to a
15
- * managed environment. It takes the agent's core task-handling generator function
16
- * and iterates over its yielded updates, passing them to a `hostOnYield` function
17
- * made available in the `env` by the host environment.
18
- *
19
- * The `Context` (ExecutionContext) is also expected to be provided by the host environment via `env`.
20
- * @deprecated This function is deprecated and will be removed in a future version. Use the `Artinet.v0.taskManager` function instead.
21
- * @param taskHandler - An asynchronous generator function that takes a `ExecutionContext`
22
- * and yields `UpdateEvent` objects, eventually returning a `Task` or void.
23
- * @throws An error if the required `env.hostOnYield` or `env.Context` are not found,
24
- * indicating an invalid runtime environment.
25
- */
26
- export declare const taskHandlerProxy: (taskHandler: AgentEngine) => Promise<void>;
27
- /**
28
- * Proxies requests to fetch responses from other agents or LLMs to a host-provided implementation.
29
- * This allows agents in a managed environment to make external calls (e.g., to an LLM)
30
- * without needing direct network access or credentials. The actual implementation of fetching
31
- * the response is delegated to `env.hostFetchResponse`, provided by the host environment.
32
- * @deprecated This function is deprecated and will be removed in a future version. Use the `Artinet.v0.connect` function instead.
33
- * @param agentID - The identifier of the target agent or LLM to which the request is directed.
34
- * @param messages - An array of messages forming the conversation history or prompt.
35
- * @returns A promise that resolves to the string response from the target agent/LLM.
36
- * @throws An error if the required `env.hostFetchResponse` is not found,
37
- * indicating an invalid runtime environment.
38
- */
39
- export declare const fetchResponseProxy: (agentID: string, messages: {
40
- role: string;
41
- content: string;
42
- }[]) => Promise<string>;
43
- //# sourceMappingURL=task-wrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/task-wrapper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAAU,aAAa,WAAW,kBAE9D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EACf,UAAU;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,KAC5C,OAAO,CAAC,MAAM,CAEhB,CAAC"}
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { ServerDeploymentRequestParams, ServerDeploymentSuccessResponseParams } from "../../types/schemas/deployment/index.js";
6
- import { Task, SendMessageRequest, Message } from "../../types/index.js";
7
- /**
8
- * Tests an agent deployment by sending its code to a test deployment endpoint
9
- * and then issuing a series of test task requests to the deployed agent.
10
- *
11
- * This function first initiates a deployment to `https://agents.artinet.io/test/deploy`,
12
- * streaming deployment status events. Once a successful deployment event with a URL
13
- * is received, it creates an `A2AClient` for that URL and sends each of the provided
14
- * `SendTaskRequest`s to the deployed agent.
15
- *
16
- * It yields all events from the deployment stream and all resulting tasks from the
17
- * test requests.
18
- *
19
- * @param params - The parameters for the server deployment, including the agent's
20
- * name, agent card, and the bundled code.
21
- * @param requests - An array of `SendTaskRequest` objects to be sent to the
22
- * deployed agent for testing.
23
- * @returns An asynchronous iterable that yields `ServerDeploymentResponse` events
24
- * during the deployment phase, and `Task` objects resulting from the
25
- * test requests. Yields `null` for other event types not explicitly handled.
26
- */
27
- export declare function testDeployment(params: ServerDeploymentRequestParams, requests: SendMessageRequest[]): AsyncIterable<Message | Task | ServerDeploymentSuccessResponseParams | null>;
28
- //# sourceMappingURL=test-deployment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"test-deployment.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/test-deployment.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,6BAA6B,EAG7B,qCAAqC,EACtC,gDAA4C;AAC7C,OAAO,EAEL,IAAI,EACJ,kBAAkB,EAClB,OAAO,EAER,6BAAyB;AAqB1B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAuB,cAAc,CACnC,MAAM,EAAE,6BAA6B,EACrC,QAAQ,EAAE,kBAAkB,EAAE,GAC7B,aAAa,CACd,OAAO,GAAG,IAAI,GAAG,qCAAqC,GAAG,IAAI,CAC9D,CA2CA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/logging/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/utils/logging/log.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,OAAO,GACb,IAAI,CAMN;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,OAAO,EACd,IAAI,CAAC,EAAE,OAAO,GACb,IAAI,CASN;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,OAAO,GACb,IAAI,CAMN;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,OAAO,GACb,IAAI,CAMN"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- export type LogLevel = "silent" | "error" | "warn" | "info" | "debug" | "trace";
6
- /**
7
- * SDK logger instance
8
- */
9
- export declare const logger: import("pino").Logger<never, boolean>;
10
- /**
11
- * Configures the logger with the specified options
12
- *
13
- * @param options - Logger configuration options
14
- */
15
- export declare function configureLogger(options: {
16
- level?: LogLevel;
17
- name?: string;
18
- prettyPrint?: boolean;
19
- }): import("pino").Logger<never, boolean>;
20
- //# sourceMappingURL=logger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/utils/logging/logger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AA4BhF;;GAEG;AACH,eAAO,MAAM,MAAM,uCAAa,CAAC;AAEjC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE;IACvC,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,yCAOA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../src/utils/storage/file.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,cAAc,EACd,oBAAoB,EAGrB,6BAAyB;AAK1B;;;GAGG;AACH,qBAAa,SAAU,YAAW,oBAAoB,CAAC,cAAc,CAAC;IACpE,OAAO,CAAC,OAAO,CAAS;IAExB;;;OAGG;gBACS,OAAO,EAAE,MAAM;IAI3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAIvB;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;;OAGG;YACW,aAAa;IAa3B;;;;;OAKG;YACW,aAAa;IAY3B;;;;OAIG;YACW,YAAY;IAc1B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;;;OAIG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IA4CvD;;;;OAIG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAmB7D,SAAS,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAIrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../src/utils/storage/memory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,6BAAyB;AAGxE;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,oBAAoB,CAAC,cAAc,CAAC;IAC5E,OAAO,CAAC,KAAK,CAA0C;IAEvD;;;;OAIG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAanE;;;;OAIG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAY7D,SAAS,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAGrC"}
@@ -1,107 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { MetadataValidator } from "@artinet/metadata-validator";
6
- import { logDebug, logInfo, logWarn } from "../logging/log.js";
7
- /**
8
- * Registers an agent with the A2A registry.
9
- * @param metadata The metadata to register.
10
- * @returns A promise that resolves to the registration ID.
11
- */
12
- export async function apiRegister(metadata) {
13
- const restResponse = await fetch("https://api.artinet.io/register", {
14
- method: "POST",
15
- headers: {
16
- "Content-Type": "application/json",
17
- "Access-Control-Allow-Origin": "*",
18
- "Access-Control-Allow-Headers": "*",
19
- "Access-Control-Allow-Methods": "*",
20
- "Access-Control-Allow-Credentials": "true",
21
- },
22
- body: JSON.stringify({
23
- registrationPayload: metadata,
24
- }),
25
- });
26
- const response = await restResponse.json();
27
- return JSON.parse(response.body).registrationResponse;
28
- }
29
- /**
30
- * Converts an AgentCard object into a RegistrationSchema object.
31
- * @param card The AgentCard to convert.
32
- * @returns A RegistrationSchema object.
33
- */
34
- export function convert(card) {
35
- // Extract skill names for capabilities and tags, limiting capabilities to 5
36
- const skillNames = card.skills.map((skill) => skill.name);
37
- const capabilities = skillNames.slice(0, 5); // Type assertion based on slice limit
38
- // Determine if authentication is required based on the agent card, ensuring type is boolean | undefined
39
- const requiresAuth = !!card.security?.length;
40
- const registration = {
41
- schemaVersion: "1.0.0",
42
- serviceName: card.name,
43
- description: card.description ?? "sdk-generated registration for " + card.name,
44
- version: card.version,
45
- capabilities: capabilities,
46
- tags: ["a2a"],
47
- communication: {
48
- endpoints: [
49
- {
50
- url: card.url,
51
- type: "jsonrpc",
52
- authentication: requiresAuth,
53
- description: "Primary agent interaction endpoint",
54
- protocols: ["jsonrpc-2.0", "a2a"],
55
- },
56
- ],
57
- },
58
- metadata: {
59
- agentCard: card,
60
- },
61
- };
62
- return registration;
63
- }
64
- /**
65
- * Registers an agent with the A2A registry.
66
- * @param card The AgentCard to register.
67
- * @returns A promise that resolves to the registration ID.
68
- */
69
- export async function register(card) {
70
- if (!card) {
71
- logWarn("A2AServer", "No card provided");
72
- return "";
73
- }
74
- if (card.url === undefined ||
75
- card.url === null ||
76
- card.url === "" ||
77
- card.url.includes("localhost") ||
78
- card.url.includes("127.0.0.1")) {
79
- logDebug("A2AServer", "Invalid URL provided", card.url);
80
- return "";
81
- }
82
- try {
83
- const registration = convert(card);
84
- logInfo("A2AServer", "Registration", registration);
85
- const validator = new MetadataValidator();
86
- const { isValid, error: validationError } = await validator.validateMetadata(registration);
87
- if (!isValid) {
88
- logDebug("A2AServer", "Validation failed", validationError);
89
- throw new Error(validationError);
90
- }
91
- const { success, error, registrationId } = await apiRegister(JSON.stringify(registration));
92
- if (!success || !registrationId) {
93
- logDebug("A2AServer", "API registration failed", error);
94
- throw new Error(error);
95
- }
96
- logInfo("A2AServer", "Registration successful", registrationId);
97
- return registrationId;
98
- }
99
- catch (error) {
100
- //we dont want to throw an error here, because we want to allow the server to start even if registration fails
101
- //we will log the error and return an empty string
102
- //it is up to the developer to decide if they want to register their server or not
103
- logWarn("A2AServer", "Registration failed", error);
104
- return "";
105
- }
106
- }
107
- //# sourceMappingURL=register.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register.js","sourceRoot":"","sources":["../../../src/utils/api/register.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAiB,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE/E,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,QAAgB;IAEhB,MAAM,YAAY,GAAQ,MAAM,KAAK,CAAC,iCAAiC,EAAE;QACvE,MAAM,EAAE,MAAM;QACd,OAAO,EAAE;YACP,cAAc,EAAE,kBAAkB;YAClC,6BAA6B,EAAE,GAAG;YAClC,8BAA8B,EAAE,GAAG;YACnC,8BAA8B,EAAE,GAAG;YACnC,kCAAkC,EAAE,MAAM;SAC3C;QACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;YACnB,mBAAmB,EAAE,QAAQ;SAC9B,CAAC;KACH,CAAC,CAAC;IACH,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,IAAI,EAAE,CAAC;IAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC;AACxD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,IAAe;IACrC,4EAA4E;IAC5E,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACtE,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAkC,CAAC,CAAC,sCAAsC;I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AO,CAAC,IAAI,CAAC,CAAC;QACnC,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC;QAEnD,MAAM,SAAS,GAAG,IAAI,iBAAiB,EAAE,CAAC;QAC1C,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,GACvC,MAAM,SAAS,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,QAAQ,CAAC,WAAW,EAAE,mBAAmB,EAAE,eAAe,CAAC,CAAC;YAC5D,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QACD,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,MAAM,WAAW,CAC1D,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAC7B,CAAC;QACF,IAAI,CAAC,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;YAChC,QAAQ,CAAC,WAAW,EAAE,yBAAyB,EAAE,KAAK,CAAC,CAAC;YACxD,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,CAAC,WAAW,EAAE,yBAAyB,EAAE,cAAc,CAAC,CAAC;QAChE,OAAO,cAAc,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,8GAA8G;QAC9G,kDAAkD;QAClD,kFAAkF;QAClF,OAAO,CAAC,WAAW,EAAE,qBAAqB,EAAE,KAAK,CAAC,CAAC;QACnD,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
@@ -1,96 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- const env = process.env;
6
- // eslint-disable-next-line @typescript-eslint/no-namespace
7
- export var artinet;
8
- (function (artinet) {
9
- // eslint-disable-next-line @typescript-eslint/no-namespace
10
- let v0;
11
- (function (v0) {
12
- /**
13
- * Manages the execution of an agent's task.
14
- * This function is intended to be used within an agent's code when deployed to a
15
- * managed environment. It takes the agent's core task-handling generator function
16
- * and iterates over its yielded updates, passing them to a proxy function
17
- * made available by the host environment.
18
- *
19
- * The `TaskContext` and the `TaskProxy` (for yielding updates) are expected
20
- * to be provided by the host environment via `process.env`.
21
- *
22
- * @param {TaskManagerProps} props - The properties for the task manager, including the taskHandler.
23
- * @param {function(TaskContext): AsyncGenerator<any, any, unknown>} props.taskHandler - An asynchronous generator function that takes a `TaskContext`
24
- * and yields updates, eventually returning a `Task` or void.
25
- * @returns {Promise<void>} A promise that resolves when the task handler has completed.
26
- * @throws An error if the `taskManagerStub` or `context` is not set in `process.env`,
27
- * indicating an invalid runtime environment.
28
- */
29
- v0.taskManager = async (props) => {
30
- const { taskHandler } = props;
31
- if (!env.taskManagerStub && !env.context) {
32
- console.warn("taskManager: taskManagerStub or context is not set", "task-manager");
33
- return;
34
- }
35
- const context = env.context;
36
- const taskManagerProxy = env.taskManagerStub;
37
- if (!taskManagerProxy || !context) {
38
- console.warn("taskManager: taskManagerStub or context is not set", "task-manager");
39
- return;
40
- }
41
- const generator = taskHandler(context);
42
- for await (const yieldValue of generator) {
43
- console.info("taskManager: yieldValue", "task-manager", yieldValue);
44
- taskManagerProxy(yieldValue);
45
- }
46
- };
47
- /**
48
- * Establishes a connection or sends a request to another agent or service.
49
- * This function proxies requests to a host-provided implementation, enabling
50
- * agents in a managed environment to make external calls (e.g., to an LLM or another agent)
51
- * without needing direct network access or credentials. The actual implementation
52
- * is delegated to `env.connectStub`, provided by the host environment.
53
- *
54
- * @param {ConnectProps} props - The properties for the connect call, including the target agentID and messages.
55
- * @param {string} props.agentID - The identifier of the target agent or LLM to which the request is directed.
56
- * @param {object[]} props.messages - An array of messages forming the conversation history or prompt.
57
- * @returns {Promise<string>} A promise that resolves to the string response from the target agent/LLM or a connection identifier.
58
- * @throws An error if `env.connectStub` is not found,
59
- * indicating an invalid runtime environment.
60
- */
61
- v0.connect = async (props) => {
62
- if (!env.connectStub) {
63
- throw new Error("connectStub is not set");
64
- }
65
- const connectProxy = env.connectStub;
66
- if (!connectProxy) {
67
- throw new Error("connectStub is not set");
68
- }
69
- return connectProxy(props);
70
- };
71
- /**
72
- * Creates a client proxy for interacting with other agents or services.
73
- * This function acts as a factory to obtain a `ClientProxy` instance.
74
- * The actual implementation of the client factory is delegated to `env.clientStub`,
75
- * provided by the host environment. This allows agents to communicate with
76
- * other entities in a managed environment without direct awareness of the
77
- * underlying communication mechanisms.
78
- *
79
- * @param {ClientProps} props - The properties for creating the client.
80
- * @returns {ClientProxy} A proxy object for interacting with a client service or agent.
81
- * @throws An error if `env.clientStub` is not found,
82
- * indicating an invalid runtime environment.
83
- */
84
- v0.agent = (props) => {
85
- if (!env.clientStub) {
86
- throw new Error("clientStub is not set");
87
- }
88
- const clientProxy = env.clientStub;
89
- if (!clientProxy) {
90
- throw new Error("clientStub is not set");
91
- }
92
- return clientProxy(props);
93
- };
94
- })(v0 = artinet.v0 || (artinet.v0 = {}));
95
- })(artinet || (artinet = {}));
96
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/utils/deployment/agents.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;AAExB,2DAA2D;AAC3D,MAAM,KAAW,OAAO,CAmGvB;AAnGD,WAAiB,OAAO;IACtB,2DAA2D;IAC3D,IAAiB,EAAE,CAgGlB;IAhGD,WAAiB,EAAE;QACjB;;;;;;;;;;;;;;;;WAgBG;QACU,cAAW,GAAgB,KAAK,EAAE,KAAuB,EAAE,EAAE;YACxE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;YAC9B,IAAI,CAAC,GAAG,CAAC,eAAe,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;gBACzC,OAAO,CAAC,IAAI,CACV,oDAAoD,EACpD,cAAc,CACf,C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,CAAC,CAAC;YAC3C,CAAC;YACD,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC,EAhGgB,EAAE,GAAF,UAAE,KAAF,UAAE,QAgGlB;AACH,CAAC,EAnGgB,OAAO,KAAP,OAAO,QAmGvB"}
@@ -1,52 +0,0 @@
1
- /**
2
- * Copyright 2025 The Artinet Project
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import { logDebug, logError } from "../logging/log.js";
6
- import * as esbuild from "esbuild";
7
- import { fileURLToPath } from "node:url";
8
- /**
9
- * Bundles a given JavaScript or TypeScript file into a single minified ES module string.
10
- * This utility leverages `esbuild` for efficient bundling, minification, and sourcemap generation.
11
- * It's designed to prepare agent code for deployment by packaging it and its local dependencies.
12
- *
13
- * @param filePath - The URL of the entry point file to bundle.
14
- * @returns A promise that resolves to a string containing the bundled and minified code.
15
- * @throws An error if the file path does not exist, is not a file, or if bundling fails for any reason.
16
- */
17
- export async function bundle(filePath) {
18
- const entryPath = fileURLToPath(filePath);
19
- logDebug(`bundler: `, `Attempting to recursively read imports starting from:`, entryPath);
20
- try {
21
- const fs = await import("node:fs");
22
- const stats = fs.statSync(entryPath);
23
- if (!stats.isFile()) {
24
- logError(`bundler: `, `Filepath is not a file:`, entryPath);
25
- throw new Error(`// BUNDLING FAILED: Filepath is not a file: ${entryPath}`);
26
- }
27
- logDebug(`bundler: `, `Filepath exists:`, entryPath);
28
- }
29
- catch (err) {
30
- logError(`bundler: `, `Filepath does not exist:`, entryPath);
31
- throw new Error(`// BUNDLING FAILED: Filepath does not exist: ${entryPath}`);
32
- }
33
- try {
34
- const result = await esbuild.build({
35
- entryPoints: [entryPath],
36
- bundle: true,
37
- minify: true,
38
- sourcemap: false,
39
- platform: "node",
40
- format: "esm",
41
- write: false,
42
- });
43
- const output = result?.outputFiles?.[0]?.text ?? "";
44
- logDebug(`bundler: Successfully read and bundled code:`, output.length.toString());
45
- return output;
46
- }
47
- catch (err) {
48
- logError(`bundler: `, `Error during recursive read:`, err.message);
49
- throw new Error(`// BUNDLING FAILED: ${err.message}`);
50
- }
51
- }
52
- //# sourceMappingURL=bundler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundler.js","sourceRoot":"","sources":["../../../src/utils/deployment/bundler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAAC,QAAa;IACxC,MAAM,SAAS,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1C,QAAQ,CACN,WAAW,EACX,uDAAuD,EACvD,SAAS,CACV,CAAC;IACF,IAAI,CAAC;QACH,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,CAAC;QACnC,MAAM,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YACpB,QAAQ,CAAC,WAAW,EAAE,yBAAyB,EAAE,SAAS,CAAC,CAAC;YAC5D,MAAM,IAAI,KAAK,CACb,+CAA+C,SAAS,EAAE,CAC3D,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,WAAW,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;IACvD,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,QAAQ,CAAC,WAAW,EAAE,0BAA0B,EAAE,SAAS,CAAC,CAAC;QAC7D,MAAM,IAAI,KAAK,CACb,gDAAgD,SAAS,EAAE,CAC5D,CAAC;IACJ,CAAC;IAED,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC;YACjC,WAAW,EAAE,CAAC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