@composio/core 0.3.1 → 0.3.2
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/index.cjs +9 -6
- package/dist/index.d.cts +83 -80
- package/dist/index.d.mts +83 -80
- package/dist/index.mjs +9 -6
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3514,9 +3514,10 @@ const ToolkitMangedByEnumSchema = zod_v3.z.enum([
|
|
|
3514
3514
|
const ToolkitSortByEnumSchema = zod_v3.z.enum(["usage", "alphabetically"]);
|
|
3515
3515
|
const ToolkitsListParamsSchema = zod_v3.z.object({
|
|
3516
3516
|
category: zod_v3.z.string().optional(),
|
|
3517
|
-
isLocal: zod_v3.z.boolean().optional(),
|
|
3518
3517
|
managedBy: ToolkitMangedByEnumSchema.optional(),
|
|
3519
|
-
sortBy: ToolkitSortByEnumSchema.optional()
|
|
3518
|
+
sortBy: ToolkitSortByEnumSchema.optional(),
|
|
3519
|
+
cursor: zod_v3.z.string().optional(),
|
|
3520
|
+
limit: zod_v3.z.number().optional()
|
|
3520
3521
|
});
|
|
3521
3522
|
/**
|
|
3522
3523
|
* Toolkits response
|
|
@@ -4434,9 +4435,10 @@ var Toolkits = class {
|
|
|
4434
4435
|
if (!parsedQuery.success) throw new ValidationError("Failed to parse toolkit list query", { cause: parsedQuery.error });
|
|
4435
4436
|
return transformToolkitListResponse(await this.client.toolkits.list({
|
|
4436
4437
|
category: parsedQuery.data.category,
|
|
4437
|
-
is_local: parsedQuery.data.isLocal,
|
|
4438
4438
|
managed_by: parsedQuery.data.managedBy,
|
|
4439
|
-
sort_by: parsedQuery.data.sortBy
|
|
4439
|
+
sort_by: parsedQuery.data.sortBy,
|
|
4440
|
+
cursor: parsedQuery.data.cursor,
|
|
4441
|
+
limit: parsedQuery.data.limit
|
|
4440
4442
|
}));
|
|
4441
4443
|
} catch (error) {
|
|
4442
4444
|
throw new ComposioToolkitFetchError("Failed to fetch toolkits", { cause: error });
|
|
@@ -6269,7 +6271,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
6269
6271
|
|
|
6270
6272
|
//#endregion
|
|
6271
6273
|
//#region package.json
|
|
6272
|
-
var version = "0.3.
|
|
6274
|
+
var version = "0.3.2";
|
|
6273
6275
|
|
|
6274
6276
|
//#endregion
|
|
6275
6277
|
//#region src/models/Files.ts
|
|
@@ -6393,7 +6395,8 @@ const ToolRouterToolsParamSchema = zod_v3.default.array(zod_v3.default.string())
|
|
|
6393
6395
|
const ToolRouterToolsTagsParamSchema = zod_v3.default.array(zod_v3.default.enum([
|
|
6394
6396
|
"readOnlyHint",
|
|
6395
6397
|
"destructiveHint",
|
|
6396
|
-
"idempotentHint"
|
|
6398
|
+
"idempotentHint",
|
|
6399
|
+
"openWorldHint"
|
|
6397
6400
|
])).describe("The tags to filter the tools by");
|
|
6398
6401
|
const ToolRouterConfigToolsSchema = zod_v3.default.union([
|
|
6399
6402
|
ToolRouterToolsParamSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -25893,12 +25893,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
|
|
|
25893
25893
|
connectedAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25894
25894
|
isChatAuth: z.ZodOptional<z.ZodBoolean>;
|
|
25895
25895
|
}, "strip", z.ZodTypeAny, {
|
|
25896
|
-
connectedAccountIds?: string[] | undefined;
|
|
25897
25896
|
userIds?: string[] | undefined;
|
|
25897
|
+
connectedAccountIds?: string[] | undefined;
|
|
25898
25898
|
isChatAuth?: boolean | undefined;
|
|
25899
25899
|
}, {
|
|
25900
|
-
connectedAccountIds?: string[] | undefined;
|
|
25901
25900
|
userIds?: string[] | undefined;
|
|
25901
|
+
connectedAccountIds?: string[] | undefined;
|
|
25902
25902
|
isChatAuth?: boolean | undefined;
|
|
25903
25903
|
}>;
|
|
25904
25904
|
type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -25925,13 +25925,13 @@ declare const GenerateURLParamsSchema: z.ZodObject<{
|
|
|
25925
25925
|
composioManagedAuth: z.ZodOptional<z.ZodBoolean>;
|
|
25926
25926
|
}, "strip", z.ZodTypeAny, {
|
|
25927
25927
|
mcpServerId: string;
|
|
25928
|
-
connectedAccountIds?: string[] | undefined;
|
|
25929
25928
|
userIds?: string[] | undefined;
|
|
25929
|
+
connectedAccountIds?: string[] | undefined;
|
|
25930
25930
|
composioManagedAuth?: boolean | undefined;
|
|
25931
25931
|
}, {
|
|
25932
25932
|
mcpServerId: string;
|
|
25933
|
-
connectedAccountIds?: string[] | undefined;
|
|
25934
25933
|
userIds?: string[] | undefined;
|
|
25934
|
+
connectedAccountIds?: string[] | undefined;
|
|
25935
25935
|
composioManagedAuth?: boolean | undefined;
|
|
25936
25936
|
}>;
|
|
25937
25937
|
type GenerateURLParams = z.infer<typeof GenerateURLParamsSchema>;
|
|
@@ -27216,17 +27216,20 @@ declare const ToolkitMangedByEnumSchema: z.ZodEnum<["all", "composio", "project"
|
|
|
27216
27216
|
declare const ToolkitSortByEnumSchema: z.ZodEnum<["usage", "alphabetically"]>;
|
|
27217
27217
|
declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
27218
27218
|
category: z.ZodOptional<z.ZodString>;
|
|
27219
|
-
isLocal: z.ZodOptional<z.ZodBoolean>;
|
|
27220
27219
|
managedBy: z.ZodOptional<z.ZodEnum<["all", "composio", "project"]>>;
|
|
27221
27220
|
sortBy: z.ZodOptional<z.ZodEnum<["usage", "alphabetically"]>>;
|
|
27221
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
27222
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
27222
27223
|
}, "strip", z.ZodTypeAny, {
|
|
27224
|
+
limit?: number | undefined;
|
|
27225
|
+
cursor?: string | undefined;
|
|
27223
27226
|
category?: string | undefined;
|
|
27224
|
-
isLocal?: boolean | undefined;
|
|
27225
27227
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27226
27228
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27227
27229
|
}, {
|
|
27230
|
+
limit?: number | undefined;
|
|
27231
|
+
cursor?: string | undefined;
|
|
27228
27232
|
category?: string | undefined;
|
|
27229
|
-
isLocal?: boolean | undefined;
|
|
27230
27233
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27231
27234
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27232
27235
|
}>;
|
|
@@ -27260,7 +27263,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27260
27263
|
logo?: string | undefined;
|
|
27261
27264
|
availableVersions?: string[] | undefined;
|
|
27262
27265
|
createdAt?: string | undefined;
|
|
27263
|
-
updatedAt?: string | undefined;
|
|
27264
27266
|
categories?: {
|
|
27265
27267
|
slug: string;
|
|
27266
27268
|
name: string;
|
|
@@ -27268,12 +27270,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27268
27270
|
appUrl?: string | undefined;
|
|
27269
27271
|
toolsCount?: number | undefined;
|
|
27270
27272
|
triggersCount?: number | undefined;
|
|
27273
|
+
updatedAt?: string | undefined;
|
|
27271
27274
|
}, {
|
|
27272
27275
|
description?: string | undefined;
|
|
27273
27276
|
logo?: string | undefined;
|
|
27274
27277
|
availableVersions?: string[] | undefined;
|
|
27275
27278
|
createdAt?: string | undefined;
|
|
27276
|
-
updatedAt?: string | undefined;
|
|
27277
27279
|
categories?: {
|
|
27278
27280
|
slug: string;
|
|
27279
27281
|
name: string;
|
|
@@ -27281,6 +27283,7 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
27281
27283
|
appUrl?: string | undefined;
|
|
27282
27284
|
toolsCount?: number | undefined;
|
|
27283
27285
|
triggersCount?: number | undefined;
|
|
27286
|
+
updatedAt?: string | undefined;
|
|
27284
27287
|
}>;
|
|
27285
27288
|
declare const ToolKitItemSchema: z.ZodObject<{
|
|
27286
27289
|
name: z.ZodString;
|
|
@@ -27309,7 +27312,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27309
27312
|
logo?: string | undefined;
|
|
27310
27313
|
availableVersions?: string[] | undefined;
|
|
27311
27314
|
createdAt?: string | undefined;
|
|
27312
|
-
updatedAt?: string | undefined;
|
|
27313
27315
|
categories?: {
|
|
27314
27316
|
slug: string;
|
|
27315
27317
|
name: string;
|
|
@@ -27317,12 +27319,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27317
27319
|
appUrl?: string | undefined;
|
|
27318
27320
|
toolsCount?: number | undefined;
|
|
27319
27321
|
triggersCount?: number | undefined;
|
|
27322
|
+
updatedAt?: string | undefined;
|
|
27320
27323
|
}, {
|
|
27321
27324
|
description?: string | undefined;
|
|
27322
27325
|
logo?: string | undefined;
|
|
27323
27326
|
availableVersions?: string[] | undefined;
|
|
27324
27327
|
createdAt?: string | undefined;
|
|
27325
|
-
updatedAt?: string | undefined;
|
|
27326
27328
|
categories?: {
|
|
27327
27329
|
slug: string;
|
|
27328
27330
|
name: string;
|
|
@@ -27330,6 +27332,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27330
27332
|
appUrl?: string | undefined;
|
|
27331
27333
|
toolsCount?: number | undefined;
|
|
27332
27334
|
triggersCount?: number | undefined;
|
|
27335
|
+
updatedAt?: string | undefined;
|
|
27333
27336
|
}>;
|
|
27334
27337
|
isLocalToolkit: z.ZodBoolean;
|
|
27335
27338
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -27343,7 +27346,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27343
27346
|
logo?: string | undefined;
|
|
27344
27347
|
availableVersions?: string[] | undefined;
|
|
27345
27348
|
createdAt?: string | undefined;
|
|
27346
|
-
updatedAt?: string | undefined;
|
|
27347
27349
|
categories?: {
|
|
27348
27350
|
slug: string;
|
|
27349
27351
|
name: string;
|
|
@@ -27351,6 +27353,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27351
27353
|
appUrl?: string | undefined;
|
|
27352
27354
|
toolsCount?: number | undefined;
|
|
27353
27355
|
triggersCount?: number | undefined;
|
|
27356
|
+
updatedAt?: string | undefined;
|
|
27354
27357
|
};
|
|
27355
27358
|
isLocalToolkit: boolean;
|
|
27356
27359
|
authSchemes?: string[] | undefined;
|
|
@@ -27364,7 +27367,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27364
27367
|
logo?: string | undefined;
|
|
27365
27368
|
availableVersions?: string[] | undefined;
|
|
27366
27369
|
createdAt?: string | undefined;
|
|
27367
|
-
updatedAt?: string | undefined;
|
|
27368
27370
|
categories?: {
|
|
27369
27371
|
slug: string;
|
|
27370
27372
|
name: string;
|
|
@@ -27372,6 +27374,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
27372
27374
|
appUrl?: string | undefined;
|
|
27373
27375
|
toolsCount?: number | undefined;
|
|
27374
27376
|
triggersCount?: number | undefined;
|
|
27377
|
+
updatedAt?: string | undefined;
|
|
27375
27378
|
};
|
|
27376
27379
|
isLocalToolkit: boolean;
|
|
27377
27380
|
authSchemes?: string[] | undefined;
|
|
@@ -27405,7 +27408,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27405
27408
|
logo?: string | undefined;
|
|
27406
27409
|
availableVersions?: string[] | undefined;
|
|
27407
27410
|
createdAt?: string | undefined;
|
|
27408
|
-
updatedAt?: string | undefined;
|
|
27409
27411
|
categories?: {
|
|
27410
27412
|
slug: string;
|
|
27411
27413
|
name: string;
|
|
@@ -27413,12 +27415,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27413
27415
|
appUrl?: string | undefined;
|
|
27414
27416
|
toolsCount?: number | undefined;
|
|
27415
27417
|
triggersCount?: number | undefined;
|
|
27418
|
+
updatedAt?: string | undefined;
|
|
27416
27419
|
}, {
|
|
27417
27420
|
description?: string | undefined;
|
|
27418
27421
|
logo?: string | undefined;
|
|
27419
27422
|
availableVersions?: string[] | undefined;
|
|
27420
27423
|
createdAt?: string | undefined;
|
|
27421
|
-
updatedAt?: string | undefined;
|
|
27422
27424
|
categories?: {
|
|
27423
27425
|
slug: string;
|
|
27424
27426
|
name: string;
|
|
@@ -27426,6 +27428,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27426
27428
|
appUrl?: string | undefined;
|
|
27427
27429
|
toolsCount?: number | undefined;
|
|
27428
27430
|
triggersCount?: number | undefined;
|
|
27431
|
+
updatedAt?: string | undefined;
|
|
27429
27432
|
}>;
|
|
27430
27433
|
isLocalToolkit: z.ZodBoolean;
|
|
27431
27434
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -27439,7 +27442,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27439
27442
|
logo?: string | undefined;
|
|
27440
27443
|
availableVersions?: string[] | undefined;
|
|
27441
27444
|
createdAt?: string | undefined;
|
|
27442
|
-
updatedAt?: string | undefined;
|
|
27443
27445
|
categories?: {
|
|
27444
27446
|
slug: string;
|
|
27445
27447
|
name: string;
|
|
@@ -27447,6 +27449,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27447
27449
|
appUrl?: string | undefined;
|
|
27448
27450
|
toolsCount?: number | undefined;
|
|
27449
27451
|
triggersCount?: number | undefined;
|
|
27452
|
+
updatedAt?: string | undefined;
|
|
27450
27453
|
};
|
|
27451
27454
|
isLocalToolkit: boolean;
|
|
27452
27455
|
authSchemes?: string[] | undefined;
|
|
@@ -27460,7 +27463,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27460
27463
|
logo?: string | undefined;
|
|
27461
27464
|
availableVersions?: string[] | undefined;
|
|
27462
27465
|
createdAt?: string | undefined;
|
|
27463
|
-
updatedAt?: string | undefined;
|
|
27464
27466
|
categories?: {
|
|
27465
27467
|
slug: string;
|
|
27466
27468
|
name: string;
|
|
@@ -27468,6 +27470,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
27468
27470
|
appUrl?: string | undefined;
|
|
27469
27471
|
toolsCount?: number | undefined;
|
|
27470
27472
|
triggersCount?: number | undefined;
|
|
27473
|
+
updatedAt?: string | undefined;
|
|
27471
27474
|
};
|
|
27472
27475
|
isLocalToolkit: boolean;
|
|
27473
27476
|
authSchemes?: string[] | undefined;
|
|
@@ -27864,7 +27867,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
27864
27867
|
logo?: string | undefined;
|
|
27865
27868
|
availableVersions?: string[] | undefined;
|
|
27866
27869
|
createdAt?: string | undefined;
|
|
27867
|
-
updatedAt?: string | undefined;
|
|
27868
27870
|
categories?: {
|
|
27869
27871
|
slug: string;
|
|
27870
27872
|
name: string;
|
|
@@ -27872,12 +27874,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
27872
27874
|
appUrl?: string | undefined;
|
|
27873
27875
|
toolsCount?: number | undefined;
|
|
27874
27876
|
triggersCount?: number | undefined;
|
|
27877
|
+
updatedAt?: string | undefined;
|
|
27875
27878
|
}, {
|
|
27876
27879
|
description?: string | undefined;
|
|
27877
27880
|
logo?: string | undefined;
|
|
27878
27881
|
availableVersions?: string[] | undefined;
|
|
27879
27882
|
createdAt?: string | undefined;
|
|
27880
|
-
updatedAt?: string | undefined;
|
|
27881
27883
|
categories?: {
|
|
27882
27884
|
slug: string;
|
|
27883
27885
|
name: string;
|
|
@@ -27885,6 +27887,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
27885
27887
|
appUrl?: string | undefined;
|
|
27886
27888
|
toolsCount?: number | undefined;
|
|
27887
27889
|
triggersCount?: number | undefined;
|
|
27890
|
+
updatedAt?: string | undefined;
|
|
27888
27891
|
}>;
|
|
27889
27892
|
isLocalToolkit: z.ZodBoolean;
|
|
27890
27893
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28233,7 +28236,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28233
28236
|
logo?: string | undefined;
|
|
28234
28237
|
availableVersions?: string[] | undefined;
|
|
28235
28238
|
createdAt?: string | undefined;
|
|
28236
|
-
updatedAt?: string | undefined;
|
|
28237
28239
|
categories?: {
|
|
28238
28240
|
slug: string;
|
|
28239
28241
|
name: string;
|
|
@@ -28241,6 +28243,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28241
28243
|
appUrl?: string | undefined;
|
|
28242
28244
|
toolsCount?: number | undefined;
|
|
28243
28245
|
triggersCount?: number | undefined;
|
|
28246
|
+
updatedAt?: string | undefined;
|
|
28244
28247
|
};
|
|
28245
28248
|
isLocalToolkit: boolean;
|
|
28246
28249
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28299,7 +28302,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28299
28302
|
logo?: string | undefined;
|
|
28300
28303
|
availableVersions?: string[] | undefined;
|
|
28301
28304
|
createdAt?: string | undefined;
|
|
28302
|
-
updatedAt?: string | undefined;
|
|
28303
28305
|
categories?: {
|
|
28304
28306
|
slug: string;
|
|
28305
28307
|
name: string;
|
|
@@ -28307,6 +28309,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
28307
28309
|
appUrl?: string | undefined;
|
|
28308
28310
|
toolsCount?: number | undefined;
|
|
28309
28311
|
triggersCount?: number | undefined;
|
|
28312
|
+
updatedAt?: string | undefined;
|
|
28310
28313
|
};
|
|
28311
28314
|
isLocalToolkit: boolean;
|
|
28312
28315
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -29488,21 +29491,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
29488
29491
|
}, "strip", z.ZodTypeAny, {
|
|
29489
29492
|
connectedAccountId: string;
|
|
29490
29493
|
id: string;
|
|
29494
|
+
updatedAt: string;
|
|
29491
29495
|
disabledAt: string | null;
|
|
29492
29496
|
state: Record<string, unknown>;
|
|
29493
29497
|
triggerConfig: Record<string, unknown>;
|
|
29494
29498
|
triggerName: string;
|
|
29495
|
-
updatedAt: string;
|
|
29496
29499
|
uuid?: string | undefined;
|
|
29497
29500
|
triggerData?: string | undefined;
|
|
29498
29501
|
}, {
|
|
29499
29502
|
connectedAccountId: string;
|
|
29500
29503
|
id: string;
|
|
29504
|
+
updatedAt: string;
|
|
29501
29505
|
disabledAt: string | null;
|
|
29502
29506
|
state: Record<string, unknown>;
|
|
29503
29507
|
triggerConfig: Record<string, unknown>;
|
|
29504
29508
|
triggerName: string;
|
|
29505
|
-
updatedAt: string;
|
|
29506
29509
|
uuid?: string | undefined;
|
|
29507
29510
|
triggerData?: string | undefined;
|
|
29508
29511
|
}>;
|
|
@@ -29520,21 +29523,21 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29520
29523
|
}, "strip", z.ZodTypeAny, {
|
|
29521
29524
|
connectedAccountId: string;
|
|
29522
29525
|
id: string;
|
|
29526
|
+
updatedAt: string;
|
|
29523
29527
|
disabledAt: string | null;
|
|
29524
29528
|
state: Record<string, unknown>;
|
|
29525
29529
|
triggerConfig: Record<string, unknown>;
|
|
29526
29530
|
triggerName: string;
|
|
29527
|
-
updatedAt: string;
|
|
29528
29531
|
uuid?: string | undefined;
|
|
29529
29532
|
triggerData?: string | undefined;
|
|
29530
29533
|
}, {
|
|
29531
29534
|
connectedAccountId: string;
|
|
29532
29535
|
id: string;
|
|
29536
|
+
updatedAt: string;
|
|
29533
29537
|
disabledAt: string | null;
|
|
29534
29538
|
state: Record<string, unknown>;
|
|
29535
29539
|
triggerConfig: Record<string, unknown>;
|
|
29536
29540
|
triggerName: string;
|
|
29537
|
-
updatedAt: string;
|
|
29538
29541
|
uuid?: string | undefined;
|
|
29539
29542
|
triggerData?: string | undefined;
|
|
29540
29543
|
}>, "many">;
|
|
@@ -29544,11 +29547,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29544
29547
|
items: {
|
|
29545
29548
|
connectedAccountId: string;
|
|
29546
29549
|
id: string;
|
|
29550
|
+
updatedAt: string;
|
|
29547
29551
|
disabledAt: string | null;
|
|
29548
29552
|
state: Record<string, unknown>;
|
|
29549
29553
|
triggerConfig: Record<string, unknown>;
|
|
29550
29554
|
triggerName: string;
|
|
29551
|
-
updatedAt: string;
|
|
29552
29555
|
uuid?: string | undefined;
|
|
29553
29556
|
triggerData?: string | undefined;
|
|
29554
29557
|
}[];
|
|
@@ -29558,11 +29561,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
29558
29561
|
items: {
|
|
29559
29562
|
connectedAccountId: string;
|
|
29560
29563
|
id: string;
|
|
29564
|
+
updatedAt: string;
|
|
29561
29565
|
disabledAt: string | null;
|
|
29562
29566
|
state: Record<string, unknown>;
|
|
29563
29567
|
triggerConfig: Record<string, unknown>;
|
|
29564
29568
|
triggerName: string;
|
|
29565
|
-
updatedAt: string;
|
|
29566
29569
|
uuid?: string | undefined;
|
|
29567
29570
|
triggerData?: string | undefined;
|
|
29568
29571
|
}[];
|
|
@@ -31663,7 +31666,7 @@ declare const ToolRouterConfigTagsSchema: z$1.ZodUnion<[z$1.ZodArray<z$1.ZodStri
|
|
|
31663
31666
|
*/
|
|
31664
31667
|
declare const ToolRouterToolsParamSchema: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31665
31668
|
type ToolRouterToolsParam = z$1.infer<typeof ToolRouterToolsParamSchema>;
|
|
31666
|
-
declare const ToolRouterToolsTagsParamSchema: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31669
|
+
declare const ToolRouterToolsTagsParamSchema: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31667
31670
|
type ToolRouterToolsTagsParam = z$1.infer<typeof ToolRouterToolsTagsParamSchema>;
|
|
31668
31671
|
declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
|
|
31669
31672
|
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
@@ -31678,23 +31681,23 @@ declare const ToolRouterConfigToolsSchema: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodA
|
|
|
31678
31681
|
}, {
|
|
31679
31682
|
disable: string[];
|
|
31680
31683
|
}>, z$1.ZodObject<{
|
|
31681
|
-
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31684
|
+
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31682
31685
|
}, "strict", z$1.ZodTypeAny, {
|
|
31683
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31686
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31684
31687
|
}, {
|
|
31685
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31688
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31686
31689
|
}>]>, string[] | {
|
|
31687
31690
|
enable: string[];
|
|
31688
31691
|
} | {
|
|
31689
31692
|
disable: string[];
|
|
31690
31693
|
} | {
|
|
31691
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31694
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31692
31695
|
}, string[] | {
|
|
31693
31696
|
enable: string[];
|
|
31694
31697
|
} | {
|
|
31695
31698
|
disable: string[];
|
|
31696
31699
|
} | {
|
|
31697
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31700
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31698
31701
|
}>;
|
|
31699
31702
|
type ToolRouterConfigTools = z$1.infer<typeof ToolRouterConfigToolsSchema>;
|
|
31700
31703
|
declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
@@ -31711,25 +31714,25 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31711
31714
|
}, {
|
|
31712
31715
|
disable: string[];
|
|
31713
31716
|
}>, z$1.ZodObject<{
|
|
31714
|
-
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31717
|
+
tags: z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31715
31718
|
}, "strict", z$1.ZodTypeAny, {
|
|
31716
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31719
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31717
31720
|
}, {
|
|
31718
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31721
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31719
31722
|
}>]>, string[] | {
|
|
31720
31723
|
enable: string[];
|
|
31721
31724
|
} | {
|
|
31722
31725
|
disable: string[];
|
|
31723
31726
|
} | {
|
|
31724
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31727
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31725
31728
|
}, string[] | {
|
|
31726
31729
|
enable: string[];
|
|
31727
31730
|
} | {
|
|
31728
31731
|
disable: string[];
|
|
31729
31732
|
} | {
|
|
31730
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31733
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31731
31734
|
}>]>>>>;
|
|
31732
|
-
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">>>;
|
|
31735
|
+
tags: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>>;
|
|
31733
31736
|
toolkits: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodArray<z$1.ZodString, "many">, z$1.ZodObject<{
|
|
31734
31737
|
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
31735
31738
|
}, "strict", z$1.ZodTypeAny, {
|
|
@@ -31766,13 +31769,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31766
31769
|
autoOffloadThreshold?: number | undefined;
|
|
31767
31770
|
}>>>;
|
|
31768
31771
|
}, "strip", z$1.ZodTypeAny, {
|
|
31769
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31772
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31770
31773
|
tools?: Record<string, string[] | {
|
|
31771
31774
|
enable: string[];
|
|
31772
31775
|
} | {
|
|
31773
31776
|
disable: string[];
|
|
31774
31777
|
} | {
|
|
31775
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31778
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31776
31779
|
}> | undefined;
|
|
31777
31780
|
toolkits?: string[] | {
|
|
31778
31781
|
disable: string[];
|
|
@@ -31790,13 +31793,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31790
31793
|
autoOffloadThreshold?: number | undefined;
|
|
31791
31794
|
} | undefined;
|
|
31792
31795
|
}, {
|
|
31793
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31796
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31794
31797
|
tools?: Record<string, string[] | {
|
|
31795
31798
|
enable: string[];
|
|
31796
31799
|
} | {
|
|
31797
31800
|
disable: string[];
|
|
31798
31801
|
} | {
|
|
31799
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31802
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31800
31803
|
}> | undefined;
|
|
31801
31804
|
toolkits?: string[] | {
|
|
31802
31805
|
disable: string[];
|
|
@@ -31819,7 +31822,7 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodObject<{
|
|
|
31819
31822
|
*
|
|
31820
31823
|
* @param {ToolRouterToolkitsParamSchema | ToolRouterToolkitsDisabledConfigSchema | ToolRouterToolkitsEnabledConfigSchema} toolkits - The toolkits to use in the tool router session
|
|
31821
31824
|
* @param {Record<string, ToolRouterToolsParam | ToolRouterConfigTools>} tools - The tools to configure per toolkit (key is toolkit slug)
|
|
31822
|
-
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>} tags - Global tags to filter tools by behavior
|
|
31825
|
+
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
|
|
31823
31826
|
* @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
|
|
31824
31827
|
* @param {Record<string, string>} connectedAccounts - The connected accounts to use in the tool router session
|
|
31825
31828
|
* @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
|
|
@@ -31862,26 +31865,26 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31862
31865
|
}>>;
|
|
31863
31866
|
}, "strip", z$1.ZodTypeAny, {
|
|
31864
31867
|
isActive: boolean;
|
|
31865
|
-
connectedAccount?: {
|
|
31866
|
-
status: string;
|
|
31867
|
-
id: string;
|
|
31868
|
-
} | undefined;
|
|
31869
31868
|
authConfig?: {
|
|
31870
31869
|
id: string;
|
|
31871
31870
|
isComposioManaged: boolean;
|
|
31872
31871
|
mode: string;
|
|
31873
31872
|
} | null | undefined;
|
|
31874
|
-
}, {
|
|
31875
|
-
isActive: boolean;
|
|
31876
31873
|
connectedAccount?: {
|
|
31877
31874
|
status: string;
|
|
31878
31875
|
id: string;
|
|
31879
31876
|
} | undefined;
|
|
31877
|
+
}, {
|
|
31878
|
+
isActive: boolean;
|
|
31880
31879
|
authConfig?: {
|
|
31881
31880
|
id: string;
|
|
31882
31881
|
isComposioManaged: boolean;
|
|
31883
31882
|
mode: string;
|
|
31884
31883
|
} | null | undefined;
|
|
31884
|
+
connectedAccount?: {
|
|
31885
|
+
status: string;
|
|
31886
|
+
id: string;
|
|
31887
|
+
} | undefined;
|
|
31885
31888
|
}>>;
|
|
31886
31889
|
}, "strip", z$1.ZodTypeAny, {
|
|
31887
31890
|
slug: string;
|
|
@@ -31890,15 +31893,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31890
31893
|
logo?: string | undefined;
|
|
31891
31894
|
connection?: {
|
|
31892
31895
|
isActive: boolean;
|
|
31893
|
-
connectedAccount?: {
|
|
31894
|
-
status: string;
|
|
31895
|
-
id: string;
|
|
31896
|
-
} | undefined;
|
|
31897
31896
|
authConfig?: {
|
|
31898
31897
|
id: string;
|
|
31899
31898
|
isComposioManaged: boolean;
|
|
31900
31899
|
mode: string;
|
|
31901
31900
|
} | null | undefined;
|
|
31901
|
+
connectedAccount?: {
|
|
31902
|
+
status: string;
|
|
31903
|
+
id: string;
|
|
31904
|
+
} | undefined;
|
|
31902
31905
|
} | undefined;
|
|
31903
31906
|
}, {
|
|
31904
31907
|
slug: string;
|
|
@@ -31907,15 +31910,15 @@ declare const ToolkitConnectionStateSchema: z$1.ZodObject<{
|
|
|
31907
31910
|
isNoAuth?: boolean | undefined;
|
|
31908
31911
|
connection?: {
|
|
31909
31912
|
isActive: boolean;
|
|
31910
|
-
connectedAccount?: {
|
|
31911
|
-
status: string;
|
|
31912
|
-
id: string;
|
|
31913
|
-
} | undefined;
|
|
31914
31913
|
authConfig?: {
|
|
31915
31914
|
id: string;
|
|
31916
31915
|
isComposioManaged: boolean;
|
|
31917
31916
|
mode: string;
|
|
31918
31917
|
} | null | undefined;
|
|
31918
|
+
connectedAccount?: {
|
|
31919
|
+
status: string;
|
|
31920
|
+
id: string;
|
|
31921
|
+
} | undefined;
|
|
31919
31922
|
} | undefined;
|
|
31920
31923
|
}>;
|
|
31921
31924
|
declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
@@ -31951,26 +31954,26 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
31951
31954
|
}>>;
|
|
31952
31955
|
}, "strip", z$1.ZodTypeAny, {
|
|
31953
31956
|
isActive: boolean;
|
|
31954
|
-
connectedAccount?: {
|
|
31955
|
-
status: string;
|
|
31956
|
-
id: string;
|
|
31957
|
-
} | undefined;
|
|
31958
31957
|
authConfig?: {
|
|
31959
31958
|
id: string;
|
|
31960
31959
|
isComposioManaged: boolean;
|
|
31961
31960
|
mode: string;
|
|
31962
31961
|
} | null | undefined;
|
|
31963
|
-
}, {
|
|
31964
|
-
isActive: boolean;
|
|
31965
31962
|
connectedAccount?: {
|
|
31966
31963
|
status: string;
|
|
31967
31964
|
id: string;
|
|
31968
31965
|
} | undefined;
|
|
31966
|
+
}, {
|
|
31967
|
+
isActive: boolean;
|
|
31969
31968
|
authConfig?: {
|
|
31970
31969
|
id: string;
|
|
31971
31970
|
isComposioManaged: boolean;
|
|
31972
31971
|
mode: string;
|
|
31973
31972
|
} | null | undefined;
|
|
31973
|
+
connectedAccount?: {
|
|
31974
|
+
status: string;
|
|
31975
|
+
id: string;
|
|
31976
|
+
} | undefined;
|
|
31974
31977
|
}>>;
|
|
31975
31978
|
}, "strip", z$1.ZodTypeAny, {
|
|
31976
31979
|
slug: string;
|
|
@@ -31979,15 +31982,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
31979
31982
|
logo?: string | undefined;
|
|
31980
31983
|
connection?: {
|
|
31981
31984
|
isActive: boolean;
|
|
31982
|
-
connectedAccount?: {
|
|
31983
|
-
status: string;
|
|
31984
|
-
id: string;
|
|
31985
|
-
} | undefined;
|
|
31986
31985
|
authConfig?: {
|
|
31987
31986
|
id: string;
|
|
31988
31987
|
isComposioManaged: boolean;
|
|
31989
31988
|
mode: string;
|
|
31990
31989
|
} | null | undefined;
|
|
31990
|
+
connectedAccount?: {
|
|
31991
|
+
status: string;
|
|
31992
|
+
id: string;
|
|
31993
|
+
} | undefined;
|
|
31991
31994
|
} | undefined;
|
|
31992
31995
|
}, {
|
|
31993
31996
|
slug: string;
|
|
@@ -31996,15 +31999,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
31996
31999
|
isNoAuth?: boolean | undefined;
|
|
31997
32000
|
connection?: {
|
|
31998
32001
|
isActive: boolean;
|
|
31999
|
-
connectedAccount?: {
|
|
32000
|
-
status: string;
|
|
32001
|
-
id: string;
|
|
32002
|
-
} | undefined;
|
|
32003
32002
|
authConfig?: {
|
|
32004
32003
|
id: string;
|
|
32005
32004
|
isComposioManaged: boolean;
|
|
32006
32005
|
mode: string;
|
|
32007
32006
|
} | null | undefined;
|
|
32007
|
+
connectedAccount?: {
|
|
32008
|
+
status: string;
|
|
32009
|
+
id: string;
|
|
32010
|
+
} | undefined;
|
|
32008
32011
|
} | undefined;
|
|
32009
32012
|
}>, "many">;
|
|
32010
32013
|
nextCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -32017,15 +32020,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32017
32020
|
logo?: string | undefined;
|
|
32018
32021
|
connection?: {
|
|
32019
32022
|
isActive: boolean;
|
|
32020
|
-
connectedAccount?: {
|
|
32021
|
-
status: string;
|
|
32022
|
-
id: string;
|
|
32023
|
-
} | undefined;
|
|
32024
32023
|
authConfig?: {
|
|
32025
32024
|
id: string;
|
|
32026
32025
|
isComposioManaged: boolean;
|
|
32027
32026
|
mode: string;
|
|
32028
32027
|
} | null | undefined;
|
|
32028
|
+
connectedAccount?: {
|
|
32029
|
+
status: string;
|
|
32030
|
+
id: string;
|
|
32031
|
+
} | undefined;
|
|
32029
32032
|
} | undefined;
|
|
32030
32033
|
}[];
|
|
32031
32034
|
totalPages: number;
|
|
@@ -32038,15 +32041,15 @@ declare const ToolkitConnectionsDetailsSchema: z$1.ZodObject<{
|
|
|
32038
32041
|
isNoAuth?: boolean | undefined;
|
|
32039
32042
|
connection?: {
|
|
32040
32043
|
isActive: boolean;
|
|
32041
|
-
connectedAccount?: {
|
|
32042
|
-
status: string;
|
|
32043
|
-
id: string;
|
|
32044
|
-
} | undefined;
|
|
32045
32044
|
authConfig?: {
|
|
32046
32045
|
id: string;
|
|
32047
32046
|
isComposioManaged: boolean;
|
|
32048
32047
|
mode: string;
|
|
32049
32048
|
} | null | undefined;
|
|
32049
|
+
connectedAccount?: {
|
|
32050
|
+
status: string;
|
|
32051
|
+
id: string;
|
|
32052
|
+
} | undefined;
|
|
32050
32053
|
} | undefined;
|
|
32051
32054
|
}[];
|
|
32052
32055
|
totalPages: number;
|
package/dist/index.d.mts
CHANGED
|
@@ -25891,12 +25891,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
25891
25891
|
connectedAccountIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
25892
25892
|
isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
25893
25893
|
}, "strip", z$1.ZodTypeAny, {
|
|
25894
|
-
connectedAccountIds?: string[] | undefined;
|
|
25895
25894
|
userIds?: string[] | undefined;
|
|
25895
|
+
connectedAccountIds?: string[] | undefined;
|
|
25896
25896
|
isChatAuth?: boolean | undefined;
|
|
25897
25897
|
}, {
|
|
25898
|
-
connectedAccountIds?: string[] | undefined;
|
|
25899
25898
|
userIds?: string[] | undefined;
|
|
25899
|
+
connectedAccountIds?: string[] | undefined;
|
|
25900
25900
|
isChatAuth?: boolean | undefined;
|
|
25901
25901
|
}>;
|
|
25902
25902
|
type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
|
|
@@ -25923,13 +25923,13 @@ declare const GenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
25923
25923
|
composioManagedAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
25924
25924
|
}, "strip", z$1.ZodTypeAny, {
|
|
25925
25925
|
mcpServerId: string;
|
|
25926
|
-
connectedAccountIds?: string[] | undefined;
|
|
25927
25926
|
userIds?: string[] | undefined;
|
|
25927
|
+
connectedAccountIds?: string[] | undefined;
|
|
25928
25928
|
composioManagedAuth?: boolean | undefined;
|
|
25929
25929
|
}, {
|
|
25930
25930
|
mcpServerId: string;
|
|
25931
|
-
connectedAccountIds?: string[] | undefined;
|
|
25932
25931
|
userIds?: string[] | undefined;
|
|
25932
|
+
connectedAccountIds?: string[] | undefined;
|
|
25933
25933
|
composioManagedAuth?: boolean | undefined;
|
|
25934
25934
|
}>;
|
|
25935
25935
|
type GenerateURLParams = z$1.infer<typeof GenerateURLParamsSchema>;
|
|
@@ -27214,17 +27214,20 @@ declare const ToolkitMangedByEnumSchema: z$1.ZodEnum<["all", "composio", "projec
|
|
|
27214
27214
|
declare const ToolkitSortByEnumSchema: z$1.ZodEnum<["usage", "alphabetically"]>;
|
|
27215
27215
|
declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
27216
27216
|
category: z$1.ZodOptional<z$1.ZodString>;
|
|
27217
|
-
isLocal: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
27218
27217
|
managedBy: z$1.ZodOptional<z$1.ZodEnum<["all", "composio", "project"]>>;
|
|
27219
27218
|
sortBy: z$1.ZodOptional<z$1.ZodEnum<["usage", "alphabetically"]>>;
|
|
27219
|
+
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
27220
|
+
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
27220
27221
|
}, "strip", z$1.ZodTypeAny, {
|
|
27222
|
+
limit?: number | undefined;
|
|
27223
|
+
cursor?: string | undefined;
|
|
27221
27224
|
category?: string | undefined;
|
|
27222
|
-
isLocal?: boolean | undefined;
|
|
27223
27225
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27224
27226
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27225
27227
|
}, {
|
|
27228
|
+
limit?: number | undefined;
|
|
27229
|
+
cursor?: string | undefined;
|
|
27226
27230
|
category?: string | undefined;
|
|
27227
|
-
isLocal?: boolean | undefined;
|
|
27228
27231
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
27229
27232
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
27230
27233
|
}>;
|
|
@@ -27258,7 +27261,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27258
27261
|
logo?: string | undefined;
|
|
27259
27262
|
availableVersions?: string[] | undefined;
|
|
27260
27263
|
createdAt?: string | undefined;
|
|
27261
|
-
updatedAt?: string | undefined;
|
|
27262
27264
|
categories?: {
|
|
27263
27265
|
slug: string;
|
|
27264
27266
|
name: string;
|
|
@@ -27266,12 +27268,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27266
27268
|
appUrl?: string | undefined;
|
|
27267
27269
|
toolsCount?: number | undefined;
|
|
27268
27270
|
triggersCount?: number | undefined;
|
|
27271
|
+
updatedAt?: string | undefined;
|
|
27269
27272
|
}, {
|
|
27270
27273
|
description?: string | undefined;
|
|
27271
27274
|
logo?: string | undefined;
|
|
27272
27275
|
availableVersions?: string[] | undefined;
|
|
27273
27276
|
createdAt?: string | undefined;
|
|
27274
|
-
updatedAt?: string | undefined;
|
|
27275
27277
|
categories?: {
|
|
27276
27278
|
slug: string;
|
|
27277
27279
|
name: string;
|
|
@@ -27279,6 +27281,7 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
27279
27281
|
appUrl?: string | undefined;
|
|
27280
27282
|
toolsCount?: number | undefined;
|
|
27281
27283
|
triggersCount?: number | undefined;
|
|
27284
|
+
updatedAt?: string | undefined;
|
|
27282
27285
|
}>;
|
|
27283
27286
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
27284
27287
|
name: z$1.ZodString;
|
|
@@ -27307,7 +27310,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27307
27310
|
logo?: string | undefined;
|
|
27308
27311
|
availableVersions?: string[] | undefined;
|
|
27309
27312
|
createdAt?: string | undefined;
|
|
27310
|
-
updatedAt?: string | undefined;
|
|
27311
27313
|
categories?: {
|
|
27312
27314
|
slug: string;
|
|
27313
27315
|
name: string;
|
|
@@ -27315,12 +27317,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27315
27317
|
appUrl?: string | undefined;
|
|
27316
27318
|
toolsCount?: number | undefined;
|
|
27317
27319
|
triggersCount?: number | undefined;
|
|
27320
|
+
updatedAt?: string | undefined;
|
|
27318
27321
|
}, {
|
|
27319
27322
|
description?: string | undefined;
|
|
27320
27323
|
logo?: string | undefined;
|
|
27321
27324
|
availableVersions?: string[] | undefined;
|
|
27322
27325
|
createdAt?: string | undefined;
|
|
27323
|
-
updatedAt?: string | undefined;
|
|
27324
27326
|
categories?: {
|
|
27325
27327
|
slug: string;
|
|
27326
27328
|
name: string;
|
|
@@ -27328,6 +27330,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27328
27330
|
appUrl?: string | undefined;
|
|
27329
27331
|
toolsCount?: number | undefined;
|
|
27330
27332
|
triggersCount?: number | undefined;
|
|
27333
|
+
updatedAt?: string | undefined;
|
|
27331
27334
|
}>;
|
|
27332
27335
|
isLocalToolkit: z$1.ZodBoolean;
|
|
27333
27336
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -27341,7 +27344,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27341
27344
|
logo?: string | undefined;
|
|
27342
27345
|
availableVersions?: string[] | undefined;
|
|
27343
27346
|
createdAt?: string | undefined;
|
|
27344
|
-
updatedAt?: string | undefined;
|
|
27345
27347
|
categories?: {
|
|
27346
27348
|
slug: string;
|
|
27347
27349
|
name: string;
|
|
@@ -27349,6 +27351,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27349
27351
|
appUrl?: string | undefined;
|
|
27350
27352
|
toolsCount?: number | undefined;
|
|
27351
27353
|
triggersCount?: number | undefined;
|
|
27354
|
+
updatedAt?: string | undefined;
|
|
27352
27355
|
};
|
|
27353
27356
|
isLocalToolkit: boolean;
|
|
27354
27357
|
authSchemes?: string[] | undefined;
|
|
@@ -27362,7 +27365,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27362
27365
|
logo?: string | undefined;
|
|
27363
27366
|
availableVersions?: string[] | undefined;
|
|
27364
27367
|
createdAt?: string | undefined;
|
|
27365
|
-
updatedAt?: string | undefined;
|
|
27366
27368
|
categories?: {
|
|
27367
27369
|
slug: string;
|
|
27368
27370
|
name: string;
|
|
@@ -27370,6 +27372,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
27370
27372
|
appUrl?: string | undefined;
|
|
27371
27373
|
toolsCount?: number | undefined;
|
|
27372
27374
|
triggersCount?: number | undefined;
|
|
27375
|
+
updatedAt?: string | undefined;
|
|
27373
27376
|
};
|
|
27374
27377
|
isLocalToolkit: boolean;
|
|
27375
27378
|
authSchemes?: string[] | undefined;
|
|
@@ -27403,7 +27406,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27403
27406
|
logo?: string | undefined;
|
|
27404
27407
|
availableVersions?: string[] | undefined;
|
|
27405
27408
|
createdAt?: string | undefined;
|
|
27406
|
-
updatedAt?: string | undefined;
|
|
27407
27409
|
categories?: {
|
|
27408
27410
|
slug: string;
|
|
27409
27411
|
name: string;
|
|
@@ -27411,12 +27413,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27411
27413
|
appUrl?: string | undefined;
|
|
27412
27414
|
toolsCount?: number | undefined;
|
|
27413
27415
|
triggersCount?: number | undefined;
|
|
27416
|
+
updatedAt?: string | undefined;
|
|
27414
27417
|
}, {
|
|
27415
27418
|
description?: string | undefined;
|
|
27416
27419
|
logo?: string | undefined;
|
|
27417
27420
|
availableVersions?: string[] | undefined;
|
|
27418
27421
|
createdAt?: string | undefined;
|
|
27419
|
-
updatedAt?: string | undefined;
|
|
27420
27422
|
categories?: {
|
|
27421
27423
|
slug: string;
|
|
27422
27424
|
name: string;
|
|
@@ -27424,6 +27426,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27424
27426
|
appUrl?: string | undefined;
|
|
27425
27427
|
toolsCount?: number | undefined;
|
|
27426
27428
|
triggersCount?: number | undefined;
|
|
27429
|
+
updatedAt?: string | undefined;
|
|
27427
27430
|
}>;
|
|
27428
27431
|
isLocalToolkit: z$1.ZodBoolean;
|
|
27429
27432
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -27437,7 +27440,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27437
27440
|
logo?: string | undefined;
|
|
27438
27441
|
availableVersions?: string[] | undefined;
|
|
27439
27442
|
createdAt?: string | undefined;
|
|
27440
|
-
updatedAt?: string | undefined;
|
|
27441
27443
|
categories?: {
|
|
27442
27444
|
slug: string;
|
|
27443
27445
|
name: string;
|
|
@@ -27445,6 +27447,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27445
27447
|
appUrl?: string | undefined;
|
|
27446
27448
|
toolsCount?: number | undefined;
|
|
27447
27449
|
triggersCount?: number | undefined;
|
|
27450
|
+
updatedAt?: string | undefined;
|
|
27448
27451
|
};
|
|
27449
27452
|
isLocalToolkit: boolean;
|
|
27450
27453
|
authSchemes?: string[] | undefined;
|
|
@@ -27458,7 +27461,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27458
27461
|
logo?: string | undefined;
|
|
27459
27462
|
availableVersions?: string[] | undefined;
|
|
27460
27463
|
createdAt?: string | undefined;
|
|
27461
|
-
updatedAt?: string | undefined;
|
|
27462
27464
|
categories?: {
|
|
27463
27465
|
slug: string;
|
|
27464
27466
|
name: string;
|
|
@@ -27466,6 +27468,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
27466
27468
|
appUrl?: string | undefined;
|
|
27467
27469
|
toolsCount?: number | undefined;
|
|
27468
27470
|
triggersCount?: number | undefined;
|
|
27471
|
+
updatedAt?: string | undefined;
|
|
27469
27472
|
};
|
|
27470
27473
|
isLocalToolkit: boolean;
|
|
27471
27474
|
authSchemes?: string[] | undefined;
|
|
@@ -27862,7 +27865,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
27862
27865
|
logo?: string | undefined;
|
|
27863
27866
|
availableVersions?: string[] | undefined;
|
|
27864
27867
|
createdAt?: string | undefined;
|
|
27865
|
-
updatedAt?: string | undefined;
|
|
27866
27868
|
categories?: {
|
|
27867
27869
|
slug: string;
|
|
27868
27870
|
name: string;
|
|
@@ -27870,12 +27872,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
27870
27872
|
appUrl?: string | undefined;
|
|
27871
27873
|
toolsCount?: number | undefined;
|
|
27872
27874
|
triggersCount?: number | undefined;
|
|
27875
|
+
updatedAt?: string | undefined;
|
|
27873
27876
|
}, {
|
|
27874
27877
|
description?: string | undefined;
|
|
27875
27878
|
logo?: string | undefined;
|
|
27876
27879
|
availableVersions?: string[] | undefined;
|
|
27877
27880
|
createdAt?: string | undefined;
|
|
27878
|
-
updatedAt?: string | undefined;
|
|
27879
27881
|
categories?: {
|
|
27880
27882
|
slug: string;
|
|
27881
27883
|
name: string;
|
|
@@ -27883,6 +27885,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
27883
27885
|
appUrl?: string | undefined;
|
|
27884
27886
|
toolsCount?: number | undefined;
|
|
27885
27887
|
triggersCount?: number | undefined;
|
|
27888
|
+
updatedAt?: string | undefined;
|
|
27886
27889
|
}>;
|
|
27887
27890
|
isLocalToolkit: z$1.ZodBoolean;
|
|
27888
27891
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -28231,7 +28234,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28231
28234
|
logo?: string | undefined;
|
|
28232
28235
|
availableVersions?: string[] | undefined;
|
|
28233
28236
|
createdAt?: string | undefined;
|
|
28234
|
-
updatedAt?: string | undefined;
|
|
28235
28237
|
categories?: {
|
|
28236
28238
|
slug: string;
|
|
28237
28239
|
name: string;
|
|
@@ -28239,6 +28241,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28239
28241
|
appUrl?: string | undefined;
|
|
28240
28242
|
toolsCount?: number | undefined;
|
|
28241
28243
|
triggersCount?: number | undefined;
|
|
28244
|
+
updatedAt?: string | undefined;
|
|
28242
28245
|
};
|
|
28243
28246
|
isLocalToolkit: boolean;
|
|
28244
28247
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -28297,7 +28300,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28297
28300
|
logo?: string | undefined;
|
|
28298
28301
|
availableVersions?: string[] | undefined;
|
|
28299
28302
|
createdAt?: string | undefined;
|
|
28300
|
-
updatedAt?: string | undefined;
|
|
28301
28303
|
categories?: {
|
|
28302
28304
|
slug: string;
|
|
28303
28305
|
name: string;
|
|
@@ -28305,6 +28307,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
28305
28307
|
appUrl?: string | undefined;
|
|
28306
28308
|
toolsCount?: number | undefined;
|
|
28307
28309
|
triggersCount?: number | undefined;
|
|
28310
|
+
updatedAt?: string | undefined;
|
|
28308
28311
|
};
|
|
28309
28312
|
isLocalToolkit: boolean;
|
|
28310
28313
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -29486,21 +29489,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
29486
29489
|
}, "strip", z$1.ZodTypeAny, {
|
|
29487
29490
|
connectedAccountId: string;
|
|
29488
29491
|
id: string;
|
|
29492
|
+
updatedAt: string;
|
|
29489
29493
|
disabledAt: string | null;
|
|
29490
29494
|
state: Record<string, unknown>;
|
|
29491
29495
|
triggerConfig: Record<string, unknown>;
|
|
29492
29496
|
triggerName: string;
|
|
29493
|
-
updatedAt: string;
|
|
29494
29497
|
uuid?: string | undefined;
|
|
29495
29498
|
triggerData?: string | undefined;
|
|
29496
29499
|
}, {
|
|
29497
29500
|
connectedAccountId: string;
|
|
29498
29501
|
id: string;
|
|
29502
|
+
updatedAt: string;
|
|
29499
29503
|
disabledAt: string | null;
|
|
29500
29504
|
state: Record<string, unknown>;
|
|
29501
29505
|
triggerConfig: Record<string, unknown>;
|
|
29502
29506
|
triggerName: string;
|
|
29503
|
-
updatedAt: string;
|
|
29504
29507
|
uuid?: string | undefined;
|
|
29505
29508
|
triggerData?: string | undefined;
|
|
29506
29509
|
}>;
|
|
@@ -29518,21 +29521,21 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29518
29521
|
}, "strip", z$1.ZodTypeAny, {
|
|
29519
29522
|
connectedAccountId: string;
|
|
29520
29523
|
id: string;
|
|
29524
|
+
updatedAt: string;
|
|
29521
29525
|
disabledAt: string | null;
|
|
29522
29526
|
state: Record<string, unknown>;
|
|
29523
29527
|
triggerConfig: Record<string, unknown>;
|
|
29524
29528
|
triggerName: string;
|
|
29525
|
-
updatedAt: string;
|
|
29526
29529
|
uuid?: string | undefined;
|
|
29527
29530
|
triggerData?: string | undefined;
|
|
29528
29531
|
}, {
|
|
29529
29532
|
connectedAccountId: string;
|
|
29530
29533
|
id: string;
|
|
29534
|
+
updatedAt: string;
|
|
29531
29535
|
disabledAt: string | null;
|
|
29532
29536
|
state: Record<string, unknown>;
|
|
29533
29537
|
triggerConfig: Record<string, unknown>;
|
|
29534
29538
|
triggerName: string;
|
|
29535
|
-
updatedAt: string;
|
|
29536
29539
|
uuid?: string | undefined;
|
|
29537
29540
|
triggerData?: string | undefined;
|
|
29538
29541
|
}>, "many">;
|
|
@@ -29542,11 +29545,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29542
29545
|
items: {
|
|
29543
29546
|
connectedAccountId: string;
|
|
29544
29547
|
id: string;
|
|
29548
|
+
updatedAt: string;
|
|
29545
29549
|
disabledAt: string | null;
|
|
29546
29550
|
state: Record<string, unknown>;
|
|
29547
29551
|
triggerConfig: Record<string, unknown>;
|
|
29548
29552
|
triggerName: string;
|
|
29549
|
-
updatedAt: string;
|
|
29550
29553
|
uuid?: string | undefined;
|
|
29551
29554
|
triggerData?: string | undefined;
|
|
29552
29555
|
}[];
|
|
@@ -29556,11 +29559,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
29556
29559
|
items: {
|
|
29557
29560
|
connectedAccountId: string;
|
|
29558
29561
|
id: string;
|
|
29562
|
+
updatedAt: string;
|
|
29559
29563
|
disabledAt: string | null;
|
|
29560
29564
|
state: Record<string, unknown>;
|
|
29561
29565
|
triggerConfig: Record<string, unknown>;
|
|
29562
29566
|
triggerName: string;
|
|
29563
|
-
updatedAt: string;
|
|
29564
29567
|
uuid?: string | undefined;
|
|
29565
29568
|
triggerData?: string | undefined;
|
|
29566
29569
|
}[];
|
|
@@ -31661,7 +31664,7 @@ declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "m
|
|
|
31661
31664
|
*/
|
|
31662
31665
|
declare const ToolRouterToolsParamSchema: z.ZodArray<z.ZodString, "many">;
|
|
31663
31666
|
type ToolRouterToolsParam = z.infer<typeof ToolRouterToolsParamSchema>;
|
|
31664
|
-
declare const ToolRouterToolsTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31667
|
+
declare const ToolRouterToolsTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31665
31668
|
type ToolRouterToolsTagsParam = z.infer<typeof ToolRouterToolsTagsParamSchema>;
|
|
31666
31669
|
declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31667
31670
|
enable: z.ZodArray<z.ZodString, "many">;
|
|
@@ -31676,23 +31679,23 @@ declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z
|
|
|
31676
31679
|
}, {
|
|
31677
31680
|
disable: string[];
|
|
31678
31681
|
}>, z.ZodObject<{
|
|
31679
|
-
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31682
|
+
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31680
31683
|
}, "strict", z.ZodTypeAny, {
|
|
31681
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31684
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31682
31685
|
}, {
|
|
31683
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31686
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31684
31687
|
}>]>, string[] | {
|
|
31685
31688
|
enable: string[];
|
|
31686
31689
|
} | {
|
|
31687
31690
|
disable: string[];
|
|
31688
31691
|
} | {
|
|
31689
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31692
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31690
31693
|
}, string[] | {
|
|
31691
31694
|
enable: string[];
|
|
31692
31695
|
} | {
|
|
31693
31696
|
disable: string[];
|
|
31694
31697
|
} | {
|
|
31695
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31698
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31696
31699
|
}>;
|
|
31697
31700
|
type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
|
|
31698
31701
|
declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
@@ -31709,25 +31712,25 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31709
31712
|
}, {
|
|
31710
31713
|
disable: string[];
|
|
31711
31714
|
}>, z.ZodObject<{
|
|
31712
|
-
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">;
|
|
31715
|
+
tags: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
|
|
31713
31716
|
}, "strict", z.ZodTypeAny, {
|
|
31714
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31717
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31715
31718
|
}, {
|
|
31716
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31719
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31717
31720
|
}>]>, string[] | {
|
|
31718
31721
|
enable: string[];
|
|
31719
31722
|
} | {
|
|
31720
31723
|
disable: string[];
|
|
31721
31724
|
} | {
|
|
31722
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31725
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31723
31726
|
}, string[] | {
|
|
31724
31727
|
enable: string[];
|
|
31725
31728
|
} | {
|
|
31726
31729
|
disable: string[];
|
|
31727
31730
|
} | {
|
|
31728
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31731
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31729
31732
|
}>]>>>>;
|
|
31730
|
-
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint"]>, "many">>>;
|
|
31733
|
+
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>>;
|
|
31731
31734
|
toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
31732
31735
|
disable: z.ZodArray<z.ZodString, "many">;
|
|
31733
31736
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -31764,13 +31767,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31764
31767
|
autoOffloadThreshold?: number | undefined;
|
|
31765
31768
|
}>>>;
|
|
31766
31769
|
}, "strip", z.ZodTypeAny, {
|
|
31767
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31770
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31768
31771
|
tools?: Record<string, string[] | {
|
|
31769
31772
|
enable: string[];
|
|
31770
31773
|
} | {
|
|
31771
31774
|
disable: string[];
|
|
31772
31775
|
} | {
|
|
31773
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31776
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31774
31777
|
}> | undefined;
|
|
31775
31778
|
toolkits?: string[] | {
|
|
31776
31779
|
disable: string[];
|
|
@@ -31788,13 +31791,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31788
31791
|
autoOffloadThreshold?: number | undefined;
|
|
31789
31792
|
} | undefined;
|
|
31790
31793
|
}, {
|
|
31791
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[] | undefined;
|
|
31794
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31792
31795
|
tools?: Record<string, string[] | {
|
|
31793
31796
|
enable: string[];
|
|
31794
31797
|
} | {
|
|
31795
31798
|
disable: string[];
|
|
31796
31799
|
} | {
|
|
31797
|
-
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint")[];
|
|
31800
|
+
tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[];
|
|
31798
31801
|
}> | undefined;
|
|
31799
31802
|
toolkits?: string[] | {
|
|
31800
31803
|
disable: string[];
|
|
@@ -31817,7 +31820,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodObject<{
|
|
|
31817
31820
|
*
|
|
31818
31821
|
* @param {ToolRouterToolkitsParamSchema | ToolRouterToolkitsDisabledConfigSchema | ToolRouterToolkitsEnabledConfigSchema} toolkits - The toolkits to use in the tool router session
|
|
31819
31822
|
* @param {Record<string, ToolRouterToolsParam | ToolRouterConfigTools>} tools - The tools to configure per toolkit (key is toolkit slug)
|
|
31820
|
-
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>} tags - Global tags to filter tools by behavior
|
|
31823
|
+
* @param {Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>} tags - Global tags to filter tools by behavior
|
|
31821
31824
|
* @param {Record<string, string>} authConfigs - The auth configs to use in the tool router session
|
|
31822
31825
|
* @param {Record<string, string>} connectedAccounts - The connected accounts to use in the tool router session
|
|
31823
31826
|
* @param {ToolRouterConfigManageConnectionsSchema | boolean} manageConnections - The config for the manage connections in the tool router session. Defaults to true, if set to false, you need to manage connections manually. If set to an object, you can configure the manage connections settings.
|
|
@@ -31860,26 +31863,26 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
31860
31863
|
}>>;
|
|
31861
31864
|
}, "strip", z.ZodTypeAny, {
|
|
31862
31865
|
isActive: boolean;
|
|
31863
|
-
connectedAccount?: {
|
|
31864
|
-
status: string;
|
|
31865
|
-
id: string;
|
|
31866
|
-
} | undefined;
|
|
31867
31866
|
authConfig?: {
|
|
31868
31867
|
id: string;
|
|
31869
31868
|
isComposioManaged: boolean;
|
|
31870
31869
|
mode: string;
|
|
31871
31870
|
} | null | undefined;
|
|
31872
|
-
}, {
|
|
31873
|
-
isActive: boolean;
|
|
31874
31871
|
connectedAccount?: {
|
|
31875
31872
|
status: string;
|
|
31876
31873
|
id: string;
|
|
31877
31874
|
} | undefined;
|
|
31875
|
+
}, {
|
|
31876
|
+
isActive: boolean;
|
|
31878
31877
|
authConfig?: {
|
|
31879
31878
|
id: string;
|
|
31880
31879
|
isComposioManaged: boolean;
|
|
31881
31880
|
mode: string;
|
|
31882
31881
|
} | null | undefined;
|
|
31882
|
+
connectedAccount?: {
|
|
31883
|
+
status: string;
|
|
31884
|
+
id: string;
|
|
31885
|
+
} | undefined;
|
|
31883
31886
|
}>>;
|
|
31884
31887
|
}, "strip", z.ZodTypeAny, {
|
|
31885
31888
|
slug: string;
|
|
@@ -31888,15 +31891,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
31888
31891
|
logo?: string | undefined;
|
|
31889
31892
|
connection?: {
|
|
31890
31893
|
isActive: boolean;
|
|
31891
|
-
connectedAccount?: {
|
|
31892
|
-
status: string;
|
|
31893
|
-
id: string;
|
|
31894
|
-
} | undefined;
|
|
31895
31894
|
authConfig?: {
|
|
31896
31895
|
id: string;
|
|
31897
31896
|
isComposioManaged: boolean;
|
|
31898
31897
|
mode: string;
|
|
31899
31898
|
} | null | undefined;
|
|
31899
|
+
connectedAccount?: {
|
|
31900
|
+
status: string;
|
|
31901
|
+
id: string;
|
|
31902
|
+
} | undefined;
|
|
31900
31903
|
} | undefined;
|
|
31901
31904
|
}, {
|
|
31902
31905
|
slug: string;
|
|
@@ -31905,15 +31908,15 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
31905
31908
|
isNoAuth?: boolean | undefined;
|
|
31906
31909
|
connection?: {
|
|
31907
31910
|
isActive: boolean;
|
|
31908
|
-
connectedAccount?: {
|
|
31909
|
-
status: string;
|
|
31910
|
-
id: string;
|
|
31911
|
-
} | undefined;
|
|
31912
31911
|
authConfig?: {
|
|
31913
31912
|
id: string;
|
|
31914
31913
|
isComposioManaged: boolean;
|
|
31915
31914
|
mode: string;
|
|
31916
31915
|
} | null | undefined;
|
|
31916
|
+
connectedAccount?: {
|
|
31917
|
+
status: string;
|
|
31918
|
+
id: string;
|
|
31919
|
+
} | undefined;
|
|
31917
31920
|
} | undefined;
|
|
31918
31921
|
}>;
|
|
31919
31922
|
declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
@@ -31949,26 +31952,26 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31949
31952
|
}>>;
|
|
31950
31953
|
}, "strip", z.ZodTypeAny, {
|
|
31951
31954
|
isActive: boolean;
|
|
31952
|
-
connectedAccount?: {
|
|
31953
|
-
status: string;
|
|
31954
|
-
id: string;
|
|
31955
|
-
} | undefined;
|
|
31956
31955
|
authConfig?: {
|
|
31957
31956
|
id: string;
|
|
31958
31957
|
isComposioManaged: boolean;
|
|
31959
31958
|
mode: string;
|
|
31960
31959
|
} | null | undefined;
|
|
31961
|
-
}, {
|
|
31962
|
-
isActive: boolean;
|
|
31963
31960
|
connectedAccount?: {
|
|
31964
31961
|
status: string;
|
|
31965
31962
|
id: string;
|
|
31966
31963
|
} | undefined;
|
|
31964
|
+
}, {
|
|
31965
|
+
isActive: boolean;
|
|
31967
31966
|
authConfig?: {
|
|
31968
31967
|
id: string;
|
|
31969
31968
|
isComposioManaged: boolean;
|
|
31970
31969
|
mode: string;
|
|
31971
31970
|
} | null | undefined;
|
|
31971
|
+
connectedAccount?: {
|
|
31972
|
+
status: string;
|
|
31973
|
+
id: string;
|
|
31974
|
+
} | undefined;
|
|
31972
31975
|
}>>;
|
|
31973
31976
|
}, "strip", z.ZodTypeAny, {
|
|
31974
31977
|
slug: string;
|
|
@@ -31977,15 +31980,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31977
31980
|
logo?: string | undefined;
|
|
31978
31981
|
connection?: {
|
|
31979
31982
|
isActive: boolean;
|
|
31980
|
-
connectedAccount?: {
|
|
31981
|
-
status: string;
|
|
31982
|
-
id: string;
|
|
31983
|
-
} | undefined;
|
|
31984
31983
|
authConfig?: {
|
|
31985
31984
|
id: string;
|
|
31986
31985
|
isComposioManaged: boolean;
|
|
31987
31986
|
mode: string;
|
|
31988
31987
|
} | null | undefined;
|
|
31988
|
+
connectedAccount?: {
|
|
31989
|
+
status: string;
|
|
31990
|
+
id: string;
|
|
31991
|
+
} | undefined;
|
|
31989
31992
|
} | undefined;
|
|
31990
31993
|
}, {
|
|
31991
31994
|
slug: string;
|
|
@@ -31994,15 +31997,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31994
31997
|
isNoAuth?: boolean | undefined;
|
|
31995
31998
|
connection?: {
|
|
31996
31999
|
isActive: boolean;
|
|
31997
|
-
connectedAccount?: {
|
|
31998
|
-
status: string;
|
|
31999
|
-
id: string;
|
|
32000
|
-
} | undefined;
|
|
32001
32000
|
authConfig?: {
|
|
32002
32001
|
id: string;
|
|
32003
32002
|
isComposioManaged: boolean;
|
|
32004
32003
|
mode: string;
|
|
32005
32004
|
} | null | undefined;
|
|
32005
|
+
connectedAccount?: {
|
|
32006
|
+
status: string;
|
|
32007
|
+
id: string;
|
|
32008
|
+
} | undefined;
|
|
32006
32009
|
} | undefined;
|
|
32007
32010
|
}>, "many">;
|
|
32008
32011
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -32015,15 +32018,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32015
32018
|
logo?: string | undefined;
|
|
32016
32019
|
connection?: {
|
|
32017
32020
|
isActive: boolean;
|
|
32018
|
-
connectedAccount?: {
|
|
32019
|
-
status: string;
|
|
32020
|
-
id: string;
|
|
32021
|
-
} | undefined;
|
|
32022
32021
|
authConfig?: {
|
|
32023
32022
|
id: string;
|
|
32024
32023
|
isComposioManaged: boolean;
|
|
32025
32024
|
mode: string;
|
|
32026
32025
|
} | null | undefined;
|
|
32026
|
+
connectedAccount?: {
|
|
32027
|
+
status: string;
|
|
32028
|
+
id: string;
|
|
32029
|
+
} | undefined;
|
|
32027
32030
|
} | undefined;
|
|
32028
32031
|
}[];
|
|
32029
32032
|
totalPages: number;
|
|
@@ -32036,15 +32039,15 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
32036
32039
|
isNoAuth?: boolean | undefined;
|
|
32037
32040
|
connection?: {
|
|
32038
32041
|
isActive: boolean;
|
|
32039
|
-
connectedAccount?: {
|
|
32040
|
-
status: string;
|
|
32041
|
-
id: string;
|
|
32042
|
-
} | undefined;
|
|
32043
32042
|
authConfig?: {
|
|
32044
32043
|
id: string;
|
|
32045
32044
|
isComposioManaged: boolean;
|
|
32046
32045
|
mode: string;
|
|
32047
32046
|
} | null | undefined;
|
|
32047
|
+
connectedAccount?: {
|
|
32048
|
+
status: string;
|
|
32049
|
+
id: string;
|
|
32050
|
+
} | undefined;
|
|
32048
32051
|
} | undefined;
|
|
32049
32052
|
}[];
|
|
32050
32053
|
totalPages: number;
|
package/dist/index.mjs
CHANGED
|
@@ -3467,9 +3467,10 @@ const ToolkitMangedByEnumSchema = z$1.enum([
|
|
|
3467
3467
|
const ToolkitSortByEnumSchema = z$1.enum(["usage", "alphabetically"]);
|
|
3468
3468
|
const ToolkitsListParamsSchema = z$1.object({
|
|
3469
3469
|
category: z$1.string().optional(),
|
|
3470
|
-
isLocal: z$1.boolean().optional(),
|
|
3471
3470
|
managedBy: ToolkitMangedByEnumSchema.optional(),
|
|
3472
|
-
sortBy: ToolkitSortByEnumSchema.optional()
|
|
3471
|
+
sortBy: ToolkitSortByEnumSchema.optional(),
|
|
3472
|
+
cursor: z$1.string().optional(),
|
|
3473
|
+
limit: z$1.number().optional()
|
|
3473
3474
|
});
|
|
3474
3475
|
/**
|
|
3475
3476
|
* Toolkits response
|
|
@@ -4387,9 +4388,10 @@ var Toolkits = class {
|
|
|
4387
4388
|
if (!parsedQuery.success) throw new ValidationError("Failed to parse toolkit list query", { cause: parsedQuery.error });
|
|
4388
4389
|
return transformToolkitListResponse(await this.client.toolkits.list({
|
|
4389
4390
|
category: parsedQuery.data.category,
|
|
4390
|
-
is_local: parsedQuery.data.isLocal,
|
|
4391
4391
|
managed_by: parsedQuery.data.managedBy,
|
|
4392
|
-
sort_by: parsedQuery.data.sortBy
|
|
4392
|
+
sort_by: parsedQuery.data.sortBy,
|
|
4393
|
+
cursor: parsedQuery.data.cursor,
|
|
4394
|
+
limit: parsedQuery.data.limit
|
|
4393
4395
|
}));
|
|
4394
4396
|
} catch (error) {
|
|
4395
4397
|
throw new ComposioToolkitFetchError("Failed to fetch toolkits", { cause: error });
|
|
@@ -6222,7 +6224,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
6222
6224
|
|
|
6223
6225
|
//#endregion
|
|
6224
6226
|
//#region package.json
|
|
6225
|
-
var version = "0.3.
|
|
6227
|
+
var version = "0.3.2";
|
|
6226
6228
|
|
|
6227
6229
|
//#endregion
|
|
6228
6230
|
//#region src/models/Files.ts
|
|
@@ -6346,7 +6348,8 @@ const ToolRouterToolsParamSchema = z.array(z.string()).describe("The tools to us
|
|
|
6346
6348
|
const ToolRouterToolsTagsParamSchema = z.array(z.enum([
|
|
6347
6349
|
"readOnlyHint",
|
|
6348
6350
|
"destructiveHint",
|
|
6349
|
-
"idempotentHint"
|
|
6351
|
+
"idempotentHint",
|
|
6352
|
+
"openWorldHint"
|
|
6350
6353
|
])).describe("The tags to filter the tools by");
|
|
6351
6354
|
const ToolRouterConfigToolsSchema = z.union([
|
|
6352
6355
|
ToolRouterToolsParamSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"zod": "^3.25 || ^4"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@composio/client": "0.1.0-alpha.
|
|
47
|
+
"@composio/client": "0.1.0-alpha.51",
|
|
48
48
|
"@types/json-schema": "^7.0.15",
|
|
49
49
|
"chalk": "^4.1.2",
|
|
50
50
|
"openai": "^5.16.0",
|