@corti/sdk 0.1.1 → 0.1.2-agents

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 (489) hide show
  1. package/README.md +17 -0
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +11 -6
  4. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
  5. package/dist/cjs/api/index.d.ts +4 -0
  6. package/dist/cjs/api/index.js +4 -0
  7. package/dist/cjs/api/resources/agents/client/Client.d.ts +195 -0
  8. package/dist/cjs/api/resources/agents/client/Client.js +874 -0
  9. package/dist/cjs/api/resources/agents/client/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/agents/client/index.js +17 -0
  11. package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.d.ts +20 -0
  12. package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.js +5 -0
  13. package/dist/cjs/api/resources/agents/client/requests/AgentsGetContextRequest.d.ts +17 -0
  14. package/dist/cjs/api/resources/agents/client/requests/AgentsGetContextRequest.js +5 -0
  15. package/dist/cjs/api/resources/agents/client/requests/AgentsGetTaskRequest.d.ts +13 -0
  16. package/dist/cjs/api/resources/agents/client/requests/AgentsGetTaskRequest.js +5 -0
  17. package/dist/cjs/api/resources/agents/client/requests/AgentsListRequest.d.ts +17 -0
  18. package/dist/cjs/api/resources/agents/client/requests/AgentsListRequest.js +5 -0
  19. package/dist/cjs/api/resources/agents/client/requests/index.d.ts +4 -0
  20. package/dist/cjs/api/resources/agents/client/requests/index.js +2 -0
  21. package/dist/cjs/api/resources/agents/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/agents/index.js +18 -0
  23. package/dist/cjs/api/resources/agents/types/AgentsCreateAgentExpertsItem.d.ts +13 -0
  24. package/dist/cjs/api/resources/agents/types/AgentsCreateAgentExpertsItem.js +5 -0
  25. package/dist/cjs/api/resources/agents/types/AgentsMessageSendResponse.d.ts +8 -0
  26. package/dist/cjs/api/resources/agents/types/AgentsMessageSendResponse.js +5 -0
  27. package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.d.ts +10 -0
  28. package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.js +5 -0
  29. package/dist/cjs/api/resources/agents/types/index.d.ts +3 -0
  30. package/dist/cjs/api/resources/agents/types/index.js +19 -0
  31. package/dist/cjs/api/resources/documents/client/Client.js +1 -7
  32. package/dist/cjs/api/resources/index.d.ts +3 -0
  33. package/dist/cjs/api/resources/index.js +4 -1
  34. package/dist/cjs/api/resources/recordings/client/Client.js +2 -14
  35. package/dist/cjs/api/types/AgentsAgent.d.ts +13 -0
  36. package/dist/cjs/api/types/AgentsAgent.js +5 -0
  37. package/dist/cjs/api/types/AgentsAgentCapabilities.d.ts +14 -0
  38. package/dist/cjs/api/types/AgentsAgentCapabilities.js +5 -0
  39. package/dist/cjs/api/types/AgentsAgentCard.d.ts +36 -0
  40. package/dist/cjs/api/types/AgentsAgentCard.js +5 -0
  41. package/dist/cjs/api/types/AgentsAgentCardPreferredTransport.d.ts +5 -0
  42. package/dist/cjs/api/types/AgentsAgentCardPreferredTransport.js +5 -0
  43. package/dist/cjs/api/types/AgentsAgentCardSignature.d.ts +11 -0
  44. package/dist/cjs/api/types/AgentsAgentCardSignature.js +5 -0
  45. package/dist/cjs/api/types/AgentsAgentExpertsItem.d.ts +13 -0
  46. package/dist/cjs/api/types/AgentsAgentExpertsItem.js +5 -0
  47. package/dist/cjs/api/types/AgentsAgentExtension.d.ts +13 -0
  48. package/dist/cjs/api/types/AgentsAgentExtension.js +5 -0
  49. package/dist/cjs/api/types/AgentsAgentInterface.d.ts +9 -0
  50. package/dist/cjs/api/types/AgentsAgentInterface.js +5 -0
  51. package/dist/cjs/api/types/AgentsAgentInterfaceTransport.d.ts +5 -0
  52. package/dist/cjs/api/types/AgentsAgentInterfaceTransport.js +5 -0
  53. package/dist/cjs/api/types/AgentsAgentReference.d.ts +13 -0
  54. package/dist/cjs/api/types/AgentsAgentReference.js +5 -0
  55. package/dist/cjs/api/types/AgentsAgentResponse.d.ts +5 -0
  56. package/dist/cjs/api/types/AgentsAgentResponse.js +5 -0
  57. package/dist/cjs/api/types/AgentsAgentSkill.d.ts +22 -0
  58. package/dist/cjs/api/types/AgentsAgentSkill.js +5 -0
  59. package/dist/cjs/api/types/AgentsArtifact.d.ts +18 -0
  60. package/dist/cjs/api/types/AgentsArtifact.js +5 -0
  61. package/dist/cjs/api/types/AgentsContext.d.ts +9 -0
  62. package/dist/cjs/api/types/AgentsContext.js +5 -0
  63. package/dist/cjs/api/types/AgentsContextItemsItem.d.ts +13 -0
  64. package/dist/cjs/api/types/AgentsContextItemsItem.js +5 -0
  65. package/dist/cjs/api/types/AgentsCreateExpert.d.ts +14 -0
  66. package/dist/cjs/api/types/AgentsCreateExpert.js +5 -0
  67. package/dist/cjs/api/types/AgentsCreateMcpServer.d.ts +20 -0
  68. package/dist/cjs/api/types/AgentsCreateMcpServer.js +5 -0
  69. package/dist/cjs/api/types/AgentsCreateMcpServerAuthorizationType.d.ts +12 -0
  70. package/dist/cjs/api/types/AgentsCreateMcpServerAuthorizationType.js +11 -0
  71. package/dist/cjs/api/types/AgentsCreateMcpServerTransportType.d.ts +12 -0
  72. package/dist/cjs/api/types/AgentsCreateMcpServerTransportType.js +11 -0
  73. package/dist/cjs/api/types/AgentsDataPart.d.ts +9 -0
  74. package/dist/cjs/api/types/AgentsDataPart.js +5 -0
  75. package/dist/cjs/api/types/AgentsExpert.d.ts +16 -0
  76. package/dist/cjs/api/types/AgentsExpert.js +5 -0
  77. package/dist/cjs/api/types/AgentsExpertReference.d.ts +12 -0
  78. package/dist/cjs/api/types/AgentsExpertReference.js +5 -0
  79. package/dist/cjs/api/types/AgentsFilePart.d.ts +9 -0
  80. package/dist/cjs/api/types/AgentsFilePart.js +5 -0
  81. package/dist/cjs/api/types/AgentsFilePartFile.d.ts +5 -0
  82. package/dist/cjs/api/types/AgentsFilePartFile.js +5 -0
  83. package/dist/cjs/api/types/AgentsFileWithBytes.d.ts +11 -0
  84. package/dist/cjs/api/types/AgentsFileWithBytes.js +5 -0
  85. package/dist/cjs/api/types/AgentsFileWithUri.d.ts +11 -0
  86. package/dist/cjs/api/types/AgentsFileWithUri.js +5 -0
  87. package/dist/cjs/api/types/AgentsMcpServer.d.ts +18 -0
  88. package/dist/cjs/api/types/AgentsMcpServer.js +5 -0
  89. package/dist/cjs/api/types/AgentsMcpServerAuthorizationType.d.ts +12 -0
  90. package/dist/cjs/api/types/AgentsMcpServerAuthorizationType.js +11 -0
  91. package/dist/cjs/api/types/AgentsMcpServerTransportType.d.ts +11 -0
  92. package/dist/cjs/api/types/AgentsMcpServerTransportType.js +10 -0
  93. package/dist/cjs/api/types/AgentsMessage.d.ts +22 -0
  94. package/dist/cjs/api/types/AgentsMessage.js +5 -0
  95. package/dist/cjs/api/types/AgentsMessageRole.d.ts +11 -0
  96. package/dist/cjs/api/types/AgentsMessageRole.js +10 -0
  97. package/dist/cjs/api/types/AgentsMessageSendConfiguration.d.ts +13 -0
  98. package/dist/cjs/api/types/AgentsMessageSendConfiguration.js +5 -0
  99. package/dist/cjs/api/types/AgentsMessageSendParams.d.ts +10 -0
  100. package/dist/cjs/api/types/AgentsMessageSendParams.js +5 -0
  101. package/dist/cjs/api/types/AgentsPart.d.ts +16 -0
  102. package/dist/cjs/api/types/AgentsPart.js +5 -0
  103. package/dist/cjs/api/types/AgentsPushNotificationAuthenticationInfo.d.ts +9 -0
  104. package/dist/cjs/api/types/AgentsPushNotificationAuthenticationInfo.js +5 -0
  105. package/dist/cjs/api/types/AgentsPushNotificationConfig.d.ts +13 -0
  106. package/dist/cjs/api/types/AgentsPushNotificationConfig.js +5 -0
  107. package/dist/cjs/api/types/AgentsTask.d.ts +17 -0
  108. package/dist/cjs/api/types/AgentsTask.js +5 -0
  109. package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.d.ts +19 -0
  110. package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.js +5 -0
  111. package/dist/cjs/api/types/AgentsTaskStatus.d.ts +12 -0
  112. package/dist/cjs/api/types/AgentsTaskStatus.js +5 -0
  113. package/dist/cjs/api/types/AgentsTaskStatusState.d.ts +18 -0
  114. package/dist/cjs/api/types/AgentsTaskStatusState.js +17 -0
  115. package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.d.ts +17 -0
  116. package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.js +5 -0
  117. package/dist/cjs/api/types/AgentsTextPart.d.ts +9 -0
  118. package/dist/cjs/api/types/AgentsTextPart.js +5 -0
  119. package/dist/cjs/api/types/AgentsTransportProtocol.d.ts +12 -0
  120. package/dist/cjs/api/types/AgentsTransportProtocol.js +11 -0
  121. package/dist/cjs/api/types/index.d.ts +43 -0
  122. package/dist/cjs/api/types/index.js +43 -0
  123. package/dist/cjs/core/index.d.ts +1 -0
  124. package/dist/cjs/core/index.js +1 -0
  125. package/dist/cjs/core/stream/Stream.d.ts +46 -0
  126. package/dist/cjs/core/stream/Stream.js +169 -0
  127. package/dist/cjs/core/stream/index.d.ts +1 -0
  128. package/dist/cjs/core/stream/index.js +5 -0
  129. package/dist/cjs/custom/CortiClient.d.ts +3 -0
  130. package/dist/cjs/custom/CortiClient.js +9 -4
  131. package/dist/cjs/custom/RefreshBearerProvider.d.ts +10 -5
  132. package/dist/cjs/custom/RefreshBearerProvider.js +1 -1
  133. package/dist/cjs/custom/index.d.ts +1 -0
  134. package/dist/cjs/custom/index.js +17 -0
  135. package/dist/cjs/serialization/resources/agents/client/index.d.ts +2 -0
  136. package/dist/cjs/serialization/resources/agents/client/index.js +41 -0
  137. package/dist/cjs/serialization/resources/agents/client/list.d.ts +11 -0
  138. package/dist/cjs/serialization/resources/agents/client/list.js +42 -0
  139. package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.d.ts +16 -0
  140. package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.js +47 -0
  141. package/dist/cjs/serialization/resources/agents/client/requests/index.d.ts +1 -0
  142. package/dist/cjs/serialization/resources/agents/client/requests/index.js +5 -0
  143. package/dist/cjs/serialization/resources/agents/index.d.ts +2 -0
  144. package/dist/cjs/serialization/resources/agents/index.js +18 -0
  145. package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.ts +18 -0
  146. package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.js +51 -0
  147. package/dist/cjs/serialization/resources/agents/types/AgentsMessageSendResponse.d.ts +15 -0
  148. package/dist/cjs/serialization/resources/agents/types/AgentsMessageSendResponse.js +46 -0
  149. package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.d.ts +19 -0
  150. package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.js +50 -0
  151. package/dist/cjs/serialization/resources/agents/types/index.d.ts +3 -0
  152. package/dist/cjs/serialization/resources/agents/types/index.js +19 -0
  153. package/dist/cjs/serialization/resources/index.d.ts +3 -0
  154. package/dist/cjs/serialization/resources/index.js +4 -1
  155. package/dist/cjs/serialization/types/AgentsAgent.d.ts +16 -0
  156. package/dist/cjs/serialization/types/AgentsAgent.js +47 -0
  157. package/dist/cjs/serialization/types/AgentsAgentCapabilities.d.ts +16 -0
  158. package/dist/cjs/serialization/types/AgentsAgentCapabilities.js +47 -0
  159. package/dist/cjs/serialization/types/AgentsAgentCard.d.ts +32 -0
  160. package/dist/cjs/serialization/types/AgentsAgentCard.js +65 -0
  161. package/dist/cjs/serialization/types/AgentsAgentCardPreferredTransport.d.ts +11 -0
  162. package/dist/cjs/serialization/types/AgentsAgentCardPreferredTransport.js +42 -0
  163. package/dist/cjs/serialization/types/AgentsAgentCardSignature.d.ts +14 -0
  164. package/dist/cjs/serialization/types/AgentsAgentCardSignature.js +45 -0
  165. package/dist/cjs/serialization/types/AgentsAgentExpertsItem.d.ts +18 -0
  166. package/dist/cjs/serialization/types/AgentsAgentExpertsItem.js +51 -0
  167. package/dist/cjs/serialization/types/AgentsAgentExtension.d.ts +15 -0
  168. package/dist/cjs/serialization/types/AgentsAgentExtension.js +46 -0
  169. package/dist/cjs/serialization/types/AgentsAgentInterface.d.ts +14 -0
  170. package/dist/cjs/serialization/types/AgentsAgentInterface.js +45 -0
  171. package/dist/cjs/serialization/types/AgentsAgentInterfaceTransport.d.ts +11 -0
  172. package/dist/cjs/serialization/types/AgentsAgentInterfaceTransport.js +42 -0
  173. package/dist/cjs/serialization/types/AgentsAgentReference.d.ts +14 -0
  174. package/dist/cjs/serialization/types/AgentsAgentReference.js +45 -0
  175. package/dist/cjs/serialization/types/AgentsAgentResponse.d.ts +12 -0
  176. package/dist/cjs/serialization/types/AgentsAgentResponse.js +43 -0
  177. package/dist/cjs/serialization/types/AgentsAgentSkill.d.ts +20 -0
  178. package/dist/cjs/serialization/types/AgentsAgentSkill.js +51 -0
  179. package/dist/cjs/serialization/types/AgentsArtifact.d.ts +18 -0
  180. package/dist/cjs/serialization/types/AgentsArtifact.js +49 -0
  181. package/dist/cjs/serialization/types/AgentsContext.d.ts +14 -0
  182. package/dist/cjs/serialization/types/AgentsContext.js +45 -0
  183. package/dist/cjs/serialization/types/AgentsContextItemsItem.d.ts +18 -0
  184. package/dist/cjs/serialization/types/AgentsContextItemsItem.js +51 -0
  185. package/dist/cjs/serialization/types/AgentsCreateExpert.d.ts +16 -0
  186. package/dist/cjs/serialization/types/AgentsCreateExpert.js +47 -0
  187. package/dist/cjs/serialization/types/AgentsCreateMcpServer.d.ts +20 -0
  188. package/dist/cjs/serialization/types/AgentsCreateMcpServer.js +51 -0
  189. package/dist/cjs/serialization/types/AgentsCreateMcpServerAuthorizationType.d.ts +10 -0
  190. package/dist/cjs/serialization/types/AgentsCreateMcpServerAuthorizationType.js +41 -0
  191. package/dist/cjs/serialization/types/AgentsCreateMcpServerTransportType.d.ts +10 -0
  192. package/dist/cjs/serialization/types/AgentsCreateMcpServerTransportType.js +41 -0
  193. package/dist/cjs/serialization/types/AgentsDataPart.d.ts +13 -0
  194. package/dist/cjs/serialization/types/AgentsDataPart.js +44 -0
  195. package/dist/cjs/serialization/types/AgentsExpert.d.ts +17 -0
  196. package/dist/cjs/serialization/types/AgentsExpert.js +48 -0
  197. package/dist/cjs/serialization/types/AgentsExpertReference.d.ts +13 -0
  198. package/dist/cjs/serialization/types/AgentsExpertReference.js +44 -0
  199. package/dist/cjs/serialization/types/AgentsFilePart.d.ts +14 -0
  200. package/dist/cjs/serialization/types/AgentsFilePart.js +45 -0
  201. package/dist/cjs/serialization/types/AgentsFilePartFile.d.ts +12 -0
  202. package/dist/cjs/serialization/types/AgentsFilePartFile.js +43 -0
  203. package/dist/cjs/serialization/types/AgentsFileWithBytes.d.ts +14 -0
  204. package/dist/cjs/serialization/types/AgentsFileWithBytes.js +45 -0
  205. package/dist/cjs/serialization/types/AgentsFileWithUri.d.ts +14 -0
  206. package/dist/cjs/serialization/types/AgentsFileWithUri.js +45 -0
  207. package/dist/cjs/serialization/types/AgentsMcpServer.d.ts +19 -0
  208. package/dist/cjs/serialization/types/AgentsMcpServer.js +50 -0
  209. package/dist/cjs/serialization/types/AgentsMcpServerAuthorizationType.d.ts +10 -0
  210. package/dist/cjs/serialization/types/AgentsMcpServerAuthorizationType.js +41 -0
  211. package/dist/cjs/serialization/types/AgentsMcpServerTransportType.d.ts +10 -0
  212. package/dist/cjs/serialization/types/AgentsMcpServerTransportType.js +41 -0
  213. package/dist/cjs/serialization/types/AgentsMessage.d.ts +21 -0
  214. package/dist/cjs/serialization/types/AgentsMessage.js +52 -0
  215. package/dist/cjs/serialization/types/AgentsMessageRole.d.ts +10 -0
  216. package/dist/cjs/serialization/types/AgentsMessageRole.js +41 -0
  217. package/dist/cjs/serialization/types/AgentsMessageSendConfiguration.d.ts +16 -0
  218. package/dist/cjs/serialization/types/AgentsMessageSendConfiguration.js +47 -0
  219. package/dist/cjs/serialization/types/AgentsMessageSendParams.d.ts +16 -0
  220. package/dist/cjs/serialization/types/AgentsMessageSendParams.js +47 -0
  221. package/dist/cjs/serialization/types/AgentsPart.d.ts +22 -0
  222. package/dist/cjs/serialization/types/AgentsPart.js +53 -0
  223. package/dist/cjs/serialization/types/AgentsPushNotificationAuthenticationInfo.d.ts +13 -0
  224. package/dist/cjs/serialization/types/AgentsPushNotificationAuthenticationInfo.js +44 -0
  225. package/dist/cjs/serialization/types/AgentsPushNotificationConfig.d.ts +16 -0
  226. package/dist/cjs/serialization/types/AgentsPushNotificationConfig.js +47 -0
  227. package/dist/cjs/serialization/types/AgentsTask.d.ts +20 -0
  228. package/dist/cjs/serialization/types/AgentsTask.js +51 -0
  229. package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.d.ts +19 -0
  230. package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.js +50 -0
  231. package/dist/cjs/serialization/types/AgentsTaskStatus.d.ts +16 -0
  232. package/dist/cjs/serialization/types/AgentsTaskStatus.js +47 -0
  233. package/dist/cjs/serialization/types/AgentsTaskStatusState.d.ts +10 -0
  234. package/dist/cjs/serialization/types/AgentsTaskStatusState.js +51 -0
  235. package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.d.ts +18 -0
  236. package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.js +49 -0
  237. package/dist/cjs/serialization/types/AgentsTextPart.d.ts +13 -0
  238. package/dist/cjs/serialization/types/AgentsTextPart.js +44 -0
  239. package/dist/cjs/serialization/types/AgentsTransportProtocol.d.ts +10 -0
  240. package/dist/cjs/serialization/types/AgentsTransportProtocol.js +41 -0
  241. package/dist/cjs/serialization/types/index.d.ts +43 -0
  242. package/dist/cjs/serialization/types/index.js +43 -0
  243. package/dist/cjs/version.d.ts +1 -1
  244. package/dist/cjs/version.js +1 -1
  245. package/dist/esm/Client.d.mts +3 -0
  246. package/dist/esm/Client.mjs +7 -2
  247. package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
  248. package/dist/esm/api/index.d.mts +4 -0
  249. package/dist/esm/api/index.mjs +4 -0
  250. package/dist/esm/api/resources/agents/client/Client.d.mts +195 -0
  251. package/dist/esm/api/resources/agents/client/Client.mjs +837 -0
  252. package/dist/esm/api/resources/agents/client/index.d.mts +2 -0
  253. package/dist/esm/api/resources/agents/client/index.mjs +1 -0
  254. package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.d.mts +20 -0
  255. package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.mjs +4 -0
  256. package/dist/esm/api/resources/agents/client/requests/AgentsGetContextRequest.d.mts +17 -0
  257. package/dist/esm/api/resources/agents/client/requests/AgentsGetContextRequest.mjs +4 -0
  258. package/dist/esm/api/resources/agents/client/requests/AgentsGetTaskRequest.d.mts +13 -0
  259. package/dist/esm/api/resources/agents/client/requests/AgentsGetTaskRequest.mjs +4 -0
  260. package/dist/esm/api/resources/agents/client/requests/AgentsListRequest.d.mts +17 -0
  261. package/dist/esm/api/resources/agents/client/requests/AgentsListRequest.mjs +4 -0
  262. package/dist/esm/api/resources/agents/client/requests/index.d.mts +4 -0
  263. package/dist/esm/api/resources/agents/client/requests/index.mjs +1 -0
  264. package/dist/esm/api/resources/agents/index.d.mts +2 -0
  265. package/dist/esm/api/resources/agents/index.mjs +2 -0
  266. package/dist/esm/api/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +13 -0
  267. package/dist/esm/api/resources/agents/types/AgentsCreateAgentExpertsItem.mjs +4 -0
  268. package/dist/esm/api/resources/agents/types/AgentsMessageSendResponse.d.mts +8 -0
  269. package/dist/esm/api/resources/agents/types/AgentsMessageSendResponse.mjs +4 -0
  270. package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.d.mts +10 -0
  271. package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.mjs +4 -0
  272. package/dist/esm/api/resources/agents/types/index.d.mts +3 -0
  273. package/dist/esm/api/resources/agents/types/index.mjs +3 -0
  274. package/dist/esm/api/resources/documents/client/Client.mjs +1 -7
  275. package/dist/esm/api/resources/index.d.mts +3 -0
  276. package/dist/esm/api/resources/index.mjs +3 -0
  277. package/dist/esm/api/resources/recordings/client/Client.mjs +2 -14
  278. package/dist/esm/api/types/AgentsAgent.d.mts +13 -0
  279. package/dist/esm/api/types/AgentsAgent.mjs +4 -0
  280. package/dist/esm/api/types/AgentsAgentCapabilities.d.mts +14 -0
  281. package/dist/esm/api/types/AgentsAgentCapabilities.mjs +4 -0
  282. package/dist/esm/api/types/AgentsAgentCard.d.mts +36 -0
  283. package/dist/esm/api/types/AgentsAgentCard.mjs +4 -0
  284. package/dist/esm/api/types/AgentsAgentCardPreferredTransport.d.mts +5 -0
  285. package/dist/esm/api/types/AgentsAgentCardPreferredTransport.mjs +4 -0
  286. package/dist/esm/api/types/AgentsAgentCardSignature.d.mts +11 -0
  287. package/dist/esm/api/types/AgentsAgentCardSignature.mjs +4 -0
  288. package/dist/esm/api/types/AgentsAgentExpertsItem.d.mts +13 -0
  289. package/dist/esm/api/types/AgentsAgentExpertsItem.mjs +4 -0
  290. package/dist/esm/api/types/AgentsAgentExtension.d.mts +13 -0
  291. package/dist/esm/api/types/AgentsAgentExtension.mjs +4 -0
  292. package/dist/esm/api/types/AgentsAgentInterface.d.mts +9 -0
  293. package/dist/esm/api/types/AgentsAgentInterface.mjs +4 -0
  294. package/dist/esm/api/types/AgentsAgentInterfaceTransport.d.mts +5 -0
  295. package/dist/esm/api/types/AgentsAgentInterfaceTransport.mjs +4 -0
  296. package/dist/esm/api/types/AgentsAgentReference.d.mts +13 -0
  297. package/dist/esm/api/types/AgentsAgentReference.mjs +4 -0
  298. package/dist/esm/api/types/AgentsAgentResponse.d.mts +5 -0
  299. package/dist/esm/api/types/AgentsAgentResponse.mjs +4 -0
  300. package/dist/esm/api/types/AgentsAgentSkill.d.mts +22 -0
  301. package/dist/esm/api/types/AgentsAgentSkill.mjs +4 -0
  302. package/dist/esm/api/types/AgentsArtifact.d.mts +18 -0
  303. package/dist/esm/api/types/AgentsArtifact.mjs +4 -0
  304. package/dist/esm/api/types/AgentsContext.d.mts +9 -0
  305. package/dist/esm/api/types/AgentsContext.mjs +4 -0
  306. package/dist/esm/api/types/AgentsContextItemsItem.d.mts +13 -0
  307. package/dist/esm/api/types/AgentsContextItemsItem.mjs +4 -0
  308. package/dist/esm/api/types/AgentsCreateExpert.d.mts +14 -0
  309. package/dist/esm/api/types/AgentsCreateExpert.mjs +4 -0
  310. package/dist/esm/api/types/AgentsCreateMcpServer.d.mts +20 -0
  311. package/dist/esm/api/types/AgentsCreateMcpServer.mjs +4 -0
  312. package/dist/esm/api/types/AgentsCreateMcpServerAuthorizationType.d.mts +12 -0
  313. package/dist/esm/api/types/AgentsCreateMcpServerAuthorizationType.mjs +8 -0
  314. package/dist/esm/api/types/AgentsCreateMcpServerTransportType.d.mts +12 -0
  315. package/dist/esm/api/types/AgentsCreateMcpServerTransportType.mjs +8 -0
  316. package/dist/esm/api/types/AgentsDataPart.d.mts +9 -0
  317. package/dist/esm/api/types/AgentsDataPart.mjs +4 -0
  318. package/dist/esm/api/types/AgentsExpert.d.mts +16 -0
  319. package/dist/esm/api/types/AgentsExpert.mjs +4 -0
  320. package/dist/esm/api/types/AgentsExpertReference.d.mts +12 -0
  321. package/dist/esm/api/types/AgentsExpertReference.mjs +4 -0
  322. package/dist/esm/api/types/AgentsFilePart.d.mts +9 -0
  323. package/dist/esm/api/types/AgentsFilePart.mjs +4 -0
  324. package/dist/esm/api/types/AgentsFilePartFile.d.mts +5 -0
  325. package/dist/esm/api/types/AgentsFilePartFile.mjs +4 -0
  326. package/dist/esm/api/types/AgentsFileWithBytes.d.mts +11 -0
  327. package/dist/esm/api/types/AgentsFileWithBytes.mjs +4 -0
  328. package/dist/esm/api/types/AgentsFileWithUri.d.mts +11 -0
  329. package/dist/esm/api/types/AgentsFileWithUri.mjs +4 -0
  330. package/dist/esm/api/types/AgentsMcpServer.d.mts +18 -0
  331. package/dist/esm/api/types/AgentsMcpServer.mjs +4 -0
  332. package/dist/esm/api/types/AgentsMcpServerAuthorizationType.d.mts +12 -0
  333. package/dist/esm/api/types/AgentsMcpServerAuthorizationType.mjs +8 -0
  334. package/dist/esm/api/types/AgentsMcpServerTransportType.d.mts +11 -0
  335. package/dist/esm/api/types/AgentsMcpServerTransportType.mjs +7 -0
  336. package/dist/esm/api/types/AgentsMessage.d.mts +22 -0
  337. package/dist/esm/api/types/AgentsMessage.mjs +4 -0
  338. package/dist/esm/api/types/AgentsMessageRole.d.mts +11 -0
  339. package/dist/esm/api/types/AgentsMessageRole.mjs +7 -0
  340. package/dist/esm/api/types/AgentsMessageSendConfiguration.d.mts +13 -0
  341. package/dist/esm/api/types/AgentsMessageSendConfiguration.mjs +4 -0
  342. package/dist/esm/api/types/AgentsMessageSendParams.d.mts +10 -0
  343. package/dist/esm/api/types/AgentsMessageSendParams.mjs +4 -0
  344. package/dist/esm/api/types/AgentsPart.d.mts +16 -0
  345. package/dist/esm/api/types/AgentsPart.mjs +4 -0
  346. package/dist/esm/api/types/AgentsPushNotificationAuthenticationInfo.d.mts +9 -0
  347. package/dist/esm/api/types/AgentsPushNotificationAuthenticationInfo.mjs +4 -0
  348. package/dist/esm/api/types/AgentsPushNotificationConfig.d.mts +13 -0
  349. package/dist/esm/api/types/AgentsPushNotificationConfig.mjs +4 -0
  350. package/dist/esm/api/types/AgentsTask.d.mts +17 -0
  351. package/dist/esm/api/types/AgentsTask.mjs +4 -0
  352. package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.d.mts +19 -0
  353. package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.mjs +4 -0
  354. package/dist/esm/api/types/AgentsTaskStatus.d.mts +12 -0
  355. package/dist/esm/api/types/AgentsTaskStatus.mjs +4 -0
  356. package/dist/esm/api/types/AgentsTaskStatusState.d.mts +18 -0
  357. package/dist/esm/api/types/AgentsTaskStatusState.mjs +14 -0
  358. package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.d.mts +17 -0
  359. package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.mjs +4 -0
  360. package/dist/esm/api/types/AgentsTextPart.d.mts +9 -0
  361. package/dist/esm/api/types/AgentsTextPart.mjs +4 -0
  362. package/dist/esm/api/types/AgentsTransportProtocol.d.mts +12 -0
  363. package/dist/esm/api/types/AgentsTransportProtocol.mjs +8 -0
  364. package/dist/esm/api/types/index.d.mts +43 -0
  365. package/dist/esm/api/types/index.mjs +43 -0
  366. package/dist/esm/core/index.d.mts +1 -0
  367. package/dist/esm/core/index.mjs +1 -0
  368. package/dist/esm/core/stream/Stream.d.mts +46 -0
  369. package/dist/esm/core/stream/Stream.mjs +164 -0
  370. package/dist/esm/core/stream/index.d.mts +1 -0
  371. package/dist/esm/core/stream/index.mjs +1 -0
  372. package/dist/esm/custom/CortiClient.d.mts +3 -0
  373. package/dist/esm/custom/CortiClient.mjs +9 -4
  374. package/dist/esm/custom/RefreshBearerProvider.d.mts +10 -5
  375. package/dist/esm/custom/RefreshBearerProvider.mjs +1 -1
  376. package/dist/esm/custom/index.d.mts +1 -0
  377. package/dist/esm/custom/index.mjs +1 -0
  378. package/dist/esm/serialization/resources/agents/client/index.d.mts +2 -0
  379. package/dist/esm/serialization/resources/agents/client/index.mjs +2 -0
  380. package/dist/esm/serialization/resources/agents/client/list.d.mts +11 -0
  381. package/dist/esm/serialization/resources/agents/client/list.mjs +6 -0
  382. package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.d.mts +16 -0
  383. package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs +11 -0
  384. package/dist/esm/serialization/resources/agents/client/requests/index.d.mts +1 -0
  385. package/dist/esm/serialization/resources/agents/client/requests/index.mjs +1 -0
  386. package/dist/esm/serialization/resources/agents/index.d.mts +2 -0
  387. package/dist/esm/serialization/resources/agents/index.mjs +2 -0
  388. package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +18 -0
  389. package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.mjs +15 -0
  390. package/dist/esm/serialization/resources/agents/types/AgentsMessageSendResponse.d.mts +15 -0
  391. package/dist/esm/serialization/resources/agents/types/AgentsMessageSendResponse.mjs +10 -0
  392. package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.d.mts +19 -0
  393. package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.mjs +14 -0
  394. package/dist/esm/serialization/resources/agents/types/index.d.mts +3 -0
  395. package/dist/esm/serialization/resources/agents/types/index.mjs +3 -0
  396. package/dist/esm/serialization/resources/index.d.mts +3 -0
  397. package/dist/esm/serialization/resources/index.mjs +3 -0
  398. package/dist/esm/serialization/types/AgentsAgent.d.mts +16 -0
  399. package/dist/esm/serialization/types/AgentsAgent.mjs +11 -0
  400. package/dist/esm/serialization/types/AgentsAgentCapabilities.d.mts +16 -0
  401. package/dist/esm/serialization/types/AgentsAgentCapabilities.mjs +11 -0
  402. package/dist/esm/serialization/types/AgentsAgentCard.d.mts +32 -0
  403. package/dist/esm/serialization/types/AgentsAgentCard.mjs +29 -0
  404. package/dist/esm/serialization/types/AgentsAgentCardPreferredTransport.d.mts +11 -0
  405. package/dist/esm/serialization/types/AgentsAgentCardPreferredTransport.mjs +6 -0
  406. package/dist/esm/serialization/types/AgentsAgentCardSignature.d.mts +14 -0
  407. package/dist/esm/serialization/types/AgentsAgentCardSignature.mjs +9 -0
  408. package/dist/esm/serialization/types/AgentsAgentExpertsItem.d.mts +18 -0
  409. package/dist/esm/serialization/types/AgentsAgentExpertsItem.mjs +15 -0
  410. package/dist/esm/serialization/types/AgentsAgentExtension.d.mts +15 -0
  411. package/dist/esm/serialization/types/AgentsAgentExtension.mjs +10 -0
  412. package/dist/esm/serialization/types/AgentsAgentInterface.d.mts +14 -0
  413. package/dist/esm/serialization/types/AgentsAgentInterface.mjs +9 -0
  414. package/dist/esm/serialization/types/AgentsAgentInterfaceTransport.d.mts +11 -0
  415. package/dist/esm/serialization/types/AgentsAgentInterfaceTransport.mjs +6 -0
  416. package/dist/esm/serialization/types/AgentsAgentReference.d.mts +14 -0
  417. package/dist/esm/serialization/types/AgentsAgentReference.mjs +9 -0
  418. package/dist/esm/serialization/types/AgentsAgentResponse.d.mts +12 -0
  419. package/dist/esm/serialization/types/AgentsAgentResponse.mjs +7 -0
  420. package/dist/esm/serialization/types/AgentsAgentSkill.d.mts +20 -0
  421. package/dist/esm/serialization/types/AgentsAgentSkill.mjs +15 -0
  422. package/dist/esm/serialization/types/AgentsArtifact.d.mts +18 -0
  423. package/dist/esm/serialization/types/AgentsArtifact.mjs +13 -0
  424. package/dist/esm/serialization/types/AgentsContext.d.mts +14 -0
  425. package/dist/esm/serialization/types/AgentsContext.mjs +9 -0
  426. package/dist/esm/serialization/types/AgentsContextItemsItem.d.mts +18 -0
  427. package/dist/esm/serialization/types/AgentsContextItemsItem.mjs +15 -0
  428. package/dist/esm/serialization/types/AgentsCreateExpert.d.mts +16 -0
  429. package/dist/esm/serialization/types/AgentsCreateExpert.mjs +11 -0
  430. package/dist/esm/serialization/types/AgentsCreateMcpServer.d.mts +20 -0
  431. package/dist/esm/serialization/types/AgentsCreateMcpServer.mjs +15 -0
  432. package/dist/esm/serialization/types/AgentsCreateMcpServerAuthorizationType.d.mts +10 -0
  433. package/dist/esm/serialization/types/AgentsCreateMcpServerAuthorizationType.mjs +5 -0
  434. package/dist/esm/serialization/types/AgentsCreateMcpServerTransportType.d.mts +10 -0
  435. package/dist/esm/serialization/types/AgentsCreateMcpServerTransportType.mjs +5 -0
  436. package/dist/esm/serialization/types/AgentsDataPart.d.mts +13 -0
  437. package/dist/esm/serialization/types/AgentsDataPart.mjs +8 -0
  438. package/dist/esm/serialization/types/AgentsExpert.d.mts +17 -0
  439. package/dist/esm/serialization/types/AgentsExpert.mjs +12 -0
  440. package/dist/esm/serialization/types/AgentsExpertReference.d.mts +13 -0
  441. package/dist/esm/serialization/types/AgentsExpertReference.mjs +8 -0
  442. package/dist/esm/serialization/types/AgentsFilePart.d.mts +14 -0
  443. package/dist/esm/serialization/types/AgentsFilePart.mjs +9 -0
  444. package/dist/esm/serialization/types/AgentsFilePartFile.d.mts +12 -0
  445. package/dist/esm/serialization/types/AgentsFilePartFile.mjs +7 -0
  446. package/dist/esm/serialization/types/AgentsFileWithBytes.d.mts +14 -0
  447. package/dist/esm/serialization/types/AgentsFileWithBytes.mjs +9 -0
  448. package/dist/esm/serialization/types/AgentsFileWithUri.d.mts +14 -0
  449. package/dist/esm/serialization/types/AgentsFileWithUri.mjs +9 -0
  450. package/dist/esm/serialization/types/AgentsMcpServer.d.mts +19 -0
  451. package/dist/esm/serialization/types/AgentsMcpServer.mjs +14 -0
  452. package/dist/esm/serialization/types/AgentsMcpServerAuthorizationType.d.mts +10 -0
  453. package/dist/esm/serialization/types/AgentsMcpServerAuthorizationType.mjs +5 -0
  454. package/dist/esm/serialization/types/AgentsMcpServerTransportType.d.mts +10 -0
  455. package/dist/esm/serialization/types/AgentsMcpServerTransportType.mjs +5 -0
  456. package/dist/esm/serialization/types/AgentsMessage.d.mts +21 -0
  457. package/dist/esm/serialization/types/AgentsMessage.mjs +16 -0
  458. package/dist/esm/serialization/types/AgentsMessageRole.d.mts +10 -0
  459. package/dist/esm/serialization/types/AgentsMessageRole.mjs +5 -0
  460. package/dist/esm/serialization/types/AgentsMessageSendConfiguration.d.mts +16 -0
  461. package/dist/esm/serialization/types/AgentsMessageSendConfiguration.mjs +11 -0
  462. package/dist/esm/serialization/types/AgentsMessageSendParams.d.mts +16 -0
  463. package/dist/esm/serialization/types/AgentsMessageSendParams.mjs +11 -0
  464. package/dist/esm/serialization/types/AgentsPart.d.mts +22 -0
  465. package/dist/esm/serialization/types/AgentsPart.mjs +17 -0
  466. package/dist/esm/serialization/types/AgentsPushNotificationAuthenticationInfo.d.mts +13 -0
  467. package/dist/esm/serialization/types/AgentsPushNotificationAuthenticationInfo.mjs +8 -0
  468. package/dist/esm/serialization/types/AgentsPushNotificationConfig.d.mts +16 -0
  469. package/dist/esm/serialization/types/AgentsPushNotificationConfig.mjs +11 -0
  470. package/dist/esm/serialization/types/AgentsTask.d.mts +20 -0
  471. package/dist/esm/serialization/types/AgentsTask.mjs +15 -0
  472. package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.d.mts +19 -0
  473. package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.mjs +14 -0
  474. package/dist/esm/serialization/types/AgentsTaskStatus.d.mts +16 -0
  475. package/dist/esm/serialization/types/AgentsTaskStatus.mjs +11 -0
  476. package/dist/esm/serialization/types/AgentsTaskStatusState.d.mts +10 -0
  477. package/dist/esm/serialization/types/AgentsTaskStatusState.mjs +15 -0
  478. package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.d.mts +18 -0
  479. package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.mjs +13 -0
  480. package/dist/esm/serialization/types/AgentsTextPart.d.mts +13 -0
  481. package/dist/esm/serialization/types/AgentsTextPart.mjs +8 -0
  482. package/dist/esm/serialization/types/AgentsTransportProtocol.d.mts +10 -0
  483. package/dist/esm/serialization/types/AgentsTransportProtocol.mjs +5 -0
  484. package/dist/esm/serialization/types/index.d.mts +43 -0
  485. package/dist/esm/serialization/types/index.mjs +43 -0
  486. package/dist/esm/version.d.mts +1 -1
  487. package/dist/esm/version.mjs +1 -1
  488. package/package.json +1 -1
  489. package/reference.md +720 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * name: "name",
9
+ * description: "description"
10
+ * }
11
+ */
12
+ export interface AgentsCreateAgent {
13
+ /** The name of the agent. */
14
+ name: string;
15
+ /** The system prompt that defines the overall agents behavior and expectations. This field is optional as there is a default system orchestrator. */
16
+ systemPrompt?: string;
17
+ /** A brief description of the agent's capabilities. */
18
+ description: string;
19
+ experts?: Corti.AgentsCreateAgentExpertsItem[];
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface AgentsGetContextRequest {
9
+ /**
10
+ * The maximum number of tasks and messages to return. If not specified all history is returned.
11
+ */
12
+ limit?: number | null;
13
+ /**
14
+ * The number of tasks and messages to skip before starting to collect the result set. Default is 0.
15
+ */
16
+ offset?: number | null;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface AgentsGetTaskRequest {
9
+ /**
10
+ * The number of previous messages to include in the context for the agent when retrieving this task. Default is all messages.
11
+ */
12
+ historyLength?: number | null;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface AgentsListRequest {
9
+ /**
10
+ * The maximum number of agents to return. If not specified, all agents will be returned.
11
+ */
12
+ limit?: number | null;
13
+ /**
14
+ * The number of agents to skip before starting to collect the result set. Default is 0.
15
+ */
16
+ offset?: number | null;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export { type AgentsListRequest } from "./AgentsListRequest.js";
2
+ export { type AgentsCreateAgent } from "./AgentsCreateAgent.js";
3
+ export { type AgentsGetTaskRequest } from "./AgentsGetTaskRequest.js";
4
+ export { type AgentsGetContextRequest } from "./AgentsGetContextRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./types/index.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types/index.js"), exports);
18
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../../../index.js";
5
+ export type AgentsCreateAgentExpertsItem = Corti.AgentsCreateAgentExpertsItem.New | Corti.AgentsCreateAgentExpertsItem.Reference;
6
+ export declare namespace AgentsCreateAgentExpertsItem {
7
+ interface New extends Corti.AgentsCreateExpert {
8
+ type: "new";
9
+ }
10
+ interface Reference extends Corti.AgentsExpertReference {
11
+ type: "reference";
12
+ }
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../../../index.js";
5
+ export interface AgentsMessageSendResponse {
6
+ message?: Corti.AgentsMessage;
7
+ task?: Corti.AgentsTask;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../../../index.js";
5
+ export interface AgentsMessageStreamResponse {
6
+ message?: Corti.AgentsMessage;
7
+ task?: Corti.AgentsTask;
8
+ statusUpdate?: Corti.AgentsTaskStatusUpdateEvent;
9
+ artifactUpdate?: Corti.AgentsTaskArtifactUpdateEvent;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./AgentsCreateAgentExpertsItem.js";
2
+ export * from "./AgentsMessageSendResponse.js";
3
+ export * from "./AgentsMessageStreamResponse.js";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AgentsCreateAgentExpertsItem.js"), exports);
18
+ __exportStar(require("./AgentsMessageSendResponse.js"), exports);
19
+ __exportStar(require("./AgentsMessageStreamResponse.js"), exports);
@@ -387,13 +387,7 @@ class Documents {
387
387
  breadcrumbsPrefix: ["response"],
388
388
  }), _response.rawResponse);
389
389
  case 404:
390
- throw new Corti.NotFoundError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
391
- unrecognizedObjectKeys: "passthrough",
392
- allowUnrecognizedUnionMembers: true,
393
- allowUnrecognizedEnumValues: true,
394
- skipValidation: true,
395
- breadcrumbsPrefix: ["response"],
396
- }), _response.rawResponse);
390
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
397
391
  case 500:
398
392
  throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
399
393
  case 504:
@@ -4,6 +4,8 @@ export * as transcripts from "./transcripts/index.js";
4
4
  export * from "./transcripts/types/index.js";
5
5
  export * as auth from "./auth/index.js";
6
6
  export * from "./auth/types/index.js";
7
+ export * as agents from "./agents/index.js";
8
+ export * from "./agents/types/index.js";
7
9
  export * as stream from "./stream/index.js";
8
10
  export * as transcribe from "./transcribe/index.js";
9
11
  export * as recordings from "./recordings/index.js";
@@ -16,3 +18,4 @@ export * from "./facts/client/requests/index.js";
16
18
  export * from "./documents/client/requests/index.js";
17
19
  export * from "./templates/client/requests/index.js";
18
20
  export * from "./auth/client/requests/index.js";
21
+ export * from "./agents/client/requests/index.js";
@@ -36,13 +36,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.templates = exports.documents = exports.facts = exports.recordings = exports.transcribe = exports.stream = exports.auth = exports.transcripts = exports.interactions = void 0;
39
+ exports.templates = exports.documents = exports.facts = exports.recordings = exports.transcribe = exports.stream = exports.agents = exports.auth = exports.transcripts = exports.interactions = void 0;
40
40
  exports.interactions = __importStar(require("./interactions/index.js"));
41
41
  __exportStar(require("./interactions/types/index.js"), exports);
42
42
  exports.transcripts = __importStar(require("./transcripts/index.js"));
43
43
  __exportStar(require("./transcripts/types/index.js"), exports);
44
44
  exports.auth = __importStar(require("./auth/index.js"));
45
45
  __exportStar(require("./auth/types/index.js"), exports);
46
+ exports.agents = __importStar(require("./agents/index.js"));
47
+ __exportStar(require("./agents/types/index.js"), exports);
46
48
  exports.stream = __importStar(require("./stream/index.js"));
47
49
  exports.transcribe = __importStar(require("./transcribe/index.js"));
48
50
  exports.recordings = __importStar(require("./recordings/index.js"));
@@ -55,3 +57,4 @@ __exportStar(require("./facts/client/requests/index.js"), exports);
55
57
  __exportStar(require("./documents/client/requests/index.js"), exports);
56
58
  __exportStar(require("./templates/client/requests/index.js"), exports);
57
59
  __exportStar(require("./auth/client/requests/index.js"), exports);
60
+ __exportStar(require("./agents/client/requests/index.js"), exports);
@@ -280,13 +280,7 @@ class Recordings {
280
280
  breadcrumbsPrefix: ["response"],
281
281
  }), _response.rawResponse);
282
282
  case 404:
283
- throw new Corti.NotFoundError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
284
- unrecognizedObjectKeys: "passthrough",
285
- allowUnrecognizedUnionMembers: true,
286
- allowUnrecognizedEnumValues: true,
287
- skipValidation: true,
288
- breadcrumbsPrefix: ["response"],
289
- }), _response.rawResponse);
283
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
290
284
  case 500:
291
285
  throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
292
286
  case 504:
@@ -368,13 +362,7 @@ class Recordings {
368
362
  breadcrumbsPrefix: ["response"],
369
363
  }), _response.rawResponse);
370
364
  case 404:
371
- throw new Corti.NotFoundError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
372
- unrecognizedObjectKeys: "passthrough",
373
- allowUnrecognizedUnionMembers: true,
374
- allowUnrecognizedEnumValues: true,
375
- skipValidation: true,
376
- breadcrumbsPrefix: ["response"],
377
- }), _response.rawResponse);
365
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
378
366
  case 500:
379
367
  throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
380
368
  case 504:
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsAgent {
6
+ /** The unique identifier of the agent. */
7
+ id: string;
8
+ /** The name of the agent. */
9
+ name: string;
10
+ /** A brief description of the agent's capabilities. */
11
+ description: string;
12
+ experts?: Corti.AgentsAgentExpertsItem[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsAgentCapabilities {
6
+ /** Indicates whether the agent supports streaming responses. */
7
+ streaming?: boolean;
8
+ /** Indicates whether the agent supports push notifications for task status updates. */
9
+ pushNotifications?: boolean;
10
+ /** Indicates whether the agent maintains a history of state transitions for tasks. */
11
+ stateTransitionHistory?: boolean;
12
+ /** A list of protocol extensions supported by the agent. */
13
+ extensions?: Corti.AgentsAgentExtension[];
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsAgentCard {
6
+ /** The version of the A2A protocol this agents supports. */
7
+ protocolVersion: string;
8
+ /** The name of the agent. */
9
+ name: string;
10
+ /** A human readable description of the agent. */
11
+ description: string;
12
+ /** The URL where the agent can be reached to process messages. */
13
+ url: string;
14
+ preferredTransport?: Corti.AgentsAgentCardPreferredTransport;
15
+ /** A list of additional transport protocols and URL combinations the agent supports. */
16
+ additionalInterfaces?: Corti.AgentsAgentInterface[];
17
+ /** A URL to an icon representing the agent. */
18
+ iconUrl?: string;
19
+ /** The version of the agent. */
20
+ version: string;
21
+ capabilities: Corti.AgentsAgentCapabilities;
22
+ /** A declaration of the security schemes available to authorize requests. The key is the scheme name. Follows the OpenAPI 3.0 Security Scheme Object. */
23
+ securitySchemes?: Record<string, unknown>;
24
+ /** A list of security requirement objects that apply to all agent interactions. Each object lists security schemes that can be used. Follows the OpenAPI 3.0 Security Requirement Object. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." */
25
+ security?: Record<string, unknown>;
26
+ /** Default set of supported input MIME types for all skills, which can be overridden on a per-skill basis. */
27
+ defaultInputModes: string[];
28
+ /** Default set of supported output MIME types for all skills, which can be overridden on a per-skill basis. */
29
+ defaultOutputModes: string[];
30
+ /** The set of skills, or distinct capabilities, that the agent can perform. */
31
+ skills: Corti.AgentsAgentSkill[];
32
+ /** Indicates whether the agent supports returning an extended agent card when called with authentication. */
33
+ supportsAuthenticatedExtendedCard?: boolean;
34
+ /** JSON Web Signatures computed for this AgentCard. */
35
+ signatures?: Corti.AgentsAgentCardSignature[];
36
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export type AgentsAgentCardPreferredTransport = Corti.AgentsTransportProtocol | string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AgentsAgentCardSignature {
5
+ /** The protected header of the JWS, base64url-encoded. */
6
+ protected: string;
7
+ /** The JWS signature, base64url-encoded. */
8
+ signature: string;
9
+ /** The unprotected header of the JWS, if any. */
10
+ header?: Record<string, unknown>;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export type AgentsAgentExpertsItem = Corti.AgentsAgentExpertsItem.Expert | Corti.AgentsAgentExpertsItem.Reference;
6
+ export declare namespace AgentsAgentExpertsItem {
7
+ interface Expert extends Corti.AgentsExpert {
8
+ type: "expert";
9
+ }
10
+ interface Reference extends Corti.AgentsExpertReference {
11
+ type: "reference";
12
+ }
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AgentsAgentExtension {
5
+ /** The URI that identifies the extension. */
6
+ uri: string;
7
+ /** A brief description of the extension. */
8
+ description?: string;
9
+ /** If true, the client must understand and comply with the extension's requirements to interact with the agent. */
10
+ required?: boolean;
11
+ /** Optional, extension-specific configuration parameters. */
12
+ params?: Record<string, unknown>;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsAgentInterface {
6
+ /** The URL where the agent can be reached using the specified protocol. */
7
+ url: string;
8
+ transport: Corti.AgentsAgentInterfaceTransport;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export type AgentsAgentInterfaceTransport = string | Corti.AgentsTransportProtocol;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A reference to an agent, either id or name must be provided. If both are passed, the id will be used.
6
+ */
7
+ export interface AgentsAgentReference {
8
+ type: "reference";
9
+ /** The unique identifier of the agent. */
10
+ id?: string;
11
+ /** The name of the agent. */
12
+ name?: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export type AgentsAgentResponse = Corti.AgentsAgent | Corti.AgentsAgentReference;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsAgentSkill {
6
+ /** Unique identifier for the skill. */
7
+ id: string;
8
+ /** The name of the skill. */
9
+ name: string;
10
+ /** A brief description of the skill's capabilities. */
11
+ description: string;
12
+ /** A list of tags or keywords associated with the skill, useful for categorization and search. */
13
+ tags: string[];
14
+ /** A list of example messages that demonstrate how to use this skill. */
15
+ examples?: Corti.AgentsMessage[];
16
+ /** A list of supported input MIME types for this skill. If omitted, the agent's default input modes apply. */
17
+ inputModes?: string[];
18
+ /** A list of supported output MIME types for this skill. If omitted, the agent's default output modes apply. */
19
+ outputModes?: string[];
20
+ /** Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND). */
21
+ security?: Record<string, unknown>;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsArtifact {
6
+ /** Unique identifier for the artifact. */
7
+ artifactId: string;
8
+ /** Name of the artifact. */
9
+ name?: string;
10
+ /** Description of the artifact. */
11
+ description?: string;
12
+ /** The content of the artifact. */
13
+ parts: Corti.AgentsPart[];
14
+ /** Additional metadata for the artifact. */
15
+ metadata?: Record<string, unknown>;
16
+ /** Extensions for the artifact. */
17
+ extensions?: string[];
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Corti from "../index.js";
5
+ export interface AgentsContext {
6
+ /** The context ID. */
7
+ id?: string;
8
+ items?: Corti.AgentsContextItemsItem[];
9
+ }