@corti/sdk 0.3.0 → 0.4.0

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 (455) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +11 -6
  3. package/dist/cjs/api/resources/agents/client/Client.d.ts +209 -0
  4. package/dist/cjs/api/resources/agents/client/Client.js +898 -0
  5. package/dist/cjs/api/resources/agents/client/index.d.ts +2 -0
  6. package/dist/cjs/api/resources/agents/client/index.js +17 -0
  7. package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.d.ts +24 -0
  8. package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.js +5 -0
  9. package/dist/cjs/api/resources/agents/client/requests/AgentsGetContextRequest.d.ts +17 -0
  10. package/dist/cjs/api/resources/agents/client/requests/AgentsGetContextRequest.js +5 -0
  11. package/dist/cjs/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.d.ts +20 -0
  12. package/dist/cjs/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.js +5 -0
  13. package/dist/cjs/api/resources/agents/client/requests/AgentsGetTaskRequest.d.ts +13 -0
  14. package/dist/cjs/api/resources/agents/client/requests/AgentsGetTaskRequest.js +5 -0
  15. package/dist/cjs/api/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
  16. package/dist/cjs/api/resources/agents/client/requests/AgentsListRequest.js +5 -0
  17. package/dist/cjs/api/resources/agents/client/requests/AgentsMessageSendParams.d.ts +24 -0
  18. package/dist/cjs/api/resources/agents/client/requests/AgentsMessageSendParams.js +5 -0
  19. package/dist/cjs/api/resources/agents/client/requests/index.d.ts +6 -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 +5 -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/index.d.ts +2 -0
  28. package/dist/cjs/api/resources/agents/types/index.js +18 -0
  29. package/dist/cjs/api/resources/index.d.ts +3 -0
  30. package/dist/cjs/api/resources/index.js +4 -1
  31. package/dist/cjs/api/types/AgentsAgent.d.ts +15 -0
  32. package/dist/cjs/api/types/AgentsAgent.js +5 -0
  33. package/dist/cjs/api/types/AgentsAgentCapabilities.d.ts +14 -0
  34. package/dist/cjs/api/types/AgentsAgentCapabilities.js +5 -0
  35. package/dist/cjs/api/types/AgentsAgentCard.d.ts +39 -0
  36. package/dist/cjs/api/types/AgentsAgentCard.js +5 -0
  37. package/dist/cjs/api/types/AgentsAgentCardSignature.d.ts +11 -0
  38. package/dist/cjs/api/types/AgentsAgentCardSignature.js +5 -0
  39. package/dist/cjs/api/types/AgentsAgentExpertsItem.d.ts +5 -0
  40. package/dist/cjs/api/types/AgentsAgentExpertsItem.js +5 -0
  41. package/dist/cjs/api/types/AgentsAgentExtension.d.ts +13 -0
  42. package/dist/cjs/api/types/AgentsAgentExtension.js +5 -0
  43. package/dist/cjs/api/types/AgentsAgentInterface.d.ts +8 -0
  44. package/dist/cjs/api/types/AgentsAgentInterface.js +5 -0
  45. package/dist/cjs/api/types/AgentsAgentProvider.d.ts +9 -0
  46. package/dist/cjs/api/types/AgentsAgentProvider.js +5 -0
  47. package/dist/cjs/api/types/AgentsAgentReference.d.ts +13 -0
  48. package/dist/cjs/api/types/AgentsAgentReference.js +5 -0
  49. package/dist/cjs/api/types/AgentsAgentResponse.d.ts +5 -0
  50. package/dist/cjs/api/types/AgentsAgentResponse.js +5 -0
  51. package/dist/cjs/api/types/AgentsAgentSkill.d.ts +22 -0
  52. package/dist/cjs/api/types/AgentsAgentSkill.js +5 -0
  53. package/dist/cjs/api/types/AgentsArtifact.d.ts +18 -0
  54. package/dist/cjs/api/types/AgentsArtifact.js +5 -0
  55. package/dist/cjs/api/types/AgentsContext.d.ts +9 -0
  56. package/dist/cjs/api/types/AgentsContext.js +5 -0
  57. package/dist/cjs/api/types/AgentsContextItemsItem.d.ts +5 -0
  58. package/dist/cjs/api/types/AgentsContextItemsItem.js +5 -0
  59. package/dist/cjs/api/types/AgentsCreateExpert.d.ts +15 -0
  60. package/dist/cjs/api/types/AgentsCreateExpert.js +5 -0
  61. package/dist/cjs/api/types/AgentsCreateMcpServer.d.ts +20 -0
  62. package/dist/cjs/api/types/AgentsCreateMcpServer.js +5 -0
  63. package/dist/cjs/api/types/AgentsCreateMcpServerAuthorizationType.d.ts +13 -0
  64. package/dist/cjs/api/types/AgentsCreateMcpServerAuthorizationType.js +12 -0
  65. package/dist/cjs/api/types/AgentsCreateMcpServerTransportType.d.ts +12 -0
  66. package/dist/cjs/api/types/AgentsCreateMcpServerTransportType.js +11 -0
  67. package/dist/cjs/api/types/AgentsDataPart.d.ts +11 -0
  68. package/dist/cjs/api/types/AgentsDataPart.js +5 -0
  69. package/dist/cjs/api/types/AgentsExpert.d.ts +17 -0
  70. package/dist/cjs/api/types/AgentsExpert.js +5 -0
  71. package/dist/cjs/api/types/AgentsExpertReference.d.ts +13 -0
  72. package/dist/cjs/api/types/AgentsExpertReference.js +5 -0
  73. package/dist/cjs/api/types/AgentsFilePart.d.ts +11 -0
  74. package/dist/cjs/api/types/AgentsFilePart.js +5 -0
  75. package/dist/cjs/api/types/AgentsFilePartFile.d.ts +5 -0
  76. package/dist/cjs/api/types/AgentsFilePartFile.js +5 -0
  77. package/dist/cjs/api/types/AgentsFileWithBytes.d.ts +11 -0
  78. package/dist/cjs/api/types/AgentsFileWithBytes.js +5 -0
  79. package/dist/cjs/api/types/AgentsFileWithUri.d.ts +11 -0
  80. package/dist/cjs/api/types/AgentsFileWithUri.js +5 -0
  81. package/dist/cjs/api/types/AgentsMcpServer.d.ts +18 -0
  82. package/dist/cjs/api/types/AgentsMcpServer.js +5 -0
  83. package/dist/cjs/api/types/AgentsMcpServerAuthorizationType.d.ts +12 -0
  84. package/dist/cjs/api/types/AgentsMcpServerAuthorizationType.js +11 -0
  85. package/dist/cjs/api/types/AgentsMcpServerTransportType.d.ts +11 -0
  86. package/dist/cjs/api/types/AgentsMcpServerTransportType.js +10 -0
  87. package/dist/cjs/api/types/AgentsMessage.d.ts +24 -0
  88. package/dist/cjs/api/types/AgentsMessage.js +5 -0
  89. package/dist/cjs/api/types/AgentsMessageRole.d.ts +11 -0
  90. package/dist/cjs/api/types/AgentsMessageRole.js +10 -0
  91. package/dist/cjs/api/types/AgentsMessageSendConfiguration.d.ts +13 -0
  92. package/dist/cjs/api/types/AgentsMessageSendConfiguration.js +5 -0
  93. package/dist/cjs/api/types/AgentsPart.d.ts +5 -0
  94. package/dist/cjs/api/types/AgentsPart.js +5 -0
  95. package/dist/cjs/api/types/AgentsPushNotificationAuthenticationInfo.d.ts +9 -0
  96. package/dist/cjs/api/types/AgentsPushNotificationAuthenticationInfo.js +5 -0
  97. package/dist/cjs/api/types/AgentsPushNotificationConfig.d.ts +13 -0
  98. package/dist/cjs/api/types/AgentsPushNotificationConfig.js +5 -0
  99. package/dist/cjs/api/types/AgentsRegistryExpert.d.ts +9 -0
  100. package/dist/cjs/api/types/AgentsRegistryExpert.js +5 -0
  101. package/dist/cjs/api/types/AgentsRegistryExpertsResponse.d.ts +8 -0
  102. package/dist/cjs/api/types/AgentsRegistryExpertsResponse.js +5 -0
  103. package/dist/cjs/api/types/AgentsTask.d.ts +19 -0
  104. package/dist/cjs/api/types/AgentsTask.js +5 -0
  105. package/dist/cjs/api/types/AgentsTaskStatus.d.ts +12 -0
  106. package/dist/cjs/api/types/AgentsTaskStatus.js +5 -0
  107. package/dist/cjs/api/types/AgentsTaskStatusState.d.ts +18 -0
  108. package/dist/cjs/api/types/AgentsTaskStatusState.js +17 -0
  109. package/dist/cjs/api/types/AgentsTextPart.d.ts +11 -0
  110. package/dist/cjs/api/types/AgentsTextPart.js +5 -0
  111. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +2 -0
  112. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +2 -0
  113. package/dist/cjs/api/types/index.d.ts +40 -0
  114. package/dist/cjs/api/types/index.js +40 -0
  115. package/dist/cjs/custom/CortiClient.d.ts +3 -0
  116. package/dist/cjs/custom/CortiClient.js +5 -0
  117. package/dist/cjs/custom/utils/getEnvironmentFromString.js +1 -1
  118. package/dist/cjs/environments.d.ts +2 -2
  119. package/dist/cjs/environments.js +2 -2
  120. package/dist/cjs/serialization/resources/agents/client/index.d.ts +2 -0
  121. package/dist/cjs/serialization/resources/agents/client/index.js +41 -0
  122. package/dist/cjs/serialization/resources/agents/client/list.d.ts +11 -0
  123. package/dist/cjs/serialization/resources/agents/client/list.js +42 -0
  124. package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.d.ts +16 -0
  125. package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.js +47 -0
  126. package/dist/cjs/serialization/resources/agents/client/requests/AgentsMessageSendParams.d.ts +16 -0
  127. package/dist/cjs/serialization/resources/agents/client/requests/AgentsMessageSendParams.js +47 -0
  128. package/dist/cjs/serialization/resources/agents/client/requests/index.d.ts +2 -0
  129. package/dist/cjs/serialization/resources/agents/client/requests/index.js +7 -0
  130. package/dist/cjs/serialization/resources/agents/index.d.ts +2 -0
  131. package/dist/cjs/serialization/resources/agents/index.js +18 -0
  132. package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.ts +12 -0
  133. package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.js +43 -0
  134. package/dist/cjs/serialization/resources/agents/types/AgentsMessageSendResponse.d.ts +15 -0
  135. package/dist/cjs/serialization/resources/agents/types/AgentsMessageSendResponse.js +46 -0
  136. package/dist/cjs/serialization/resources/agents/types/index.d.ts +2 -0
  137. package/dist/cjs/serialization/resources/agents/types/index.js +18 -0
  138. package/dist/cjs/serialization/resources/index.d.ts +3 -0
  139. package/dist/cjs/serialization/resources/index.js +4 -1
  140. package/dist/cjs/serialization/types/AgentsAgent.d.ts +17 -0
  141. package/dist/cjs/serialization/types/AgentsAgent.js +48 -0
  142. package/dist/cjs/serialization/types/AgentsAgentCapabilities.d.ts +16 -0
  143. package/dist/cjs/serialization/types/AgentsAgentCapabilities.js +47 -0
  144. package/dist/cjs/serialization/types/AgentsAgentCard.d.ts +34 -0
  145. package/dist/cjs/serialization/types/AgentsAgentCard.js +69 -0
  146. package/dist/cjs/serialization/types/AgentsAgentCardSignature.d.ts +14 -0
  147. package/dist/cjs/serialization/types/AgentsAgentCardSignature.js +45 -0
  148. package/dist/cjs/serialization/types/AgentsAgentExpertsItem.d.ts +12 -0
  149. package/dist/cjs/serialization/types/AgentsAgentExpertsItem.js +43 -0
  150. package/dist/cjs/serialization/types/AgentsAgentExtension.d.ts +15 -0
  151. package/dist/cjs/serialization/types/AgentsAgentExtension.js +46 -0
  152. package/dist/cjs/serialization/types/AgentsAgentInterface.d.ts +13 -0
  153. package/dist/cjs/serialization/types/AgentsAgentInterface.js +44 -0
  154. package/dist/cjs/serialization/types/AgentsAgentProvider.d.ts +13 -0
  155. package/dist/cjs/serialization/types/AgentsAgentProvider.js +44 -0
  156. package/dist/cjs/serialization/types/AgentsAgentReference.d.ts +14 -0
  157. package/dist/cjs/serialization/types/AgentsAgentReference.js +45 -0
  158. package/dist/cjs/serialization/types/AgentsAgentResponse.d.ts +12 -0
  159. package/dist/cjs/serialization/types/AgentsAgentResponse.js +43 -0
  160. package/dist/cjs/serialization/types/AgentsAgentSkill.d.ts +20 -0
  161. package/dist/cjs/serialization/types/AgentsAgentSkill.js +51 -0
  162. package/dist/cjs/serialization/types/AgentsArtifact.d.ts +18 -0
  163. package/dist/cjs/serialization/types/AgentsArtifact.js +49 -0
  164. package/dist/cjs/serialization/types/AgentsContext.d.ts +14 -0
  165. package/dist/cjs/serialization/types/AgentsContext.js +45 -0
  166. package/dist/cjs/serialization/types/AgentsContextItemsItem.d.ts +12 -0
  167. package/dist/cjs/serialization/types/AgentsContextItemsItem.js +43 -0
  168. package/dist/cjs/serialization/types/AgentsCreateExpert.d.ts +17 -0
  169. package/dist/cjs/serialization/types/AgentsCreateExpert.js +48 -0
  170. package/dist/cjs/serialization/types/AgentsCreateMcpServer.d.ts +20 -0
  171. package/dist/cjs/serialization/types/AgentsCreateMcpServer.js +51 -0
  172. package/dist/cjs/serialization/types/AgentsCreateMcpServerAuthorizationType.d.ts +10 -0
  173. package/dist/cjs/serialization/types/AgentsCreateMcpServerAuthorizationType.js +41 -0
  174. package/dist/cjs/serialization/types/AgentsCreateMcpServerTransportType.d.ts +10 -0
  175. package/dist/cjs/serialization/types/AgentsCreateMcpServerTransportType.js +41 -0
  176. package/dist/cjs/serialization/types/AgentsDataPart.d.ts +14 -0
  177. package/dist/cjs/serialization/types/AgentsDataPart.js +45 -0
  178. package/dist/cjs/serialization/types/AgentsExpert.d.ts +18 -0
  179. package/dist/cjs/serialization/types/AgentsExpert.js +49 -0
  180. package/dist/cjs/serialization/types/AgentsExpertReference.d.ts +14 -0
  181. package/dist/cjs/serialization/types/AgentsExpertReference.js +45 -0
  182. package/dist/cjs/serialization/types/AgentsFilePart.d.ts +15 -0
  183. package/dist/cjs/serialization/types/AgentsFilePart.js +46 -0
  184. package/dist/cjs/serialization/types/AgentsFilePartFile.d.ts +12 -0
  185. package/dist/cjs/serialization/types/AgentsFilePartFile.js +43 -0
  186. package/dist/cjs/serialization/types/AgentsFileWithBytes.d.ts +14 -0
  187. package/dist/cjs/serialization/types/AgentsFileWithBytes.js +45 -0
  188. package/dist/cjs/serialization/types/AgentsFileWithUri.d.ts +14 -0
  189. package/dist/cjs/serialization/types/AgentsFileWithUri.js +45 -0
  190. package/dist/cjs/serialization/types/AgentsMcpServer.d.ts +19 -0
  191. package/dist/cjs/serialization/types/AgentsMcpServer.js +50 -0
  192. package/dist/cjs/serialization/types/AgentsMcpServerAuthorizationType.d.ts +10 -0
  193. package/dist/cjs/serialization/types/AgentsMcpServerAuthorizationType.js +41 -0
  194. package/dist/cjs/serialization/types/AgentsMcpServerTransportType.d.ts +10 -0
  195. package/dist/cjs/serialization/types/AgentsMcpServerTransportType.js +41 -0
  196. package/dist/cjs/serialization/types/AgentsMessage.d.ts +22 -0
  197. package/dist/cjs/serialization/types/AgentsMessage.js +53 -0
  198. package/dist/cjs/serialization/types/AgentsMessageRole.d.ts +10 -0
  199. package/dist/cjs/serialization/types/AgentsMessageRole.js +41 -0
  200. package/dist/cjs/serialization/types/AgentsMessageSendConfiguration.d.ts +16 -0
  201. package/dist/cjs/serialization/types/AgentsMessageSendConfiguration.js +47 -0
  202. package/dist/cjs/serialization/types/AgentsPart.d.ts +13 -0
  203. package/dist/cjs/serialization/types/AgentsPart.js +44 -0
  204. package/dist/cjs/serialization/types/AgentsPushNotificationAuthenticationInfo.d.ts +13 -0
  205. package/dist/cjs/serialization/types/AgentsPushNotificationAuthenticationInfo.js +44 -0
  206. package/dist/cjs/serialization/types/AgentsPushNotificationConfig.d.ts +16 -0
  207. package/dist/cjs/serialization/types/AgentsPushNotificationConfig.js +47 -0
  208. package/dist/cjs/serialization/types/AgentsRegistryExpert.d.ts +13 -0
  209. package/dist/cjs/serialization/types/AgentsRegistryExpert.js +44 -0
  210. package/dist/cjs/serialization/types/AgentsRegistryExpertsResponse.d.ts +13 -0
  211. package/dist/cjs/serialization/types/AgentsRegistryExpertsResponse.js +44 -0
  212. package/dist/cjs/serialization/types/AgentsTask.d.ts +21 -0
  213. package/dist/cjs/serialization/types/AgentsTask.js +52 -0
  214. package/dist/cjs/serialization/types/AgentsTaskStatus.d.ts +16 -0
  215. package/dist/cjs/serialization/types/AgentsTaskStatus.js +47 -0
  216. package/dist/cjs/serialization/types/AgentsTaskStatusState.d.ts +10 -0
  217. package/dist/cjs/serialization/types/AgentsTaskStatusState.js +51 -0
  218. package/dist/cjs/serialization/types/AgentsTextPart.d.ts +14 -0
  219. package/dist/cjs/serialization/types/AgentsTextPart.js +45 -0
  220. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.d.ts +1 -0
  221. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.js +1 -0
  222. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.d.ts +1 -0
  223. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.js +1 -0
  224. package/dist/cjs/serialization/types/index.d.ts +40 -0
  225. package/dist/cjs/serialization/types/index.js +40 -0
  226. package/dist/cjs/version.d.ts +1 -1
  227. package/dist/cjs/version.js +1 -1
  228. package/dist/esm/Client.d.mts +3 -0
  229. package/dist/esm/Client.mjs +7 -2
  230. package/dist/esm/api/resources/agents/client/Client.d.mts +209 -0
  231. package/dist/esm/api/resources/agents/client/Client.mjs +861 -0
  232. package/dist/esm/api/resources/agents/client/index.d.mts +2 -0
  233. package/dist/esm/api/resources/agents/client/index.mjs +1 -0
  234. package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.d.mts +24 -0
  235. package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.mjs +4 -0
  236. package/dist/esm/api/resources/agents/client/requests/AgentsGetContextRequest.d.mts +17 -0
  237. package/dist/esm/api/resources/agents/client/requests/AgentsGetContextRequest.mjs +4 -0
  238. package/dist/esm/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.d.mts +20 -0
  239. package/dist/esm/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.mjs +4 -0
  240. package/dist/esm/api/resources/agents/client/requests/AgentsGetTaskRequest.d.mts +13 -0
  241. package/dist/esm/api/resources/agents/client/requests/AgentsGetTaskRequest.mjs +4 -0
  242. package/dist/esm/api/resources/agents/client/requests/AgentsListRequest.d.mts +21 -0
  243. package/dist/esm/api/resources/agents/client/requests/AgentsListRequest.mjs +4 -0
  244. package/dist/esm/api/resources/agents/client/requests/AgentsMessageSendParams.d.mts +24 -0
  245. package/dist/esm/api/resources/agents/client/requests/AgentsMessageSendParams.mjs +4 -0
  246. package/dist/esm/api/resources/agents/client/requests/index.d.mts +6 -0
  247. package/dist/esm/api/resources/agents/client/requests/index.mjs +1 -0
  248. package/dist/esm/api/resources/agents/index.d.mts +2 -0
  249. package/dist/esm/api/resources/agents/index.mjs +2 -0
  250. package/dist/esm/api/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +5 -0
  251. package/dist/esm/api/resources/agents/types/AgentsCreateAgentExpertsItem.mjs +4 -0
  252. package/dist/esm/api/resources/agents/types/AgentsMessageSendResponse.d.mts +8 -0
  253. package/dist/esm/api/resources/agents/types/AgentsMessageSendResponse.mjs +4 -0
  254. package/dist/esm/api/resources/agents/types/index.d.mts +2 -0
  255. package/dist/esm/api/resources/agents/types/index.mjs +2 -0
  256. package/dist/esm/api/resources/index.d.mts +3 -0
  257. package/dist/esm/api/resources/index.mjs +3 -0
  258. package/dist/esm/api/types/AgentsAgent.d.mts +15 -0
  259. package/dist/esm/api/types/AgentsAgent.mjs +4 -0
  260. package/dist/esm/api/types/AgentsAgentCapabilities.d.mts +14 -0
  261. package/dist/esm/api/types/AgentsAgentCapabilities.mjs +4 -0
  262. package/dist/esm/api/types/AgentsAgentCard.d.mts +39 -0
  263. package/dist/esm/api/types/AgentsAgentCard.mjs +4 -0
  264. package/dist/esm/api/types/AgentsAgentCardSignature.d.mts +11 -0
  265. package/dist/esm/api/types/AgentsAgentCardSignature.mjs +4 -0
  266. package/dist/esm/api/types/AgentsAgentExpertsItem.d.mts +5 -0
  267. package/dist/esm/api/types/AgentsAgentExpertsItem.mjs +4 -0
  268. package/dist/esm/api/types/AgentsAgentExtension.d.mts +13 -0
  269. package/dist/esm/api/types/AgentsAgentExtension.mjs +4 -0
  270. package/dist/esm/api/types/AgentsAgentInterface.d.mts +8 -0
  271. package/dist/esm/api/types/AgentsAgentInterface.mjs +4 -0
  272. package/dist/esm/api/types/AgentsAgentProvider.d.mts +9 -0
  273. package/dist/esm/api/types/AgentsAgentProvider.mjs +4 -0
  274. package/dist/esm/api/types/AgentsAgentReference.d.mts +13 -0
  275. package/dist/esm/api/types/AgentsAgentReference.mjs +4 -0
  276. package/dist/esm/api/types/AgentsAgentResponse.d.mts +5 -0
  277. package/dist/esm/api/types/AgentsAgentResponse.mjs +4 -0
  278. package/dist/esm/api/types/AgentsAgentSkill.d.mts +22 -0
  279. package/dist/esm/api/types/AgentsAgentSkill.mjs +4 -0
  280. package/dist/esm/api/types/AgentsArtifact.d.mts +18 -0
  281. package/dist/esm/api/types/AgentsArtifact.mjs +4 -0
  282. package/dist/esm/api/types/AgentsContext.d.mts +9 -0
  283. package/dist/esm/api/types/AgentsContext.mjs +4 -0
  284. package/dist/esm/api/types/AgentsContextItemsItem.d.mts +5 -0
  285. package/dist/esm/api/types/AgentsContextItemsItem.mjs +4 -0
  286. package/dist/esm/api/types/AgentsCreateExpert.d.mts +15 -0
  287. package/dist/esm/api/types/AgentsCreateExpert.mjs +4 -0
  288. package/dist/esm/api/types/AgentsCreateMcpServer.d.mts +20 -0
  289. package/dist/esm/api/types/AgentsCreateMcpServer.mjs +4 -0
  290. package/dist/esm/api/types/AgentsCreateMcpServerAuthorizationType.d.mts +13 -0
  291. package/dist/esm/api/types/AgentsCreateMcpServerAuthorizationType.mjs +9 -0
  292. package/dist/esm/api/types/AgentsCreateMcpServerTransportType.d.mts +12 -0
  293. package/dist/esm/api/types/AgentsCreateMcpServerTransportType.mjs +8 -0
  294. package/dist/esm/api/types/AgentsDataPart.d.mts +11 -0
  295. package/dist/esm/api/types/AgentsDataPart.mjs +4 -0
  296. package/dist/esm/api/types/AgentsExpert.d.mts +17 -0
  297. package/dist/esm/api/types/AgentsExpert.mjs +4 -0
  298. package/dist/esm/api/types/AgentsExpertReference.d.mts +13 -0
  299. package/dist/esm/api/types/AgentsExpertReference.mjs +4 -0
  300. package/dist/esm/api/types/AgentsFilePart.d.mts +11 -0
  301. package/dist/esm/api/types/AgentsFilePart.mjs +4 -0
  302. package/dist/esm/api/types/AgentsFilePartFile.d.mts +5 -0
  303. package/dist/esm/api/types/AgentsFilePartFile.mjs +4 -0
  304. package/dist/esm/api/types/AgentsFileWithBytes.d.mts +11 -0
  305. package/dist/esm/api/types/AgentsFileWithBytes.mjs +4 -0
  306. package/dist/esm/api/types/AgentsFileWithUri.d.mts +11 -0
  307. package/dist/esm/api/types/AgentsFileWithUri.mjs +4 -0
  308. package/dist/esm/api/types/AgentsMcpServer.d.mts +18 -0
  309. package/dist/esm/api/types/AgentsMcpServer.mjs +4 -0
  310. package/dist/esm/api/types/AgentsMcpServerAuthorizationType.d.mts +12 -0
  311. package/dist/esm/api/types/AgentsMcpServerAuthorizationType.mjs +8 -0
  312. package/dist/esm/api/types/AgentsMcpServerTransportType.d.mts +11 -0
  313. package/dist/esm/api/types/AgentsMcpServerTransportType.mjs +7 -0
  314. package/dist/esm/api/types/AgentsMessage.d.mts +24 -0
  315. package/dist/esm/api/types/AgentsMessage.mjs +4 -0
  316. package/dist/esm/api/types/AgentsMessageRole.d.mts +11 -0
  317. package/dist/esm/api/types/AgentsMessageRole.mjs +7 -0
  318. package/dist/esm/api/types/AgentsMessageSendConfiguration.d.mts +13 -0
  319. package/dist/esm/api/types/AgentsMessageSendConfiguration.mjs +4 -0
  320. package/dist/esm/api/types/AgentsPart.d.mts +5 -0
  321. package/dist/esm/api/types/AgentsPart.mjs +4 -0
  322. package/dist/esm/api/types/AgentsPushNotificationAuthenticationInfo.d.mts +9 -0
  323. package/dist/esm/api/types/AgentsPushNotificationAuthenticationInfo.mjs +4 -0
  324. package/dist/esm/api/types/AgentsPushNotificationConfig.d.mts +13 -0
  325. package/dist/esm/api/types/AgentsPushNotificationConfig.mjs +4 -0
  326. package/dist/esm/api/types/AgentsRegistryExpert.d.mts +9 -0
  327. package/dist/esm/api/types/AgentsRegistryExpert.mjs +4 -0
  328. package/dist/esm/api/types/AgentsRegistryExpertsResponse.d.mts +8 -0
  329. package/dist/esm/api/types/AgentsRegistryExpertsResponse.mjs +4 -0
  330. package/dist/esm/api/types/AgentsTask.d.mts +19 -0
  331. package/dist/esm/api/types/AgentsTask.mjs +4 -0
  332. package/dist/esm/api/types/AgentsTaskStatus.d.mts +12 -0
  333. package/dist/esm/api/types/AgentsTaskStatus.mjs +4 -0
  334. package/dist/esm/api/types/AgentsTaskStatusState.d.mts +18 -0
  335. package/dist/esm/api/types/AgentsTaskStatusState.mjs +14 -0
  336. package/dist/esm/api/types/AgentsTextPart.d.mts +11 -0
  337. package/dist/esm/api/types/AgentsTextPart.mjs +4 -0
  338. package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +2 -0
  339. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +2 -0
  340. package/dist/esm/api/types/index.d.mts +40 -0
  341. package/dist/esm/api/types/index.mjs +40 -0
  342. package/dist/esm/custom/CortiClient.d.mts +3 -0
  343. package/dist/esm/custom/CortiClient.mjs +5 -0
  344. package/dist/esm/custom/utils/getEnvironmentFromString.mjs +1 -1
  345. package/dist/esm/environments.d.mts +2 -2
  346. package/dist/esm/environments.mjs +2 -2
  347. package/dist/esm/serialization/resources/agents/client/index.d.mts +2 -0
  348. package/dist/esm/serialization/resources/agents/client/index.mjs +2 -0
  349. package/dist/esm/serialization/resources/agents/client/list.d.mts +11 -0
  350. package/dist/esm/serialization/resources/agents/client/list.mjs +6 -0
  351. package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.d.mts +16 -0
  352. package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs +11 -0
  353. package/dist/esm/serialization/resources/agents/client/requests/AgentsMessageSendParams.d.mts +16 -0
  354. package/dist/esm/serialization/resources/agents/client/requests/AgentsMessageSendParams.mjs +11 -0
  355. package/dist/esm/serialization/resources/agents/client/requests/index.d.mts +2 -0
  356. package/dist/esm/serialization/resources/agents/client/requests/index.mjs +2 -0
  357. package/dist/esm/serialization/resources/agents/index.d.mts +2 -0
  358. package/dist/esm/serialization/resources/agents/index.mjs +2 -0
  359. package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +12 -0
  360. package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.mjs +7 -0
  361. package/dist/esm/serialization/resources/agents/types/AgentsMessageSendResponse.d.mts +15 -0
  362. package/dist/esm/serialization/resources/agents/types/AgentsMessageSendResponse.mjs +10 -0
  363. package/dist/esm/serialization/resources/agents/types/index.d.mts +2 -0
  364. package/dist/esm/serialization/resources/agents/types/index.mjs +2 -0
  365. package/dist/esm/serialization/resources/index.d.mts +3 -0
  366. package/dist/esm/serialization/resources/index.mjs +3 -0
  367. package/dist/esm/serialization/types/AgentsAgent.d.mts +17 -0
  368. package/dist/esm/serialization/types/AgentsAgent.mjs +12 -0
  369. package/dist/esm/serialization/types/AgentsAgentCapabilities.d.mts +16 -0
  370. package/dist/esm/serialization/types/AgentsAgentCapabilities.mjs +11 -0
  371. package/dist/esm/serialization/types/AgentsAgentCard.d.mts +34 -0
  372. package/dist/esm/serialization/types/AgentsAgentCard.mjs +33 -0
  373. package/dist/esm/serialization/types/AgentsAgentCardSignature.d.mts +14 -0
  374. package/dist/esm/serialization/types/AgentsAgentCardSignature.mjs +9 -0
  375. package/dist/esm/serialization/types/AgentsAgentExpertsItem.d.mts +12 -0
  376. package/dist/esm/serialization/types/AgentsAgentExpertsItem.mjs +7 -0
  377. package/dist/esm/serialization/types/AgentsAgentExtension.d.mts +15 -0
  378. package/dist/esm/serialization/types/AgentsAgentExtension.mjs +10 -0
  379. package/dist/esm/serialization/types/AgentsAgentInterface.d.mts +13 -0
  380. package/dist/esm/serialization/types/AgentsAgentInterface.mjs +8 -0
  381. package/dist/esm/serialization/types/AgentsAgentProvider.d.mts +13 -0
  382. package/dist/esm/serialization/types/AgentsAgentProvider.mjs +8 -0
  383. package/dist/esm/serialization/types/AgentsAgentReference.d.mts +14 -0
  384. package/dist/esm/serialization/types/AgentsAgentReference.mjs +9 -0
  385. package/dist/esm/serialization/types/AgentsAgentResponse.d.mts +12 -0
  386. package/dist/esm/serialization/types/AgentsAgentResponse.mjs +7 -0
  387. package/dist/esm/serialization/types/AgentsAgentSkill.d.mts +20 -0
  388. package/dist/esm/serialization/types/AgentsAgentSkill.mjs +15 -0
  389. package/dist/esm/serialization/types/AgentsArtifact.d.mts +18 -0
  390. package/dist/esm/serialization/types/AgentsArtifact.mjs +13 -0
  391. package/dist/esm/serialization/types/AgentsContext.d.mts +14 -0
  392. package/dist/esm/serialization/types/AgentsContext.mjs +9 -0
  393. package/dist/esm/serialization/types/AgentsContextItemsItem.d.mts +12 -0
  394. package/dist/esm/serialization/types/AgentsContextItemsItem.mjs +7 -0
  395. package/dist/esm/serialization/types/AgentsCreateExpert.d.mts +17 -0
  396. package/dist/esm/serialization/types/AgentsCreateExpert.mjs +12 -0
  397. package/dist/esm/serialization/types/AgentsCreateMcpServer.d.mts +20 -0
  398. package/dist/esm/serialization/types/AgentsCreateMcpServer.mjs +15 -0
  399. package/dist/esm/serialization/types/AgentsCreateMcpServerAuthorizationType.d.mts +10 -0
  400. package/dist/esm/serialization/types/AgentsCreateMcpServerAuthorizationType.mjs +5 -0
  401. package/dist/esm/serialization/types/AgentsCreateMcpServerTransportType.d.mts +10 -0
  402. package/dist/esm/serialization/types/AgentsCreateMcpServerTransportType.mjs +5 -0
  403. package/dist/esm/serialization/types/AgentsDataPart.d.mts +14 -0
  404. package/dist/esm/serialization/types/AgentsDataPart.mjs +9 -0
  405. package/dist/esm/serialization/types/AgentsExpert.d.mts +18 -0
  406. package/dist/esm/serialization/types/AgentsExpert.mjs +13 -0
  407. package/dist/esm/serialization/types/AgentsExpertReference.d.mts +14 -0
  408. package/dist/esm/serialization/types/AgentsExpertReference.mjs +9 -0
  409. package/dist/esm/serialization/types/AgentsFilePart.d.mts +15 -0
  410. package/dist/esm/serialization/types/AgentsFilePart.mjs +10 -0
  411. package/dist/esm/serialization/types/AgentsFilePartFile.d.mts +12 -0
  412. package/dist/esm/serialization/types/AgentsFilePartFile.mjs +7 -0
  413. package/dist/esm/serialization/types/AgentsFileWithBytes.d.mts +14 -0
  414. package/dist/esm/serialization/types/AgentsFileWithBytes.mjs +9 -0
  415. package/dist/esm/serialization/types/AgentsFileWithUri.d.mts +14 -0
  416. package/dist/esm/serialization/types/AgentsFileWithUri.mjs +9 -0
  417. package/dist/esm/serialization/types/AgentsMcpServer.d.mts +19 -0
  418. package/dist/esm/serialization/types/AgentsMcpServer.mjs +14 -0
  419. package/dist/esm/serialization/types/AgentsMcpServerAuthorizationType.d.mts +10 -0
  420. package/dist/esm/serialization/types/AgentsMcpServerAuthorizationType.mjs +5 -0
  421. package/dist/esm/serialization/types/AgentsMcpServerTransportType.d.mts +10 -0
  422. package/dist/esm/serialization/types/AgentsMcpServerTransportType.mjs +5 -0
  423. package/dist/esm/serialization/types/AgentsMessage.d.mts +22 -0
  424. package/dist/esm/serialization/types/AgentsMessage.mjs +17 -0
  425. package/dist/esm/serialization/types/AgentsMessageRole.d.mts +10 -0
  426. package/dist/esm/serialization/types/AgentsMessageRole.mjs +5 -0
  427. package/dist/esm/serialization/types/AgentsMessageSendConfiguration.d.mts +16 -0
  428. package/dist/esm/serialization/types/AgentsMessageSendConfiguration.mjs +11 -0
  429. package/dist/esm/serialization/types/AgentsPart.d.mts +13 -0
  430. package/dist/esm/serialization/types/AgentsPart.mjs +8 -0
  431. package/dist/esm/serialization/types/AgentsPushNotificationAuthenticationInfo.d.mts +13 -0
  432. package/dist/esm/serialization/types/AgentsPushNotificationAuthenticationInfo.mjs +8 -0
  433. package/dist/esm/serialization/types/AgentsPushNotificationConfig.d.mts +16 -0
  434. package/dist/esm/serialization/types/AgentsPushNotificationConfig.mjs +11 -0
  435. package/dist/esm/serialization/types/AgentsRegistryExpert.d.mts +13 -0
  436. package/dist/esm/serialization/types/AgentsRegistryExpert.mjs +8 -0
  437. package/dist/esm/serialization/types/AgentsRegistryExpertsResponse.d.mts +13 -0
  438. package/dist/esm/serialization/types/AgentsRegistryExpertsResponse.mjs +8 -0
  439. package/dist/esm/serialization/types/AgentsTask.d.mts +21 -0
  440. package/dist/esm/serialization/types/AgentsTask.mjs +16 -0
  441. package/dist/esm/serialization/types/AgentsTaskStatus.d.mts +16 -0
  442. package/dist/esm/serialization/types/AgentsTaskStatus.mjs +11 -0
  443. package/dist/esm/serialization/types/AgentsTaskStatusState.d.mts +10 -0
  444. package/dist/esm/serialization/types/AgentsTaskStatusState.mjs +15 -0
  445. package/dist/esm/serialization/types/AgentsTextPart.d.mts +14 -0
  446. package/dist/esm/serialization/types/AgentsTextPart.mjs +9 -0
  447. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.d.mts +1 -0
  448. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs +1 -0
  449. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.d.mts +1 -0
  450. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs +1 -0
  451. package/dist/esm/serialization/types/index.d.mts +40 -0
  452. package/dist/esm/serialization/types/index.mjs +40 -0
  453. package/dist/esm/version.d.mts +1 -1
  454. package/dist/esm/version.mjs +1 -1
  455. package/package.json +1 -1
@@ -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,24 @@
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
+ /**
14
+ * If set to true, the agent will be created as ephemeral, it won't be listed in the agents_list but can still be fetched by ID. Ephemeral agents will be deleted periodically.
15
+ */
16
+ ephemeral?: boolean | null;
17
+ /** The name of the agent. */
18
+ name: string;
19
+ /** The system prompt that defines the overall agents behavior and expectations. This field is optional as there is a default system orchestrator. */
20
+ systemPrompt?: string;
21
+ /** A brief description of the agent's capabilities. */
22
+ description: string;
23
+ experts?: Corti.AgentsCreateAgentExpertsItem[];
24
+ }
@@ -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,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * limit: 100,
8
+ * offset: 0
9
+ * }
10
+ */
11
+ export interface AgentsGetRegistryExpertsRequest {
12
+ /**
13
+ * The maximum number of items to return. If not specified, a default number of items will be returned.
14
+ */
15
+ limit?: number | null;
16
+ /**
17
+ * The number of items to skip before starting to collect the result set. Default is 0.
18
+ */
19
+ offset?: number | null;
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,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,21 @@
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
+ /**
18
+ * If set to true, ephemeral agents will be included in the response. Default is false.
19
+ */
20
+ ephemeral?: boolean | null;
21
+ }
@@ -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,24 @@
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
+ * message: {
9
+ * role: "user",
10
+ * parts: [{
11
+ * kind: "text",
12
+ * text: "text"
13
+ * }],
14
+ * messageId: "messageId",
15
+ * kind: "message"
16
+ * }
17
+ * }
18
+ */
19
+ export interface AgentsMessageSendParams {
20
+ message: Corti.AgentsMessage;
21
+ configuration?: Corti.AgentsMessageSendConfiguration;
22
+ /** Optional metadata that will be associated with the message. */
23
+ metadata?: Record<string, unknown>;
24
+ }
@@ -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,6 @@
1
+ export { type AgentsListRequest } from "./AgentsListRequest.js";
2
+ export { type AgentsCreateAgent } from "./AgentsCreateAgent.js";
3
+ export { type AgentsMessageSendParams } from "./AgentsMessageSendParams.js";
4
+ export { type AgentsGetTaskRequest } from "./AgentsGetTaskRequest.js";
5
+ export { type AgentsGetContextRequest } from "./AgentsGetContextRequest.js";
6
+ export { type AgentsGetRegistryExpertsRequest } from "./AgentsGetRegistryExpertsRequest.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,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 AgentsCreateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.AgentsExpertReference;
@@ -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,2 @@
1
+ export * from "./AgentsCreateAgentExpertsItem.js";
2
+ export * from "./AgentsMessageSendResponse.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("./AgentsCreateAgentExpertsItem.js"), exports);
18
+ __exportStar(require("./AgentsMessageSendResponse.js"), exports);
@@ -2,6 +2,8 @@ export * as interactions from "./interactions/index.js";
2
2
  export * from "./interactions/types/index.js";
3
3
  export * as auth from "./auth/index.js";
4
4
  export * from "./auth/types/index.js";
5
+ export * as agents from "./agents/index.js";
6
+ export * from "./agents/types/index.js";
5
7
  export * as stream from "./stream/index.js";
6
8
  export * as transcribe from "./transcribe/index.js";
7
9
  export * as recordings from "./recordings/index.js";
@@ -15,3 +17,4 @@ export * from "./facts/client/requests/index.js";
15
17
  export * from "./documents/client/requests/index.js";
16
18
  export * from "./templates/client/requests/index.js";
17
19
  export * from "./auth/client/requests/index.js";
20
+ export * from "./agents/client/requests/index.js";
@@ -36,11 +36,13 @@ 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.transcripts = exports.recordings = exports.transcribe = exports.stream = exports.auth = exports.interactions = void 0;
39
+ exports.templates = exports.documents = exports.facts = exports.transcripts = exports.recordings = exports.transcribe = exports.stream = exports.agents = exports.auth = 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.auth = __importStar(require("./auth/index.js"));
43
43
  __exportStar(require("./auth/types/index.js"), exports);
44
+ exports.agents = __importStar(require("./agents/index.js"));
45
+ __exportStar(require("./agents/types/index.js"), exports);
44
46
  exports.stream = __importStar(require("./stream/index.js"));
45
47
  exports.transcribe = __importStar(require("./transcribe/index.js"));
46
48
  exports.recordings = __importStar(require("./recordings/index.js"));
@@ -54,3 +56,4 @@ __exportStar(require("./facts/client/requests/index.js"), exports);
54
56
  __exportStar(require("./documents/client/requests/index.js"), exports);
55
57
  __exportStar(require("./templates/client/requests/index.js"), exports);
56
58
  __exportStar(require("./auth/client/requests/index.js"), exports);
59
+ __exportStar(require("./agents/client/requests/index.js"), exports);
@@ -0,0 +1,15 @@
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
+ /** The system prompt that defines the overall agents behavior and expectations. */
13
+ systemPrompt: string;
14
+ experts?: Corti.AgentsAgentExpertsItem[];
15
+ }
@@ -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[] | null;
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,39 @@
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?: string | null;
15
+ /** A list of additional transport protocols and URL combinations the agent supports. */
16
+ additionalInterfaces?: Corti.AgentsAgentInterface[] | null;
17
+ /** A URL to an icon representing the agent. */
18
+ iconUrl?: string | null;
19
+ /** A URL to documentation describing how to interact with the agent. */
20
+ documentationUrl?: string | null;
21
+ provider?: Corti.AgentsAgentProvider;
22
+ /** The version of the agent. */
23
+ version: string;
24
+ capabilities: Corti.AgentsAgentCapabilities;
25
+ /** A declaration of the security schemes available to authorize requests. The key is the scheme name. Follows the OpenAPI 3.0 Security Scheme Object. */
26
+ securitySchemes?: Record<string, unknown> | null;
27
+ /** 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." */
28
+ security?: Record<string, unknown> | null;
29
+ /** Default set of supported input MIME types for all skills, which can be overridden on a per-skill basis. */
30
+ defaultInputModes: string[];
31
+ /** Default set of supported output MIME types for all skills, which can be overridden on a per-skill basis. */
32
+ defaultOutputModes: string[];
33
+ /** The set of skills, or distinct capabilities, that the agent can perform. */
34
+ skills: Corti.AgentsAgentSkill[];
35
+ /** Indicates whether the agent supports returning an extended agent card when called with authentication. */
36
+ supportsAuthenticatedExtendedCard?: boolean | null;
37
+ /** JSON Web Signatures computed for this AgentCard. */
38
+ signatures?: Corti.AgentsAgentCardSignature[] | null;
39
+ }
@@ -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,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 AgentsAgentExpertsItem = Corti.AgentsExpert | Corti.AgentsExpertReference;
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AgentsAgentInterface {
5
+ /** The URL where the agent can be reached using the specified protocol. */
6
+ url: string;
7
+ transport: string;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AgentsAgentProvider {
5
+ /** The name of the organization providing the agent. */
6
+ organization: string;
7
+ /** The URL of the organization providing the agent. */
8
+ url: string;
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,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[] | null;
16
+ /** A list of supported input MIME types for this skill. If omitted, the agent's default input modes apply. */
17
+ inputModes?: string[] | null;
18
+ /** A list of supported output MIME types for this skill. If omitted, the agent's default output modes apply. */
19
+ outputModes?: string[] | null;
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> | null;
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
+ }
@@ -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 AgentsContextItemsItem = Corti.AgentsTask | Corti.AgentsMessage;
@@ -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 });