@composio/core 0.9.1 → 0.11.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 (39) hide show
  1. package/dist/{tool.types-CB_4JKhV.d.mts → BaseProvider-BvHvJLXc.d.mts} +24346 -24345
  2. package/dist/{tool.types-CwbAy9l_.d.cts → BaseProvider-CVbQxTNa.d.cts} +24346 -24345
  3. package/dist/{CustomTool-PSRHsd85.d.cts → CustomTool-C-IUByoU.d.cts} +1 -1
  4. package/dist/{CustomTool-BFkwL1aY.d.mts → CustomTool-CChQSp44.d.mts} +1 -1
  5. package/dist/{CustomTool-Bkk0QYzw.cjs → CustomTool-D3-NreIm.cjs} +81 -81
  6. package/dist/{CustomTool-IIUhFtP8.mjs → CustomTool-D5s-aADw.mjs} +76 -76
  7. package/dist/{FileToolModifier.utils.neutral-B7P7wn-b.mjs → FileToolModifier.utils.neutral-BpSceNK8.mjs} +1 -7
  8. package/dist/{FileToolModifier.utils.neutral-Dfwqgimk.cjs → FileToolModifier.utils.neutral-DSBQs9-i.cjs} +2 -8
  9. package/dist/{Telemetry-Dm-0sewu.cjs → Telemetry-BQ_pl5AK.cjs} +34 -9
  10. package/dist/{Telemetry-kgWlkavX.mjs → Telemetry-DQax33Gh.mjs} +34 -9
  11. package/dist/{composio-Dzlk0Wj4.d.mts → composio-BlASKqjQ.d.mts} +216 -237
  12. package/dist/{composio-BnLWW0B6.d.cts → composio-pcA13w87.d.cts} +216 -237
  13. package/dist/{customTool.types-oV5boR1w.d.mts → customTool.types-DLIORcYN.d.mts} +195 -138
  14. package/dist/{customTool.types-BVgnEbR2.d.cts → customTool.types-QtkAZQma.d.cts} +195 -138
  15. package/dist/experimental/index.cjs +1 -1
  16. package/dist/experimental/index.d.cts +2 -2
  17. package/dist/experimental/index.d.mts +3 -3
  18. package/dist/experimental/index.mjs +1 -1
  19. package/dist/index.cjs +623 -654
  20. package/dist/index.d.cts +415 -18
  21. package/dist/index.d.mts +415 -18
  22. package/dist/index.mjs +617 -652
  23. package/dist/models/Files.node.cjs +1 -1
  24. package/dist/models/Files.node.mjs +1 -1
  25. package/dist/{types-4vkdo_RG.d.cts → types-DRG5qLxI.d.cts} +2 -2
  26. package/dist/{types-AcoPzTnm.d.mts → types-J2KCXP8R.d.mts} +2 -2
  27. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  28. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  29. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  30. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  31. package/dist/utils/modifiers/FileToolModifier.node.cjs +38 -21
  32. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  33. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  34. package/dist/utils/modifiers/FileToolModifier.node.mjs +38 -21
  35. package/dist/utils/modifiers/FileToolModifier.workerd.cjs +1 -1
  36. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  37. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  38. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
  39. package/package.json +12 -3
@@ -1,9 +1,8 @@
1
- import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-CB_4JKhV.mjs";
1
+ import { dt as ConnectionDataSchema, n as BaseComposioProvider, rn as SessionMetaToolOptions } from "./BaseProvider-BvHvJLXc.mjs";
2
2
  import { Composio } from "@composio/client";
3
3
  import z, { z as z$1 } from "zod/v3";
4
4
  import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
5
5
  import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
6
- import { ToolExecuteResponse } from "@composio/client/resources/tools";
7
6
 
8
7
  //#region src/types/connectedAccounts.types.d.ts
9
8
  /**
@@ -69,6 +68,80 @@ declare const ConnectedAccountAclConfigResponseSchema: z$1.ZodObject<{
69
68
  notAllowedUserIds: string[];
70
69
  }>;
71
70
  type ConnectedAccountAclConfigResponse = z$1.infer<typeof ConnectedAccountAclConfigResponseSchema>;
71
+ /**
72
+ * Experimental options for SHARED connections, passed at create / link time.
73
+ *
74
+ * **Experimental — shape may change in future releases.** Wrapped under a
75
+ * dedicated `experimental` block on every input and response so the
76
+ * experimental status is visible at every call site.
77
+ */
78
+ declare const ConnectedAccountExperimentalSchema: z$1.ZodObject<{
79
+ accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED"]>>;
80
+ aclConfigForShared: z$1.ZodOptional<z$1.ZodObject<{
81
+ allowAllUsers: z$1.ZodOptional<z$1.ZodBoolean>;
82
+ allowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
83
+ notAllowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
84
+ }, "strip", z$1.ZodTypeAny, {
85
+ allowAllUsers?: boolean | undefined;
86
+ allowedUserIds?: string[] | undefined;
87
+ notAllowedUserIds?: string[] | undefined;
88
+ }, {
89
+ allowAllUsers?: boolean | undefined;
90
+ allowedUserIds?: string[] | undefined;
91
+ notAllowedUserIds?: string[] | undefined;
92
+ }>>;
93
+ }, "strip", z$1.ZodTypeAny, {
94
+ accountType?: "PRIVATE" | "SHARED" | undefined;
95
+ aclConfigForShared?: {
96
+ allowAllUsers?: boolean | undefined;
97
+ allowedUserIds?: string[] | undefined;
98
+ notAllowedUserIds?: string[] | undefined;
99
+ } | undefined;
100
+ }, {
101
+ accountType?: "PRIVATE" | "SHARED" | undefined;
102
+ aclConfigForShared?: {
103
+ allowAllUsers?: boolean | undefined;
104
+ allowedUserIds?: string[] | undefined;
105
+ notAllowedUserIds?: string[] | undefined;
106
+ } | undefined;
107
+ }>;
108
+ type ConnectedAccountExperimental = z$1.infer<typeof ConnectedAccountExperimentalSchema>;
109
+ /**
110
+ * Resolved experimental block on retrieve / list responses. `accountType`
111
+ * is always present when the block is; `aclConfigForShared` is only
112
+ * present when the caller is authorised to see the ACL.
113
+ */
114
+ declare const ConnectedAccountExperimentalResponseSchema: z$1.ZodObject<{
115
+ accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED"]>>;
116
+ aclConfigForShared: z$1.ZodOptional<z$1.ZodObject<{
117
+ allowAllUsers: z$1.ZodBoolean;
118
+ allowedUserIds: z$1.ZodArray<z$1.ZodString, "many">;
119
+ notAllowedUserIds: z$1.ZodArray<z$1.ZodString, "many">;
120
+ }, "strip", z$1.ZodTypeAny, {
121
+ allowAllUsers: boolean;
122
+ allowedUserIds: string[];
123
+ notAllowedUserIds: string[];
124
+ }, {
125
+ allowAllUsers: boolean;
126
+ allowedUserIds: string[];
127
+ notAllowedUserIds: string[];
128
+ }>>;
129
+ }, "strip", z$1.ZodTypeAny, {
130
+ accountType?: "PRIVATE" | "SHARED" | undefined;
131
+ aclConfigForShared?: {
132
+ allowAllUsers: boolean;
133
+ allowedUserIds: string[];
134
+ notAllowedUserIds: string[];
135
+ } | undefined;
136
+ }, {
137
+ accountType?: "PRIVATE" | "SHARED" | undefined;
138
+ aclConfigForShared?: {
139
+ allowAllUsers: boolean;
140
+ allowedUserIds: string[];
141
+ notAllowedUserIds: string[];
142
+ } | undefined;
143
+ }>;
144
+ type ConnectedAccountExperimentalResponse = z$1.infer<typeof ConnectedAccountExperimentalResponseSchema>;
72
145
  declare const CreateConnectedAccountParamsSchema: z$1.ZodObject<{
73
146
  authConfig: z$1.ZodObject<{
74
147
  id: z$1.ZodString;
@@ -183,8 +256,7 @@ declare const ConnectedAccountRetrieveResponseSchema: z$1.ZodType<{
183
256
  isDisabled: boolean;
184
257
  createdAt: string;
185
258
  updatedAt: string;
186
- accountType?: ConnectedAccountType;
187
- aclConfigForShared?: ConnectedAccountAclConfigResponse;
259
+ experimental?: ConnectedAccountExperimentalResponse;
188
260
  }>;
189
261
  type ConnectedAccountRetrieveResponse = z$1.infer<typeof ConnectedAccountRetrieveResponseSchema>;
190
262
  /**
@@ -199,10 +271,18 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
199
271
  statuses: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>, "many">>>;
200
272
  toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
201
273
  userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
274
+ /**
275
+ * Experimental — shape may change in future releases. Filter by sharing
276
+ * model. Default (omitted) returns PRIVATE only. Pass `'SHARED'` for only
277
+ * shared accounts, or `'ALL'` for `PRIVATE` + `SHARED`. Kept flat because
278
+ * the wire is a query string and can't carry nested objects.
279
+ */
280
+ accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
202
281
  }, "strip", z$1.ZodTypeAny, {
203
282
  limit?: number | null | undefined;
204
283
  authConfigIds?: string[] | null | undefined;
205
284
  cursor?: string | null | undefined;
285
+ accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
206
286
  orderBy?: "created_at" | "updated_at" | undefined;
207
287
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
208
288
  toolkitSlugs?: string[] | null | undefined;
@@ -211,6 +291,7 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
211
291
  limit?: number | null | undefined;
212
292
  authConfigIds?: string[] | null | undefined;
213
293
  cursor?: string | null | undefined;
294
+ accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
214
295
  orderBy?: "created_at" | "updated_at" | undefined;
215
296
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
216
297
  toolkitSlugs?: string[] | null | undefined;
@@ -237,8 +318,7 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
237
318
  isDisabled: boolean;
238
319
  createdAt: string;
239
320
  updatedAt: string;
240
- accountType?: ConnectedAccountType;
241
- aclConfigForShared?: ConnectedAccountAclConfigResponse;
321
+ experimental?: ConnectedAccountExperimentalResponse;
242
322
  }, z$1.ZodTypeDef, {
243
323
  id: string;
244
324
  authConfig: z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
@@ -258,8 +338,7 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
258
338
  isDisabled: boolean;
259
339
  createdAt: string;
260
340
  updatedAt: string;
261
- accountType?: ConnectedAccountType;
262
- aclConfigForShared?: ConnectedAccountAclConfigResponse;
341
+ experimental?: ConnectedAccountExperimentalResponse;
263
342
  }>, "many">;
264
343
  nextCursor: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
265
344
  totalPages: z$1.ZodNumber;
@@ -283,8 +362,7 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
283
362
  isDisabled: boolean;
284
363
  createdAt: string;
285
364
  updatedAt: string;
286
- accountType?: ConnectedAccountType;
287
- aclConfigForShared?: ConnectedAccountAclConfigResponse;
365
+ experimental?: ConnectedAccountExperimentalResponse;
288
366
  }[];
289
367
  totalPages: number;
290
368
  nextCursor?: string | null | undefined;
@@ -308,8 +386,7 @@ declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
308
386
  isDisabled: boolean;
309
387
  createdAt: string;
310
388
  updatedAt: string;
311
- accountType?: ConnectedAccountType;
312
- aclConfigForShared?: ConnectedAccountAclConfigResponse;
389
+ experimental?: ConnectedAccountExperimentalResponse;
313
390
  }[];
314
391
  totalPages: number;
315
392
  nextCursor?: string | null | undefined;
@@ -319,8 +396,8 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
319
396
  /**
320
397
  * The url to redirect the user to post connecting their account.
321
398
  *
322
- * For sucessfull connections, you will get a query param called status=success
323
- * And for failed connections you will get a query param called satus=failed
399
+ * For successful connections, you will get a query param called status=success
400
+ * And for failed connections you will get a query param called status=failed
324
401
  *
325
402
  * @example https://your-app.com/callback
326
403
  *
@@ -339,55 +416,72 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
339
416
  */
340
417
  allowMultiple: z$1.ZodOptional<z$1.ZodBoolean>;
341
418
  /**
342
- * Sharing model for the new connection. `PRIVATE` (default) is usable only
343
- * by the owning `userId`. `SHARED` can be used by other `userId`s — but
344
- * only when the connection is explicitly pinned in a tool-router session's
345
- * config and only when the requesting `userId` passes the connection's
346
- * ACL.
347
- */
348
- accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED"]>>;
349
- /**
350
- * Per-user ACL for SHARED connections. Only valid when
351
- * `accountType === 'SHARED'`; raises `ComposioAclOnlyForSharedError`
352
- * on a PRIVATE connection.
419
+ * Experimental options for SHARED connections. Pass `accountType: 'SHARED'`
420
+ * (and optionally `aclConfigForShared`) to create a connection that can
421
+ * be reached by other `userId`s when pinned in a session.
422
+ *
423
+ * Experimental — shape may change in future releases.
353
424
  *
354
- * Omit the block (or pass `{}`) to keep the deny-by-default state: only the
355
- * creator can use the connection. Grant access by setting
425
+ * `aclConfigForShared` is only valid when `accountType === 'SHARED'`;
426
+ * raises `ComposioAclOnlyForSharedError` on a PRIVATE connection. Omit
427
+ * the inner block (or pass `{}`) to keep the deny-by-default state: only
428
+ * the creator can use the connection. Grant access by setting
356
429
  * `allowAllUsers: true` or listing user IDs in `allowedUserIds`.
357
430
  * `notAllowedUserIds` always wins over allow.
358
431
  */
359
- aclConfigForShared: z$1.ZodOptional<z$1.ZodObject<{
360
- allowAllUsers: z$1.ZodOptional<z$1.ZodBoolean>;
361
- allowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
362
- notAllowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
432
+ experimental: z$1.ZodOptional<z$1.ZodObject<{
433
+ accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED"]>>;
434
+ aclConfigForShared: z$1.ZodOptional<z$1.ZodObject<{
435
+ allowAllUsers: z$1.ZodOptional<z$1.ZodBoolean>;
436
+ allowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
437
+ notAllowedUserIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
438
+ }, "strip", z$1.ZodTypeAny, {
439
+ allowAllUsers?: boolean | undefined;
440
+ allowedUserIds?: string[] | undefined;
441
+ notAllowedUserIds?: string[] | undefined;
442
+ }, {
443
+ allowAllUsers?: boolean | undefined;
444
+ allowedUserIds?: string[] | undefined;
445
+ notAllowedUserIds?: string[] | undefined;
446
+ }>>;
363
447
  }, "strip", z$1.ZodTypeAny, {
364
- allowAllUsers?: boolean | undefined;
365
- allowedUserIds?: string[] | undefined;
366
- notAllowedUserIds?: string[] | undefined;
448
+ accountType?: "PRIVATE" | "SHARED" | undefined;
449
+ aclConfigForShared?: {
450
+ allowAllUsers?: boolean | undefined;
451
+ allowedUserIds?: string[] | undefined;
452
+ notAllowedUserIds?: string[] | undefined;
453
+ } | undefined;
367
454
  }, {
368
- allowAllUsers?: boolean | undefined;
369
- allowedUserIds?: string[] | undefined;
370
- notAllowedUserIds?: string[] | undefined;
455
+ accountType?: "PRIVATE" | "SHARED" | undefined;
456
+ aclConfigForShared?: {
457
+ allowAllUsers?: boolean | undefined;
458
+ allowedUserIds?: string[] | undefined;
459
+ notAllowedUserIds?: string[] | undefined;
460
+ } | undefined;
371
461
  }>>;
372
462
  }, "strip", z$1.ZodTypeAny, {
373
463
  callbackUrl?: string | undefined;
374
464
  alias?: string | undefined;
375
465
  allowMultiple?: boolean | undefined;
376
- accountType?: "PRIVATE" | "SHARED" | undefined;
377
- aclConfigForShared?: {
378
- allowAllUsers?: boolean | undefined;
379
- allowedUserIds?: string[] | undefined;
380
- notAllowedUserIds?: string[] | undefined;
466
+ experimental?: {
467
+ accountType?: "PRIVATE" | "SHARED" | undefined;
468
+ aclConfigForShared?: {
469
+ allowAllUsers?: boolean | undefined;
470
+ allowedUserIds?: string[] | undefined;
471
+ notAllowedUserIds?: string[] | undefined;
472
+ } | undefined;
381
473
  } | undefined;
382
474
  }, {
383
475
  callbackUrl?: string | undefined;
384
476
  alias?: string | undefined;
385
477
  allowMultiple?: boolean | undefined;
386
- accountType?: "PRIVATE" | "SHARED" | undefined;
387
- aclConfigForShared?: {
388
- allowAllUsers?: boolean | undefined;
389
- allowedUserIds?: string[] | undefined;
390
- notAllowedUserIds?: string[] | undefined;
478
+ experimental?: {
479
+ accountType?: "PRIVATE" | "SHARED" | undefined;
480
+ aclConfigForShared?: {
481
+ allowAllUsers?: boolean | undefined;
482
+ allowedUserIds?: string[] | undefined;
483
+ notAllowedUserIds?: string[] | undefined;
484
+ } | undefined;
391
485
  } | undefined;
392
486
  }>;
393
487
  type CreateConnectedAccountLinkOptions = z$1.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
@@ -1121,6 +1215,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1121
1215
  customToolkits?: CustomToolkit[] | undefined;
1122
1216
  }>>>;
1123
1217
  }, "strip", z.ZodTypeAny, {
1218
+ preload?: {
1219
+ tools?: string[] | "all" | undefined;
1220
+ } | undefined;
1124
1221
  tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1125
1222
  enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1126
1223
  disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
@@ -1140,8 +1237,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1140
1237
  } | {
1141
1238
  enable: string[];
1142
1239
  } | undefined;
1143
- preload?: {
1144
- tools?: string[] | "all" | undefined;
1240
+ experimental?: {
1241
+ assistivePrompt?: {
1242
+ userTimezone?: string | undefined;
1243
+ } | undefined;
1244
+ customTools?: CustomTool[] | undefined;
1245
+ customToolkits?: CustomToolkit[] | undefined;
1145
1246
  } | undefined;
1146
1247
  sessionPreset?: "direct_tools" | undefined;
1147
1248
  authConfigs?: Record<string, string> | undefined;
@@ -1162,14 +1263,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1162
1263
  maxAccountsPerToolkit?: number | undefined;
1163
1264
  requireExplicitSelection?: boolean | undefined;
1164
1265
  } | undefined;
1165
- experimental?: {
1166
- assistivePrompt?: {
1167
- userTimezone?: string | undefined;
1168
- } | undefined;
1169
- customTools?: CustomTool[] | undefined;
1170
- customToolkits?: CustomToolkit[] | undefined;
1171
- } | undefined;
1172
1266
  }, {
1267
+ preload?: {
1268
+ tools?: string[] | "all" | undefined;
1269
+ } | undefined;
1173
1270
  tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1174
1271
  enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1175
1272
  disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
@@ -1189,8 +1286,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1189
1286
  } | {
1190
1287
  enable: string[];
1191
1288
  } | undefined;
1192
- preload?: {
1193
- tools?: string[] | "all" | undefined;
1289
+ experimental?: {
1290
+ assistivePrompt?: {
1291
+ userTimezone?: string | undefined;
1292
+ } | undefined;
1293
+ customTools?: CustomTool[] | undefined;
1294
+ customToolkits?: CustomToolkit[] | undefined;
1194
1295
  } | undefined;
1195
1296
  sessionPreset?: "direct_tools" | undefined;
1196
1297
  authConfigs?: Record<string, string> | undefined;
@@ -1211,14 +1312,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1211
1312
  maxAccountsPerToolkit?: number | undefined;
1212
1313
  requireExplicitSelection?: boolean | undefined;
1213
1314
  } | undefined;
1214
- experimental?: {
1215
- assistivePrompt?: {
1216
- userTimezone?: string | undefined;
1217
- } | undefined;
1218
- customTools?: CustomTool[] | undefined;
1219
- customToolkits?: CustomToolkit[] | undefined;
1220
- } | undefined;
1221
1315
  }>, {
1316
+ preload?: {
1317
+ tools?: string[] | "all" | undefined;
1318
+ } | undefined;
1222
1319
  tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1223
1320
  enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1224
1321
  disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
@@ -1238,8 +1335,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1238
1335
  } | {
1239
1336
  enable: string[];
1240
1337
  } | undefined;
1241
- preload?: {
1242
- tools?: string[] | "all" | undefined;
1338
+ experimental?: {
1339
+ assistivePrompt?: {
1340
+ userTimezone?: string | undefined;
1341
+ } | undefined;
1342
+ customTools?: CustomTool[] | undefined;
1343
+ customToolkits?: CustomToolkit[] | undefined;
1243
1344
  } | undefined;
1244
1345
  sessionPreset?: "direct_tools" | undefined;
1245
1346
  authConfigs?: Record<string, string> | undefined;
@@ -1260,13 +1361,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
1260
1361
  maxAccountsPerToolkit?: number | undefined;
1261
1362
  requireExplicitSelection?: boolean | undefined;
1262
1363
  } | undefined;
1263
- experimental?: {
1264
- assistivePrompt?: {
1265
- userTimezone?: string | undefined;
1266
- } | undefined;
1267
- customTools?: CustomTool[] | undefined;
1268
- customToolkits?: CustomToolkit[] | undefined;
1269
- } | undefined;
1270
1364
  }, unknown>;
1271
1365
  /**
1272
1366
  * The config for the tool router session.
@@ -1306,12 +1400,12 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1306
1400
  isComposioManaged: z.ZodBoolean;
1307
1401
  }, "strip", z.ZodTypeAny, {
1308
1402
  id: string;
1309
- isComposioManaged: boolean;
1310
1403
  mode: string;
1404
+ isComposioManaged: boolean;
1311
1405
  }, {
1312
1406
  id: string;
1313
- isComposioManaged: boolean;
1314
1407
  mode: string;
1408
+ isComposioManaged: boolean;
1315
1409
  }>>>;
1316
1410
  connectedAccount: z.ZodOptional<z.ZodObject<{
1317
1411
  id: z.ZodString;
@@ -1327,8 +1421,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1327
1421
  isActive: boolean;
1328
1422
  authConfig?: {
1329
1423
  id: string;
1330
- isComposioManaged: boolean;
1331
1424
  mode: string;
1425
+ isComposioManaged: boolean;
1332
1426
  } | null | undefined;
1333
1427
  connectedAccount?: {
1334
1428
  status: string;
@@ -1338,8 +1432,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1338
1432
  isActive: boolean;
1339
1433
  authConfig?: {
1340
1434
  id: string;
1341
- isComposioManaged: boolean;
1342
1435
  mode: string;
1436
+ isComposioManaged: boolean;
1343
1437
  } | null | undefined;
1344
1438
  connectedAccount?: {
1345
1439
  status: string;
@@ -1347,16 +1441,16 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1347
1441
  } | undefined;
1348
1442
  }>>;
1349
1443
  }, "strip", z.ZodTypeAny, {
1350
- slug: string;
1351
1444
  name: string;
1445
+ slug: string;
1352
1446
  isNoAuth: boolean;
1353
1447
  logo?: string | undefined;
1354
1448
  connection?: {
1355
1449
  isActive: boolean;
1356
1450
  authConfig?: {
1357
1451
  id: string;
1358
- isComposioManaged: boolean;
1359
1452
  mode: string;
1453
+ isComposioManaged: boolean;
1360
1454
  } | null | undefined;
1361
1455
  connectedAccount?: {
1362
1456
  status: string;
@@ -1364,16 +1458,16 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1364
1458
  } | undefined;
1365
1459
  } | undefined;
1366
1460
  }, {
1367
- slug: string;
1368
1461
  name: string;
1462
+ slug: string;
1369
1463
  logo?: string | undefined;
1370
1464
  isNoAuth?: boolean | undefined;
1371
1465
  connection?: {
1372
1466
  isActive: boolean;
1373
1467
  authConfig?: {
1374
1468
  id: string;
1375
- isComposioManaged: boolean;
1376
1469
  mode: string;
1470
+ isComposioManaged: boolean;
1377
1471
  } | null | undefined;
1378
1472
  connectedAccount?: {
1379
1473
  status: string;
@@ -1395,12 +1489,12 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1395
1489
  isComposioManaged: z.ZodBoolean;
1396
1490
  }, "strip", z.ZodTypeAny, {
1397
1491
  id: string;
1398
- isComposioManaged: boolean;
1399
1492
  mode: string;
1493
+ isComposioManaged: boolean;
1400
1494
  }, {
1401
1495
  id: string;
1402
- isComposioManaged: boolean;
1403
1496
  mode: string;
1497
+ isComposioManaged: boolean;
1404
1498
  }>>>;
1405
1499
  connectedAccount: z.ZodOptional<z.ZodObject<{
1406
1500
  id: z.ZodString;
@@ -1416,8 +1510,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1416
1510
  isActive: boolean;
1417
1511
  authConfig?: {
1418
1512
  id: string;
1419
- isComposioManaged: boolean;
1420
1513
  mode: string;
1514
+ isComposioManaged: boolean;
1421
1515
  } | null | undefined;
1422
1516
  connectedAccount?: {
1423
1517
  status: string;
@@ -1427,8 +1521,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1427
1521
  isActive: boolean;
1428
1522
  authConfig?: {
1429
1523
  id: string;
1430
- isComposioManaged: boolean;
1431
1524
  mode: string;
1525
+ isComposioManaged: boolean;
1432
1526
  } | null | undefined;
1433
1527
  connectedAccount?: {
1434
1528
  status: string;
@@ -1436,16 +1530,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1436
1530
  } | undefined;
1437
1531
  }>>;
1438
1532
  }, "strip", z.ZodTypeAny, {
1439
- slug: string;
1440
1533
  name: string;
1534
+ slug: string;
1441
1535
  isNoAuth: boolean;
1442
1536
  logo?: string | undefined;
1443
1537
  connection?: {
1444
1538
  isActive: boolean;
1445
1539
  authConfig?: {
1446
1540
  id: string;
1447
- isComposioManaged: boolean;
1448
1541
  mode: string;
1542
+ isComposioManaged: boolean;
1449
1543
  } | null | undefined;
1450
1544
  connectedAccount?: {
1451
1545
  status: string;
@@ -1453,16 +1547,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1453
1547
  } | undefined;
1454
1548
  } | undefined;
1455
1549
  }, {
1456
- slug: string;
1457
1550
  name: string;
1551
+ slug: string;
1458
1552
  logo?: string | undefined;
1459
1553
  isNoAuth?: boolean | undefined;
1460
1554
  connection?: {
1461
1555
  isActive: boolean;
1462
1556
  authConfig?: {
1463
1557
  id: string;
1464
- isComposioManaged: boolean;
1465
1558
  mode: string;
1559
+ isComposioManaged: boolean;
1466
1560
  } | null | undefined;
1467
1561
  connectedAccount?: {
1468
1562
  status: string;
@@ -1474,16 +1568,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1474
1568
  totalPages: z.ZodNumber;
1475
1569
  }, "strip", z.ZodTypeAny, {
1476
1570
  items: {
1477
- slug: string;
1478
1571
  name: string;
1572
+ slug: string;
1479
1573
  isNoAuth: boolean;
1480
1574
  logo?: string | undefined;
1481
1575
  connection?: {
1482
1576
  isActive: boolean;
1483
1577
  authConfig?: {
1484
1578
  id: string;
1485
- isComposioManaged: boolean;
1486
1579
  mode: string;
1580
+ isComposioManaged: boolean;
1487
1581
  } | null | undefined;
1488
1582
  connectedAccount?: {
1489
1583
  status: string;
@@ -1495,16 +1589,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1495
1589
  cursor?: string | undefined;
1496
1590
  }, {
1497
1591
  items: {
1498
- slug: string;
1499
1592
  name: string;
1593
+ slug: string;
1500
1594
  logo?: string | undefined;
1501
1595
  isNoAuth?: boolean | undefined;
1502
1596
  connection?: {
1503
1597
  isActive: boolean;
1504
1598
  authConfig?: {
1505
1599
  id: string;
1506
- isComposioManaged: boolean;
1507
1600
  mode: string;
1601
+ isComposioManaged: boolean;
1508
1602
  } | null | undefined;
1509
1603
  connectedAccount?: {
1510
1604
  status: string;
@@ -2079,6 +2173,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodObject<{
2079
2173
  tools?: string[] | "all" | undefined;
2080
2174
  }>>>;
2081
2175
  }, "strip", z.ZodTypeAny, {
2176
+ preload?: {
2177
+ tools?: string[] | "all" | undefined;
2178
+ } | undefined;
2082
2179
  tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2083
2180
  enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2084
2181
  disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
@@ -2098,9 +2195,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodObject<{
2098
2195
  } | {
2099
2196
  enable: string[];
2100
2197
  } | undefined;
2101
- preload?: {
2102
- tools?: string[] | "all" | undefined;
2103
- } | undefined;
2104
2198
  authConfigs?: Record<string, string> | undefined;
2105
2199
  connectedAccounts?: Record<string, string[]> | undefined;
2106
2200
  manageConnections?: boolean | {
@@ -2120,6 +2214,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodObject<{
2120
2214
  requireExplicitSelection?: boolean | undefined;
2121
2215
  } | null | undefined;
2122
2216
  }, {
2217
+ preload?: {
2218
+ tools?: string[] | "all" | undefined;
2219
+ } | undefined;
2123
2220
  tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2124
2221
  enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2125
2222
  disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
@@ -2139,9 +2236,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodObject<{
2139
2236
  } | {
2140
2237
  enable: string[];
2141
2238
  } | undefined;
2142
- preload?: {
2143
- tools?: string[] | "all" | undefined;
2144
- } | undefined;
2145
2239
  authConfigs?: Record<string, string> | undefined;
2146
2240
  connectedAccounts?: Record<string, string | string[]> | undefined;
2147
2241
  manageConnections?: boolean | {
@@ -2195,43 +2289,6 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
2195
2289
  }
2196
2290
  //#endregion
2197
2291
  //#region src/types/customTool.types.d.ts
2198
- type BaseCustomToolOptions<T extends z$1.ZodType> = {
2199
- name: string;
2200
- description?: string;
2201
- slug: string;
2202
- inputParams: T;
2203
- };
2204
- type ToolkitBasedExecute<T extends z$1.ZodType> = {
2205
- execute: (input: z$1.infer<T>, connectionConfig: ConnectionData | null, executeToolRequest: (data: ToolProxyParams) => Promise<ToolExecuteResponse>) => Promise<ToolExecuteResponse>;
2206
- toolkitSlug: string;
2207
- };
2208
- type StandaloneExecute<T extends z$1.ZodType> = {
2209
- execute: (input: z$1.infer<T>) => Promise<ToolExecuteResponse>;
2210
- toolkitSlug?: never;
2211
- };
2212
- type CustomToolOptions<T extends z$1.ZodType> = BaseCustomToolOptions<T> & (ToolkitBasedExecute<T> | StandaloneExecute<T>);
2213
- type CustomToolRegistry = Map<string, {
2214
- options: CustomToolOptions<CustomToolInputParameter>;
2215
- schema: Tool;
2216
- }>;
2217
- type InputParamsSchema = {
2218
- definitions: {
2219
- input: {
2220
- type: string;
2221
- properties: Record<string, unknown>;
2222
- required?: string[];
2223
- };
2224
- };
2225
- };
2226
- type CustomToolInputParameter = z$1.ZodType;
2227
- interface CustomToolRegistryItem {
2228
- options: CustomToolOptions<CustomToolInputParameter>;
2229
- schema: Tool;
2230
- }
2231
- interface ExecuteMetadata {
2232
- userId: string;
2233
- connectedAccountId?: string;
2234
- }
2235
2292
  /**
2236
2293
  * Session context injected into custom tool execute functions at runtime.
2237
2294
  * Provides identity context and methods to call other tools or proxy API requests.
@@ -2415,4 +2472,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
2415
2472
  /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
2416
2473
  type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
2417
2474
  //#endregion
2418
- export { ToolRouterSessionProxyExecuteFn as $, ConnectedAccountRetrieveResponse as $t, SandboxSizeSchema as A, ToolRouterSessionFilesMountDeleteOptions as At, ToolRouterConfigTools as B, ConnectedAccountAclConfig 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, ConnectedAccountAuthConfigSchema as Gt, ToolRouterCreateSessionConfig as H, ConnectedAccountAclConfigResponseSchema as Ht, ToolRouterAuthorizeFn as I, ToolRouterSessionFilesMountUploadOptions as It, ToolRouterSessionExecuteOptions as J, ConnectedAccountListResponse as Jt, ToolRouterManageConnectionsConfigSchema as K, ConnectedAccountListParams 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, ConnectedAccountRefreshOptionsSchema as Qt, ToolRouterConfigTags as R, ConnectionRequest as Rt, InlineCustomToolsWirePayload as S, UpdateConnectedAccountParamsSchema as Sn, ToolkitConnectionsDetailsSchema as St, RegisteredCustomToolkit as T, FileDeleteResponseSchema as Tt, ToolRouterCreateSessionConfigSchema as U, ConnectedAccountAclConfigSchema as Ut, ToolRouterConfigToolsSchema as V, ConnectedAccountAclConfigResponse as Vt, ToolRouterMCPServerConfig as W, ConnectedAccountAuthConfig as Wt, ToolRouterSessionExecuteResponseSchema as X, ConnectedAccountListResponseSchema as Xt, ToolRouterSessionExecuteResponse as Y, ConnectedAccountListResponseItem as Yt, ToolRouterSessionMetadata as Z, ConnectedAccountRefreshOptions as Zt, CustomToolkitResponse as _, CreateConnectedAccountResponseSchema as _n, ToolRouterUpdateSessionConfig as _t, CustomTool as a, ConnectedAccountType as an, ToolRouterSessionWarning as at, CustomToolsMapEntry as b, UpdateConnectedAccountAclParamsSchema as bn, ToolkitConnectionStateSchema as bt, CustomToolInputParameter as c, CreateConnectedAccountLinkOptions as cn, ToolRouterToolkitsDisabledConfigSchema as ct, CustomToolRegistryItem as d, CreateConnectedAccountLinkResponseSchema as dn, ToolRouterToolkitsOptions as dt, ConnectedAccountRetrieveResponseSchema as en, ToolRouterSessionProxyExecuteResponse as et, CustomToolResponse as f, CreateConnectedAccountOptions as fn, ToolRouterToolkitsOptionsSchema as ft, CustomToolkitDefinition as g, CreateConnectedAccountResponse as gn, ToolRouterToolsParamSchema as gt, CustomToolkit as h, CreateConnectedAccountParamsSchema as hn, ToolRouterToolsParam as ht, CreateCustomToolkitParams as i, ConnectedAccountStatuses as in, ToolRouterSessionUpdateFn as it, Session as j, ToolRouterSessionFilesMountDeleteOptionsSchema as jt, SandboxSize as k, RemoteFileDataSchema as kt, CustomToolOptions as l, CreateConnectedAccountLinkOptionsSchema as ln, ToolRouterToolkitsEnabledConfigSchema as lt, CustomToolWireDefinition as m, CreateConnectedAccountParams as mn, ToolRouterToolsFn as mt, CreateCustomToolParams as n, ConnectedAccountStatusEnum as nn, ToolRouterSessionSearchResponse as nt, CustomToolDefinition as o, ConnectedAccountTypeSchema as on, ToolRouterTagsEnableDisableSchema as ot, CustomToolSlugSchema as p, CreateConnectedAccountOptionsSchema as pn, ToolRouterToolkitsParamSchema as pt, ToolRouterSessionExecuteFn as q, ConnectedAccountListParamsSchema as qt, CreateCustomToolkitBaseSchema as r, ConnectedAccountStatusSchema as rn, ToolRouterSessionSearchResponseSchema as rt, CustomToolExecuteFn as s, ConnectedAccountTypes as sn, ToolRouterTagsParamSchema as st, CreateCustomToolBaseSchema as t, ConnectedAccountStatus as tn, ToolRouterSessionSearchFn as tt, CustomToolRegistry as u, CreateConnectedAccountLinkResponse as un, ToolRouterToolkitsFn as ut, CustomToolkitWireDefinition as v, DefaultCreateConnectedAccountParamsSchema as vn, ToolRouterUpdateSessionConfigSchema as vt, RegisteredCustomTool as w, FileDeleteResponse as wt, ExecuteMetadata as x, UpdateConnectedAccountParams as xn, ToolkitConnectionsDetails as xt, CustomToolsMap as y, UpdateConnectedAccountAclParams as yn, ToolkitConnectionState as yt, ToolRouterConfigTagsSchema as z, ConnectionRequestState as zt };
2475
+ export { ToolRouterSessionWarning as $, ConnectedAccountStatus as $t, ToolRouterAuthorizeFn as A, ToolRouterSessionFilesMountUploadOptions as At, ToolRouterManageConnectionsConfigSchema as B, ConnectedAccountExperimental as Bt, SandboxSize as C, RemoteFileDataSchema as Ct, SessionPreset as D, ToolRouterSessionFilesMountDownloadOptionsSchema as Dt, SessionExperimental as E, ToolRouterSessionFilesMountDownloadOptions as Et, ToolRouterConfigToolsSchema as F, ConnectedAccountAclConfigResponse as Ft, ToolRouterSessionMetadata as G, ConnectedAccountListParamsSchema as Gt, ToolRouterSessionExecuteOptions as H, ConnectedAccountExperimentalResponseSchema as Ht, ToolRouterCreateSessionConfig as I, ConnectedAccountAclConfigResponseSchema as It, ToolRouterSessionProxyExecuteResponse as J, ConnectedAccountListResponseSchema as Jt, ToolRouterSessionPreloadConfig as K, ConnectedAccountListResponse as Kt, ToolRouterCreateSessionConfigSchema as L, ConnectedAccountAclConfigSchema as Lt, ToolRouterConfigTags as M, ConnectionRequest as Mt, ToolRouterConfigTagsSchema as N, ConnectionRequestState as Nt, SessionProxyExecuteParams as O, ToolRouterSessionFilesMountListOptions as Ot, ToolRouterConfigTools as P, ConnectedAccountAclConfig as Pt, ToolRouterSessionUpdateFn as Q, ConnectedAccountRetrieveResponseSchema as Qt, ToolRouterMCPServerConfig as R, ConnectedAccountAuthConfig as Rt, MCPServerTypeSchema as S, RemoteFileData as St, Session as T, ToolRouterSessionFilesMountDeleteOptionsSchema as Tt, ToolRouterSessionExecuteResponse as U, ConnectedAccountExperimentalSchema as Ut, ToolRouterSessionExecuteFn as V, ConnectedAccountExperimentalResponse as Vt, ToolRouterSessionExecuteResponseSchema as W, ConnectedAccountListParams as Wt, ToolRouterSessionSearchResponse as X, ConnectedAccountRefreshOptionsSchema as Xt, ToolRouterSessionSearchFn as Y, ConnectedAccountRefreshOptions as Yt, ToolRouterSessionSearchResponseSchema as Z, ConnectedAccountRetrieveResponse as Zt, InlineCustomToolsWirePayload as _, UpdateConnectedAccountAclParams as _n, RemoteFile as _t, CustomTool as a, ConnectedAccountTypes as an, ToolRouterToolkitsOptions as at, SessionContext as b, UpdateConnectedAccountParamsSchema as bn, FileListResponse as bt, CustomToolResponse as c, CreateConnectedAccountLinkResponse as cn, ToolRouterToolsFn as ct, CustomToolkit as d, CreateConnectedAccountOptionsSchema as dn, ToolRouterUpdateSessionConfig as dt, ConnectedAccountStatusEnum as en, ToolRouterTagsEnableDisableSchema as et, CustomToolkitDefinition as f, CreateConnectedAccountParams as fn, ToolRouterUpdateSessionConfigSchema as ft, CustomToolsMapEntry as g, DefaultCreateConnectedAccountParamsSchema as gn, ToolkitConnectionsDetailsSchema as gt, CustomToolsMap as h, CreateConnectedAccountResponseSchema as hn, ToolkitConnectionsDetails as ht, CreateCustomToolkitParams as i, ConnectedAccountTypeSchema as in, ToolRouterToolkitsFn as it, ToolRouterConfigManageConnectionsSchema as j, ToolRouterSessionFilesMountUploadOptionsSchema as jt, SessionProxyExecuteParamsSchema as k, ToolRouterSessionFilesMountListOptionsSchema as kt, CustomToolSlugSchema as l, CreateConnectedAccountLinkResponseSchema as ln, ToolRouterToolsParam as lt, CustomToolkitWireDefinition as m, CreateConnectedAccountResponse as mn, ToolkitConnectionStateSchema as mt, CreateCustomToolParams as n, ConnectedAccountStatuses as nn, ToolRouterToolkitsDisabledConfigSchema as nt, CustomToolDefinition as o, CreateConnectedAccountLinkOptions as on, ToolRouterToolkitsOptionsSchema as ot, CustomToolkitResponse as p, CreateConnectedAccountParamsSchema as pn, ToolkitConnectionState as pt, ToolRouterSessionProxyExecuteFn as q, ConnectedAccountListResponseItem as qt, CreateCustomToolkitBaseSchema as r, ConnectedAccountType as rn, ToolRouterToolkitsEnabledConfigSchema as rt, CustomToolExecuteFn as s, CreateConnectedAccountLinkOptionsSchema as sn, ToolRouterToolkitsParamSchema as st, CreateCustomToolBaseSchema as t, ConnectedAccountStatusSchema as tn, ToolRouterTagsParamSchema as tt, CustomToolWireDefinition as u, CreateConnectedAccountOptions as un, ToolRouterToolsParamSchema as ut, RegisteredCustomTool as v, UpdateConnectedAccountAclParamsSchema as vn, FileDeleteResponse as vt, SandboxSizeSchema as w, ToolRouterSessionFilesMountDeleteOptions as wt, MCPServerType as x, FileListResponseSchema as xt, RegisteredCustomToolkit as y, UpdateConnectedAccountParams as yn, FileDeleteResponseSchema as yt, ToolRouterMCPServerConfigSchema as z, ConnectedAccountAuthConfigSchema as zt };