@composio/core 0.29.0 → 0.31.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 (80) hide show
  1. package/README.md +23 -0
  2. package/dist/{CustomTool-Bd1KdWvo.mjs → CustomTool-9Vlb4XaS.mjs} +4 -7
  3. package/dist/{CustomTool-CMW-d2ZN.d.mts → CustomTool-Ds5aLDth.d.mts} +2 -4
  4. package/dist/FileModifierErrors-WrqokuIF.mjs +199 -0
  5. package/dist/{FileToolModifier.utils.neutral-DWFpnsj2.mjs → FileToolModifier.utils.neutral-BQP85ZJj.mjs} +1 -2
  6. package/dist/{SsrfErrors-DiQldIdC.mjs → SsrfErrors-BSVMW915.mjs} +49 -26
  7. package/dist/{Telemetry-D2PJwXKx.mjs → Telemetry-a7SOQXcg.mjs} +6 -10
  8. package/dist/{composio-D5UV5HXN.d.mts → composio-Ba89XGHL.d.mts} +310 -222
  9. package/dist/{customTool.types-B9fs34dv.d.mts → customTool.types-DHxXBU6E.d.mts} +205 -268
  10. package/dist/docs/error-consistency.md +3 -3
  11. package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +9 -0
  12. package/dist/docs/reference/sdk-reference/typescript/composio.mdx +1 -0
  13. package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +6 -11
  14. package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +1 -1
  15. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -1
  16. package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +2 -2
  17. package/dist/docs/reference/sdk-reference/typescript/remote-file.mdx +1 -1
  18. package/dist/docs/reference/sdk-reference/typescript/tools.mdx +2 -2
  19. package/dist/{errors-BK6Xc7Ia.mjs → errors-xC13uvaA.mjs} +56 -139
  20. package/dist/experimental/index.d.mts +16 -2
  21. package/dist/experimental/index.mjs +1 -1
  22. package/dist/{fileUtils.node-ILI1IjnZ.mjs → fileUtils.node-CAwIbWYH.mjs} +6 -8
  23. package/dist/{files.types-DeMC_mAW.d.mts → files.types-Dg6HcEzs.d.mts} +0 -2
  24. package/dist/index.d.mts +37 -72
  25. package/dist/index.mjs +339 -254
  26. package/dist/{cancellation-BoJjs34Y.mjs → jsonSchema-Cc4EtHRw.mjs} +5 -22
  27. package/dist/models/Files.node.d.mts +32 -13
  28. package/dist/models/Files.node.mjs +36 -19
  29. package/dist/models/Files.workerd.d.mts +8 -3
  30. package/dist/models/Files.workerd.mjs +1 -2
  31. package/dist/platform/node.d.mts +2 -4
  32. package/dist/platform/node.mjs +15 -16
  33. package/dist/platform/workerd.d.mts +2 -4
  34. package/dist/platform/workerd.mjs +1 -2
  35. package/dist/requestOptions.types-DWrTcbss.d.mts +38 -0
  36. package/dist/rolldown-runtime-ad2WFvuA.mjs +17 -0
  37. package/dist/{sensitiveFileUploadPaths-BaEORC7-.mjs → sensitiveFileUploadPaths-CSyJ3Ku8.mjs} +22 -12
  38. package/dist/{ssrfGuard.node-BZ270bcu.mjs → ssrfGuard.node-CdIkwqVu.mjs} +3 -5
  39. package/dist/{types-CaP2SytR.d.mts → types-DcdZy5Nc.d.mts} +2 -4
  40. package/dist/{types-DuVZKrXO.d.mts → types-Ds6XbK1m.d.mts} +0 -2
  41. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +2 -4
  42. package/dist/utils/config-defaults/ConfigDefaults.node.mjs +1 -2
  43. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +2 -4
  44. package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +1 -2
  45. package/dist/utils/modifiers/FileToolModifier.node.d.mts +2 -4
  46. package/dist/utils/modifiers/FileToolModifier.node.mjs +7 -8
  47. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +2 -4
  48. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +2 -3
  49. package/dist/utils/ssrfGuard.node.d.mts +1 -3
  50. package/dist/utils/ssrfGuard.node.mjs +1 -1
  51. package/dist/utils/ssrfGuard.workerd.d.mts +1 -3
  52. package/dist/utils/ssrfGuard.workerd.mjs +2 -3
  53. package/docs/error-consistency.md +3 -3
  54. package/package.json +12 -13
  55. package/src/composio.ts +12 -0
  56. package/src/errors/ComposioError.ts +40 -16
  57. package/src/errors/ConnectedAccountsErrors.ts +2 -2
  58. package/src/errors/ToolErrors.ts +107 -30
  59. package/src/errors/apiErrorDetails.ts +40 -0
  60. package/src/models/AuthConfigs.ts +9 -0
  61. package/src/models/ConnectionRequest.ts +12 -4
  62. package/src/models/CustomToolkits.ts +11 -17
  63. package/src/models/Experimental.ts +2 -7
  64. package/src/models/Files.node.ts +68 -37
  65. package/src/models/MCP.ts +2 -2
  66. package/src/models/RemoteFile.ts +22 -16
  67. package/src/models/SessionContext.ts +6 -7
  68. package/src/models/ToolRouterSession.ts +16 -23
  69. package/src/models/Tools.ts +220 -22
  70. package/src/models/Triggers.ts +8 -2
  71. package/src/types/authConfigs.types.ts +14 -0
  72. package/src/types/customToolkits.types.ts +4 -9
  73. package/src/types/tool.types.ts +1 -1
  74. package/src/types/toolkit.types.ts +21 -0
  75. package/src/utils/cancellation.ts +5 -1
  76. package/src/utils/transformers/authConfigs.ts +6 -2
  77. package/src/utils/transformers/toolkits.ts +7 -0
  78. package/dist/FileModifierErrors-CdGSABoq.mjs +0 -97
  79. package/dist/rolldown-runtime-w6R9maHv.mjs +0 -18
  80. package/src/models/inlineCustomToolsPayload.ts +0 -17
@@ -1,10 +1,10 @@
1
+ import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
1
2
  import { Composio } from "@composio/client";
2
3
  import z, { z as z$1 } from "zod/v3";
3
4
  import { z as z$2 } from "zod/v4";
4
- import { CustomCreateResponse, GenerateURLResponse, McpCreateResponse } from "@composio/client/resources/mcp";
5
+ import { CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1, McpCreateResponse } from "@composio/client/resources/mcp";
5
6
  import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
6
7
  import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse, SessionExecuteMetaParams, SessionExecuteParams } from "@composio/client/resources/tool-router/session";
7
- //#region src/types/tool.types.d.ts
8
8
  /**
9
9
  * Toolkit is the collection of tools,
10
10
  * A toolkit can be thought of as an app which provides a set of tools/actions/triggers.
@@ -6576,7 +6576,7 @@ type ToolRetrievalOptions = {
6576
6576
  *
6577
6577
  * @example Override with specific version
6578
6578
  * ```typescript
6579
- * const tool = await tools.getRawComposioToolBySlug('GITHUB_CREATE_ISSUE', {
6579
+ * const tool = await tools.getRawComposioToolBySlug('GITHUB_CREATE_AN_ISSUE', {
6580
6580
  * version: '20250909_00'
6581
6581
  * });
6582
6582
  * ```
@@ -6584,8 +6584,6 @@ type ToolRetrievalOptions = {
6584
6584
  */
6585
6585
  version?: ToolkitVersion;
6586
6586
  };
6587
- //#endregion
6588
- //#region src/types/modifiers.types.d.ts
6589
6587
  /**
6590
6588
  * Modifier for altering the tool execute parameters before execution.
6591
6589
  *
@@ -7227,8 +7225,6 @@ type SessionMetaToolOptions = ToolOptions & SessionExecuteMetaModifiers;
7227
7225
  * ```
7228
7226
  */
7229
7227
  type ProviderOptions<TProvider> = TProvider extends BaseComposioProvider<infer TToolCollection, infer TTool, infer TMcpResponse> ? TProvider extends BaseAgenticProvider<TToolCollection, TTool, TMcpResponse> ? AgenticToolOptions : ToolOptions : never;
7230
- //#endregion
7231
- //#region src/types/connectedAccountAuthStates.types.d.ts
7232
7228
  declare const ConnectionStatuses: {
7233
7229
  readonly INITIALIZING: "INITIALIZING";
7234
7230
  readonly INITIATED: "INITIATED";
@@ -28569,8 +28565,6 @@ declare const CustomConnectionDataSchema: z$1.ZodDiscriminatedUnion<"authScheme"
28569
28565
  };
28570
28566
  }>]>;
28571
28567
  type CustomConnectionData = z$1.infer<typeof CustomConnectionDataSchema>;
28572
- //#endregion
28573
- //#region src/types/provider.types.d.ts
28574
28568
  /**
28575
28569
  * Base provider implementation, which needs to be implemented by the extended class.
28576
28570
  * This class is used to create a base provider by implementing this class.
@@ -28600,8 +28594,6 @@ type ToolCallExecutionTarget = string | ToolCallSession;
28600
28594
  */
28601
28595
  type ExecuteToolFn = (toolSlug: string, input: Record<string, unknown>) => Promise<ToolExecuteResponse>;
28602
28596
  type GlobalExecuteToolFn = (slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers) => Promise<ToolExecuteResponse>;
28603
- //#endregion
28604
- //#region src/types/mcp.types.d.ts
28605
28597
  /**
28606
28598
  * @deprecated
28607
28599
  */
@@ -28682,13 +28674,13 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
28682
28674
  connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28683
28675
  isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
28684
28676
  }, "strip", z$1.ZodTypeAny, {
28685
- isChatAuth?: boolean | undefined;
28686
- connectedAccountIds?: string[] | undefined;
28687
28677
  userIds?: string[] | undefined;
28688
- }, {
28689
- isChatAuth?: boolean | undefined;
28690
28678
  connectedAccountIds?: string[] | undefined;
28679
+ isChatAuth?: boolean | undefined;
28680
+ }, {
28691
28681
  userIds?: string[] | undefined;
28682
+ connectedAccountIds?: string[] | undefined;
28683
+ isChatAuth?: boolean | undefined;
28692
28684
  }>;
28693
28685
  type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
28694
28686
  declare const ComposioGenerateURLParamsSchema: z$1.ZodObject<{
@@ -28714,14 +28706,14 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
28714
28706
  composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
28715
28707
  }, "strip", z$1.ZodTypeAny, {
28716
28708
  mcpServerId: string;
28717
- connectedAccountIds?: string[] | undefined;
28718
28709
  userIds?: string[] | undefined;
28719
28710
  composioManagedAuth?: boolean | undefined;
28711
+ connectedAccountIds?: string[] | undefined;
28720
28712
  }, {
28721
28713
  mcpServerId: string;
28722
- connectedAccountIds?: string[] | undefined;
28723
28714
  userIds?: string[] | undefined;
28724
28715
  composioManagedAuth?: boolean | undefined;
28716
+ connectedAccountIds?: string[] | undefined;
28725
28717
  }>;
28726
28718
  type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
28727
28719
  declare const GenerateURLResponseSchema: z$1.ZodObject<{
@@ -29049,7 +29041,7 @@ type MCPServerCreateResponse = z$1.infer<typeof MCPServerCreateResponseSchema>;
29049
29041
  * MCP Create Method Response Type
29050
29042
  * Extends the API response with a getServer method for retrieving server instances
29051
29043
  */
29052
- type MCPCreateMethodResponse<T = GenerateURLResponse> = (McpCreateResponse | CustomCreateResponse) & {
29044
+ type MCPCreateMethodResponse<T = GenerateURLResponse$1> = (McpCreateResponse | CustomCreateResponse$1) & {
29053
29045
  toolkits: string[];
29054
29046
  getServer: (params: MCPGetServerParams) => Promise<T>;
29055
29047
  };
@@ -29071,7 +29063,7 @@ type McpUrlResponse = {
29071
29063
  name: string;
29072
29064
  url: string;
29073
29065
  }[];
29074
- type McpServerCreateResponse<T> = (McpCreateResponse | CustomCreateResponse) & {
29066
+ type McpServerCreateResponse<T> = (McpCreateResponse | CustomCreateResponse$1) & {
29075
29067
  toolkits: string[];
29076
29068
  getServer: (params: MCPGetServerParams) => Promise<T>;
29077
29069
  };
@@ -29117,7 +29109,7 @@ declare const CustomCreateResponseSchema: z$1.ZodObject<{
29117
29109
  createdAt?: string | null | undefined;
29118
29110
  updatedAt?: string | null | undefined;
29119
29111
  }>;
29120
- type CustomCreateResponse$1 = z$1.infer<typeof CustomCreateResponseSchema>;
29112
+ type CustomCreateResponse = z$1.infer<typeof CustomCreateResponseSchema>;
29121
29113
  declare const ComposioCustomCreateResponseSchema: z$1.ZodObject<{
29122
29114
  id: z$1.ZodString;
29123
29115
  name: z$1.ZodString;
@@ -29228,21 +29220,21 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29228
29220
  cursor: z$1.ZodString;
29229
29221
  windsurf: z$1.ZodString;
29230
29222
  }, "strip", z$1.ZodTypeAny, {
29231
- claude: string;
29232
29223
  cursor: string;
29224
+ claude: string;
29233
29225
  windsurf: string;
29234
29226
  }, {
29235
- claude: string;
29236
29227
  cursor: string;
29228
+ claude: string;
29237
29229
  windsurf: string;
29238
29230
  }>;
29239
29231
  }, "strip", z$1.ZodTypeAny, {
29240
29232
  name: string;
29241
- mcpUrl: string;
29242
29233
  id: string;
29234
+ mcpUrl: string;
29243
29235
  commands: {
29244
- claude: string;
29245
29236
  cursor: string;
29237
+ claude: string;
29246
29238
  windsurf: string;
29247
29239
  };
29248
29240
  status?: string | undefined;
@@ -29254,11 +29246,11 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29254
29246
  managedAuthViaComposio?: boolean | undefined;
29255
29247
  }, {
29256
29248
  name: string;
29257
- mcpUrl: string;
29258
29249
  id: string;
29250
+ mcpUrl: string;
29259
29251
  commands: {
29260
- claude: string;
29261
29252
  cursor: string;
29253
+ claude: string;
29262
29254
  windsurf: string;
29263
29255
  };
29264
29256
  status?: string | undefined;
@@ -29377,9 +29369,7 @@ type McpListResponse = z$1.infer<typeof McpListResponseSchema>;
29377
29369
  type McpRetrieveResponse = z$1.infer<typeof McpRetrieveResponseSchema>;
29378
29370
  type McpDeleteResponse = z$1.infer<typeof McpDeleteResponseSchema>;
29379
29371
  type McpUpdateResponse = z$1.infer<typeof McpUpdateResponseSchema>;
29380
- type GenerateURLResponse$1 = z$1.infer<typeof GenerateURLResponseSchema>;
29381
- //#endregion
29382
- //#region src/provider/BaseProvider.d.ts
29372
+ type GenerateURLResponse = z$1.infer<typeof GenerateURLResponseSchema>;
29383
29373
  /**
29384
29374
  * @internal
29385
29375
  * Base class for all providers.
@@ -29489,8 +29479,6 @@ declare abstract class BaseAgenticProvider<TToolCollection, TTool, TMcpResponse>
29489
29479
  * This type is used to infer the type of the provider from the provider implementation.
29490
29480
  */
29491
29481
  type BaseComposioProvider<TToolCollection, TTool, TMcpResponse = McpServerGetResponse> = BaseNonAgenticProvider<TToolCollection, TTool, TMcpResponse> | BaseAgenticProvider<TToolCollection, TTool, TMcpResponse>;
29492
- //#endregion
29493
- //#region src/types/connectedAccounts.types.d.ts
29494
29482
  /**
29495
29483
  * Connected Account create parameters
29496
29484
  */
@@ -29767,21 +29755,21 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
29767
29755
  }, "strip", z$1.ZodTypeAny, {
29768
29756
  limit?: number | null | undefined;
29769
29757
  authConfigIds?: string[] | null | undefined;
29770
- userIds?: string[] | null | undefined;
29771
29758
  cursor?: string | null | undefined;
29772
29759
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
29773
29760
  orderBy?: "created_at" | "updated_at" | undefined;
29774
29761
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
29775
29762
  toolkitSlugs?: string[] | null | undefined;
29763
+ userIds?: string[] | null | undefined;
29776
29764
  }, {
29777
29765
  limit?: number | null | undefined;
29778
29766
  authConfigIds?: string[] | null | undefined;
29779
- userIds?: string[] | null | undefined;
29780
29767
  cursor?: string | null | undefined;
29781
29768
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
29782
29769
  orderBy?: "created_at" | "updated_at" | undefined;
29783
29770
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
29784
29771
  toolkitSlugs?: string[] | null | undefined;
29772
+ userIds?: string[] | null | undefined;
29785
29773
  }>;
29786
29774
  type ConnectedAccountListParams = z$1.infer<typeof ConnectedAccountListParamsSchema>;
29787
29775
  declare const ConnectedAccountListResponseSchema: z$1.ZodObject<{
@@ -29947,6 +29935,8 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
29947
29935
  }>>;
29948
29936
  }, "strip", z$1.ZodTypeAny, {
29949
29937
  callbackUrl?: string | undefined;
29938
+ alias?: string | undefined;
29939
+ allowMultiple?: boolean | undefined;
29950
29940
  experimental?: {
29951
29941
  accountType?: "PRIVATE" | "SHARED" | undefined;
29952
29942
  aclConfigForShared?: {
@@ -29955,10 +29945,10 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
29955
29945
  notAllowedUserIds?: string[] | undefined;
29956
29946
  } | undefined;
29957
29947
  } | undefined;
29958
- alias?: string | undefined;
29959
- allowMultiple?: boolean | undefined;
29960
29948
  }, {
29961
29949
  callbackUrl?: string | undefined;
29950
+ alias?: string | undefined;
29951
+ allowMultiple?: boolean | undefined;
29962
29952
  experimental?: {
29963
29953
  accountType?: "PRIVATE" | "SHARED" | undefined;
29964
29954
  aclConfigForShared?: {
@@ -29967,8 +29957,6 @@ declare const CreateConnectedAccountLinkOptionsSchema: z$1.ZodObject<{
29967
29957
  notAllowedUserIds?: string[] | undefined;
29968
29958
  } | undefined;
29969
29959
  } | undefined;
29970
- alias?: string | undefined;
29971
- allowMultiple?: boolean | undefined;
29972
29960
  }>;
29973
29961
  type CreateConnectedAccountLinkOptions = z$1.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
29974
29962
  declare const CreateConnectedAccountLinkResponseSchema: z$1.ZodObject<{
@@ -30103,8 +30091,6 @@ declare const ConnectedAccountCompleteAuthResponseSchema: z$1.ZodObject<{
30103
30091
  toolkitSlug: string;
30104
30092
  }>;
30105
30093
  type ConnectedAccountCompleteAuthResponse = z$1.infer<typeof ConnectedAccountCompleteAuthResponseSchema>;
30106
- //#endregion
30107
- //#region src/types/connectionRequest.types.d.ts
30108
30094
  interface ConnectionRequestState {
30109
30095
  id: string;
30110
30096
  status?: ConnectedAccountStatus;
@@ -30115,47 +30101,6 @@ interface ConnectionRequest extends ConnectionRequestState {
30115
30101
  toJSON: () => ConnectionRequestState;
30116
30102
  toString: () => string;
30117
30103
  }
30118
- //#endregion
30119
- //#region src/types/requestOptions.types.d.ts
30120
- /**
30121
- * Per-request transport options for cancelling an SDK call.
30122
- *
30123
- * For `tools.get` and `tools.execute`, pass `signal` directly in the
30124
- * options bag (3rd argument) alongside any modifiers or provider options.
30125
- * For other methods (e.g. `toolkits.get`, `authConfigs.list`), pass as a
30126
- * trailing argument. Forwarded to the underlying `@composio/client` request.
30127
- *
30128
- * If the underlying request is aborted via this signal, the SDK throws a
30129
- * {@link ComposioRequestCancelledError} so callers can `instanceof`-detect
30130
- * cancellation without unwrapping nested causes.
30131
- *
30132
- * @example Timeout after 5 seconds
30133
- * ```typescript
30134
- * await composio.tools.execute(
30135
- * 'HACKERNEWS_GET_FRONTPAGE',
30136
- * { userId: 'default', arguments: {} },
30137
- * { signal: AbortSignal.timeout(5_000) }
30138
- * );
30139
- * ```
30140
- *
30141
- * @example Combine signal with modifiers
30142
- * ```typescript
30143
- * await composio.tools.execute('TOOL', body, {
30144
- * signal: AbortSignal.timeout(10_000),
30145
- * beforeExecute: ({ params }) => params,
30146
- * });
30147
- * ```
30148
- */
30149
- type ComposioRequestOptions = {
30150
- /**
30151
- * An `AbortSignal` used to cancel the in-flight HTTP request. When the
30152
- * signal aborts, the underlying fetch is aborted and the SDK throws a
30153
- * {@link ComposioRequestCancelledError} (subclass of {@link ComposioError}).
30154
- */
30155
- signal?: AbortSignal;
30156
- };
30157
- //#endregion
30158
- //#region src/types/ToolRouterSessionFilesMount.types.d.ts
30159
30104
  declare const ToolRouterSessionFilesMountListOptionsSchema: z.ZodObject<{
30160
30105
  path: z.ZodOptional<z.ZodString>;
30161
30106
  mountId: z.ZodDefault<z.ZodString>;
@@ -30304,8 +30249,6 @@ declare const FileDeleteResponseSchema: z.ZodEffects<z.ZodObject<{
30304
30249
  sandbox_mount_prefix: string;
30305
30250
  }>;
30306
30251
  type FileDeleteResponse = z.infer<typeof FileDeleteResponseSchema>;
30307
- //#endregion
30308
- //#region src/models/RemoteFile.d.ts
30309
30252
  /**
30310
30253
  * Represents a file stored in a tool router session's file mount.
30311
30254
  * Provides methods to fetch, save, and work with the file content.
@@ -30386,7 +30329,8 @@ declare class RemoteFile {
30386
30329
  * Downloads and saves the file to the local filesystem.
30387
30330
  * Requires a Node.js runtime with file system support (not available in Cloudflare Workers/Edge).
30388
30331
  *
30389
- * @param path - Local path to save the file. If omitted, saves to the Composio temp directory using the filename from the mount path.
30332
+ * @param path - Local path to save the file. An explicit path does not require a home directory.
30333
+ * If omitted, saves to the Composio temp directory using the filename from the mount path.
30390
30334
  * An existing default destination gets a copy number before its extension.
30391
30335
  * @returns The absolute path where the file was saved
30392
30336
  * @throws Error if file system is not supported or the save fails
@@ -30394,8 +30338,6 @@ declare class RemoteFile {
30394
30338
  */
30395
30339
  save(path?: string): Promise<string>;
30396
30340
  }
30397
- //#endregion
30398
- //#region src/models/ToolRouterSessionFileMount.d.ts
30399
30341
  /**
30400
30342
  * File mount for a Composio session, reached via `session.experimental.files`
30401
30343
  * on a session created with `composio.sessions.create(...)`. Upload, list,
@@ -30523,8 +30465,6 @@ declare class ToolRouterSessionFilesMount {
30523
30465
  */
30524
30466
  delete(remotePath: string, options?: ToolRouterSessionFilesMountDeleteOptions): Promise<FileDeleteResponse>;
30525
30467
  }
30526
- //#endregion
30527
- //#region src/types/toolRouter.types.d.ts
30528
30468
  declare const SessionPreset: {
30529
30469
  readonly DIRECT_TOOLS: "direct_tools";
30530
30470
  };
@@ -30567,12 +30507,12 @@ declare const ToolRouterConfigManageConnectionsSchema: z.ZodObject<{
30567
30507
  callbackUrl: z.ZodOptional<z.ZodString>;
30568
30508
  waitForConnections: z.ZodOptional<z.ZodBoolean>;
30569
30509
  }, "strict", z.ZodTypeAny, {
30570
- enable?: boolean | undefined;
30571
30510
  callbackUrl?: string | undefined;
30511
+ enable?: boolean | undefined;
30572
30512
  waitForConnections?: boolean | undefined;
30573
30513
  }, {
30574
- enable?: boolean | undefined;
30575
30514
  callbackUrl?: string | undefined;
30515
+ enable?: boolean | undefined;
30576
30516
  waitForConnections?: boolean | undefined;
30577
30517
  }>;
30578
30518
  declare const ToolRouterToolkitsParamSchema: z.ZodArray<z.ZodString, "many">;
@@ -30665,8 +30605,8 @@ declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
30665
30605
  enable: boolean;
30666
30606
  callbackUrl?: string | undefined;
30667
30607
  }, {
30668
- enable?: boolean | undefined;
30669
30608
  callbackUrl?: string | undefined;
30609
+ enable?: boolean | undefined;
30670
30610
  }>;
30671
30611
  declare const ToolRouterTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
30672
30612
  declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
@@ -30678,12 +30618,12 @@ declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
30678
30618
  */
30679
30619
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30680
30620
  }, "strict", z.ZodTypeAny, {
30681
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30682
30621
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30622
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30683
30623
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30684
30624
  }, {
30685
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30686
30625
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30626
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30687
30627
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30688
30628
  }>;
30689
30629
  declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
@@ -30695,12 +30635,12 @@ declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["rea
30695
30635
  */
30696
30636
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30697
30637
  }, "strict", z.ZodTypeAny, {
30698
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30699
30638
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30639
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30700
30640
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30701
30641
  }, {
30702
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30703
30642
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30643
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30704
30644
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30705
30645
  }>]>;
30706
30646
  type ToolRouterConfigTags = z.infer<typeof ToolRouterConfigTagsSchema>;
@@ -30756,26 +30696,26 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
30756
30696
  */
30757
30697
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30758
30698
  }, "strict", z.ZodTypeAny, {
30759
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30760
30699
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30700
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30761
30701
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30762
30702
  }, {
30763
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30764
30703
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30704
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30765
30705
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30766
30706
  }>]>;
30767
30707
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30768
30708
  }, "strict", z.ZodTypeAny, {
30769
30709
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30770
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30771
30710
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30711
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30772
30712
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30773
30713
  };
30774
30714
  requireApproval?: string[] | undefined;
30775
30715
  }, {
30776
30716
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30777
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30778
30717
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30718
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30779
30719
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30780
30720
  };
30781
30721
  requireApproval?: string[] | undefined;
@@ -30793,8 +30733,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
30793
30733
  requireApproval?: string[] | undefined;
30794
30734
  } | {
30795
30735
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30796
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30797
30736
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30737
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30798
30738
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30799
30739
  };
30800
30740
  requireApproval?: string[] | undefined;
@@ -30808,8 +30748,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
30808
30748
  requireApproval?: string[] | undefined;
30809
30749
  } | {
30810
30750
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30811
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30812
30751
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30752
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30813
30753
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30814
30754
  };
30815
30755
  requireApproval?: string[] | undefined;
@@ -31028,26 +30968,26 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31028
30968
  */
31029
30969
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
31030
30970
  }, "strict", z.ZodTypeAny, {
31031
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31032
30971
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30972
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31033
30973
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31034
30974
  }, {
31035
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31036
30975
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30976
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31037
30977
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31038
30978
  }>]>;
31039
30979
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31040
30980
  }, "strict", z.ZodTypeAny, {
31041
30981
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31042
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31043
30982
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30983
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31044
30984
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31045
30985
  };
31046
30986
  requireApproval?: string[] | undefined;
31047
30987
  }, {
31048
30988
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31049
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31050
30989
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30990
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31051
30991
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31052
30992
  };
31053
30993
  requireApproval?: string[] | undefined;
@@ -31065,8 +31005,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31065
31005
  requireApproval?: string[] | undefined;
31066
31006
  } | {
31067
31007
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31068
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31069
31008
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31009
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31070
31010
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31071
31011
  };
31072
31012
  requireApproval?: string[] | undefined;
@@ -31080,8 +31020,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31080
31020
  requireApproval?: string[] | undefined;
31081
31021
  } | {
31082
31022
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31083
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31084
31023
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31024
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31085
31025
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31086
31026
  };
31087
31027
  requireApproval?: string[] | undefined;
@@ -31097,12 +31037,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31097
31037
  */
31098
31038
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
31099
31039
  }, "strict", z.ZodTypeAny, {
31100
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31101
31040
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31041
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31102
31042
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31103
31043
  }, {
31104
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31105
31044
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31045
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31106
31046
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31107
31047
  }>]>>>;
31108
31048
  toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
@@ -31205,12 +31145,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31205
31145
  callbackUrl: z.ZodOptional<z.ZodString>;
31206
31146
  waitForConnections: z.ZodOptional<z.ZodBoolean>;
31207
31147
  }, "strict", z.ZodTypeAny, {
31208
- enable?: boolean | undefined;
31209
31148
  callbackUrl?: string | undefined;
31149
+ enable?: boolean | undefined;
31210
31150
  waitForConnections?: boolean | undefined;
31211
31151
  }, {
31212
- enable?: boolean | undefined;
31213
31152
  callbackUrl?: string | undefined;
31153
+ enable?: boolean | undefined;
31214
31154
  waitForConnections?: boolean | undefined;
31215
31155
  }>]>>>>;
31216
31156
  sandbox: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -31429,8 +31369,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31429
31369
  }>>>;
31430
31370
  }, "strip", z.ZodTypeAny, {
31431
31371
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31432
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31433
31372
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31373
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31434
31374
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31435
31375
  } | undefined;
31436
31376
  tools?: Record<string, string[] | {
@@ -31441,8 +31381,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31441
31381
  requireApproval?: string[] | undefined;
31442
31382
  } | {
31443
31383
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31444
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31445
31384
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31385
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31446
31386
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31447
31387
  };
31448
31388
  requireApproval?: string[] | undefined;
@@ -31461,6 +31401,17 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31461
31401
  preload?: {
31462
31402
  tools?: string[] | "all" | undefined;
31463
31403
  } | undefined;
31404
+ experimental?: {
31405
+ assistivePrompt?: {
31406
+ userTimezone?: string | undefined;
31407
+ } | undefined;
31408
+ localTools?: LocalTool[] | undefined;
31409
+ localToolkits?: LocalToolkit[] | undefined;
31410
+ customTools?: LocalTool[] | undefined;
31411
+ customToolkits?: LocalToolkit[] | undefined;
31412
+ sessionConfigId?: string | undefined;
31413
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31414
+ } | undefined;
31464
31415
  sessionPreset?: "direct_tools" | undefined;
31465
31416
  mcp?: boolean | undefined;
31466
31417
  instant?: false | {
@@ -31480,8 +31431,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31480
31431
  authConfigs?: Record<string, string> | undefined;
31481
31432
  connectedAccounts?: Record<string, string | string[]> | undefined;
31482
31433
  manageConnections?: boolean | {
31483
- enable?: boolean | undefined;
31484
31434
  callbackUrl?: string | undefined;
31435
+ enable?: boolean | undefined;
31485
31436
  waitForConnections?: boolean | undefined;
31486
31437
  } | undefined;
31487
31438
  sandbox?: {
@@ -31532,21 +31483,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31532
31483
  };
31533
31484
  name?: string | undefined;
31534
31485
  })[] | undefined;
31535
- experimental?: {
31536
- assistivePrompt?: {
31537
- userTimezone?: string | undefined;
31538
- } | undefined;
31539
- localTools?: LocalTool[] | undefined;
31540
- localToolkits?: LocalToolkit[] | undefined;
31541
- customTools?: LocalTool[] | undefined;
31542
- customToolkits?: LocalToolkit[] | undefined;
31543
- sessionConfigId?: string | undefined;
31544
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
31545
- } | undefined;
31546
31486
  }, {
31547
31487
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31548
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31549
31488
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31489
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31550
31490
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31551
31491
  } | undefined;
31552
31492
  tools?: Record<string, string[] | {
@@ -31557,8 +31497,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31557
31497
  requireApproval?: string[] | undefined;
31558
31498
  } | {
31559
31499
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31560
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31561
31500
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31501
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31562
31502
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31563
31503
  };
31564
31504
  requireApproval?: string[] | undefined;
@@ -31577,6 +31517,17 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31577
31517
  preload?: {
31578
31518
  tools?: string[] | "all" | undefined;
31579
31519
  } | undefined;
31520
+ experimental?: {
31521
+ assistivePrompt?: {
31522
+ userTimezone?: string | undefined;
31523
+ } | undefined;
31524
+ localTools?: LocalTool[] | undefined;
31525
+ localToolkits?: LocalToolkit[] | undefined;
31526
+ customTools?: LocalTool[] | undefined;
31527
+ customToolkits?: LocalToolkit[] | undefined;
31528
+ sessionConfigId?: string | undefined;
31529
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31530
+ } | undefined;
31580
31531
  sessionPreset?: "direct_tools" | undefined;
31581
31532
  mcp?: boolean | undefined;
31582
31533
  instant?: false | {
@@ -31596,8 +31547,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31596
31547
  authConfigs?: Record<string, string> | undefined;
31597
31548
  connectedAccounts?: Record<string, string | string[]> | undefined;
31598
31549
  manageConnections?: boolean | {
31599
- enable?: boolean | undefined;
31600
31550
  callbackUrl?: string | undefined;
31551
+ enable?: boolean | undefined;
31601
31552
  waitForConnections?: boolean | undefined;
31602
31553
  } | undefined;
31603
31554
  sandbox?: {
@@ -31648,21 +31599,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31648
31599
  };
31649
31600
  name?: string | undefined;
31650
31601
  })[] | undefined;
31651
- experimental?: {
31652
- assistivePrompt?: {
31653
- userTimezone?: string | undefined;
31654
- } | undefined;
31655
- localTools?: LocalTool[] | undefined;
31656
- localToolkits?: LocalToolkit[] | undefined;
31657
- customTools?: LocalTool[] | undefined;
31658
- customToolkits?: LocalToolkit[] | undefined;
31659
- sessionConfigId?: string | undefined;
31660
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
31661
- } | undefined;
31662
31602
  }>, {
31663
31603
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31664
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31665
31604
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31605
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31666
31606
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31667
31607
  } | undefined;
31668
31608
  tools?: Record<string, string[] | {
@@ -31673,8 +31613,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31673
31613
  requireApproval?: string[] | undefined;
31674
31614
  } | {
31675
31615
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31676
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31677
31616
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31617
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31678
31618
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31679
31619
  };
31680
31620
  requireApproval?: string[] | undefined;
@@ -31693,6 +31633,17 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31693
31633
  preload?: {
31694
31634
  tools?: string[] | "all" | undefined;
31695
31635
  } | undefined;
31636
+ experimental?: {
31637
+ assistivePrompt?: {
31638
+ userTimezone?: string | undefined;
31639
+ } | undefined;
31640
+ localTools?: LocalTool[] | undefined;
31641
+ localToolkits?: LocalToolkit[] | undefined;
31642
+ customTools?: LocalTool[] | undefined;
31643
+ customToolkits?: LocalToolkit[] | undefined;
31644
+ sessionConfigId?: string | undefined;
31645
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31646
+ } | undefined;
31696
31647
  sessionPreset?: "direct_tools" | undefined;
31697
31648
  mcp?: boolean | undefined;
31698
31649
  instant?: false | {
@@ -31712,8 +31663,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31712
31663
  authConfigs?: Record<string, string> | undefined;
31713
31664
  connectedAccounts?: Record<string, string | string[]> | undefined;
31714
31665
  manageConnections?: boolean | {
31715
- enable?: boolean | undefined;
31716
31666
  callbackUrl?: string | undefined;
31667
+ enable?: boolean | undefined;
31717
31668
  waitForConnections?: boolean | undefined;
31718
31669
  } | undefined;
31719
31670
  sandbox?: {
@@ -31764,21 +31715,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31764
31715
  };
31765
31716
  name?: string | undefined;
31766
31717
  })[] | undefined;
31767
- experimental?: {
31768
- assistivePrompt?: {
31769
- userTimezone?: string | undefined;
31770
- } | undefined;
31771
- localTools?: LocalTool[] | undefined;
31772
- localToolkits?: LocalToolkit[] | undefined;
31773
- customTools?: LocalTool[] | undefined;
31774
- customToolkits?: LocalToolkit[] | undefined;
31775
- sessionConfigId?: string | undefined;
31776
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
31777
- } | undefined;
31778
31718
  }, {
31779
31719
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31780
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31781
31720
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31721
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31782
31722
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31783
31723
  } | undefined;
31784
31724
  tools?: Record<string, string[] | {
@@ -31789,8 +31729,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31789
31729
  requireApproval?: string[] | undefined;
31790
31730
  } | {
31791
31731
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31792
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31793
31732
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31733
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31794
31734
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31795
31735
  };
31796
31736
  requireApproval?: string[] | undefined;
@@ -31809,6 +31749,17 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31809
31749
  preload?: {
31810
31750
  tools?: string[] | "all" | undefined;
31811
31751
  } | undefined;
31752
+ experimental?: {
31753
+ assistivePrompt?: {
31754
+ userTimezone?: string | undefined;
31755
+ } | undefined;
31756
+ localTools?: LocalTool[] | undefined;
31757
+ localToolkits?: LocalToolkit[] | undefined;
31758
+ customTools?: LocalTool[] | undefined;
31759
+ customToolkits?: LocalToolkit[] | undefined;
31760
+ sessionConfigId?: string | undefined;
31761
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31762
+ } | undefined;
31812
31763
  sessionPreset?: "direct_tools" | undefined;
31813
31764
  mcp?: boolean | undefined;
31814
31765
  instant?: false | {
@@ -31828,8 +31779,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31828
31779
  authConfigs?: Record<string, string> | undefined;
31829
31780
  connectedAccounts?: Record<string, string | string[]> | undefined;
31830
31781
  manageConnections?: boolean | {
31831
- enable?: boolean | undefined;
31832
31782
  callbackUrl?: string | undefined;
31783
+ enable?: boolean | undefined;
31833
31784
  waitForConnections?: boolean | undefined;
31834
31785
  } | undefined;
31835
31786
  sandbox?: {
@@ -31880,21 +31831,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31880
31831
  };
31881
31832
  name?: string | undefined;
31882
31833
  })[] | undefined;
31883
- experimental?: {
31884
- assistivePrompt?: {
31885
- userTimezone?: string | undefined;
31886
- } | undefined;
31887
- localTools?: LocalTool[] | undefined;
31888
- localToolkits?: LocalToolkit[] | undefined;
31889
- customTools?: LocalTool[] | undefined;
31890
- customToolkits?: LocalToolkit[] | undefined;
31891
- sessionConfigId?: string | undefined;
31892
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
31893
- } | undefined;
31894
31834
  }>, {
31895
31835
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31896
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31897
31836
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31837
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31898
31838
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31899
31839
  } | undefined;
31900
31840
  tools?: Record<string, string[] | {
@@ -31905,8 +31845,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31905
31845
  requireApproval?: string[] | undefined;
31906
31846
  } | {
31907
31847
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31908
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31909
31848
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31849
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31910
31850
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31911
31851
  };
31912
31852
  requireApproval?: string[] | undefined;
@@ -31925,6 +31865,17 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31925
31865
  preload?: {
31926
31866
  tools?: string[] | "all" | undefined;
31927
31867
  } | undefined;
31868
+ experimental?: {
31869
+ assistivePrompt?: {
31870
+ userTimezone?: string | undefined;
31871
+ } | undefined;
31872
+ localTools?: LocalTool[] | undefined;
31873
+ localToolkits?: LocalToolkit[] | undefined;
31874
+ customTools?: LocalTool[] | undefined;
31875
+ customToolkits?: LocalToolkit[] | undefined;
31876
+ sessionConfigId?: string | undefined;
31877
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31878
+ } | undefined;
31928
31879
  sessionPreset?: "direct_tools" | undefined;
31929
31880
  mcp?: boolean | undefined;
31930
31881
  instant?: false | {
@@ -31944,8 +31895,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31944
31895
  authConfigs?: Record<string, string> | undefined;
31945
31896
  connectedAccounts?: Record<string, string | string[]> | undefined;
31946
31897
  manageConnections?: boolean | {
31947
- enable?: boolean | undefined;
31948
31898
  callbackUrl?: string | undefined;
31899
+ enable?: boolean | undefined;
31949
31900
  waitForConnections?: boolean | undefined;
31950
31901
  } | undefined;
31951
31902
  sandbox?: {
@@ -31996,17 +31947,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31996
31947
  };
31997
31948
  name?: string | undefined;
31998
31949
  })[] | undefined;
31999
- experimental?: {
32000
- assistivePrompt?: {
32001
- userTimezone?: string | undefined;
32002
- } | undefined;
32003
- localTools?: LocalTool[] | undefined;
32004
- localToolkits?: LocalToolkit[] | undefined;
32005
- customTools?: LocalTool[] | undefined;
32006
- customToolkits?: LocalToolkit[] | undefined;
32007
- sessionConfigId?: string | undefined;
32008
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
32009
- } | undefined;
32010
31950
  }, unknown>;
32011
31951
  /**
32012
31952
  * The config for the tool router session.
@@ -32524,12 +32464,12 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
32524
32464
  instructions: z.ZodString;
32525
32465
  }, "strip", z.ZodTypeAny, {
32526
32466
  id: string;
32527
- generateId: boolean;
32528
32467
  instructions: string;
32468
+ generateId: boolean;
32529
32469
  }, {
32530
32470
  id: string;
32531
- generateId: boolean;
32532
32471
  instructions: string;
32472
+ generateId: boolean;
32533
32473
  }>;
32534
32474
  timeInfo: z.ZodObject<{
32535
32475
  currentTimeUtc: z.ZodString;
@@ -32598,8 +32538,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
32598
32538
  nextStepsGuidance: string[];
32599
32539
  session: {
32600
32540
  id: string;
32601
- generateId: boolean;
32602
32541
  instructions: string;
32542
+ generateId: boolean;
32603
32543
  };
32604
32544
  timeInfo: {
32605
32545
  message: string;
@@ -32660,8 +32600,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
32660
32600
  nextStepsGuidance: string[];
32661
32601
  session: {
32662
32602
  id: string;
32663
- generateId: boolean;
32664
32603
  instructions: string;
32604
+ generateId: boolean;
32665
32605
  };
32666
32606
  timeInfo: {
32667
32607
  message: string;
@@ -32766,7 +32706,7 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
32766
32706
  data: Record<string, unknown>;
32767
32707
  error: string | null;
32768
32708
  logId: string;
32769
- resultType: "completed" | "failed" | "blocked";
32709
+ resultType: "failed" | "completed" | "blocked";
32770
32710
  instantCharge?: unknown;
32771
32711
  blockReason?: {
32772
32712
  type: "request_blocked" | "response_blocked";
@@ -32784,7 +32724,7 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
32784
32724
  data: Record<string, unknown>;
32785
32725
  error: string | null;
32786
32726
  logId: string;
32787
- resultType: "completed" | "failed" | "blocked";
32727
+ resultType: "failed" | "completed" | "blocked";
32788
32728
  instantCharge?: unknown;
32789
32729
  blockReason?: {
32790
32730
  type: "request_blocked" | "response_blocked";
@@ -32984,13 +32924,13 @@ declare const ToolRouterUpdateManageConnectionsSchema: z.ZodObject<{
32984
32924
  waitForConnections: z.ZodOptional<z.ZodBoolean>;
32985
32925
  enableConnectionRemoval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32986
32926
  }, "strict", z.ZodTypeAny, {
32987
- enable?: boolean | undefined;
32988
32927
  callbackUrl?: string | null | undefined;
32928
+ enable?: boolean | undefined;
32989
32929
  waitForConnections?: boolean | undefined;
32990
32930
  enableConnectionRemoval?: boolean | null | undefined;
32991
32931
  }, {
32992
- enable?: boolean | undefined;
32993
32932
  callbackUrl?: string | null | undefined;
32933
+ enable?: boolean | undefined;
32994
32934
  waitForConnections?: boolean | undefined;
32995
32935
  enableConnectionRemoval?: boolean | null | undefined;
32996
32936
  }>;
@@ -33181,26 +33121,26 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33181
33121
  */
33182
33122
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
33183
33123
  }, "strict", z.ZodTypeAny, {
33184
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33185
33124
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33125
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33186
33126
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33187
33127
  }, {
33188
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33189
33128
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33129
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33190
33130
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33191
33131
  }>]>;
33192
33132
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33193
33133
  }, "strict", z.ZodTypeAny, {
33194
33134
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33195
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33196
33135
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33136
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33197
33137
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33198
33138
  };
33199
33139
  requireApproval?: string[] | undefined;
33200
33140
  }, {
33201
33141
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33202
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33203
33142
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33143
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33204
33144
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33205
33145
  };
33206
33146
  requireApproval?: string[] | undefined;
@@ -33218,8 +33158,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33218
33158
  requireApproval?: string[] | undefined;
33219
33159
  } | {
33220
33160
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33221
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33222
33161
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33162
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33223
33163
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33224
33164
  };
33225
33165
  requireApproval?: string[] | undefined;
@@ -33233,8 +33173,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33233
33173
  requireApproval?: string[] | undefined;
33234
33174
  } | {
33235
33175
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33236
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33237
33176
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33177
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33238
33178
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33239
33179
  };
33240
33180
  requireApproval?: string[] | undefined;
@@ -33250,12 +33190,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33250
33190
  */
33251
33191
  requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
33252
33192
  }, "strict", z.ZodTypeAny, {
33253
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33254
33193
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33194
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33255
33195
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33256
33196
  }, {
33257
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33258
33197
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33198
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33259
33199
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33260
33200
  }>]>>>>;
33261
33201
  authConfigs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
@@ -33266,13 +33206,13 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33266
33206
  waitForConnections: z.ZodOptional<z.ZodBoolean>;
33267
33207
  enableConnectionRemoval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33268
33208
  }, "strict", z.ZodTypeAny, {
33269
- enable?: boolean | undefined;
33270
33209
  callbackUrl?: string | null | undefined;
33210
+ enable?: boolean | undefined;
33271
33211
  waitForConnections?: boolean | undefined;
33272
33212
  enableConnectionRemoval?: boolean | null | undefined;
33273
33213
  }, {
33274
- enable?: boolean | undefined;
33275
33214
  callbackUrl?: string | null | undefined;
33215
+ enable?: boolean | undefined;
33276
33216
  waitForConnections?: boolean | undefined;
33277
33217
  enableConnectionRemoval?: boolean | null | undefined;
33278
33218
  }>]>>>>;
@@ -33516,8 +33456,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33516
33456
  expectedConfigVersion: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>>;
33517
33457
  }, "strip", z.ZodTypeAny, {
33518
33458
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33519
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33520
33459
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33460
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33521
33461
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33522
33462
  } | null | undefined;
33523
33463
  tools?: Record<string, string[] | {
@@ -33528,8 +33468,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33528
33468
  requireApproval?: string[] | undefined;
33529
33469
  } | {
33530
33470
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33531
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33532
33471
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33472
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33533
33473
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33534
33474
  };
33535
33475
  requireApproval?: string[] | undefined;
@@ -33551,6 +33491,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33551
33491
  preload?: {
33552
33492
  tools?: string[] | "all" | undefined;
33553
33493
  } | null | undefined;
33494
+ experimental?: {
33495
+ sessionConfigId?: string | undefined;
33496
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
33497
+ permissions?: {
33498
+ default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33499
+ overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33500
+ } | null | undefined;
33501
+ linkUrlOverwrite?: string | null | undefined;
33502
+ fastMode?: boolean | null | undefined;
33503
+ submitFeedback?: {
33504
+ enable: boolean;
33505
+ } | null | undefined;
33506
+ } | null | undefined;
33554
33507
  instant?: false | {
33555
33508
  tools?: Record<string, {
33556
33509
  enable: string[];
@@ -33568,8 +33521,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33568
33521
  authConfigs?: Record<string, string> | null | undefined;
33569
33522
  connectedAccounts?: Record<string, string[]> | null | undefined;
33570
33523
  manageConnections?: boolean | {
33571
- enable?: boolean | undefined;
33572
33524
  callbackUrl?: string | null | undefined;
33525
+ enable?: boolean | undefined;
33573
33526
  waitForConnections?: boolean | undefined;
33574
33527
  enableConnectionRemoval?: boolean | null | undefined;
33575
33528
  } | null | undefined;
@@ -33621,27 +33574,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33621
33574
  };
33622
33575
  name?: string | undefined;
33623
33576
  })[] | null | undefined;
33624
- experimental?: {
33625
- sessionConfigId?: string | undefined;
33626
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
33627
- permissions?: {
33628
- default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33629
- overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33630
- } | null | undefined;
33631
- linkUrlOverwrite?: string | null | undefined;
33632
- fastMode?: boolean | null | undefined;
33633
- submitFeedback?: {
33634
- enable: boolean;
33635
- } | null | undefined;
33636
- } | null | undefined;
33637
33577
  execute?: {
33638
33578
  enableMultiExecute?: boolean | undefined;
33639
33579
  } | null | undefined;
33640
33580
  expectedConfigVersion?: number | false | undefined;
33641
33581
  }, {
33642
33582
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33643
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33644
33583
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33584
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33645
33585
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33646
33586
  } | null | undefined;
33647
33587
  tools?: Record<string, string[] | {
@@ -33652,8 +33592,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33652
33592
  requireApproval?: string[] | undefined;
33653
33593
  } | {
33654
33594
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33655
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33656
33595
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33596
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33657
33597
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33658
33598
  };
33659
33599
  requireApproval?: string[] | undefined;
@@ -33675,6 +33615,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33675
33615
  preload?: {
33676
33616
  tools?: string[] | "all" | undefined;
33677
33617
  } | null | undefined;
33618
+ experimental?: {
33619
+ sessionConfigId?: string | undefined;
33620
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
33621
+ permissions?: {
33622
+ default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33623
+ overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33624
+ } | null | undefined;
33625
+ linkUrlOverwrite?: string | null | undefined;
33626
+ fastMode?: boolean | null | undefined;
33627
+ submitFeedback?: {
33628
+ enable: boolean;
33629
+ } | null | undefined;
33630
+ } | null | undefined;
33678
33631
  instant?: false | {
33679
33632
  tools?: Record<string, {
33680
33633
  enable: string[];
@@ -33692,8 +33645,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33692
33645
  authConfigs?: Record<string, string> | null | undefined;
33693
33646
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
33694
33647
  manageConnections?: boolean | {
33695
- enable?: boolean | undefined;
33696
33648
  callbackUrl?: string | null | undefined;
33649
+ enable?: boolean | undefined;
33697
33650
  waitForConnections?: boolean | undefined;
33698
33651
  enableConnectionRemoval?: boolean | null | undefined;
33699
33652
  } | null | undefined;
@@ -33745,27 +33698,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33745
33698
  };
33746
33699
  name?: string | undefined;
33747
33700
  })[] | null | undefined;
33748
- experimental?: {
33749
- sessionConfigId?: string | undefined;
33750
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
33751
- permissions?: {
33752
- default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33753
- overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33754
- } | null | undefined;
33755
- linkUrlOverwrite?: string | null | undefined;
33756
- fastMode?: boolean | null | undefined;
33757
- submitFeedback?: {
33758
- enable: boolean;
33759
- } | null | undefined;
33760
- } | null | undefined;
33761
33701
  execute?: {
33762
33702
  enableMultiExecute?: boolean | undefined;
33763
33703
  } | null | undefined;
33764
33704
  expectedConfigVersion?: number | false | undefined;
33765
33705
  }>, {
33766
33706
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33767
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33768
33707
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33708
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33769
33709
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33770
33710
  } | null | undefined;
33771
33711
  tools?: Record<string, string[] | {
@@ -33776,8 +33716,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33776
33716
  requireApproval?: string[] | undefined;
33777
33717
  } | {
33778
33718
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33779
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33780
33719
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33720
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33781
33721
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33782
33722
  };
33783
33723
  requireApproval?: string[] | undefined;
@@ -33799,6 +33739,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33799
33739
  preload?: {
33800
33740
  tools?: string[] | "all" | undefined;
33801
33741
  } | null | undefined;
33742
+ experimental?: {
33743
+ sessionConfigId?: string | undefined;
33744
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
33745
+ permissions?: {
33746
+ default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33747
+ overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33748
+ } | null | undefined;
33749
+ linkUrlOverwrite?: string | null | undefined;
33750
+ fastMode?: boolean | null | undefined;
33751
+ submitFeedback?: {
33752
+ enable: boolean;
33753
+ } | null | undefined;
33754
+ } | null | undefined;
33802
33755
  instant?: false | {
33803
33756
  tools?: Record<string, {
33804
33757
  enable: string[];
@@ -33816,8 +33769,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33816
33769
  authConfigs?: Record<string, string> | null | undefined;
33817
33770
  connectedAccounts?: Record<string, string[]> | null | undefined;
33818
33771
  manageConnections?: boolean | {
33819
- enable?: boolean | undefined;
33820
33772
  callbackUrl?: string | null | undefined;
33773
+ enable?: boolean | undefined;
33821
33774
  waitForConnections?: boolean | undefined;
33822
33775
  enableConnectionRemoval?: boolean | null | undefined;
33823
33776
  } | null | undefined;
@@ -33869,27 +33822,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33869
33822
  };
33870
33823
  name?: string | undefined;
33871
33824
  })[] | null | undefined;
33872
- experimental?: {
33873
- sessionConfigId?: string | undefined;
33874
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
33875
- permissions?: {
33876
- default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33877
- overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33878
- } | null | undefined;
33879
- linkUrlOverwrite?: string | null | undefined;
33880
- fastMode?: boolean | null | undefined;
33881
- submitFeedback?: {
33882
- enable: boolean;
33883
- } | null | undefined;
33884
- } | null | undefined;
33885
33825
  execute?: {
33886
33826
  enableMultiExecute?: boolean | undefined;
33887
33827
  } | null | undefined;
33888
33828
  expectedConfigVersion?: number | false | undefined;
33889
33829
  }, {
33890
33830
  tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33891
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33892
33831
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33832
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33893
33833
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33894
33834
  } | null | undefined;
33895
33835
  tools?: Record<string, string[] | {
@@ -33900,8 +33840,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33900
33840
  requireApproval?: string[] | undefined;
33901
33841
  } | {
33902
33842
  tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33903
- disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33904
33843
  enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33844
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33905
33845
  requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33906
33846
  };
33907
33847
  requireApproval?: string[] | undefined;
@@ -33923,6 +33863,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33923
33863
  preload?: {
33924
33864
  tools?: string[] | "all" | undefined;
33925
33865
  } | null | undefined;
33866
+ experimental?: {
33867
+ sessionConfigId?: string | undefined;
33868
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
33869
+ permissions?: {
33870
+ default: "allow_all" | "ask_every_call" | "ask_once_per_session";
33871
+ overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
33872
+ } | null | undefined;
33873
+ linkUrlOverwrite?: string | null | undefined;
33874
+ fastMode?: boolean | null | undefined;
33875
+ submitFeedback?: {
33876
+ enable: boolean;
33877
+ } | null | undefined;
33878
+ } | null | undefined;
33926
33879
  instant?: false | {
33927
33880
  tools?: Record<string, {
33928
33881
  enable: string[];
@@ -33940,8 +33893,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33940
33893
  authConfigs?: Record<string, string> | null | undefined;
33941
33894
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
33942
33895
  manageConnections?: boolean | {
33943
- enable?: boolean | undefined;
33944
33896
  callbackUrl?: string | null | undefined;
33897
+ enable?: boolean | undefined;
33945
33898
  waitForConnections?: boolean | undefined;
33946
33899
  enableConnectionRemoval?: boolean | null | undefined;
33947
33900
  } | null | undefined;
@@ -33993,19 +33946,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
33993
33946
  };
33994
33947
  name?: string | undefined;
33995
33948
  })[] | null | undefined;
33996
- experimental?: {
33997
- sessionConfigId?: string | undefined;
33998
- noElicitationSupportFallback?: "deny" | "allow" | undefined;
33999
- permissions?: {
34000
- default: "allow_all" | "ask_every_call" | "ask_once_per_session";
34001
- overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
34002
- } | null | undefined;
34003
- linkUrlOverwrite?: string | null | undefined;
34004
- fastMode?: boolean | null | undefined;
34005
- submitFeedback?: {
34006
- enable: boolean;
34007
- } | null | undefined;
34008
- } | null | undefined;
34009
33949
  execute?: {
34010
33950
  enableMultiExecute?: boolean | undefined;
34011
33951
  } | null | undefined;
@@ -34124,6 +34064,7 @@ declare const ToolRouterSessionEnsureConnectedOptionsSchema: z.ZodObject<{
34124
34064
  timeout: z.ZodOptional<z.ZodNumber>;
34125
34065
  }, "strip", z.ZodTypeAny, {
34126
34066
  callbackUrl?: string | undefined;
34067
+ alias?: string | undefined;
34127
34068
  experimental?: {
34128
34069
  accountType?: "PRIVATE" | "SHARED" | undefined;
34129
34070
  aclConfigForShared?: {
@@ -34132,10 +34073,10 @@ declare const ToolRouterSessionEnsureConnectedOptionsSchema: z.ZodObject<{
34132
34073
  notAllowedUserIds?: string[] | undefined;
34133
34074
  } | undefined;
34134
34075
  } | undefined;
34135
- alias?: string | undefined;
34136
34076
  timeout?: number | undefined;
34137
34077
  }, {
34138
34078
  callbackUrl?: string | undefined;
34079
+ alias?: string | undefined;
34139
34080
  experimental?: {
34140
34081
  accountType?: "PRIVATE" | "SHARED" | undefined;
34141
34082
  aclConfigForShared?: {
@@ -34144,7 +34085,6 @@ declare const ToolRouterSessionEnsureConnectedOptionsSchema: z.ZodObject<{
34144
34085
  notAllowedUserIds?: string[] | undefined;
34145
34086
  } | undefined;
34146
34087
  } | undefined;
34147
- alias?: string | undefined;
34148
34088
  timeout?: number | undefined;
34149
34089
  }>;
34150
34090
  type ToolRouterSessionEnsureConnectedOptions = z.infer<typeof ToolRouterSessionEnsureConnectedOptionsSchema>;
@@ -34232,8 +34172,6 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
34232
34172
  * https://docs.composio.dev/docs/sessions-via-mcp
34233
34173
  */
34234
34174
  type SessionWithoutMcp<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> = Omit<Session<TToolCollection, TTool, TProvider>, 'mcp'>;
34235
- //#endregion
34236
- //#region src/types/customTool.types.d.ts
34237
34175
  type AnyZodSchema = z$1.ZodType | z$2.ZodType;
34238
34176
  type InferZodSchema<T extends AnyZodSchema> = T extends z$1.ZodType ? z$1.infer<T> : T extends z$2.ZodType ? z$2.infer<T> : never;
34239
34177
  /**
@@ -34440,5 +34378,4 @@ type RegisteredCustomToolkit = RegisteredLocalToolkit;
34440
34378
  type CustomToolResponse = NonNullable<NonNullable<SessionCreateResponse['experimental']>['custom_tools']>[number];
34441
34379
  /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
34442
34380
  type CustomToolkitResponse = NonNullable<NonNullable<NonNullable<SessionCreateResponse['experimental']>['custom_toolkits']>[number]>;
34443
- //#endregion
34444
- export { ToolRouterHookConditionCheckHandler as $, ToolExecuteResponse as $a, Oauth1ActiveConnectionDataSchema as $i, ConnectedAccountListResponseItem as $n, MCPGenerateURLParams as $r, ToolRouterToolkitsDisabledConfigSchema as $t, MCPServerType as A, BeforeFileUploadSource as Aa, McpUpdateResponseSchema as Ai, ToolRouterSessionFilesMountListOptionsSchema as An, UpdateConnectedAccountParamsSchema as Ar, ToolRouterSessionExecuteMetaOptions as At, ToolRouterAuthorizeFn as B, beforeExecuteMetaModifier as Ba, BaseConnectionFields as Bi, ConnectedAccountAuthConfig as Bn, ComposioMcpUpdateResponseSchema as Br, ToolRouterSessionPreloadConfig as Bt, LocalToolExecuteFn as C, Oauth2InitiatedConnectionDataSchema as Ca, McpRetrieveResponse as Ci, RemoteFileData as Cn, CreateConnectedAccountParamsSchema as Cr, ToolRouterSessionDeleteResponseSchema as Ct, RegisteredLocalTool as D, Oauth2RevokedConnectionDataSchema as Da, McpServerUrlInfo as Di, ToolRouterSessionFilesMountDownloadOptions as Dn, UpdateConnectedAccountAclParams as Dr, ToolRouterSessionEnsureConnectedResult as Dt, RegisteredCustomToolkit as E, Oauth2RevokedConnectionData as Ea, McpServerGetResponse as Ei, ToolRouterSessionFilesMountDeleteOptionsSchema as En, DefaultCreateConnectedAccountParamsSchema as Er, ToolRouterSessionEnsureConnectedOptionsSchema as Et, SessionExperimental as F, SessionMetaToolOptions as Fa, ExecuteToolFnOptions as Fi, ConnectionRequestState as Fn, ComposioGenerateURLParamsSchema as Fr, ToolRouterSessionListConfigHistoryOptions as Ft, ToolRouterConfigTagsSchema as G, JSONSchemaProperty as Ga, ConnectionStatuses as Gi, ConnectedAccountCompleteAuthResponseSchema as Gn, GenerateURLParams as Gr, ToolRouterSessionSearchFn as Gt, ToolRouterBlockReasonSchema as H, beforeFileUploadModifier as Ha, ConnectionData as Hi, ConnectedAccountCompleteAuthParams as Hn, CustomCreateResponse$1 as Hr, ToolRouterSessionProxyExecuteCompleted as Ht, SessionPreset as I, ToolOptions as Ia, GlobalExecuteToolFn as Ii, ConnectedAccountAclConfig as In, ComposioGenerateURLResponseSchema as Ir, ToolRouterSessionListConfigHistoryOptionsSchema as It, ToolRouterCreateSessionConfig as J, Tool as Ja, CustomOauth1ConnectionData as Ji, ConnectedAccountExperimentalResponseSchema as Jn, GenerateURLResponseSchema as Jr, ToolRouterSessionUpdateFn as Jt, ToolRouterConfigTools as K, JSONSchemaPropertySchema as Ka, CustomConnectionData as Ki, ConnectedAccountExperimental as Kn, GenerateURLParamsSchema as Kr, ToolRouterSessionSearchResponse as Kt, SessionProxyExecuteParams as L, TransformToolSchemaModifier as La, Provider as Li, ConnectedAccountAclConfigResponse as Ln, ComposioMcpDeleteResponseSchema as Lr, ToolRouterSessionListConfigHistoryResponse as Lt, SandboxSize as M, MetaToolArguments as Ma, McpUrlResponseCamelCase as Mi, ToolRouterSessionFilesMountUploadOptionsSchema as Mn, BaseComposioProvider as Mr, ToolRouterSessionExecuteResponse as Mt, SandboxSizeSchema as N, ProviderOptions as Na, McpUserConnectionStatus as Ni, ComposioRequestOptions as Nn, BaseNonAgenticProvider as Nr, ToolRouterSessionExecuteResponseSchema as Nt, RegisteredLocalToolkit as O, RedirectableAuthSchemeSchema as Oa, McpToolkitConnectionStatus as Oi, ToolRouterSessionFilesMountDownloadOptionsSchema as On, UpdateConnectedAccountAclParamsSchema as Or, ToolRouterSessionExecuteFn as Ot, Session as P, SessionExecuteMetaModifiers as Pa, ExecuteToolFn as Pi, ConnectionRequest as Pn, ComposioCustomCreateResponseSchema as Pr, ToolRouterSessionListConfigHistoryFn as Pt, ToolRouterHookAppliesToSchema as Q, ToolExecuteParamsSchema as Qa, Oauth1ActiveConnectionData as Qi, ConnectedAccountListResponse as Qn, MCPCreateMethodResponse as Qr, ToolRouterTagsParamSchema as Qt, SessionProxyExecuteParamsSchema as R, afterExecuteMetaModifier as Ra, ToolCallExecutionTarget as Ri, ConnectedAccountAclConfigResponseSchema as Rn, ComposioMcpListResponseSchema as Rr, ToolRouterSessionMetaToolSlug as Rt, LocalTool as S, Oauth2InitiatedConnectionData as Sa, McpListResponseSchema as Si, FileListResponseSchema as Sn, CreateConnectedAccountParams as Sr, ToolRouterSessionDeleteResponse as St, RegisteredCustomTool as T, Oauth2InitiatingConnectionDataSchema as Ta, McpServerCreateResponse as Ti, ToolRouterSessionFilesMountDeleteOptions as Tn, CreateConnectedAccountResponseSchema as Tr, ToolRouterSessionEnsureConnectedOptions as Tt, ToolRouterConfigManageConnectionsSchema as U, CustomAuthParams as Ua, ConnectionDataSchema as Ui, ConnectedAccountCompleteAuthParamsSchema as Un, CustomCreateResponseSchema as Ur, ToolRouterSessionProxyExecuteFn as Ut, ToolRouterBlockReason as V, beforeExecuteModifier as Va, BillcomAuthConnectionDataSchema as Vi, ConnectedAccountAuthConfigSchema as Vn, ConnectionStatus as Vr, ToolRouterSessionProxyExecuteBlocked as Vt, ToolRouterConfigTags as W, CustomAuthParamsSchema as Wa, ConnectionStatusEnum as Wi, ConnectedAccountCompleteAuthResponse as Wn, CustomCreateResponseValidated as Wr, ToolRouterSessionProxyExecuteResponse as Wt, ToolRouterHook as X, ToolExecuteMetaParamsSchema as Xa, CustomOauth2ConnectionData as Xi, ConnectedAccountListParams as Xn, MCPAuthOptions as Xr, ToolRouterSessionWorkbenchConfig as Xt, ToolRouterCreateSessionConfigSchema as Y, ToolExecuteMetaParams as Ya, CustomOauth1ConnectionDataSchema as Yi, ConnectedAccountExperimentalSchema as Yn, GenerateURLResponseValidated as Yr, ToolRouterSessionWarning as Yt, ToolRouterHookAppliesTo as Z, ToolExecuteParams as Za, CustomOauth2ConnectionDataSchema as Zi, ConnectedAccountListParamsSchema as Zn, MCPAuthOptionsSchema as Zr, ToolRouterTagsEnableDisableSchema as Zt, CustomToolkitWireDefinition as _, Oauth2ExpiredConnectionDataSchema as _a, MCPToolkitConfigSchema as _i, ToolkitConnectionsDetailsSchema as _n, ToolkitVersionSchema as _o, CreateConnectedAccountLinkOptionsSchema as _r, ToolRouterSandboxConfigSchema as _t, CreateCustomToolkitParams as a, Oauth1FailedConnectionDataSchema as aa, MCPMultiAppServerSchema as ai, ToolRouterToolsFn as an, ToolListResponseSchema as ao, ConnectedAccountRevokeResponse as ar, ToolRouterHookSchema as at, InferZodSchema as b, Oauth2InactiveConnectionData as ba, McpDeleteResponseSchema as bi, FileDeleteResponseSchema as bn, CreateConnectedAccountOptions as br, ToolRouterSessionConfigHistoryItem as bt, CustomTool as c, Oauth1InitiatedConnectionData as ca, MCPServerCreateResponseSchema as ci, ToolRouterUpdateExperimentalConfig as cn, ToolRetrievalOptions as co, ConnectedAccountRevokedTokenSchema as cr, ToolRouterInstantSchema as ct, CustomToolResponse as d, Oauth1InitiatingConnectionDataSchema as da, MCPServerSchema as di, ToolRouterUpdateManageConnectionsSchema as dn, ToolkitLatestVersion as do, ConnectedAccountStatusSchema as dr, ToolRouterManageConnectionsConfigSchema as dt, Oauth1ConnectionData as ea, MCPGenerateURLParamsSchema as ei, ToolRouterToolkitsEnabledConfigSchema as en, ToolExecuteResponseSchema as eo, ConnectedAccountListResponseSchema as er, ToolRouterHookConditionCheckHandlerSchema as et, CustomToolSlugSchema as f, Oauth2ActiveConnectionData as fa, MCPServerUpdateParams as fi, ToolRouterUpdateSessionConfig as fn, ToolkitLatestVersionSchema as fo, ConnectedAccountStatuses as fr, ToolRouterProxyExecute as ft, CustomToolkitResponse as g, Oauth2ExpiredConnectionData as ga, MCPToolkitConfig as gi, ToolkitConnectionsDetails as gn, ToolkitVersionParamSchema as go, CreateConnectedAccountLinkOptions as gr, ToolRouterSandboxConfig as gt, CustomToolkitDefinition as h, Oauth2ConnectionDataSchema as ha, MCPSingleAppServerSchema as hi, ToolkitConnectionStateSchema as hn, ToolkitVersionParam as ho, ConnectedAccountTypes as hr, ToolRouterProxyExecuteSchema as ht, CreateCustomToolkitBaseSchema as i, Oauth1FailedConnectionData as ia, MCPMultiAppServer as ii, ToolRouterToolkitsParamSchema as in, ToolListResponse as io, ConnectedAccountRetrieveResponseSchema as ir, ToolRouterHookResultSchema as it, MCPServerTypeSchema as j, ExecuteToolModifiers as ja, McpUrlResponse as ji, ToolRouterSessionFilesMountUploadOptions as jn, BaseAgenticProvider as jr, ToolRouterSessionExecuteOptions as jt, SessionContext as k, AgenticToolOptions as ka, McpUpdateResponse as ki, ToolRouterSessionFilesMountListOptions as kn, UpdateConnectedAccountParams as kr, ToolRouterSessionExecuteMetaFn as kt, CustomToolDefinition as l, Oauth1InitiatedConnectionDataSchema as la, MCPServerListResponse as li, ToolRouterUpdateExperimentalSchema as ln, ToolSchema as lo, ConnectedAccountStatus as lr, ToolRouterMCPServerConfig as lt, CustomToolkit as m, Oauth2ConnectionData as ma, MCPSingleAppServer as mi, ToolkitConnectionState as mn, ToolkitVersion as mo, ConnectedAccountTypeSchema as mr, ToolRouterProxyExecuteConfigSchema as mt, CreateCustomToolBaseSchema as n, Oauth1ExpiredConnectionData as na, MCPGetServerParamsSchema as ni, ToolRouterToolkitsOptions as nn, ToolListParams as no, ConnectedAccountRefreshOptionsSchema as nr, ToolRouterHookPromptInjectionCheckHandlerSchema as nt, CreateLocalToolParams as o, Oauth1InactiveConnectionData as oa, MCPServer as oi, ToolRouterToolsParam as on, ToolProxyParams as oo, ConnectedAccountRevokeResponseSchema as or, ToolRouterInputResponse as ot, CustomToolWireDefinition as p, Oauth2ActiveConnectionDataSchema as pa, MCPServerUpdateParamsSchema as pi, ToolRouterUpdateSessionConfigSchema as pn, ToolkitSchema as po, ConnectedAccountType as pr, ToolRouterProxyExecuteConfig as pt, ToolRouterConfigToolsSchema as q, SchemaModifierOptions as qa, CustomConnectionDataSchema as qi, ConnectedAccountExperimentalResponse as qn, GenerateURLResponse$1 as qr, ToolRouterSessionSearchResponseSchema as qt, CreateCustomToolParams as r, Oauth1ExpiredConnectionDataSchema as ra, MCPInstanceParams as ri, ToolRouterToolkitsOptionsSchema as rn, ToolListParamsSchema as ro, ConnectedAccountRetrieveResponse as rr, ToolRouterHookResult as rt, CreateLocalToolkitParams as s, Oauth1InactiveConnectionDataSchema as sa, MCPServerCreateResponse as si, ToolRouterToolsParamSchema as sn, ToolProxyParamsSchema as so, ConnectedAccountRevokedToken as sr, ToolRouterInstant as st, AnyZodSchema as t, Oauth1ConnectionDataSchema as ta, MCPGetServerParams as ti, ToolRouterToolkitsFn as tn, ToolList as to, ConnectedAccountRefreshOptions as tr, ToolRouterHookPromptInjectionCheckHandler as tt, CustomToolExecuteFn as u, Oauth1InitiatingConnectionData as ua, MCPServerListResponseSchema as ui, ToolRouterUpdateManageConnectionsConfig as un, Toolkit as uo, ConnectedAccountStatusEnum as ur, ToolRouterMCPServerConfigSchema as ut, CustomToolsMap as v, Oauth2FailedConnectionData as va, MCPToolkitConfigsArraySchema as vi, RemoteFile as vn, ToolkitVersions as vo, CreateConnectedAccountLinkResponse as vr, ToolRouterSessionConfig as vt, LocalToolkit as w, Oauth2InitiatingConnectionData as wa, McpRetrieveResponseSchema as wi, RemoteFileDataSchema as wn, CreateConnectedAccountResponse as wr, ToolRouterSessionEnsureConnectedFn as wt, InlineCustomToolsWirePayload as x, Oauth2InactiveConnectionDataSchema as xa, McpListResponse as xi, FileListResponse as xn, CreateConnectedAccountOptionsSchema as xr, ToolRouterSessionDeleteFn as xt, CustomToolsMapEntry as y, Oauth2FailedConnectionDataSchema as ya, McpDeleteResponse as yi, FileDeleteResponse as yn, ToolkitVersionsSchema as yo, CreateConnectedAccountLinkResponseSchema as yr, ToolRouterSessionConfigHistoryConfig as yt, SessionWithoutMcp as z, afterExecuteModifier as za, ToolCallSession as zi, ConnectedAccountAclConfigSchema as zn, ComposioMcpRetrieveResponseSchema as zr, ToolRouterSessionMetadata as zt };
34381
+ export { ToolRouterHookConditionCheckHandler as $, ToolExecuteResponseSchema as $a, Oauth1ConnectionData as $i, ConnectedAccountListResponseSchema as $n, MCPGenerateURLParamsSchema as $r, ToolRouterToolkitsDisabledConfigSchema as $t, MCPServerType as A, ExecuteToolModifiers as Aa, McpUrlResponse as Ai, ToolRouterSessionFilesMountListOptionsSchema as An, BaseAgenticProvider as Ar, ToolRouterSessionExecuteMetaOptions as At, ToolRouterAuthorizeFn as B, beforeExecuteModifier as Ba, BillcomAuthConnectionDataSchema as Bi, ConnectedAccountAuthConfigSchema as Bn, ConnectionStatus as Br, ToolRouterSessionPreloadConfig as Bt, LocalToolExecuteFn as C, Oauth2InitiatingConnectionData as Ca, McpRetrieveResponseSchema as Ci, RemoteFileData as Cn, CreateConnectedAccountResponse as Cr, ToolRouterSessionDeleteResponseSchema as Ct, RegisteredLocalTool as D, RedirectableAuthSchemeSchema as Da, McpToolkitConnectionStatus as Di, ToolRouterSessionFilesMountDownloadOptions as Dn, UpdateConnectedAccountAclParamsSchema as Dr, ToolRouterSessionEnsureConnectedResult as Dt, RegisteredCustomToolkit as E, Oauth2RevokedConnectionDataSchema as Ea, McpServerUrlInfo as Ei, ToolRouterSessionFilesMountDeleteOptionsSchema as En, UpdateConnectedAccountAclParams as Er, ToolRouterSessionEnsureConnectedOptionsSchema as Et, SessionExperimental as F, ToolOptions as Fa, GlobalExecuteToolFn as Fi, ConnectedAccountAclConfig as Fn, ComposioGenerateURLResponseSchema as Fr, ToolRouterSessionListConfigHistoryOptions as Ft, ToolRouterConfigTagsSchema as G, JSONSchemaPropertySchema as Ga, CustomConnectionData as Gi, ConnectedAccountExperimental as Gn, GenerateURLParamsSchema as Gr, ToolRouterSessionSearchFn as Gt, ToolRouterBlockReasonSchema as H, CustomAuthParams as Ha, ConnectionDataSchema as Hi, ConnectedAccountCompleteAuthParamsSchema as Hn, CustomCreateResponseSchema as Hr, ToolRouterSessionProxyExecuteCompleted as Ht, SessionPreset as I, TransformToolSchemaModifier as Ia, Provider as Ii, ConnectedAccountAclConfigResponse as In, ComposioMcpDeleteResponseSchema as Ir, ToolRouterSessionListConfigHistoryOptionsSchema as It, ToolRouterCreateSessionConfig as J, ToolExecuteMetaParams as Ja, CustomOauth1ConnectionDataSchema as Ji, ConnectedAccountExperimentalSchema as Jn, GenerateURLResponseValidated as Jr, ToolRouterSessionUpdateFn as Jt, ToolRouterConfigTools as K, SchemaModifierOptions as Ka, CustomConnectionDataSchema as Ki, ConnectedAccountExperimentalResponse as Kn, GenerateURLResponse as Kr, ToolRouterSessionSearchResponse as Kt, SessionProxyExecuteParams as L, afterExecuteMetaModifier as La, ToolCallExecutionTarget as Li, ConnectedAccountAclConfigResponseSchema as Ln, ComposioMcpListResponseSchema as Lr, ToolRouterSessionListConfigHistoryResponse as Lt, SandboxSize as M, ProviderOptions as Ma, McpUserConnectionStatus as Mi, ToolRouterSessionFilesMountUploadOptionsSchema as Mn, BaseNonAgenticProvider as Mr, ToolRouterSessionExecuteResponse as Mt, SandboxSizeSchema as N, SessionExecuteMetaModifiers as Na, ExecuteToolFn as Ni, ConnectionRequest as Nn, ComposioCustomCreateResponseSchema as Nr, ToolRouterSessionExecuteResponseSchema as Nt, RegisteredLocalToolkit as O, AgenticToolOptions as Oa, McpUpdateResponse as Oi, ToolRouterSessionFilesMountDownloadOptionsSchema as On, UpdateConnectedAccountParams as Or, ToolRouterSessionExecuteFn as Ot, Session as P, SessionMetaToolOptions as Pa, ExecuteToolFnOptions as Pi, ConnectionRequestState as Pn, ComposioGenerateURLParamsSchema as Pr, ToolRouterSessionListConfigHistoryFn as Pt, ToolRouterHookAppliesToSchema as Q, ToolExecuteResponse as Qa, Oauth1ActiveConnectionDataSchema as Qi, ConnectedAccountListResponseItem as Qn, MCPGenerateURLParams as Qr, ToolRouterTagsParamSchema as Qt, SessionProxyExecuteParamsSchema as R, afterExecuteModifier as Ra, ToolCallSession as Ri, ConnectedAccountAclConfigSchema as Rn, ComposioMcpRetrieveResponseSchema as Rr, ToolRouterSessionMetaToolSlug as Rt, LocalTool as S, Oauth2InitiatedConnectionDataSchema as Sa, McpRetrieveResponse as Si, FileListResponseSchema as Sn, CreateConnectedAccountParamsSchema as Sr, ToolRouterSessionDeleteResponse as St, RegisteredCustomTool as T, Oauth2RevokedConnectionData as Ta, McpServerGetResponse as Ti, ToolRouterSessionFilesMountDeleteOptions as Tn, DefaultCreateConnectedAccountParamsSchema as Tr, ToolRouterSessionEnsureConnectedOptions as Tt, ToolRouterConfigManageConnectionsSchema as U, CustomAuthParamsSchema as Ua, ConnectionStatusEnum as Ui, ConnectedAccountCompleteAuthResponse as Un, CustomCreateResponseValidated as Ur, ToolRouterSessionProxyExecuteFn as Ut, ToolRouterBlockReason as V, beforeFileUploadModifier as Va, ConnectionData as Vi, ConnectedAccountCompleteAuthParams as Vn, CustomCreateResponse as Vr, ToolRouterSessionProxyExecuteBlocked as Vt, ToolRouterConfigTags as W, JSONSchemaProperty as Wa, ConnectionStatuses as Wi, ConnectedAccountCompleteAuthResponseSchema as Wn, GenerateURLParams as Wr, ToolRouterSessionProxyExecuteResponse as Wt, ToolRouterHook as X, ToolExecuteParams as Xa, CustomOauth2ConnectionDataSchema as Xi, ConnectedAccountListParamsSchema as Xn, MCPAuthOptionsSchema as Xr, ToolRouterSessionWorkbenchConfig as Xt, ToolRouterCreateSessionConfigSchema as Y, ToolExecuteMetaParamsSchema as Ya, CustomOauth2ConnectionData as Yi, ConnectedAccountListParams as Yn, MCPAuthOptions as Yr, ToolRouterSessionWarning as Yt, ToolRouterHookAppliesTo as Z, ToolExecuteParamsSchema as Za, Oauth1ActiveConnectionData as Zi, ConnectedAccountListResponse as Zn, MCPCreateMethodResponse as Zr, ToolRouterTagsEnableDisableSchema as Zt, CustomToolkitWireDefinition as _, Oauth2FailedConnectionData as _a, MCPToolkitConfigsArraySchema as _i, ToolkitConnectionsDetailsSchema as _n, ToolkitVersions as _o, CreateConnectedAccountLinkResponse as _r, ToolRouterSandboxConfigSchema as _t, CreateCustomToolkitParams as a, Oauth1InactiveConnectionData as aa, MCPServer as ai, ToolRouterToolsFn as an, ToolProxyParams as ao, ConnectedAccountRevokeResponseSchema as ar, ToolRouterHookSchema as at, InferZodSchema as b, Oauth2InactiveConnectionDataSchema as ba, McpListResponse as bi, FileDeleteResponseSchema as bn, CreateConnectedAccountOptionsSchema as br, ToolRouterSessionConfigHistoryItem as bt, CustomTool as c, Oauth1InitiatedConnectionDataSchema as ca, MCPServerListResponse as ci, ToolRouterUpdateExperimentalConfig as cn, ToolSchema as co, ConnectedAccountStatus as cr, ToolRouterInstantSchema as ct, CustomToolResponse as d, Oauth2ActiveConnectionData as da, MCPServerUpdateParams as di, ToolRouterUpdateManageConnectionsSchema as dn, ToolkitLatestVersionSchema as do, ConnectedAccountStatuses as dr, ToolRouterManageConnectionsConfigSchema as dt, Oauth1ConnectionDataSchema as ea, MCPGetServerParams as ei, ToolRouterToolkitsEnabledConfigSchema as en, ToolList as eo, ConnectedAccountRefreshOptions as er, ToolRouterHookConditionCheckHandlerSchema as et, CustomToolSlugSchema as f, Oauth2ActiveConnectionDataSchema as fa, MCPServerUpdateParamsSchema as fi, ToolRouterUpdateSessionConfig as fn, ToolkitSchema as fo, ConnectedAccountType as fr, ToolRouterProxyExecute as ft, CustomToolkitResponse as g, Oauth2ExpiredConnectionDataSchema as ga, MCPToolkitConfigSchema as gi, ToolkitConnectionsDetails as gn, ToolkitVersionSchema as go, CreateConnectedAccountLinkOptionsSchema as gr, ToolRouterSandboxConfig as gt, CustomToolkitDefinition as h, Oauth2ExpiredConnectionData as ha, MCPToolkitConfig as hi, ToolkitConnectionStateSchema as hn, ToolkitVersionParamSchema as ho, CreateConnectedAccountLinkOptions as hr, ToolRouterProxyExecuteSchema as ht, CreateCustomToolkitBaseSchema as i, Oauth1FailedConnectionDataSchema as ia, MCPMultiAppServerSchema as ii, ToolRouterToolkitsParamSchema as in, ToolListResponseSchema as io, ConnectedAccountRevokeResponse as ir, ToolRouterHookResultSchema as it, MCPServerTypeSchema as j, MetaToolArguments as ja, McpUrlResponseCamelCase as ji, ToolRouterSessionFilesMountUploadOptions as jn, BaseComposioProvider as jr, ToolRouterSessionExecuteOptions as jt, SessionContext as k, BeforeFileUploadSource as ka, McpUpdateResponseSchema as ki, ToolRouterSessionFilesMountListOptions as kn, UpdateConnectedAccountParamsSchema as kr, ToolRouterSessionExecuteMetaFn as kt, CustomToolDefinition as l, Oauth1InitiatingConnectionData as la, MCPServerListResponseSchema as li, ToolRouterUpdateExperimentalSchema as ln, Toolkit as lo, ConnectedAccountStatusEnum as lr, ToolRouterMCPServerConfig as lt, CustomToolkit as m, Oauth2ConnectionDataSchema as ma, MCPSingleAppServerSchema as mi, ToolkitConnectionState as mn, ToolkitVersionParam as mo, ConnectedAccountTypes as mr, ToolRouterProxyExecuteConfigSchema as mt, CreateCustomToolBaseSchema as n, Oauth1ExpiredConnectionDataSchema as na, MCPInstanceParams as ni, ToolRouterToolkitsOptions as nn, ToolListParamsSchema as no, ConnectedAccountRetrieveResponse as nr, ToolRouterHookPromptInjectionCheckHandlerSchema as nt, CreateLocalToolParams as o, Oauth1InactiveConnectionDataSchema as oa, MCPServerCreateResponse as oi, ToolRouterToolsParam as on, ToolProxyParamsSchema as oo, ConnectedAccountRevokedToken as or, ToolRouterInputResponse as ot, CustomToolWireDefinition as p, Oauth2ConnectionData as pa, MCPSingleAppServer as pi, ToolRouterUpdateSessionConfigSchema as pn, ToolkitVersion as po, ConnectedAccountTypeSchema as pr, ToolRouterProxyExecuteConfig as pt, ToolRouterConfigToolsSchema as q, Tool as qa, CustomOauth1ConnectionData as qi, ConnectedAccountExperimentalResponseSchema as qn, GenerateURLResponseSchema as qr, ToolRouterSessionSearchResponseSchema as qt, CreateCustomToolParams as r, Oauth1FailedConnectionData as ra, MCPMultiAppServer as ri, ToolRouterToolkitsOptionsSchema as rn, ToolListResponse as ro, ConnectedAccountRetrieveResponseSchema as rr, ToolRouterHookResult as rt, CreateLocalToolkitParams as s, Oauth1InitiatedConnectionData as sa, MCPServerCreateResponseSchema as si, ToolRouterToolsParamSchema as sn, ToolRetrievalOptions as so, ConnectedAccountRevokedTokenSchema as sr, ToolRouterInstant as st, AnyZodSchema as t, Oauth1ExpiredConnectionData as ta, MCPGetServerParamsSchema as ti, ToolRouterToolkitsFn as tn, ToolListParams as to, ConnectedAccountRefreshOptionsSchema as tr, ToolRouterHookPromptInjectionCheckHandler as tt, CustomToolExecuteFn as u, Oauth1InitiatingConnectionDataSchema as ua, MCPServerSchema as ui, ToolRouterUpdateManageConnectionsConfig as un, ToolkitLatestVersion as uo, ConnectedAccountStatusSchema as ur, ToolRouterMCPServerConfigSchema as ut, CustomToolsMap as v, Oauth2FailedConnectionDataSchema as va, McpDeleteResponse as vi, RemoteFile as vn, ToolkitVersionsSchema as vo, CreateConnectedAccountLinkResponseSchema as vr, ToolRouterSessionConfig as vt, LocalToolkit as w, Oauth2InitiatingConnectionDataSchema as wa, McpServerCreateResponse as wi, RemoteFileDataSchema as wn, CreateConnectedAccountResponseSchema as wr, ToolRouterSessionEnsureConnectedFn as wt, InlineCustomToolsWirePayload as x, Oauth2InitiatedConnectionData as xa, McpListResponseSchema as xi, FileListResponse as xn, CreateConnectedAccountParams as xr, ToolRouterSessionDeleteFn as xt, CustomToolsMapEntry as y, Oauth2InactiveConnectionData as ya, McpDeleteResponseSchema as yi, FileDeleteResponse as yn, CreateConnectedAccountOptions as yr, ToolRouterSessionConfigHistoryConfig as yt, SessionWithoutMcp as z, beforeExecuteMetaModifier as za, BaseConnectionFields as zi, ConnectedAccountAuthConfig as zn, ComposioMcpUpdateResponseSchema as zr, ToolRouterSessionMetadata as zt };