@composio/client 2.0.0-rc.9 → 2.0.1

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 (563) hide show
  1. package/LICENSE +202 -0
  2. package/MIGRATION.md +164 -0
  3. package/README.md +503 -39
  4. package/dist/{session-configs-DC9dblKH.d.mts → _internal-tzmCmYGo.d.mts} +2495 -1747
  5. package/dist/_internal-u674nU6P.d.mts +281 -0
  6. package/dist/effect/internal.d.mts +9 -0
  7. package/dist/effect/internal.mjs +1 -0
  8. package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +9 -0
  9. package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +17 -0
  10. package/dist/effect/schemas/_internal/cli/create-session.d.mts +12 -0
  11. package/dist/effect/schemas/_internal/cli/create-session.mjs +26 -0
  12. package/dist/effect/schemas/_internal/cli/get-session.d.mts +18 -0
  13. package/dist/effect/schemas/_internal/cli/get-session.mjs +48 -0
  14. package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +9 -0
  15. package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +11 -0
  16. package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +10 -0
  17. package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +12 -0
  18. package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +13 -0
  19. package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +20 -0
  20. package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +13 -0
  21. package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +13 -0
  22. package/dist/effect/schemas/_internal/logs/tools/list.d.mts +28 -0
  23. package/dist/effect/schemas/_internal/logs/tools/list.mjs +33 -0
  24. package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +60 -0
  25. package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +74 -0
  26. package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +34 -0
  27. package/dist/effect/schemas/_internal/logs/triggers/list.mjs +12 -0
  28. package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +33 -0
  29. package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +9 -0
  30. package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +8 -0
  31. package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +8 -0
  32. package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +20 -0
  33. package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +31 -0
  34. package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +10 -0
  35. package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +18 -0
  36. package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
  37. package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
  38. package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
  39. package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
  40. package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
  41. package/dist/effect/schemas/auth-configs/create.mjs +22 -0
  42. package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
  43. package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
  44. package/dist/effect/schemas/auth-configs/list.d.mts +55 -0
  45. package/dist/effect/schemas/auth-configs/list.mjs +67 -0
  46. package/dist/effect/schemas/auth-configs/retrieve.d.mts +49 -0
  47. package/dist/effect/schemas/auth-configs/retrieve.mjs +61 -0
  48. package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
  49. package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
  50. package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
  51. package/dist/effect/schemas/auth-configs/update.mjs +11 -0
  52. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
  53. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
  54. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
  55. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
  56. package/dist/effect/schemas/components/block-reason.d.mts +12 -0
  57. package/dist/effect/schemas/components/block-reason.mjs +14 -0
  58. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
  59. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
  60. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
  61. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
  62. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
  63. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
  64. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
  65. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
  66. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
  67. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
  68. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
  69. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
  70. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
  71. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
  72. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
  73. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
  74. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
  75. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
  76. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
  77. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
  78. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
  79. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
  80. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
  81. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
  82. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
  83. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
  84. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
  85. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
  86. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
  87. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
  88. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
  89. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
  90. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
  91. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
  92. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
  93. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
  94. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
  95. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
  96. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
  97. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
  98. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
  99. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
  100. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
  101. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
  102. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
  103. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
  104. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
  105. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
  106. package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
  107. package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
  108. package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
  109. package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
  110. package/dist/effect/schemas/components/execute-blocked.d.mts +30 -0
  111. package/dist/effect/schemas/components/execute-blocked.mjs +24 -0
  112. package/dist/effect/schemas/components/execute-completed.d.mts +24 -0
  113. package/dist/effect/schemas/components/execute-completed.mjs +29 -0
  114. package/dist/effect/schemas/components/execute-failed.d.mts +24 -0
  115. package/dist/effect/schemas/components/execute-failed.mjs +29 -0
  116. package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
  117. package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
  118. package/dist/effect/schemas/components/hook-result.d.mts +13 -0
  119. package/dist/effect/schemas/components/hook-result.mjs +15 -0
  120. package/dist/effect/schemas/components/instant-account.d.mts +12 -0
  121. package/dist/effect/schemas/components/instant-account.mjs +15 -0
  122. package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
  123. package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
  124. package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
  125. package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
  126. package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
  127. package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
  128. package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +24 -0
  129. package/dist/effect/schemas/components/proxy-execute-blocked.mjs +18 -0
  130. package/dist/effect/schemas/components/proxy-execute-completed.d.mts +25 -0
  131. package/dist/effect/schemas/components/proxy-execute-completed.mjs +38 -0
  132. package/dist/effect/schemas/components/session-create-response-config.d.mts +112 -0
  133. package/dist/effect/schemas/components/session-create-response-config.mjs +167 -0
  134. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
  135. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
  136. package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
  137. package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
  138. package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
  139. package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
  140. package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
  141. package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
  142. package/dist/effect/schemas/components/tool-details.d.mts +51 -0
  143. package/dist/effect/schemas/components/tool-details.mjs +144 -0
  144. package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
  145. package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
  146. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +123 -0
  147. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +178 -0
  148. package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
  149. package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
  150. package/dist/effect/schemas/components/tool.d.mts +51 -0
  151. package/dist/effect/schemas/components/tool.mjs +144 -0
  152. package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
  153. package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
  154. package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
  155. package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
  156. package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
  157. package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
  158. package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
  159. package/dist/effect/schemas/components/user-input-request.mjs +19 -0
  160. package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
  161. package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
  162. package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
  163. package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
  164. package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
  165. package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
  166. package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
  167. package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
  168. package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
  169. package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
  170. package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
  171. package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
  172. package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
  173. package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
  174. package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
  175. package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
  176. package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
  177. package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
  178. package/dist/effect/schemas/custom/create-toolkit.d.mts +13 -0
  179. package/dist/effect/schemas/custom/create-toolkit.mjs +21 -0
  180. package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
  181. package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
  182. package/dist/effect/schemas/custom/sync.d.mts +10 -0
  183. package/dist/effect/schemas/custom/sync.mjs +21 -0
  184. package/dist/effect/schemas/custom/update-toolkits.d.mts +8 -0
  185. package/dist/effect/schemas/custom/update-toolkits.mjs +8 -0
  186. package/dist/effect/schemas/custom/upsert.d.mts +8 -0
  187. package/dist/effect/schemas/custom/upsert.mjs +11 -0
  188. package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
  189. package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
  190. package/dist/effect/schemas/files/list.d.mts +18 -0
  191. package/dist/effect/schemas/files/list.mjs +20 -0
  192. package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
  193. package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
  194. package/dist/effect/schemas/link/create.d.mts +19 -0
  195. package/dist/effect/schemas/link/create.mjs +18 -0
  196. package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
  197. package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
  198. package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
  199. package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
  200. package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
  201. package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
  202. package/dist/effect/schemas/mcp/create.d.mts +23 -0
  203. package/dist/effect/schemas/mcp/create.mjs +67 -0
  204. package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
  205. package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
  206. package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
  207. package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
  208. package/dist/effect/schemas/mcp/delete.d.mts +9 -0
  209. package/dist/effect/schemas/mcp/delete.mjs +17 -0
  210. package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
  211. package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
  212. package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
  213. package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
  214. package/dist/effect/schemas/mcp/list.d.mts +27 -0
  215. package/dist/effect/schemas/mcp/list.mjs +19 -0
  216. package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
  217. package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
  218. package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
  219. package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
  220. package/dist/effect/schemas/mcp/update.d.mts +24 -0
  221. package/dist/effect/schemas/mcp/update.mjs +68 -0
  222. package/dist/effect/schemas/org/list.d.mts +17 -0
  223. package/dist/effect/schemas/org/list.mjs +22 -0
  224. package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
  225. package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
  226. package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
  227. package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
  228. package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
  229. package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
  230. package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
  231. package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
  232. package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
  233. package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
  234. package/dist/effect/schemas/org/project/list.d.mts +27 -0
  235. package/dist/effect/schemas/org/project/list.mjs +15 -0
  236. package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
  237. package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
  238. package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
  239. package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
  240. package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
  241. package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
  242. package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
  243. package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
  244. package/dist/effect/schemas/session-configs/list.d.mts +15 -0
  245. package/dist/effect/schemas/session-configs/list.mjs +26 -0
  246. package/dist/effect/schemas/session-configs/retrieve.d.mts +45 -0
  247. package/dist/effect/schemas/session-configs/retrieve.mjs +103 -0
  248. package/dist/effect/schemas/tool-router/session/attach.d.mts +157 -0
  249. package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
  250. package/dist/effect/schemas/tool-router/session/config-history.d.mts +122 -0
  251. package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
  252. package/dist/effect/schemas/tool-router/session/create.d.mts +157 -0
  253. package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
  254. package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
  255. package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
  256. package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +75 -0
  257. package/dist/effect/schemas/tool-router/session/execute-meta.mjs +17 -0
  258. package/dist/effect/schemas/tool-router/session/execute.d.mts +75 -0
  259. package/dist/effect/schemas/tool-router/session/execute.mjs +17 -0
  260. package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
  261. package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
  262. package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
  263. package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
  264. package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
  265. package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
  266. package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
  267. package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
  268. package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
  269. package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
  270. package/dist/effect/schemas/tool-router/session/patch.d.mts +157 -0
  271. package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
  272. package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +52 -0
  273. package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +15 -0
  274. package/dist/effect/schemas/tool-router/session/retrieve.d.mts +157 -0
  275. package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
  276. package/dist/effect/schemas/tool-router/session/search.d.mts +80 -0
  277. package/dist/effect/schemas/tool-router/session/search.mjs +78 -0
  278. package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
  279. package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
  280. package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
  281. package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
  282. package/dist/effect/schemas/toolkits/list.d.mts +42 -0
  283. package/dist/effect/schemas/toolkits/list.mjs +15 -0
  284. package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
  285. package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
  286. package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
  287. package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
  288. package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
  289. package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
  290. package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
  291. package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
  292. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
  293. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
  294. package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
  295. package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
  296. package/dist/effect/schemas/tools/execute.d.mts +12 -0
  297. package/dist/effect/schemas/tools/execute.mjs +35 -0
  298. package/dist/effect/schemas/tools/get-input.d.mts +9 -0
  299. package/dist/effect/schemas/tools/get-input.mjs +22 -0
  300. package/dist/effect/schemas/tools/list.d.mts +56 -0
  301. package/dist/effect/schemas/tools/list.mjs +8 -0
  302. package/dist/effect/schemas/tools/proxy.d.mts +16 -0
  303. package/dist/effect/schemas/tools/proxy.mjs +36 -0
  304. package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
  305. package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
  306. package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
  307. package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
  308. package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
  309. package/dist/effect/schemas/tools/retrieve.mjs +8 -0
  310. package/dist/effect/schemas/trigger-instances/list-active.d.mts +37 -0
  311. package/dist/effect/schemas/trigger-instances/list-active.mjs +49 -0
  312. package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
  313. package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
  314. package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
  315. package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
  316. package/dist/effect/schemas/trigger-instances/upsert.d.mts +11 -0
  317. package/dist/effect/schemas/trigger-instances/upsert.mjs +22 -0
  318. package/dist/effect/schemas/triggers-types/list.d.mts +28 -0
  319. package/dist/effect/schemas/triggers-types/list.mjs +90 -0
  320. package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
  321. package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
  322. package/dist/effect/schemas/triggers-types/retrieve.d.mts +22 -0
  323. package/dist/effect/schemas/triggers-types/retrieve.mjs +84 -0
  324. package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
  325. package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
  326. package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
  327. package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
  328. package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
  329. package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
  330. package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
  331. package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
  332. package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
  333. package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
  334. package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
  335. package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
  336. package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
  337. package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
  338. package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
  339. package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
  340. package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
  341. package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
  342. package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
  343. package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
  344. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
  345. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
  346. package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
  347. package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
  348. package/dist/effect/schemas.d.mts +9933 -0
  349. package/dist/effect/schemas.mjs +134 -0
  350. package/dist/effect.d.mts +509 -0
  351. package/dist/effect.mjs +1642 -0
  352. package/dist/environments-B7_vTiMY.d.mts +19 -0
  353. package/dist/environments-C4RXCqEC.mjs +230 -0
  354. package/dist/{error-DLB1uKM3.mjs → error-Bw7_G2NZ.mjs} +16 -8
  355. package/dist/{generated-operations-BDdFa2UY.mjs → generated-operations-D0eOQLVJ.mjs} +629 -275
  356. package/dist/index.d.mts +3 -5
  357. package/dist/index.mjs +132 -425
  358. package/dist/internal.d.mts +9 -0
  359. package/dist/internal.mjs +1 -0
  360. package/dist/pagination-rules-CMnBwktJ.mjs +36 -0
  361. package/dist/pagination.mjs +5 -9
  362. package/dist/resources/_internal/_internal.d.mts +2 -0
  363. package/dist/resources/_internal/_internal.mjs +16 -0
  364. package/dist/resources/_internal/cli/cli.d.mts +2 -0
  365. package/dist/resources/_internal/cli/cli.mjs +33 -0
  366. package/dist/resources/_internal/cli/realtime.d.mts +2 -0
  367. package/dist/resources/_internal/cli/realtime.mjs +20 -0
  368. package/dist/resources/_internal/cli.d.mts +2 -0
  369. package/dist/resources/_internal/cli.mjs +1 -0
  370. package/dist/resources/_internal/consumer/consumer.d.mts +2 -0
  371. package/dist/resources/_internal/consumer/consumer.mjs +8 -0
  372. package/dist/resources/_internal/consumer/permissions.d.mts +2 -0
  373. package/dist/resources/_internal/consumer/permissions.mjs +14 -0
  374. package/dist/resources/_internal/consumer.d.mts +2 -0
  375. package/dist/resources/_internal/consumer.mjs +1 -0
  376. package/dist/resources/_internal/logs/logs.d.mts +2 -0
  377. package/dist/resources/_internal/logs/logs.mjs +12 -0
  378. package/dist/resources/_internal/logs/tools.d.mts +2 -0
  379. package/dist/resources/_internal/logs/tools.mjs +24 -0
  380. package/dist/resources/_internal/logs/triggers.d.mts +2 -0
  381. package/dist/resources/_internal/logs/triggers.mjs +20 -0
  382. package/dist/resources/_internal/logs.d.mts +2 -0
  383. package/dist/resources/_internal/logs.mjs +1 -0
  384. package/dist/resources/_internal/org/consumer/consumer.d.mts +2 -0
  385. package/dist/resources/_internal/org/consumer/consumer.mjs +26 -0
  386. package/dist/resources/_internal/org/consumer/project.d.mts +2 -0
  387. package/dist/resources/_internal/org/consumer/project.mjs +15 -0
  388. package/dist/resources/_internal/org/consumer.d.mts +2 -0
  389. package/dist/resources/_internal/org/consumer.mjs +1 -0
  390. package/dist/resources/_internal/org/org.d.mts +2 -0
  391. package/dist/resources/_internal/org/org.mjs +8 -0
  392. package/dist/resources/_internal/org.d.mts +2 -0
  393. package/dist/resources/_internal/org.mjs +1 -0
  394. package/dist/resources/_internal.d.mts +2 -0
  395. package/dist/resources/_internal.mjs +1 -0
  396. package/dist/resources/api-key-revocation.d.mts +2 -2
  397. package/dist/resources/api-key-revocation.mjs +13 -2
  398. package/dist/resources/auth/auth.d.mts +2 -2
  399. package/dist/resources/auth/auth.mjs +7 -2
  400. package/dist/resources/auth/session.d.mts +2 -2
  401. package/dist/resources/auth/session.mjs +10 -2
  402. package/dist/resources/auth-configs.d.mts +2 -2
  403. package/dist/resources/auth-configs.mjs +45 -2
  404. package/dist/resources/auth.d.mts +2 -2
  405. package/dist/resources/auth.mjs +1 -5
  406. package/dist/resources/connected-accounts.d.mts +2 -2
  407. package/dist/resources/connected-accounts.mjs +70 -2
  408. package/dist/resources/custom.d.mts +2 -2
  409. package/dist/resources/custom.mjs +43 -2
  410. package/dist/resources/files.d.mts +2 -2
  411. package/dist/resources/files.mjs +22 -2
  412. package/dist/resources/keyring.d.mts +2 -2
  413. package/dist/resources/keyring.mjs +10 -2
  414. package/dist/resources/link.d.mts +2 -2
  415. package/dist/resources/link.mjs +13 -2
  416. package/dist/resources/logs/logs.d.mts +2 -2
  417. package/dist/resources/logs/logs.mjs +19 -2
  418. package/dist/resources/logs.d.mts +2 -2
  419. package/dist/resources/logs.mjs +1 -6
  420. package/dist/resources/mcp/custom.d.mts +2 -2
  421. package/dist/resources/mcp/custom.mjs +13 -2
  422. package/dist/resources/mcp/generate.d.mts +2 -2
  423. package/dist/resources/mcp/generate.mjs +13 -2
  424. package/dist/resources/mcp/mcp.d.mts +2 -2
  425. package/dist/resources/mcp/mcp.mjs +67 -2
  426. package/dist/resources/mcp.d.mts +2 -2
  427. package/dist/resources/mcp.mjs +1 -6
  428. package/dist/resources/org/org.d.mts +2 -2
  429. package/dist/resources/org/org.mjs +21 -2
  430. package/dist/resources/org/owner/owner.d.mts +2 -2
  431. package/dist/resources/org/owner/owner.mjs +7 -2
  432. package/dist/resources/org/owner/project.d.mts +2 -2
  433. package/dist/resources/org/owner/project.mjs +37 -2
  434. package/dist/resources/org/owner.d.mts +2 -2
  435. package/dist/resources/org/owner.mjs +1 -5
  436. package/dist/resources/org/project.d.mts +2 -2
  437. package/dist/resources/org/project.mjs +13 -2
  438. package/dist/resources/org/usage.d.mts +2 -2
  439. package/dist/resources/org/usage.mjs +22 -2
  440. package/dist/resources/org.d.mts +2 -2
  441. package/dist/resources/org.mjs +1 -9
  442. package/dist/resources/project/project.d.mts +2 -2
  443. package/dist/resources/project/project.mjs +7 -2
  444. package/dist/resources/project/usage.d.mts +2 -2
  445. package/dist/resources/project/usage.mjs +22 -2
  446. package/dist/resources/project.d.mts +2 -3
  447. package/dist/resources/project.mjs +1 -5
  448. package/dist/resources/session-configs.d.mts +2 -2
  449. package/dist/resources/session-configs.mjs +8 -12
  450. package/dist/resources/tool-router/session/files.d.mts +2 -2
  451. package/dist/resources/tool-router/session/files.mjs +40 -2
  452. package/dist/resources/tool-router/session/session.d.mts +2 -2
  453. package/dist/resources/tool-router/session/session.mjs +95 -2
  454. package/dist/resources/tool-router/session.d.mts +2 -2
  455. package/dist/resources/tool-router/session.mjs +1 -5
  456. package/dist/resources/tool-router/tool-router.d.mts +2 -2
  457. package/dist/resources/tool-router/tool-router.mjs +7 -2
  458. package/dist/resources/tool-router.d.mts +2 -2
  459. package/dist/resources/tool-router.mjs +1 -5
  460. package/dist/resources/toolkits.d.mts +2 -2
  461. package/dist/resources/toolkits.mjs +55 -2
  462. package/dist/resources/tools.d.mts +2 -2
  463. package/dist/resources/tools.mjs +56 -2
  464. package/dist/resources/trigger-instances/manage.d.mts +2 -2
  465. package/dist/resources/trigger-instances/manage.mjs +19 -2
  466. package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -2
  467. package/dist/resources/trigger-instances/trigger-instances.mjs +24 -2
  468. package/dist/resources/trigger-instances.d.mts +2 -2
  469. package/dist/resources/trigger-instances.mjs +1 -5
  470. package/dist/resources/triggers-types.d.mts +2 -2
  471. package/dist/resources/triggers-types.mjs +26 -2
  472. package/dist/resources/webhook-endpoints.d.mts +2 -2
  473. package/dist/resources/webhook-endpoints.mjs +40 -2
  474. package/dist/resources/webhook-subscriptions.d.mts +2 -2
  475. package/dist/resources/webhook-subscriptions.mjs +45 -2
  476. package/package.json +42 -34
  477. package/dist/api-key-revocation-C9gI3mxD.mjs +0 -25
  478. package/dist/auth-configs-AfPOIrp_.mjs +0 -54
  479. package/dist/auth-mNBmShhc.mjs +0 -17
  480. package/dist/clanker-DuDWRKms.mjs +0 -24
  481. package/dist/cli-BL3iy1cn.mjs +0 -45
  482. package/dist/config-BLBbhLe1.mjs +0 -10
  483. package/dist/config-DnyMhILW.d.mts +0 -9
  484. package/dist/connected-accounts-CDAYy93Y.mjs +0 -82
  485. package/dist/consumer-xMnRU0C0.mjs +0 -34
  486. package/dist/custom-CG287eyS.mjs +0 -24
  487. package/dist/custom-D5-KtFkx.mjs +0 -31
  488. package/dist/files-7nQzcAPu.mjs +0 -49
  489. package/dist/files-DfXyjBsv.mjs +0 -31
  490. package/dist/generate-Deely-Rs.mjs +0 -24
  491. package/dist/keyring-BU1WNke6.mjs +0 -17
  492. package/dist/link-BgM_kX73.mjs +0 -23
  493. package/dist/logs-CvGKikGY.mjs +0 -38
  494. package/dist/manage-D3woWCHa.mjs +0 -28
  495. package/dist/mcp-C9lPgg0I.mjs +0 -91
  496. package/dist/migration-CBhnoN-Y.mjs +0 -10
  497. package/dist/migration-CKGKuRO3.d.mts +0 -9
  498. package/dist/org-D490cmfQ.mjs +0 -45
  499. package/dist/owner-DUnkjEA9.mjs +0 -17
  500. package/dist/project-61Vi9ABS.mjs +0 -47
  501. package/dist/project-BmLu0B1A.mjs +0 -22
  502. package/dist/project-BoZ_FkAd.mjs +0 -25
  503. package/dist/project-DJCRMUWP.mjs +0 -29
  504. package/dist/realtime-D92CAeH1.mjs +0 -28
  505. package/dist/resources/auth/index.d.mts +0 -2
  506. package/dist/resources/auth/index.mjs +0 -4
  507. package/dist/resources/cli/cli.d.mts +0 -2
  508. package/dist/resources/cli/cli.mjs +0 -3
  509. package/dist/resources/cli/index.d.mts +0 -2
  510. package/dist/resources/cli/index.mjs +0 -4
  511. package/dist/resources/cli/realtime.d.mts +0 -2
  512. package/dist/resources/cli/realtime.mjs +0 -3
  513. package/dist/resources/cli.d.mts +0 -2
  514. package/dist/resources/cli.mjs +0 -5
  515. package/dist/resources/index.d.mts +0 -3
  516. package/dist/resources/index.mjs +0 -16
  517. package/dist/resources/logs/index.d.mts +0 -2
  518. package/dist/resources/logs/index.mjs +0 -5
  519. package/dist/resources/logs/tools.d.mts +0 -2
  520. package/dist/resources/logs/tools.mjs +0 -3
  521. package/dist/resources/logs/triggers.d.mts +0 -2
  522. package/dist/resources/logs/triggers.mjs +0 -3
  523. package/dist/resources/mcp/index.d.mts +0 -2
  524. package/dist/resources/mcp/index.mjs +0 -5
  525. package/dist/resources/migration.d.mts +0 -2
  526. package/dist/resources/migration.mjs +0 -3
  527. package/dist/resources/org/clanker.d.mts +0 -2
  528. package/dist/resources/org/clanker.mjs +0 -3
  529. package/dist/resources/org/consumer/consumer.d.mts +0 -2
  530. package/dist/resources/org/consumer/consumer.mjs +0 -3
  531. package/dist/resources/org/consumer/index.d.mts +0 -2
  532. package/dist/resources/org/consumer/index.mjs +0 -4
  533. package/dist/resources/org/consumer/project.d.mts +0 -2
  534. package/dist/resources/org/consumer/project.mjs +0 -3
  535. package/dist/resources/org/consumer.d.mts +0 -2
  536. package/dist/resources/org/consumer.mjs +0 -5
  537. package/dist/resources/org/index.d.mts +0 -2
  538. package/dist/resources/org/index.mjs +0 -8
  539. package/dist/resources/org/owner/index.d.mts +0 -2
  540. package/dist/resources/org/owner/index.mjs +0 -4
  541. package/dist/resources/project/config.d.mts +0 -2
  542. package/dist/resources/project/config.mjs +0 -3
  543. package/dist/resources/project/index.d.mts +0 -3
  544. package/dist/resources/project/index.mjs +0 -4
  545. package/dist/resources/tool-router/index.d.mts +0 -2
  546. package/dist/resources/tool-router/index.mjs +0 -4
  547. package/dist/resources/tool-router/session/index.d.mts +0 -2
  548. package/dist/resources/tool-router/session/index.mjs +0 -4
  549. package/dist/resources/trigger-instances/index.d.mts +0 -2
  550. package/dist/resources/trigger-instances/index.mjs +0 -4
  551. package/dist/session-CuxeTn6B.mjs +0 -22
  552. package/dist/session-Ko7BIjgq.mjs +0 -110
  553. package/dist/tool-router-CBKKosNd.mjs +0 -14
  554. package/dist/toolkits-3DF2HJzj.mjs +0 -62
  555. package/dist/tools-CHZz5vhP.mjs +0 -33
  556. package/dist/tools-CZ866I6_.mjs +0 -68
  557. package/dist/trigger-instances-Db9jhHWY.mjs +0 -35
  558. package/dist/triggers-CDhM0b24.mjs +0 -28
  559. package/dist/triggers-types-C6SEunIK.mjs +0 -34
  560. package/dist/usage-7j_ne9rG.mjs +0 -31
  561. package/dist/usage-CE6S407C.mjs +0 -31
  562. package/dist/webhook-endpoints-DWS1Ycp6.mjs +0 -51
  563. package/dist/webhook-subscriptions-DgL5Qp1f.mjs +0 -55
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/MIGRATION.md ADDED
@@ -0,0 +1,164 @@
1
+ # Upgrade to @composio/client 2.0
2
+
3
+ By default, the 2.0 client refuses to send credentials over plain HTTP unless the hostname is
4
+ loopback. For a trusted development backend such as Docker's host gateway, opt in to the exact
5
+ configured origin:
6
+
7
+ ```ts
8
+ const composio = new Composio({
9
+ auth: Auth.project(apiKey),
10
+ baseURL: 'http://host.docker.internal:9900',
11
+ allowInsecureHTTP: true,
12
+ })
13
+ ```
14
+
15
+ The equivalent environment configuration, for `Composio.fromEnv`, is:
16
+
17
+ ```sh
18
+ COMPOSIO_BASE_URL=http://host.docker.internal:9900 \
19
+ COMPOSIO_ALLOW_INSECURE_HTTP=1
20
+ ```
21
+
22
+ The opt-in records the resolved scheme, hostname, and port. Mutating `baseURL` cannot broaden it,
23
+ and `withOptions({ baseURL: ... })` requires `allowInsecureHTTP: true` again when the origin
24
+ changes. Redirects to another origin remain credential-free.
25
+
26
+ ### Changed in 2.0.0
27
+
28
+ | Change | Migration |
29
+ | --- | --- |
30
+ | Trigger upsert responses and active-list items require `type`, `fallback_reason` and `polling_interval` | Update typed fixtures/mocks to include all three keys. `type` is `webhook` or `poll`; the other two keys accept `null`. This also applies to Effect stream items |
31
+ | Trigger upsert accepts optional `type` and `polling_interval` | Use `type: 'poll'` or `'webhook'` to choose a mechanism; the interval is an integer in minutes (1–10080, subject to toolkit limits). Omit them to keep server selection |
32
+ | POST and PATCH no longer retry by default on the Promise client, matching Effect | Set `maxRetries` in the individual call's request options only when repeating that operation is safe. A client-level setting or `idempotencyKey` does not opt writes into retries |
33
+
34
+ ### Changed in 2.0.0-rc.23
35
+
36
+ | Change | Migration |
37
+ | --- | --- |
38
+ | `client.cli.createCodactFailure` moved to `client._internal.cli.createCodactFailure` (Apollo now tags it `x-internal`) | Import `@composio/client/internal` and call it there. Its types come from `@composio/client/resources/_internal/cli`; `@composio/client/resources/cli` no longer exists. Its Effect response schema moved to `@composio/client/effect/schemas/_internal/cli/create-codact-failure`. The wire is unchanged |
39
+ | `client.org.clanker.createClaim` is removed, with `@composio/client/resources/org/clanker` (Apollo removed `POST /api/v3.1/org/clanker/create_claim`) | None: the endpoint no longer exists |
40
+ | `sessionConfigs.list` no longer accepts `search` (Apollo removed the filter) | Drop `search` from the query and filter the returned configs yourself |
41
+
42
+ Two new internal operations are under `client._internal`: `consumer.permissions.resolve()` and
43
+ `org.consumer.retrieveConfig()`. Each removal has a ledger entry; `search` is a `properties-removed`
44
+ entry.
45
+
46
+ ### Moved in 2.0.0-rc.22
47
+
48
+ The operations the spec tags `x-internal` moved under `client._internal`, which is typed only through
49
+ `@composio/client/internal` (see [Internal operations](./README.md#internal-operations)). The wire is unchanged.
50
+ The ledger declares each as a removal; `pnpm test:pack` holds the subpaths.
51
+
52
+ | Moved | Now |
53
+ | --- | --- |
54
+ | `client.cli.createSession`, `getSession` | `client._internal.cli.createSession`, `getSession` |
55
+ | `client.cli.realtime.*` | `client._internal.cli.realtime.*` |
56
+ | `client.logs.tools.*`, `client.logs.triggers.*` | `client._internal.logs.tools.*`, `client._internal.logs.triggers.*` |
57
+ | `client.org.consumer.*` | `client._internal.org.consumer.*` |
58
+ | Their types, from `@composio/client/resources/cli`, `resources/cli/realtime`, `resources/logs`, `resources/logs/tools`, `resources/logs/triggers`, `resources/org/consumer*` | The same names from `@composio/client/resources/_internal/<same path>` |
59
+
60
+ `client.logs.createToolExecution` and `client.logs.retrieveToolExecution` are not tagged and stay
61
+ where they were. `client.cli.createCodactFailure` stayed too, until rc.23.
62
+
63
+ ### Changed in 2.0.0-rc.22
64
+
65
+ | Change | Migration |
66
+ | --- | --- |
67
+ | `toolRouter.session.execute`, `executeMeta` and `proxyExecute` can return `result_type: 'blocked'` | Handle that branch before reading `data`, `error`, `status` or `headers`. Read `reason.type`, `reason.hook_id` and `message` instead. `request_blocked` means the tool did not run; `response_blocked` means it ran and its response was withheld. `log_id` is optional on blocked tool executions |
68
+ | Execution outcomes may include `hook_results` | Treat it as optional. An entry with `status: 'evaluated'` has `outcome: 'continue' \| 'block'`; `status: 'unavailable'` has no outcome. Python callers must also handle the new `SessionExecuteBlockedResponse`, `SessionExecuteMetaBlockedResponse` and `SessionProxyExecuteBlockedResponse` members of each `*Result` union |
69
+ | Trigger-type list items and retrieve responses require `types` | Add a non-empty `types` array of `'webhook'` and/or `'poll'` to typed fixtures and mocks. The older `type` field is deprecated |
70
+ | `org.consumer.project.resolve` requires response `user_id` | Add the authenticated user's id to typed response fixtures and mocks; `consumer_user_id` remains a separate field |
71
+ | Saved session configurations include `require_approval` lists | Handle toolkit/tool entries containing only `{ require_approval: [...] }`, as well as entries with `enable`, `disable` or tool tags. Session-wide and per-toolkit tags may also contain `require_approval` |
72
+ | Project creation no longer declares `config.require_mcp_api_key` | Remove it from project-creation inputs. The upstream schema declares no replacement. `config.enable_instant` controls Instant Toolkits and is unrelated to MCP authentication |
73
+
74
+ The removed project property has a `properties-removed` ledger entry. The previous-release gate
75
+ checks named property paths as well as assignability, so removing an optional key cannot silently
76
+ pass both structural checks.
77
+
78
+ ### Removed in 2.0.0-rc.21
79
+
80
+ The last members of the `Composio` class that existed only to look like the Stainless build. None is a
81
+ gate subject, so the ledger declares nothing; `pnpm test:pack` holds all three.
82
+
83
+ | Removed | Migration |
84
+ | --- | --- |
85
+ | `client.request({ method, path, ... })` | The raw verb for the method: `client.get(path, opts)`, `post`, `patch`, `put`, `delete`, which take the same `query`, `body` and request options |
86
+ | `Composio.Composio` | The class itself: `import { Composio } from '@composio/client'` or the default import |
87
+ | `Composio.DEFAULT_TIMEOUT` | None: the default is one minute, and `timeout` overrides it |
88
+
89
+ ### Removed in 2.0.0-rc.20
90
+
91
+ The Stainless structure goes. The two removal classes are declared rule entries in
92
+ `packages/codegen/assignability-ledger.json`; the export spellings are held by `pnpm test:pack`.
93
+
94
+ | Removed | Migration |
95
+ | --- | --- |
96
+ | Resource classes (`ToolRouter`, `Tools`, `ConnectedAccounts`, ... as values) and `Composio.Tools`-style statics | A resource is a plain object typed by an interface of the same name. `import type { Tools } from '@composio/client/resources/tools'` still works as a type; `Composio['tools']` is the same type. `instanceof` a resource class has no replacement |
97
+ | Namespace-merged nested types (`SessionToolkitsResponse.Item`, `LinkCreateParams.Experimental`) | Indexed access: `SessionToolkitsResponse['items'][number]`, `NonNullable<LinkCreateParams['experimental']>` |
98
+ | The `Composio` namespace (`Composio.RequestOptions`, `Composio.ToolListResponse`, ...) | Import the type: `import type { RequestOptions } from '@composio/client'`, `import type { ToolListResponse } from '@composio/client/resources/tools'` |
99
+ | `@composio/client/resources`, `/resources.js`, `/resources.mjs`, `/resources/index` | The resource's own subpath: `@composio/client/resources/mcp` |
100
+ | `.js` and `.mjs` deep subpaths (`/resources/tool-router/session/session.mjs`), `/pagination.js`, `/pagination.mjs` | The extensionless spelling: `/resources/tool-router/session/session`, `/pagination` |
101
+ | `client.migration`, `client.project.config` | None: neither held an operation |
102
+
103
+ ### Removed in 2.0.0-rc.19
104
+
105
+ The two option removals are declared entries in `packages/codegen/assignability-ledger.json`. The
106
+ other rows are class members the type check does not pin, listed so an upgrade can find them.
107
+
108
+ | Removed | Migration |
109
+ | --- | --- |
110
+ | `environment: 'production' \| 'staging' \| 'local'` (root `ClientOptions`) | `baseURL: ENVIRONMENTS.staging` or `ENVIRONMENTS.local` — the frozen origin table, exported since rc.20; omitting it means production |
111
+ | `Logger` (exported interface) | `logger` takes a `Console`-shaped object (`Pick<Console, 'debug' \| 'info' \| 'warn' \| 'error'>`) and defaults to `console`. An adapter that forwards to another logger is the same four methods |
112
+ | `client.apiKey`, `userApiKey`, `orgApiKey` (read-only since rc.18) | Keep your own copy of the key; `client.authMode` says which mode is configured |
113
+ | `client.logger` | None: the sink is the client's own. Pass a different one to `withOptions({ logger })` |
114
+ | Assigning `client.baseURL`, `maxRetries`, `timeout` or `logLevel` | `withOptions({ ... })`, which re-runs every validation. The four stay readable; `logLevel` reads the effective level (`'warn'` by default) |
115
+ | `deprecationNotices: 'warn' \| 'off'` (`./effect` `ComposioClientOptions`) | The application's `Logger` and `References.MinimumLogLevel`; a logger that drops records matching `isDeprecationNotice` is `'off'` |
116
+ | `layerFetch(options)` (`./effect`) | `layer(options).pipe(Layer.provide(FetchHttpClient.layer))` |
117
+
118
+ Python removes `default_query` and the `api_key`, `user_api_key` and `org_api_key` reads, and makes
119
+ `base_url`, `max_retries` and `timeout` read-only; `environment=` stays. See
120
+ [`python/README.md`](./python/MIGRATION.md).
121
+
122
+ ### Removed in 2.0.0-rc.18
123
+
124
+ Each removal is a declared entry in `packages/codegen/assignability-ledger.json`. The other rows are
125
+ behaviour the type check cannot see, listed so an upgrade can find them.
126
+
127
+ | Removed | Migration |
128
+ | --- | --- |
129
+ | `apiKey` (root `ClientOptions` and `./effect` `ComposioClientOptions`) | `auth: Auth.project(key)` |
130
+ | `userApiKey` | `auth: Auth.user(key)`, which sends the user key on every request. The old per-operation selection is `Auth.auto({ project, user, organization })` |
131
+ | `orgApiKey` | `auth: Auth.organization(key)`, or `Auth.auto({ ... })` |
132
+ | `apiKey: null` plus a credential in `defaultHeaders` | the `auth` that credential is. While `auth` is not `none`, `defaultHeaders`, `COMPOSIO_CUSTOM_HEADERS` and a call's `headers` cannot name `x-api-key`, `x-user-api-key` or `x-org-api-key` |
133
+ | `x-api-key` overriding the credential for one call | a second client: `withOptions({ auth: Auth.project(key) })` on the root, `make({ ...options, auth: Auth.project(key) }, httpClient)` on `./effect` |
134
+ | `x-org-id`, `x-project-id` in `defaultHeaders` | `scope: { organizationId, projectId }`, which reserves both names. Without `scope` they are still ordinary headers |
135
+ | the constructor reading `COMPOSIO_*` from the process | `Composio.fromEnv(process.env, overrides)`; nothing else reads the environment. `new Composio()` with no options is gone with it |
136
+ | `layerConfig({ apiKey: null })` | `layerConfig({ auth: Auth.none() })`; an override replaces the whole `auth` |
137
+ | `layer()`, `layerFetch()` with no options | pass the options, `auth` included |
138
+ | assigning `client.apiKey`, `userApiKey` or `orgApiKey` | `withOptions({ auth })`. The three fields stayed readable until rc.19; keep your own copy of a key you need |
139
+ | `Credential` on `./effect` accepting `null` | `Auth.none()`. It now also accepts a function that returns a key |
140
+
141
+ Python makes the same change: `auth=ProjectAuth(key)` (and `UserAuth`, `OrganizationAuth`,
142
+ `AutoAuth`, `NoAuth`) and `scope=Scope(...)`, see [`python/README.md`](./python/MIGRATION.md).
143
+
144
+ ### Changed in 2.0.0-rc.17
145
+
146
+ `defaultHeaders`, `COMPOSIO_CUSTOM_HEADERS` and per-call `headers` refuse the library headers
147
+ (`x-client-library`, `x-client-library-version`, `x-client-language`), and refuse every identity
148
+ header once `identity` is set. A wrapper that set its product headers through `defaultHeaders`
149
+ moves them into `identity` (see [Identify the calling product](./README.md#identify-the-calling-product)).
150
+ Python takes `identity=ClientIdentity(...)` under the same rule. The type surface is unchanged
151
+ apart from the added option, so the release declares no ledger entry.
152
+
153
+ ### Removed in 2.0.0-rc.16
154
+
155
+ Each row is a declared entry in `packages/codegen/assignability-ledger.json`, the list of what a
156
+ release changes against the previous published version.
157
+
158
+ | Removed | Migration |
159
+ | --- | --- |
160
+ | `fetch: f` (constructor) | `transport: createFetchTransport({ fetch: f })` |
161
+ | `fetchOptions: { cache: 'no-store' }` (constructor) | `transport: createFetchTransport({ defaults: { cache: 'no-store' } })`. The defaults cannot set `method`, `headers`, `body`, `signal` or `redirect`, which the client owns |
162
+ | `fetchOptions` (per call, in `RequestOptions`) | None: `headers`, `timeout`, `signal` and `idempotencyKey` stay, and transport-level defaults go through `createFetchTransport({ defaults })` |
163
+ | `defaultQuery` (root `ClientOptions` and `./effect` `ComposioClientOptions`) | None: generated methods own their query, and the raw methods (`get`, `post`, ...) take an explicit `query` |
164
+ | `custom.deleteToolkit(slug, options)` | `custom.deleteToolkit(slug, query, options)` — pass request options third, as on every other `(id, params?, options?)` method. The runtime guard that recognized an options bag in the params position is gone with the overload |