@composio/core 0.19.0 → 0.20.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-CB5vm1Jc.d.mts → CustomTool-B3m-188G.d.mts} +1 -1
- package/dist/{CustomTool-BMlZfJVz.mjs → CustomTool-fYEFjSLM.mjs} +1 -1
- package/dist/{FileModifierErrors-BqFmpRsm.mjs → FileModifierErrors-CdGSABoq.mjs} +1 -1
- package/dist/{SsrfErrors-C91YhASE.mjs → SsrfErrors-DiQldIdC.mjs} +18 -7
- package/dist/{Telemetry-HlftxMx6.mjs → Telemetry-JRJJYS4I.mjs} +2 -2
- package/dist/{cancellation-CXpfmiVo.mjs → cancellation-Dwa9lGHA.mjs} +2 -2
- package/dist/{composio-DLGaeN70.d.mts → composio-B36OXii1.d.mts} +2691 -119
- package/dist/{customTool.types-BAmEh3MB.d.mts → customTool.types-C436M_D0.d.mts} +431 -98
- package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +10 -10
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +5 -2
- package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +101 -18
- package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +123 -0
- package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +9 -2
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +7 -0
- package/dist/docs/reference/sdk-reference/typescript/keyring.mdx +56 -0
- package/dist/docs/reference/sdk-reference/typescript/logs.mdx +78 -0
- package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +15 -15
- package/dist/docs/reference/sdk-reference/typescript/meta.json +8 -1
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +10 -10
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +77 -27
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +24 -10
- package/dist/docs/reference/sdk-reference/typescript/toolkits.mdx +149 -12
- package/dist/docs/reference/sdk-reference/typescript/tools.mdx +18 -18
- package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +25 -25
- package/dist/docs/reference/sdk-reference/typescript/usage.mdx +78 -0
- package/dist/docs/reference/sdk-reference/typescript/webhook-endpoints.mdx +162 -0
- package/dist/docs/reference/sdk-reference/typescript/webhook-subscriptions.mdx +218 -0
- package/dist/docs/reference/sdk-reference/typescript/webhooks.mdx +20 -0
- package/dist/{errors-BuEKehbI.mjs → errors-D_A4b2c2.mjs} +123 -4
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-L7XD8UPr.mjs → fileUtils.node-DNLhLg0W.mjs} +4 -4
- package/dist/index.d.mts +264 -51
- package/dist/index.mjs +2338 -168
- package/dist/models/Files.node.mjs +2 -2
- package/dist/{sensitiveFileUploadPaths-B6pBt9lO.mjs → sensitiveFileUploadPaths-BlLp-Yo2.mjs} +1 -1
- package/dist/{ssrfGuard.node-B9xQB4za.mjs → ssrfGuard.node-BZ270bcu.mjs} +1 -1
- package/dist/{types-CxLPO0Xq.d.mts → types-Br3GBya5.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 +5 -5
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/dist/utils/ssrfGuard.node.mjs +1 -1
- package/dist/utils/ssrfGuard.workerd.mjs +1 -1
- package/package.json +2 -2
- package/src/composio.ts +207 -10
- package/src/errors/ConnectedAccountsErrors.ts +47 -0
- package/src/errors/SDKErrors.ts +52 -0
- package/src/errors/ToolRouterErrors.ts +57 -0
- package/src/errors/index.ts +3 -0
- package/src/index.ts +11 -0
- package/src/lib/toolRouterMcp.ts +132 -0
- package/src/lib/toolRouterParams.ts +116 -29
- package/src/models/ConnectedAccounts.ts +118 -2
- package/src/models/CustomToolkits.ts +169 -0
- package/src/models/Experimental.ts +27 -0
- package/src/models/Keyring.ts +65 -0
- package/src/models/Logs.ts +101 -0
- package/src/models/ToolRouter.ts +42 -14
- package/src/models/ToolRouterSession.ts +120 -9
- package/src/models/Toolkits.ts +180 -0
- package/src/models/Tools.ts +3 -1
- package/src/models/Triggers.ts +3 -88
- package/src/models/Usage.ts +119 -0
- package/src/models/Webhooks.ts +520 -0
- package/src/services/pusher/Pusher.ts +17 -6
- package/src/types/authConfigs.types.ts +2 -0
- package/src/types/connectedAccounts.types.ts +54 -0
- package/src/types/customToolkits.types.ts +102 -0
- package/src/types/keyring.types.ts +32 -0
- package/src/types/logs.types.ts +108 -0
- package/src/types/toolRouter.types.ts +205 -11
- package/src/types/toolkit.types.ts +144 -0
- package/src/types/usage.types.ts +81 -0
- package/src/types/webhooks.types.ts +143 -0
- package/src/utils/constants.ts +1 -5
- package/src/utils/logger.ts +39 -7
- package/src/utils/sdk.ts +385 -22
- package/src/utils/transformers/connectedAccounts.ts +37 -2
- package/src/utils/transformers/customToolkits.ts +98 -0
- package/src/utils/transformers/keyring.ts +24 -0
- package/src/utils/transformers/logs.ts +85 -0
- package/src/utils/transformers/toolkits.ts +106 -3
- package/src/utils/transformers/triggers.ts +2 -2
- package/src/utils/transformers/usage.ts +77 -0
- package/src/utils/transformers/webhooks.ts +139 -0
|
@@ -3,7 +3,7 @@ import z, { z as z$1 } from "zod/v3";
|
|
|
3
3
|
import { z as z$2 } from "zod/v4";
|
|
4
4
|
import { CustomCreateResponse, GenerateURLResponse, McpCreateResponse } from "@composio/client/resources/mcp";
|
|
5
5
|
import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
6
|
-
import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
6
|
+
import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
7
7
|
//#region src/types/tool.types.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Toolkit is the collection of tools,
|
|
@@ -29696,19 +29696,19 @@ type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountRes
|
|
|
29696
29696
|
declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
29697
29697
|
id: z$1.ZodString;
|
|
29698
29698
|
/** @deprecated Use `connectedAccount.state.authScheme` instead. */
|
|
29699
|
-
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
29699
|
+
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
|
|
29700
29700
|
isComposioManaged: z$1.ZodBoolean;
|
|
29701
29701
|
isDisabled: z$1.ZodBoolean;
|
|
29702
29702
|
}, "strip", z$1.ZodTypeAny, {
|
|
29703
29703
|
id: string;
|
|
29704
29704
|
isComposioManaged: boolean;
|
|
29705
29705
|
isDisabled: boolean;
|
|
29706
|
-
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
29706
|
+
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
29707
29707
|
}, {
|
|
29708
29708
|
id: string;
|
|
29709
29709
|
isComposioManaged: boolean;
|
|
29710
29710
|
isDisabled: boolean;
|
|
29711
|
-
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
29711
|
+
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
29712
29712
|
}>;
|
|
29713
29713
|
type ConnectedAccountAuthConfig = z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
29714
29714
|
declare const ConnectedAccountRetrieveResponseSchema: z$1.ZodType<{
|
|
@@ -29969,6 +29969,10 @@ declare const CreateConnectedAccountLinkResponseSchema: z$1.ZodObject<{
|
|
|
29969
29969
|
type CreateConnectedAccountLinkResponse = z$1.infer<typeof CreateConnectedAccountLinkResponseSchema>;
|
|
29970
29970
|
declare const ConnectedAccountRefreshOptionsSchema: z$1.ZodObject<{
|
|
29971
29971
|
redirectUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
29972
|
+
/**
|
|
29973
|
+
* @deprecated The Composio API no longer accepts this field. It is ignored
|
|
29974
|
+
* and `refresh()` logs a warning when it is set.
|
|
29975
|
+
*/
|
|
29972
29976
|
validateCredentials: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29973
29977
|
}, "strip", z$1.ZodTypeAny, {
|
|
29974
29978
|
redirectUrl?: string | undefined;
|
|
@@ -30019,6 +30023,74 @@ declare const UpdateConnectedAccountAclParamsSchema: z$1.ZodEffects<z$1.ZodObjec
|
|
|
30019
30023
|
notAllowedUserIds?: string[] | undefined;
|
|
30020
30024
|
}>;
|
|
30021
30025
|
type UpdateConnectedAccountAclParams = z$1.infer<typeof UpdateConnectedAccountAclParamsSchema>;
|
|
30026
|
+
/**
|
|
30027
|
+
* Response of `composio.connectedAccounts.revoke()`.
|
|
30028
|
+
*/
|
|
30029
|
+
declare const ConnectedAccountRevokedTokenSchema: z$1.ZodEnum<["access_token", "refresh_token", "credential"]>;
|
|
30030
|
+
type ConnectedAccountRevokedToken = z$1.infer<typeof ConnectedAccountRevokedTokenSchema>;
|
|
30031
|
+
declare const ConnectedAccountRevokeResponseSchema: z$1.ZodObject<{
|
|
30032
|
+
/**
|
|
30033
|
+
* Tokens revoked at the provider on this call. An empty array means the
|
|
30034
|
+
* connection was already revoked (no upstream dispatch).
|
|
30035
|
+
*/
|
|
30036
|
+
revokedTokens: z$1.ZodArray<z$1.ZodEnum<["access_token", "refresh_token", "credential"]>, "many">;
|
|
30037
|
+
connectedAccount: z$1.ZodObject<{
|
|
30038
|
+
id: z$1.ZodString;
|
|
30039
|
+
/** The connection status after this call (`REVOKED` on success). */
|
|
30040
|
+
status: z$1.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>;
|
|
30041
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30042
|
+
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
30043
|
+
id: string;
|
|
30044
|
+
}, {
|
|
30045
|
+
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
30046
|
+
id: string;
|
|
30047
|
+
}>;
|
|
30048
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30049
|
+
connectedAccount: {
|
|
30050
|
+
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
30051
|
+
id: string;
|
|
30052
|
+
};
|
|
30053
|
+
revokedTokens: ("access_token" | "refresh_token" | "credential")[];
|
|
30054
|
+
}, {
|
|
30055
|
+
connectedAccount: {
|
|
30056
|
+
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
30057
|
+
id: string;
|
|
30058
|
+
};
|
|
30059
|
+
revokedTokens: ("access_token" | "refresh_token" | "credential")[];
|
|
30060
|
+
}>;
|
|
30061
|
+
type ConnectedAccountRevokeResponse = z$1.infer<typeof ConnectedAccountRevokeResponseSchema>;
|
|
30062
|
+
/**
|
|
30063
|
+
* Params for `composio.connectedAccounts.completeAuth()`.
|
|
30064
|
+
*/
|
|
30065
|
+
declare const ConnectedAccountCompleteAuthParamsSchema: z$1.ZodObject<{
|
|
30066
|
+
/** The user the connection was initiated for. Must match the connection owner. */
|
|
30067
|
+
userId: z$1.ZodString;
|
|
30068
|
+
/** The opaque, single-use session URI your OAuth callback verifier received. */
|
|
30069
|
+
sessionUri: z$1.ZodString;
|
|
30070
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30071
|
+
userId: string;
|
|
30072
|
+
sessionUri: string;
|
|
30073
|
+
}, {
|
|
30074
|
+
userId: string;
|
|
30075
|
+
sessionUri: string;
|
|
30076
|
+
}>;
|
|
30077
|
+
type ConnectedAccountCompleteAuthParams = z$1.infer<typeof ConnectedAccountCompleteAuthParamsSchema>;
|
|
30078
|
+
/**
|
|
30079
|
+
* Response of `composio.connectedAccounts.completeAuth()`.
|
|
30080
|
+
*/
|
|
30081
|
+
declare const ConnectedAccountCompleteAuthResponseSchema: z$1.ZodObject<{
|
|
30082
|
+
/** The connection that was completed; it is now `ACTIVE`. */
|
|
30083
|
+
connectedAccountId: z$1.ZodString;
|
|
30084
|
+
/** The toolkit the connection belongs to. */
|
|
30085
|
+
toolkitSlug: z$1.ZodString;
|
|
30086
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
30087
|
+
connectedAccountId: string;
|
|
30088
|
+
toolkitSlug: string;
|
|
30089
|
+
}, {
|
|
30090
|
+
connectedAccountId: string;
|
|
30091
|
+
toolkitSlug: string;
|
|
30092
|
+
}>;
|
|
30093
|
+
type ConnectedAccountCompleteAuthResponse = z$1.infer<typeof ConnectedAccountCompleteAuthResponseSchema>;
|
|
30022
30094
|
//#endregion
|
|
30023
30095
|
//#region src/types/connectionRequest.types.d.ts
|
|
30024
30096
|
interface ConnectionRequestState {
|
|
@@ -30508,21 +30580,21 @@ declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
|
|
|
30508
30580
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30509
30581
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30510
30582
|
}, "strict", z.ZodTypeAny, {
|
|
30511
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30512
30583
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30513
|
-
}, {
|
|
30514
30584
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30585
|
+
}, {
|
|
30515
30586
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30587
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30516
30588
|
}>;
|
|
30517
30589
|
declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
30518
30590
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30519
30591
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30520
30592
|
}, "strict", z.ZodTypeAny, {
|
|
30521
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30522
30593
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30523
|
-
}, {
|
|
30524
30594
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30595
|
+
}, {
|
|
30525
30596
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30597
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30526
30598
|
}>]>;
|
|
30527
30599
|
type ToolRouterConfigTags = z.infer<typeof ToolRouterConfigTagsSchema>;
|
|
30528
30600
|
/**
|
|
@@ -30566,21 +30638,21 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30566
30638
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30567
30639
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30568
30640
|
}, "strict", z.ZodTypeAny, {
|
|
30569
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30570
30641
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30571
|
-
}, {
|
|
30572
30642
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30643
|
+
}, {
|
|
30573
30644
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30645
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30574
30646
|
}>]>;
|
|
30575
30647
|
}, "strict", z.ZodTypeAny, {
|
|
30576
30648
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30577
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30578
30649
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30650
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30579
30651
|
};
|
|
30580
30652
|
}, {
|
|
30581
30653
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30582
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30583
30654
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30655
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30584
30656
|
};
|
|
30585
30657
|
}>]>, string[] | {
|
|
30586
30658
|
enable: string[];
|
|
@@ -30588,8 +30660,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30588
30660
|
disable: string[];
|
|
30589
30661
|
} | {
|
|
30590
30662
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30591
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30592
30663
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30664
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30593
30665
|
};
|
|
30594
30666
|
}, string[] | {
|
|
30595
30667
|
enable: string[];
|
|
@@ -30597,8 +30669,8 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
30597
30669
|
disable: string[];
|
|
30598
30670
|
} | {
|
|
30599
30671
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30600
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30601
30672
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30673
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30602
30674
|
};
|
|
30603
30675
|
}>;
|
|
30604
30676
|
type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
|
|
@@ -30622,21 +30694,21 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30622
30694
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30623
30695
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30624
30696
|
}, "strict", z.ZodTypeAny, {
|
|
30625
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30626
30697
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30627
|
-
}, {
|
|
30628
30698
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30699
|
+
}, {
|
|
30629
30700
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30701
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30630
30702
|
}>]>;
|
|
30631
30703
|
}, "strict", z.ZodTypeAny, {
|
|
30632
30704
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30633
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30634
30705
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30706
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30635
30707
|
};
|
|
30636
30708
|
}, {
|
|
30637
30709
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30638
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30639
30710
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30711
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30640
30712
|
};
|
|
30641
30713
|
}>]>, string[] | {
|
|
30642
30714
|
enable: string[];
|
|
@@ -30644,8 +30716,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30644
30716
|
disable: string[];
|
|
30645
30717
|
} | {
|
|
30646
30718
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30647
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30648
30719
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30720
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30649
30721
|
};
|
|
30650
30722
|
}, string[] | {
|
|
30651
30723
|
enable: string[];
|
|
@@ -30653,19 +30725,19 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30653
30725
|
disable: string[];
|
|
30654
30726
|
} | {
|
|
30655
30727
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30656
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30657
30728
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30729
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30658
30730
|
};
|
|
30659
30731
|
}>]>>>>;
|
|
30660
30732
|
tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
30661
30733
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30662
30734
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
30663
30735
|
}, "strict", z.ZodTypeAny, {
|
|
30664
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30665
30736
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30666
|
-
}, {
|
|
30667
30737
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30738
|
+
}, {
|
|
30668
30739
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30740
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30669
30741
|
}>]>>>;
|
|
30670
30742
|
toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
30671
30743
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
@@ -30772,8 +30844,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30772
30844
|
}>>>;
|
|
30773
30845
|
}, "strip", z.ZodTypeAny, {
|
|
30774
30846
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30775
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30776
30847
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30848
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30777
30849
|
} | undefined;
|
|
30778
30850
|
tools?: Record<string, string[] | {
|
|
30779
30851
|
enable: string[];
|
|
@@ -30781,8 +30853,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30781
30853
|
disable: string[];
|
|
30782
30854
|
} | {
|
|
30783
30855
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30784
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30785
30856
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30857
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30786
30858
|
};
|
|
30787
30859
|
}> | undefined;
|
|
30788
30860
|
toolkits?: string[] | {
|
|
@@ -30828,8 +30900,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30828
30900
|
} | undefined;
|
|
30829
30901
|
}, {
|
|
30830
30902
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30831
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30832
30903
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30904
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30833
30905
|
} | undefined;
|
|
30834
30906
|
tools?: Record<string, string[] | {
|
|
30835
30907
|
enable: string[];
|
|
@@ -30837,8 +30909,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30837
30909
|
disable: string[];
|
|
30838
30910
|
} | {
|
|
30839
30911
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30840
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30841
30912
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30913
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30842
30914
|
};
|
|
30843
30915
|
}> | undefined;
|
|
30844
30916
|
toolkits?: string[] | {
|
|
@@ -30884,8 +30956,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30884
30956
|
} | undefined;
|
|
30885
30957
|
}>, {
|
|
30886
30958
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30887
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30888
30959
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30960
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30889
30961
|
} | undefined;
|
|
30890
30962
|
tools?: Record<string, string[] | {
|
|
30891
30963
|
enable: string[];
|
|
@@ -30893,8 +30965,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30893
30965
|
disable: string[];
|
|
30894
30966
|
} | {
|
|
30895
30967
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30896
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30897
30968
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30969
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30898
30970
|
};
|
|
30899
30971
|
}> | undefined;
|
|
30900
30972
|
toolkits?: string[] | {
|
|
@@ -30940,8 +31012,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30940
31012
|
} | undefined;
|
|
30941
31013
|
}, {
|
|
30942
31014
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30943
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30944
31015
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31016
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30945
31017
|
} | undefined;
|
|
30946
31018
|
tools?: Record<string, string[] | {
|
|
30947
31019
|
enable: string[];
|
|
@@ -30949,8 +31021,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30949
31021
|
disable: string[];
|
|
30950
31022
|
} | {
|
|
30951
31023
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30952
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30953
31024
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31025
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30954
31026
|
};
|
|
30955
31027
|
}> | undefined;
|
|
30956
31028
|
toolkits?: string[] | {
|
|
@@ -30996,8 +31068,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30996
31068
|
} | undefined;
|
|
30997
31069
|
}>, {
|
|
30998
31070
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30999
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31000
31071
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31072
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31001
31073
|
} | undefined;
|
|
31002
31074
|
tools?: Record<string, string[] | {
|
|
31003
31075
|
enable: string[];
|
|
@@ -31005,8 +31077,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31005
31077
|
disable: string[];
|
|
31006
31078
|
} | {
|
|
31007
31079
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31008
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31009
31080
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31081
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31010
31082
|
};
|
|
31011
31083
|
}> | undefined;
|
|
31012
31084
|
toolkits?: string[] | {
|
|
@@ -31747,8 +31819,86 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
|
|
|
31747
31819
|
}>;
|
|
31748
31820
|
type SessionProxyExecuteParams = z.infer<typeof SessionProxyExecuteParamsSchema>;
|
|
31749
31821
|
type ToolRouterSessionProxyExecuteFn = (params: SessionProxyExecuteParams) => Promise<ToolRouterSessionProxyExecuteResponse>;
|
|
31822
|
+
/**
|
|
31823
|
+
* `manageConnections` shape accepted by `session.update()`. Unlike the create
|
|
31824
|
+
* schema, `callbackUrl: null` removes the stored callback URL while leaving
|
|
31825
|
+
* the sibling connection settings untouched.
|
|
31826
|
+
*/
|
|
31827
|
+
declare const ToolRouterUpdateManageConnectionsSchema: z.ZodObject<{
|
|
31828
|
+
enable: z.ZodOptional<z.ZodBoolean>;
|
|
31829
|
+
callbackUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31830
|
+
waitForConnections: z.ZodOptional<z.ZodBoolean>;
|
|
31831
|
+
enableConnectionRemoval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
31832
|
+
}, "strict", z.ZodTypeAny, {
|
|
31833
|
+
enable?: boolean | undefined;
|
|
31834
|
+
callbackUrl?: string | null | undefined;
|
|
31835
|
+
waitForConnections?: boolean | undefined;
|
|
31836
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31837
|
+
}, {
|
|
31838
|
+
enable?: boolean | undefined;
|
|
31839
|
+
callbackUrl?: string | null | undefined;
|
|
31840
|
+
waitForConnections?: boolean | undefined;
|
|
31841
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31842
|
+
}>;
|
|
31843
|
+
type ToolRouterUpdateManageConnectionsConfig = z.infer<typeof ToolRouterUpdateManageConnectionsSchema>;
|
|
31844
|
+
/**
|
|
31845
|
+
* `experimental` block accepted by `session.update()`. Each leaf follows the
|
|
31846
|
+
* PATCH contract of the API: omit to keep the stored value, `null` to remove
|
|
31847
|
+
* it, a value to replace it.
|
|
31848
|
+
*/
|
|
31849
|
+
declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
|
|
31850
|
+
permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31851
|
+
default: z.ZodEnum<["allow_all", "ask_every_call", "ask_once_per_session"]>;
|
|
31852
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["always_allow", "always_deny", "ask_once", "ask_always"]>>>;
|
|
31853
|
+
}, "strict", z.ZodTypeAny, {
|
|
31854
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31855
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
31856
|
+
}, {
|
|
31857
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31858
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
31859
|
+
}>>>;
|
|
31860
|
+
linkUrlOverwrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31861
|
+
fastMode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
31862
|
+
submitFeedback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31863
|
+
enable: z.ZodBoolean;
|
|
31864
|
+
}, "strict", z.ZodTypeAny, {
|
|
31865
|
+
enable: boolean;
|
|
31866
|
+
}, {
|
|
31867
|
+
enable: boolean;
|
|
31868
|
+
}>>>;
|
|
31869
|
+
sessionConfigId: z.ZodOptional<z.ZodString>;
|
|
31870
|
+
}, "strict", z.ZodTypeAny, {
|
|
31871
|
+
permissions?: {
|
|
31872
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31873
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
31874
|
+
} | null | undefined;
|
|
31875
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
31876
|
+
fastMode?: boolean | null | undefined;
|
|
31877
|
+
submitFeedback?: {
|
|
31878
|
+
enable: boolean;
|
|
31879
|
+
} | null | undefined;
|
|
31880
|
+
sessionConfigId?: string | undefined;
|
|
31881
|
+
}, {
|
|
31882
|
+
permissions?: {
|
|
31883
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
31884
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
31885
|
+
} | null | undefined;
|
|
31886
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
31887
|
+
fastMode?: boolean | null | undefined;
|
|
31888
|
+
submitFeedback?: {
|
|
31889
|
+
enable: boolean;
|
|
31890
|
+
} | null | undefined;
|
|
31891
|
+
sessionConfigId?: string | undefined;
|
|
31892
|
+
}>;
|
|
31893
|
+
type ToolRouterUpdateExperimentalConfig = z.infer<typeof ToolRouterUpdateExperimentalSchema>;
|
|
31894
|
+
/**
|
|
31895
|
+
* Options for `session.update()`. For every policy block, omitting the key
|
|
31896
|
+
* preserves the stored value and `null` removes the stored override (which can
|
|
31897
|
+
* increase access: `toolkits: null` restores the unrestricted default, unlike
|
|
31898
|
+
* `toolkits: []`, which denies every app toolkit).
|
|
31899
|
+
*/
|
|
31750
31900
|
declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
31751
|
-
toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31901
|
+
toolkits: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31752
31902
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
31753
31903
|
}, "strict", z.ZodTypeAny, {
|
|
31754
31904
|
disable: string[];
|
|
@@ -31760,8 +31910,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31760
31910
|
enable: string[];
|
|
31761
31911
|
}, {
|
|
31762
31912
|
enable: string[];
|
|
31763
|
-
}>]
|
|
31764
|
-
tools: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31913
|
+
}>]>>>>;
|
|
31914
|
+
tools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31765
31915
|
enable: z.ZodArray<z.ZodString, "many">;
|
|
31766
31916
|
}, "strict", z.ZodTypeAny, {
|
|
31767
31917
|
enable: string[];
|
|
@@ -31778,21 +31928,21 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31778
31928
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31779
31929
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31780
31930
|
}, "strict", z.ZodTypeAny, {
|
|
31781
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31782
31931
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31783
|
-
}, {
|
|
31784
31932
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31933
|
+
}, {
|
|
31785
31934
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31935
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31786
31936
|
}>]>;
|
|
31787
31937
|
}, "strict", z.ZodTypeAny, {
|
|
31788
31938
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31789
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31790
31939
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31940
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31791
31941
|
};
|
|
31792
31942
|
}, {
|
|
31793
31943
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31794
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31795
31944
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31945
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31796
31946
|
};
|
|
31797
31947
|
}>]>, string[] | {
|
|
31798
31948
|
enable: string[];
|
|
@@ -31800,8 +31950,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31800
31950
|
disable: string[];
|
|
31801
31951
|
} | {
|
|
31802
31952
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31803
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31804
31953
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31954
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31805
31955
|
};
|
|
31806
31956
|
}, string[] | {
|
|
31807
31957
|
enable: string[];
|
|
@@ -31809,34 +31959,37 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31809
31959
|
disable: string[];
|
|
31810
31960
|
} | {
|
|
31811
31961
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31812
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31813
31962
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31963
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31814
31964
|
};
|
|
31815
|
-
}>]
|
|
31816
|
-
tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
31965
|
+
}>]>>>>>;
|
|
31966
|
+
tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
|
|
31817
31967
|
enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31818
31968
|
disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
31819
31969
|
}, "strict", z.ZodTypeAny, {
|
|
31820
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31821
31970
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31822
|
-
}, {
|
|
31823
31971
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31972
|
+
}, {
|
|
31824
31973
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31825
|
-
|
|
31826
|
-
|
|
31827
|
-
|
|
31974
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31975
|
+
}>]>>>>;
|
|
31976
|
+
authConfigs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
31977
|
+
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[]>>>>>;
|
|
31828
31978
|
manageConnections: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
31829
|
-
enable: z.ZodOptional<z.
|
|
31830
|
-
callbackUrl: z.ZodOptional<z.ZodString
|
|
31979
|
+
enable: z.ZodOptional<z.ZodBoolean>;
|
|
31980
|
+
callbackUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31831
31981
|
waitForConnections: z.ZodOptional<z.ZodBoolean>;
|
|
31982
|
+
enableConnectionRemoval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
31832
31983
|
}, "strict", z.ZodTypeAny, {
|
|
31833
31984
|
enable?: boolean | undefined;
|
|
31834
|
-
callbackUrl?: string | undefined;
|
|
31985
|
+
callbackUrl?: string | null | undefined;
|
|
31835
31986
|
waitForConnections?: boolean | undefined;
|
|
31987
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31836
31988
|
}, {
|
|
31837
31989
|
enable?: boolean | undefined;
|
|
31838
|
-
callbackUrl?: string | undefined;
|
|
31990
|
+
callbackUrl?: string | null | undefined;
|
|
31839
31991
|
waitForConnections?: boolean | undefined;
|
|
31992
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31840
31993
|
}>]>>>>;
|
|
31841
31994
|
sandbox: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31842
31995
|
enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -31872,53 +32025,116 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31872
32025
|
}>>>>;
|
|
31873
32026
|
multiAccount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31874
32027
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
31875
|
-
maxAccountsPerToolkit: z.ZodOptional<z.ZodNumber
|
|
32028
|
+
maxAccountsPerToolkit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31876
32029
|
requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
|
|
31877
32030
|
}, "strip", z.ZodTypeAny, {
|
|
31878
32031
|
enable?: boolean | undefined;
|
|
31879
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32032
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
31880
32033
|
requireExplicitSelection?: boolean | undefined;
|
|
31881
32034
|
}, {
|
|
31882
32035
|
enable?: boolean | undefined;
|
|
31883
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32036
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
31884
32037
|
requireExplicitSelection?: boolean | undefined;
|
|
31885
32038
|
}>>>>;
|
|
31886
|
-
preload: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
32039
|
+
preload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31887
32040
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
|
|
31888
32041
|
}, "strict", z.ZodTypeAny, {
|
|
31889
32042
|
tools?: string[] | "all" | undefined;
|
|
31890
32043
|
}, {
|
|
31891
32044
|
tools?: string[] | "all" | undefined;
|
|
31892
|
-
}
|
|
32045
|
+
}>>>>;
|
|
32046
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32047
|
+
enable: z.ZodOptional<z.ZodBoolean>;
|
|
32048
|
+
}, "strict", z.ZodTypeAny, {
|
|
32049
|
+
enable?: boolean | undefined;
|
|
32050
|
+
}, {
|
|
32051
|
+
enable?: boolean | undefined;
|
|
32052
|
+
}>>>>;
|
|
32053
|
+
execute: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32054
|
+
enableMultiExecute: z.ZodOptional<z.ZodBoolean>;
|
|
32055
|
+
}, "strict", z.ZodTypeAny, {
|
|
32056
|
+
enableMultiExecute?: boolean | undefined;
|
|
32057
|
+
}, {
|
|
32058
|
+
enableMultiExecute?: boolean | undefined;
|
|
32059
|
+
}>>>>;
|
|
32060
|
+
experimental: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32061
|
+
permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32062
|
+
default: z.ZodEnum<["allow_all", "ask_every_call", "ask_once_per_session"]>;
|
|
32063
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["always_allow", "always_deny", "ask_once", "ask_always"]>>>;
|
|
32064
|
+
}, "strict", z.ZodTypeAny, {
|
|
32065
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32066
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32067
|
+
}, {
|
|
32068
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32069
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32070
|
+
}>>>;
|
|
32071
|
+
linkUrlOverwrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32072
|
+
fastMode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32073
|
+
submitFeedback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32074
|
+
enable: z.ZodBoolean;
|
|
32075
|
+
}, "strict", z.ZodTypeAny, {
|
|
32076
|
+
enable: boolean;
|
|
32077
|
+
}, {
|
|
32078
|
+
enable: boolean;
|
|
32079
|
+
}>>>;
|
|
32080
|
+
sessionConfigId: z.ZodOptional<z.ZodString>;
|
|
32081
|
+
}, "strict", z.ZodTypeAny, {
|
|
32082
|
+
permissions?: {
|
|
32083
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32084
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32085
|
+
} | null | undefined;
|
|
32086
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32087
|
+
fastMode?: boolean | null | undefined;
|
|
32088
|
+
submitFeedback?: {
|
|
32089
|
+
enable: boolean;
|
|
32090
|
+
} | null | undefined;
|
|
32091
|
+
sessionConfigId?: string | undefined;
|
|
32092
|
+
}, {
|
|
32093
|
+
permissions?: {
|
|
32094
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32095
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32096
|
+
} | null | undefined;
|
|
32097
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32098
|
+
fastMode?: boolean | null | undefined;
|
|
32099
|
+
submitFeedback?: {
|
|
32100
|
+
enable: boolean;
|
|
32101
|
+
} | null | undefined;
|
|
32102
|
+
sessionConfigId?: string | undefined;
|
|
32103
|
+
}>>>>;
|
|
32104
|
+
expectedConfigVersion: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>>;
|
|
31893
32105
|
}, "strip", z.ZodTypeAny, {
|
|
31894
32106
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31895
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31896
32107
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31897
|
-
|
|
32108
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32109
|
+
} | null | undefined;
|
|
31898
32110
|
tools?: Record<string, string[] | {
|
|
31899
32111
|
enable: string[];
|
|
31900
32112
|
} | {
|
|
31901
32113
|
disable: string[];
|
|
31902
32114
|
} | {
|
|
31903
32115
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31904
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31905
32116
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32117
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31906
32118
|
};
|
|
31907
|
-
}> | undefined;
|
|
32119
|
+
}> | null | undefined;
|
|
31908
32120
|
toolkits?: string[] | {
|
|
31909
32121
|
disable: string[];
|
|
31910
32122
|
} | {
|
|
31911
32123
|
enable: string[];
|
|
31912
|
-
} | undefined;
|
|
32124
|
+
} | null | undefined;
|
|
32125
|
+
search?: {
|
|
32126
|
+
enable?: boolean | undefined;
|
|
32127
|
+
} | null | undefined;
|
|
31913
32128
|
preload?: {
|
|
31914
32129
|
tools?: string[] | "all" | undefined;
|
|
31915
|
-
} | undefined;
|
|
31916
|
-
authConfigs?: Record<string, string> | undefined;
|
|
31917
|
-
connectedAccounts?: Record<string, string[]> | undefined;
|
|
32130
|
+
} | null | undefined;
|
|
32131
|
+
authConfigs?: Record<string, string> | null | undefined;
|
|
32132
|
+
connectedAccounts?: Record<string, string[]> | null | undefined;
|
|
31918
32133
|
manageConnections?: boolean | {
|
|
31919
32134
|
enable?: boolean | undefined;
|
|
31920
|
-
callbackUrl?: string | undefined;
|
|
32135
|
+
callbackUrl?: string | null | undefined;
|
|
31921
32136
|
waitForConnections?: boolean | undefined;
|
|
32137
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31922
32138
|
} | null | undefined;
|
|
31923
32139
|
sandbox?: {
|
|
31924
32140
|
enable?: boolean | undefined;
|
|
@@ -31934,38 +32150,58 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31934
32150
|
} | null | undefined;
|
|
31935
32151
|
multiAccount?: {
|
|
31936
32152
|
enable?: boolean | undefined;
|
|
31937
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32153
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
31938
32154
|
requireExplicitSelection?: boolean | undefined;
|
|
31939
32155
|
} | null | undefined;
|
|
32156
|
+
experimental?: {
|
|
32157
|
+
permissions?: {
|
|
32158
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32159
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32160
|
+
} | null | undefined;
|
|
32161
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32162
|
+
fastMode?: boolean | null | undefined;
|
|
32163
|
+
submitFeedback?: {
|
|
32164
|
+
enable: boolean;
|
|
32165
|
+
} | null | undefined;
|
|
32166
|
+
sessionConfigId?: string | undefined;
|
|
32167
|
+
} | null | undefined;
|
|
32168
|
+
execute?: {
|
|
32169
|
+
enableMultiExecute?: boolean | undefined;
|
|
32170
|
+
} | null | undefined;
|
|
32171
|
+
expectedConfigVersion?: number | false | undefined;
|
|
31940
32172
|
}, {
|
|
31941
32173
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31942
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31943
32174
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31944
|
-
|
|
32175
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32176
|
+
} | null | undefined;
|
|
31945
32177
|
tools?: Record<string, string[] | {
|
|
31946
32178
|
enable: string[];
|
|
31947
32179
|
} | {
|
|
31948
32180
|
disable: string[];
|
|
31949
32181
|
} | {
|
|
31950
32182
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31951
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31952
32183
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32184
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31953
32185
|
};
|
|
31954
|
-
}> | undefined;
|
|
32186
|
+
}> | null | undefined;
|
|
31955
32187
|
toolkits?: string[] | {
|
|
31956
32188
|
disable: string[];
|
|
31957
32189
|
} | {
|
|
31958
32190
|
enable: string[];
|
|
31959
|
-
} | undefined;
|
|
32191
|
+
} | null | undefined;
|
|
32192
|
+
search?: {
|
|
32193
|
+
enable?: boolean | undefined;
|
|
32194
|
+
} | null | undefined;
|
|
31960
32195
|
preload?: {
|
|
31961
32196
|
tools?: string[] | "all" | undefined;
|
|
31962
|
-
} | undefined;
|
|
31963
|
-
authConfigs?: Record<string, string> | undefined;
|
|
31964
|
-
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
32197
|
+
} | null | undefined;
|
|
32198
|
+
authConfigs?: Record<string, string> | null | undefined;
|
|
32199
|
+
connectedAccounts?: Record<string, string | string[]> | null | undefined;
|
|
31965
32200
|
manageConnections?: boolean | {
|
|
31966
32201
|
enable?: boolean | undefined;
|
|
31967
|
-
callbackUrl?: string | undefined;
|
|
32202
|
+
callbackUrl?: string | null | undefined;
|
|
31968
32203
|
waitForConnections?: boolean | undefined;
|
|
32204
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
31969
32205
|
} | null | undefined;
|
|
31970
32206
|
sandbox?: {
|
|
31971
32207
|
enable?: boolean | undefined;
|
|
@@ -31981,38 +32217,58 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31981
32217
|
} | null | undefined;
|
|
31982
32218
|
multiAccount?: {
|
|
31983
32219
|
enable?: boolean | undefined;
|
|
31984
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32220
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
31985
32221
|
requireExplicitSelection?: boolean | undefined;
|
|
31986
32222
|
} | null | undefined;
|
|
32223
|
+
experimental?: {
|
|
32224
|
+
permissions?: {
|
|
32225
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32226
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32227
|
+
} | null | undefined;
|
|
32228
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32229
|
+
fastMode?: boolean | null | undefined;
|
|
32230
|
+
submitFeedback?: {
|
|
32231
|
+
enable: boolean;
|
|
32232
|
+
} | null | undefined;
|
|
32233
|
+
sessionConfigId?: string | undefined;
|
|
32234
|
+
} | null | undefined;
|
|
32235
|
+
execute?: {
|
|
32236
|
+
enableMultiExecute?: boolean | undefined;
|
|
32237
|
+
} | null | undefined;
|
|
32238
|
+
expectedConfigVersion?: number | false | undefined;
|
|
31987
32239
|
}>, {
|
|
31988
32240
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31989
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31990
32241
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31991
|
-
|
|
32242
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32243
|
+
} | null | undefined;
|
|
31992
32244
|
tools?: Record<string, string[] | {
|
|
31993
32245
|
enable: string[];
|
|
31994
32246
|
} | {
|
|
31995
32247
|
disable: string[];
|
|
31996
32248
|
} | {
|
|
31997
32249
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31998
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31999
32250
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32251
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32000
32252
|
};
|
|
32001
|
-
}> | undefined;
|
|
32253
|
+
}> | null | undefined;
|
|
32002
32254
|
toolkits?: string[] | {
|
|
32003
32255
|
disable: string[];
|
|
32004
32256
|
} | {
|
|
32005
32257
|
enable: string[];
|
|
32006
|
-
} | undefined;
|
|
32258
|
+
} | null | undefined;
|
|
32259
|
+
search?: {
|
|
32260
|
+
enable?: boolean | undefined;
|
|
32261
|
+
} | null | undefined;
|
|
32007
32262
|
preload?: {
|
|
32008
32263
|
tools?: string[] | "all" | undefined;
|
|
32009
|
-
} | undefined;
|
|
32010
|
-
authConfigs?: Record<string, string> | undefined;
|
|
32011
|
-
connectedAccounts?: Record<string, string[]> | undefined;
|
|
32264
|
+
} | null | undefined;
|
|
32265
|
+
authConfigs?: Record<string, string> | null | undefined;
|
|
32266
|
+
connectedAccounts?: Record<string, string[]> | null | undefined;
|
|
32012
32267
|
manageConnections?: boolean | {
|
|
32013
32268
|
enable?: boolean | undefined;
|
|
32014
|
-
callbackUrl?: string | undefined;
|
|
32269
|
+
callbackUrl?: string | null | undefined;
|
|
32015
32270
|
waitForConnections?: boolean | undefined;
|
|
32271
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
32016
32272
|
} | null | undefined;
|
|
32017
32273
|
sandbox?: {
|
|
32018
32274
|
enable?: boolean | undefined;
|
|
@@ -32028,38 +32284,58 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32028
32284
|
} | null | undefined;
|
|
32029
32285
|
multiAccount?: {
|
|
32030
32286
|
enable?: boolean | undefined;
|
|
32031
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32287
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
32032
32288
|
requireExplicitSelection?: boolean | undefined;
|
|
32033
32289
|
} | null | undefined;
|
|
32290
|
+
experimental?: {
|
|
32291
|
+
permissions?: {
|
|
32292
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32293
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32294
|
+
} | null | undefined;
|
|
32295
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32296
|
+
fastMode?: boolean | null | undefined;
|
|
32297
|
+
submitFeedback?: {
|
|
32298
|
+
enable: boolean;
|
|
32299
|
+
} | null | undefined;
|
|
32300
|
+
sessionConfigId?: string | undefined;
|
|
32301
|
+
} | null | undefined;
|
|
32302
|
+
execute?: {
|
|
32303
|
+
enableMultiExecute?: boolean | undefined;
|
|
32304
|
+
} | null | undefined;
|
|
32305
|
+
expectedConfigVersion?: number | false | undefined;
|
|
32034
32306
|
}, {
|
|
32035
32307
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32036
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32037
32308
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32038
|
-
|
|
32309
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32310
|
+
} | null | undefined;
|
|
32039
32311
|
tools?: Record<string, string[] | {
|
|
32040
32312
|
enable: string[];
|
|
32041
32313
|
} | {
|
|
32042
32314
|
disable: string[];
|
|
32043
32315
|
} | {
|
|
32044
32316
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32045
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32046
32317
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32318
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32047
32319
|
};
|
|
32048
|
-
}> | undefined;
|
|
32320
|
+
}> | null | undefined;
|
|
32049
32321
|
toolkits?: string[] | {
|
|
32050
32322
|
disable: string[];
|
|
32051
32323
|
} | {
|
|
32052
32324
|
enable: string[];
|
|
32053
|
-
} | undefined;
|
|
32325
|
+
} | null | undefined;
|
|
32326
|
+
search?: {
|
|
32327
|
+
enable?: boolean | undefined;
|
|
32328
|
+
} | null | undefined;
|
|
32054
32329
|
preload?: {
|
|
32055
32330
|
tools?: string[] | "all" | undefined;
|
|
32056
|
-
} | undefined;
|
|
32057
|
-
authConfigs?: Record<string, string> | undefined;
|
|
32058
|
-
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
32331
|
+
} | null | undefined;
|
|
32332
|
+
authConfigs?: Record<string, string> | null | undefined;
|
|
32333
|
+
connectedAccounts?: Record<string, string | string[]> | null | undefined;
|
|
32059
32334
|
manageConnections?: boolean | {
|
|
32060
32335
|
enable?: boolean | undefined;
|
|
32061
|
-
callbackUrl?: string | undefined;
|
|
32336
|
+
callbackUrl?: string | null | undefined;
|
|
32062
32337
|
waitForConnections?: boolean | undefined;
|
|
32338
|
+
enableConnectionRemoval?: boolean | null | undefined;
|
|
32063
32339
|
} | null | undefined;
|
|
32064
32340
|
sandbox?: {
|
|
32065
32341
|
enable?: boolean | undefined;
|
|
@@ -32075,9 +32351,25 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32075
32351
|
} | null | undefined;
|
|
32076
32352
|
multiAccount?: {
|
|
32077
32353
|
enable?: boolean | undefined;
|
|
32078
|
-
maxAccountsPerToolkit?: number | undefined;
|
|
32354
|
+
maxAccountsPerToolkit?: number | null | undefined;
|
|
32079
32355
|
requireExplicitSelection?: boolean | undefined;
|
|
32080
32356
|
} | null | undefined;
|
|
32357
|
+
experimental?: {
|
|
32358
|
+
permissions?: {
|
|
32359
|
+
default: "allow_all" | "ask_every_call" | "ask_once_per_session";
|
|
32360
|
+
overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
|
|
32361
|
+
} | null | undefined;
|
|
32362
|
+
linkUrlOverwrite?: string | null | undefined;
|
|
32363
|
+
fastMode?: boolean | null | undefined;
|
|
32364
|
+
submitFeedback?: {
|
|
32365
|
+
enable: boolean;
|
|
32366
|
+
} | null | undefined;
|
|
32367
|
+
sessionConfigId?: string | undefined;
|
|
32368
|
+
} | null | undefined;
|
|
32369
|
+
execute?: {
|
|
32370
|
+
enableMultiExecute?: boolean | undefined;
|
|
32371
|
+
} | null | undefined;
|
|
32372
|
+
expectedConfigVersion?: number | false | undefined;
|
|
32081
32373
|
}>;
|
|
32082
32374
|
type ToolRouterUpdateSessionConfig = z.infer<typeof ToolRouterUpdateSessionConfigSchema>;
|
|
32083
32375
|
type ToolRouterSessionUpdateFn = (config: ToolRouterUpdateSessionConfig) => Promise<ToolRouterSessionConfig>;
|
|
@@ -32092,6 +32384,45 @@ declare const ToolRouterSessionDeleteResponseSchema: z.ZodObject<{
|
|
|
32092
32384
|
deleted: true;
|
|
32093
32385
|
}>;
|
|
32094
32386
|
type ToolRouterSessionDeleteResponse = z.infer<typeof ToolRouterSessionDeleteResponseSchema>;
|
|
32387
|
+
/**
|
|
32388
|
+
* Options for `session.listConfigHistory()`.
|
|
32389
|
+
*/
|
|
32390
|
+
declare const ToolRouterSessionListConfigHistoryOptionsSchema: z.ZodObject<{
|
|
32391
|
+
/** Cursor from a previous response's `nextCursor`. */
|
|
32392
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
32393
|
+
/** Number of items per page, max allowed is 100. */
|
|
32394
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
32395
|
+
}, "strip", z.ZodTypeAny, {
|
|
32396
|
+
limit?: number | undefined;
|
|
32397
|
+
cursor?: string | undefined;
|
|
32398
|
+
}, {
|
|
32399
|
+
limit?: number | undefined;
|
|
32400
|
+
cursor?: string | undefined;
|
|
32401
|
+
}>;
|
|
32402
|
+
type ToolRouterSessionListConfigHistoryOptions = z.infer<typeof ToolRouterSessionListConfigHistoryOptionsSchema>;
|
|
32403
|
+
/**
|
|
32404
|
+
* The session configuration at one version, as stored by the API. This is
|
|
32405
|
+
* the wire shape (snake_case), typed from the generated client.
|
|
32406
|
+
*/
|
|
32407
|
+
type ToolRouterSessionConfigHistoryConfig = SessionConfigHistoryResponse.Item.Config;
|
|
32408
|
+
type ToolRouterSessionConfigHistoryItem = {
|
|
32409
|
+
/** The config version this entry represents. */
|
|
32410
|
+
version: number;
|
|
32411
|
+
/** ISO timestamp — for archived rows, when the version was superseded by an update. */
|
|
32412
|
+
createdAt: string;
|
|
32413
|
+
/** True only for the live (current) config, present on the first page. */
|
|
32414
|
+
isCurrent: boolean;
|
|
32415
|
+
/** The session configuration at this version. */
|
|
32416
|
+
config: ToolRouterSessionConfigHistoryConfig;
|
|
32417
|
+
};
|
|
32418
|
+
type ToolRouterSessionListConfigHistoryResponse = {
|
|
32419
|
+
items: ToolRouterSessionConfigHistoryItem[];
|
|
32420
|
+
nextCursor: string | null;
|
|
32421
|
+
totalPages: number;
|
|
32422
|
+
currentPage: number;
|
|
32423
|
+
totalItems: number;
|
|
32424
|
+
};
|
|
32425
|
+
type ToolRouterSessionListConfigHistoryFn = (options?: ToolRouterSessionListConfigHistoryOptions, requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionListConfigHistoryResponse>;
|
|
32095
32426
|
type ToolRouterSessionDeleteFn = (requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionDeleteResponse>;
|
|
32096
32427
|
declare const ToolRouterSessionEnsureConnectedOptionsSchema: z.ZodObject<{
|
|
32097
32428
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -32207,6 +32538,8 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
|
|
|
32207
32538
|
update: ToolRouterSessionUpdateFn;
|
|
32208
32539
|
/** Delete the session. Deleted sessions are no longer retrievable or executable. */
|
|
32209
32540
|
delete: ToolRouterSessionDeleteFn;
|
|
32541
|
+
/** Page through the session's configuration history (newest first). */
|
|
32542
|
+
listConfigHistory: ToolRouterSessionListConfigHistoryFn;
|
|
32210
32543
|
/** Proxy an API call through Composio's auth layer using the session's connected account */
|
|
32211
32544
|
proxyExecute: ToolRouterSessionProxyExecuteFn;
|
|
32212
32545
|
/** List custom tools registered in this session, with their final slugs and schemas */
|
|
@@ -32423,4 +32756,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
32423
32756
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
32424
32757
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
32425
32758
|
//#endregion
|
|
32426
|
-
export { ToolRouterSessionEnsureConnectedResult as $, Tool as $i, GenerateURLResponseSchema as $n, CustomOauth1ConnectionData as $r, ConnectedAccountAuthConfig as $t, SessionProxyExecuteParams as A, Oauth2InitiatingConnectionDataSchema as Ai, CreateConnectedAccountResponseSchema as An, McpServerCreateResponse as Ar, ToolkitConnectionsDetailsSchema as At, ToolRouterCreateSessionConfigSchema as B, SessionMetaToolOptions as Bi, ComposioGenerateURLParamsSchema as Bn, ExecuteToolFnOptions as Br, ToolRouterSessionFilesMountDownloadOptions as Bt, MCPServerType as C, ToolkitVersions as Ca, Oauth2FailedConnectionData as Ci, CreateConnectedAccountLinkResponse as Cn, MCPToolkitConfigsArraySchema as Cr, ToolRouterToolsParam as Ct, Session as D, Oauth2InitiatedConnectionData as Di, CreateConnectedAccountParams as Dn, McpListResponseSchema as Dr, ToolkitConnectionState as Dt, SandboxSizeSchema as E, Oauth2InactiveConnectionDataSchema as Ei, CreateConnectedAccountOptionsSchema as En, McpListResponse as Er, ToolRouterUpdateSessionConfigSchema as Et, ToolRouterConfigTags as F, BeforeFileUploadSource as Fi, UpdateConnectedAccountParamsSchema as Fn, McpUpdateResponseSchema as Fr, FileListResponseSchema as Ft, ToolRouterSandboxConfigSchema as G, beforeExecuteMetaModifier as Gi, ComposioMcpUpdateResponseSchema as Gn, BaseConnectionFields as Gr, ToolRouterSessionFilesMountUploadOptionsSchema as Gt, ToolRouterMCPServerConfigSchema as H, TransformToolSchemaModifier as Hi, ComposioMcpDeleteResponseSchema as Hn, Provider as Hr, ToolRouterSessionFilesMountListOptions as Ht, ToolRouterConfigTagsSchema as I, ExecuteToolModifiers as Ii, BaseAgenticProvider as In, McpUrlResponse as Ir, RemoteFileData as It, ToolRouterSessionDeleteResponse as J, CustomAuthParams as Ji, CustomCreateResponseSchema as Jn, ConnectionDataSchema as Jr, ConnectionRequestState as Jt, ToolRouterSessionConfig as K, beforeExecuteModifier as Ki, ConnectionStatus as Kn, BillcomAuthConnectionDataSchema as Kr, ComposioRequestOptions as Kt, ToolRouterConfigTools as L, MetaToolArguments as Li, BaseComposioProvider as Ln, McpUrlResponseCamelCase as Lr, RemoteFileDataSchema as Lt, SessionWithoutMcp as M, Oauth2RevokedConnectionDataSchema as Mi, UpdateConnectedAccountAclParams as Mn, McpServerUrlInfo as Mr, FileDeleteResponse as Mt, ToolRouterAuthorizeFn as N, RedirectableAuthSchemeSchema as Ni, UpdateConnectedAccountAclParamsSchema as Nn, McpToolkitConnectionStatus as Nr, FileDeleteResponseSchema as Nt, SessionExperimental as O, Oauth2InitiatedConnectionDataSchema as Oi, CreateConnectedAccountParamsSchema as On, McpRetrieveResponse as Or, ToolkitConnectionStateSchema as Ot, ToolRouterConfigManageConnectionsSchema as P, AgenticToolOptions as Pi, UpdateConnectedAccountParams as Pn, McpUpdateResponse as Pr, FileListResponse as Pt, ToolRouterSessionEnsureConnectedOptionsSchema as Q, SchemaModifierOptions as Qi, GenerateURLResponse$1 as Qn, CustomConnectionDataSchema as Qr, ConnectedAccountAclConfigSchema as Qt, ToolRouterConfigToolsSchema as R, ProviderOptions as Ri, BaseNonAgenticProvider as Rn, McpUserConnectionStatus as Rr, ToolRouterSessionFilesMountDeleteOptions as Rt, SessionContext as S, ToolkitVersionSchema as Sa, Oauth2ExpiredConnectionDataSchema as Si, CreateConnectedAccountLinkOptionsSchema as Sn, MCPToolkitConfigSchema as Sr, ToolRouterToolsFn as St, SandboxSize as T, Oauth2InactiveConnectionData as Ti, CreateConnectedAccountOptions as Tn, McpDeleteResponseSchema as Tr, ToolRouterUpdateSessionConfig as Tt, ToolRouterManageConnectionsConfigSchema as U, afterExecuteMetaModifier as Ui, ComposioMcpListResponseSchema as Un, ToolCallExecutionTarget as Ur, ToolRouterSessionFilesMountListOptionsSchema as Ut, ToolRouterMCPServerConfig as V, ToolOptions as Vi, ComposioGenerateURLResponseSchema as Vn, GlobalExecuteToolFn as Vr, ToolRouterSessionFilesMountDownloadOptionsSchema as Vt, ToolRouterSandboxConfig as W, afterExecuteModifier as Wi, ComposioMcpRetrieveResponseSchema as Wn, ToolCallSession as Wr, ToolRouterSessionFilesMountUploadOptions as Wt, ToolRouterSessionEnsureConnectedFn as X, JSONSchemaProperty as Xi, GenerateURLParams as Xn, ConnectionStatuses as Xr, ConnectedAccountAclConfigResponse as Xt, ToolRouterSessionDeleteResponseSchema as Y, CustomAuthParamsSchema as Yi, CustomCreateResponseValidated as Yn, ConnectionStatusEnum as Yr, ConnectedAccountAclConfig as Yt, ToolRouterSessionEnsureConnectedOptions as Z, JSONSchemaPropertySchema as Zi, GenerateURLParamsSchema as Zn, CustomConnectionData as Zr, ConnectedAccountAclConfigResponseSchema as Zt, CustomToolsMapEntry as _, ToolkitLatestVersionSchema as _a, Oauth2ActiveConnectionData as _i, ConnectedAccountStatuses as _n, MCPServerUpdateParams as _r, ToolRouterToolkitsEnabledConfigSchema as _t, CreateCustomToolkitParams as a, ToolExecuteResponseSchema as aa, Oauth1ConnectionData as ai, ConnectedAccountListParams as an, MCPGenerateURLParamsSchema as ar, ToolRouterSessionPreloadConfig as at, RegisteredCustomTool as b, ToolkitVersionParam as ba, Oauth2ConnectionDataSchema as bi, ConnectedAccountTypes as bn, MCPSingleAppServerSchema as br, ToolRouterToolkitsOptionsSchema as bt, CustomToolExecuteFn as c, ToolListParamsSchema as ca, Oauth1ExpiredConnectionDataSchema as ci, ConnectedAccountListResponseItem as cn, MCPInstanceParams as cr, ToolRouterSessionSearchFn as ct, CustomToolWireDefinition as d, ToolProxyParams as da, Oauth1InactiveConnectionData as di, ConnectedAccountRefreshOptionsSchema as dn, MCPServer as dr, ToolRouterSessionUpdateFn as dt, ToolExecuteMetaParams as ea, CustomOauth1ConnectionDataSchema as ei, ConnectedAccountAuthConfigSchema as en, GenerateURLResponseValidated as er, ToolRouterSessionExecuteFn as et, CustomToolkit as f, ToolProxyParamsSchema as fa, Oauth1InactiveConnectionDataSchema as fi, ConnectedAccountRetrieveResponse as fn, MCPServerCreateResponse as fr, ToolRouterSessionWarning as ft, CustomToolsMap as g, ToolkitLatestVersion as ga, Oauth1InitiatingConnectionDataSchema as gi, ConnectedAccountStatusSchema as gn, MCPServerSchema as gr, ToolRouterToolkitsDisabledConfigSchema as gt, CustomToolkitWireDefinition as h, Toolkit as ha, Oauth1InitiatingConnectionData as hi, ConnectedAccountStatusEnum as hn, MCPServerListResponseSchema as hr, ToolRouterTagsParamSchema as ht, CreateCustomToolkitBaseSchema as i, ToolExecuteResponse as ia, Oauth1ActiveConnectionDataSchema as ii, ConnectedAccountExperimentalSchema as in, MCPGenerateURLParams as ir, ToolRouterSessionMetadata as it, SessionProxyExecuteParamsSchema as j, Oauth2RevokedConnectionData as ji, DefaultCreateConnectedAccountParamsSchema as jn, McpServerGetResponse as jr, RemoteFile as jt, SessionPreset as k, Oauth2InitiatingConnectionData as ki, CreateConnectedAccountResponse as kn, McpRetrieveResponseSchema as kr, ToolkitConnectionsDetails as kt, CustomToolResponse as l, ToolListResponse as la, Oauth1FailedConnectionData as li, ConnectedAccountListResponseSchema as ln, MCPMultiAppServer as lr, ToolRouterSessionSearchResponse as lt, CustomToolkitResponse as m, ToolSchema as ma, Oauth1InitiatedConnectionDataSchema as mi, ConnectedAccountStatus as mn, MCPServerListResponse as mr, ToolRouterTagsEnableDisableSchema as mt, CreateCustomToolBaseSchema as n, ToolExecuteParams as na, CustomOauth2ConnectionDataSchema as ni, ConnectedAccountExperimentalResponse as nn, MCPAuthOptionsSchema as nr, ToolRouterSessionExecuteResponse as nt, CustomTool as o, ToolList as oa, Oauth1ConnectionDataSchema as oi, ConnectedAccountListParamsSchema as on, MCPGetServerParams as or, ToolRouterSessionProxyExecuteFn as ot, CustomToolkitDefinition as p, ToolRetrievalOptions as pa, Oauth1InitiatedConnectionData as pi, ConnectedAccountRetrieveResponseSchema as pn, MCPServerCreateResponseSchema as pr, ToolRouterSessionWorkbenchConfig as pt, ToolRouterSessionDeleteFn as q, beforeFileUploadModifier as qi, CustomCreateResponse$1 as qn, ConnectionData as qr, ConnectionRequest as qt, CreateCustomToolParams as r, ToolExecuteParamsSchema as ra, Oauth1ActiveConnectionData as ri, ConnectedAccountExperimentalResponseSchema as rn, MCPCreateMethodResponse as rr, ToolRouterSessionExecuteResponseSchema as rt, CustomToolDefinition as s, ToolListParams as sa, Oauth1ExpiredConnectionData as si, ConnectedAccountListResponse as sn, MCPGetServerParamsSchema as sr, ToolRouterSessionProxyExecuteResponse as st, AnyZodSchema as t, ToolExecuteMetaParamsSchema as ta, CustomOauth2ConnectionData as ti, ConnectedAccountExperimental as tn, MCPAuthOptions as tr, ToolRouterSessionExecuteOptions as tt, CustomToolSlugSchema as u, ToolListResponseSchema as ua, Oauth1FailedConnectionDataSchema as ui, ConnectedAccountRefreshOptions as un, MCPMultiAppServerSchema as ur, ToolRouterSessionSearchResponseSchema as ut, InferZodSchema as v, ToolkitSchema as va, Oauth2ActiveConnectionDataSchema as vi, ConnectedAccountType as vn, MCPServerUpdateParamsSchema as vr, ToolRouterToolkitsFn as vt, MCPServerTypeSchema as w, ToolkitVersionsSchema as wa, Oauth2FailedConnectionDataSchema as wi, CreateConnectedAccountLinkResponseSchema as wn, McpDeleteResponse as wr, ToolRouterToolsParamSchema as wt, RegisteredCustomToolkit as x, ToolkitVersionParamSchema as xa, Oauth2ExpiredConnectionData as xi, CreateConnectedAccountLinkOptions as xn, MCPToolkitConfig as xr, ToolRouterToolkitsParamSchema as xt, InlineCustomToolsWirePayload as y, ToolkitVersion as ya, Oauth2ConnectionData as yi, ConnectedAccountTypeSchema as yn, MCPSingleAppServer as yr, ToolRouterToolkitsOptions as yt, ToolRouterCreateSessionConfig as z, SessionExecuteMetaModifiers as zi, ComposioCustomCreateResponseSchema as zn, ExecuteToolFn as zr, ToolRouterSessionFilesMountDeleteOptionsSchema as zt };
|
|
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 };
|