@composio/core 0.20.0 → 0.22.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.
- package/dist/{CustomTool-fYEFjSLM.mjs → CustomTool-B-_VjWpy.mjs} +1 -1
- package/dist/{CustomTool-B3m-188G.d.mts → CustomTool-CKBCElpT.d.mts} +1 -1
- package/dist/{Telemetry-JRJJYS4I.mjs → Telemetry-41JkqpZ7.mjs} +3 -2
- package/dist/{cancellation-Dwa9lGHA.mjs → cancellation-DV8CIi52.mjs} +1 -1
- package/dist/{composio-B36OXii1.d.mts → composio-C-418N1P.d.mts} +542 -168
- package/dist/{customTool.types-C436M_D0.d.mts → customTool.types-CK408sI-.d.mts} +522 -66
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -1
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -0
- package/dist/docs/reference/sdk-reference/typescript/meta.json +1 -0
- package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +83 -0
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +29 -20
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +10 -4
- package/dist/{errors-D_A4b2c2.mjs → errors-Dyiu3ifQ.mjs} +10 -6
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/index.d.mts +40 -28
- package/dist/index.mjs +6815 -6571
- package/dist/models/Files.node.mjs +1 -1
- package/dist/{types-Br3GBya5.d.mts → types-RpMRVn4D.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +5 -3
- package/src/composio.ts +8 -0
- package/src/errors/ToolRouterErrors.ts +10 -6
- package/src/index.ts +2 -0
- package/src/lib/sessionConfigConflict.ts +43 -0
- package/src/lib/toolRouterParams.ts +43 -10
- package/src/lib/toolRouterSourceSessionConfig.ts +12 -0
- package/src/models/AuthConfigs.ts +0 -9
- package/src/models/ConnectionRequest.ts +21 -18
- package/src/models/Logs.ts +2 -2
- package/src/models/RemoteFile.ts +25 -8
- package/src/models/SessionConfigs.ts +117 -0
- package/src/models/ToolRouter.ts +23 -5
- package/src/models/ToolRouterSession.ts +49 -24
- package/src/models/Tools.ts +7 -5
- package/src/models/Usage.ts +2 -1
- package/src/provider/OpenAIProvider.ts +0 -283
- package/src/telemetry/Telemetry.ts +4 -2
- package/src/types/logs.types.ts +9 -1
- package/src/types/sessionConfigs.types.ts +81 -0
- package/src/types/tool.types.ts +3 -1
- package/src/types/toolRouter.types.ts +177 -13
- package/src/types/usage.types.ts +2 -0
- package/src/utils/safePath.ts +172 -0
- package/src/utils/transformers/logs.ts +3 -2
- package/src/utils/transformers/sessionConfigs.ts +54 -0
- package/src/utils/transformers/toolRouterResponseTransform.ts +24 -0
- package/src/utils/transformers/usage.ts +4 -0
|
@@ -752,7 +752,7 @@ type CustomAuthParams = z$1.infer<typeof CustomAuthParamsSchema>;
|
|
|
752
752
|
* Parameters for tool execution.
|
|
753
753
|
*
|
|
754
754
|
* @property {boolean} [allowTracing] - Enable tracing for this tool execution
|
|
755
|
-
* @property {string} [connectedAccountId] -
|
|
755
|
+
* @property {string} [connectedAccountId] - Connected account ID, or `instant_account` to explicitly use the Composio Instant account
|
|
756
756
|
* @property {CustomAuthParams} [customAuthParams] - Custom authentication parameters
|
|
757
757
|
* @property {CustomConnectionData} [customConnectionData] - Custom connection data (takes priority over customAuthParams)
|
|
758
758
|
* @property {Record<string, unknown>} [arguments] - The arguments to pass to the tool
|
|
@@ -3686,18 +3686,22 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
|
|
|
3686
3686
|
successful: z$1.ZodBoolean;
|
|
3687
3687
|
logId: z$1.ZodOptional<z$1.ZodString>;
|
|
3688
3688
|
sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3689
|
+
/** Actual Instant usage charge when the Session opts into returning it. */
|
|
3690
|
+
instantCharge: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3689
3691
|
}, "strip", z$1.ZodTypeAny, {
|
|
3690
3692
|
data: Record<string, unknown>;
|
|
3691
3693
|
error: string | null;
|
|
3692
3694
|
successful: boolean;
|
|
3693
3695
|
logId?: string | undefined;
|
|
3694
3696
|
sessionInfo?: unknown;
|
|
3697
|
+
instantCharge?: unknown;
|
|
3695
3698
|
}, {
|
|
3696
3699
|
data: Record<string, unknown>;
|
|
3697
3700
|
error: string | null;
|
|
3698
3701
|
successful: boolean;
|
|
3699
3702
|
logId?: string | undefined;
|
|
3700
3703
|
sessionInfo?: unknown;
|
|
3704
|
+
instantCharge?: unknown;
|
|
3701
3705
|
}>;
|
|
3702
3706
|
type ToolExecuteResponse = z$1.infer<typeof ToolExecuteResponseSchema>;
|
|
3703
3707
|
declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
@@ -30337,7 +30341,18 @@ declare class RemoteFile {
|
|
|
30337
30341
|
* @throws ValidationError if the response shape is invalid
|
|
30338
30342
|
*/
|
|
30339
30343
|
static parse(data: unknown): RemoteFile;
|
|
30340
|
-
/**
|
|
30344
|
+
/**
|
|
30345
|
+
* Filename extracted from the mount path (e.g. "report.pdf" from "output/report.pdf").
|
|
30346
|
+
*
|
|
30347
|
+
* Deliberately non-throwing: this is a display value, and `downloadBytes()`
|
|
30348
|
+
* reads it while constructing `RemoteFileDownloadError`. A validator here
|
|
30349
|
+
* would replace a genuine download error with a validation error thrown from
|
|
30350
|
+
* inside the error constructor. {@link save} validates instead, at the point
|
|
30351
|
+
* the value actually becomes a path.
|
|
30352
|
+
*
|
|
30353
|
+
* Both `/` and `\` count as separators, as in the Python SDK, so a mount path
|
|
30354
|
+
* crafted for a Windows target is reduced the same way on every platform.
|
|
30355
|
+
*/
|
|
30341
30356
|
get filename(): string;
|
|
30342
30357
|
private downloadError;
|
|
30343
30358
|
private downloadBytes;
|
|
@@ -30366,6 +30381,7 @@ declare class RemoteFile {
|
|
|
30366
30381
|
* @param path - Local path to save the file. If omitted, saves to the Composio temp directory using the filename from the mount path.
|
|
30367
30382
|
* @returns The absolute path where the file was saved
|
|
30368
30383
|
* @throws Error if file system is not supported or the save fails
|
|
30384
|
+
* @throws ValidationError if `path` is omitted and the mount path yields no usable filename
|
|
30369
30385
|
*/
|
|
30370
30386
|
save(path?: string): Promise<string>;
|
|
30371
30387
|
}
|
|
@@ -30565,6 +30581,66 @@ declare const ToolRouterToolkitsEnabledConfigSchema: z.ZodObject<{
|
|
|
30565
30581
|
}, {
|
|
30566
30582
|
enable: string[];
|
|
30567
30583
|
}>;
|
|
30584
|
+
/** Experimental Instant usage policy for a Session. */
|
|
30585
|
+
declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
30586
|
+
toolkits: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
30587
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
30588
|
+
}, "strict", z.ZodTypeAny, {
|
|
30589
|
+
enable: string[];
|
|
30590
|
+
}, {
|
|
30591
|
+
enable: string[];
|
|
30592
|
+
}>, z.ZodObject<{
|
|
30593
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
30594
|
+
}, "strict", z.ZodTypeAny, {
|
|
30595
|
+
disable: string[];
|
|
30596
|
+
}, {
|
|
30597
|
+
disable: string[];
|
|
30598
|
+
}>]>>;
|
|
30599
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
30600
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
30601
|
+
}, "strict", z.ZodTypeAny, {
|
|
30602
|
+
enable: string[];
|
|
30603
|
+
}, {
|
|
30604
|
+
enable: string[];
|
|
30605
|
+
}>, z.ZodObject<{
|
|
30606
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
30607
|
+
}, "strict", z.ZodTypeAny, {
|
|
30608
|
+
disable: string[];
|
|
30609
|
+
}, {
|
|
30610
|
+
disable: string[];
|
|
30611
|
+
}>]>>>;
|
|
30612
|
+
/**
|
|
30613
|
+
* Return the actual Instant charge in Session tool responses. Controls
|
|
30614
|
+
* visibility only; on update, any policy object still re-enables Instant
|
|
30615
|
+
* usage on a Session set to `false`.
|
|
30616
|
+
*/
|
|
30617
|
+
returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
|
|
30618
|
+
}, "strict", z.ZodTypeAny, {
|
|
30619
|
+
tools?: Record<string, {
|
|
30620
|
+
enable: string[];
|
|
30621
|
+
} | {
|
|
30622
|
+
disable: string[];
|
|
30623
|
+
}> | undefined;
|
|
30624
|
+
toolkits?: {
|
|
30625
|
+
disable: string[];
|
|
30626
|
+
} | {
|
|
30627
|
+
enable: string[];
|
|
30628
|
+
} | undefined;
|
|
30629
|
+
returnInstantCharge?: boolean | undefined;
|
|
30630
|
+
}, {
|
|
30631
|
+
tools?: Record<string, {
|
|
30632
|
+
enable: string[];
|
|
30633
|
+
} | {
|
|
30634
|
+
disable: string[];
|
|
30635
|
+
}> | undefined;
|
|
30636
|
+
toolkits?: {
|
|
30637
|
+
disable: string[];
|
|
30638
|
+
} | {
|
|
30639
|
+
enable: string[];
|
|
30640
|
+
} | undefined;
|
|
30641
|
+
returnInstantCharge?: boolean | undefined;
|
|
30642
|
+
}>]>;
|
|
30643
|
+
type ToolRouterInstant = z.infer<typeof ToolRouterInstantSchema>;
|
|
30568
30644
|
declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
|
|
30569
30645
|
enable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
30570
30646
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -30580,21 +30656,21 @@ declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
|
|
|
30580
30656
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30581
30657
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30582
30658
|
}, "strict", z.ZodTypeAny, {
|
|
30583
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30584
30659
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30585
|
-
}, {
|
|
30586
30660
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30661
|
+
}, {
|
|
30587
30662
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30663
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30588
30664
|
}>;
|
|
30589
30665
|
declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
30590
30666
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30591
30667
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30592
30668
|
}, "strict", z.ZodTypeAny, {
|
|
30593
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30594
30669
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30595
|
-
}, {
|
|
30596
30670
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30671
|
+
}, {
|
|
30597
30672
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30673
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30598
30674
|
}>]>;
|
|
30599
30675
|
type ToolRouterConfigTags = z.infer<typeof ToolRouterConfigTagsSchema>;
|
|
30600
30676
|
/**
|
|
@@ -30638,21 +30714,21 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30638
30714
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30639
30715
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30640
30716
|
}, "strict", z.ZodTypeAny, {
|
|
30641
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30642
30717
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30643
|
-
}, {
|
|
30644
30718
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30719
|
+
}, {
|
|
30645
30720
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30721
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30646
30722
|
}>]>;
|
|
30647
30723
|
}, "strict", z.ZodTypeAny, {
|
|
30648
30724
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30649
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30650
30725
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30726
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30651
30727
|
};
|
|
30652
30728
|
}, {
|
|
30653
30729
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30654
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30655
30730
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30731
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30656
30732
|
};
|
|
30657
30733
|
}>]>, string[] | {
|
|
30658
30734
|
enable: string[];
|
|
@@ -30660,8 +30736,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30660
30736
|
disable: string[];
|
|
30661
30737
|
} | {
|
|
30662
30738
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30663
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30664
30739
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30740
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30665
30741
|
};
|
|
30666
30742
|
}, string[] | {
|
|
30667
30743
|
enable: string[];
|
|
@@ -30669,8 +30745,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30669
30745
|
disable: string[];
|
|
30670
30746
|
} | {
|
|
30671
30747
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30672
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30673
30748
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30749
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30674
30750
|
};
|
|
30675
30751
|
}>;
|
|
30676
30752
|
type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
|
|
@@ -30694,21 +30770,21 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30694
30770
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30695
30771
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30696
30772
|
}, "strict", z.ZodTypeAny, {
|
|
30697
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30698
30773
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30699
|
-
}, {
|
|
30700
30774
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30775
|
+
}, {
|
|
30701
30776
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30777
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30702
30778
|
}>]>;
|
|
30703
30779
|
}, "strict", z.ZodTypeAny, {
|
|
30704
30780
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30705
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30706
30781
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30782
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30707
30783
|
};
|
|
30708
30784
|
}, {
|
|
30709
30785
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30710
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30711
30786
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30787
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30712
30788
|
};
|
|
30713
30789
|
}>]>, string[] | {
|
|
30714
30790
|
enable: string[];
|
|
@@ -30716,8 +30792,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30716
30792
|
disable: string[];
|
|
30717
30793
|
} | {
|
|
30718
30794
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30719
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30720
30795
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30796
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30721
30797
|
};
|
|
30722
30798
|
}, string[] | {
|
|
30723
30799
|
enable: string[];
|
|
@@ -30725,19 +30801,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30725
30801
|
disable: string[];
|
|
30726
30802
|
} | {
|
|
30727
30803
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30728
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30729
30804
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30805
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30730
30806
|
};
|
|
30731
30807
|
}>]>>>>;
|
|
30732
30808
|
tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
30733
30809
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30734
30810
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30735
30811
|
}, "strict", z.ZodTypeAny, {
|
|
30736
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30737
30812
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30738
|
-
}, {
|
|
30739
30813
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30814
|
+
}, {
|
|
30740
30815
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30816
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30741
30817
|
}>]>>>;
|
|
30742
30818
|
toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
30743
30819
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
@@ -30752,6 +30828,64 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30752
30828
|
}, {
|
|
30753
30829
|
enable: string[];
|
|
30754
30830
|
}>]>>>;
|
|
30831
|
+
instant: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
30832
|
+
toolkits: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
30833
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
30834
|
+
}, "strict", z.ZodTypeAny, {
|
|
30835
|
+
enable: string[];
|
|
30836
|
+
}, {
|
|
30837
|
+
enable: string[];
|
|
30838
|
+
}>, z.ZodObject<{
|
|
30839
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
30840
|
+
}, "strict", z.ZodTypeAny, {
|
|
30841
|
+
disable: string[];
|
|
30842
|
+
}, {
|
|
30843
|
+
disable: string[];
|
|
30844
|
+
}>]>>;
|
|
30845
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
30846
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
30847
|
+
}, "strict", z.ZodTypeAny, {
|
|
30848
|
+
enable: string[];
|
|
30849
|
+
}, {
|
|
30850
|
+
enable: string[];
|
|
30851
|
+
}>, z.ZodObject<{
|
|
30852
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
30853
|
+
}, "strict", z.ZodTypeAny, {
|
|
30854
|
+
disable: string[];
|
|
30855
|
+
}, {
|
|
30856
|
+
disable: string[];
|
|
30857
|
+
}>]>>>;
|
|
30858
|
+
/**
|
|
30859
|
+
* Return the actual Instant charge in Session tool responses. Controls
|
|
30860
|
+
* visibility only; on update, any policy object still re-enables Instant
|
|
30861
|
+
* usage on a Session set to `false`.
|
|
30862
|
+
*/
|
|
30863
|
+
returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
|
|
30864
|
+
}, "strict", z.ZodTypeAny, {
|
|
30865
|
+
tools?: Record<string, {
|
|
30866
|
+
enable: string[];
|
|
30867
|
+
} | {
|
|
30868
|
+
disable: string[];
|
|
30869
|
+
}> | undefined;
|
|
30870
|
+
toolkits?: {
|
|
30871
|
+
disable: string[];
|
|
30872
|
+
} | {
|
|
30873
|
+
enable: string[];
|
|
30874
|
+
} | undefined;
|
|
30875
|
+
returnInstantCharge?: boolean | undefined;
|
|
30876
|
+
}, {
|
|
30877
|
+
tools?: Record<string, {
|
|
30878
|
+
enable: string[];
|
|
30879
|
+
} | {
|
|
30880
|
+
disable: string[];
|
|
30881
|
+
}> | undefined;
|
|
30882
|
+
toolkits?: {
|
|
30883
|
+
disable: string[];
|
|
30884
|
+
} | {
|
|
30885
|
+
enable: string[];
|
|
30886
|
+
} | undefined;
|
|
30887
|
+
returnInstantCharge?: boolean | undefined;
|
|
30888
|
+
}>]>>>;
|
|
30755
30889
|
authConfigs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
30756
30890
|
connectedAccounts: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
30757
30891
|
manageConnections: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -30829,23 +30963,26 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30829
30963
|
}>>;
|
|
30830
30964
|
customTools: z.ZodOptional<z.ZodArray<z.ZodType<CustomTool, z.ZodTypeDef, CustomTool>, "many">>;
|
|
30831
30965
|
customToolkits: z.ZodOptional<z.ZodArray<z.ZodType<CustomToolkit, z.ZodTypeDef, CustomToolkit>, "many">>;
|
|
30966
|
+
sessionConfigId: z.ZodOptional<z.ZodString>;
|
|
30832
30967
|
}, "strip", z.ZodTypeAny, {
|
|
30833
30968
|
assistivePrompt?: {
|
|
30834
30969
|
userTimezone?: string | undefined;
|
|
30835
30970
|
} | undefined;
|
|
30836
30971
|
customTools?: CustomTool[] | undefined;
|
|
30837
30972
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30973
|
+
sessionConfigId?: string | undefined;
|
|
30838
30974
|
}, {
|
|
30839
30975
|
assistivePrompt?: {
|
|
30840
30976
|
userTimezone?: string | undefined;
|
|
30841
30977
|
} | undefined;
|
|
30842
30978
|
customTools?: CustomTool[] | undefined;
|
|
30843
30979
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30980
|
+
sessionConfigId?: string | undefined;
|
|
30844
30981
|
}>>>;
|
|
30845
30982
|
}, "strip", z.ZodTypeAny, {
|
|
30846
30983
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30847
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30848
30984
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30985
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30849
30986
|
} | undefined;
|
|
30850
30987
|
tools?: Record<string, string[] | {
|
|
30851
30988
|
enable: string[];
|
|
@@ -30853,8 +30990,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30853
30990
|
disable: string[];
|
|
30854
30991
|
} | {
|
|
30855
30992
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30856
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30857
30993
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30994
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30858
30995
|
};
|
|
30859
30996
|
}> | undefined;
|
|
30860
30997
|
toolkits?: string[] | {
|
|
@@ -30867,6 +31004,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30867
31004
|
} | undefined;
|
|
30868
31005
|
sessionPreset?: "direct_tools" | undefined;
|
|
30869
31006
|
mcp?: boolean | undefined;
|
|
31007
|
+
instant?: false | {
|
|
31008
|
+
tools?: Record<string, {
|
|
31009
|
+
enable: string[];
|
|
31010
|
+
} | {
|
|
31011
|
+
disable: string[];
|
|
31012
|
+
}> | undefined;
|
|
31013
|
+
toolkits?: {
|
|
31014
|
+
disable: string[];
|
|
31015
|
+
} | {
|
|
31016
|
+
enable: string[];
|
|
31017
|
+
} | undefined;
|
|
31018
|
+
returnInstantCharge?: boolean | undefined;
|
|
31019
|
+
} | undefined;
|
|
30870
31020
|
authConfigs?: Record<string, string> | undefined;
|
|
30871
31021
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
30872
31022
|
manageConnections?: boolean | {
|
|
@@ -30897,11 +31047,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30897
31047
|
} | undefined;
|
|
30898
31048
|
customTools?: CustomTool[] | undefined;
|
|
30899
31049
|
customToolkits?: CustomToolkit[] | undefined;
|
|
31050
|
+
sessionConfigId?: string | undefined;
|
|
30900
31051
|
} | undefined;
|
|
30901
31052
|
}, {
|
|
30902
31053
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30903
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30904
31054
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31055
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30905
31056
|
} | undefined;
|
|
30906
31057
|
tools?: Record<string, string[] | {
|
|
30907
31058
|
enable: string[];
|
|
@@ -30909,8 +31060,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30909
31060
|
disable: string[];
|
|
30910
31061
|
} | {
|
|
30911
31062
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30912
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30913
31063
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31064
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30914
31065
|
};
|
|
30915
31066
|
}> | undefined;
|
|
30916
31067
|
toolkits?: string[] | {
|
|
@@ -30923,6 +31074,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30923
31074
|
} | undefined;
|
|
30924
31075
|
sessionPreset?: "direct_tools" | undefined;
|
|
30925
31076
|
mcp?: boolean | undefined;
|
|
31077
|
+
instant?: false | {
|
|
31078
|
+
tools?: Record<string, {
|
|
31079
|
+
enable: string[];
|
|
31080
|
+
} | {
|
|
31081
|
+
disable: string[];
|
|
31082
|
+
}> | undefined;
|
|
31083
|
+
toolkits?: {
|
|
31084
|
+
disable: string[];
|
|
31085
|
+
} | {
|
|
31086
|
+
enable: string[];
|
|
31087
|
+
} | undefined;
|
|
31088
|
+
returnInstantCharge?: boolean | undefined;
|
|
31089
|
+
} | undefined;
|
|
30926
31090
|
authConfigs?: Record<string, string> | undefined;
|
|
30927
31091
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
30928
31092
|
manageConnections?: boolean | {
|
|
@@ -30953,11 +31117,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30953
31117
|
} | undefined;
|
|
30954
31118
|
customTools?: CustomTool[] | undefined;
|
|
30955
31119
|
customToolkits?: CustomToolkit[] | undefined;
|
|
31120
|
+
sessionConfigId?: string | undefined;
|
|
30956
31121
|
} | undefined;
|
|
30957
31122
|
}>, {
|
|
30958
31123
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30959
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30960
31124
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31125
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30961
31126
|
} | undefined;
|
|
30962
31127
|
tools?: Record<string, string[] | {
|
|
30963
31128
|
enable: string[];
|
|
@@ -30965,8 +31130,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30965
31130
|
disable: string[];
|
|
30966
31131
|
} | {
|
|
30967
31132
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30968
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30969
31133
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31134
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30970
31135
|
};
|
|
30971
31136
|
}> | undefined;
|
|
30972
31137
|
toolkits?: string[] | {
|
|
@@ -30979,6 +31144,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30979
31144
|
} | undefined;
|
|
30980
31145
|
sessionPreset?: "direct_tools" | undefined;
|
|
30981
31146
|
mcp?: boolean | undefined;
|
|
31147
|
+
instant?: false | {
|
|
31148
|
+
tools?: Record<string, {
|
|
31149
|
+
enable: string[];
|
|
31150
|
+
} | {
|
|
31151
|
+
disable: string[];
|
|
31152
|
+
}> | undefined;
|
|
31153
|
+
toolkits?: {
|
|
31154
|
+
disable: string[];
|
|
31155
|
+
} | {
|
|
31156
|
+
enable: string[];
|
|
31157
|
+
} | undefined;
|
|
31158
|
+
returnInstantCharge?: boolean | undefined;
|
|
31159
|
+
} | undefined;
|
|
30982
31160
|
authConfigs?: Record<string, string> | undefined;
|
|
30983
31161
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
30984
31162
|
manageConnections?: boolean | {
|
|
@@ -31009,11 +31187,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31009
31187
|
} | undefined;
|
|
31010
31188
|
customTools?: CustomTool[] | undefined;
|
|
31011
31189
|
customToolkits?: CustomToolkit[] | undefined;
|
|
31190
|
+
sessionConfigId?: string | undefined;
|
|
31012
31191
|
} | undefined;
|
|
31013
31192
|
}, {
|
|
31014
31193
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31015
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31016
31194
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31195
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31017
31196
|
} | undefined;
|
|
31018
31197
|
tools?: Record<string, string[] | {
|
|
31019
31198
|
enable: string[];
|
|
@@ -31021,8 +31200,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31021
31200
|
disable: string[];
|
|
31022
31201
|
} | {
|
|
31023
31202
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31024
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31025
31203
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31204
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31026
31205
|
};
|
|
31027
31206
|
}> | undefined;
|
|
31028
31207
|
toolkits?: string[] | {
|
|
@@ -31035,6 +31214,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31035
31214
|
} | undefined;
|
|
31036
31215
|
sessionPreset?: "direct_tools" | undefined;
|
|
31037
31216
|
mcp?: boolean | undefined;
|
|
31217
|
+
instant?: false | {
|
|
31218
|
+
tools?: Record<string, {
|
|
31219
|
+
enable: string[];
|
|
31220
|
+
} | {
|
|
31221
|
+
disable: string[];
|
|
31222
|
+
}> | undefined;
|
|
31223
|
+
toolkits?: {
|
|
31224
|
+
disable: string[];
|
|
31225
|
+
} | {
|
|
31226
|
+
enable: string[];
|
|
31227
|
+
} | undefined;
|
|
31228
|
+
returnInstantCharge?: boolean | undefined;
|
|
31229
|
+
} | undefined;
|
|
31038
31230
|
authConfigs?: Record<string, string> | undefined;
|
|
31039
31231
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
31040
31232
|
manageConnections?: boolean | {
|
|
@@ -31065,11 +31257,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31065
31257
|
} | undefined;
|
|
31066
31258
|
customTools?: CustomTool[] | undefined;
|
|
31067
31259
|
customToolkits?: CustomToolkit[] | undefined;
|
|
31260
|
+
sessionConfigId?: string | undefined;
|
|
31068
31261
|
} | undefined;
|
|
31069
31262
|
}>, {
|
|
31070
31263
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31071
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31072
31264
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31265
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31073
31266
|
} | undefined;
|
|
31074
31267
|
tools?: Record<string, string[] | {
|
|
31075
31268
|
enable: string[];
|
|
@@ -31077,8 +31270,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31077
31270
|
disable: string[];
|
|
31078
31271
|
} | {
|
|
31079
31272
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31080
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31081
31273
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31274
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31082
31275
|
};
|
|
31083
31276
|
}> | undefined;
|
|
31084
31277
|
toolkits?: string[] | {
|
|
@@ -31091,6 +31284,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31091
31284
|
} | undefined;
|
|
31092
31285
|
sessionPreset?: "direct_tools" | undefined;
|
|
31093
31286
|
mcp?: boolean | undefined;
|
|
31287
|
+
instant?: false | {
|
|
31288
|
+
tools?: Record<string, {
|
|
31289
|
+
enable: string[];
|
|
31290
|
+
} | {
|
|
31291
|
+
disable: string[];
|
|
31292
|
+
}> | undefined;
|
|
31293
|
+
toolkits?: {
|
|
31294
|
+
disable: string[];
|
|
31295
|
+
} | {
|
|
31296
|
+
enable: string[];
|
|
31297
|
+
} | undefined;
|
|
31298
|
+
returnInstantCharge?: boolean | undefined;
|
|
31299
|
+
} | undefined;
|
|
31094
31300
|
authConfigs?: Record<string, string> | undefined;
|
|
31095
31301
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
31096
31302
|
manageConnections?: boolean | {
|
|
@@ -31121,6 +31327,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31121
31327
|
} | undefined;
|
|
31122
31328
|
customTools?: CustomTool[] | undefined;
|
|
31123
31329
|
customToolkits?: CustomToolkit[] | undefined;
|
|
31330
|
+
sessionConfigId?: string | undefined;
|
|
31124
31331
|
} | undefined;
|
|
31125
31332
|
}, unknown>;
|
|
31126
31333
|
/**
|
|
@@ -31132,6 +31339,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31132
31339
|
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
|
|
31133
31340
|
* @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
|
|
31134
31341
|
* @param {Record<string, string | string[]>} connectedAccounts - The connected accounts to use in the tool router session. A single string is coerced to a single-element array before being sent to the backend.
|
|
31342
|
+
* @param {ToolRouterInstant} [instant] - Experimental Instant usage policy. The project must allow Instant usage.
|
|
31135
31343
|
* @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
|
|
31136
31344
|
* @param {boolean} [manageConnections.enable] - Whether to use tools to manage connections in the tool router session @default true
|
|
31137
31345
|
* @param {string} [manageConnections.callbackUrl] - The callback url to use in the tool router session
|
|
@@ -31147,8 +31355,29 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31147
31355
|
* @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
|
|
31148
31356
|
* @param {object} [preload] - Tools to preload into session.tools() and the MCP tool list
|
|
31149
31357
|
* @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
|
+
* @param {object} [experimental] - Experimental features configuration. Not stable; may change or be removed.
|
|
31359
|
+
* @param {string} [experimental.sessionConfigId] - ID of a saved Session config (`sc_…`) to apply at creation; see `composio.sessionConfigs`. Cannot be combined with `toolkits`, `tools`, `tags`, `experimental.customTools` or `experimental.customToolkits`. Per-session fields such as `authConfigs`, `connectedAccounts`, `manageConnections`, `sandbox`, `multiAccount` and `preload` stay allowed.
|
|
31150
31360
|
*/
|
|
31151
|
-
type ToolRouterCreateSessionConfig =
|
|
31361
|
+
type ToolRouterCreateSessionConfig = InlineAccessCreateSessionConfig | SavedConfigCreateSessionConfig;
|
|
31362
|
+
type ParsedCreateSessionConfig = z.infer<typeof ToolRouterCreateSessionConfigSchema>;
|
|
31363
|
+
type ParsedCreateSessionExperimental = NonNullable<ParsedCreateSessionConfig['experimental']>;
|
|
31364
|
+
/** Create input that sets access inline and applies no saved Session config. */
|
|
31365
|
+
type InlineAccessCreateSessionConfig = Omit<ParsedCreateSessionConfig, 'experimental'> & {
|
|
31366
|
+
experimental?: Omit<ParsedCreateSessionExperimental, 'sessionConfigId'> & {
|
|
31367
|
+
sessionConfigId?: never;
|
|
31368
|
+
};
|
|
31369
|
+
};
|
|
31370
|
+
/** Create input that takes its access policy from a saved Session config. */
|
|
31371
|
+
type SavedConfigCreateSessionConfig = Omit<ParsedCreateSessionConfig, 'toolkits' | 'tools' | 'tags' | 'experimental'> & {
|
|
31372
|
+
toolkits?: never;
|
|
31373
|
+
tools?: never;
|
|
31374
|
+
tags?: never;
|
|
31375
|
+
experimental: Omit<ParsedCreateSessionExperimental, 'sessionConfigId' | 'customTools' | 'customToolkits'> & {
|
|
31376
|
+
sessionConfigId: string;
|
|
31377
|
+
customTools?: never;
|
|
31378
|
+
customToolkits?: never;
|
|
31379
|
+
};
|
|
31380
|
+
};
|
|
31152
31381
|
declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
31153
31382
|
slug: z.ZodString;
|
|
31154
31383
|
name: z.ZodString;
|
|
@@ -31540,6 +31769,14 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31540
31769
|
statusMessage: z.ZodString;
|
|
31541
31770
|
connectionDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31542
31771
|
currentUserInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31772
|
+
/** Present when the toolkit runs on a Composio Instant account; only these tools run on it. */
|
|
31773
|
+
instantAccount: z.ZodOptional<z.ZodObject<{
|
|
31774
|
+
allowedToolSlugs: z.ZodArray<z.ZodString, "many">;
|
|
31775
|
+
}, "strip", z.ZodTypeAny, {
|
|
31776
|
+
allowedToolSlugs: string[];
|
|
31777
|
+
}, {
|
|
31778
|
+
allowedToolSlugs: string[];
|
|
31779
|
+
}>>;
|
|
31543
31780
|
}, "strip", z.ZodTypeAny, {
|
|
31544
31781
|
description: string;
|
|
31545
31782
|
toolkit: string;
|
|
@@ -31547,6 +31784,9 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31547
31784
|
statusMessage: string;
|
|
31548
31785
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
31549
31786
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
31787
|
+
instantAccount?: {
|
|
31788
|
+
allowedToolSlugs: string[];
|
|
31789
|
+
} | undefined;
|
|
31550
31790
|
}, {
|
|
31551
31791
|
description: string;
|
|
31552
31792
|
toolkit: string;
|
|
@@ -31554,6 +31794,9 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31554
31794
|
statusMessage: string;
|
|
31555
31795
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
31556
31796
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
31797
|
+
instantAccount?: {
|
|
31798
|
+
allowedToolSlugs: string[];
|
|
31799
|
+
} | undefined;
|
|
31557
31800
|
}>, "many">;
|
|
31558
31801
|
nextStepsGuidance: z.ZodArray<z.ZodString, "many">;
|
|
31559
31802
|
session: z.ZodObject<{
|
|
@@ -31625,6 +31868,9 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31625
31868
|
statusMessage: string;
|
|
31626
31869
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
31627
31870
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
31871
|
+
instantAccount?: {
|
|
31872
|
+
allowedToolSlugs: string[];
|
|
31873
|
+
} | undefined;
|
|
31628
31874
|
}[];
|
|
31629
31875
|
nextStepsGuidance: string[];
|
|
31630
31876
|
session: {
|
|
@@ -31680,6 +31926,9 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31680
31926
|
statusMessage: string;
|
|
31681
31927
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
31682
31928
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
31929
|
+
instantAccount?: {
|
|
31930
|
+
allowedToolSlugs: string[];
|
|
31931
|
+
} | undefined;
|
|
31683
31932
|
}[];
|
|
31684
31933
|
nextStepsGuidance: string[];
|
|
31685
31934
|
session: {
|
|
@@ -31698,14 +31947,18 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
|
|
|
31698
31947
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31699
31948
|
error: z.ZodNullable<z.ZodString>;
|
|
31700
31949
|
logId: z.ZodString;
|
|
31950
|
+
/** Actual Instant usage charge when the Session opts into returning it. */
|
|
31951
|
+
instantCharge: z.ZodOptional<z.ZodUnknown>;
|
|
31701
31952
|
}, "strip", z.ZodTypeAny, {
|
|
31702
31953
|
data: Record<string, unknown>;
|
|
31703
31954
|
error: string | null;
|
|
31704
31955
|
logId: string;
|
|
31956
|
+
instantCharge?: unknown;
|
|
31705
31957
|
}, {
|
|
31706
31958
|
data: Record<string, unknown>;
|
|
31707
31959
|
error: string | null;
|
|
31708
31960
|
logId: string;
|
|
31961
|
+
instantCharge?: unknown;
|
|
31709
31962
|
}>;
|
|
31710
31963
|
type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
|
|
31711
31964
|
interface ToolRouterSessionProxyExecuteResponse {
|
|
@@ -31737,6 +31990,16 @@ interface SessionExperimental {
|
|
|
31737
31990
|
* File mount operations (list, upload, download, delete) for the session's virtual filesystem.
|
|
31738
31991
|
*/
|
|
31739
31992
|
files: ToolRouterSessionFilesMount;
|
|
31993
|
+
/**
|
|
31994
|
+
* The last saved Session config applied to this session, set from the
|
|
31995
|
+
* create, `use()` and `update()` responses. Later inline access updates
|
|
31996
|
+
* keep it. It reflects the last response this object saw: an update from
|
|
31997
|
+
* another process leaves it stale until `sessions.use()`.
|
|
31998
|
+
* @experimental
|
|
31999
|
+
*/
|
|
32000
|
+
sourceSessionConfig?: {
|
|
32001
|
+
id: string;
|
|
32002
|
+
};
|
|
31740
32003
|
}
|
|
31741
32004
|
type ToolRouterSessionSearchFn = (params: {
|
|
31742
32005
|
query: string;
|
|
@@ -31745,7 +32008,8 @@ type ToolRouterSessionSearchFn = (params: {
|
|
|
31745
32008
|
type ToolRouterSessionExecuteFn = (toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions) => Promise<ToolRouterSessionExecuteResponse>;
|
|
31746
32009
|
interface ToolRouterSessionExecuteOptions {
|
|
31747
32010
|
/**
|
|
31748
|
-
* Account identifier for direct app tool execution.
|
|
32011
|
+
* Account identifier for direct app tool execution. Use `instant_account` to
|
|
32012
|
+
* explicitly select the Composio Instant account. Accepted on every project:
|
|
31749
32013
|
* in multi-account sessions it picks the account; on single-account projects it
|
|
31750
32014
|
* must match one of the session's active connections for the toolkit.
|
|
31751
32015
|
* Meta/helper tools either ignore this top-level field or define
|
|
@@ -31757,12 +32021,70 @@ interface ToolRouterSessionExecuteOptions {
|
|
|
31757
32021
|
type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
|
|
31758
32022
|
type ToolRouterSessionWorkbenchConfig = SessionCreateResponse.Config.Workbench;
|
|
31759
32023
|
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>;
|
|
31760
32079
|
/**
|
|
31761
|
-
* Server-side session configuration as returned by the API: toolkit
|
|
32080
|
+
* Server-side session configuration as returned by the API: toolkit/tool
|
|
31762
32081
|
* allowlists, tags, auth configs, connected accounts, manage_connections,
|
|
31763
|
-
* preload, sandbox (`workbench`), search and
|
|
32082
|
+
* preload, sandbox (`workbench`), search, execute and Instant settings.
|
|
32083
|
+
* The generated client still declares the old policy name.
|
|
31764
32084
|
*/
|
|
31765
|
-
type ToolRouterSessionConfig = SessionCreateResponse.Config
|
|
32085
|
+
type ToolRouterSessionConfig = Omit<SessionCreateResponse.Config, 'premium_usage'> & {
|
|
32086
|
+
instant?: false | ToolRouterInstantResponse;
|
|
32087
|
+
};
|
|
31766
32088
|
interface ToolRouterSessionMetadata {
|
|
31767
32089
|
/** Present on every session built from an API response; the constructor synthesises a minimal config when absent. */
|
|
31768
32090
|
config?: ToolRouterSessionConfig;
|
|
@@ -31868,6 +32190,7 @@ declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
|
|
|
31868
32190
|
}>>>;
|
|
31869
32191
|
sessionConfigId: z.ZodOptional<z.ZodString>;
|
|
31870
32192
|
}, "strict", z.ZodTypeAny, {
|
|
32193
|
+
sessionConfigId?: string | undefined;
|
|
31871
32194
|
permissions?: {
|
|
31872
32195
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31873
32196
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -31877,8 +32200,8 @@ declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
|
|
|
31877
32200
|
submitFeedback?: {
|
|
31878
32201
|
enable: boolean;
|
|
31879
32202
|
} | null | undefined;
|
|
31880
|
-
sessionConfigId?: string | undefined;
|
|
31881
32203
|
}, {
|
|
32204
|
+
sessionConfigId?: string | undefined;
|
|
31882
32205
|
permissions?: {
|
|
31883
32206
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31884
32207
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -31888,7 +32211,6 @@ declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
|
|
|
31888
32211
|
submitFeedback?: {
|
|
31889
32212
|
enable: boolean;
|
|
31890
32213
|
} | null | undefined;
|
|
31891
|
-
sessionConfigId?: string | undefined;
|
|
31892
32214
|
}>;
|
|
31893
32215
|
type ToolRouterUpdateExperimentalConfig = z.infer<typeof ToolRouterUpdateExperimentalSchema>;
|
|
31894
32216
|
/**
|
|
@@ -31898,6 +32220,64 @@ type ToolRouterUpdateExperimentalConfig = z.infer<typeof ToolRouterUpdateExperim
|
|
|
31898
32220
|
* `toolkits: []`, which denies every app toolkit).
|
|
31899
32221
|
*/
|
|
31900
32222
|
declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
32223
|
+
instant: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
32224
|
+
toolkits: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
32225
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
32226
|
+
}, "strict", z.ZodTypeAny, {
|
|
32227
|
+
enable: string[];
|
|
32228
|
+
}, {
|
|
32229
|
+
enable: string[];
|
|
32230
|
+
}>, z.ZodObject<{
|
|
32231
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
32232
|
+
}, "strict", z.ZodTypeAny, {
|
|
32233
|
+
disable: string[];
|
|
32234
|
+
}, {
|
|
32235
|
+
disable: string[];
|
|
32236
|
+
}>]>>;
|
|
32237
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
32238
|
+
enable: z.ZodArray<z.ZodString, "many">;
|
|
32239
|
+
}, "strict", z.ZodTypeAny, {
|
|
32240
|
+
enable: string[];
|
|
32241
|
+
}, {
|
|
32242
|
+
enable: string[];
|
|
32243
|
+
}>, z.ZodObject<{
|
|
32244
|
+
disable: z.ZodArray<z.ZodString, "many">;
|
|
32245
|
+
}, "strict", z.ZodTypeAny, {
|
|
32246
|
+
disable: string[];
|
|
32247
|
+
}, {
|
|
32248
|
+
disable: string[];
|
|
32249
|
+
}>]>>>;
|
|
32250
|
+
/**
|
|
32251
|
+
* Return the actual Instant charge in Session tool responses. Controls
|
|
32252
|
+
* visibility only; on update, any policy object still re-enables Instant
|
|
32253
|
+
* usage on a Session set to `false`.
|
|
32254
|
+
*/
|
|
32255
|
+
returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
|
|
32256
|
+
}, "strict", z.ZodTypeAny, {
|
|
32257
|
+
tools?: Record<string, {
|
|
32258
|
+
enable: string[];
|
|
32259
|
+
} | {
|
|
32260
|
+
disable: string[];
|
|
32261
|
+
}> | undefined;
|
|
32262
|
+
toolkits?: {
|
|
32263
|
+
disable: string[];
|
|
32264
|
+
} | {
|
|
32265
|
+
enable: string[];
|
|
32266
|
+
} | undefined;
|
|
32267
|
+
returnInstantCharge?: boolean | undefined;
|
|
32268
|
+
}, {
|
|
32269
|
+
tools?: Record<string, {
|
|
32270
|
+
enable: string[];
|
|
32271
|
+
} | {
|
|
32272
|
+
disable: string[];
|
|
32273
|
+
}> | undefined;
|
|
32274
|
+
toolkits?: {
|
|
32275
|
+
disable: string[];
|
|
32276
|
+
} | {
|
|
32277
|
+
enable: string[];
|
|
32278
|
+
} | undefined;
|
|
32279
|
+
returnInstantCharge?: boolean | undefined;
|
|
32280
|
+
}>]>>>;
|
|
31901
32281
|
toolkits: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31902
32282
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
31903
32283
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -31928,21 +32308,21 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31928
32308
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31929
32309
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31930
32310
|
}, "strict", z.ZodTypeAny, {
|
|
31931
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31932
32311
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31933
|
-
}, {
|
|
31934
32312
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32313
|
+
}, {
|
|
31935
32314
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32315
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31936
32316
|
}>]>;
|
|
31937
32317
|
}, "strict", z.ZodTypeAny, {
|
|
31938
32318
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31939
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31940
32319
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32320
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31941
32321
|
};
|
|
31942
32322
|
}, {
|
|
31943
32323
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31944
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31945
32324
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32325
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31946
32326
|
};
|
|
31947
32327
|
}>]>, string[] | {
|
|
31948
32328
|
enable: string[];
|
|
@@ -31950,8 +32330,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31950
32330
|
disable: string[];
|
|
31951
32331
|
} | {
|
|
31952
32332
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31953
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31954
32333
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32334
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31955
32335
|
};
|
|
31956
32336
|
}, string[] | {
|
|
31957
32337
|
enable: string[];
|
|
@@ -31959,19 +32339,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31959
32339
|
disable: string[];
|
|
31960
32340
|
} | {
|
|
31961
32341
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31962
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31963
32342
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32343
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31964
32344
|
};
|
|
31965
32345
|
}>]>>>>>;
|
|
31966
32346
|
tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
31967
32347
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31968
32348
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31969
32349
|
}, "strict", z.ZodTypeAny, {
|
|
31970
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31971
32350
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31972
|
-
}, {
|
|
31973
32351
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32352
|
+
}, {
|
|
31974
32353
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32354
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31975
32355
|
}>]>>>>;
|
|
31976
32356
|
authConfigs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
31977
32357
|
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[]>>>>>;
|
|
@@ -32079,6 +32459,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32079
32459
|
}>>>;
|
|
32080
32460
|
sessionConfigId: z.ZodOptional<z.ZodString>;
|
|
32081
32461
|
}, "strict", z.ZodTypeAny, {
|
|
32462
|
+
sessionConfigId?: string | undefined;
|
|
32082
32463
|
permissions?: {
|
|
32083
32464
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32084
32465
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32088,8 +32469,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32088
32469
|
submitFeedback?: {
|
|
32089
32470
|
enable: boolean;
|
|
32090
32471
|
} | null | undefined;
|
|
32091
|
-
sessionConfigId?: string | undefined;
|
|
32092
32472
|
}, {
|
|
32473
|
+
sessionConfigId?: string | undefined;
|
|
32093
32474
|
permissions?: {
|
|
32094
32475
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32095
32476
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32099,13 +32480,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32099
32480
|
submitFeedback?: {
|
|
32100
32481
|
enable: boolean;
|
|
32101
32482
|
} | null | undefined;
|
|
32102
|
-
sessionConfigId?: string | undefined;
|
|
32103
32483
|
}>>>>;
|
|
32104
32484
|
expectedConfigVersion: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>>;
|
|
32105
32485
|
}, "strip", z.ZodTypeAny, {
|
|
32106
32486
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32107
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32108
32487
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32488
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32109
32489
|
} | null | undefined;
|
|
32110
32490
|
tools?: Record<string, string[] | {
|
|
32111
32491
|
enable: string[];
|
|
@@ -32113,8 +32493,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32113
32493
|
disable: string[];
|
|
32114
32494
|
} | {
|
|
32115
32495
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32116
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32117
32496
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32497
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32118
32498
|
};
|
|
32119
32499
|
}> | null | undefined;
|
|
32120
32500
|
toolkits?: string[] | {
|
|
@@ -32128,6 +32508,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32128
32508
|
preload?: {
|
|
32129
32509
|
tools?: string[] | "all" | undefined;
|
|
32130
32510
|
} | null | undefined;
|
|
32511
|
+
instant?: false | {
|
|
32512
|
+
tools?: Record<string, {
|
|
32513
|
+
enable: string[];
|
|
32514
|
+
} | {
|
|
32515
|
+
disable: string[];
|
|
32516
|
+
}> | undefined;
|
|
32517
|
+
toolkits?: {
|
|
32518
|
+
disable: string[];
|
|
32519
|
+
} | {
|
|
32520
|
+
enable: string[];
|
|
32521
|
+
} | undefined;
|
|
32522
|
+
returnInstantCharge?: boolean | undefined;
|
|
32523
|
+
} | undefined;
|
|
32131
32524
|
authConfigs?: Record<string, string> | null | undefined;
|
|
32132
32525
|
connectedAccounts?: Record<string, string[]> | null | undefined;
|
|
32133
32526
|
manageConnections?: boolean | {
|
|
@@ -32154,6 +32547,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32154
32547
|
requireExplicitSelection?: boolean | undefined;
|
|
32155
32548
|
} | null | undefined;
|
|
32156
32549
|
experimental?: {
|
|
32550
|
+
sessionConfigId?: string | undefined;
|
|
32157
32551
|
permissions?: {
|
|
32158
32552
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32159
32553
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32163,7 +32557,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32163
32557
|
submitFeedback?: {
|
|
32164
32558
|
enable: boolean;
|
|
32165
32559
|
} | null | undefined;
|
|
32166
|
-
sessionConfigId?: string | undefined;
|
|
32167
32560
|
} | null | undefined;
|
|
32168
32561
|
execute?: {
|
|
32169
32562
|
enableMultiExecute?: boolean | undefined;
|
|
@@ -32171,8 +32564,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32171
32564
|
expectedConfigVersion?: number | false | undefined;
|
|
32172
32565
|
}, {
|
|
32173
32566
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32174
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32175
32567
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32568
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32176
32569
|
} | null | undefined;
|
|
32177
32570
|
tools?: Record<string, string[] | {
|
|
32178
32571
|
enable: string[];
|
|
@@ -32180,8 +32573,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32180
32573
|
disable: string[];
|
|
32181
32574
|
} | {
|
|
32182
32575
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32183
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32184
32576
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32577
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32185
32578
|
};
|
|
32186
32579
|
}> | null | undefined;
|
|
32187
32580
|
toolkits?: string[] | {
|
|
@@ -32195,6 +32588,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32195
32588
|
preload?: {
|
|
32196
32589
|
tools?: string[] | "all" | undefined;
|
|
32197
32590
|
} | null | undefined;
|
|
32591
|
+
instant?: false | {
|
|
32592
|
+
tools?: Record<string, {
|
|
32593
|
+
enable: string[];
|
|
32594
|
+
} | {
|
|
32595
|
+
disable: string[];
|
|
32596
|
+
}> | undefined;
|
|
32597
|
+
toolkits?: {
|
|
32598
|
+
disable: string[];
|
|
32599
|
+
} | {
|
|
32600
|
+
enable: string[];
|
|
32601
|
+
} | undefined;
|
|
32602
|
+
returnInstantCharge?: boolean | undefined;
|
|
32603
|
+
} | undefined;
|
|
32198
32604
|
authConfigs?: Record<string, string> | null | undefined;
|
|
32199
32605
|
connectedAccounts?: Record<string, string | string[]> | null | undefined;
|
|
32200
32606
|
manageConnections?: boolean | {
|
|
@@ -32221,6 +32627,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32221
32627
|
requireExplicitSelection?: boolean | undefined;
|
|
32222
32628
|
} | null | undefined;
|
|
32223
32629
|
experimental?: {
|
|
32630
|
+
sessionConfigId?: string | undefined;
|
|
32224
32631
|
permissions?: {
|
|
32225
32632
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32226
32633
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32230,7 +32637,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32230
32637
|
submitFeedback?: {
|
|
32231
32638
|
enable: boolean;
|
|
32232
32639
|
} | null | undefined;
|
|
32233
|
-
sessionConfigId?: string | undefined;
|
|
32234
32640
|
} | null | undefined;
|
|
32235
32641
|
execute?: {
|
|
32236
32642
|
enableMultiExecute?: boolean | undefined;
|
|
@@ -32238,8 +32644,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32238
32644
|
expectedConfigVersion?: number | false | undefined;
|
|
32239
32645
|
}>, {
|
|
32240
32646
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32241
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32242
32647
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32648
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32243
32649
|
} | null | undefined;
|
|
32244
32650
|
tools?: Record<string, string[] | {
|
|
32245
32651
|
enable: string[];
|
|
@@ -32247,8 +32653,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32247
32653
|
disable: string[];
|
|
32248
32654
|
} | {
|
|
32249
32655
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32250
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32251
32656
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32657
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32252
32658
|
};
|
|
32253
32659
|
}> | null | undefined;
|
|
32254
32660
|
toolkits?: string[] | {
|
|
@@ -32262,6 +32668,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32262
32668
|
preload?: {
|
|
32263
32669
|
tools?: string[] | "all" | undefined;
|
|
32264
32670
|
} | null | undefined;
|
|
32671
|
+
instant?: false | {
|
|
32672
|
+
tools?: Record<string, {
|
|
32673
|
+
enable: string[];
|
|
32674
|
+
} | {
|
|
32675
|
+
disable: string[];
|
|
32676
|
+
}> | undefined;
|
|
32677
|
+
toolkits?: {
|
|
32678
|
+
disable: string[];
|
|
32679
|
+
} | {
|
|
32680
|
+
enable: string[];
|
|
32681
|
+
} | undefined;
|
|
32682
|
+
returnInstantCharge?: boolean | undefined;
|
|
32683
|
+
} | undefined;
|
|
32265
32684
|
authConfigs?: Record<string, string> | null | undefined;
|
|
32266
32685
|
connectedAccounts?: Record<string, string[]> | null | undefined;
|
|
32267
32686
|
manageConnections?: boolean | {
|
|
@@ -32288,6 +32707,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32288
32707
|
requireExplicitSelection?: boolean | undefined;
|
|
32289
32708
|
} | null | undefined;
|
|
32290
32709
|
experimental?: {
|
|
32710
|
+
sessionConfigId?: string | undefined;
|
|
32291
32711
|
permissions?: {
|
|
32292
32712
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32293
32713
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32297,7 +32717,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32297
32717
|
submitFeedback?: {
|
|
32298
32718
|
enable: boolean;
|
|
32299
32719
|
} | null | undefined;
|
|
32300
|
-
sessionConfigId?: string | undefined;
|
|
32301
32720
|
} | null | undefined;
|
|
32302
32721
|
execute?: {
|
|
32303
32722
|
enableMultiExecute?: boolean | undefined;
|
|
@@ -32305,8 +32724,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32305
32724
|
expectedConfigVersion?: number | false | undefined;
|
|
32306
32725
|
}, {
|
|
32307
32726
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32308
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32309
32727
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32728
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32310
32729
|
} | null | undefined;
|
|
32311
32730
|
tools?: Record<string, string[] | {
|
|
32312
32731
|
enable: string[];
|
|
@@ -32314,8 +32733,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32314
32733
|
disable: string[];
|
|
32315
32734
|
} | {
|
|
32316
32735
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32317
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32318
32736
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32737
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32319
32738
|
};
|
|
32320
32739
|
}> | null | undefined;
|
|
32321
32740
|
toolkits?: string[] | {
|
|
@@ -32329,6 +32748,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32329
32748
|
preload?: {
|
|
32330
32749
|
tools?: string[] | "all" | undefined;
|
|
32331
32750
|
} | null | undefined;
|
|
32751
|
+
instant?: false | {
|
|
32752
|
+
tools?: Record<string, {
|
|
32753
|
+
enable: string[];
|
|
32754
|
+
} | {
|
|
32755
|
+
disable: string[];
|
|
32756
|
+
}> | undefined;
|
|
32757
|
+
toolkits?: {
|
|
32758
|
+
disable: string[];
|
|
32759
|
+
} | {
|
|
32760
|
+
enable: string[];
|
|
32761
|
+
} | undefined;
|
|
32762
|
+
returnInstantCharge?: boolean | undefined;
|
|
32763
|
+
} | undefined;
|
|
32332
32764
|
authConfigs?: Record<string, string> | null | undefined;
|
|
32333
32765
|
connectedAccounts?: Record<string, string | string[]> | null | undefined;
|
|
32334
32766
|
manageConnections?: boolean | {
|
|
@@ -32355,6 +32787,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32355
32787
|
requireExplicitSelection?: boolean | undefined;
|
|
32356
32788
|
} | null | undefined;
|
|
32357
32789
|
experimental?: {
|
|
32790
|
+
sessionConfigId?: string | undefined;
|
|
32358
32791
|
permissions?: {
|
|
32359
32792
|
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32360
32793
|
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
@@ -32364,14 +32797,35 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32364
32797
|
submitFeedback?: {
|
|
32365
32798
|
enable: boolean;
|
|
32366
32799
|
} | null | undefined;
|
|
32367
|
-
sessionConfigId?: string | undefined;
|
|
32368
32800
|
} | null | undefined;
|
|
32369
32801
|
execute?: {
|
|
32370
32802
|
enableMultiExecute?: boolean | undefined;
|
|
32371
32803
|
} | null | undefined;
|
|
32372
32804
|
expectedConfigVersion?: number | false | undefined;
|
|
32373
32805
|
}>;
|
|
32374
|
-
|
|
32806
|
+
/**
|
|
32807
|
+
* Options for `session.update()`. `experimental.sessionConfigId` applies a
|
|
32808
|
+
* saved Session config and cannot be combined with `toolkits`, `tools` or
|
|
32809
|
+
* `tags` (including `null`).
|
|
32810
|
+
*/
|
|
32811
|
+
type ToolRouterUpdateSessionConfig = InlineAccessUpdateSessionConfig | SavedConfigUpdateSessionConfig;
|
|
32812
|
+
type ParsedUpdateSessionConfig = z.infer<typeof ToolRouterUpdateSessionConfigSchema>;
|
|
32813
|
+
type ParsedUpdateSessionExperimental = NonNullable<ParsedUpdateSessionConfig['experimental']>;
|
|
32814
|
+
/** Update input that sets access inline and applies no saved Session config. */
|
|
32815
|
+
type InlineAccessUpdateSessionConfig = Omit<ParsedUpdateSessionConfig, 'experimental'> & {
|
|
32816
|
+
experimental?: (Omit<ParsedUpdateSessionExperimental, 'sessionConfigId'> & {
|
|
32817
|
+
sessionConfigId?: never;
|
|
32818
|
+
}) | null;
|
|
32819
|
+
};
|
|
32820
|
+
/** Update input that applies a saved Session config. */
|
|
32821
|
+
type SavedConfigUpdateSessionConfig = Omit<ParsedUpdateSessionConfig, 'toolkits' | 'tools' | 'tags' | 'experimental'> & {
|
|
32822
|
+
toolkits?: never;
|
|
32823
|
+
tools?: never;
|
|
32824
|
+
tags?: never;
|
|
32825
|
+
experimental: Omit<ParsedUpdateSessionExperimental, 'sessionConfigId'> & {
|
|
32826
|
+
sessionConfigId: string;
|
|
32827
|
+
};
|
|
32828
|
+
};
|
|
32375
32829
|
type ToolRouterSessionUpdateFn = (config: ToolRouterUpdateSessionConfig) => Promise<ToolRouterSessionConfig>;
|
|
32376
32830
|
declare const ToolRouterSessionDeleteResponseSchema: z.ZodObject<{
|
|
32377
32831
|
sessionId: z.ZodString;
|
|
@@ -32402,9 +32856,11 @@ declare const ToolRouterSessionListConfigHistoryOptionsSchema: z.ZodObject<{
|
|
|
32402
32856
|
type ToolRouterSessionListConfigHistoryOptions = z.infer<typeof ToolRouterSessionListConfigHistoryOptionsSchema>;
|
|
32403
32857
|
/**
|
|
32404
32858
|
* The session configuration at one version, as stored by the API. This is
|
|
32405
|
-
* the wire shape (snake_case),
|
|
32859
|
+
* the wire shape (snake_case), with the Instant policy under `instant`.
|
|
32406
32860
|
*/
|
|
32407
|
-
type ToolRouterSessionConfigHistoryConfig = SessionConfigHistoryResponse.Item.Config
|
|
32861
|
+
type ToolRouterSessionConfigHistoryConfig = Omit<SessionConfigHistoryResponse.Item.Config, 'premium_usage'> & {
|
|
32862
|
+
instant?: false | ToolRouterInstantResponse;
|
|
32863
|
+
};
|
|
32408
32864
|
type ToolRouterSessionConfigHistoryItem = {
|
|
32409
32865
|
/** The config version this entry represents. */
|
|
32410
32866
|
version: number;
|
|
@@ -32502,9 +32958,9 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
|
|
|
32502
32958
|
sessionId: string;
|
|
32503
32959
|
mcp: ToolRouterMCPServerConfig;
|
|
32504
32960
|
/**
|
|
32505
|
-
*
|
|
32506
|
-
*
|
|
32507
|
-
* `
|
|
32961
|
+
* The session's current configuration (policy snapshot and runtime
|
|
32962
|
+
* settings). Refreshed in place by `update()`. For saved, reusable Session
|
|
32963
|
+
* configs, see `composio.sessionConfigs`.
|
|
32508
32964
|
*/
|
|
32509
32965
|
config: ToolRouterSessionConfig;
|
|
32510
32966
|
/** Stored preload configuration for this session. */
|
|
@@ -32756,4 +33212,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
32756
33212
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
32757
33213
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
32758
33214
|
//#endregion
|
|
32759
|
-
export { ToolRouterSessionEnsureConnectedOptions as $, BeforeFileUploadSource as $i, UpdateConnectedAccountParamsSchema as $n, McpUpdateResponseSchema as $r, ToolRouterSessionFilesMountListOptionsSchema as $t, SessionProxyExecuteParams as A, ToolProxyParamsSchema as Aa, Oauth1InactiveConnectionDataSchema as Ai, ConnectedAccountRevokedToken as An, MCPServerCreateResponse as Ar, ToolRouterToolsParamSchema as At, ToolRouterCreateSessionConfigSchema as B, ToolkitVersionSchema as Ba, Oauth2ExpiredConnectionDataSchema as Bi, CreateConnectedAccountLinkOptionsSchema as Bn, MCPToolkitConfigSchema as Br, ToolkitConnectionsDetailsSchema as Bt, MCPServerType as C, ToolExecuteResponseSchema as Ca, Oauth1ConnectionData as Ci, ConnectedAccountListResponseSchema as Cn, MCPGenerateURLParamsSchema as Cr, ToolRouterToolkitsEnabledConfigSchema as Ct, Session as D, ToolListResponse as Da, Oauth1FailedConnectionData as Di, ConnectedAccountRetrieveResponseSchema as Dn, MCPMultiAppServer as Dr, ToolRouterToolkitsParamSchema as Dt, SandboxSizeSchema as E, ToolListParamsSchema as Ea, Oauth1ExpiredConnectionDataSchema as Ei, ConnectedAccountRetrieveResponse as En, MCPInstanceParams as Er, ToolRouterToolkitsOptionsSchema as Et, ToolRouterConfigTags as F, ToolkitLatestVersionSchema as Fa, Oauth2ActiveConnectionData as Fi, ConnectedAccountStatuses as Fn, MCPServerUpdateParams as Fr, ToolRouterUpdateSessionConfig as Ft, ToolRouterSandboxConfigSchema as G, Oauth2InitiatedConnectionData as Gi, CreateConnectedAccountParams as Gn, McpListResponseSchema as Gr, FileListResponseSchema as Gt, ToolRouterMCPServerConfigSchema as H, ToolkitVersionsSchema as Ha, Oauth2FailedConnectionDataSchema as Hi, CreateConnectedAccountLinkResponseSchema as Hn, McpDeleteResponse as Hr, FileDeleteResponse as Ht, ToolRouterConfigTagsSchema as I, ToolkitSchema as Ia, Oauth2ActiveConnectionDataSchema as Ii, ConnectedAccountType as In, MCPServerUpdateParamsSchema as Ir, ToolRouterUpdateSessionConfigSchema as It, ToolRouterSessionConfigHistoryItem as J, Oauth2InitiatingConnectionDataSchema as Ji, CreateConnectedAccountResponseSchema as Jn, McpServerCreateResponse as Jr, ToolRouterSessionFilesMountDeleteOptions as Jt, ToolRouterSessionConfig as K, Oauth2InitiatedConnectionDataSchema as Ki, CreateConnectedAccountParamsSchema as Kn, McpRetrieveResponse as Kr, RemoteFileData as Kt, ToolRouterConfigTools as L, ToolkitVersion as La, Oauth2ConnectionData as Li, ConnectedAccountTypeSchema as Ln, MCPSingleAppServer as Lr, ToolkitConnectionState as Lt, SessionWithoutMcp as M, ToolSchema as Ma, Oauth1InitiatedConnectionDataSchema as Mi, ConnectedAccountStatus as Mn, MCPServerListResponse as Mr, ToolRouterUpdateExperimentalSchema as Mt, ToolRouterAuthorizeFn as N, Toolkit as Na, Oauth1InitiatingConnectionData as Ni, ConnectedAccountStatusEnum as Nn, MCPServerListResponseSchema as Nr, ToolRouterUpdateManageConnectionsConfig as Nt, SessionExperimental as O, ToolListResponseSchema as Oa, Oauth1FailedConnectionDataSchema as Oi, ConnectedAccountRevokeResponse as On, MCPMultiAppServerSchema as Or, ToolRouterToolsFn as Ot, ToolRouterConfigManageConnectionsSchema as P, ToolkitLatestVersion as Pa, Oauth1InitiatingConnectionDataSchema as Pi, ConnectedAccountStatusSchema as Pn, MCPServerSchema as Pr, ToolRouterUpdateManageConnectionsSchema as Pt, ToolRouterSessionEnsureConnectedFn as Q, AgenticToolOptions as Qi, UpdateConnectedAccountParams as Qn, McpUpdateResponse as Qr, ToolRouterSessionFilesMountListOptions as Qt, ToolRouterConfigToolsSchema as R, ToolkitVersionParam as Ra, Oauth2ConnectionDataSchema as Ri, ConnectedAccountTypes as Rn, MCPSingleAppServerSchema as Rr, ToolkitConnectionStateSchema as Rt, SessionContext as S, ToolExecuteResponse as Sa, Oauth1ActiveConnectionDataSchema as Si, ConnectedAccountListResponseItem as Sn, MCPGenerateURLParams as Sr, ToolRouterToolkitsDisabledConfigSchema as St, SandboxSize as T, ToolListParams as Ta, Oauth1ExpiredConnectionData as Ti, ConnectedAccountRefreshOptionsSchema as Tn, MCPGetServerParamsSchema as Tr, ToolRouterToolkitsOptions as Tt, ToolRouterManageConnectionsConfigSchema as U, Oauth2InactiveConnectionData as Ui, CreateConnectedAccountOptions as Un, McpDeleteResponseSchema as Ur, FileDeleteResponseSchema as Ut, ToolRouterMCPServerConfig as V, ToolkitVersions as Va, Oauth2FailedConnectionData as Vi, CreateConnectedAccountLinkResponse as Vn, MCPToolkitConfigsArraySchema as Vr, RemoteFile as Vt, ToolRouterSandboxConfig as W, Oauth2InactiveConnectionDataSchema as Wi, CreateConnectedAccountOptionsSchema as Wn, McpListResponse as Wr, FileListResponse as Wt, ToolRouterSessionDeleteResponse as X, Oauth2RevokedConnectionDataSchema as Xi, UpdateConnectedAccountAclParams as Xn, McpServerUrlInfo as Xr, ToolRouterSessionFilesMountDownloadOptions as Xt, ToolRouterSessionDeleteFn as Y, Oauth2RevokedConnectionData as Yi, DefaultCreateConnectedAccountParamsSchema as Yn, McpServerGetResponse as Yr, ToolRouterSessionFilesMountDeleteOptionsSchema as Yt, ToolRouterSessionDeleteResponseSchema as Z, RedirectableAuthSchemeSchema as Zi, UpdateConnectedAccountAclParamsSchema as Zn, McpToolkitConnectionStatus as Zr, ToolRouterSessionFilesMountDownloadOptionsSchema as Zt, CustomToolsMapEntry as _, Tool as _a, CustomOauth1ConnectionData as _i, ConnectedAccountExperimentalResponseSchema as _n, GenerateURLResponseSchema as _r, ToolRouterSessionUpdateFn as _t, CreateCustomToolkitParams as a, ToolOptions as aa, GlobalExecuteToolFn as ai, ConnectedAccountAclConfig as an, ComposioGenerateURLResponseSchema as ar, ToolRouterSessionExecuteResponseSchema as at, RegisteredCustomTool as b, ToolExecuteParams as ba, CustomOauth2ConnectionDataSchema as bi, ConnectedAccountListParamsSchema as bn, MCPAuthOptionsSchema as br, ToolRouterTagsEnableDisableSchema as bt, CustomToolExecuteFn as c, afterExecuteModifier as ca, ToolCallSession as ci, ConnectedAccountAclConfigSchema as cn, ComposioMcpRetrieveResponseSchema as cr, ToolRouterSessionListConfigHistoryOptionsSchema as ct, CustomToolWireDefinition as d, beforeFileUploadModifier as da, ConnectionData as di, ConnectedAccountCompleteAuthParams as dn, CustomCreateResponse$1 as dr, ToolRouterSessionPreloadConfig as dt, ExecuteToolModifiers as ea, McpUrlResponse as ei, ToolRouterSessionFilesMountUploadOptions as en, BaseAgenticProvider as er, ToolRouterSessionEnsureConnectedOptionsSchema as et, CustomToolkit as f, CustomAuthParams as fa, ConnectionDataSchema as fi, ConnectedAccountCompleteAuthParamsSchema as fn, CustomCreateResponseSchema as fr, ToolRouterSessionProxyExecuteFn as ft, CustomToolsMap as g, SchemaModifierOptions as ga, CustomConnectionDataSchema as gi, ConnectedAccountExperimentalResponse as gn, GenerateURLResponse$1 as gr, ToolRouterSessionSearchResponseSchema as gt, CustomToolkitWireDefinition as h, JSONSchemaPropertySchema as ha, CustomConnectionData as hi, ConnectedAccountExperimental as hn, GenerateURLParamsSchema as hr, ToolRouterSessionSearchResponse as ht, CreateCustomToolkitBaseSchema as i, SessionMetaToolOptions as ia, ExecuteToolFnOptions as ii, ConnectionRequestState as in, ComposioGenerateURLParamsSchema as ir, ToolRouterSessionExecuteResponse as it, SessionProxyExecuteParamsSchema as j, ToolRetrievalOptions as ja, Oauth1InitiatedConnectionData as ji, ConnectedAccountRevokedTokenSchema as jn, MCPServerCreateResponseSchema as jr, ToolRouterUpdateExperimentalConfig as jt, SessionPreset as k, ToolProxyParams as ka, Oauth1InactiveConnectionData as ki, ConnectedAccountRevokeResponseSchema as kn, MCPServer as kr, ToolRouterToolsParam as kt, CustomToolResponse as l, beforeExecuteMetaModifier as la, BaseConnectionFields as li, ConnectedAccountAuthConfig as ln, ComposioMcpUpdateResponseSchema as lr, ToolRouterSessionListConfigHistoryResponse as lt, CustomToolkitResponse as m, JSONSchemaProperty as ma, ConnectionStatuses as mi, ConnectedAccountCompleteAuthResponseSchema as mn, GenerateURLParams as mr, ToolRouterSessionSearchFn as mt, CreateCustomToolBaseSchema as n, ProviderOptions as na, McpUserConnectionStatus as ni, ComposioRequestOptions as nn, BaseNonAgenticProvider as nr, ToolRouterSessionExecuteFn as nt, CustomTool as o, TransformToolSchemaModifier as oa, Provider as oi, ConnectedAccountAclConfigResponse as on, ComposioMcpDeleteResponseSchema as or, ToolRouterSessionListConfigHistoryFn as ot, CustomToolkitDefinition as p, CustomAuthParamsSchema as pa, ConnectionStatusEnum as pi, ConnectedAccountCompleteAuthResponse as pn, CustomCreateResponseValidated as pr, ToolRouterSessionProxyExecuteResponse as pt, ToolRouterSessionConfigHistoryConfig as q, Oauth2InitiatingConnectionData as qi, CreateConnectedAccountResponse as qn, McpRetrieveResponseSchema as qr, RemoteFileDataSchema as qt, CreateCustomToolParams as r, SessionExecuteMetaModifiers as ra, ExecuteToolFn as ri, ConnectionRequest as rn, ComposioCustomCreateResponseSchema as rr, ToolRouterSessionExecuteOptions as rt, CustomToolDefinition as s, afterExecuteMetaModifier as sa, ToolCallExecutionTarget as si, ConnectedAccountAclConfigResponseSchema as sn, ComposioMcpListResponseSchema as sr, ToolRouterSessionListConfigHistoryOptions as st, AnyZodSchema as t, MetaToolArguments as ta, McpUrlResponseCamelCase as ti, ToolRouterSessionFilesMountUploadOptionsSchema as tn, BaseComposioProvider as tr, ToolRouterSessionEnsureConnectedResult as tt, CustomToolSlugSchema as u, beforeExecuteModifier as ua, BillcomAuthConnectionDataSchema as ui, ConnectedAccountAuthConfigSchema as un, ConnectionStatus as ur, ToolRouterSessionMetadata as ut, InferZodSchema as v, ToolExecuteMetaParams as va, CustomOauth1ConnectionDataSchema as vi, ConnectedAccountExperimentalSchema as vn, GenerateURLResponseValidated as vr, ToolRouterSessionWarning as vt, MCPServerTypeSchema as w, ToolList as wa, Oauth1ConnectionDataSchema as wi, ConnectedAccountRefreshOptions as wn, MCPGetServerParams as wr, ToolRouterToolkitsFn as wt, RegisteredCustomToolkit as x, ToolExecuteParamsSchema as xa, Oauth1ActiveConnectionData as xi, ConnectedAccountListResponse as xn, MCPCreateMethodResponse as xr, ToolRouterTagsParamSchema as xt, InlineCustomToolsWirePayload as y, ToolExecuteMetaParamsSchema as ya, CustomOauth2ConnectionData as yi, ConnectedAccountListParams as yn, MCPAuthOptions as yr, ToolRouterSessionWorkbenchConfig as yt, ToolRouterCreateSessionConfig as z, ToolkitVersionParamSchema as za, Oauth2ExpiredConnectionData as zi, CreateConnectedAccountLinkOptions as zn, MCPToolkitConfig as zr, ToolkitConnectionsDetails as zt };
|
|
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 };
|