Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

feat: bump client SDKs and simplify types using Stainless SDK

abir28b8914d5808
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3358709cd..c3d025364 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25,8 +25,8 @@ catalogs:
specifier: ^4.20250917.0
version: 4.20260218.0
'@composio/client':
- specifier: 0.1.0-alpha.64
- version: 0.1.0-alpha.64
+ specifier: 0.1.0-alpha.66
+ version: 0.1.0-alpha.66
'@effect/cli':
specifier: ^0.73.2
version: 0.73.2
@@ -97,10 +97,7 @@ catalogs:
specifier: ^3.25.1
version: 3.25.1
-overrides:
- qs@<6.14.1: '>=6.14.1'
-
-pnpmfileChecksum: sha256-X6eCJXmBNe7VV40iD0uZlsr4IMg+ZL/Qodvx5bNk4wI=
+pnpmfileChecksum: 3all32kmiw3k4xvcsc2zoowoh4
importers:
@@ -223,7 +220,7 @@ importers:
devDependencies:
'@cloudflare/vitest-pool-workers':
specifier: 'catalog:'
- version: 0.9.14(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])
'@cloudflare/workers-types':
specifier: 'catalog:'
version: 4.20260218.0
@@ -251,7 +248,7 @@ importers:
devDependencies:
'@cloudflare/vitest-pool-workers':
specifier: 'catalog:'
- version: 0.9.14(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])
'@cloudflare/workers-types':
specifier: 'catalog:'
version: 4.20260218.0
@@ -291,7 +288,7 @@ importers:
devDependencies:
'@cloudflare/vitest-pool-workers':
specifier: 'catalog:'
- version: 0.9.14(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])
'@cloudflare/workers-types':
specifier: 'catalog:'
version: 4.20260218.0
@@ -540,7 +537,7 @@ importers:
devDependencies:
'@cloudflare/vitest-pool-workers':
specifier: 'catalog:'
- version: 0.9.14(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])
typescript:
specifier: 'catalog:'
version: 5.9.3
@@ -675,22 +672,22 @@ importers:
version: link:../../packages/providers/langchain
'@langchain/core':
specifier: ^1.1.4
'@langchain/langgraph':
specifier: ^1.0.4
'@langchain/openai':
specifier: ^1.1.3
dotenv:
specifier: ^16.5.0
version: 16.6.1
langchain:
specifier: ^1.1.5
openai:
specifier: 'catalog:'
devDependencies:
'@types/bun':
specifier: ^1.2.9
@@ -709,16 +706,16 @@ importers:
version: link:../../packages/providers/llamaindex
'@llamaindex/openai':
specifier: ^0.4.20
- version: 0.4.22(@llamaindex/[email protected])(@llamaindex/[email protected])([email protected])([email protected])
+ version: 0.4.22(@llamaindex/[email protected])(@llamaindex/[email protected])([email protected])([email protected])
'@llamaindex/workflow':
specifier: ^1.1.24
- version: 1.1.24(@llamaindex/[email protected])(@llamaindex/[email protected])(@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected])([email protected])
+ version: 1.1.24(@llamaindex/[email protected])(@llamaindex/[email protected])(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])
dotenv:
specifier: ^16.4.1
version: 16.6.1
llamaindex:
specifier: ^0.12.0
devDependencies:
'@types/bun':
specifier: ^1.2.9
@@ -1060,7 +1057,7 @@ importers:
version: 1.0.1
'@composio/client':
specifier: 'catalog:'
- version: 0.1.0-alpha.64
+ version: 0.1.0-alpha.66
'@composio/core':
specifier: workspace:*
version: link:../core
@@ -1145,7 +1142,7 @@ importers:
version: 0.94.5([email protected])
'@effect/vitest':
specifier: 'catalog:'
'@types/bun':
specifier: ^1.2.16
version: 1.3.9
@@ -1175,7 +1172,7 @@ importers:
dependencies:
'@composio/client':
specifier: 'catalog:'
- version: 0.1.0-alpha.64
+ version: 0.1.0-alpha.66
'@composio/json-schema-to-zod':
specifier: workspace:*
version: link:../json-schema-to-zod
@@ -1348,7 +1345,7 @@ importers:
dependencies:
llamaindex:
specifier: ^0.12.0
devDependencies:
'@composio/core':
specifier: workspace:*
@@ -1838,8 +1835,8 @@ packages:
resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
engines: {node: '>=0.1.90'}
- '@composio/[email protected]':
- resolution: {integrity: sha512-2UUxMCaJh/tVKwermaxIatPaJ/irFu0h9oZID8dn/8r0DXc8UjESHoQgzCpxrTg/CLecij/pCdVH0dYVwe9rbg==}
+ '@composio/[email protected]':
+ resolution: {integrity: sha512-SDHcTWzz2dgdYAew/gQsRpjHpEzHKm6sW7KM4wCoJWNJuuMuey9Ahje91ZucNjfaqpI8CFW+pXY4nWkZf5LD7Q==}
'@cspotcode/[email protected]':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
@@ -2556,183 +2553,155 @@ packages:
resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==}
cpu: [arm64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
cpu: [arm64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==}
cpu: [arm]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==}
cpu: [s390x]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==}
cpu: [x64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==}
cpu: [arm64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==}
cpu: [x64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [riscv64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
- libc: [glibc]
resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
- libc: [musl]
resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==}
@@ -3087,42 +3056,36 @@ packages:
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
- libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg==}
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
- libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
- libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-3ukyebjc6eGlw9yRt678DxVF7rjXatWiHvTXqphZLvo7aC5NdEgFufVwjFfY51ijYEWpXbqF5jtrK275z52D4Q==}
@@ -3274,56 +3237,48 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@rolldown/[email protected]':
resolution: {integrity: sha512-kWXkoxxarYISBJ4bLNf5vFkEbb4JvccOwxWDxuK9yee8lg5XA7OpvlTptfRuwEvYcOZf+7VS69Uenpmpyo5Bjw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@rolldown/[email protected]':
resolution: {integrity: sha512-d0kIVezTQtazpyWjiJIn5to8JlwfKITDqwsFv0Xc6s31N16CD2PC/Pl2OtKgS7n8WLOJbfqgIp5ixYzTAxCqMg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@rolldown/[email protected]':
resolution: {integrity: sha512-Z03/wrqau9Bicfgb3Dbs6SYTHliELk2PM2LpG2nFd+cGupTMF5kanLEcj2vuuJLLhptNyS61rtk7SOZ+lPsTUA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@rolldown/[email protected]':
resolution: {integrity: sha512-E199LPijo98yrLjPCmETx8EF43sZf9t3guSrLee/ej1rCCc3zDVTR4xFfN9BRAapGVl7/8hYqbbiQPTkv73kUg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@rolldown/[email protected]':
resolution: {integrity: sha512-iSXXZsQp08CSilff/DCTFZHSVEpEwdicV3W8idHyrByrcsRDVh9sGC3sev6d8BygSGj3vt8GvUKBPCoyMA4tgQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@rolldown/[email protected]':
resolution: {integrity: sha512-++EQDpk/UJ33kY/BNsh7A7/P1sr/jbMuQ8cE554ZIy+tCUWCivo9zfyjDUoiMdnxqX6HLJEqqGnbGQOvzm2OMQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [musl]
'@rolldown/[email protected]':
resolution: {integrity: sha512-qaj+MFudtdCv9xZo9znFvkgoajLdc+vwf0Kz5N44g+LU5XMe+IsACgn3UG7uTRlCCvhMAGXm1XlpEA5bZBrOcw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [musl]
'@rolldown/[email protected]':
resolution: {integrity: sha512-voDEBcNqxbUv/GeXKFtxXVWA+H45P/8Dec4Ii/SbyJyGvCqV1j+nNHfnFUIiRQ2Q40DwPe/djvgYBs9PpETiMA==}
@@ -3411,79 +3366,66 @@ packages:
resolution: {integrity: sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==}
cpu: [arm]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==}
cpu: [arm]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==}
cpu: [loong64]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==}
cpu: [loong64]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==}
cpu: [ppc64]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==}
cpu: [ppc64]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==}
cpu: [riscv64]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==}
cpu: [riscv64]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==}
cpu: [s390x]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==}
cpu: [x64]
os: [linux]
- libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==}
@@ -5774,6 +5716,10 @@ packages:
resolution: {integrity: sha512-wp3HqIIUc1GRyu1XrP6m2dgyE9MoCsXVsWNlohj0rjSkLf+a0jLvEyVubdg58oMk7bhjBWnFClgp8jfAa6Ak4Q==}
+ resolution: {integrity: sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==}
+ engines: {node: '>=0.6'}
+
resolution: {integrity: sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==}
engines: {node: '>=0.6'}
@@ -7146,7 +7092,7 @@ snapshots:
optionalDependencies:
workerd: 1.20251011.0
dependencies:
'@vitest/runner': 3.2.4
'@vitest/snapshot': 3.2.4
@@ -7198,7 +7144,7 @@ snapshots:
'@colors/[email protected]':
optional: true
- '@composio/[email protected]': {}
+ '@composio/[email protected]': {}
'@cspotcode/[email protected]':
dependencies:
@@ -7303,7 +7249,7 @@ snapshots:
dependencies:
effect: 3.19.18
dependencies:
effect: 3.19.18
@@ -7864,6 +7810,24 @@ snapshots:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
zod: 3.25.76
+ dependencies:
+ '@cfworker/json-schema': 4.1.1
+ ansi-styles: 6.2.3
+ camelcase: 6.3.0
+ decamelize: 1.2.0
+ js-tiktoken: 1.0.21
+ mustache: 4.2.0
+ p-queue: 6.6.2
+ uuid: 10.0.0
+ zod: 3.25.76
+ transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - openai
+
dependencies:
'@cfworker/json-schema': 4.1.1
@@ -7882,11 +7846,25 @@ snapshots:
- '@opentelemetry/sdk-trace-base'
- openai
+ dependencies:
+ '@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+ uuid: 10.0.0
+
dependencies:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
uuid: 10.0.0
+ dependencies:
+ '@types/json-schema': 7.0.15
+ p-queue: 9.1.0
+ p-retry: 7.1.1
+ uuid: 13.0.0
+ optionalDependencies:
+ '@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+
dependencies:
'@types/json-schema': 7.0.15
@@ -7896,6 +7874,20 @@ snapshots:
optionalDependencies:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+ dependencies:
+ '@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+ '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])([email protected]([email protected])([email protected])))
+ '@langchain/langgraph-sdk': 1.6.2(@langchain/[email protected](@opentelemetry/[email protected])([email protected]([email protected])([email protected])))
+ '@standard-schema/spec': 1.1.0
+ uuid: 10.0.0
+ zod: 3.25.76
+ optionalDependencies:
+ zod-to-json-schema: 3.25.2([email protected])
+ transitivePeerDependencies:
+ - react
+ - react-dom
+
dependencies:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
@@ -7937,6 +7929,15 @@ snapshots:
- '@cfworker/json-schema'
- supports-color
+ dependencies:
+ '@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+ js-tiktoken: 1.0.21
+ zod: 3.25.76
+ transitivePeerDependencies:
+ - ws
+
dependencies:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
@@ -7971,26 +7972,43 @@ snapshots:
tree-sitter: 0.22.4
web-tree-sitter: 0.24.7
dependencies:
'@llamaindex/core': 0.6.22
'@llamaindex/env': 0.1.30
transitivePeerDependencies:
- ws
- zod
optionalDependencies:
- '@modelcontextprotocol/sdk': 1.26.0(@cfworker/[email protected])([email protected])
+ '@modelcontextprotocol/sdk': 1.26.0(@cfworker/[email protected])([email protected])
hono: 4.11.9
+ zod: 3.25.76
+
+ optionalDependencies:
zod: 4.3.6
dependencies:
'@llamaindex/core': 0.6.22
'@llamaindex/env': 0.1.30
- '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected])([email protected])
+ '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])
+ transitivePeerDependencies:
+ - '@modelcontextprotocol/sdk'
+ - hono
+ - next
+ - p-retry
+ - rxjs
+ - zod
+
+ dependencies:
+ '@llamaindex/core': 0.6.22
+ '@llamaindex/env': 0.1.30
+ '@llamaindex/workflow-core': 1.3.3([email protected])
transitivePeerDependencies:
- '@modelcontextprotocol/sdk'
- hono
@@ -9008,6 +9026,14 @@ snapshots:
optionalDependencies:
+ dependencies:
+ '@vitest/spy': 3.2.4
+ estree-walker: 3.0.3
+ magic-string: 0.30.21
+ optionalDependencies:
+
'@vitest/[email protected]':
dependencies:
tinyrainbow: 2.0.0
@@ -9218,7 +9244,7 @@ snapshots:
http-errors: 2.0.1
iconv-lite: 0.4.24
on-finished: 2.4.1
- qs: 6.15.0
+ qs: 6.14.2
raw-body: 2.5.3
type-is: 1.6.18
unpipe: 1.0.0
@@ -9844,7 +9870,7 @@ snapshots:
parseurl: 1.3.3
path-to-regexp: 0.1.13
proxy-addr: 2.0.7
- qs: 6.15.0
+ qs: 6.14.2
range-parser: 1.2.1
safe-buffer: 5.2.1
send: 0.19.2
@@ -10417,6 +10443,23 @@ snapshots:
+ dependencies:
+ '@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
+ '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])([email protected]([email protected])([email protected])))
+ uuid: 10.0.0
+ zod: 3.25.76
+ transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - openai
+ - react
+ - react-dom
+ - zod-to-json-schema
+
dependencies:
'@langchain/core': 1.1.25(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))
@@ -10434,6 +10477,18 @@ snapshots:
- react-dom
- zod-to-json-schema
+ dependencies:
+ '@types/uuid': 10.0.0
+ chalk: 4.1.2
+ console-table-printer: 2.15.0
+ p-queue: 6.6.2
+ semver: 7.7.4
+ uuid: 10.0.0
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.0
+
dependencies:
'@types/uuid': 10.0.0
@@ -10483,12 +10538,34 @@ snapshots:
rfdc: 1.4.1
wrap-ansi: 9.0.2
dependencies:
'@llamaindex/core': 0.6.22
'@llamaindex/env': 0.1.30
'@llamaindex/node-parser': 2.0.22(@llamaindex/[email protected])(@llamaindex/[email protected])([email protected])([email protected])
- '@llamaindex/workflow': 1.1.24(@llamaindex/[email protected])(@llamaindex/[email protected])(@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected]))([email protected])([email protected])
+ '@llamaindex/workflow': 1.1.24(@llamaindex/[email protected])(@llamaindex/[email protected])(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])
+ '@types/lodash': 4.17.23
+ '@types/node': 24.10.13
+ lodash: 4.17.23
+ magic-bytes.js: 1.13.0
+ transitivePeerDependencies:
+ - '@huggingface/transformers'
+ - '@modelcontextprotocol/sdk'
+ - gpt-tokenizer
+ - hono
+ - next
+ - p-retry
+ - rxjs
+ - tree-sitter
+ - web-tree-sitter
+ - zod
+
+ dependencies:
+ '@llamaindex/core': 0.6.22
+ '@llamaindex/env': 0.1.30
+ '@llamaindex/node-parser': 2.0.22(@llamaindex/[email protected])(@llamaindex/[email protected])([email protected])([email protected])
+ '@llamaindex/workflow': 1.1.24(@llamaindex/[email protected])(@llamaindex/[email protected])([email protected])
'@types/lodash': 4.17.23
'@types/node': 24.10.13
lodash: 4.17.23
@@ -10772,6 +10849,11 @@ snapshots:
is-inside-container: 1.0.0
wsl-utils: 0.1.0
+ optionalDependencies:
+ ws: 8.20.0
+ zod: 3.25.76
+
optionalDependencies:
ws: 8.20.0
@@ -11016,6 +11098,10 @@ snapshots:
dependencies:
tweetnacl: 1.0.3
+ dependencies:
+ side-channel: 1.1.0
+
dependencies:
side-channel: 1.1.0
@@ -11870,7 +11956,7 @@ snapshots:
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.4
'@vitest/pretty-format': 3.2.4
'@vitest/runner': 3.2.4
'@vitest/snapshot': 3.2.4
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index a3911f5c8..4fe238b7e 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -20,7 +20,7 @@ catalog:
'@clack/prompts': '^1.0.1'
'@cloudflare/vitest-pool-workers': ^0.9.2
'@cloudflare/workers-types': ^4.20250917.0
- '@composio/client': 0.1.0-alpha.64
+ '@composio/client': 0.1.0-alpha.66
'@effect/cli': ^0.73.2
'@effect/eslint-plugin': ^0.3.2
'@effect/language-service': ^0.74.0
diff --git a/python/composio/core/models/connected_accounts.py b/python/composio/core/models/connected_accounts.py
index be496e35c..d1a68bdca 100644
--- a/python/composio/core/models/connected_accounts.py
+++ b/python/composio/core/models/connected_accounts.py
@@ -432,20 +432,17 @@ class ConnectedAccounts:
connection: dict[str, t.Any] = {"user_id": user_id}
if callback_url is not None:
connection["callback_url"] = callback_url
-
if config is not None:
connection["state"] = config
+ if alias is not None:
+ connection["alias"] = alias
- create_kwargs: dict[str, t.Any] = {
- "auth_config": {"id": auth_config_id},
- "connection": t.cast(
+ response = self._client.connected_accounts.create(
+ auth_config={"id": auth_config_id},
+ connection=t.cast(
connected_account_create_params.Connection, connection
),
- }
- if alias is not None:
- create_kwargs["alias"] = alias
-
- response = self._client.connected_accounts.create(**create_kwargs)
+ )
return ConnectionRequest(
id=response.id,
status=response.connection_data.val.status,
diff --git a/python/composio/core/models/tool_router_session.py b/python/composio/core/models/tool_router_session.py
index 8f1cae70e..67671b551 100644
--- a/python/composio/core/models/tool_router_session.py
+++ b/python/composio/core/models/tool_router_session.py
@@ -396,15 +396,12 @@ class ToolRouterSession(t.Generic[TTool, TToolCollection]):
:param alias: Human-readable alias for the connection. Must be unique
per userId and toolkit within the project.
"""
- link_kwargs: dict[str, t.Any] = {
- "session_id": self.session_id,
- "toolkit": toolkit,
- "callback_url": callback_url if callback_url else omit,
- }
- if alias is not None:
- link_kwargs["alias"] = alias
-
- response = self._client.tool_router.session.link(**link_kwargs)
+ response = self._client.tool_router.session.link(
+ session_id=self.session_id,
+ toolkit=toolkit,
+ callback_url=callback_url if callback_url else omit,
+ alias=alias if alias is not None else omit,
+ )
return ConnectionRequest(
id=response.connected_account_id,
redirect_url=response.redirect_url,
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 4012ccf35..df1aa3403 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -7,7 +7,7 @@ requires-python = ">=3.10,<4"
dependencies = [
"pysher>=1.0.8",
"pydantic>=2.6.4",
- "composio-client==1.32.0",
+ "composio-client==1.33.0",
"typing-extensions>=4.0.0",
"openai",
"json-schema-to-pydantic>=0.4.8",
diff --git a/python/setup.py b/python/setup.py
index 9021c7d55..c340a5c30 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -25,7 +25,7 @@ setup(
install_requires=[
"pysher>=1.0.8",
"pydantic>=2.6.4",
- "composio-client==1.32.0",
+ "composio-client==1.33.0",
"typing-extensions>=4.0.0",
"openai",
"json-schema-to-pydantic>=0.4.8",
diff --git a/ts/packages/core/src/lib/toolRouterParams.ts b/ts/packages/core/src/lib/toolRouterParams.ts
index 23a6ef861..986d00e30 100644
--- a/ts/packages/core/src/lib/toolRouterParams.ts
+++ b/ts/packages/core/src/lib/toolRouterParams.ts
@@ -127,7 +127,7 @@ export const transformToolRouterWorkbenchParams = (
export const transformToolRouterMultiAccountParams = (
params?: ToolRouterCreateSessionConfig['multiAccount']
-): { enable?: boolean; max_accounts_per_toolkit?: number; require_explicit_selection?: boolean } | undefined => {
+): SessionCreateParams.MultiAccount | undefined => {
if (!params) {
return undefined;
}
diff --git a/ts/packages/core/src/models/ConnectedAccounts.ts b/ts/packages/core/src/models/ConnectedAccounts.ts
index b4d60ecdf..be10ee01b 100644
--- a/ts/packages/core/src/models/ConnectedAccounts.ts
+++ b/ts/packages/core/src/models/ConnectedAccounts.ts
@@ -14,6 +14,7 @@ import {
ConnectedAccountUpdateStatusResponse,
ConnectedAccountListParams as ConnectedAccountListParamsRaw,
ConnectedAccountCreateParams as ConnectedAccountCreateParamsRaw,
+ ConnectedAccountPatchResponse,
} from '@composio/client/resources/connected-accounts';
import {
CreateConnectedAccountOptions,
@@ -28,8 +29,6 @@ import {
ConnectedAccountRefreshOptionsSchema,
UpdateConnectedAccountParams,
UpdateConnectedAccountParamsSchema,
- UpdateConnectedAccountResponse,
- UpdateConnectedAccountResponseSchema,
} from '../types/connectedAccounts.types';
import { ConnectionRequest } from '../types/connectionRequest.types';
import { createConnectionRequest } from './ConnectionRequest';
@@ -193,15 +192,15 @@ export class ConnectedAccounts {
// state = connectionDataParsed.data;
// }
- // alias not yet in ConnectedAccountCreateParams — cast until next client release
- const createParams: ConnectedAccountCreateParamsRaw & { alias?: string } = {
+ const createParams: ConnectedAccountCreateParamsRaw = {
auth_config: { id: authConfigId },
- connection: { callback_url: options?.callbackUrl, user_id: userId, state },
- } as ConnectedAccountCreateParamsRaw & { alias?: string };
-
- if (options?.alias != null) {
- createParams.alias = options.alias;
- }
+ connection: {
+ callback_url: options?.callbackUrl,
+ user_id: userId,
+ state: state as ConnectedAccountCreateParamsRaw.Connection['state'],
+ ...(options?.alias != null && { alias: options.alias }),
+ },
+ };
const response = await this.client.connectedAccounts.create(createParams);
@@ -266,20 +265,12 @@ export class ConnectedAccounts {
}
try {
- // alias not yet in LinkCreateParams — inline type until next client release
- const linkParams: { auth_config_id: string; user_id: string; callback_url?: string; alias?: string } = {
+ const response = await this.client.link.create({
auth_config_id: authConfigId,
user_id: userId,
- };
-
- if (requestOptions?.data.callbackUrl) {
- linkParams.callback_url = requestOptions.data.callbackUrl;
- }
- if (requestOptions?.data.alias != null) {
- linkParams.alias = requestOptions.data.alias;
- }
-
- const response = await this.client.link.create(linkParams);
+ ...(requestOptions?.data.callbackUrl && { callback_url: requestOptions.data.callbackUrl }),
+ ...(requestOptions?.data.alias != null && { alias: requestOptions.data.alias }),
+ });
const connectionRequest = createConnectionRequest(
this.client,
@@ -481,7 +472,7 @@ export class ConnectedAccounts {
* @param {string} nanoid - The unique identifier of the connected account
* @param {UpdateConnectedAccountParams} params - The update parameters
* @param {string} params.alias - Human-readable alias for the account. Must be unique per userId and toolkit within the project. Pass an empty string to clear.
- * @returns {Promise<UpdateConnectedAccountResponse>} The update response
+ * @returns {Promise<ConnectedAccountPatchResponse>} The update response
*
* @example
* ```typescript
@@ -495,7 +486,7 @@ export class ConnectedAccounts {
async update(
nanoid: string,
params: UpdateConnectedAccountParams
- ): Promise<UpdateConnectedAccountResponse> {
+ ): Promise<ConnectedAccountPatchResponse> {
const parsedParams = UpdateConnectedAccountParamsSchema.safeParse(params);
if (!parsedParams.success) {
throw new ValidationError('Failed to parse connected account update params', {
@@ -503,10 +494,8 @@ export class ConnectedAccounts {
});
}
- const response = await this.client.connectedAccounts.patch(nanoid, {
+ return this.client.connectedAccounts.patch(nanoid, {
alias: parsedParams.data.alias,
});
-
- return UpdateConnectedAccountResponseSchema.parse(response);
}
}
diff --git a/ts/packages/core/src/models/ToolRouterSession.ts b/ts/packages/core/src/models/ToolRouterSession.ts
index 73cae7b4e..290ab3296 100644
--- a/ts/packages/core/src/models/ToolRouterSession.ts
+++ b/ts/packages/core/src/models/ToolRouterSession.ts
@@ -187,17 +187,11 @@ export class ToolRouterSession<
* Returns a ConnectionRequest with a redirect URL for the user.
*/
async authorize(toolkit: string, options?: { callbackUrl?: string; alias?: string }): Promise<ConnectionRequest> {
- const linkParams: { toolkit: string; callback_url?: string; alias?: string } = { toolkit };
-
- if (options?.callbackUrl) {
- linkParams.callback_url = options.callbackUrl;
- }
-
- if (options?.alias != null) {
- linkParams.alias = options.alias;
- }
-
- const response = await this.client.toolRouter.session.link(this.sessionId, linkParams);
+ const response = await this.client.toolRouter.session.link(this.sessionId, {
+ toolkit,
+ ...(options?.callbackUrl && { callback_url: options.callbackUrl }),
+ ...(options?.alias != null && { alias: options.alias }),
+ });
return createConnectionRequest(
this.client,
diff --git a/ts/packages/core/src/types/connectedAccounts.types.ts b/ts/packages/core/src/types/connectedAccounts.types.ts
index e91fb24a3..b814dca15 100644
--- a/ts/packages/core/src/types/connectedAccounts.types.ts
+++ b/ts/packages/core/src/types/connectedAccounts.types.ts
@@ -222,9 +222,4 @@ export const UpdateConnectedAccountParamsSchema = z.object({
});
export type UpdateConnectedAccountParams = z.infer<typeof UpdateConnectedAccountParamsSchema>;
-export const UpdateConnectedAccountResponseSchema = z.object({
- success: z.boolean(),
- id: z.string().optional(),
- status: z.string().optional(),
-});
-export type UpdateConnectedAccountResponse = z.infer<typeof UpdateConnectedAccountResponseSchema>;
+// UpdateConnectedAccountResponse is now ConnectedAccountPatchResponse from @composio/client
diff --git a/ts/packages/core/test/connectedAccounts/connectedAccounts.test.ts b/ts/packages/core/test/connectedAccounts/connectedAccounts.test.ts
index ea58968a0..357b5321b 100644
--- a/ts/packages/core/test/connectedAccounts/connectedAccounts.test.ts
+++ b/ts/packages/core/test/connectedAccounts/connectedAccounts.test.ts
@@ -210,9 +210,8 @@ describe('ConnectedAccounts', () => {
expect(extendedMockClient.connectedAccounts.create).toHaveBeenCalledWith(
expect.objectContaining({
- alias: 'work-gmail',
auth_config: { id: authConfigId },
- connection: expect.objectContaining({ user_id: userId }),
+ connection: expect.objectContaining({ user_id: userId, alias: 'work-gmail' }),
})
);
});
@@ -243,7 +242,7 @@ describe('ConnectedAccounts', () => {
await connectedAccounts.initiate(userId, authConfigId);
const callArgs = extendedMockClient.connectedAccounts.create.mock.calls[0]![0];
- expect(callArgs).not.toHaveProperty('alias');
+ expect(callArgs.connection).not.toHaveProperty('alias');
});
it('should throw ComposioMultipleConnectedAccountsError when multiple accounts exist and allowMultiple is false', async () => {