@composio/core 0.10.0 → 0.12.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/{tool.types-CwbAy9l_.d.cts → BaseProvider-BBnsv9kS.d.mts} +23683 -23635
- package/dist/CustomTool-DEB4BQPl.mjs +468 -0
- package/dist/{CustomTool-aber890o.d.cts → CustomTool-DH18rVQu.d.mts} +2 -4
- package/dist/{FileModifierErrors-C7z16Dfi.mjs → FileModifierErrors-3fSwIWoa.mjs} +35 -36
- package/dist/{FileToolModifier.utils.neutral-B7P7wn-b.mjs → FileToolModifier.utils.neutral-B5rT711M.mjs} +1 -7
- package/dist/{Telemetry-kgWlkavX.mjs → Telemetry-DhGI_J4G.mjs} +48 -23
- package/dist/{composio-CSMCZZgj.d.cts → composio-CHnEggnv.d.mts} +433 -435
- package/dist/{customTool.types-BzEWHa0w.d.cts → customTool.types-DpIdOJjL.d.mts} +177 -236
- package/dist/{CustomTool-D7-1S2at.mjs → errors-D5f4pfvI.mjs} +132 -519
- package/dist/experimental/index.d.mts +2 -3
- package/dist/experimental/index.mjs +1 -3
- package/dist/{fileUtils.node-Dq7ebZPC.mjs → fileUtils.node-BiO1JQsJ.mjs} +26 -25
- package/dist/index.d.mts +2034 -2356
- package/dist/index.mjs +2546 -2335
- package/dist/jsonSchema-daqF3S3d.mjs +251 -0
- package/dist/models/Files.node.d.mts +1 -2
- package/dist/models/Files.node.mjs +3 -4
- package/dist/models/Files.workerd.d.mts +0 -1
- package/dist/platform/node.d.mts +1 -2
- package/dist/platform/workerd.d.mts +1 -2
- package/dist/{chunk-CWQeghP5.mjs → rolldown-runtime-w6R9maHv.mjs} +3 -5
- package/dist/{types-DE7O6Z6S.d.cts → types-CaI5Z4PA.d.mts} +2 -3
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +3 -0
- package/dist/utils/json-schema.d.mts +2 -0
- package/dist/utils/json-schema.mjs +3 -0
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +3 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +81 -44
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +3 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
- package/package.json +48 -88
- package/dist/CustomTool-CQ_YjABZ.cjs +0 -1341
- package/dist/CustomTool-DJUGNOer.d.mts +0 -76
- package/dist/FileModifierErrors-BYJBHiay.cjs +0 -554
- package/dist/FileToolModifier.utils.neutral-Dfwqgimk.cjs +0 -102
- package/dist/Telemetry-Dm-0sewu.cjs +0 -335
- package/dist/buffer-BjWptbNH.cjs +0 -63
- package/dist/chunk-CQwRTUmo.cjs +0 -53
- package/dist/composio-DRl6WCI9.d.mts +0 -5484
- package/dist/customTool.types-CMOMgxoM.d.mts +0 -2513
- package/dist/experimental/index.cjs +0 -5
- package/dist/experimental/index.d.cts +0 -3
- package/dist/fileUtils.node-DtnSRMWa.cjs +0 -462
- package/dist/files.types-lo4zZd87.d.cts +0 -17
- package/dist/index.cjs +0 -8637
- package/dist/index.d.cts +0 -5672
- package/dist/models/Files.node.cjs +0 -55
- package/dist/models/Files.node.d.cts +0 -56
- package/dist/models/Files.workerd.cjs +0 -29
- package/dist/models/Files.workerd.d.cts +0 -13
- package/dist/platform/node.cjs +0 -55
- package/dist/platform/node.d.cts +0 -11
- package/dist/platform/workerd.cjs +0 -42
- package/dist/platform/workerd.d.cts +0 -12
- package/dist/tool.types-CB_4JKhV.d.mts +0 -29377
- package/dist/types-BTOPdg4d.d.mts +0 -13
- package/dist/types-pDNm1lYs.d.cts +0 -69
- package/dist/utils/config-defaults/ConfigDefaults.node.cjs +0 -10
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +0 -7
- package/dist/utils/config-defaults/ConfigDefaults.workerd.cjs +0 -10
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +0 -7
- package/dist/utils/modifiers/FileToolModifier.node.cjs +0 -207
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +0 -22
- package/dist/utils/modifiers/FileToolModifier.workerd.cjs +0 -27
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +0 -20
- /package/dist/{buffer-yOtEsT4J.mjs → buffer-PcbMMsgm.mjs} +0 -0
- /package/dist/{files.types-BXDWA_zS.d.mts → files.types-DeMC_mAW.d.mts} +0 -0
- /package/dist/{types-HpJQ8K9l.d.mts → types-DdoCRzLj.d.mts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dt as ConnectionDataSchema, n as BaseComposioProvider, rn as SessionMetaToolOptions } from "./BaseProvider-BBnsv9kS.mjs";
|
|
2
|
+
import { Composio } from "@composio/client";
|
|
2
3
|
import z$1, { z } from "zod/v3";
|
|
4
|
+
import { z as z$2 } from "zod/v4";
|
|
3
5
|
import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
4
|
-
import { Composio } from "@composio/client";
|
|
5
6
|
import { SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
6
|
-
import { ToolExecuteResponse } from "@composio/client/resources/tools";
|
|
7
7
|
|
|
8
8
|
//#region src/types/connectedAccounts.types.d.ts
|
|
9
9
|
/**
|
|
@@ -212,17 +212,16 @@ declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
|
|
|
212
212
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
215
|
-
redirectUrl: string | null;
|
|
216
215
|
id: string;
|
|
216
|
+
redirectUrl: string | null;
|
|
217
217
|
}, {
|
|
218
218
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
219
|
-
redirectUrl: string | null;
|
|
220
219
|
id: string;
|
|
220
|
+
redirectUrl: string | null;
|
|
221
221
|
}>;
|
|
222
222
|
type CreateConnectedAccountResponse = z.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
223
223
|
declare const ConnectedAccountAuthConfigSchema: z.ZodObject<{
|
|
224
|
-
id: z.ZodString;
|
|
225
|
-
/** @deprecated use connectedAccount.state.authScheme instead */
|
|
224
|
+
id: z.ZodString; /** @deprecated use connectedAccount.state.authScheme instead */
|
|
226
225
|
authScheme: z.ZodOptional<z.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"]>>;
|
|
227
226
|
isComposioManaged: z.ZodBoolean;
|
|
228
227
|
isDisabled: z.ZodBoolean;
|
|
@@ -242,10 +241,8 @@ declare const ConnectedAccountRetrieveResponseSchema: z.ZodType<{
|
|
|
242
241
|
id: string;
|
|
243
242
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
244
243
|
wordId?: string | null;
|
|
245
|
-
alias?: string | null;
|
|
246
|
-
/** @deprecated use connectedAccount.state instead */
|
|
247
|
-
data?: Record<string, unknown>;
|
|
248
|
-
/** @deprecated use connectedAccount.state instead */
|
|
244
|
+
alias?: string | null; /** @deprecated use connectedAccount.state instead */
|
|
245
|
+
data?: Record<string, unknown>; /** @deprecated use connectedAccount.state instead */
|
|
249
246
|
params?: Record<string, unknown>;
|
|
250
247
|
status: ConnectedAccountStatusEnum;
|
|
251
248
|
statusReason: string | null;
|
|
@@ -280,23 +277,23 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
280
277
|
*/
|
|
281
278
|
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
|
|
282
279
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
|
|
280
|
+
userIds?: string[] | null | undefined;
|
|
284
281
|
authConfigIds?: string[] | null | undefined;
|
|
285
282
|
cursor?: string | null | undefined;
|
|
283
|
+
limit?: number | null | undefined;
|
|
286
284
|
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
287
285
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
288
286
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
289
287
|
toolkitSlugs?: string[] | null | undefined;
|
|
290
|
-
userIds?: string[] | null | undefined;
|
|
291
288
|
}, {
|
|
292
|
-
|
|
289
|
+
userIds?: string[] | null | undefined;
|
|
293
290
|
authConfigIds?: string[] | null | undefined;
|
|
294
291
|
cursor?: string | null | undefined;
|
|
292
|
+
limit?: number | null | undefined;
|
|
295
293
|
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
296
294
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
297
295
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
298
296
|
toolkitSlugs?: string[] | null | undefined;
|
|
299
|
-
userIds?: string[] | null | undefined;
|
|
300
297
|
}>;
|
|
301
298
|
type ConnectedAccountListParams = z.infer<typeof ConnectedAccountListParamsSchema>;
|
|
302
299
|
declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
@@ -304,10 +301,8 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
304
301
|
id: string;
|
|
305
302
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
306
303
|
wordId?: string | null;
|
|
307
|
-
alias?: string | null;
|
|
308
|
-
/** @deprecated use connectedAccount.state instead */
|
|
309
|
-
data?: Record<string, unknown>;
|
|
310
|
-
/** @deprecated use connectedAccount.state instead */
|
|
304
|
+
alias?: string | null; /** @deprecated use connectedAccount.state instead */
|
|
305
|
+
data?: Record<string, unknown>; /** @deprecated use connectedAccount.state instead */
|
|
311
306
|
params?: Record<string, unknown>;
|
|
312
307
|
status: ConnectedAccountStatusEnum;
|
|
313
308
|
statusReason: string | null;
|
|
@@ -324,10 +319,8 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
324
319
|
id: string;
|
|
325
320
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
326
321
|
wordId?: string | null;
|
|
327
|
-
alias?: string | null;
|
|
328
|
-
/** @deprecated use connectedAccount.state instead */
|
|
329
|
-
data?: Record<string, unknown>;
|
|
330
|
-
/** @deprecated use connectedAccount.state instead */
|
|
322
|
+
alias?: string | null; /** @deprecated use connectedAccount.state instead */
|
|
323
|
+
data?: Record<string, unknown>; /** @deprecated use connectedAccount.state instead */
|
|
331
324
|
params?: Record<string, unknown>;
|
|
332
325
|
status: ConnectedAccountStatusEnum;
|
|
333
326
|
statusReason: string | null;
|
|
@@ -348,10 +341,8 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
348
341
|
id: string;
|
|
349
342
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
350
343
|
wordId?: string | null;
|
|
351
|
-
alias?: string | null;
|
|
352
|
-
/** @deprecated use connectedAccount.state instead */
|
|
353
|
-
data?: Record<string, unknown>;
|
|
354
|
-
/** @deprecated use connectedAccount.state instead */
|
|
344
|
+
alias?: string | null; /** @deprecated use connectedAccount.state instead */
|
|
345
|
+
data?: Record<string, unknown>; /** @deprecated use connectedAccount.state instead */
|
|
355
346
|
params?: Record<string, unknown>;
|
|
356
347
|
status: ConnectedAccountStatusEnum;
|
|
357
348
|
statusReason: string | null;
|
|
@@ -372,10 +363,8 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
372
363
|
id: string;
|
|
373
364
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
374
365
|
wordId?: string | null;
|
|
375
|
-
alias?: string | null;
|
|
376
|
-
/** @deprecated use connectedAccount.state instead */
|
|
377
|
-
data?: Record<string, unknown>;
|
|
378
|
-
/** @deprecated use connectedAccount.state instead */
|
|
366
|
+
alias?: string | null; /** @deprecated use connectedAccount.state instead */
|
|
367
|
+
data?: Record<string, unknown>; /** @deprecated use connectedAccount.state instead */
|
|
379
368
|
params?: Record<string, unknown>;
|
|
380
369
|
status: ConnectedAccountStatusEnum;
|
|
381
370
|
statusReason: string | null;
|
|
@@ -397,8 +386,8 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
397
386
|
/**
|
|
398
387
|
* The url to redirect the user to post connecting their account.
|
|
399
388
|
*
|
|
400
|
-
* For
|
|
401
|
-
* And for failed connections you will get a query param called
|
|
389
|
+
* For successful connections, you will get a query param called status=success
|
|
390
|
+
* And for failed connections you will get a query param called status=failed
|
|
402
391
|
*
|
|
403
392
|
* @example https://your-app.com/callback
|
|
404
393
|
*
|
|
@@ -462,8 +451,6 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
462
451
|
}>>;
|
|
463
452
|
}, "strip", z.ZodTypeAny, {
|
|
464
453
|
callbackUrl?: string | undefined;
|
|
465
|
-
alias?: string | undefined;
|
|
466
|
-
allowMultiple?: boolean | undefined;
|
|
467
454
|
experimental?: {
|
|
468
455
|
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
469
456
|
aclConfigForShared?: {
|
|
@@ -472,10 +459,10 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
472
459
|
notAllowedUserIds?: string[] | undefined;
|
|
473
460
|
} | undefined;
|
|
474
461
|
} | undefined;
|
|
475
|
-
}, {
|
|
476
|
-
callbackUrl?: string | undefined;
|
|
477
462
|
alias?: string | undefined;
|
|
478
463
|
allowMultiple?: boolean | undefined;
|
|
464
|
+
}, {
|
|
465
|
+
callbackUrl?: string | undefined;
|
|
479
466
|
experimental?: {
|
|
480
467
|
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
481
468
|
aclConfigForShared?: {
|
|
@@ -484,6 +471,8 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
484
471
|
notAllowedUserIds?: string[] | undefined;
|
|
485
472
|
} | undefined;
|
|
486
473
|
} | undefined;
|
|
474
|
+
alias?: string | undefined;
|
|
475
|
+
allowMultiple?: boolean | undefined;
|
|
487
476
|
}>;
|
|
488
477
|
type CreateConnectedAccountLinkOptions = z.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
|
|
489
478
|
declare const CreateConnectedAccountLinkResponseSchema: z.ZodObject<{
|
|
@@ -562,20 +551,18 @@ interface ConnectionRequest extends ConnectionRequestState {
|
|
|
562
551
|
//#region src/types/ToolRouterSessionFilesMount.types.d.ts
|
|
563
552
|
declare const ToolRouterSessionFilesMountListOptionsSchema: z$1.ZodObject<{
|
|
564
553
|
path: z$1.ZodOptional<z$1.ZodString>;
|
|
565
|
-
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
566
|
-
/**
|
|
567
|
-
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
568
|
-
/** Maximum number of files to return per page (1-500) */
|
|
554
|
+
mountId: z$1.ZodDefault<z$1.ZodString>; /** Pagination cursor from the previous response nextCursor field */
|
|
555
|
+
cursor: z$1.ZodOptional<z$1.ZodString>; /** Maximum number of files to return per page (1-500) */
|
|
569
556
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
570
557
|
}, "strip", z$1.ZodTypeAny, {
|
|
571
558
|
mountId: string;
|
|
572
559
|
path?: string | undefined;
|
|
573
|
-
limit?: number | undefined;
|
|
574
560
|
cursor?: string | undefined;
|
|
561
|
+
limit?: number | undefined;
|
|
575
562
|
}, {
|
|
576
563
|
path?: string | undefined;
|
|
577
|
-
limit?: number | undefined;
|
|
578
564
|
cursor?: string | undefined;
|
|
565
|
+
limit?: number | undefined;
|
|
579
566
|
mountId?: string | undefined;
|
|
580
567
|
}>;
|
|
581
568
|
type ToolRouterSessionFilesMountListOptions = z$1.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
|
|
@@ -632,10 +619,8 @@ declare const FileListResponseSchema: z$1.ZodEffects<z$1.ZodObject<{
|
|
|
632
619
|
}>;
|
|
633
620
|
type FileListResponse = z$1.infer<typeof FileListResponseSchema>;
|
|
634
621
|
declare const ToolRouterSessionFilesMountUploadOptionsSchema: z$1.ZodObject<{
|
|
635
|
-
/** Remote path/filename on the mount. When passing a buffer, either mimetype or remotePath is required. */
|
|
636
|
-
|
|
637
|
-
mountId: z$1.ZodDefault<z$1.ZodString>;
|
|
638
|
-
/** MIME type. When passing a buffer, either mimetype or remotePath is required. Ignored when passing File (uses file.type). */
|
|
622
|
+
/** Remote path/filename on the mount. When passing a buffer, either mimetype or remotePath is required. */remotePath: z$1.ZodOptional<z$1.ZodString>;
|
|
623
|
+
mountId: z$1.ZodDefault<z$1.ZodString>; /** MIME type. When passing a buffer, either mimetype or remotePath is required. Ignored when passing File (uses file.type). */
|
|
639
624
|
mimetype: z$1.ZodOptional<z$1.ZodString>;
|
|
640
625
|
}, "strip", z$1.ZodTypeAny, {
|
|
641
626
|
mountId: string;
|
|
@@ -932,12 +917,12 @@ declare const ToolRouterConfigManageConnectionsSchema: z$1.ZodObject<{
|
|
|
932
917
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
933
918
|
waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
934
919
|
}, "strict", z$1.ZodTypeAny, {
|
|
935
|
-
callbackUrl?: string | undefined;
|
|
936
920
|
enable?: boolean | undefined;
|
|
921
|
+
callbackUrl?: string | undefined;
|
|
937
922
|
waitForConnections?: boolean | undefined;
|
|
938
923
|
}, {
|
|
939
|
-
callbackUrl?: string | undefined;
|
|
940
924
|
enable?: boolean | undefined;
|
|
925
|
+
callbackUrl?: string | undefined;
|
|
941
926
|
waitForConnections?: boolean | undefined;
|
|
942
927
|
}>;
|
|
943
928
|
declare const ToolRouterToolkitsParamSchema: z$1.ZodArray<z$1.ZodString, "many">;
|
|
@@ -962,29 +947,29 @@ declare const ToolRouterManageConnectionsConfigSchema: z$1.ZodObject<{
|
|
|
962
947
|
enable: boolean;
|
|
963
948
|
callbackUrl?: string | undefined;
|
|
964
949
|
}, {
|
|
965
|
-
callbackUrl?: string | undefined;
|
|
966
950
|
enable?: boolean | undefined;
|
|
951
|
+
callbackUrl?: string | undefined;
|
|
967
952
|
}>;
|
|
968
953
|
declare const ToolRouterTagsParamSchema: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
969
954
|
declare const ToolRouterTagsEnableDisableSchema: z$1.ZodObject<{
|
|
970
955
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
971
956
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
972
957
|
}, "strict", z$1.ZodTypeAny, {
|
|
973
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
974
958
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
975
|
-
}, {
|
|
976
959
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
960
|
+
}, {
|
|
977
961
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
962
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
978
963
|
}>;
|
|
979
964
|
declare const ToolRouterConfigTagsSchema: z$1.ZodUnion<[z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z$1.ZodObject<{
|
|
980
965
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
981
966
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
982
967
|
}, "strict", z$1.ZodTypeAny, {
|
|
983
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
984
968
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
985
|
-
}, {
|
|
986
969
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
970
|
+
}, {
|
|
987
971
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
972
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
988
973
|
}>]>;
|
|
989
974
|
type ToolRouterConfigTags = z$1.infer<typeof ToolRouterConfigTagsSchema>;
|
|
990
975
|
/**
|
|
@@ -1028,21 +1013,21 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
|
|
|
1028
1013
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1029
1014
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1030
1015
|
}, "strict", z$1.ZodTypeAny, {
|
|
1031
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1032
1016
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1033
|
-
}, {
|
|
1034
1017
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1018
|
+
}, {
|
|
1035
1019
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1020
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1036
1021
|
}>]>;
|
|
1037
1022
|
}, "strict", z$1.ZodTypeAny, {
|
|
1038
1023
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1039
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1040
1024
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1025
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1041
1026
|
};
|
|
1042
1027
|
}, {
|
|
1043
1028
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1044
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1045
1029
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1030
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1046
1031
|
};
|
|
1047
1032
|
}>]>, string[] | {
|
|
1048
1033
|
enable: string[];
|
|
@@ -1050,8 +1035,8 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
|
|
|
1050
1035
|
disable: string[];
|
|
1051
1036
|
} | {
|
|
1052
1037
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1053
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1054
1038
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1039
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1055
1040
|
};
|
|
1056
1041
|
}, string[] | {
|
|
1057
1042
|
enable: string[];
|
|
@@ -1059,8 +1044,8 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
|
|
|
1059
1044
|
disable: string[];
|
|
1060
1045
|
} | {
|
|
1061
1046
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1062
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1063
1047
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1048
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1064
1049
|
};
|
|
1065
1050
|
}>;
|
|
1066
1051
|
type ToolRouterConfigTools = z$1.infer<typeof ToolRouterConfigToolsSchema>;
|
|
@@ -1083,21 +1068,21 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1083
1068
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1084
1069
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1085
1070
|
}, "strict", z$1.ZodTypeAny, {
|
|
1086
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1087
1071
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1088
|
-
}, {
|
|
1089
1072
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1073
|
+
}, {
|
|
1090
1074
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1075
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1091
1076
|
}>]>;
|
|
1092
1077
|
}, "strict", z$1.ZodTypeAny, {
|
|
1093
1078
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1094
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1095
1079
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1080
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1096
1081
|
};
|
|
1097
1082
|
}, {
|
|
1098
1083
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1099
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1100
1084
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1085
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1101
1086
|
};
|
|
1102
1087
|
}>]>, string[] | {
|
|
1103
1088
|
enable: string[];
|
|
@@ -1105,8 +1090,8 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1105
1090
|
disable: string[];
|
|
1106
1091
|
} | {
|
|
1107
1092
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1108
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1109
1093
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1094
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1110
1095
|
};
|
|
1111
1096
|
}, string[] | {
|
|
1112
1097
|
enable: string[];
|
|
@@ -1114,19 +1099,19 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1114
1099
|
disable: string[];
|
|
1115
1100
|
} | {
|
|
1116
1101
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1117
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1118
1102
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1103
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1119
1104
|
};
|
|
1120
1105
|
}>]>>>>;
|
|
1121
1106
|
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z$1.ZodObject<{
|
|
1122
1107
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1123
1108
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
1124
1109
|
}, "strict", z$1.ZodTypeAny, {
|
|
1125
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1126
1110
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1127
|
-
}, {
|
|
1128
1111
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1112
|
+
}, {
|
|
1129
1113
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1114
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1130
1115
|
}>]>>>;
|
|
1131
1116
|
toolkits: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
|
|
1132
1117
|
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
@@ -1148,12 +1133,12 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1148
1133
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
1149
1134
|
waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1150
1135
|
}, "strict", z$1.ZodTypeAny, {
|
|
1151
|
-
callbackUrl?: string | undefined;
|
|
1152
1136
|
enable?: boolean | undefined;
|
|
1137
|
+
callbackUrl?: string | undefined;
|
|
1153
1138
|
waitForConnections?: boolean | undefined;
|
|
1154
1139
|
}, {
|
|
1155
|
-
callbackUrl?: string | undefined;
|
|
1156
1140
|
enable?: boolean | undefined;
|
|
1141
|
+
callbackUrl?: string | undefined;
|
|
1157
1142
|
waitForConnections?: boolean | undefined;
|
|
1158
1143
|
}>]>>>>;
|
|
1159
1144
|
workbench: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -1216,18 +1201,14 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1216
1201
|
customToolkits?: CustomToolkit[] | undefined;
|
|
1217
1202
|
}>>>;
|
|
1218
1203
|
}, "strip", z$1.ZodTypeAny, {
|
|
1219
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1220
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1221
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1222
|
-
} | undefined;
|
|
1223
1204
|
tools?: Record<string, string[] | {
|
|
1224
1205
|
enable: string[];
|
|
1225
1206
|
} | {
|
|
1226
1207
|
disable: string[];
|
|
1227
1208
|
} | {
|
|
1228
1209
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1229
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1230
1210
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1211
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1231
1212
|
};
|
|
1232
1213
|
}> | undefined;
|
|
1233
1214
|
toolkits?: string[] | {
|
|
@@ -1235,22 +1216,19 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1235
1216
|
} | {
|
|
1236
1217
|
enable: string[];
|
|
1237
1218
|
} | undefined;
|
|
1219
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1220
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1221
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1222
|
+
} | undefined;
|
|
1238
1223
|
preload?: {
|
|
1239
1224
|
tools?: string[] | "all" | undefined;
|
|
1240
1225
|
} | undefined;
|
|
1241
|
-
experimental?: {
|
|
1242
|
-
assistivePrompt?: {
|
|
1243
|
-
userTimezone?: string | undefined;
|
|
1244
|
-
} | undefined;
|
|
1245
|
-
customTools?: CustomTool[] | undefined;
|
|
1246
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1247
|
-
} | undefined;
|
|
1248
1226
|
sessionPreset?: "direct_tools" | undefined;
|
|
1249
1227
|
authConfigs?: Record<string, string> | undefined;
|
|
1250
1228
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
1251
1229
|
manageConnections?: boolean | {
|
|
1252
|
-
callbackUrl?: string | undefined;
|
|
1253
1230
|
enable?: boolean | undefined;
|
|
1231
|
+
callbackUrl?: string | undefined;
|
|
1254
1232
|
waitForConnections?: boolean | undefined;
|
|
1255
1233
|
} | undefined;
|
|
1256
1234
|
workbench?: {
|
|
@@ -1264,19 +1242,22 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1264
1242
|
maxAccountsPerToolkit?: number | undefined;
|
|
1265
1243
|
requireExplicitSelection?: boolean | undefined;
|
|
1266
1244
|
} | undefined;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1245
|
+
experimental?: {
|
|
1246
|
+
assistivePrompt?: {
|
|
1247
|
+
userTimezone?: string | undefined;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
customTools?: CustomTool[] | undefined;
|
|
1250
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1271
1251
|
} | undefined;
|
|
1252
|
+
}, {
|
|
1272
1253
|
tools?: Record<string, string[] | {
|
|
1273
1254
|
enable: string[];
|
|
1274
1255
|
} | {
|
|
1275
1256
|
disable: string[];
|
|
1276
1257
|
} | {
|
|
1277
1258
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1278
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1279
1259
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1260
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1280
1261
|
};
|
|
1281
1262
|
}> | undefined;
|
|
1282
1263
|
toolkits?: string[] | {
|
|
@@ -1284,22 +1265,19 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1284
1265
|
} | {
|
|
1285
1266
|
enable: string[];
|
|
1286
1267
|
} | undefined;
|
|
1268
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1269
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1270
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1271
|
+
} | undefined;
|
|
1287
1272
|
preload?: {
|
|
1288
1273
|
tools?: string[] | "all" | undefined;
|
|
1289
1274
|
} | undefined;
|
|
1290
|
-
experimental?: {
|
|
1291
|
-
assistivePrompt?: {
|
|
1292
|
-
userTimezone?: string | undefined;
|
|
1293
|
-
} | undefined;
|
|
1294
|
-
customTools?: CustomTool[] | undefined;
|
|
1295
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1296
|
-
} | undefined;
|
|
1297
1275
|
sessionPreset?: "direct_tools" | undefined;
|
|
1298
1276
|
authConfigs?: Record<string, string> | undefined;
|
|
1299
1277
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
1300
1278
|
manageConnections?: boolean | {
|
|
1301
|
-
callbackUrl?: string | undefined;
|
|
1302
1279
|
enable?: boolean | undefined;
|
|
1280
|
+
callbackUrl?: string | undefined;
|
|
1303
1281
|
waitForConnections?: boolean | undefined;
|
|
1304
1282
|
} | undefined;
|
|
1305
1283
|
workbench?: {
|
|
@@ -1313,19 +1291,22 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1313
1291
|
maxAccountsPerToolkit?: number | undefined;
|
|
1314
1292
|
requireExplicitSelection?: boolean | undefined;
|
|
1315
1293
|
} | undefined;
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1294
|
+
experimental?: {
|
|
1295
|
+
assistivePrompt?: {
|
|
1296
|
+
userTimezone?: string | undefined;
|
|
1297
|
+
} | undefined;
|
|
1298
|
+
customTools?: CustomTool[] | undefined;
|
|
1299
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1320
1300
|
} | undefined;
|
|
1301
|
+
}>, {
|
|
1321
1302
|
tools?: Record<string, string[] | {
|
|
1322
1303
|
enable: string[];
|
|
1323
1304
|
} | {
|
|
1324
1305
|
disable: string[];
|
|
1325
1306
|
} | {
|
|
1326
1307
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1327
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1328
1308
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1309
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1329
1310
|
};
|
|
1330
1311
|
}> | undefined;
|
|
1331
1312
|
toolkits?: string[] | {
|
|
@@ -1333,22 +1314,19 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1333
1314
|
} | {
|
|
1334
1315
|
enable: string[];
|
|
1335
1316
|
} | undefined;
|
|
1317
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1318
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1319
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
1320
|
+
} | undefined;
|
|
1336
1321
|
preload?: {
|
|
1337
1322
|
tools?: string[] | "all" | undefined;
|
|
1338
1323
|
} | undefined;
|
|
1339
|
-
experimental?: {
|
|
1340
|
-
assistivePrompt?: {
|
|
1341
|
-
userTimezone?: string | undefined;
|
|
1342
|
-
} | undefined;
|
|
1343
|
-
customTools?: CustomTool[] | undefined;
|
|
1344
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1345
|
-
} | undefined;
|
|
1346
1324
|
sessionPreset?: "direct_tools" | undefined;
|
|
1347
1325
|
authConfigs?: Record<string, string> | undefined;
|
|
1348
1326
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
1349
1327
|
manageConnections?: boolean | {
|
|
1350
|
-
callbackUrl?: string | undefined;
|
|
1351
1328
|
enable?: boolean | undefined;
|
|
1329
|
+
callbackUrl?: string | undefined;
|
|
1352
1330
|
waitForConnections?: boolean | undefined;
|
|
1353
1331
|
} | undefined;
|
|
1354
1332
|
workbench?: {
|
|
@@ -1362,6 +1340,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1362
1340
|
maxAccountsPerToolkit?: number | undefined;
|
|
1363
1341
|
requireExplicitSelection?: boolean | undefined;
|
|
1364
1342
|
} | undefined;
|
|
1343
|
+
experimental?: {
|
|
1344
|
+
assistivePrompt?: {
|
|
1345
|
+
userTimezone?: string | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
customTools?: CustomTool[] | undefined;
|
|
1348
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1349
|
+
} | undefined;
|
|
1365
1350
|
}, unknown>;
|
|
1366
1351
|
/**
|
|
1367
1352
|
* The config for the tool router session.
|
|
@@ -1401,12 +1386,12 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1401
1386
|
isComposioManaged: z$1.ZodBoolean;
|
|
1402
1387
|
}, "strip", z$1.ZodTypeAny, {
|
|
1403
1388
|
id: string;
|
|
1404
|
-
isComposioManaged: boolean;
|
|
1405
1389
|
mode: string;
|
|
1390
|
+
isComposioManaged: boolean;
|
|
1406
1391
|
}, {
|
|
1407
1392
|
id: string;
|
|
1408
|
-
isComposioManaged: boolean;
|
|
1409
1393
|
mode: string;
|
|
1394
|
+
isComposioManaged: boolean;
|
|
1410
1395
|
}>>>;
|
|
1411
1396
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
1412
1397
|
id: z$1.ZodString;
|
|
@@ -1422,8 +1407,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1422
1407
|
isActive: boolean;
|
|
1423
1408
|
authConfig?: {
|
|
1424
1409
|
id: string;
|
|
1425
|
-
isComposioManaged: boolean;
|
|
1426
1410
|
mode: string;
|
|
1411
|
+
isComposioManaged: boolean;
|
|
1427
1412
|
} | null | undefined;
|
|
1428
1413
|
connectedAccount?: {
|
|
1429
1414
|
status: string;
|
|
@@ -1433,8 +1418,8 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1433
1418
|
isActive: boolean;
|
|
1434
1419
|
authConfig?: {
|
|
1435
1420
|
id: string;
|
|
1436
|
-
isComposioManaged: boolean;
|
|
1437
1421
|
mode: string;
|
|
1422
|
+
isComposioManaged: boolean;
|
|
1438
1423
|
} | null | undefined;
|
|
1439
1424
|
connectedAccount?: {
|
|
1440
1425
|
status: string;
|
|
@@ -1442,16 +1427,16 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1442
1427
|
} | undefined;
|
|
1443
1428
|
}>>;
|
|
1444
1429
|
}, "strip", z$1.ZodTypeAny, {
|
|
1445
|
-
slug: string;
|
|
1446
1430
|
name: string;
|
|
1431
|
+
slug: string;
|
|
1447
1432
|
isNoAuth: boolean;
|
|
1448
1433
|
logo?: string | undefined;
|
|
1449
1434
|
connection?: {
|
|
1450
1435
|
isActive: boolean;
|
|
1451
1436
|
authConfig?: {
|
|
1452
1437
|
id: string;
|
|
1453
|
-
isComposioManaged: boolean;
|
|
1454
1438
|
mode: string;
|
|
1439
|
+
isComposioManaged: boolean;
|
|
1455
1440
|
} | null | undefined;
|
|
1456
1441
|
connectedAccount?: {
|
|
1457
1442
|
status: string;
|
|
@@ -1459,16 +1444,16 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
1459
1444
|
} | undefined;
|
|
1460
1445
|
} | undefined;
|
|
1461
1446
|
}, {
|
|
1462
|
-
slug: string;
|
|
1463
1447
|
name: string;
|
|
1448
|
+
slug: string;
|
|
1464
1449
|
logo?: string | undefined;
|
|
1465
1450
|
isNoAuth?: boolean | undefined;
|
|
1466
1451
|
connection?: {
|
|
1467
1452
|
isActive: boolean;
|
|
1468
1453
|
authConfig?: {
|
|
1469
1454
|
id: string;
|
|
1470
|
-
isComposioManaged: boolean;
|
|
1471
1455
|
mode: string;
|
|
1456
|
+
isComposioManaged: boolean;
|
|
1472
1457
|
} | null | undefined;
|
|
1473
1458
|
connectedAccount?: {
|
|
1474
1459
|
status: string;
|
|
@@ -1490,12 +1475,12 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1490
1475
|
isComposioManaged: z$1.ZodBoolean;
|
|
1491
1476
|
}, "strip", z$1.ZodTypeAny, {
|
|
1492
1477
|
id: string;
|
|
1493
|
-
isComposioManaged: boolean;
|
|
1494
1478
|
mode: string;
|
|
1479
|
+
isComposioManaged: boolean;
|
|
1495
1480
|
}, {
|
|
1496
1481
|
id: string;
|
|
1497
|
-
isComposioManaged: boolean;
|
|
1498
1482
|
mode: string;
|
|
1483
|
+
isComposioManaged: boolean;
|
|
1499
1484
|
}>>>;
|
|
1500
1485
|
connectedAccount: z$1.ZodOptional<z$1.ZodObject<{
|
|
1501
1486
|
id: z$1.ZodString;
|
|
@@ -1511,8 +1496,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1511
1496
|
isActive: boolean;
|
|
1512
1497
|
authConfig?: {
|
|
1513
1498
|
id: string;
|
|
1514
|
-
isComposioManaged: boolean;
|
|
1515
1499
|
mode: string;
|
|
1500
|
+
isComposioManaged: boolean;
|
|
1516
1501
|
} | null | undefined;
|
|
1517
1502
|
connectedAccount?: {
|
|
1518
1503
|
status: string;
|
|
@@ -1522,8 +1507,8 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1522
1507
|
isActive: boolean;
|
|
1523
1508
|
authConfig?: {
|
|
1524
1509
|
id: string;
|
|
1525
|
-
isComposioManaged: boolean;
|
|
1526
1510
|
mode: string;
|
|
1511
|
+
isComposioManaged: boolean;
|
|
1527
1512
|
} | null | undefined;
|
|
1528
1513
|
connectedAccount?: {
|
|
1529
1514
|
status: string;
|
|
@@ -1531,16 +1516,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1531
1516
|
} | undefined;
|
|
1532
1517
|
}>>;
|
|
1533
1518
|
}, "strip", z$1.ZodTypeAny, {
|
|
1534
|
-
slug: string;
|
|
1535
1519
|
name: string;
|
|
1520
|
+
slug: string;
|
|
1536
1521
|
isNoAuth: boolean;
|
|
1537
1522
|
logo?: string | undefined;
|
|
1538
1523
|
connection?: {
|
|
1539
1524
|
isActive: boolean;
|
|
1540
1525
|
authConfig?: {
|
|
1541
1526
|
id: string;
|
|
1542
|
-
isComposioManaged: boolean;
|
|
1543
1527
|
mode: string;
|
|
1528
|
+
isComposioManaged: boolean;
|
|
1544
1529
|
} | null | undefined;
|
|
1545
1530
|
connectedAccount?: {
|
|
1546
1531
|
status: string;
|
|
@@ -1548,16 +1533,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1548
1533
|
} | undefined;
|
|
1549
1534
|
} | undefined;
|
|
1550
1535
|
}, {
|
|
1551
|
-
slug: string;
|
|
1552
1536
|
name: string;
|
|
1537
|
+
slug: string;
|
|
1553
1538
|
logo?: string | undefined;
|
|
1554
1539
|
isNoAuth?: boolean | undefined;
|
|
1555
1540
|
connection?: {
|
|
1556
1541
|
isActive: boolean;
|
|
1557
1542
|
authConfig?: {
|
|
1558
1543
|
id: string;
|
|
1559
|
-
isComposioManaged: boolean;
|
|
1560
1544
|
mode: string;
|
|
1545
|
+
isComposioManaged: boolean;
|
|
1561
1546
|
} | null | undefined;
|
|
1562
1547
|
connectedAccount?: {
|
|
1563
1548
|
status: string;
|
|
@@ -1569,16 +1554,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1569
1554
|
totalPages: z$1.ZodNumber;
|
|
1570
1555
|
}, "strip", z$1.ZodTypeAny, {
|
|
1571
1556
|
items: {
|
|
1572
|
-
slug: string;
|
|
1573
1557
|
name: string;
|
|
1558
|
+
slug: string;
|
|
1574
1559
|
isNoAuth: boolean;
|
|
1575
1560
|
logo?: string | undefined;
|
|
1576
1561
|
connection?: {
|
|
1577
1562
|
isActive: boolean;
|
|
1578
1563
|
authConfig?: {
|
|
1579
1564
|
id: string;
|
|
1580
|
-
isComposioManaged: boolean;
|
|
1581
1565
|
mode: string;
|
|
1566
|
+
isComposioManaged: boolean;
|
|
1582
1567
|
} | null | undefined;
|
|
1583
1568
|
connectedAccount?: {
|
|
1584
1569
|
status: string;
|
|
@@ -1590,16 +1575,16 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
1590
1575
|
cursor?: string | undefined;
|
|
1591
1576
|
}, {
|
|
1592
1577
|
items: {
|
|
1593
|
-
slug: string;
|
|
1594
1578
|
name: string;
|
|
1579
|
+
slug: string;
|
|
1595
1580
|
logo?: string | undefined;
|
|
1596
1581
|
isNoAuth?: boolean | undefined;
|
|
1597
1582
|
connection?: {
|
|
1598
1583
|
isActive: boolean;
|
|
1599
1584
|
authConfig?: {
|
|
1600
1585
|
id: string;
|
|
1601
|
-
isComposioManaged: boolean;
|
|
1602
1586
|
mode: string;
|
|
1587
|
+
isComposioManaged: boolean;
|
|
1603
1588
|
} | null | undefined;
|
|
1604
1589
|
connectedAccount?: {
|
|
1605
1590
|
status: string;
|
|
@@ -1639,15 +1624,15 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
|
|
|
1639
1624
|
search: z$1.ZodOptional<z$1.ZodString>;
|
|
1640
1625
|
}, "strip", z$1.ZodTypeAny, {
|
|
1641
1626
|
toolkits?: string[] | undefined;
|
|
1627
|
+
cursor?: string | undefined;
|
|
1642
1628
|
limit?: number | undefined;
|
|
1643
1629
|
search?: string | undefined;
|
|
1644
|
-
cursor?: string | undefined;
|
|
1645
1630
|
isConnected?: boolean | undefined;
|
|
1646
1631
|
}, {
|
|
1647
1632
|
toolkits?: string[] | undefined;
|
|
1633
|
+
cursor?: string | undefined;
|
|
1648
1634
|
limit?: number | undefined;
|
|
1649
1635
|
search?: string | undefined;
|
|
1650
|
-
cursor?: string | undefined;
|
|
1651
1636
|
isConnected?: boolean | undefined;
|
|
1652
1637
|
}>;
|
|
1653
1638
|
type ToolRouterToolkitsOptions = z$1.infer<typeof ToolRouterToolkitsOptionsSchema>;
|
|
@@ -1780,15 +1765,15 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1780
1765
|
connectionDetails: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1781
1766
|
currentUserInfo: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1782
1767
|
}, "strip", z$1.ZodTypeAny, {
|
|
1783
|
-
description: string;
|
|
1784
1768
|
toolkit: string;
|
|
1769
|
+
description: string;
|
|
1785
1770
|
hasActiveConnection: boolean;
|
|
1786
1771
|
statusMessage: string;
|
|
1787
1772
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
1788
1773
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
1789
1774
|
}, {
|
|
1790
|
-
description: string;
|
|
1791
1775
|
toolkit: string;
|
|
1776
|
+
description: string;
|
|
1792
1777
|
hasActiveConnection: boolean;
|
|
1793
1778
|
statusMessage: string;
|
|
1794
1779
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -1858,8 +1843,8 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1858
1843
|
} | undefined;
|
|
1859
1844
|
}>;
|
|
1860
1845
|
toolkitConnectionStatuses: {
|
|
1861
|
-
description: string;
|
|
1862
1846
|
toolkit: string;
|
|
1847
|
+
description: string;
|
|
1863
1848
|
hasActiveConnection: boolean;
|
|
1864
1849
|
statusMessage: string;
|
|
1865
1850
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -1913,8 +1898,8 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1913
1898
|
} | undefined;
|
|
1914
1899
|
}>;
|
|
1915
1900
|
toolkitConnectionStatuses: {
|
|
1916
|
-
description: string;
|
|
1917
1901
|
toolkit: string;
|
|
1902
|
+
description: string;
|
|
1918
1903
|
hasActiveConnection: boolean;
|
|
1919
1904
|
statusMessage: string;
|
|
1920
1905
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -1938,12 +1923,12 @@ declare const ToolRouterSessionExecuteResponseSchema: z$1.ZodObject<{
|
|
|
1938
1923
|
error: z$1.ZodNullable<z$1.ZodString>;
|
|
1939
1924
|
logId: z$1.ZodString;
|
|
1940
1925
|
}, "strip", z$1.ZodTypeAny, {
|
|
1941
|
-
data: Record<string, unknown>;
|
|
1942
1926
|
error: string | null;
|
|
1927
|
+
data: Record<string, unknown>;
|
|
1943
1928
|
logId: string;
|
|
1944
1929
|
}, {
|
|
1945
|
-
data: Record<string, unknown>;
|
|
1946
1930
|
error: string | null;
|
|
1931
|
+
data: Record<string, unknown>;
|
|
1947
1932
|
logId: string;
|
|
1948
1933
|
}>;
|
|
1949
1934
|
type ToolRouterSessionExecuteResponse = z$1.infer<typeof ToolRouterSessionExecuteResponseSchema>;
|
|
@@ -2001,26 +1986,21 @@ interface ToolRouterSessionMetadata {
|
|
|
2001
1986
|
inlineCustomToolsPayload?: InlineCustomToolsWirePayload;
|
|
2002
1987
|
}
|
|
2003
1988
|
declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
|
|
2004
|
-
/** The toolkit whose connected account to use for auth (e.g. 'gmail', 'github') */
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
/** HTTP method */
|
|
2009
|
-
method: z$1.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>;
|
|
2010
|
-
/** Request body (for POST/PUT/PATCH) */
|
|
2011
|
-
body: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
2012
|
-
/** Query params or headers to include */
|
|
1989
|
+
/** The toolkit whose connected account to use for auth (e.g. 'gmail', 'github') */toolkit: z$1.ZodString; /** The API endpoint URL to call */
|
|
1990
|
+
endpoint: z$1.ZodString; /** HTTP method */
|
|
1991
|
+
method: z$1.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>; /** Request body (for POST/PUT/PATCH) */
|
|
1992
|
+
body: z$1.ZodOptional<z$1.ZodUnknown>; /** Query params or headers to include */
|
|
2013
1993
|
parameters: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
2014
1994
|
in: z$1.ZodEnum<["query", "header"]>;
|
|
2015
1995
|
name: z$1.ZodString;
|
|
2016
1996
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
2017
1997
|
}, "strip", z$1.ZodTypeAny, {
|
|
2018
|
-
name: string;
|
|
2019
1998
|
value: string | number;
|
|
1999
|
+
name: string;
|
|
2020
2000
|
in: "query" | "header";
|
|
2021
2001
|
}, {
|
|
2022
|
-
name: string;
|
|
2023
2002
|
value: string | number;
|
|
2003
|
+
name: string;
|
|
2024
2004
|
in: "query" | "header";
|
|
2025
2005
|
}>, "many">>;
|
|
2026
2006
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -2029,8 +2009,8 @@ declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2029
2009
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2030
2010
|
body?: unknown;
|
|
2031
2011
|
parameters?: {
|
|
2032
|
-
name: string;
|
|
2033
2012
|
value: string | number;
|
|
2013
|
+
name: string;
|
|
2034
2014
|
in: "query" | "header";
|
|
2035
2015
|
}[] | undefined;
|
|
2036
2016
|
}, {
|
|
@@ -2039,8 +2019,8 @@ declare const SessionProxyExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2039
2019
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2040
2020
|
body?: unknown;
|
|
2041
2021
|
parameters?: {
|
|
2042
|
-
name: string;
|
|
2043
2022
|
value: string | number;
|
|
2023
|
+
name: string;
|
|
2044
2024
|
in: "query" | "header";
|
|
2045
2025
|
}[] | undefined;
|
|
2046
2026
|
}>;
|
|
@@ -2077,21 +2057,21 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2077
2057
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
2078
2058
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
2079
2059
|
}, "strict", z$1.ZodTypeAny, {
|
|
2080
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2081
2060
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2082
|
-
}, {
|
|
2083
2061
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2062
|
+
}, {
|
|
2084
2063
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2064
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2085
2065
|
}>]>;
|
|
2086
2066
|
}, "strict", z$1.ZodTypeAny, {
|
|
2087
2067
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2088
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2089
2068
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2069
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2090
2070
|
};
|
|
2091
2071
|
}, {
|
|
2092
2072
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2093
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2094
2073
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2074
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2095
2075
|
};
|
|
2096
2076
|
}>]>, string[] | {
|
|
2097
2077
|
enable: string[];
|
|
@@ -2099,8 +2079,8 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2099
2079
|
disable: string[];
|
|
2100
2080
|
} | {
|
|
2101
2081
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2102
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2103
2082
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2083
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2104
2084
|
};
|
|
2105
2085
|
}, string[] | {
|
|
2106
2086
|
enable: string[];
|
|
@@ -2108,19 +2088,19 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2108
2088
|
disable: string[];
|
|
2109
2089
|
} | {
|
|
2110
2090
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2111
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2112
2091
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2092
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2113
2093
|
};
|
|
2114
2094
|
}>]>>>>;
|
|
2115
2095
|
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z$1.ZodObject<{
|
|
2116
2096
|
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
2117
2097
|
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
2118
2098
|
}, "strict", z$1.ZodTypeAny, {
|
|
2119
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2120
2099
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2121
|
-
}, {
|
|
2122
2100
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2101
|
+
}, {
|
|
2123
2102
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2103
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2124
2104
|
}>]>>>;
|
|
2125
2105
|
authConfigs: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
|
|
2126
2106
|
connectedAccounts: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEffects<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>, Record<string, string[]>, Record<string, string | string[]>>>>;
|
|
@@ -2129,12 +2109,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2129
2109
|
callbackUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
2130
2110
|
waitForConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2131
2111
|
}, "strict", z$1.ZodTypeAny, {
|
|
2132
|
-
callbackUrl?: string | undefined;
|
|
2133
2112
|
enable?: boolean | undefined;
|
|
2113
|
+
callbackUrl?: string | undefined;
|
|
2134
2114
|
waitForConnections?: boolean | undefined;
|
|
2135
2115
|
}, {
|
|
2136
|
-
callbackUrl?: string | undefined;
|
|
2137
2116
|
enable?: boolean | undefined;
|
|
2117
|
+
callbackUrl?: string | undefined;
|
|
2138
2118
|
waitForConnections?: boolean | undefined;
|
|
2139
2119
|
}>]>>>>;
|
|
2140
2120
|
workbench: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2174,18 +2154,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2174
2154
|
tools?: string[] | "all" | undefined;
|
|
2175
2155
|
}>>>;
|
|
2176
2156
|
}, "strip", z$1.ZodTypeAny, {
|
|
2177
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2178
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2179
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2180
|
-
} | undefined;
|
|
2181
2157
|
tools?: Record<string, string[] | {
|
|
2182
2158
|
enable: string[];
|
|
2183
2159
|
} | {
|
|
2184
2160
|
disable: string[];
|
|
2185
2161
|
} | {
|
|
2186
2162
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2187
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2188
2163
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2164
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2189
2165
|
};
|
|
2190
2166
|
}> | undefined;
|
|
2191
2167
|
toolkits?: string[] | {
|
|
@@ -2193,14 +2169,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2193
2169
|
} | {
|
|
2194
2170
|
enable: string[];
|
|
2195
2171
|
} | undefined;
|
|
2172
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2173
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2174
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2175
|
+
} | undefined;
|
|
2196
2176
|
preload?: {
|
|
2197
2177
|
tools?: string[] | "all" | undefined;
|
|
2198
2178
|
} | undefined;
|
|
2199
2179
|
authConfigs?: Record<string, string> | undefined;
|
|
2200
2180
|
connectedAccounts?: Record<string, string[]> | undefined;
|
|
2201
2181
|
manageConnections?: boolean | {
|
|
2202
|
-
callbackUrl?: string | undefined;
|
|
2203
2182
|
enable?: boolean | undefined;
|
|
2183
|
+
callbackUrl?: string | undefined;
|
|
2204
2184
|
waitForConnections?: boolean | undefined;
|
|
2205
2185
|
} | null | undefined;
|
|
2206
2186
|
workbench?: {
|
|
@@ -2215,18 +2195,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2215
2195
|
requireExplicitSelection?: boolean | undefined;
|
|
2216
2196
|
} | null | undefined;
|
|
2217
2197
|
}, {
|
|
2218
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2219
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2220
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2221
|
-
} | undefined;
|
|
2222
2198
|
tools?: Record<string, string[] | {
|
|
2223
2199
|
enable: string[];
|
|
2224
2200
|
} | {
|
|
2225
2201
|
disable: string[];
|
|
2226
2202
|
} | {
|
|
2227
2203
|
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2228
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2229
2204
|
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2205
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2230
2206
|
};
|
|
2231
2207
|
}> | undefined;
|
|
2232
2208
|
toolkits?: string[] | {
|
|
@@ -2234,14 +2210,18 @@ declare const ToolRouterUpdateSessionConfigSchema: z$1.ZodObject<{
|
|
|
2234
2210
|
} | {
|
|
2235
2211
|
enable: string[];
|
|
2236
2212
|
} | undefined;
|
|
2213
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
2214
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2215
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
2216
|
+
} | undefined;
|
|
2237
2217
|
preload?: {
|
|
2238
2218
|
tools?: string[] | "all" | undefined;
|
|
2239
2219
|
} | undefined;
|
|
2240
2220
|
authConfigs?: Record<string, string> | undefined;
|
|
2241
2221
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
2242
2222
|
manageConnections?: boolean | {
|
|
2243
|
-
callbackUrl?: string | undefined;
|
|
2244
2223
|
enable?: boolean | undefined;
|
|
2224
|
+
callbackUrl?: string | undefined;
|
|
2245
2225
|
waitForConnections?: boolean | undefined;
|
|
2246
2226
|
} | null | undefined;
|
|
2247
2227
|
workbench?: {
|
|
@@ -2290,43 +2270,8 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
|
|
|
2290
2270
|
}
|
|
2291
2271
|
//#endregion
|
|
2292
2272
|
//#region src/types/customTool.types.d.ts
|
|
2293
|
-
type
|
|
2294
|
-
|
|
2295
|
-
description?: string;
|
|
2296
|
-
slug: string;
|
|
2297
|
-
inputParams: T;
|
|
2298
|
-
};
|
|
2299
|
-
type ToolkitBasedExecute<T extends z.ZodType> = {
|
|
2300
|
-
execute: (input: z.infer<T>, connectionConfig: ConnectionData | null, executeToolRequest: (data: ToolProxyParams) => Promise<ToolExecuteResponse>) => Promise<ToolExecuteResponse>;
|
|
2301
|
-
toolkitSlug: string;
|
|
2302
|
-
};
|
|
2303
|
-
type StandaloneExecute<T extends z.ZodType> = {
|
|
2304
|
-
execute: (input: z.infer<T>) => Promise<ToolExecuteResponse>;
|
|
2305
|
-
toolkitSlug?: never;
|
|
2306
|
-
};
|
|
2307
|
-
type CustomToolOptions<T extends z.ZodType> = BaseCustomToolOptions<T> & (ToolkitBasedExecute<T> | StandaloneExecute<T>);
|
|
2308
|
-
type CustomToolRegistry = Map<string, {
|
|
2309
|
-
options: CustomToolOptions<CustomToolInputParameter>;
|
|
2310
|
-
schema: Tool;
|
|
2311
|
-
}>;
|
|
2312
|
-
type InputParamsSchema = {
|
|
2313
|
-
definitions: {
|
|
2314
|
-
input: {
|
|
2315
|
-
type: string;
|
|
2316
|
-
properties: Record<string, unknown>;
|
|
2317
|
-
required?: string[];
|
|
2318
|
-
};
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
|
-
type CustomToolInputParameter = z.ZodType;
|
|
2322
|
-
interface CustomToolRegistryItem {
|
|
2323
|
-
options: CustomToolOptions<CustomToolInputParameter>;
|
|
2324
|
-
schema: Tool;
|
|
2325
|
-
}
|
|
2326
|
-
interface ExecuteMetadata {
|
|
2327
|
-
userId: string;
|
|
2328
|
-
connectedAccountId?: string;
|
|
2329
|
-
}
|
|
2273
|
+
type AnyZodSchema = z.ZodType | z$2.ZodType;
|
|
2274
|
+
type InferZodSchema<T extends AnyZodSchema> = T extends z.ZodType ? z.infer<T> : T extends z$2.ZodType ? z$2.infer<T> : never;
|
|
2330
2275
|
/**
|
|
2331
2276
|
* Session context injected into custom tool execute functions at runtime.
|
|
2332
2277
|
* Provides identity context and methods to call other tools or proxy API requests.
|
|
@@ -2338,6 +2283,14 @@ interface SessionContext {
|
|
|
2338
2283
|
execute(toolSlug: string, arguments_: Record<string, unknown>): Promise<ToolRouterSessionExecuteResponse>;
|
|
2339
2284
|
/** Proxy API calls through Composio's auth layer (resolved from session toolkit). */
|
|
2340
2285
|
proxyExecute(params: SessionProxyExecuteParams): Promise<ToolRouterSessionProxyExecuteResponse>;
|
|
2286
|
+
/**
|
|
2287
|
+
* Caller-supplied AbortSignal forwarded from `session.execute(..., { signal })`.
|
|
2288
|
+
* Custom-tool execution is cooperative: long-running user code that respects
|
|
2289
|
+
* this signal (e.g. by passing it into `fetch`) can abort mid-execution and
|
|
2290
|
+
* surface as `ComposioRequestCancelledError`. Undefined when the caller did
|
|
2291
|
+
* not pass `requestOptions`.
|
|
2292
|
+
*/
|
|
2293
|
+
readonly signal?: AbortSignal;
|
|
2341
2294
|
}
|
|
2342
2295
|
/**
|
|
2343
2296
|
* Execute function for custom tools.
|
|
@@ -2347,7 +2300,7 @@ interface SessionContext {
|
|
|
2347
2300
|
* - `(input) => data` — for tools that don't need session context
|
|
2348
2301
|
* - `(input, ctx) => data` — for tools that need to call other tools or proxy APIs
|
|
2349
2302
|
*/
|
|
2350
|
-
type CustomToolExecuteFn<T extends
|
|
2303
|
+
type CustomToolExecuteFn<T extends AnyZodSchema> = (input: InferZodSchema<T>, ctx: SessionContext) => Promise<Record<string, unknown>>;
|
|
2351
2304
|
/**
|
|
2352
2305
|
* Zod schema for validating a custom tool slug.
|
|
2353
2306
|
* Alphanumeric, underscores, and hyphens only. No `LOCAL_` or `COMPOSIO_` prefix.
|
|
@@ -2382,12 +2335,9 @@ declare const CreateCustomToolBaseSchema: z.ZodObject<{
|
|
|
2382
2335
|
preload?: boolean | undefined;
|
|
2383
2336
|
}>;
|
|
2384
2337
|
/** Options for creating a custom tool via `createCustomTool()`. */
|
|
2385
|
-
type CreateCustomToolParams<T extends
|
|
2386
|
-
/** Zod schema for input parameters */
|
|
2387
|
-
|
|
2388
|
-
/** Optional Zod schema for output parameters (sent to backend for documentation) */
|
|
2389
|
-
outputParams?: z.ZodType;
|
|
2390
|
-
/** The function that executes the tool */
|
|
2338
|
+
type CreateCustomToolParams<T extends AnyZodSchema> = z.infer<typeof CreateCustomToolBaseSchema> & {
|
|
2339
|
+
/** Zod schema for input parameters */inputParams: T; /** Optional Zod schema for output parameters (sent to backend for documentation) */
|
|
2340
|
+
outputParams?: AnyZodSchema; /** The function that executes the tool */
|
|
2391
2341
|
execute: CustomToolExecuteFn<T>;
|
|
2392
2342
|
};
|
|
2393
2343
|
/**
|
|
@@ -2413,9 +2363,9 @@ interface CustomTool {
|
|
|
2413
2363
|
/** JSON Schema representation of the output (for backend documentation) */
|
|
2414
2364
|
readonly outputSchema?: Record<string, unknown>;
|
|
2415
2365
|
/** @internal Original Zod schema — used for runtime input validation (defaults, coercions, transforms) */
|
|
2416
|
-
readonly inputParams:
|
|
2366
|
+
readonly inputParams: AnyZodSchema;
|
|
2417
2367
|
/** Direct reference to the execute function — useful for testing */
|
|
2418
|
-
readonly execute: CustomToolExecuteFn<
|
|
2368
|
+
readonly execute: CustomToolExecuteFn<AnyZodSchema>;
|
|
2419
2369
|
}
|
|
2420
2370
|
/** Serialized tool definition sent to backend for search indexing. Uses official client type. */
|
|
2421
2371
|
type CustomToolDefinition = SessionCreateParams.Experimental.CustomTool;
|
|
@@ -2439,8 +2389,7 @@ declare const CreateCustomToolkitBaseSchema: z.ZodObject<{
|
|
|
2439
2389
|
}>;
|
|
2440
2390
|
/** Options for creating a custom toolkit via `createCustomToolkit()`. */
|
|
2441
2391
|
type CreateCustomToolkitParams = z.infer<typeof CreateCustomToolkitBaseSchema> & {
|
|
2442
|
-
/** Tools to include in this toolkit. Must not have `extendsToolkit` set. */
|
|
2443
|
-
tools: CustomTool[];
|
|
2392
|
+
/** Tools to include in this toolkit. Must not have `extendsToolkit` set. */tools: CustomTool[];
|
|
2444
2393
|
};
|
|
2445
2394
|
/**
|
|
2446
2395
|
* Custom toolkit definition returned from `createCustomToolkit()`.
|
|
@@ -2466,25 +2415,17 @@ interface InlineCustomToolsWirePayload {
|
|
|
2466
2415
|
}
|
|
2467
2416
|
/** @internal Entry in the per-session custom tools routing map. */
|
|
2468
2417
|
type CustomToolsMapEntry = {
|
|
2469
|
-
handle: CustomTool;
|
|
2470
|
-
/**
|
|
2471
|
-
finalSlug: string;
|
|
2472
|
-
/** Resolved toolkit — from extendsToolkit, parent custom toolkit, or undefined for standalone */
|
|
2418
|
+
handle: CustomTool; /** @internal The final slug assigned by the prefixing rules (e.g. LOCAL_GREP, LOCAL_GMAIL_GET_EMAILS) */
|
|
2419
|
+
finalSlug: string; /** Resolved toolkit — from extendsToolkit, parent custom toolkit, or undefined for standalone */
|
|
2473
2420
|
toolkit?: string;
|
|
2474
2421
|
};
|
|
2475
2422
|
/** @internal Lookup maps used by ToolRouterSession for routing custom tools. */
|
|
2476
2423
|
type CustomToolsMap = {
|
|
2477
|
-
/** Lookup by final slug (e.g. LOCAL_GET_USER_CONTEXT) — used for agent execution path */
|
|
2478
|
-
|
|
2479
|
-
/**
|
|
2480
|
-
|
|
2481
|
-
/**
|
|
2482
|
-
byToolkitAndOriginalSlug?: Map<string, CustomToolsMapEntry>;
|
|
2483
|
-
/** Original slugs that appear in multiple toolkits and cannot be resolved safely without the final slug */
|
|
2484
|
-
ambiguousOriginalSlugs?: Set<string>;
|
|
2485
|
-
/** The original custom toolkits passed at session creation — used for session.customToolkits() */
|
|
2486
|
-
toolkits?: CustomToolkit[];
|
|
2487
|
-
/** The original standalone custom tools passed at session creation — kept for inline re-injection on later requests. */
|
|
2424
|
+
/** Lookup by final slug (e.g. LOCAL_GET_USER_CONTEXT) — used for agent execution path */byFinalSlug: Map<string, CustomToolsMapEntry>; /** Lookup by unique original slug (e.g. GET_USER_CONTEXT) — used for programmatic session.execute() */
|
|
2425
|
+
byOriginalSlug: Map<string, CustomToolsMapEntry>; /** Lookup by resolved toolkit + original slug — used when multiple custom toolkits reuse tool names */
|
|
2426
|
+
byToolkitAndOriginalSlug?: Map<string, CustomToolsMapEntry>; /** Original slugs that appear in multiple toolkits and cannot be resolved safely without the final slug */
|
|
2427
|
+
ambiguousOriginalSlugs?: Set<string>; /** The original custom toolkits passed at session creation — used for session.customToolkits() */
|
|
2428
|
+
toolkits?: CustomToolkit[]; /** The original standalone custom tools passed at session creation — kept for inline re-injection on later requests. */
|
|
2488
2429
|
tools?: CustomTool[];
|
|
2489
2430
|
};
|
|
2490
2431
|
/** A custom tool as registered in a session, with its final resolved slug. */
|
|
@@ -2510,4 +2451,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
2510
2451
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
2511
2452
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
2512
2453
|
//#endregion
|
|
2513
|
-
export {
|
|
2454
|
+
export { ToolRouterSessionSearchResponseSchema as $, ConnectedAccountRetrieveResponse as $t, SessionProxyExecuteParams as A, ToolRouterSessionFilesMountListOptions as At, ToolRouterMCPServerConfig as B, ConnectedAccountAuthConfig as Bt, MCPServerType as C, FileListResponseSchema as Ct, Session as D, ToolRouterSessionFilesMountDeleteOptionsSchema as Dt, SandboxSizeSchema as E, ToolRouterSessionFilesMountDeleteOptions as Et, ToolRouterConfigTagsSchema as F, ConnectionRequestState as Ft, ToolRouterSessionExecuteResponse as G, ConnectedAccountExperimentalSchema as Gt, ToolRouterManageConnectionsConfigSchema as H, ConnectedAccountExperimental as Ht, ToolRouterConfigTools as I, ConnectedAccountAclConfig as It, ToolRouterSessionPreloadConfig as J, ConnectedAccountListResponse as Jt, ToolRouterSessionExecuteResponseSchema as K, ConnectedAccountListParams as Kt, ToolRouterConfigToolsSchema as L, ConnectedAccountAclConfigResponse as Lt, ToolRouterAuthorizeFn as M, ToolRouterSessionFilesMountUploadOptions as Mt, ToolRouterConfigManageConnectionsSchema as N, ToolRouterSessionFilesMountUploadOptionsSchema as Nt, SessionExperimental as O, ToolRouterSessionFilesMountDownloadOptions as Ot, ToolRouterConfigTags as P, ConnectionRequest as Pt, ToolRouterSessionSearchResponse as Q, ConnectedAccountRefreshOptionsSchema as Qt, ToolRouterCreateSessionConfig as R, ConnectedAccountAclConfigResponseSchema as Rt, SessionContext as S, UpdateConnectedAccountParamsSchema as Sn, FileListResponse as St, SandboxSize as T, RemoteFileDataSchema as Tt, ToolRouterSessionExecuteFn as U, ConnectedAccountExperimentalResponse as Ut, ToolRouterMCPServerConfigSchema as V, ConnectedAccountAuthConfigSchema as Vt, ToolRouterSessionExecuteOptions as W, ConnectedAccountExperimentalResponseSchema as Wt, ToolRouterSessionProxyExecuteResponse as X, ConnectedAccountListResponseSchema as Xt, ToolRouterSessionProxyExecuteFn as Y, ConnectedAccountListResponseItem as Yt, ToolRouterSessionSearchFn as Z, ConnectedAccountRefreshOptions as Zt, CustomToolsMapEntry as _, CreateConnectedAccountResponseSchema as _n, ToolkitConnectionsDetails as _t, CreateCustomToolkitParams as a, ConnectedAccountType as an, ToolRouterToolkitsEnabledConfigSchema as at, RegisteredCustomTool as b, UpdateConnectedAccountAclParamsSchema as bn, FileDeleteResponse as bt, CustomToolExecuteFn as c, CreateConnectedAccountLinkOptions as cn, ToolRouterToolkitsOptionsSchema as ct, CustomToolWireDefinition as d, CreateConnectedAccountLinkResponseSchema as dn, ToolRouterToolsParam as dt, ConnectedAccountRetrieveResponseSchema as en, ToolRouterSessionUpdateFn as et, CustomToolkit as f, CreateConnectedAccountOptions as fn, ToolRouterToolsParamSchema as ft, CustomToolsMap as g, CreateConnectedAccountResponse as gn, ToolkitConnectionStateSchema as gt, CustomToolkitWireDefinition as h, CreateConnectedAccountParamsSchema as hn, ToolkitConnectionState as ht, CreateCustomToolkitBaseSchema as i, ConnectedAccountStatuses as in, ToolRouterToolkitsDisabledConfigSchema as it, SessionProxyExecuteParamsSchema as j, ToolRouterSessionFilesMountListOptionsSchema as jt, SessionPreset as k, ToolRouterSessionFilesMountDownloadOptionsSchema as kt, CustomToolResponse as l, CreateConnectedAccountLinkOptionsSchema as ln, ToolRouterToolkitsParamSchema as lt, CustomToolkitResponse as m, CreateConnectedAccountParams as mn, ToolRouterUpdateSessionConfigSchema as mt, CreateCustomToolBaseSchema as n, ConnectedAccountStatusEnum as nn, ToolRouterTagsEnableDisableSchema as nt, CustomTool as o, ConnectedAccountTypeSchema as on, ToolRouterToolkitsFn as ot, CustomToolkitDefinition as p, CreateConnectedAccountOptionsSchema as pn, ToolRouterUpdateSessionConfig as pt, ToolRouterSessionMetadata as q, ConnectedAccountListParamsSchema as qt, CreateCustomToolParams as r, ConnectedAccountStatusSchema as rn, ToolRouterTagsParamSchema as rt, CustomToolDefinition as s, ConnectedAccountTypes as sn, ToolRouterToolkitsOptions as st, AnyZodSchema as t, ConnectedAccountStatus as tn, ToolRouterSessionWarning as tt, CustomToolSlugSchema as u, CreateConnectedAccountLinkResponse as un, ToolRouterToolsFn as ut, InferZodSchema as v, DefaultCreateConnectedAccountParamsSchema as vn, ToolkitConnectionsDetailsSchema as vt, MCPServerTypeSchema as w, RemoteFileData as wt, RegisteredCustomToolkit as x, UpdateConnectedAccountParams as xn, FileDeleteResponseSchema as xt, InlineCustomToolsWirePayload as y, UpdateConnectedAccountAclParams as yn, RemoteFile as yt, ToolRouterCreateSessionConfigSchema as z, ConnectedAccountAclConfigSchema as zt };
|