@composio/core 0.22.0 → 0.24.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 (49) hide show
  1. package/dist/{CustomTool-CKBCElpT.d.mts → CustomTool-CNJysHMK.d.mts} +1 -1
  2. package/dist/{CustomTool-B-_VjWpy.mjs → CustomTool-CnJxXr07.mjs} +1 -1
  3. package/dist/{cancellation-DV8CIi52.mjs → cancellation-BQibgpRG.mjs} +166 -34
  4. package/dist/{composio-C-418N1P.d.mts → composio-BFTtZj82.d.mts} +62 -80
  5. package/dist/{customTool.types-CK408sI-.d.mts → customTool.types-D57QrTns.d.mts} +309 -204
  6. package/dist/docs/reference/sdk-reference/typescript/logs.mdx +4 -4
  7. package/dist/docs/reference/sdk-reference/typescript/remote-file.mdx +1 -1
  8. package/dist/docs/reference/sdk-reference/typescript/session.mdx +2 -2
  9. package/dist/docs/reference/sdk-reference/typescript/tools.mdx +2 -2
  10. package/dist/docs/reference/sdk-reference/typescript/usage.mdx +2 -2
  11. package/dist/{errors-Dyiu3ifQ.mjs → errors-BN15NcCW.mjs} +34 -2
  12. package/dist/experimental/index.d.mts +2 -2
  13. package/dist/experimental/index.mjs +1 -1
  14. package/dist/index.d.mts +66 -4
  15. package/dist/index.mjs +3321 -3103
  16. package/dist/platform/node.d.mts +1 -1
  17. package/dist/platform/node.mjs +13 -0
  18. package/dist/platform/workerd.d.mts +1 -1
  19. package/dist/platform/workerd.mjs +3 -0
  20. package/dist/{types-D5A2wzBl.d.mts → types-DuVZKrXO.d.mts} +2 -0
  21. package/dist/{types-RpMRVn4D.d.mts → types-q8TwAngA.d.mts} +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  23. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  24. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  25. package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
  26. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  27. package/package.json +12 -9
  28. package/src/errors/ToolRouterErrors.ts +65 -0
  29. package/src/lib/toolRouterParams.ts +19 -13
  30. package/src/models/CustomToolkits.ts +1 -1
  31. package/src/models/MCP.ts +20 -1
  32. package/src/models/RemoteFile.ts +24 -5
  33. package/src/models/SessionContext.ts +24 -4
  34. package/src/models/ToolRouter.ts +6 -4
  35. package/src/models/ToolRouterSession.ts +95 -13
  36. package/src/models/Tools.ts +20 -36
  37. package/src/models/customToolExecution.ts +10 -0
  38. package/src/platform/node.ts +16 -0
  39. package/src/platform/types.ts +3 -0
  40. package/src/platform/workerd.ts +4 -0
  41. package/src/provider/BaseProvider.ts +2 -1
  42. package/src/types/tool.types.ts +5 -0
  43. package/src/types/toolRouter.types.ts +97 -26
  44. package/src/utils/jsonSchema.ts +191 -36
  45. package/src/utils/retries.ts +20 -0
  46. package/src/utils/safePath.ts +135 -54
  47. package/src/utils/session.ts +31 -2
  48. package/src/utils/transformers/toolRouterResponseTransform.ts +72 -27
  49. package/src/utils/transformers/usage.ts +1 -4
@@ -3,7 +3,7 @@ import z, { z as z$1 } from "zod/v3";
3
3
  import { z as z$2 } from "zod/v4";
4
4
  import { CustomCreateResponse, GenerateURLResponse, McpCreateResponse } from "@composio/client/resources/mcp";
5
5
  import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
6
- import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
6
+ import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse, SessionExecuteMetaParams } from "@composio/client/resources/tool-router/session/session.mjs";
7
7
  //#region src/types/tool.types.d.ts
8
8
  /**
9
9
  * Toolkit is the collection of tools,
@@ -3722,6 +3722,11 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3722
3722
  in: "query" | "header";
3723
3723
  }>, "many">>;
3724
3724
  connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
3725
+ /**
3726
+ * The user the connected account belongs to. Projects with 2FA enabled check it
3727
+ * against the connected account, and require it for orgs created on or after
3728
+ */
3729
+ userId: z$1.ZodOptional<z$1.ZodString>;
3725
3730
  /**
3726
3731
  * @deprecated
3727
3732
  */
@@ -6126,6 +6131,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
6126
6131
  [k: string]: unknown;
6127
6132
  };
6128
6133
  } | undefined;
6134
+ userId?: string | undefined;
6129
6135
  }, {
6130
6136
  endpoint: string;
6131
6137
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
@@ -6550,6 +6556,7 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
6550
6556
  [k: string]: unknown;
6551
6557
  };
6552
6558
  } | undefined;
6559
+ userId?: string | undefined;
6553
6560
  }>;
6554
6561
  type ToolProxyParams = z$1.infer<typeof ToolProxyParamsSchema>;
6555
6562
  type SchemaModifierOptions = {
@@ -30379,6 +30386,7 @@ declare class RemoteFile {
30379
30386
  * Requires a Node.js runtime with file system support (not available in Cloudflare Workers/Edge).
30380
30387
  *
30381
30388
  * @param path - Local path to save the file. If omitted, saves to the Composio temp directory using the filename from the mount path.
30389
+ * An existing default destination gets a copy number before its extension.
30382
30390
  * @returns The absolute path where the file was saved
30383
30391
  * @throws Error if file system is not supported or the save fails
30384
30392
  * @throws ValidationError if `path` is omitted and the mount path yields no usable filename
@@ -30615,6 +30623,12 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30615
30623
  * usage on a Session set to `false`.
30616
30624
  */
30617
30625
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
30626
+ /**
30627
+ * Experimental. Show each Instant tool's price in Session search
30628
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
30629
+ * Controls visibility only.
30630
+ */
30631
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
30618
30632
  }, "strict", z.ZodTypeAny, {
30619
30633
  tools?: Record<string, {
30620
30634
  enable: string[];
@@ -30627,6 +30641,7 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30627
30641
  enable: string[];
30628
30642
  } | undefined;
30629
30643
  returnInstantCharge?: boolean | undefined;
30644
+ returnPricesInSearch?: boolean | undefined;
30630
30645
  }, {
30631
30646
  tools?: Record<string, {
30632
30647
  enable: string[];
@@ -30639,6 +30654,7 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30639
30654
  enable: string[];
30640
30655
  } | undefined;
30641
30656
  returnInstantCharge?: boolean | undefined;
30657
+ returnPricesInSearch?: boolean | undefined;
30642
30658
  }>]>;
30643
30659
  type ToolRouterInstant = z.infer<typeof ToolRouterInstantSchema>;
30644
30660
  declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
@@ -30651,26 +30667,26 @@ declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
30651
30667
  enable?: boolean | undefined;
30652
30668
  callbackUrl?: string | undefined;
30653
30669
  }>;
30654
- declare const ToolRouterTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
30670
+ declare const ToolRouterTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
30655
30671
  declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
30656
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30657
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30672
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30673
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30658
30674
  }, "strict", z.ZodTypeAny, {
30659
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30660
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30675
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30676
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30661
30677
  }, {
30662
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30663
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30678
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30679
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30664
30680
  }>;
30665
- declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30666
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30667
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30681
+ declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30682
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30683
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30668
30684
  }, "strict", z.ZodTypeAny, {
30669
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30670
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30685
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30686
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30671
30687
  }, {
30672
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30673
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30688
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30689
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30674
30690
  }>]>;
30675
30691
  type ToolRouterConfigTags = z.infer<typeof ToolRouterConfigTagsSchema>;
30676
30692
  /**
@@ -30710,46 +30726,72 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
30710
30726
  }, {
30711
30727
  disable: string[];
30712
30728
  }>, z.ZodObject<{
30713
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30714
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30715
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30729
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30730
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30731
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30716
30732
  }, "strict", z.ZodTypeAny, {
30717
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30718
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30733
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30734
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30719
30735
  }, {
30720
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30721
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30736
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30737
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30722
30738
  }>]>;
30723
30739
  }, "strict", z.ZodTypeAny, {
30724
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30725
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30726
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30740
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30741
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30742
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30727
30743
  };
30728
30744
  }, {
30729
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30730
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30731
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30745
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30746
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30747
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30732
30748
  };
30733
30749
  }>]>, string[] | {
30734
30750
  enable: string[];
30735
30751
  } | {
30736
30752
  disable: string[];
30737
30753
  } | {
30738
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30739
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30740
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30754
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30755
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30756
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30741
30757
  };
30742
30758
  }, string[] | {
30743
30759
  enable: string[];
30744
30760
  } | {
30745
30761
  disable: string[];
30746
30762
  } | {
30747
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30748
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30749
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30763
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30764
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30765
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30750
30766
  };
30751
30767
  }>;
30752
30768
  type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
30769
+ /**
30770
+ * Proxy execute settings for a session. `enable: true` exposes the
30771
+ * `COMPOSIO_PROXY_EXECUTE` meta tool and `enable: false` also turns off the
30772
+ * sandbox `proxy_execute()` helper. Leaving the block out keeps the meta tool
30773
+ * off while `sandbox.enableProxyExecution` controls the helper.
30774
+ */
30775
+ declare const ToolRouterProxyExecuteConfigSchema: z.ZodObject<{
30776
+ enable: z.ZodBoolean;
30777
+ }, "strict", z.ZodTypeAny, {
30778
+ enable: boolean;
30779
+ }, {
30780
+ enable: boolean;
30781
+ }>;
30782
+ type ToolRouterProxyExecuteConfig = z.infer<typeof ToolRouterProxyExecuteConfigSchema>;
30783
+ /**
30784
+ * `proxyExecute` as accepted by `sessions.create()` and `session.update()`:
30785
+ * a boolean is shorthand for `{ enable: boolean }`.
30786
+ */
30787
+ declare const ToolRouterProxyExecuteSchema: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
30788
+ enable: z.ZodBoolean;
30789
+ }, "strict", z.ZodTypeAny, {
30790
+ enable: boolean;
30791
+ }, {
30792
+ enable: boolean;
30793
+ }>]>;
30794
+ type ToolRouterProxyExecute = z.infer<typeof ToolRouterProxyExecuteSchema>;
30753
30795
  declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
30754
30796
  sessionPreset: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"direct_tools">>>;
30755
30797
  mcp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -30766,54 +30808,54 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30766
30808
  }, {
30767
30809
  disable: string[];
30768
30810
  }>, z.ZodObject<{
30769
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30770
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30771
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30811
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30812
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30813
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30772
30814
  }, "strict", z.ZodTypeAny, {
30773
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30774
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30815
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30816
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30775
30817
  }, {
30776
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30777
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30818
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30819
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30778
30820
  }>]>;
30779
30821
  }, "strict", z.ZodTypeAny, {
30780
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30781
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30782
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30822
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30823
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30824
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30783
30825
  };
30784
30826
  }, {
30785
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30786
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30787
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30827
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30828
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30829
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30788
30830
  };
30789
30831
  }>]>, string[] | {
30790
30832
  enable: string[];
30791
30833
  } | {
30792
30834
  disable: string[];
30793
30835
  } | {
30794
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30795
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30796
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30836
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30837
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30838
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30797
30839
  };
30798
30840
  }, string[] | {
30799
30841
  enable: string[];
30800
30842
  } | {
30801
30843
  disable: string[];
30802
30844
  } | {
30803
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30804
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30805
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30845
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30846
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30847
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30806
30848
  };
30807
30849
  }>]>>>>;
30808
- tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30809
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30810
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30850
+ tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30851
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30852
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30811
30853
  }, "strict", z.ZodTypeAny, {
30812
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30813
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30854
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30855
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30814
30856
  }, {
30815
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30816
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30857
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30858
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30817
30859
  }>]>>>;
30818
30860
  toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
30819
30861
  disable: z.ZodArray<z.ZodString, "many">;
@@ -30861,6 +30903,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30861
30903
  * usage on a Session set to `false`.
30862
30904
  */
30863
30905
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
30906
+ /**
30907
+ * Experimental. Show each Instant tool's price in Session search
30908
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
30909
+ * Controls visibility only.
30910
+ */
30911
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
30864
30912
  }, "strict", z.ZodTypeAny, {
30865
30913
  tools?: Record<string, {
30866
30914
  enable: string[];
@@ -30873,6 +30921,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30873
30921
  enable: string[];
30874
30922
  } | undefined;
30875
30923
  returnInstantCharge?: boolean | undefined;
30924
+ returnPricesInSearch?: boolean | undefined;
30876
30925
  }, {
30877
30926
  tools?: Record<string, {
30878
30927
  enable: string[];
@@ -30885,6 +30934,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30885
30934
  enable: string[];
30886
30935
  } | undefined;
30887
30936
  returnInstantCharge?: boolean | undefined;
30937
+ returnPricesInSearch?: boolean | undefined;
30888
30938
  }>]>>>;
30889
30939
  authConfigs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
30890
30940
  connectedAccounts: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>;
@@ -30946,6 +30996,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30946
30996
  maxAccountsPerToolkit?: number | undefined;
30947
30997
  requireExplicitSelection?: boolean | undefined;
30948
30998
  }>>>;
30999
+ proxyExecute: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
31000
+ enable: z.ZodBoolean;
31001
+ }, "strict", z.ZodTypeAny, {
31002
+ enable: boolean;
31003
+ }, {
31004
+ enable: boolean;
31005
+ }>]>>>;
30949
31006
  preload: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30950
31007
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
30951
31008
  }, "strict", z.ZodTypeAny, {
@@ -30980,18 +31037,18 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30980
31037
  sessionConfigId?: string | undefined;
30981
31038
  }>>>;
30982
31039
  }, "strip", z.ZodTypeAny, {
30983
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30984
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30985
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31040
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31041
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31042
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30986
31043
  } | undefined;
30987
31044
  tools?: Record<string, string[] | {
30988
31045
  enable: string[];
30989
31046
  } | {
30990
31047
  disable: string[];
30991
31048
  } | {
30992
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30993
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30994
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31049
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31050
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31051
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30995
31052
  };
30996
31053
  }> | undefined;
30997
31054
  toolkits?: string[] | {
@@ -31016,6 +31073,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31016
31073
  enable: string[];
31017
31074
  } | undefined;
31018
31075
  returnInstantCharge?: boolean | undefined;
31076
+ returnPricesInSearch?: boolean | undefined;
31019
31077
  } | undefined;
31020
31078
  authConfigs?: Record<string, string> | undefined;
31021
31079
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31041,6 +31099,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31041
31099
  maxAccountsPerToolkit?: number | undefined;
31042
31100
  requireExplicitSelection?: boolean | undefined;
31043
31101
  } | undefined;
31102
+ proxyExecute?: boolean | {
31103
+ enable: boolean;
31104
+ } | undefined;
31044
31105
  experimental?: {
31045
31106
  assistivePrompt?: {
31046
31107
  userTimezone?: string | undefined;
@@ -31050,18 +31111,18 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31050
31111
  sessionConfigId?: string | undefined;
31051
31112
  } | undefined;
31052
31113
  }, {
31053
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31054
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31055
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31114
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31115
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31116
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31056
31117
  } | undefined;
31057
31118
  tools?: Record<string, string[] | {
31058
31119
  enable: string[];
31059
31120
  } | {
31060
31121
  disable: string[];
31061
31122
  } | {
31062
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31063
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31064
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31123
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31124
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31125
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31065
31126
  };
31066
31127
  }> | undefined;
31067
31128
  toolkits?: string[] | {
@@ -31086,6 +31147,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31086
31147
  enable: string[];
31087
31148
  } | undefined;
31088
31149
  returnInstantCharge?: boolean | undefined;
31150
+ returnPricesInSearch?: boolean | undefined;
31089
31151
  } | undefined;
31090
31152
  authConfigs?: Record<string, string> | undefined;
31091
31153
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31111,6 +31173,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31111
31173
  maxAccountsPerToolkit?: number | undefined;
31112
31174
  requireExplicitSelection?: boolean | undefined;
31113
31175
  } | undefined;
31176
+ proxyExecute?: boolean | {
31177
+ enable: boolean;
31178
+ } | undefined;
31114
31179
  experimental?: {
31115
31180
  assistivePrompt?: {
31116
31181
  userTimezone?: string | undefined;
@@ -31120,18 +31185,18 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31120
31185
  sessionConfigId?: string | undefined;
31121
31186
  } | undefined;
31122
31187
  }>, {
31123
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31124
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31125
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31188
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31189
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31190
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31126
31191
  } | undefined;
31127
31192
  tools?: Record<string, string[] | {
31128
31193
  enable: string[];
31129
31194
  } | {
31130
31195
  disable: string[];
31131
31196
  } | {
31132
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31133
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31134
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31197
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31198
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31199
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31135
31200
  };
31136
31201
  }> | undefined;
31137
31202
  toolkits?: string[] | {
@@ -31156,6 +31221,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31156
31221
  enable: string[];
31157
31222
  } | undefined;
31158
31223
  returnInstantCharge?: boolean | undefined;
31224
+ returnPricesInSearch?: boolean | undefined;
31159
31225
  } | undefined;
31160
31226
  authConfigs?: Record<string, string> | undefined;
31161
31227
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31181,6 +31247,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31181
31247
  maxAccountsPerToolkit?: number | undefined;
31182
31248
  requireExplicitSelection?: boolean | undefined;
31183
31249
  } | undefined;
31250
+ proxyExecute?: boolean | {
31251
+ enable: boolean;
31252
+ } | undefined;
31184
31253
  experimental?: {
31185
31254
  assistivePrompt?: {
31186
31255
  userTimezone?: string | undefined;
@@ -31190,18 +31259,18 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31190
31259
  sessionConfigId?: string | undefined;
31191
31260
  } | undefined;
31192
31261
  }, {
31193
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31194
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31195
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31262
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31263
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31264
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31196
31265
  } | undefined;
31197
31266
  tools?: Record<string, string[] | {
31198
31267
  enable: string[];
31199
31268
  } | {
31200
31269
  disable: string[];
31201
31270
  } | {
31202
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31203
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31204
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31271
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31272
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31273
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31205
31274
  };
31206
31275
  }> | undefined;
31207
31276
  toolkits?: string[] | {
@@ -31226,6 +31295,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31226
31295
  enable: string[];
31227
31296
  } | undefined;
31228
31297
  returnInstantCharge?: boolean | undefined;
31298
+ returnPricesInSearch?: boolean | undefined;
31229
31299
  } | undefined;
31230
31300
  authConfigs?: Record<string, string> | undefined;
31231
31301
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31251,6 +31321,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31251
31321
  maxAccountsPerToolkit?: number | undefined;
31252
31322
  requireExplicitSelection?: boolean | undefined;
31253
31323
  } | undefined;
31324
+ proxyExecute?: boolean | {
31325
+ enable: boolean;
31326
+ } | undefined;
31254
31327
  experimental?: {
31255
31328
  assistivePrompt?: {
31256
31329
  userTimezone?: string | undefined;
@@ -31260,18 +31333,18 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31260
31333
  sessionConfigId?: string | undefined;
31261
31334
  } | undefined;
31262
31335
  }>, {
31263
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31264
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31265
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31336
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31337
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31338
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31266
31339
  } | undefined;
31267
31340
  tools?: Record<string, string[] | {
31268
31341
  enable: string[];
31269
31342
  } | {
31270
31343
  disable: string[];
31271
31344
  } | {
31272
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31273
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31274
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31345
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31346
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31347
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31275
31348
  };
31276
31349
  }> | undefined;
31277
31350
  toolkits?: string[] | {
@@ -31296,6 +31369,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31296
31369
  enable: string[];
31297
31370
  } | undefined;
31298
31371
  returnInstantCharge?: boolean | undefined;
31372
+ returnPricesInSearch?: boolean | undefined;
31299
31373
  } | undefined;
31300
31374
  authConfigs?: Record<string, string> | undefined;
31301
31375
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31321,6 +31395,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31321
31395
  maxAccountsPerToolkit?: number | undefined;
31322
31396
  requireExplicitSelection?: boolean | undefined;
31323
31397
  } | undefined;
31398
+ proxyExecute?: boolean | {
31399
+ enable: boolean;
31400
+ } | undefined;
31324
31401
  experimental?: {
31325
31402
  assistivePrompt?: {
31326
31403
  userTimezone?: string | undefined;
@@ -31353,6 +31430,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31353
31430
  * @param {boolean} [multiAccount.enable] - When true, enables multi-account mode. Falls back to org/project-level config when not set.
31354
31431
  * @param {number} [multiAccount.maxAccountsPerToolkit] - Max connected accounts per toolkit (2-10, default 5)
31355
31432
  * @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
31433
+ * @param {boolean | object} [proxyExecute] - Proxy execute configuration for this session. A boolean is shorthand for `{ enable }`.
31434
+ * @param {boolean} proxyExecute.enable - `true` exposes the `COMPOSIO_PROXY_EXECUTE` meta tool. `false` also turns off the sandbox `proxy_execute()` helper.
31356
31435
  * @param {object} [preload] - Tools to preload into session.tools() and the MCP tool list
31357
31436
  * @param {string[] | 'all'} [preload.tools] - Tool slugs to preload, or "all" to preload every app tool allowed by the session filters. "all" requires a positive filter such as toolkits, tools, or tags; the backend validates and caps the final tool set.
31358
31437
  * @param {object} [experimental] - Experimental features configuration. Not stable; may change or be removed.
@@ -31772,10 +31851,32 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31772
31851
  /** Present when the toolkit runs on a Composio Instant account; only these tools run on it. */
31773
31852
  instantAccount: z.ZodOptional<z.ZodObject<{
31774
31853
  allowedToolSlugs: z.ZodArray<z.ZodString, "many">;
31854
+ /**
31855
+ * Price of each tool, keyed by tool slug. Present only when the Session
31856
+ * sets `instant.returnPricesInSearch`.
31857
+ */
31858
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31859
+ description: z.ZodOptional<z.ZodString>;
31860
+ discount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31861
+ }, "strip", z.ZodTypeAny, {
31862
+ description?: string | undefined;
31863
+ discount?: string | null | undefined;
31864
+ }, {
31865
+ description?: string | undefined;
31866
+ discount?: string | null | undefined;
31867
+ }>>>;
31775
31868
  }, "strip", z.ZodTypeAny, {
31776
31869
  allowedToolSlugs: string[];
31870
+ prices?: Record<string, {
31871
+ description?: string | undefined;
31872
+ discount?: string | null | undefined;
31873
+ }> | undefined;
31777
31874
  }, {
31778
31875
  allowedToolSlugs: string[];
31876
+ prices?: Record<string, {
31877
+ description?: string | undefined;
31878
+ discount?: string | null | undefined;
31879
+ }> | undefined;
31779
31880
  }>>;
31780
31881
  }, "strip", z.ZodTypeAny, {
31781
31882
  description: string;
@@ -31786,6 +31887,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31786
31887
  currentUserInfo?: Record<string, unknown> | undefined;
31787
31888
  instantAccount?: {
31788
31889
  allowedToolSlugs: string[];
31890
+ prices?: Record<string, {
31891
+ description?: string | undefined;
31892
+ discount?: string | null | undefined;
31893
+ }> | undefined;
31789
31894
  } | undefined;
31790
31895
  }, {
31791
31896
  description: string;
@@ -31796,6 +31901,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31796
31901
  currentUserInfo?: Record<string, unknown> | undefined;
31797
31902
  instantAccount?: {
31798
31903
  allowedToolSlugs: string[];
31904
+ prices?: Record<string, {
31905
+ description?: string | undefined;
31906
+ discount?: string | null | undefined;
31907
+ }> | undefined;
31799
31908
  } | undefined;
31800
31909
  }>, "many">;
31801
31910
  nextStepsGuidance: z.ZodArray<z.ZodString, "many">;
@@ -31870,6 +31979,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31870
31979
  currentUserInfo?: Record<string, unknown> | undefined;
31871
31980
  instantAccount?: {
31872
31981
  allowedToolSlugs: string[];
31982
+ prices?: Record<string, {
31983
+ description?: string | undefined;
31984
+ discount?: string | null | undefined;
31985
+ }> | undefined;
31873
31986
  } | undefined;
31874
31987
  }[];
31875
31988
  nextStepsGuidance: string[];
@@ -31928,6 +32041,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31928
32041
  currentUserInfo?: Record<string, unknown> | undefined;
31929
32042
  instantAccount?: {
31930
32043
  allowedToolSlugs: string[];
32044
+ prices?: Record<string, {
32045
+ description?: string | undefined;
32046
+ discount?: string | null | undefined;
32047
+ }> | undefined;
31931
32048
  } | undefined;
31932
32049
  }[];
31933
32050
  nextStepsGuidance: string[];
@@ -31947,17 +32064,25 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
31947
32064
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31948
32065
  error: z.ZodNullable<z.ZodString>;
31949
32066
  logId: z.ZodString;
32067
+ /**
32068
+ * Whether the tool ran and succeeded (`completed`) or ran and failed
32069
+ * (`failed`). A failed execution can carry a `null` or empty `error`, so
32070
+ * read this rather than `error` to tell the two apart.
32071
+ */
32072
+ resultType: z.ZodEnum<["completed", "failed"]>;
31950
32073
  /** Actual Instant usage charge when the Session opts into returning it. */
31951
32074
  instantCharge: z.ZodOptional<z.ZodUnknown>;
31952
32075
  }, "strip", z.ZodTypeAny, {
31953
32076
  data: Record<string, unknown>;
31954
32077
  error: string | null;
31955
32078
  logId: string;
32079
+ resultType: "completed" | "failed";
31956
32080
  instantCharge?: unknown;
31957
32081
  }, {
31958
32082
  data: Record<string, unknown>;
31959
32083
  error: string | null;
31960
32084
  logId: string;
32085
+ resultType: "completed" | "failed";
31961
32086
  instantCharge?: unknown;
31962
32087
  }>;
31963
32088
  type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
@@ -32018,73 +32143,22 @@ interface ToolRouterSessionExecuteOptions {
32018
32143
  */
32019
32144
  account?: string;
32020
32145
  }
32146
+ /**
32147
+ * Slug of a Composio meta tool (`COMPOSIO_*`) that `session.executeMeta()` can
32148
+ * run, for example `COMPOSIO_SEARCH_TOOLS`.
32149
+ */
32150
+ type ToolRouterSessionMetaToolSlug = SessionExecuteMetaParams['slug'];
32151
+ type ToolRouterSessionExecuteMetaFn = (slug: ToolRouterSessionMetaToolSlug, arguments_?: Record<string, unknown>, requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionExecuteResponse>;
32021
32152
  type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
32022
32153
  type ToolRouterSessionWorkbenchConfig = SessionCreateResponse.Config.Workbench;
32023
32154
  type ToolRouterSessionWarning = SessionCreateResponse.Warning;
32024
- /** Instant policy in the server's Session config (wire field casing). */
32025
- declare const ToolRouterInstantResponseSchema: z.ZodObject<{
32026
- toolkits: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
32027
- enabled: z.ZodArray<z.ZodString, "many">;
32028
- }, "strip", z.ZodTypeAny, {
32029
- enabled: string[];
32030
- }, {
32031
- enabled: string[];
32032
- }>, z.ZodObject<{
32033
- disabled: z.ZodArray<z.ZodString, "many">;
32034
- }, "strip", z.ZodTypeAny, {
32035
- disabled: string[];
32036
- }, {
32037
- disabled: string[];
32038
- }>]>>;
32039
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
32040
- enabled: z.ZodArray<z.ZodString, "many">;
32041
- }, "strip", z.ZodTypeAny, {
32042
- enabled: string[];
32043
- }, {
32044
- enabled: string[];
32045
- }>, z.ZodObject<{
32046
- disabled: z.ZodArray<z.ZodString, "many">;
32047
- }, "strip", z.ZodTypeAny, {
32048
- disabled: string[];
32049
- }, {
32050
- disabled: string[];
32051
- }>]>>>;
32052
- return_instant_charge: z.ZodBoolean;
32053
- }, "strip", z.ZodTypeAny, {
32054
- return_instant_charge: boolean;
32055
- tools?: Record<string, {
32056
- enabled: string[];
32057
- } | {
32058
- disabled: string[];
32059
- }> | undefined;
32060
- toolkits?: {
32061
- enabled: string[];
32062
- } | {
32063
- disabled: string[];
32064
- } | undefined;
32065
- }, {
32066
- return_instant_charge: boolean;
32067
- tools?: Record<string, {
32068
- enabled: string[];
32069
- } | {
32070
- disabled: string[];
32071
- }> | undefined;
32072
- toolkits?: {
32073
- enabled: string[];
32074
- } | {
32075
- disabled: string[];
32076
- } | undefined;
32077
- }>;
32078
- type ToolRouterInstantResponse = z.infer<typeof ToolRouterInstantResponseSchema>;
32079
32155
  /**
32080
32156
  * Server-side session configuration as returned by the API: toolkit/tool
32081
32157
  * allowlists, tags, auth configs, connected accounts, manage_connections,
32082
- * preload, sandbox (`workbench`), search, execute and Instant settings.
32083
- * The generated client still declares the old policy name.
32158
+ * preload, sandbox (`workbench`), search, execute, proxy execute and Instant
32159
+ * settings.
32084
32160
  */
32085
- type ToolRouterSessionConfig = Omit<SessionCreateResponse.Config, 'premium_usage'> & {
32086
- instant?: false | ToolRouterInstantResponse;
32087
- };
32161
+ type ToolRouterSessionConfig = SessionCreateResponse.Config;
32088
32162
  interface ToolRouterSessionMetadata {
32089
32163
  /** Present on every session built from an API response; the constructor synthesises a minimal config when absent. */
32090
32164
  config?: ToolRouterSessionConfig;
@@ -32253,6 +32327,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32253
32327
  * usage on a Session set to `false`.
32254
32328
  */
32255
32329
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
32330
+ /**
32331
+ * Experimental. Show each Instant tool's price in Session search
32332
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
32333
+ * Controls visibility only.
32334
+ */
32335
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
32256
32336
  }, "strict", z.ZodTypeAny, {
32257
32337
  tools?: Record<string, {
32258
32338
  enable: string[];
@@ -32265,6 +32345,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32265
32345
  enable: string[];
32266
32346
  } | undefined;
32267
32347
  returnInstantCharge?: boolean | undefined;
32348
+ returnPricesInSearch?: boolean | undefined;
32268
32349
  }, {
32269
32350
  tools?: Record<string, {
32270
32351
  enable: string[];
@@ -32277,6 +32358,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32277
32358
  enable: string[];
32278
32359
  } | undefined;
32279
32360
  returnInstantCharge?: boolean | undefined;
32361
+ returnPricesInSearch?: boolean | undefined;
32280
32362
  }>]>>>;
32281
32363
  toolkits: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
32282
32364
  disable: z.ZodArray<z.ZodString, "many">;
@@ -32304,54 +32386,54 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32304
32386
  }, {
32305
32387
  disable: string[];
32306
32388
  }>, z.ZodObject<{
32307
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32308
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32309
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32389
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32390
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32391
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32310
32392
  }, "strict", z.ZodTypeAny, {
32311
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32312
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32393
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32394
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32313
32395
  }, {
32314
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32315
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32396
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32397
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32316
32398
  }>]>;
32317
32399
  }, "strict", z.ZodTypeAny, {
32318
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32319
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32320
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32400
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32401
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32402
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32321
32403
  };
32322
32404
  }, {
32323
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32324
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32325
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32405
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32406
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32407
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32326
32408
  };
32327
32409
  }>]>, string[] | {
32328
32410
  enable: string[];
32329
32411
  } | {
32330
32412
  disable: string[];
32331
32413
  } | {
32332
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32333
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32334
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32414
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32415
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32416
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32335
32417
  };
32336
32418
  }, string[] | {
32337
32419
  enable: string[];
32338
32420
  } | {
32339
32421
  disable: string[];
32340
32422
  } | {
32341
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32342
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32343
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32423
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32424
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32425
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32344
32426
  };
32345
32427
  }>]>>>>>;
32346
- tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32347
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32348
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32428
+ tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32429
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32430
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32349
32431
  }, "strict", z.ZodTypeAny, {
32350
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32351
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32432
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32433
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32352
32434
  }, {
32353
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32354
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32435
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32436
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32355
32437
  }>]>>>>;
32356
32438
  authConfigs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32357
32439
  connectedAccounts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string[]>, Record<string, string | string[]>>>>>;
@@ -32416,6 +32498,13 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32416
32498
  maxAccountsPerToolkit?: number | null | undefined;
32417
32499
  requireExplicitSelection?: boolean | undefined;
32418
32500
  }>>>>;
32501
+ proxyExecute: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
32502
+ enable: z.ZodBoolean;
32503
+ }, "strict", z.ZodTypeAny, {
32504
+ enable: boolean;
32505
+ }, {
32506
+ enable: boolean;
32507
+ }>]>>>>;
32419
32508
  preload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
32420
32509
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
32421
32510
  }, "strict", z.ZodTypeAny, {
@@ -32483,18 +32572,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32483
32572
  }>>>>;
32484
32573
  expectedConfigVersion: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>>;
32485
32574
  }, "strip", z.ZodTypeAny, {
32486
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32487
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32488
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32575
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32576
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32577
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32489
32578
  } | null | undefined;
32490
32579
  tools?: Record<string, string[] | {
32491
32580
  enable: string[];
32492
32581
  } | {
32493
32582
  disable: string[];
32494
32583
  } | {
32495
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32496
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32497
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32584
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32585
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32586
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32498
32587
  };
32499
32588
  }> | null | undefined;
32500
32589
  toolkits?: string[] | {
@@ -32520,6 +32609,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32520
32609
  enable: string[];
32521
32610
  } | undefined;
32522
32611
  returnInstantCharge?: boolean | undefined;
32612
+ returnPricesInSearch?: boolean | undefined;
32523
32613
  } | undefined;
32524
32614
  authConfigs?: Record<string, string> | null | undefined;
32525
32615
  connectedAccounts?: Record<string, string[]> | null | undefined;
@@ -32546,6 +32636,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32546
32636
  maxAccountsPerToolkit?: number | null | undefined;
32547
32637
  requireExplicitSelection?: boolean | undefined;
32548
32638
  } | null | undefined;
32639
+ proxyExecute?: boolean | {
32640
+ enable: boolean;
32641
+ } | null | undefined;
32549
32642
  experimental?: {
32550
32643
  sessionConfigId?: string | undefined;
32551
32644
  permissions?: {
@@ -32563,18 +32656,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32563
32656
  } | null | undefined;
32564
32657
  expectedConfigVersion?: number | false | undefined;
32565
32658
  }, {
32566
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32567
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32568
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32659
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32660
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32661
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32569
32662
  } | null | undefined;
32570
32663
  tools?: Record<string, string[] | {
32571
32664
  enable: string[];
32572
32665
  } | {
32573
32666
  disable: string[];
32574
32667
  } | {
32575
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32576
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32577
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32668
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32669
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32670
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32578
32671
  };
32579
32672
  }> | null | undefined;
32580
32673
  toolkits?: string[] | {
@@ -32600,6 +32693,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32600
32693
  enable: string[];
32601
32694
  } | undefined;
32602
32695
  returnInstantCharge?: boolean | undefined;
32696
+ returnPricesInSearch?: boolean | undefined;
32603
32697
  } | undefined;
32604
32698
  authConfigs?: Record<string, string> | null | undefined;
32605
32699
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
@@ -32626,6 +32720,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32626
32720
  maxAccountsPerToolkit?: number | null | undefined;
32627
32721
  requireExplicitSelection?: boolean | undefined;
32628
32722
  } | null | undefined;
32723
+ proxyExecute?: boolean | {
32724
+ enable: boolean;
32725
+ } | null | undefined;
32629
32726
  experimental?: {
32630
32727
  sessionConfigId?: string | undefined;
32631
32728
  permissions?: {
@@ -32643,18 +32740,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32643
32740
  } | null | undefined;
32644
32741
  expectedConfigVersion?: number | false | undefined;
32645
32742
  }>, {
32646
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32647
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32648
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32743
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32744
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32745
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32649
32746
  } | null | undefined;
32650
32747
  tools?: Record<string, string[] | {
32651
32748
  enable: string[];
32652
32749
  } | {
32653
32750
  disable: string[];
32654
32751
  } | {
32655
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32656
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32657
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32752
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32753
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32754
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32658
32755
  };
32659
32756
  }> | null | undefined;
32660
32757
  toolkits?: string[] | {
@@ -32680,6 +32777,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32680
32777
  enable: string[];
32681
32778
  } | undefined;
32682
32779
  returnInstantCharge?: boolean | undefined;
32780
+ returnPricesInSearch?: boolean | undefined;
32683
32781
  } | undefined;
32684
32782
  authConfigs?: Record<string, string> | null | undefined;
32685
32783
  connectedAccounts?: Record<string, string[]> | null | undefined;
@@ -32706,6 +32804,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32706
32804
  maxAccountsPerToolkit?: number | null | undefined;
32707
32805
  requireExplicitSelection?: boolean | undefined;
32708
32806
  } | null | undefined;
32807
+ proxyExecute?: boolean | {
32808
+ enable: boolean;
32809
+ } | null | undefined;
32709
32810
  experimental?: {
32710
32811
  sessionConfigId?: string | undefined;
32711
32812
  permissions?: {
@@ -32723,18 +32824,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32723
32824
  } | null | undefined;
32724
32825
  expectedConfigVersion?: number | false | undefined;
32725
32826
  }, {
32726
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32727
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32728
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32827
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32828
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32829
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32729
32830
  } | null | undefined;
32730
32831
  tools?: Record<string, string[] | {
32731
32832
  enable: string[];
32732
32833
  } | {
32733
32834
  disable: string[];
32734
32835
  } | {
32735
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32736
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32737
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32836
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32837
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32838
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32738
32839
  };
32739
32840
  }> | null | undefined;
32740
32841
  toolkits?: string[] | {
@@ -32760,6 +32861,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32760
32861
  enable: string[];
32761
32862
  } | undefined;
32762
32863
  returnInstantCharge?: boolean | undefined;
32864
+ returnPricesInSearch?: boolean | undefined;
32763
32865
  } | undefined;
32764
32866
  authConfigs?: Record<string, string> | null | undefined;
32765
32867
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
@@ -32786,6 +32888,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32786
32888
  maxAccountsPerToolkit?: number | null | undefined;
32787
32889
  requireExplicitSelection?: boolean | undefined;
32788
32890
  } | null | undefined;
32891
+ proxyExecute?: boolean | {
32892
+ enable: boolean;
32893
+ } | null | undefined;
32789
32894
  experimental?: {
32790
32895
  sessionConfigId?: string | undefined;
32791
32896
  permissions?: {
@@ -32858,9 +32963,7 @@ type ToolRouterSessionListConfigHistoryOptions = z.infer<typeof ToolRouterSessio
32858
32963
  * The session configuration at one version, as stored by the API. This is
32859
32964
  * the wire shape (snake_case), with the Instant policy under `instant`.
32860
32965
  */
32861
- type ToolRouterSessionConfigHistoryConfig = Omit<SessionConfigHistoryResponse.Item.Config, 'premium_usage'> & {
32862
- instant?: false | ToolRouterInstantResponse;
32863
- };
32966
+ type ToolRouterSessionConfigHistoryConfig = SessionConfigHistoryResponse.Item.Config;
32864
32967
  type ToolRouterSessionConfigHistoryItem = {
32865
32968
  /** The config version this entry represents. */
32866
32969
  version: number;
@@ -32990,6 +33093,8 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
32990
33093
  search: ToolRouterSessionSearchFn;
32991
33094
  /** Execute a tool within the session */
32992
33095
  execute: ToolRouterSessionExecuteFn;
33096
+ /** Execute a Composio meta tool (`COMPOSIO_*`) within the session */
33097
+ executeMeta: ToolRouterSessionExecuteMetaFn;
32993
33098
  /** Update the session configuration. Mutates this session in-place and resolves to the updated `config`. */
32994
33099
  update: ToolRouterSessionUpdateFn;
32995
33100
  /** Delete the session. Deleted sessions are no longer retrievable or executable. */
@@ -33212,4 +33317,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
33212
33317
  /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
33213
33318
  type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
33214
33319
  //#endregion
33215
- export { ToolRouterSessionDeleteFn as $, Oauth2RevokedConnectionData as $i, DefaultCreateConnectedAccountParamsSchema as $n, McpServerGetResponse as $r, ToolRouterSessionFilesMountDeleteOptionsSchema as $t, SessionProxyExecuteParams as A, ToolListParamsSchema as Aa, Oauth1ExpiredConnectionDataSchema as Ai, ConnectedAccountRetrieveResponse as An, MCPInstanceParams as Ar, ToolRouterToolkitsOptionsSchema as At, ToolRouterCreateSessionConfigSchema as B, ToolkitSchema as Ba, Oauth2ActiveConnectionDataSchema as Bi, ConnectedAccountType as Bn, MCPServerUpdateParamsSchema as Br, ToolRouterUpdateSessionConfigSchema as Bt, MCPServerType as C, ToolExecuteMetaParamsSchema as Ca, CustomOauth2ConnectionData as Ci, ConnectedAccountListParams as Cn, MCPAuthOptions as Cr, ToolRouterSessionWorkbenchConfig as Ct, Session as D, ToolExecuteResponseSchema as Da, Oauth1ConnectionData as Di, ConnectedAccountListResponseSchema as Dn, MCPGenerateURLParamsSchema as Dr, ToolRouterToolkitsEnabledConfigSchema as Dt, SandboxSizeSchema as E, ToolExecuteResponse as Ea, Oauth1ActiveConnectionDataSchema as Ei, ConnectedAccountListResponseItem as En, MCPGenerateURLParams as Er, ToolRouterToolkitsDisabledConfigSchema as Et, ToolRouterConfigTags as F, ToolRetrievalOptions as Fa, Oauth1InitiatedConnectionData as Fi, ConnectedAccountRevokedTokenSchema as Fn, MCPServerCreateResponseSchema as Fr, ToolRouterUpdateExperimentalConfig as Ft, ToolRouterMCPServerConfig as G, ToolkitVersions as Ga, Oauth2FailedConnectionData as Gi, CreateConnectedAccountLinkResponse as Gn, MCPToolkitConfigsArraySchema as Gr, RemoteFile as Gt, ToolRouterInstantResponse as H, ToolkitVersionParam as Ha, Oauth2ConnectionDataSchema as Hi, ConnectedAccountTypes as Hn, MCPSingleAppServerSchema as Hr, ToolkitConnectionStateSchema as Ht, ToolRouterConfigTagsSchema as I, ToolSchema as Ia, Oauth1InitiatedConnectionDataSchema as Ii, ConnectedAccountStatus as In, MCPServerListResponse as Ir, ToolRouterUpdateExperimentalSchema as It, ToolRouterSandboxConfig as J, Oauth2InactiveConnectionDataSchema as Ji, CreateConnectedAccountOptionsSchema as Jn, McpListResponse as Jr, FileListResponse as Jt, ToolRouterMCPServerConfigSchema as K, ToolkitVersionsSchema as Ka, Oauth2FailedConnectionDataSchema as Ki, CreateConnectedAccountLinkResponseSchema as Kn, McpDeleteResponse as Kr, FileDeleteResponse as Kt, ToolRouterConfigTools as L, Toolkit as La, Oauth1InitiatingConnectionData as Li, ConnectedAccountStatusEnum as Ln, MCPServerListResponseSchema as Lr, ToolRouterUpdateManageConnectionsConfig as Lt, SessionWithoutMcp as M, ToolListResponseSchema as Ma, Oauth1FailedConnectionDataSchema as Mi, ConnectedAccountRevokeResponse as Mn, MCPMultiAppServerSchema as Mr, ToolRouterToolsFn as Mt, ToolRouterAuthorizeFn as N, ToolProxyParams as Na, Oauth1InactiveConnectionData as Ni, ConnectedAccountRevokeResponseSchema as Nn, MCPServer as Nr, ToolRouterToolsParam as Nt, SessionExperimental as O, ToolList as Oa, Oauth1ConnectionDataSchema as Oi, ConnectedAccountRefreshOptions as On, MCPGetServerParams as Or, ToolRouterToolkitsFn as Ot, ToolRouterConfigManageConnectionsSchema as P, ToolProxyParamsSchema as Pa, Oauth1InactiveConnectionDataSchema as Pi, ConnectedAccountRevokedToken as Pn, MCPServerCreateResponse as Pr, ToolRouterToolsParamSchema as Pt, ToolRouterSessionConfigHistoryItem as Q, Oauth2InitiatingConnectionDataSchema as Qi, CreateConnectedAccountResponseSchema as Qn, McpServerCreateResponse as Qr, ToolRouterSessionFilesMountDeleteOptions as Qt, ToolRouterConfigToolsSchema as R, ToolkitLatestVersion as Ra, Oauth1InitiatingConnectionDataSchema as Ri, ConnectedAccountStatusSchema as Rn, MCPServerSchema as Rr, ToolRouterUpdateManageConnectionsSchema as Rt, SessionContext as S, ToolExecuteMetaParams as Sa, CustomOauth1ConnectionDataSchema as Si, ConnectedAccountExperimentalSchema as Sn, GenerateURLResponseValidated as Sr, ToolRouterSessionWarning as St, SandboxSize as T, ToolExecuteParamsSchema as Ta, Oauth1ActiveConnectionData as Ti, ConnectedAccountListResponse as Tn, MCPCreateMethodResponse as Tr, ToolRouterTagsParamSchema as Tt, ToolRouterInstantResponseSchema as U, ToolkitVersionParamSchema as Ua, Oauth2ExpiredConnectionData as Ui, CreateConnectedAccountLinkOptions as Un, MCPToolkitConfig as Ur, ToolkitConnectionsDetails as Ut, ToolRouterInstant as V, ToolkitVersion as Va, Oauth2ConnectionData as Vi, ConnectedAccountTypeSchema as Vn, MCPSingleAppServer as Vr, ToolkitConnectionState as Vt, ToolRouterInstantSchema as W, ToolkitVersionSchema as Wa, Oauth2ExpiredConnectionDataSchema as Wi, CreateConnectedAccountLinkOptionsSchema as Wn, MCPToolkitConfigSchema as Wr, ToolkitConnectionsDetailsSchema as Wt, ToolRouterSessionConfig as X, Oauth2InitiatedConnectionDataSchema as Xi, CreateConnectedAccountParamsSchema as Xn, McpRetrieveResponse as Xr, RemoteFileData as Xt, ToolRouterSandboxConfigSchema as Y, Oauth2InitiatedConnectionData as Yi, CreateConnectedAccountParams as Yn, McpListResponseSchema as Yr, FileListResponseSchema as Yt, ToolRouterSessionConfigHistoryConfig as Z, Oauth2InitiatingConnectionData as Zi, CreateConnectedAccountResponse as Zn, McpRetrieveResponseSchema as Zr, RemoteFileDataSchema as Zt, CustomToolsMapEntry as _, CustomAuthParamsSchema as _a, ConnectionStatusEnum as _i, ConnectedAccountCompleteAuthResponse as _n, CustomCreateResponseValidated as _r, ToolRouterSessionProxyExecuteResponse as _t, CreateCustomToolkitParams as a, MetaToolArguments as aa, McpUrlResponseCamelCase as ai, ToolRouterSessionFilesMountUploadOptionsSchema as an, BaseComposioProvider as ar, ToolRouterSessionEnsureConnectedResult as at, RegisteredCustomTool as b, SchemaModifierOptions as ba, CustomConnectionDataSchema as bi, ConnectedAccountExperimentalResponse as bn, GenerateURLResponse$1 as br, ToolRouterSessionSearchResponseSchema as bt, CustomToolExecuteFn as c, SessionMetaToolOptions as ca, ExecuteToolFnOptions as ci, ConnectionRequestState as cn, ComposioGenerateURLParamsSchema as cr, ToolRouterSessionExecuteResponse as ct, CustomToolWireDefinition as d, afterExecuteMetaModifier as da, ToolCallExecutionTarget as di, ConnectedAccountAclConfigResponseSchema as dn, ComposioMcpListResponseSchema as dr, ToolRouterSessionListConfigHistoryOptions as dt, Oauth2RevokedConnectionDataSchema as ea, McpServerUrlInfo as ei, ToolRouterSessionFilesMountDownloadOptions as en, UpdateConnectedAccountAclParams as er, ToolRouterSessionDeleteResponse as et, CustomToolkit as f, afterExecuteModifier as fa, ToolCallSession as fi, ConnectedAccountAclConfigSchema as fn, ComposioMcpRetrieveResponseSchema as fr, ToolRouterSessionListConfigHistoryOptionsSchema as ft, CustomToolsMap as g, CustomAuthParams as ga, ConnectionDataSchema as gi, ConnectedAccountCompleteAuthParamsSchema as gn, CustomCreateResponseSchema as gr, ToolRouterSessionProxyExecuteFn as gt, CustomToolkitWireDefinition as h, beforeFileUploadModifier as ha, ConnectionData as hi, ConnectedAccountCompleteAuthParams as hn, CustomCreateResponse$1 as hr, ToolRouterSessionPreloadConfig as ht, CreateCustomToolkitBaseSchema as i, ExecuteToolModifiers as ia, McpUrlResponse as ii, ToolRouterSessionFilesMountUploadOptions as in, BaseAgenticProvider as ir, ToolRouterSessionEnsureConnectedOptionsSchema as it, SessionProxyExecuteParamsSchema as j, ToolListResponse as ja, Oauth1FailedConnectionData as ji, ConnectedAccountRetrieveResponseSchema as jn, MCPMultiAppServer as jr, ToolRouterToolkitsParamSchema as jt, SessionPreset as k, ToolListParams as ka, Oauth1ExpiredConnectionData as ki, ConnectedAccountRefreshOptionsSchema as kn, MCPGetServerParamsSchema as kr, ToolRouterToolkitsOptions as kt, CustomToolResponse as l, ToolOptions as la, GlobalExecuteToolFn as li, ConnectedAccountAclConfig as ln, ComposioGenerateURLResponseSchema as lr, ToolRouterSessionExecuteResponseSchema as lt, CustomToolkitResponse as m, beforeExecuteModifier as ma, BillcomAuthConnectionDataSchema as mi, ConnectedAccountAuthConfigSchema as mn, ConnectionStatus as mr, ToolRouterSessionMetadata as mt, CreateCustomToolBaseSchema as n, AgenticToolOptions as na, McpUpdateResponse as ni, ToolRouterSessionFilesMountListOptions as nn, UpdateConnectedAccountParams as nr, ToolRouterSessionEnsureConnectedFn as nt, CustomTool as o, ProviderOptions as oa, McpUserConnectionStatus as oi, ComposioRequestOptions as on, BaseNonAgenticProvider as or, ToolRouterSessionExecuteFn as ot, CustomToolkitDefinition as p, beforeExecuteMetaModifier as pa, BaseConnectionFields as pi, ConnectedAccountAuthConfig as pn, ComposioMcpUpdateResponseSchema as pr, ToolRouterSessionListConfigHistoryResponse as pt, ToolRouterManageConnectionsConfigSchema as q, Oauth2InactiveConnectionData as qi, CreateConnectedAccountOptions as qn, McpDeleteResponseSchema as qr, FileDeleteResponseSchema as qt, CreateCustomToolParams as r, BeforeFileUploadSource as ra, McpUpdateResponseSchema as ri, ToolRouterSessionFilesMountListOptionsSchema as rn, UpdateConnectedAccountParamsSchema as rr, ToolRouterSessionEnsureConnectedOptions as rt, CustomToolDefinition as s, SessionExecuteMetaModifiers as sa, ExecuteToolFn as si, ConnectionRequest as sn, ComposioCustomCreateResponseSchema as sr, ToolRouterSessionExecuteOptions as st, AnyZodSchema as t, RedirectableAuthSchemeSchema as ta, McpToolkitConnectionStatus as ti, ToolRouterSessionFilesMountDownloadOptionsSchema as tn, UpdateConnectedAccountAclParamsSchema as tr, ToolRouterSessionDeleteResponseSchema as tt, CustomToolSlugSchema as u, TransformToolSchemaModifier as ua, Provider as ui, ConnectedAccountAclConfigResponse as un, ComposioMcpDeleteResponseSchema as ur, ToolRouterSessionListConfigHistoryFn as ut, InferZodSchema as v, JSONSchemaProperty as va, ConnectionStatuses as vi, ConnectedAccountCompleteAuthResponseSchema as vn, GenerateURLParams as vr, ToolRouterSessionSearchFn as vt, MCPServerTypeSchema as w, ToolExecuteParams as wa, CustomOauth2ConnectionDataSchema as wi, ConnectedAccountListParamsSchema as wn, MCPAuthOptionsSchema as wr, ToolRouterTagsEnableDisableSchema as wt, RegisteredCustomToolkit as x, Tool as xa, CustomOauth1ConnectionData as xi, ConnectedAccountExperimentalResponseSchema as xn, GenerateURLResponseSchema as xr, ToolRouterSessionUpdateFn as xt, InlineCustomToolsWirePayload as y, JSONSchemaPropertySchema as ya, CustomConnectionData as yi, ConnectedAccountExperimental as yn, GenerateURLParamsSchema as yr, ToolRouterSessionSearchResponse as yt, ToolRouterCreateSessionConfig as z, ToolkitLatestVersionSchema as za, Oauth2ActiveConnectionData as zi, ConnectedAccountStatuses as zn, MCPServerUpdateParams as zr, ToolRouterUpdateSessionConfig as zt };
33320
+ export { ToolRouterSessionConfigHistoryConfig as $, Oauth2InitiatedConnectionData as $i, CreateConnectedAccountParams as $n, McpListResponseSchema as $r, FileListResponseSchema as $t, SessionProxyExecuteParams as A, ToolExecuteResponse as Aa, Oauth1ActiveConnectionDataSchema as Ai, ConnectedAccountListResponseItem as An, MCPGenerateURLParams as Ar, ToolRouterToolkitsDisabledConfigSchema as At, ToolRouterCreateSessionConfigSchema as B, ToolSchema as Ba, Oauth1InitiatedConnectionDataSchema as Bi, ConnectedAccountStatus as Bn, MCPServerListResponse as Br, ToolRouterUpdateExperimentalSchema as Bt, MCPServerType as C, JSONSchemaPropertySchema as Ca, CustomConnectionData as Ci, ConnectedAccountExperimental as Cn, GenerateURLParamsSchema as Cr, ToolRouterSessionSearchResponse as Ct, Session as D, ToolExecuteMetaParamsSchema as Da, CustomOauth2ConnectionData as Di, ConnectedAccountListParams as Dn, MCPAuthOptions as Dr, ToolRouterSessionWorkbenchConfig as Dt, SandboxSizeSchema as E, ToolExecuteMetaParams as Ea, CustomOauth1ConnectionDataSchema as Ei, ConnectedAccountExperimentalSchema as En, GenerateURLResponseValidated as Er, ToolRouterSessionWarning as Et, ToolRouterConfigTags as F, ToolListResponse as Fa, Oauth1FailedConnectionData as Fi, ConnectedAccountRetrieveResponseSchema as Fn, MCPMultiAppServer as Fr, ToolRouterToolkitsParamSchema as Ft, ToolRouterManageConnectionsConfigSchema as G, ToolkitVersion as Ga, Oauth2ConnectionData as Gi, ConnectedAccountTypeSchema as Gn, MCPSingleAppServer as Gr, ToolkitConnectionState as Gt, ToolRouterInstantSchema as H, ToolkitLatestVersion as Ha, Oauth1InitiatingConnectionDataSchema as Hi, ConnectedAccountStatusSchema as Hn, MCPServerSchema as Hr, ToolRouterUpdateManageConnectionsSchema as Ht, ToolRouterConfigTagsSchema as I, ToolListResponseSchema as Ia, Oauth1FailedConnectionDataSchema as Ii, ConnectedAccountRevokeResponse as In, MCPMultiAppServerSchema as Ir, ToolRouterToolsFn as It, ToolRouterProxyExecuteConfigSchema as J, ToolkitVersionSchema as Ja, Oauth2ExpiredConnectionDataSchema as Ji, CreateConnectedAccountLinkOptionsSchema as Jn, MCPToolkitConfigSchema as Jr, ToolkitConnectionsDetailsSchema as Jt, ToolRouterProxyExecute as K, ToolkitVersionParam as Ka, Oauth2ConnectionDataSchema as Ki, ConnectedAccountTypes as Kn, MCPSingleAppServerSchema as Kr, ToolkitConnectionStateSchema as Kt, ToolRouterConfigTools as L, ToolProxyParams as La, Oauth1InactiveConnectionData as Li, ConnectedAccountRevokeResponseSchema as Ln, MCPServer as Lr, ToolRouterToolsParam as Lt, SessionWithoutMcp as M, ToolList as Ma, Oauth1ConnectionDataSchema as Mi, ConnectedAccountRefreshOptions as Mn, MCPGetServerParams as Mr, ToolRouterToolkitsFn as Mt, ToolRouterAuthorizeFn as N, ToolListParams as Na, Oauth1ExpiredConnectionData as Ni, ConnectedAccountRefreshOptionsSchema as Nn, MCPGetServerParamsSchema as Nr, ToolRouterToolkitsOptions as Nt, SessionExperimental as O, ToolExecuteParams as Oa, CustomOauth2ConnectionDataSchema as Oi, ConnectedAccountListParamsSchema as On, MCPAuthOptionsSchema as Or, ToolRouterTagsEnableDisableSchema as Ot, ToolRouterConfigManageConnectionsSchema as P, ToolListParamsSchema as Pa, Oauth1ExpiredConnectionDataSchema as Pi, ConnectedAccountRetrieveResponse as Pn, MCPInstanceParams as Pr, ToolRouterToolkitsOptionsSchema as Pt, ToolRouterSessionConfig as Q, Oauth2InactiveConnectionDataSchema as Qi, CreateConnectedAccountOptionsSchema as Qn, McpListResponse as Qr, FileListResponse as Qt, ToolRouterConfigToolsSchema as R, ToolProxyParamsSchema as Ra, Oauth1InactiveConnectionDataSchema as Ri, ConnectedAccountRevokedToken as Rn, MCPServerCreateResponse as Rr, ToolRouterToolsParamSchema as Rt, SessionContext as S, JSONSchemaProperty as Sa, ConnectionStatuses as Si, ConnectedAccountCompleteAuthResponseSchema as Sn, GenerateURLParams as Sr, ToolRouterSessionSearchFn as St, SandboxSize as T, Tool as Ta, CustomOauth1ConnectionData as Ti, ConnectedAccountExperimentalResponseSchema as Tn, GenerateURLResponseSchema as Tr, ToolRouterSessionUpdateFn as Tt, ToolRouterMCPServerConfig as U, ToolkitLatestVersionSchema as Ua, Oauth2ActiveConnectionData as Ui, ConnectedAccountStatuses as Un, MCPServerUpdateParams as Ur, ToolRouterUpdateSessionConfig as Ut, ToolRouterInstant as V, Toolkit as Va, Oauth1InitiatingConnectionData as Vi, ConnectedAccountStatusEnum as Vn, MCPServerListResponseSchema as Vr, ToolRouterUpdateManageConnectionsConfig as Vt, ToolRouterMCPServerConfigSchema as W, ToolkitSchema as Wa, Oauth2ActiveConnectionDataSchema as Wi, ConnectedAccountType as Wn, MCPServerUpdateParamsSchema as Wr, ToolRouterUpdateSessionConfigSchema as Wt, ToolRouterSandboxConfig as X, ToolkitVersionsSchema as Xa, Oauth2FailedConnectionDataSchema as Xi, CreateConnectedAccountLinkResponseSchema as Xn, McpDeleteResponse as Xr, FileDeleteResponse as Xt, ToolRouterProxyExecuteSchema as Y, ToolkitVersions as Ya, Oauth2FailedConnectionData as Yi, CreateConnectedAccountLinkResponse as Yn, MCPToolkitConfigsArraySchema as Yr, RemoteFile as Yt, ToolRouterSandboxConfigSchema as Z, Oauth2InactiveConnectionData as Zi, CreateConnectedAccountOptions as Zn, McpDeleteResponseSchema as Zr, FileDeleteResponseSchema as Zt, CustomToolsMapEntry as _, beforeExecuteMetaModifier as _a, BaseConnectionFields as _i, ConnectedAccountAuthConfig as _n, ComposioMcpUpdateResponseSchema as _r, ToolRouterSessionMetaToolSlug as _t, CreateCustomToolkitParams as a, RedirectableAuthSchemeSchema as aa, McpToolkitConnectionStatus as ai, ToolRouterSessionFilesMountDownloadOptionsSchema as an, UpdateConnectedAccountAclParamsSchema as ar, ToolRouterSessionEnsureConnectedOptions as at, RegisteredCustomTool as b, CustomAuthParams as ba, ConnectionDataSchema as bi, ConnectedAccountCompleteAuthParamsSchema as bn, CustomCreateResponseSchema as br, ToolRouterSessionProxyExecuteFn as bt, CustomToolExecuteFn as c, ExecuteToolModifiers as ca, McpUrlResponse as ci, ToolRouterSessionFilesMountUploadOptions as cn, BaseAgenticProvider as cr, ToolRouterSessionExecuteFn as ct, CustomToolWireDefinition as d, SessionExecuteMetaModifiers as da, ExecuteToolFn as di, ConnectionRequest as dn, ComposioCustomCreateResponseSchema as dr, ToolRouterSessionExecuteResponse as dt, Oauth2InitiatedConnectionDataSchema as ea, McpRetrieveResponse as ei, RemoteFileData as en, CreateConnectedAccountParamsSchema as er, ToolRouterSessionConfigHistoryItem as et, CustomToolkit as f, SessionMetaToolOptions as fa, ExecuteToolFnOptions as fi, ConnectionRequestState as fn, ComposioGenerateURLParamsSchema as fr, ToolRouterSessionExecuteResponseSchema as ft, CustomToolsMap as g, afterExecuteModifier as ga, ToolCallSession as gi, ConnectedAccountAclConfigSchema as gn, ComposioMcpRetrieveResponseSchema as gr, ToolRouterSessionListConfigHistoryResponse as gt, CustomToolkitWireDefinition as h, afterExecuteMetaModifier as ha, ToolCallExecutionTarget as hi, ConnectedAccountAclConfigResponseSchema as hn, ComposioMcpListResponseSchema as hr, ToolRouterSessionListConfigHistoryOptionsSchema as ht, CreateCustomToolkitBaseSchema as i, Oauth2RevokedConnectionDataSchema as ia, McpServerUrlInfo as ii, ToolRouterSessionFilesMountDownloadOptions as in, UpdateConnectedAccountAclParams as ir, ToolRouterSessionEnsureConnectedFn as it, SessionProxyExecuteParamsSchema as j, ToolExecuteResponseSchema as ja, Oauth1ConnectionData as ji, ConnectedAccountListResponseSchema as jn, MCPGenerateURLParamsSchema as jr, ToolRouterToolkitsEnabledConfigSchema as jt, SessionPreset as k, ToolExecuteParamsSchema as ka, Oauth1ActiveConnectionData as ki, ConnectedAccountListResponse as kn, MCPCreateMethodResponse as kr, ToolRouterTagsParamSchema as kt, CustomToolResponse as l, MetaToolArguments as la, McpUrlResponseCamelCase as li, ToolRouterSessionFilesMountUploadOptionsSchema as ln, BaseComposioProvider as lr, ToolRouterSessionExecuteMetaFn as lt, CustomToolkitResponse as m, TransformToolSchemaModifier as ma, Provider as mi, ConnectedAccountAclConfigResponse as mn, ComposioMcpDeleteResponseSchema as mr, ToolRouterSessionListConfigHistoryOptions as mt, CreateCustomToolBaseSchema as n, Oauth2InitiatingConnectionDataSchema as na, McpServerCreateResponse as ni, ToolRouterSessionFilesMountDeleteOptions as nn, CreateConnectedAccountResponseSchema as nr, ToolRouterSessionDeleteResponse as nt, CustomTool as o, AgenticToolOptions as oa, McpUpdateResponse as oi, ToolRouterSessionFilesMountListOptions as on, UpdateConnectedAccountParams as or, ToolRouterSessionEnsureConnectedOptionsSchema as ot, CustomToolkitDefinition as p, ToolOptions as pa, GlobalExecuteToolFn as pi, ConnectedAccountAclConfig as pn, ComposioGenerateURLResponseSchema as pr, ToolRouterSessionListConfigHistoryFn as pt, ToolRouterProxyExecuteConfig as q, ToolkitVersionParamSchema as qa, Oauth2ExpiredConnectionData as qi, CreateConnectedAccountLinkOptions as qn, MCPToolkitConfig as qr, ToolkitConnectionsDetails as qt, CreateCustomToolParams as r, Oauth2RevokedConnectionData as ra, McpServerGetResponse as ri, ToolRouterSessionFilesMountDeleteOptionsSchema as rn, DefaultCreateConnectedAccountParamsSchema as rr, ToolRouterSessionDeleteResponseSchema as rt, CustomToolDefinition as s, BeforeFileUploadSource as sa, McpUpdateResponseSchema as si, ToolRouterSessionFilesMountListOptionsSchema as sn, UpdateConnectedAccountParamsSchema as sr, ToolRouterSessionEnsureConnectedResult as st, AnyZodSchema as t, Oauth2InitiatingConnectionData as ta, McpRetrieveResponseSchema as ti, RemoteFileDataSchema as tn, CreateConnectedAccountResponse as tr, ToolRouterSessionDeleteFn as tt, CustomToolSlugSchema as u, ProviderOptions as ua, McpUserConnectionStatus as ui, ComposioRequestOptions as un, BaseNonAgenticProvider as ur, ToolRouterSessionExecuteOptions as ut, InferZodSchema as v, beforeExecuteModifier as va, BillcomAuthConnectionDataSchema as vi, ConnectedAccountAuthConfigSchema as vn, ConnectionStatus as vr, ToolRouterSessionMetadata as vt, MCPServerTypeSchema as w, SchemaModifierOptions as wa, CustomConnectionDataSchema as wi, ConnectedAccountExperimentalResponse as wn, GenerateURLResponse$1 as wr, ToolRouterSessionSearchResponseSchema as wt, RegisteredCustomToolkit as x, CustomAuthParamsSchema as xa, ConnectionStatusEnum as xi, ConnectedAccountCompleteAuthResponse as xn, CustomCreateResponseValidated as xr, ToolRouterSessionProxyExecuteResponse as xt, InlineCustomToolsWirePayload as y, beforeFileUploadModifier as ya, ConnectionData as yi, ConnectedAccountCompleteAuthParams as yn, CustomCreateResponse$1 as yr, ToolRouterSessionPreloadConfig as yt, ToolRouterCreateSessionConfig as z, ToolRetrievalOptions as za, Oauth1InitiatedConnectionData as zi, ConnectedAccountRevokedTokenSchema as zn, MCPServerCreateResponseSchema as zr, ToolRouterUpdateExperimentalConfig as zt };