@composio/core 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/dist/{CustomTool-DCrZcOUW.d.cts → CustomTool-87USJ2u0.d.cts} +1 -1
  2. package/dist/{CustomTool-DJVmDusu.d.mts → CustomTool-BNxqr6BI.d.mts} +1 -1
  3. package/dist/{CustomTool-CVwF_isu.mjs → CustomTool-DOE7hgw6.mjs} +232 -27
  4. package/dist/{CustomTool-DnCSEC6t.cjs → CustomTool-Dj4fNvsu.cjs} +279 -26
  5. package/dist/{composio-DH5gDW5F.d.mts → composio-BJW2NaoA.d.mts} +110 -79
  6. package/dist/{composio-Dzaqn_PS.d.cts → composio-DTntXzL-.d.cts} +110 -79
  7. package/dist/{customTool.types-Xk-tbwbc.d.mts → customTool.types-B3HG185y.d.mts} +401 -32
  8. package/dist/{customTool.types-BqC41wRt.d.cts → customTool.types-Bd8ylotX.d.cts} +401 -32
  9. package/dist/experimental/index.cjs +1 -1
  10. package/dist/experimental/index.d.cts +2 -2
  11. package/dist/experimental/index.d.mts +3 -3
  12. package/dist/experimental/index.mjs +1 -1
  13. package/dist/index.cjs +574 -85
  14. package/dist/index.d.cts +84 -8
  15. package/dist/index.d.mts +84 -8
  16. package/dist/index.mjs +570 -88
  17. package/dist/{tool.types-Cb-o48UU.d.mts → tool.types-CB_4JKhV.d.mts} +601 -38
  18. package/dist/{tool.types-B4k2Bnxc.d.cts → tool.types-CwbAy9l_.d.cts} +601 -38
  19. package/dist/{types-BR-1DJRJ.d.mts → types-BClz5lKM.d.mts} +2 -2
  20. package/dist/{types-gjJ_hDol.d.cts → types-jsOgjrWN.d.cts} +2 -2
  21. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  23. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  24. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  25. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  26. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  27. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  29. package/package.json +2 -2
  30. package/generated/ably.ts +0 -20
  31. package/generated/accelo.ts +0 -8
  32. package/generated/acculynx.ts +0 -17
  33. package/generated/active_campaign.ts +0 -30
  34. package/generated/adobe.ts +0 -8
  35. package/generated/adyntel.ts +0 -12
  36. package/generated/aero_workflow.ts +0 -8
  37. package/generated/affinity.ts +0 -29
  38. package/generated/agencyzoom.ts +0 -108
  39. package/generated/ahrefs.ts +0 -49
  40. package/generated/airtable.ts +0 -26
  41. package/generated/alchemy.ts +0 -16
  42. package/generated/algolia.ts +0 -39
  43. package/generated/altoviz.ts +0 -18
  44. package/generated/amazon.ts +0 -8
  45. package/generated/amcards.ts +0 -11
  46. package/generated/amplitude.ts +0 -25
  47. package/generated/anthropic_administrator.ts +0 -13
  48. package/generated/apaleo.ts +0 -38
  49. package/generated/apollo.ts +0 -40
  50. package/generated/appdrag.ts +0 -8
  51. package/generated/appsflyer.ts +0 -8
  52. package/generated/asana.ts +0 -95
  53. package/generated/ashby.ts +0 -8
  54. package/generated/atlassian.ts +0 -8
  55. package/generated/attio.ts +0 -20
  56. package/generated/auth0.ts +0 -8
  57. package/generated/axonaut.ts +0 -8
  58. package/generated/bamboohr.ts +0 -168
  59. package/generated/bannerbear.ts +0 -17
  60. package/generated/baserow.ts +0 -11
  61. package/generated/battlenet.ts +0 -8
  62. package/generated/beeminder.ts +0 -14
  63. package/generated/bigmailer.ts +0 -12
  64. package/generated/bigml.ts +0 -15
  65. package/generated/bill.ts +0 -218
  66. package/generated/bitbucket.ts +0 -25
  67. package/generated/bitwarden.ts +0 -8
  68. package/generated/blackbaud.ts +0 -8
  69. package/generated/blackboard.ts +0 -323
  70. package/generated/boldsign.ts +0 -8
  71. package/generated/bolna.ts +0 -24
  72. package/generated/borneo.ts +0 -162
  73. package/generated/botbaba.ts +0 -8
  74. package/generated/box.ts +0 -282
  75. package/generated/braintree.ts +0 -8
  76. package/generated/brandfetch.ts +0 -15
  77. package/generated/breezy_hr.ts +0 -8
  78. package/generated/brevo.ts +0 -28
  79. package/generated/brex.ts +0 -8
  80. package/generated/brex_staging.ts +0 -8
  81. package/generated/brightpearl.ts +0 -8
  82. package/generated/brilliant_directories.ts +0 -15
  83. package/generated/browseai.ts +0 -18
  84. package/generated/browserbase_tool.ts +0 -10
  85. package/generated/browserhub.ts +0 -8
  86. package/generated/browserless.ts +0 -16
  87. package/generated/bubble.ts +0 -8
  88. package/generated/bugbug.ts +0 -13
  89. package/generated/builtwith.ts +0 -21
  90. package/generated/cal.ts +0 -150
  91. package/generated/calendly.ts +0 -51
  92. package/generated/canva.ts +0 -41
  93. package/generated/canvas.ts +0 -100
  94. package/generated/chatwork.ts +0 -17
  95. package/generated/chmeetings.ts +0 -8
  96. package/generated/clickup.ts +0 -153
  97. package/generated/clockify.ts +0 -23
  98. package/generated/close.ts +0 -15
  99. package/generated/cloudflare.ts +0 -10
  100. package/generated/coda.ts +0 -115
  101. package/generated/codeinterpreter.ts +0 -14
  102. package/generated/coinbase.ts +0 -15
  103. package/generated/coinmarketcal.ts +0 -8
  104. package/generated/composio.ts +0 -34
  105. package/generated/composio_search.ts +0 -22
  106. package/generated/confluence.ts +0 -199
  107. package/generated/contentful.ts +0 -12
  108. package/generated/crustdata.ts +0 -23
  109. package/generated/customer_io.ts +0 -8
  110. package/generated/cutt_ly.ts +0 -10
  111. package/generated/d2lbrightspace.ts +0 -54
  112. package/generated/dailybot.ts +0 -15
  113. package/generated/datadog.ts +0 -47
  114. package/generated/datagma.ts +0 -8
  115. package/generated/datarobot.ts +0 -8
  116. package/generated/deel.ts +0 -8
  117. package/generated/demio.ts +0 -8
  118. package/generated/dialpad.ts +0 -201
  119. package/generated/digicert.ts +0 -15
  120. package/generated/discord.ts +0 -17
  121. package/generated/discordbot.ts +0 -173
  122. package/generated/docmosis.ts +0 -8
  123. package/generated/docusign.ts +0 -351
  124. package/generated/dropbox.ts +0 -20
  125. package/generated/dropbox_sign.ts +0 -8
  126. package/generated/dynamics365.ts +0 -25
  127. package/generated/echtpost.ts +0 -10
  128. package/generated/elevenlabs.ts +0 -70
  129. package/generated/emailoctopus.ts +0 -16
  130. package/generated/enigma.ts +0 -11
  131. package/generated/entelligence.ts +0 -11
  132. package/generated/epic_games.ts +0 -8
  133. package/generated/eventbrite.ts +0 -12
  134. package/generated/exa.ts +0 -13
  135. package/generated/excel.ts +0 -34
  136. package/generated/exist.ts +0 -8
  137. package/generated/facebook.ts +0 -8
  138. package/generated/factorial.ts +0 -8
  139. package/generated/figma.ts +0 -59
  140. package/generated/finage.ts +0 -19
  141. package/generated/firecrawl.ts +0 -16
  142. package/generated/fireflies.ts +0 -21
  143. package/generated/fitbit.ts +0 -8
  144. package/generated/flutterwave.ts +0 -33
  145. package/generated/fomo.ts +0 -10
  146. package/generated/formcarry.ts +0 -10
  147. package/generated/formsite.ts +0 -14
  148. package/generated/foursquare.ts +0 -14
  149. package/generated/freshbooks.ts +0 -11
  150. package/generated/freshdesk.ts +0 -16
  151. package/generated/front.ts +0 -8
  152. package/generated/github.ts +0 -967
  153. package/generated/gitlab.ts +0 -82
  154. package/generated/gmail.d.ts +0 -86
  155. package/generated/gmail.js +0 -13
  156. package/generated/gmail.ts +0 -95
  157. package/generated/go_to_webinar.ts +0 -8
  158. package/generated/gong.ts +0 -63
  159. package/generated/google_analytics.ts +0 -13
  160. package/generated/google_maps.ts +0 -16
  161. package/generated/googleads.ts +0 -14
  162. package/generated/googlebigquery.ts +0 -10
  163. package/generated/googlecalendar.ts +0 -39
  164. package/generated/googledocs.ts +0 -41
  165. package/generated/googledrive.ts +0 -62
  166. package/generated/googlemeet.ts +0 -18
  167. package/generated/googlephotos.ts +0 -22
  168. package/generated/googlesheets.ts +0 -40
  169. package/generated/googleslides.ts +0 -8
  170. package/generated/googlesuper.ts +0 -230
  171. package/generated/googletasks.ts +0 -23
  172. package/generated/gorgias.ts +0 -41
  173. package/generated/gumroad.ts +0 -14
  174. package/generated/guru.ts +0 -8
  175. package/generated/hackernews.ts +0 -15
  176. package/generated/hackerrank_work.ts +0 -8
  177. package/generated/harvest.ts +0 -56
  178. package/generated/helcim.ts +0 -8
  179. package/generated/heygen.ts +0 -44
  180. package/generated/highlevel.ts +0 -8
  181. package/generated/hubspot.ts +0 -252
  182. package/generated/humanloop.ts +0 -13
  183. package/generated/icims_talent_cloud.ts +0 -8
  184. package/generated/idea_scale.ts +0 -8
  185. package/generated/index.ts +0 -151
  186. package/generated/insighto_ai.ts +0 -19
  187. package/generated/intercom.ts +0 -52
  188. package/generated/interzoid.ts +0 -8
  189. package/generated/jira.ts +0 -59
  190. package/generated/jotform.ts +0 -15
  191. package/generated/junglescout.ts +0 -15
  192. package/generated/keap.ts +0 -8
  193. package/generated/kibana.ts +0 -58
  194. package/generated/kit.ts +0 -38
  195. package/generated/klaviyo.ts +0 -240
  196. package/generated/klipfolio.ts +0 -20
  197. package/generated/kommo.ts +0 -24
  198. package/generated/lastpass.ts +0 -8
  199. package/generated/launch_darkly.ts +0 -16
  200. package/generated/leadfeeder.ts +0 -13
  201. package/generated/leadoku.ts +0 -10
  202. package/generated/lever.ts +0 -8
  203. package/generated/lever_sandbox.ts +0 -8
  204. package/generated/lexoffice.ts +0 -8
  205. package/generated/linear.ts +0 -31
  206. package/generated/linkedin.ts +0 -13
  207. package/generated/linkhut.ts +0 -14
  208. package/generated/linkup.ts +0 -11
  209. package/generated/listennotes.ts +0 -35
  210. package/generated/lmnt.ts +0 -16
  211. package/generated/lodgify.ts +0 -10
  212. package/generated/mailchimp.ts +0 -285
  213. package/generated/mailerlite.ts +0 -8
  214. package/generated/maintainx.ts +0 -20
  215. package/generated/make.ts +0 -12
  216. package/generated/mboum.ts +0 -8
  217. package/generated/mem0.ts +0 -52
  218. package/generated/metaads.ts +0 -25
  219. package/generated/metatextai.ts +0 -8
  220. package/generated/microsoft_clarity.ts +0 -10
  221. package/generated/microsoft_teams.ts +0 -22
  222. package/generated/microsoft_tenant.ts +0 -8
  223. package/generated/miro.ts +0 -23
  224. package/generated/mixpanel.ts +0 -30
  225. package/generated/mocean.ts +0 -8
  226. package/generated/monday.ts +0 -30
  227. package/generated/mopinion.ts +0 -8
  228. package/generated/more_trees.ts +0 -10
  229. package/generated/moxie.ts +0 -8
  230. package/generated/moz.ts +0 -8
  231. package/generated/mural.ts +0 -14
  232. package/generated/nasdaq.ts +0 -15
  233. package/generated/ncscale.ts +0 -8
  234. package/generated/neon.ts +0 -78
  235. package/generated/netsuite.ts +0 -8
  236. package/generated/nextdns.ts +0 -11
  237. package/generated/ngrok.ts +0 -18
  238. package/generated/notion.ts +0 -40
  239. package/generated/oncehub.ts +0 -8
  240. package/generated/one_drive.ts +0 -49
  241. package/generated/onepage.ts +0 -11
  242. package/generated/open_sea.ts +0 -33
  243. package/generated/outlook.ts +0 -37
  244. package/generated/pagerduty.ts +0 -362
  245. package/generated/pandadoc.ts +0 -23
  246. package/generated/peopledatalabs.ts +0 -24
  247. package/generated/perplexityai.ts +0 -10
  248. package/generated/piggy.ts +0 -8
  249. package/generated/pipedrive.ts +0 -288
  250. package/generated/placekey.ts +0 -12
  251. package/generated/posthog.ts +0 -367
  252. package/generated/precoro.ts +0 -8
  253. package/generated/printnode.ts +0 -8
  254. package/generated/process_street.ts +0 -14
  255. package/generated/productboard.ts +0 -8
  256. package/generated/qualaroo.ts +0 -8
  257. package/generated/quickbooks.ts +0 -22
  258. package/generated/rafflys.ts +0 -8
  259. package/generated/ragic.ts +0 -10
  260. package/generated/ramp.ts +0 -17
  261. package/generated/ravenseotools.ts +0 -8
  262. package/generated/recallai.ts +0 -17
  263. package/generated/reddit.ts +0 -19
  264. package/generated/resend.ts +0 -27
  265. package/generated/retellai.ts +0 -19
  266. package/generated/retently.ts +0 -24
  267. package/generated/ring_central.ts +0 -8
  268. package/generated/rippling.ts +0 -8
  269. package/generated/rocket_reach.ts +0 -8
  270. package/generated/rocketlane.ts +0 -42
  271. package/generated/rootly.ts +0 -12
  272. package/generated/rosette_text_analytics.ts +0 -12
  273. package/generated/sage.ts +0 -8
  274. package/generated/salesforce.ts +0 -46
  275. package/generated/scrape_do.ts +0 -28
  276. package/generated/scrapingant.ts +0 -14
  277. package/generated/screenshotone.ts +0 -10
  278. package/generated/seismic.ts +0 -8
  279. package/generated/semanticscholar.ts +0 -23
  280. package/generated/semrush.ts +0 -45
  281. package/generated/sendgrid.ts +0 -384
  282. package/generated/sentry.ts +0 -185
  283. package/generated/serpapi.ts +0 -32
  284. package/generated/servicem8.ts +0 -37
  285. package/generated/servicenow.ts +0 -14
  286. package/generated/share_point.ts +0 -15
  287. package/generated/shopify.ts +0 -37
  288. package/generated/shortcut.ts +0 -131
  289. package/generated/simplesat.ts +0 -11
  290. package/generated/slack.d.ts +0 -16
  291. package/generated/slack.js +0 -11
  292. package/generated/slack.ts +0 -24
  293. package/generated/slackbot.ts +0 -205
  294. package/generated/smartrecruiters.ts +0 -8
  295. package/generated/smugmug.ts +0 -14
  296. package/generated/snowflake.ts +0 -15
  297. package/generated/sourcegraph.ts +0 -16
  298. package/generated/square.ts +0 -8
  299. package/generated/stack_exchange.ts +0 -17
  300. package/generated/starton.ts +0 -11
  301. package/generated/storeganise.ts +0 -12
  302. package/generated/stripe.ts +0 -50
  303. package/generated/supabase.ts +0 -86
  304. package/generated/survey_monkey.ts +0 -8
  305. package/generated/tally.ts +0 -25
  306. package/generated/tapfiliate.ts +0 -11
  307. package/generated/tapform.ts +0 -8
  308. package/generated/tavily.ts +0 -10
  309. package/generated/terminus.ts +0 -8
  310. package/generated/text_to_pdf.ts +0 -10
  311. package/generated/textrazor.ts +0 -22
  312. package/generated/timecamp.ts +0 -10
  313. package/generated/timekit.ts +0 -8
  314. package/generated/timely.ts +0 -11
  315. package/generated/tinypng.ts +0 -15
  316. package/generated/tinyurl.ts +0 -10
  317. package/generated/tisane.ts +0 -15
  318. package/generated/todoist.ts +0 -19
  319. package/generated/toneden.ts +0 -8
  320. package/generated/tpscheck.ts +0 -10
  321. package/generated/trello.ts +0 -360
  322. package/generated/twitch.ts +0 -8
  323. package/generated/twitter.ts +0 -82
  324. package/generated/twitter_media.ts +0 -10
  325. package/generated/typefully.ts +0 -14
  326. package/generated/venly.ts +0 -8
  327. package/generated/vero.ts +0 -8
  328. package/generated/visme.ts +0 -8
  329. package/generated/waboxapp.ts +0 -8
  330. package/generated/wakatime.ts +0 -8
  331. package/generated/wave_accounting.ts +0 -8
  332. package/generated/weathermap.ts +0 -10
  333. package/generated/webex.ts +0 -37
  334. package/generated/webflow.ts +0 -30
  335. package/generated/whatsapp.ts +0 -14
  336. package/generated/wiz.ts +0 -8
  337. package/generated/workiom.ts +0 -12
  338. package/generated/wrike.ts +0 -47
  339. package/generated/xero.ts +0 -13
  340. package/generated/yandex.ts +0 -13
  341. package/generated/ynab.ts +0 -8
  342. package/generated/yousearch.ts +0 -10
  343. package/generated/youtube.ts +0 -26
  344. package/generated/zendesk.ts +0 -23
  345. package/generated/zenrows.ts +0 -25
  346. package/generated/zenserp.ts +0 -20
  347. package/generated/zoho.ts +0 -33
  348. package/generated/zoho_bigin.ts +0 -21
  349. package/generated/zoho_books.ts +0 -8
  350. package/generated/zoho_desk.ts +0 -8
  351. package/generated/zoho_inventory.ts +0 -8
  352. package/generated/zoho_invoice.ts +0 -15
  353. package/generated/zoho_mail.ts +0 -8
  354. package/generated/zoom.ts +0 -181
  355. package/generated/zoominfo.ts +0 -26
@@ -1,9 +1,9 @@
1
- import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-B4k2Bnxc.cjs";
1
+ import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-CwbAy9l_.cjs";
2
2
  import z$1, { z } from "zod/v3";
3
3
  import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
4
4
  import { Composio } from "@composio/client";
5
- import { ToolExecuteResponse } from "@composio/client/resources/tools";
6
5
  import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
6
+ import { ToolExecuteResponse } from "@composio/client/resources/tools";
7
7
 
8
8
  //#region src/types/connectedAccounts.types.d.ts
9
9
  /**
@@ -16,8 +16,9 @@ declare const ConnectedAccountStatuses: {
16
16
  readonly FAILED: "FAILED";
17
17
  readonly EXPIRED: "EXPIRED";
18
18
  readonly INACTIVE: "INACTIVE";
19
+ readonly REVOKED: "REVOKED";
19
20
  };
20
- declare const ConnectedAccountStatusSchema: z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE"]>;
21
+ declare const ConnectedAccountStatusSchema: z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>;
21
22
  type ConnectedAccountStatus = (typeof ConnectedAccountStatuses)[keyof typeof ConnectedAccountStatuses];
22
23
  type ConnectedAccountStatusEnum = z.infer<typeof ConnectedAccountStatusSchema>;
23
24
  declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
@@ -85,14 +86,14 @@ type CreateConnectedAccountParams = z.infer<typeof CreateConnectedAccountParamsS
85
86
  */
86
87
  declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
87
88
  id: z.ZodString;
88
- status: z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE"]>;
89
+ status: z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>;
89
90
  redirectUrl: z.ZodNullable<z.ZodString>;
90
91
  }, "strip", z.ZodTypeAny, {
91
- status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
92
+ status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
92
93
  redirectUrl: string | null;
93
94
  id: string;
94
95
  }, {
95
- status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
96
+ status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
96
97
  redirectUrl: string | null;
97
98
  id: string;
98
99
  }>;
@@ -145,7 +146,7 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
145
146
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
147
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
147
148
  orderBy: z.ZodOptional<z.ZodEnum<["created_at", "updated_at"]>>;
148
- statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE"]>, "many">>>;
149
+ statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>, "many">>>;
149
150
  toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
150
151
  userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
151
152
  }, "strip", z.ZodTypeAny, {
@@ -153,7 +154,7 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
153
154
  authConfigIds?: string[] | null | undefined;
154
155
  cursor?: string | null | undefined;
155
156
  orderBy?: "created_at" | "updated_at" | undefined;
156
- statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
157
+ statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
157
158
  toolkitSlugs?: string[] | null | undefined;
158
159
  userIds?: string[] | null | undefined;
159
160
  }, {
@@ -161,7 +162,7 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
161
162
  authConfigIds?: string[] | null | undefined;
162
163
  cursor?: string | null | undefined;
163
164
  orderBy?: "created_at" | "updated_at" | undefined;
164
- statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
165
+ statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
165
166
  toolkitSlugs?: string[] | null | undefined;
166
167
  userIds?: string[] | null | undefined;
167
168
  }>;
@@ -271,12 +272,22 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
271
272
  * Human-readable alias for the connected account. Must be unique per userId and toolkit within the project.
272
273
  */
273
274
  alias: z.ZodOptional<z.ZodString>;
275
+ /**
276
+ * Whether to allow multiple connected accounts for the same user and auth config.
277
+ * When `false` (default), `link()` throws `ComposioMultipleConnectedAccountsError`
278
+ * if the user already has an `ACTIVE` connection on this auth config — matching
279
+ * the guard on `initiate()`. Pair with `alias` and a session-level
280
+ * `multiAccount` config to disambiguate at execution time.
281
+ */
282
+ allowMultiple: z.ZodOptional<z.ZodBoolean>;
274
283
  }, "strip", z.ZodTypeAny, {
275
284
  callbackUrl?: string | undefined;
276
285
  alias?: string | undefined;
286
+ allowMultiple?: boolean | undefined;
277
287
  }, {
278
288
  callbackUrl?: string | undefined;
279
289
  alias?: string | undefined;
290
+ allowMultiple?: boolean | undefined;
280
291
  }>;
281
292
  type CreateConnectedAccountLinkOptions = z.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
282
293
  declare const CreateConnectedAccountLinkResponseSchema: z.ZodObject<{
@@ -666,8 +677,26 @@ declare class ToolRouterSessionFilesMount {
666
677
  }
667
678
  //#endregion
668
679
  //#region src/types/toolRouter.types.d.ts
680
+ declare const SessionPreset: {
681
+ readonly DIRECT_TOOLS: "direct_tools";
682
+ };
683
+ type SessionPreset = (typeof SessionPreset)[keyof typeof SessionPreset];
669
684
  declare const MCPServerTypeSchema: z$1.ZodEnum<["http", "sse"]>;
670
685
  type MCPServerType = z$1.infer<typeof MCPServerTypeSchema>;
686
+ /**
687
+ * Sandbox compute tier for the tool router workbench.
688
+ *
689
+ * | Tier | vCPU | RAM |
690
+ * | -------- | ---- | ----- |
691
+ * | standard | 1 | 1 GB |
692
+ * | medium | 2 | 2 GB |
693
+ * | large | 4 | 4 GB |
694
+ * | xlarge | 8 | 8 GB |
695
+ *
696
+ * Defaults to `standard` server-side when omitted.
697
+ */
698
+ declare const SandboxSizeSchema: z$1.ZodEnum<["standard", "medium", "large", "xlarge"]>;
699
+ type SandboxSize = z$1.infer<typeof SandboxSizeSchema>;
671
700
  declare const ToolRouterConfigManageConnectionsSchema: z$1.ZodObject<{
672
701
  enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
673
702
  callbackUrl: z$1.ZodOptional<z$1.ZodString>;
@@ -805,7 +834,8 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
805
834
  };
806
835
  }>;
807
836
  type ToolRouterConfigTools = z$1.infer<typeof ToolRouterConfigToolsSchema>;
808
- declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
837
+ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<{
838
+ sessionPreset: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodLiteral<"direct_tools">>>;
809
839
  tools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
810
840
  enable: z$1.ZodArray<z$1.ZodString, "many">;
811
841
  }, "strict", z$1.ZodTypeAny, {
@@ -882,7 +912,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
882
912
  enable: string[];
883
913
  }>]>>>;
884
914
  authConfigs: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
885
- connectedAccounts: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
915
+ connectedAccounts: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>>>;
886
916
  manageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodObject<{
887
917
  enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
888
918
  callbackUrl: z$1.ZodOptional<z$1.ZodString>;
@@ -900,14 +930,17 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
900
930
  enable: z$1.ZodDefault<z$1.ZodBoolean>;
901
931
  enableProxyExecution: z$1.ZodOptional<z$1.ZodBoolean>;
902
932
  autoOffloadThreshold: z$1.ZodOptional<z$1.ZodNumber>;
933
+ sandboxSize: z$1.ZodOptional<z$1.ZodEnum<["standard", "medium", "large", "xlarge"]>>;
903
934
  }, "strip", z$1.ZodTypeAny, {
904
935
  enable: boolean;
905
936
  enableProxyExecution?: boolean | undefined;
906
937
  autoOffloadThreshold?: number | undefined;
938
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
907
939
  }, {
908
940
  enable?: boolean | undefined;
909
941
  enableProxyExecution?: boolean | undefined;
910
942
  autoOffloadThreshold?: number | undefined;
943
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
911
944
  }>>>;
912
945
  multiAccount: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
913
946
  enable: z$1.ZodDefault<z$1.ZodBoolean>;
@@ -922,6 +955,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
922
955
  maxAccountsPerToolkit?: number | undefined;
923
956
  requireExplicitSelection?: boolean | undefined;
924
957
  }>>>;
958
+ preload: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
959
+ tools: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodLiteral<"all">]>>;
960
+ }, "strict", z$1.ZodTypeAny, {
961
+ tools?: string[] | "all" | undefined;
962
+ }, {
963
+ tools?: string[] | "all" | undefined;
964
+ }>>>;
925
965
  experimental: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
926
966
  assistivePrompt: z$1.ZodOptional<z$1.ZodObject<{
927
967
  userTimezone: z$1.ZodOptional<z$1.ZodString>;
@@ -965,8 +1005,12 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
965
1005
  } | {
966
1006
  enable: string[];
967
1007
  } | undefined;
1008
+ preload?: {
1009
+ tools?: string[] | "all" | undefined;
1010
+ } | undefined;
1011
+ sessionPreset?: "direct_tools" | undefined;
968
1012
  authConfigs?: Record<string, string> | undefined;
969
- connectedAccounts?: Record<string, string> | undefined;
1013
+ connectedAccounts?: Record<string, string | string[]> | undefined;
970
1014
  manageConnections?: boolean | {
971
1015
  callbackUrl?: string | undefined;
972
1016
  enable?: boolean | undefined;
@@ -976,6 +1020,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
976
1020
  enable: boolean;
977
1021
  enableProxyExecution?: boolean | undefined;
978
1022
  autoOffloadThreshold?: number | undefined;
1023
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
979
1024
  } | undefined;
980
1025
  multiAccount?: {
981
1026
  enable: boolean;
@@ -1009,8 +1054,12 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
1009
1054
  } | {
1010
1055
  enable: string[];
1011
1056
  } | undefined;
1057
+ preload?: {
1058
+ tools?: string[] | "all" | undefined;
1059
+ } | undefined;
1060
+ sessionPreset?: "direct_tools" | undefined;
1012
1061
  authConfigs?: Record<string, string> | undefined;
1013
- connectedAccounts?: Record<string, string> | undefined;
1062
+ connectedAccounts?: Record<string, string | string[]> | undefined;
1014
1063
  manageConnections?: boolean | {
1015
1064
  callbackUrl?: string | undefined;
1016
1065
  enable?: boolean | undefined;
@@ -1020,6 +1069,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
1020
1069
  enable?: boolean | undefined;
1021
1070
  enableProxyExecution?: boolean | undefined;
1022
1071
  autoOffloadThreshold?: number | undefined;
1072
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
1023
1073
  } | undefined;
1024
1074
  multiAccount?: {
1025
1075
  enable?: boolean | undefined;
@@ -1033,15 +1083,65 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
1033
1083
  customTools?: CustomTool[] | undefined;
1034
1084
  customToolkits?: CustomToolkit[] | undefined;
1035
1085
  } | undefined;
1036
- }>;
1086
+ }>, {
1087
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1088
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1089
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1090
+ } | undefined;
1091
+ tools?: Record<string, string[] | {
1092
+ enable: string[];
1093
+ } | {
1094
+ disable: string[];
1095
+ } | {
1096
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1097
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1098
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1099
+ };
1100
+ }> | undefined;
1101
+ toolkits?: string[] | {
1102
+ disable: string[];
1103
+ } | {
1104
+ enable: string[];
1105
+ } | undefined;
1106
+ preload?: {
1107
+ tools?: string[] | "all" | undefined;
1108
+ } | undefined;
1109
+ sessionPreset?: "direct_tools" | undefined;
1110
+ authConfigs?: Record<string, string> | undefined;
1111
+ connectedAccounts?: Record<string, string | string[]> | undefined;
1112
+ manageConnections?: boolean | {
1113
+ callbackUrl?: string | undefined;
1114
+ enable?: boolean | undefined;
1115
+ waitForConnections?: boolean | undefined;
1116
+ } | undefined;
1117
+ workbench?: {
1118
+ enable: boolean;
1119
+ enableProxyExecution?: boolean | undefined;
1120
+ autoOffloadThreshold?: number | undefined;
1121
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
1122
+ } | undefined;
1123
+ multiAccount?: {
1124
+ enable: boolean;
1125
+ maxAccountsPerToolkit?: number | undefined;
1126
+ requireExplicitSelection?: boolean | undefined;
1127
+ } | undefined;
1128
+ experimental?: {
1129
+ assistivePrompt?: {
1130
+ userTimezone?: string | undefined;
1131
+ } | undefined;
1132
+ customTools?: CustomTool[] | undefined;
1133
+ customToolkits?: CustomToolkit[] | undefined;
1134
+ } | undefined;
1135
+ }, unknown>;
1037
1136
  /**
1038
1137
  * The config for the tool router session.
1039
1138
  *
1139
+ * @param {SessionPreset} [sessionPreset] - Shortcut that exposes every tool allowed by the session filters directly in session.tools() and the MCP tool list. Disables search, multi-execute, manage-connections, and workbench by default; explicit overrides for supported fields still win. Without this preset, ToolRouter uses the default configuration with meta tools enabled.
1040
1140
  * @param {ToolRouterToolkitsParamSchema | ToolRouterToolkitsDisabledConfigSchema | ToolRouterToolkitsEnabledConfigSchema} toolkits - The toolkits to use in the tool router session
1041
1141
  * @param {Record<string, ToolRouterToolsParam | ToolRouterConfigTools>} tools - The tools to configure per toolkit (key is toolkit slug)
1042
1142
  * @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
1043
1143
  * @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
1044
- * @param {Record<string, string>} connectedAccounts - The connected accounts to use in the tool router session
1144
+ * @param {Record<string, string | string[]>} connectedAccounts - The connected accounts to use in the tool router session. A single string is coerced to a single-element array before being sent to the backend.
1045
1145
  * @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
1046
1146
  * @param {boolean} [manageConnections.enable] - Whether to use tools to manage connections in the tool router session @default true
1047
1147
  * @param {string} [manageConnections.callbackUrl] - The callback url to use in the tool router session
@@ -1049,10 +1149,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
1049
1149
  * @param {boolean} [workbench.enable] - Whether to enable the workbench entirely. Defaults to true. When false, no code execution tools are available.
1050
1150
  * @param {boolean} [workbench.enableProxyExecution] - Whether to enable proxy execution
1051
1151
  * @param {number} [workbench.autoOffloadThreshold] - Auto offload threshold in characters for moving execution to workbench
1152
+ * @param {SandboxSize} [workbench.sandboxSize] - Sandbox compute tier: 'standard' (1 vCPU/1 GB, default), 'medium' (2 vCPU/2 GB), 'large' (4 vCPU/4 GB), or 'xlarge' (8 vCPU/8 GB)
1052
1153
  * @param {object} [multiAccount] - Multi-account configuration for this session
1053
1154
  * @param {boolean} [multiAccount.enable] - When true, enables multi-account mode. Falls back to org/project-level config when not set.
1054
1155
  * @param {number} [multiAccount.maxAccountsPerToolkit] - Max connected accounts per toolkit (2-10, default 5)
1055
1156
  * @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
1157
+ * @param {object} [preload] - Tools to preload into session.tools() and the MCP tool list
1158
+ * @param {string[] | 'all'} [preload.tools] - Tool slugs to preload, or "all" to preload every app tool allowed by the session filters. "all" requires a positive filter such as toolkits, tools, or tags; the backend validates and caps the final tool set.
1056
1159
  */
1057
1160
  type ToolRouterCreateSessionConfig = z$1.infer<typeof ToolRouterCreateSessionConfigSchema>;
1058
1161
  declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
@@ -1067,13 +1170,13 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
1067
1170
  mode: z$1.ZodString;
1068
1171
  isComposioManaged: z$1.ZodBoolean;
1069
1172
  }, "strip", z$1.ZodTypeAny, {
1070
- mode: string;
1071
1173
  id: string;
1072
1174
  isComposioManaged: boolean;
1073
- }, {
1074
1175
  mode: string;
1176
+ }, {
1075
1177
  id: string;
1076
1178
  isComposioManaged: boolean;
1179
+ mode: string;
1077
1180
  }>>>;
1078
1181
  connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
1079
1182
  id: z$1.ZodString;
@@ -1088,9 +1191,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
1088
1191
  }, "strip", z$1.ZodTypeAny, {
1089
1192
  isActive: boolean;
1090
1193
  authConfig?: {
1091
- mode: string;
1092
1194
  id: string;
1093
1195
  isComposioManaged: boolean;
1196
+ mode: string;
1094
1197
  } | null | undefined;
1095
1198
  connectedAccount?: {
1096
1199
  status: string;
@@ -1099,9 +1202,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
1099
1202
  }, {
1100
1203
  isActive: boolean;
1101
1204
  authConfig?: {
1102
- mode: string;
1103
1205
  id: string;
1104
1206
  isComposioManaged: boolean;
1207
+ mode: string;
1105
1208
  } | null | undefined;
1106
1209
  connectedAccount?: {
1107
1210
  status: string;
@@ -1116,9 +1219,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
1116
1219
  connection?: {
1117
1220
  isActive: boolean;
1118
1221
  authConfig?: {
1119
- mode: string;
1120
1222
  id: string;
1121
1223
  isComposioManaged: boolean;
1224
+ mode: string;
1122
1225
  } | null | undefined;
1123
1226
  connectedAccount?: {
1124
1227
  status: string;
@@ -1133,9 +1236,9 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
1133
1236
  connection?: {
1134
1237
  isActive: boolean;
1135
1238
  authConfig?: {
1136
- mode: string;
1137
1239
  id: string;
1138
1240
  isComposioManaged: boolean;
1241
+ mode: string;
1139
1242
  } | null | undefined;
1140
1243
  connectedAccount?: {
1141
1244
  status: string;
@@ -1156,13 +1259,13 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1156
1259
  mode: z$1.ZodString;
1157
1260
  isComposioManaged: z$1.ZodBoolean;
1158
1261
  }, "strip", z$1.ZodTypeAny, {
1159
- mode: string;
1160
1262
  id: string;
1161
1263
  isComposioManaged: boolean;
1162
- }, {
1163
1264
  mode: string;
1265
+ }, {
1164
1266
  id: string;
1165
1267
  isComposioManaged: boolean;
1268
+ mode: string;
1166
1269
  }>>>;
1167
1270
  connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
1168
1271
  id: z$1.ZodString;
@@ -1177,9 +1280,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1177
1280
  }, "strip", z$1.ZodTypeAny, {
1178
1281
  isActive: boolean;
1179
1282
  authConfig?: {
1180
- mode: string;
1181
1283
  id: string;
1182
1284
  isComposioManaged: boolean;
1285
+ mode: string;
1183
1286
  } | null | undefined;
1184
1287
  connectedAccount?: {
1185
1288
  status: string;
@@ -1188,9 +1291,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1188
1291
  }, {
1189
1292
  isActive: boolean;
1190
1293
  authConfig?: {
1191
- mode: string;
1192
1294
  id: string;
1193
1295
  isComposioManaged: boolean;
1296
+ mode: string;
1194
1297
  } | null | undefined;
1195
1298
  connectedAccount?: {
1196
1299
  status: string;
@@ -1205,9 +1308,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1205
1308
  connection?: {
1206
1309
  isActive: boolean;
1207
1310
  authConfig?: {
1208
- mode: string;
1209
1311
  id: string;
1210
1312
  isComposioManaged: boolean;
1313
+ mode: string;
1211
1314
  } | null | undefined;
1212
1315
  connectedAccount?: {
1213
1316
  status: string;
@@ -1222,9 +1325,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1222
1325
  connection?: {
1223
1326
  isActive: boolean;
1224
1327
  authConfig?: {
1225
- mode: string;
1226
1328
  id: string;
1227
1329
  isComposioManaged: boolean;
1330
+ mode: string;
1228
1331
  } | null | undefined;
1229
1332
  connectedAccount?: {
1230
1333
  status: string;
@@ -1243,9 +1346,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1243
1346
  connection?: {
1244
1347
  isActive: boolean;
1245
1348
  authConfig?: {
1246
- mode: string;
1247
1349
  id: string;
1248
1350
  isComposioManaged: boolean;
1351
+ mode: string;
1249
1352
  } | null | undefined;
1250
1353
  connectedAccount?: {
1251
1354
  status: string;
@@ -1264,9 +1367,9 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
1264
1367
  connection?: {
1265
1368
  isActive: boolean;
1266
1369
  authConfig?: {
1267
- mode: string;
1268
1370
  id: string;
1269
1371
  isComposioManaged: boolean;
1372
+ mode: string;
1270
1373
  } | null | undefined;
1271
1374
  connectedAccount?: {
1272
1375
  status: string;
@@ -1648,7 +1751,25 @@ type ToolRouterSessionSearchFn = (params: {
1648
1751
  query: string;
1649
1752
  toolkits?: string[];
1650
1753
  }) => Promise<ToolRouterSessionSearchResponse>;
1651
- type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>) => Promise<ToolRouterSessionExecuteResponse>;
1754
+ type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions) => Promise<ToolRouterSessionExecuteResponse>;
1755
+ interface ToolRouterSessionExecuteOptions {
1756
+ /**
1757
+ * Account identifier for direct app tool execution in multi-account sessions.
1758
+ * Meta/helper tools either ignore this top-level field or define
1759
+ * their own account-selection fields, for example
1760
+ * COMPOSIO_MULTI_EXECUTE_TOOL.tools[].account.
1761
+ */
1762
+ account?: string;
1763
+ }
1764
+ type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
1765
+ type ToolRouterSessionWarning = SessionCreateResponse.Warning;
1766
+ interface ToolRouterSessionMetadata {
1767
+ preload?: ToolRouterSessionPreloadConfig;
1768
+ configVersion?: number;
1769
+ warnings?: ToolRouterSessionWarning[];
1770
+ preloadedCustomToolSlugs?: string[];
1771
+ inlineCustomToolsPayload?: InlineCustomToolsWirePayload;
1772
+ }
1652
1773
  declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
1653
1774
  /** The toolkit whose connected account to use for auth (e.g. 'gmail', 'github') */
1654
1775
  toolkit: z$1.ZodString;
@@ -1695,10 +1816,228 @@ declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
1695
1816
  }>;
1696
1817
  type SessionProxyExecuteParams = z$1.infer<typeof SessionProxyExecuteParamsSchema>;
1697
1818
  type ToolRouterSessionProxyExecuteFn = (params: SessionProxyExecuteParams) => Promise<ToolRouterSessionProxyExecuteResponse>;
1819
+ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
1820
+ toolkits: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
1821
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
1822
+ }, "strict", z$1.ZodTypeAny, {
1823
+ disable: string[];
1824
+ }, {
1825
+ disable: string[];
1826
+ }>, z$1.ZodObject<{
1827
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
1828
+ }, "strict", z$1.ZodTypeAny, {
1829
+ enable: string[];
1830
+ }, {
1831
+ enable: string[];
1832
+ }>]>>>;
1833
+ tools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
1834
+ enable: z$1.ZodArray<z$1.ZodString, "many">;
1835
+ }, "strict", z$1.ZodTypeAny, {
1836
+ enable: string[];
1837
+ }, {
1838
+ enable: string[];
1839
+ }>, z$1.ZodObject<{
1840
+ disable: z$1.ZodArray<z$1.ZodString, "many">;
1841
+ }, "strict", z$1.ZodTypeAny, {
1842
+ disable: string[];
1843
+ }, {
1844
+ disable: string[];
1845
+ }>, z$1.ZodObject<{
1846
+ tags: z$1.ZodUnion<[z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z$1.ZodObject<{
1847
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
1848
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
1849
+ }, "strict", z$1.ZodTypeAny, {
1850
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1851
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1852
+ }, {
1853
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1854
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1855
+ }>]>;
1856
+ }, "strict", z$1.ZodTypeAny, {
1857
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1858
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1859
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1860
+ };
1861
+ }, {
1862
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1863
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1864
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1865
+ };
1866
+ }>]>, string[] | {
1867
+ enable: string[];
1868
+ } | {
1869
+ disable: string[];
1870
+ } | {
1871
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1872
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1873
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1874
+ };
1875
+ }, string[] | {
1876
+ enable: string[];
1877
+ } | {
1878
+ disable: string[];
1879
+ } | {
1880
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1881
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1882
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1883
+ };
1884
+ }>]>>>>;
1885
+ tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z$1.ZodObject<{
1886
+ enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
1887
+ disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
1888
+ }, "strict", z$1.ZodTypeAny, {
1889
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1890
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1891
+ }, {
1892
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1893
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1894
+ }>]>>>;
1895
+ authConfigs: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
1896
+ connectedAccounts: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEffects<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>, Record<string, string[]>, Record<string, string | string[]>>>>;
1897
+ manageConnections: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodObject<{
1898
+ enable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
1899
+ callbackUrl: z$1.ZodOptional<z$1.ZodString>;
1900
+ waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
1901
+ }, "strict", z$1.ZodTypeAny, {
1902
+ callbackUrl?: string | undefined;
1903
+ enable?: boolean | undefined;
1904
+ waitForConnections?: boolean | undefined;
1905
+ }, {
1906
+ callbackUrl?: string | undefined;
1907
+ enable?: boolean | undefined;
1908
+ waitForConnections?: boolean | undefined;
1909
+ }>]>>>>;
1910
+ workbench: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1911
+ enable: z$1.ZodOptional<z$1.ZodBoolean>;
1912
+ enableProxyExecution: z$1.ZodOptional<z$1.ZodBoolean>;
1913
+ autoOffloadThreshold: z$1.ZodOptional<z$1.ZodNumber>;
1914
+ sandboxSize: z$1.ZodOptional<z$1.ZodEnum<["standard", "medium", "large", "xlarge"]>>;
1915
+ }, "strip", z$1.ZodTypeAny, {
1916
+ enable?: boolean | undefined;
1917
+ enableProxyExecution?: boolean | undefined;
1918
+ autoOffloadThreshold?: number | undefined;
1919
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
1920
+ }, {
1921
+ enable?: boolean | undefined;
1922
+ enableProxyExecution?: boolean | undefined;
1923
+ autoOffloadThreshold?: number | undefined;
1924
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
1925
+ }>>>>;
1926
+ multiAccount: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1927
+ enable: z$1.ZodOptional<z$1.ZodBoolean>;
1928
+ maxAccountsPerToolkit: z$1.ZodOptional<z$1.ZodNumber>;
1929
+ requireExplicitSelection: z$1.ZodOptional<z$1.ZodBoolean>;
1930
+ }, "strip", z$1.ZodTypeAny, {
1931
+ enable?: boolean | undefined;
1932
+ maxAccountsPerToolkit?: number | undefined;
1933
+ requireExplicitSelection?: boolean | undefined;
1934
+ }, {
1935
+ enable?: boolean | undefined;
1936
+ maxAccountsPerToolkit?: number | undefined;
1937
+ requireExplicitSelection?: boolean | undefined;
1938
+ }>>>>;
1939
+ preload: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
1940
+ tools: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodLiteral<"all">]>>;
1941
+ }, "strict", z$1.ZodTypeAny, {
1942
+ tools?: string[] | "all" | undefined;
1943
+ }, {
1944
+ tools?: string[] | "all" | undefined;
1945
+ }>>>;
1946
+ }, "strip", z$1.ZodTypeAny, {
1947
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1948
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1949
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1950
+ } | undefined;
1951
+ tools?: Record<string, string[] | {
1952
+ enable: string[];
1953
+ } | {
1954
+ disable: string[];
1955
+ } | {
1956
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1957
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1958
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1959
+ };
1960
+ }> | undefined;
1961
+ toolkits?: string[] | {
1962
+ disable: string[];
1963
+ } | {
1964
+ enable: string[];
1965
+ } | undefined;
1966
+ preload?: {
1967
+ tools?: string[] | "all" | undefined;
1968
+ } | undefined;
1969
+ authConfigs?: Record<string, string> | undefined;
1970
+ connectedAccounts?: Record<string, string[]> | undefined;
1971
+ manageConnections?: boolean | {
1972
+ callbackUrl?: string | undefined;
1973
+ enable?: boolean | undefined;
1974
+ waitForConnections?: boolean | undefined;
1975
+ } | null | undefined;
1976
+ workbench?: {
1977
+ enable?: boolean | undefined;
1978
+ enableProxyExecution?: boolean | undefined;
1979
+ autoOffloadThreshold?: number | undefined;
1980
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
1981
+ } | null | undefined;
1982
+ multiAccount?: {
1983
+ enable?: boolean | undefined;
1984
+ maxAccountsPerToolkit?: number | undefined;
1985
+ requireExplicitSelection?: boolean | undefined;
1986
+ } | null | undefined;
1987
+ }, {
1988
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1989
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1990
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1991
+ } | undefined;
1992
+ tools?: Record<string, string[] | {
1993
+ enable: string[];
1994
+ } | {
1995
+ disable: string[];
1996
+ } | {
1997
+ tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1998
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1999
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2000
+ };
2001
+ }> | undefined;
2002
+ toolkits?: string[] | {
2003
+ disable: string[];
2004
+ } | {
2005
+ enable: string[];
2006
+ } | undefined;
2007
+ preload?: {
2008
+ tools?: string[] | "all" | undefined;
2009
+ } | undefined;
2010
+ authConfigs?: Record<string, string> | undefined;
2011
+ connectedAccounts?: Record<string, string | string[]> | undefined;
2012
+ manageConnections?: boolean | {
2013
+ callbackUrl?: string | undefined;
2014
+ enable?: boolean | undefined;
2015
+ waitForConnections?: boolean | undefined;
2016
+ } | null | undefined;
2017
+ workbench?: {
2018
+ enable?: boolean | undefined;
2019
+ enableProxyExecution?: boolean | undefined;
2020
+ autoOffloadThreshold?: number | undefined;
2021
+ sandboxSize?: "standard" | "medium" | "large" | "xlarge" | undefined;
2022
+ } | null | undefined;
2023
+ multiAccount?: {
2024
+ enable?: boolean | undefined;
2025
+ maxAccountsPerToolkit?: number | undefined;
2026
+ requireExplicitSelection?: boolean | undefined;
2027
+ } | null | undefined;
2028
+ }>;
2029
+ type ToolRouterUpdateSessionConfig = z$1.infer<typeof ToolRouterUpdateSessionConfigSchema>;
2030
+ type ToolRouterSessionUpdateFn = (config: ToolRouterUpdateSessionConfig) => Promise<void>;
1698
2031
  /** Session type returned by ToolRouter.create() and ToolRouter.use() */
1699
2032
  interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
1700
2033
  sessionId: string;
1701
2034
  mcp: ToolRouterMCPServerConfig;
2035
+ /** Stored preload configuration for this session. */
2036
+ preload: ToolRouterSessionPreloadConfig;
2037
+ /** Server-side config version when returned by the API. */
2038
+ configVersion?: number;
2039
+ /** Non-blocking session creation warnings returned by the API. */
2040
+ warnings: ToolRouterSessionWarning[];
1702
2041
  tools: ToolRouterToolsFn<TToolCollection, TTool, TProvider>;
1703
2042
  authorize: ToolRouterAuthorizeFn;
1704
2043
  toolkits: ToolRouterToolkitsFn;
@@ -1706,6 +2045,8 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
1706
2045
  search: ToolRouterSessionSearchFn;
1707
2046
  /** Execute a tool within the session */
1708
2047
  execute: ToolRouterSessionExecuteFn;
2048
+ /** Update the session configuration. Mutates this session in-place. */
2049
+ update: ToolRouterSessionUpdateFn;
1709
2050
  /** Proxy an API call through Composio's auth layer using the session's connected account */
1710
2051
  proxyExecute: ToolRouterSessionProxyExecuteFn;
1711
2052
  /** List custom tools registered in this session, with their final slugs and schemas */
@@ -1798,14 +2139,17 @@ declare const CreateCustomToolBaseSchema: z.ZodObject<{
1798
2139
  * Leave empty for tools that don't need any Composio-managed authentication.
1799
2140
  */
1800
2141
  extendsToolkit: z.ZodOptional<z.ZodString>;
2142
+ preload: z.ZodOptional<z.ZodBoolean>;
1801
2143
  }, "strip", z.ZodTypeAny, {
1802
2144
  name: string;
1803
2145
  description: string;
1804
2146
  extendsToolkit?: string | undefined;
2147
+ preload?: boolean | undefined;
1805
2148
  }, {
1806
2149
  name: string;
1807
2150
  description: string;
1808
2151
  extendsToolkit?: string | undefined;
2152
+ preload?: boolean | undefined;
1809
2153
  }>;
1810
2154
  /** Options for creating a custom tool via `createCustomTool()`. */
1811
2155
  type CreateCustomToolParams<T extends z.ZodType> = z.infer<typeof CreateCustomToolBaseSchema> & {
@@ -1830,6 +2174,11 @@ interface CustomTool {
1830
2174
  * Undefined means the tool doesn't need any Composio-managed authentication.
1831
2175
  */
1832
2176
  readonly extendsToolkit?: string;
2177
+ /**
2178
+ * Include this custom tool in session.tools() so it can be called without
2179
+ * searching first.
2180
+ */
2181
+ readonly preload?: boolean;
1833
2182
  readonly inputSchema: Record<string, unknown>;
1834
2183
  /** JSON Schema representation of the output (for backend documentation) */
1835
2184
  readonly outputSchema?: Record<string, unknown>;
@@ -1840,6 +2189,7 @@ interface CustomTool {
1840
2189
  }
1841
2190
  /** Serialized tool definition sent to backend for search indexing. Uses official client type. */
1842
2191
  type CustomToolDefinition = SessionCreateParams.Experimental.CustomTool;
2192
+ type CustomToolWireDefinition = CustomToolDefinition;
1843
2193
  /**
1844
2194
  * Zod schema for validating the string/scalar fields of createCustomToolkit() options.
1845
2195
  * Slug is validated separately as the first argument.
@@ -1847,12 +2197,15 @@ type CustomToolDefinition = SessionCreateParams.Experimental.CustomTool;
1847
2197
  declare const CreateCustomToolkitBaseSchema: z.ZodObject<{
1848
2198
  name: z.ZodString;
1849
2199
  description: z.ZodString;
2200
+ preload: z.ZodOptional<z.ZodBoolean>;
1850
2201
  }, "strip", z.ZodTypeAny, {
1851
2202
  name: string;
1852
2203
  description: string;
2204
+ preload?: boolean | undefined;
1853
2205
  }, {
1854
2206
  name: string;
1855
2207
  description: string;
2208
+ preload?: boolean | undefined;
1856
2209
  }>;
1857
2210
  /** Options for creating a custom toolkit via `createCustomToolkit()`. */
1858
2211
  type CreateCustomToolkitParams = z.infer<typeof CreateCustomToolkitBaseSchema> & {
@@ -1867,10 +2220,20 @@ interface CustomToolkit {
1867
2220
  readonly slug: string;
1868
2221
  readonly name: string;
1869
2222
  readonly description: string;
2223
+ /**
2224
+ * Default session.tools() exposure for tools in this custom toolkit.
2225
+ * Tool-level preload values override this default.
2226
+ */
2227
+ readonly preload?: boolean;
1870
2228
  readonly tools: readonly CustomTool[];
1871
2229
  }
1872
2230
  /** Serialized toolkit definition sent to backend. Uses official client type. */
1873
2231
  type CustomToolkitDefinition = SessionCreateParams.Experimental.CustomToolkit;
2232
+ type CustomToolkitWireDefinition = CustomToolkitDefinition;
2233
+ interface InlineCustomToolsWirePayload {
2234
+ custom_tools?: CustomToolWireDefinition[];
2235
+ custom_toolkits?: CustomToolkitWireDefinition[];
2236
+ }
1874
2237
  /** @internal Entry in the per-session custom tools routing map. */
1875
2238
  type CustomToolsMapEntry = {
1876
2239
  handle: CustomTool;
@@ -1883,10 +2246,16 @@ type CustomToolsMapEntry = {
1883
2246
  type CustomToolsMap = {
1884
2247
  /** Lookup by final slug (e.g. LOCAL_GET_USER_CONTEXT) — used for agent execution path */
1885
2248
  byFinalSlug: Map<string, CustomToolsMapEntry>;
1886
- /** Lookup by original slug (e.g. GET_USER_CONTEXT) — used for programmatic session.execute() */
2249
+ /** Lookup by unique original slug (e.g. GET_USER_CONTEXT) — used for programmatic session.execute() */
1887
2250
  byOriginalSlug: Map<string, CustomToolsMapEntry>;
2251
+ /** Lookup by resolved toolkit + original slug — used when multiple custom toolkits reuse tool names */
2252
+ byToolkitAndOriginalSlug?: Map<string, CustomToolsMapEntry>;
2253
+ /** Original slugs that appear in multiple toolkits and cannot be resolved safely without the final slug */
2254
+ ambiguousOriginalSlugs?: Set<string>;
1888
2255
  /** The original custom toolkits passed at session creation — used for session.customToolkits() */
1889
2256
  toolkits?: CustomToolkit[];
2257
+ /** The original standalone custom tools passed at session creation — kept for inline re-injection on later requests. */
2258
+ tools?: CustomTool[];
1890
2259
  };
1891
2260
  /** A custom tool as registered in a session, with its final resolved slug. */
1892
2261
  interface RegisteredCustomTool {
@@ -1911,4 +2280,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
1911
2280
  /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
1912
2281
  type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
1913
2282
  //#endregion
1914
- export { ToolRouterToolkitsFn as $, UpdateConnectedAccountParams as $t, ToolRouterAuthorizeFn as A, ConnectedAccountListParamsSchema as At, ToolRouterManageConnectionsConfigSchema as B, ConnectedAccountStatusSchema as Bt, SessionContext as C, ToolRouterSessionFilesMountUploadOptions as Ct, SessionExperimental as D, ConnectedAccountAuthConfig as Dt, Session as E, ConnectionRequestState as Et, ToolRouterConfigToolsSchema as F, ConnectedAccountRefreshOptionsSchema as Ft, ToolRouterSessionProxyExecuteResponse as G, CreateConnectedAccountLinkResponseSchema as Gt, ToolRouterSessionExecuteResponse as H, CreateConnectedAccountLinkOptions as Ht, ToolRouterCreateSessionConfig as I, ConnectedAccountRetrieveResponse as It, ToolRouterSessionSearchResponseSchema as J, CreateConnectedAccountParams as Jt, ToolRouterSessionSearchFn as K, CreateConnectedAccountOptions as Kt, ToolRouterCreateSessionConfigSchema as L, ConnectedAccountRetrieveResponseSchema as Lt, ToolRouterConfigTags as M, ConnectedAccountListResponseItem as Mt, ToolRouterConfigTagsSchema as N, ConnectedAccountListResponseSchema as Nt, SessionProxyExecuteParams as O, ConnectedAccountAuthConfigSchema as Ot, ToolRouterConfigTools as P, ConnectedAccountRefreshOptions as Pt, ToolRouterToolkitsEnabledConfigSchema as Q, DefaultCreateConnectedAccountParamsSchema as Qt, ToolRouterMCPServerConfig as R, ConnectedAccountStatus as Rt, RegisteredCustomToolkit as S, ToolRouterSessionFilesMountListOptionsSchema as St, MCPServerTypeSchema as T, ConnectionRequest as Tt, ToolRouterSessionExecuteResponseSchema as U, CreateConnectedAccountLinkOptionsSchema as Ut, ToolRouterSessionExecuteFn as V, ConnectedAccountStatuses as Vt, ToolRouterSessionProxyExecuteFn as W, CreateConnectedAccountLinkResponse as Wt, ToolRouterTagsParamSchema as X, CreateConnectedAccountResponse as Xt, ToolRouterTagsEnableDisableSchema as Y, CreateConnectedAccountParamsSchema as Yt, ToolRouterToolkitsDisabledConfigSchema as Z, CreateConnectedAccountResponseSchema as Zt, CustomToolsMap as _, ToolRouterSessionFilesMountDeleteOptions as _t, CustomTool as a, ToolRouterToolsParamSchema as at, InputParamsSchema as b, ToolRouterSessionFilesMountDownloadOptionsSchema as bt, CustomToolInputParameter as c, ToolkitConnectionsDetails as ct, CustomToolRegistryItem as d, FileDeleteResponse as dt, UpdateConnectedAccountParamsSchema as en, ToolRouterToolkitsOptions as et, CustomToolResponse as f, FileDeleteResponseSchema as ft, CustomToolkitResponse as g, RemoteFileDataSchema as gt, CustomToolkitDefinition as h, RemoteFileData as ht, CreateCustomToolkitParams as i, ToolRouterToolsParam as it, ToolRouterConfigManageConnectionsSchema as j, ConnectedAccountListResponse as jt, SessionProxyExecuteParamsSchema as k, ConnectedAccountListParams as kt, CustomToolOptions as l, ToolkitConnectionsDetailsSchema as lt, CustomToolkit as m, FileListResponseSchema as mt, CreateCustomToolParams as n, ToolRouterToolkitsParamSchema as nt, CustomToolDefinition as o, ToolkitConnectionState as ot, CustomToolSlugSchema as p, FileListResponse as pt, ToolRouterSessionSearchResponse as q, CreateConnectedAccountOptionsSchema as qt, CreateCustomToolkitBaseSchema as r, ToolRouterToolsFn as rt, CustomToolExecuteFn as s, ToolkitConnectionStateSchema as st, CreateCustomToolBaseSchema as t, ToolRouterToolkitsOptionsSchema as tt, CustomToolRegistry as u, RemoteFile as ut, CustomToolsMapEntry as v, ToolRouterSessionFilesMountDeleteOptionsSchema as vt, MCPServerType as w, ToolRouterSessionFilesMountUploadOptionsSchema as wt, RegisteredCustomTool as x, ToolRouterSessionFilesMountListOptions as xt, ExecuteMetadata as y, ToolRouterSessionFilesMountDownloadOptions as yt, ToolRouterMCPServerConfigSchema as z, ConnectedAccountStatusEnum as zt };
2283
+ export { ToolRouterSessionProxyExecuteFn as $, ConnectedAccountStatusSchema as $t, SandboxSizeSchema as A, ToolRouterSessionFilesMountDeleteOptions as At, ToolRouterConfigTools as B, ConnectedAccountAuthConfig as Bt, InputParamsSchema as C, RemoteFile as Ct, MCPServerType as D, FileListResponseSchema as Dt, SessionContext as E, FileListResponse as Et, SessionProxyExecuteParamsSchema as F, ToolRouterSessionFilesMountListOptionsSchema as Ft, ToolRouterMCPServerConfigSchema as G, ConnectedAccountListResponseItem as Gt, ToolRouterCreateSessionConfig as H, ConnectedAccountListParams as Ht, ToolRouterAuthorizeFn as I, ToolRouterSessionFilesMountUploadOptions as It, ToolRouterSessionExecuteOptions as J, ConnectedAccountRefreshOptionsSchema as Jt, ToolRouterManageConnectionsConfigSchema as K, ConnectedAccountListResponseSchema as Kt, ToolRouterConfigManageConnectionsSchema as L, ToolRouterSessionFilesMountUploadOptionsSchema as Lt, SessionExperimental as M, ToolRouterSessionFilesMountDownloadOptions as Mt, SessionPreset as N, ToolRouterSessionFilesMountDownloadOptionsSchema as Nt, MCPServerTypeSchema as O, RemoteFileData as Ot, SessionProxyExecuteParams as P, ToolRouterSessionFilesMountListOptions as Pt, ToolRouterSessionPreloadConfig as Q, ConnectedAccountStatusEnum as Qt, ToolRouterConfigTags as R, ConnectionRequest as Rt, InlineCustomToolsWirePayload as S, ToolkitConnectionsDetailsSchema as St, RegisteredCustomToolkit as T, FileDeleteResponseSchema as Tt, ToolRouterCreateSessionConfigSchema as U, ConnectedAccountListParamsSchema as Ut, ToolRouterConfigToolsSchema as V, ConnectedAccountAuthConfigSchema as Vt, ToolRouterMCPServerConfig as W, ConnectedAccountListResponse as Wt, ToolRouterSessionExecuteResponseSchema as X, ConnectedAccountRetrieveResponseSchema as Xt, ToolRouterSessionExecuteResponse as Y, ConnectedAccountRetrieveResponse as Yt, ToolRouterSessionMetadata as Z, ConnectedAccountStatus as Zt, CustomToolkitResponse as _, ToolRouterUpdateSessionConfig as _t, CustomTool as a, CreateConnectedAccountOptions as an, ToolRouterSessionWarning as at, CustomToolsMapEntry as b, ToolkitConnectionStateSchema as bt, CustomToolInputParameter as c, CreateConnectedAccountParamsSchema as cn, ToolRouterToolkitsDisabledConfigSchema as ct, CustomToolRegistryItem as d, DefaultCreateConnectedAccountParamsSchema as dn, ToolRouterToolkitsOptions as dt, ConnectedAccountStatuses as en, ToolRouterSessionProxyExecuteResponse as et, CustomToolResponse as f, UpdateConnectedAccountParams as fn, ToolRouterToolkitsOptionsSchema as ft, CustomToolkitDefinition as g, ToolRouterToolsParamSchema as gt, CustomToolkit as h, ToolRouterToolsParam as ht, CreateCustomToolkitParams as i, CreateConnectedAccountLinkResponseSchema as in, ToolRouterSessionUpdateFn as it, Session as j, ToolRouterSessionFilesMountDeleteOptionsSchema as jt, SandboxSize as k, RemoteFileDataSchema as kt, CustomToolOptions as l, CreateConnectedAccountResponse as ln, ToolRouterToolkitsEnabledConfigSchema as lt, CustomToolWireDefinition as m, ToolRouterToolsFn as mt, CreateCustomToolParams as n, CreateConnectedAccountLinkOptionsSchema as nn, ToolRouterSessionSearchResponse as nt, CustomToolDefinition as o, CreateConnectedAccountOptionsSchema as on, ToolRouterTagsEnableDisableSchema as ot, CustomToolSlugSchema as p, UpdateConnectedAccountParamsSchema as pn, ToolRouterToolkitsParamSchema as pt, ToolRouterSessionExecuteFn as q, ConnectedAccountRefreshOptions as qt, CreateCustomToolkitBaseSchema as r, CreateConnectedAccountLinkResponse as rn, ToolRouterSessionSearchResponseSchema as rt, CustomToolExecuteFn as s, CreateConnectedAccountParams as sn, ToolRouterTagsParamSchema as st, CreateCustomToolBaseSchema as t, CreateConnectedAccountLinkOptions as tn, ToolRouterSessionSearchFn as tt, CustomToolRegistry as u, CreateConnectedAccountResponseSchema as un, ToolRouterToolkitsFn as ut, CustomToolkitWireDefinition as v, ToolRouterUpdateSessionConfigSchema as vt, RegisteredCustomTool as w, FileDeleteResponse as wt, ExecuteMetadata as x, ToolkitConnectionsDetails as xt, CustomToolsMap as y, ToolkitConnectionState as yt, ToolRouterConfigTagsSchema as z, ConnectionRequestState as zt };