@composio/core 0.6.3 → 0.6.4
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/{BaseProvider-C7yGAyLz.d.mts → BaseProvider-B_7Qy99Q.d.mts} +1950 -40
- package/dist/{BaseProvider-X7JCCvcK.d.cts → BaseProvider-DF03HAz3.d.cts} +1950 -40
- package/dist/{Telemetry-Bn5VseVi.mjs → Telemetry-B3HlLpMT.mjs} +4 -7
- package/dist/{Telemetry-DErMJqj0.cjs → Telemetry-DBe2oppA.cjs} +4 -7
- package/dist/{composio-uGEfnO6v.d.cts → composio-COyITeJf.d.cts} +109 -114
- package/dist/{composio-Ds1Z80p8.d.mts → composio-ClplAPbl.d.mts} +109 -114
- package/dist/index.cjs +275 -25
- package/dist/index.d.cts +4777 -3
- package/dist/index.d.mts +4777 -3
- package/dist/index.mjs +268 -26
- package/dist/models/Files.node.cjs +1 -1
- package/dist/models/Files.node.mjs +1 -1
- package/dist/{types-CMQAtpc_.d.mts → types-BO1Bf2Xz.d.mts} +2 -2
- package/dist/{types-CTXCkF_v.d.cts → types-Bib0jIbg.d.cts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./chunk-Dx2NuYGI.mjs";
|
|
2
2
|
import { c as COMPOSIO_DIR, d as IS_DEVELOPMENT_OR_CI, g as getEnvsWithPrefix, h as getEnvVariable, l as COMPOSIO_LOG_LEVEL, m as constants_exports, o as ComposioError, p as USER_DATA_FILE_NAME, s as logger_default, t as arrayBufferToBase64, u as DEFAULT_BASE_URL } from "./buffer-BFpVRahf.mjs";
|
|
3
|
-
import { t as telemetry } from "./Telemetry-
|
|
3
|
+
import { t as telemetry } from "./Telemetry-B3HlLpMT.mjs";
|
|
4
4
|
import ComposioClient, { APIError } from "@composio/client";
|
|
5
5
|
import { FileToolModifier } from "#file_tool_modifier";
|
|
6
6
|
import z, { ZodError, z as z$1 } from "zod/v3";
|
|
@@ -30,7 +30,8 @@ const AuthSchemeTypes = {
|
|
|
30
30
|
CALCOM_AUTH: "CALCOM_AUTH",
|
|
31
31
|
SERVICE_ACCOUNT: "SERVICE_ACCOUNT",
|
|
32
32
|
SAML: "SAML",
|
|
33
|
-
DCR_OAUTH: "DCR_OAUTH"
|
|
33
|
+
DCR_OAUTH: "DCR_OAUTH",
|
|
34
|
+
S2S_OAUTH2: "S2S_OAUTH2"
|
|
34
35
|
};
|
|
35
36
|
const AuthConfigCreationToolAccessConfigSchema = z$1.object({ toolsForConnectedAccountCreation: z$1.array(z$1.string()).optional() });
|
|
36
37
|
const AuthConfigToolAccessConfigSchema = z$1.object({
|
|
@@ -50,7 +51,8 @@ const AuthSchemeEnum = z$1.enum([
|
|
|
50
51
|
"CALCOM_AUTH",
|
|
51
52
|
"SERVICE_ACCOUNT",
|
|
52
53
|
"SAML",
|
|
53
|
-
"DCR_OAUTH"
|
|
54
|
+
"DCR_OAUTH",
|
|
55
|
+
"S2S_OAUTH2"
|
|
54
56
|
]);
|
|
55
57
|
const CreateCustomAuthConfigParamsSchema = z$1.object({
|
|
56
58
|
type: z$1.literal("use_custom_auth"),
|
|
@@ -254,6 +256,70 @@ const Oauth2ConnectionDataSchema = z$1.discriminatedUnion("status", [
|
|
|
254
256
|
Oauth2InactiveConnectionDataSchema
|
|
255
257
|
]);
|
|
256
258
|
const CustomOauth2ConnectionDataSchema = Oauth2ActiveConnectionDataSchema.omit({ status: true });
|
|
259
|
+
const S2SOauth2BaseSchema = BaseSchemeRaw.extend({ status: z$1.literal(ConnectionStatuses.INITIALIZING) }).catchall(z$1.unknown());
|
|
260
|
+
const S2SOauth2ConnectionDataSchema = z$1.discriminatedUnion("status", [
|
|
261
|
+
S2SOauth2BaseSchema,
|
|
262
|
+
S2SOauth2BaseSchema.extend({ status: z$1.literal(ConnectionStatuses.INITIATED) }).catchall(z$1.unknown()),
|
|
263
|
+
S2SOauth2BaseSchema.extend({
|
|
264
|
+
status: z$1.literal(ConnectionStatuses.ACTIVE),
|
|
265
|
+
access_token: z$1.string().optional(),
|
|
266
|
+
id_token: z$1.string().optional(),
|
|
267
|
+
token_type: z$1.string().optional(),
|
|
268
|
+
refresh_token: z$1.string().nullish(),
|
|
269
|
+
expires_in: z$1.union([
|
|
270
|
+
z$1.string(),
|
|
271
|
+
z$1.number(),
|
|
272
|
+
z$1.null()
|
|
273
|
+
]).optional(),
|
|
274
|
+
scope: z$1.union([
|
|
275
|
+
z$1.string(),
|
|
276
|
+
z$1.array(z$1.string()),
|
|
277
|
+
z$1.null()
|
|
278
|
+
]).optional()
|
|
279
|
+
}).catchall(z$1.unknown()),
|
|
280
|
+
S2SOauth2BaseSchema.extend({
|
|
281
|
+
status: z$1.literal(ConnectionStatuses.INACTIVE),
|
|
282
|
+
access_token: z$1.string().optional(),
|
|
283
|
+
id_token: z$1.string().optional(),
|
|
284
|
+
token_type: z$1.string().optional(),
|
|
285
|
+
refresh_token: z$1.string().nullish(),
|
|
286
|
+
expires_in: z$1.union([
|
|
287
|
+
z$1.string(),
|
|
288
|
+
z$1.number(),
|
|
289
|
+
z$1.null()
|
|
290
|
+
]).optional(),
|
|
291
|
+
scope: z$1.union([
|
|
292
|
+
z$1.string(),
|
|
293
|
+
z$1.array(z$1.string()),
|
|
294
|
+
z$1.null()
|
|
295
|
+
]).optional()
|
|
296
|
+
}).catchall(z$1.unknown()),
|
|
297
|
+
S2SOauth2BaseSchema.extend({
|
|
298
|
+
status: z$1.literal(ConnectionStatuses.FAILED),
|
|
299
|
+
error: z$1.string().optional(),
|
|
300
|
+
error_description: z$1.string().optional()
|
|
301
|
+
}).catchall(z$1.unknown()),
|
|
302
|
+
S2SOauth2BaseSchema.extend({
|
|
303
|
+
status: z$1.literal(ConnectionStatuses.EXPIRED),
|
|
304
|
+
expired_at: z$1.string().optional()
|
|
305
|
+
}).catchall(z$1.unknown())
|
|
306
|
+
]);
|
|
307
|
+
const CustomS2SOauth2ConnectionDataSchema = BaseSchemeRaw.extend({
|
|
308
|
+
access_token: z$1.string().optional(),
|
|
309
|
+
id_token: z$1.string().optional(),
|
|
310
|
+
token_type: z$1.string().optional(),
|
|
311
|
+
refresh_token: z$1.string().nullish().optional(),
|
|
312
|
+
expires_in: z$1.union([
|
|
313
|
+
z$1.string(),
|
|
314
|
+
z$1.number(),
|
|
315
|
+
z$1.null()
|
|
316
|
+
]).optional(),
|
|
317
|
+
scope: z$1.union([
|
|
318
|
+
z$1.string(),
|
|
319
|
+
z$1.array(z$1.string()),
|
|
320
|
+
z$1.null()
|
|
321
|
+
]).optional()
|
|
322
|
+
}).catchall(z$1.unknown());
|
|
257
323
|
const Oauth1InitiatingConnectionDataSchema = BaseSchemeRaw.extend({ status: z$1.literal(ConnectionStatuses.INITIALIZING) }).catchall(z$1.unknown());
|
|
258
324
|
const Oauth1InitiatedConnectionDataSchema = Oauth1InitiatingConnectionDataSchema.extend({
|
|
259
325
|
status: z$1.literal(ConnectionStatuses.INITIATED),
|
|
@@ -614,6 +680,10 @@ const ConnectionDataSchema = z$1.discriminatedUnion("authScheme", [
|
|
|
614
680
|
authScheme: z$1.literal(AuthSchemeTypes.OAUTH2),
|
|
615
681
|
val: Oauth2ConnectionDataSchema
|
|
616
682
|
}),
|
|
683
|
+
z$1.object({
|
|
684
|
+
authScheme: z$1.literal(AuthSchemeTypes.S2S_OAUTH2),
|
|
685
|
+
val: S2SOauth2ConnectionDataSchema
|
|
686
|
+
}),
|
|
617
687
|
z$1.object({
|
|
618
688
|
authScheme: z$1.literal(AuthSchemeTypes.API_KEY),
|
|
619
689
|
val: ApiKeyConnectionDataSchema
|
|
@@ -665,6 +735,11 @@ const CustomConnectionDataSchema = z$1.discriminatedUnion("authScheme", [
|
|
|
665
735
|
toolkitSlug: z$1.string(),
|
|
666
736
|
val: CustomOauth2ConnectionDataSchema
|
|
667
737
|
}),
|
|
738
|
+
z$1.object({
|
|
739
|
+
authScheme: z$1.literal(AuthSchemeTypes.S2S_OAUTH2),
|
|
740
|
+
toolkitSlug: z$1.string(),
|
|
741
|
+
val: CustomS2SOauth2ConnectionDataSchema
|
|
742
|
+
}),
|
|
668
743
|
z$1.object({
|
|
669
744
|
authScheme: z$1.literal(AuthSchemeTypes.DCR_OAUTH),
|
|
670
745
|
toolkitSlug: z$1.string(),
|
|
@@ -1418,6 +1493,7 @@ const CreateConnectedAccountResponseSchema = z$1.object({
|
|
|
1418
1493
|
});
|
|
1419
1494
|
const ConnectedAccountAuthConfigSchema = z$1.object({
|
|
1420
1495
|
id: z$1.string(),
|
|
1496
|
+
authScheme: AuthSchemeEnum.optional(),
|
|
1421
1497
|
isComposioManaged: z$1.boolean(),
|
|
1422
1498
|
isDisabled: z$1.boolean()
|
|
1423
1499
|
});
|
|
@@ -1500,6 +1576,7 @@ function transformConnectedAccountResponse(response) {
|
|
|
1500
1576
|
authConfig: {
|
|
1501
1577
|
...response$1.auth_config,
|
|
1502
1578
|
id: response$1.auth_config.id,
|
|
1579
|
+
authScheme: response$1.auth_config.auth_scheme,
|
|
1503
1580
|
isComposioManaged: response$1.auth_config.is_composio_managed,
|
|
1504
1581
|
isDisabled: response$1.auth_config.is_disabled
|
|
1505
1582
|
},
|
|
@@ -3242,7 +3319,7 @@ var ConnectedAccounts = class {
|
|
|
3242
3319
|
const parsedOptions = ConnectedAccountRefreshOptionsSchema.safeParse(options);
|
|
3243
3320
|
if (!parsedOptions.success) throw new ValidationError("Failed to parse connected account refresh options", { cause: parsedOptions.error });
|
|
3244
3321
|
params = {
|
|
3245
|
-
|
|
3322
|
+
query_redirect_url: parsedOptions.data.redirectUrl,
|
|
3246
3323
|
validate_credentials: parsedOptions.data.validateCredentials
|
|
3247
3324
|
};
|
|
3248
3325
|
}
|
|
@@ -3673,11 +3750,19 @@ const WebhookPayloadV2Schema = z$1.object({
|
|
|
3673
3750
|
user_id: z$1.string()
|
|
3674
3751
|
}).passthrough()
|
|
3675
3752
|
});
|
|
3676
|
-
/** V3 webhook payload -
|
|
3753
|
+
/** V3 webhook payload - generic envelope for all composio.* events */
|
|
3677
3754
|
const WebhookPayloadV3Schema = z$1.object({
|
|
3678
3755
|
id: z$1.string(),
|
|
3679
3756
|
timestamp: z$1.string(),
|
|
3680
|
-
type: z$1.
|
|
3757
|
+
type: z$1.string().refine((val) => val.startsWith("composio."), { message: "V3 event type must start with 'composio.'" }),
|
|
3758
|
+
metadata: z$1.record(z$1.unknown()),
|
|
3759
|
+
data: z$1.record(z$1.unknown())
|
|
3760
|
+
});
|
|
3761
|
+
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
3762
|
+
const WebhookTriggerPayloadV3Schema = z$1.object({
|
|
3763
|
+
id: z$1.string(),
|
|
3764
|
+
timestamp: z$1.string(),
|
|
3765
|
+
type: z$1.string(),
|
|
3681
3766
|
metadata: z$1.object({
|
|
3682
3767
|
log_id: z$1.string(),
|
|
3683
3768
|
trigger_slug: z$1.string(),
|
|
@@ -3685,7 +3770,7 @@ const WebhookPayloadV3Schema = z$1.object({
|
|
|
3685
3770
|
connected_account_id: z$1.string(),
|
|
3686
3771
|
auth_config_id: z$1.string(),
|
|
3687
3772
|
user_id: z$1.string()
|
|
3688
|
-
}),
|
|
3773
|
+
}).passthrough(),
|
|
3689
3774
|
data: z$1.record(z$1.unknown())
|
|
3690
3775
|
});
|
|
3691
3776
|
/** Union of all webhook payload versions */
|
|
@@ -4531,28 +4616,55 @@ var Triggers = class {
|
|
|
4531
4616
|
* @private
|
|
4532
4617
|
*/
|
|
4533
4618
|
normalizeV3Payload(payload) {
|
|
4534
|
-
const
|
|
4535
|
-
|
|
4619
|
+
const triggerResult = WebhookTriggerPayloadV3Schema.safeParse(payload);
|
|
4620
|
+
if (triggerResult.success) {
|
|
4621
|
+
const triggerSlug = triggerResult.data.metadata.trigger_slug;
|
|
4622
|
+
const toolkitSlug = triggerSlug.split("_")[0]?.toUpperCase() || "UNKNOWN";
|
|
4623
|
+
return {
|
|
4624
|
+
id: triggerResult.data.metadata.trigger_id,
|
|
4625
|
+
uuid: triggerResult.data.metadata.trigger_id,
|
|
4626
|
+
triggerSlug,
|
|
4627
|
+
toolkitSlug,
|
|
4628
|
+
userId: triggerResult.data.metadata.user_id,
|
|
4629
|
+
payload: payload.data,
|
|
4630
|
+
originalPayload: payload.data,
|
|
4631
|
+
metadata: {
|
|
4632
|
+
id: triggerResult.data.metadata.trigger_id,
|
|
4633
|
+
uuid: triggerResult.data.metadata.trigger_id,
|
|
4634
|
+
toolkitSlug,
|
|
4635
|
+
triggerSlug,
|
|
4636
|
+
triggerConfig: {},
|
|
4637
|
+
connectedAccount: {
|
|
4638
|
+
id: triggerResult.data.metadata.connected_account_id,
|
|
4639
|
+
uuid: triggerResult.data.metadata.connected_account_id,
|
|
4640
|
+
authConfigId: triggerResult.data.metadata.auth_config_id,
|
|
4641
|
+
authConfigUUID: triggerResult.data.metadata.auth_config_id,
|
|
4642
|
+
userId: triggerResult.data.metadata.user_id,
|
|
4643
|
+
status: "ACTIVE"
|
|
4644
|
+
}
|
|
4645
|
+
}
|
|
4646
|
+
};
|
|
4647
|
+
}
|
|
4536
4648
|
return {
|
|
4537
|
-
id: payload.
|
|
4538
|
-
uuid: payload.
|
|
4539
|
-
triggerSlug,
|
|
4540
|
-
toolkitSlug,
|
|
4541
|
-
userId:
|
|
4649
|
+
id: payload.id,
|
|
4650
|
+
uuid: payload.id,
|
|
4651
|
+
triggerSlug: payload.type,
|
|
4652
|
+
toolkitSlug: "COMPOSIO",
|
|
4653
|
+
userId: "",
|
|
4542
4654
|
payload: payload.data,
|
|
4543
|
-
originalPayload: payload
|
|
4655
|
+
originalPayload: payload,
|
|
4544
4656
|
metadata: {
|
|
4545
|
-
id: payload.
|
|
4546
|
-
uuid: payload.
|
|
4547
|
-
toolkitSlug,
|
|
4548
|
-
triggerSlug,
|
|
4657
|
+
id: payload.id,
|
|
4658
|
+
uuid: payload.id,
|
|
4659
|
+
toolkitSlug: "COMPOSIO",
|
|
4660
|
+
triggerSlug: payload.type,
|
|
4549
4661
|
triggerConfig: {},
|
|
4550
4662
|
connectedAccount: {
|
|
4551
|
-
id:
|
|
4552
|
-
uuid:
|
|
4553
|
-
authConfigId:
|
|
4554
|
-
authConfigUUID:
|
|
4555
|
-
userId:
|
|
4663
|
+
id: "",
|
|
4664
|
+
uuid: "",
|
|
4665
|
+
authConfigId: "",
|
|
4666
|
+
authConfigUUID: "",
|
|
4667
|
+
userId: "",
|
|
4556
4668
|
status: "ACTIVE"
|
|
4557
4669
|
}
|
|
4558
4670
|
}
|
|
@@ -5580,7 +5692,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
5580
5692
|
|
|
5581
5693
|
//#endregion
|
|
5582
5694
|
//#region package.json
|
|
5583
|
-
var version = "0.6.
|
|
5695
|
+
var version = "0.6.4";
|
|
5584
5696
|
|
|
5585
5697
|
//#endregion
|
|
5586
5698
|
//#region src/utils/session.ts
|
|
@@ -6460,6 +6572,136 @@ var AuthScheme = class {
|
|
|
6460
6572
|
}
|
|
6461
6573
|
};
|
|
6462
6574
|
|
|
6575
|
+
//#endregion
|
|
6576
|
+
//#region src/types/webhookEvents.types.ts
|
|
6577
|
+
const WebhookEventTypes = {
|
|
6578
|
+
CONNECTION_EXPIRED: "composio.connected_account.expired",
|
|
6579
|
+
TRIGGER_MESSAGE: "composio.trigger.message"
|
|
6580
|
+
};
|
|
6581
|
+
/**
|
|
6582
|
+
* Auth config schema for webhook payloads (raw API format, snake_case).
|
|
6583
|
+
*
|
|
6584
|
+
* This intentionally does NOT reuse ConnectedAccountAuthConfigSchema from
|
|
6585
|
+
* connectedAccounts.types.ts because:
|
|
6586
|
+
* - Webhook payloads arrive in raw snake_case (is_composio_managed, is_disabled)
|
|
6587
|
+
* while the SDK schema uses camelCase (isComposioManaged, isDisabled)
|
|
6588
|
+
* - Webhook payloads include additional fields (auth_scheme, deprecated)
|
|
6589
|
+
* not present in the SDK schema
|
|
6590
|
+
*
|
|
6591
|
+
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
6592
|
+
*
|
|
6593
|
+
* @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
6594
|
+
*/
|
|
6595
|
+
const WebhookConnectedAccountAuthConfigSchema = z$1.object({
|
|
6596
|
+
id: z$1.string(),
|
|
6597
|
+
auth_scheme: z$1.nativeEnum(AuthSchemeTypes),
|
|
6598
|
+
is_composio_managed: z$1.boolean(),
|
|
6599
|
+
is_disabled: z$1.boolean(),
|
|
6600
|
+
deprecated: z$1.object({ uuid: z$1.string() }).optional()
|
|
6601
|
+
}).passthrough();
|
|
6602
|
+
/**
|
|
6603
|
+
* Simplified connection state schema for webhook payloads (raw API format).
|
|
6604
|
+
*
|
|
6605
|
+
* This intentionally does NOT reuse ConnectionDataSchema from
|
|
6606
|
+
* connectedAccountAuthStates.types.ts because:
|
|
6607
|
+
* - ConnectionDataSchema is a discriminated union requiring typed `val`
|
|
6608
|
+
* per auth scheme (e.g., Oauth2ConnectionDataSchema)
|
|
6609
|
+
* - Webhook payloads need loose validation (z.record(z.unknown()))
|
|
6610
|
+
* since the connection state varies and isn't the focus of event handling
|
|
6611
|
+
*
|
|
6612
|
+
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
6613
|
+
*
|
|
6614
|
+
* @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
|
|
6615
|
+
*/
|
|
6616
|
+
const WebhookConnectionStateSchema = z$1.object({
|
|
6617
|
+
authScheme: z$1.nativeEnum(AuthSchemeTypes),
|
|
6618
|
+
val: z$1.record(z$1.unknown())
|
|
6619
|
+
}).passthrough();
|
|
6620
|
+
/**
|
|
6621
|
+
* Connected account data schema for webhook payloads (raw API format, snake_case).
|
|
6622
|
+
*
|
|
6623
|
+
* This is the snake_case equivalent of ConnectedAccountRetrieveResponseSchema
|
|
6624
|
+
* from connectedAccounts.types.ts. It intentionally does NOT reuse that schema because:
|
|
6625
|
+
* - Webhook payloads arrive in raw snake_case (auth_config, user_id, created_at, etc.)
|
|
6626
|
+
* while the SDK schema uses camelCase (authConfig, createdAt, etc.)
|
|
6627
|
+
* - The SDK applies a transformation layer (utils/transformers/connectedAccounts.ts)
|
|
6628
|
+
* before validation; webhooks are validated directly by the user
|
|
6629
|
+
* - Webhook payloads include user_id, which the SDK schema omits
|
|
6630
|
+
*
|
|
6631
|
+
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
6632
|
+
*
|
|
6633
|
+
* @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
|
|
6634
|
+
* @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
|
|
6635
|
+
*/
|
|
6636
|
+
const SingleConnectedAccountDetailedResponseSchema = z$1.object({
|
|
6637
|
+
toolkit: z$1.object({ slug: z$1.string().describe("The slug of the toolkit") }).passthrough(),
|
|
6638
|
+
auth_config: WebhookConnectedAccountAuthConfigSchema,
|
|
6639
|
+
id: z$1.string(),
|
|
6640
|
+
user_id: z$1.string(),
|
|
6641
|
+
status: z$1.nativeEnum(ConnectionStatuses),
|
|
6642
|
+
created_at: z$1.string(),
|
|
6643
|
+
updated_at: z$1.string(),
|
|
6644
|
+
state: WebhookConnectionStateSchema,
|
|
6645
|
+
data: z$1.record(z$1.unknown()),
|
|
6646
|
+
params: z$1.record(z$1.unknown()),
|
|
6647
|
+
status_reason: z$1.string().nullable(),
|
|
6648
|
+
is_disabled: z$1.boolean(),
|
|
6649
|
+
test_request_endpoint: z$1.string().optional(),
|
|
6650
|
+
deprecated: z$1.object({
|
|
6651
|
+
labels: z$1.array(z$1.string()),
|
|
6652
|
+
uuid: z$1.string()
|
|
6653
|
+
}).optional()
|
|
6654
|
+
}).passthrough();
|
|
6655
|
+
/**
|
|
6656
|
+
* Webhook metadata for connection events.
|
|
6657
|
+
* Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
|
|
6658
|
+
*
|
|
6659
|
+
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
6660
|
+
*/
|
|
6661
|
+
const WebhookConnectionMetadataSchema = z$1.object({
|
|
6662
|
+
project_id: z$1.string(),
|
|
6663
|
+
org_id: z$1.string()
|
|
6664
|
+
}).passthrough();
|
|
6665
|
+
/**
|
|
6666
|
+
* Connection expired webhook event payload.
|
|
6667
|
+
* Emitted when a connected account expires due to authentication refresh failure.
|
|
6668
|
+
*
|
|
6669
|
+
* Uses .passthrough() to accept unknown fields the API may add in the future.
|
|
6670
|
+
*
|
|
6671
|
+
* @example
|
|
6672
|
+
* ```typescript
|
|
6673
|
+
* import { ConnectionExpiredEventSchema } from '@composio/core';
|
|
6674
|
+
*
|
|
6675
|
+
* // In your webhook handler
|
|
6676
|
+
* const result = ConnectionExpiredEventSchema.safeParse(webhookPayload);
|
|
6677
|
+
* if (result.success) {
|
|
6678
|
+
* const { data, metadata } = result.data;
|
|
6679
|
+
* console.log(`Connection ${data.id} expired for user ${data.user_id}`);
|
|
6680
|
+
* console.log(`Toolkit: ${data.toolkit.slug}`);
|
|
6681
|
+
* console.log(`Project: ${metadata.project_id}`);
|
|
6682
|
+
* }
|
|
6683
|
+
* ```
|
|
6684
|
+
*/
|
|
6685
|
+
const ConnectionExpiredEventSchema = z$1.object({
|
|
6686
|
+
id: z$1.string(),
|
|
6687
|
+
timestamp: z$1.string(),
|
|
6688
|
+
type: z$1.literal(WebhookEventTypes.CONNECTION_EXPIRED),
|
|
6689
|
+
data: SingleConnectedAccountDetailedResponseSchema,
|
|
6690
|
+
metadata: WebhookConnectionMetadataSchema
|
|
6691
|
+
}).passthrough();
|
|
6692
|
+
/**
|
|
6693
|
+
* Union of all typed webhook event schemas.
|
|
6694
|
+
* Extend this as new event types are added.
|
|
6695
|
+
*
|
|
6696
|
+
* Note: This covers specific known event types with strict validation.
|
|
6697
|
+
* For unknown or new event types, use WebhookPayloadV3Schema from
|
|
6698
|
+
* triggers.types.ts which accepts any composio.* event with loose validation.
|
|
6699
|
+
*
|
|
6700
|
+
* Trigger events (composio.trigger.message) are handled through the
|
|
6701
|
+
* WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
|
|
6702
|
+
*/
|
|
6703
|
+
const WebhookEventSchema = z$1.discriminatedUnion("type", [ConnectionExpiredEventSchema]);
|
|
6704
|
+
|
|
6463
6705
|
//#endregion
|
|
6464
6706
|
//#region src/types/mcp.types.ts
|
|
6465
6707
|
/**
|
|
@@ -6656,4 +6898,4 @@ const ComposioMcpUpdateResponseSchema = z$1.object({
|
|
|
6656
6898
|
});
|
|
6657
6899
|
|
|
6658
6900
|
//#endregion
|
|
6659
|
-
export { AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParamsSchema, AuthConfigListResponseSchema, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigTypes, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeTypes, BaseAgenticProvider, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParamsSchema, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatuses, CreateAuthConfigParamsSchema, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, DefaultCreateConnectedAccountParamsSchema, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptionsSchema, MCPGenerateURLParamsSchema, MCPGetServerParamsSchema, MCPMultiAppServerSchema, MCPServerCreateResponseSchema, MCPServerListResponseSchema, MCPServerSchema, MCPServerTypeSchema, MCPServerUpdateParamsSchema, MCPSingleAppServerSchema, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponseSchema, McpListResponseSchema, McpRetrieveResponseSchema, McpUpdateResponseSchema, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, SDKErrorCodes, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolSchema, ToolkitAuthConfigDetailsSchema, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponseSchema, ToolkitCategorySchema, ToolkitConnectionStateSchema, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersionSchema, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnumSchema, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersionsSchema, ToolkitsListParamsSchema, TriggerErrorCodes, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatuses, TriggerSubscribeParamSchema, TriggerTypeSchema, TriggersTypeListParamsSchema, TriggersTypeListResponseSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
|
|
6901
|
+
export { AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParamsSchema, AuthConfigListResponseSchema, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigTypes, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeTypes, BaseAgenticProvider, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParamsSchema, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionDataSchema, ConnectionExpiredEventSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatuses, CreateAuthConfigParamsSchema, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, DefaultCreateConnectedAccountParamsSchema, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptionsSchema, MCPGenerateURLParamsSchema, MCPGetServerParamsSchema, MCPMultiAppServerSchema, MCPServerCreateResponseSchema, MCPServerListResponseSchema, MCPServerSchema, MCPServerTypeSchema, MCPServerUpdateParamsSchema, MCPSingleAppServerSchema, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponseSchema, McpListResponseSchema, McpRetrieveResponseSchema, McpUpdateResponseSchema, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, SDKErrorCodes, SingleConnectedAccountDetailedResponseSchema, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolSchema, ToolkitAuthConfigDetailsSchema, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponseSchema, ToolkitCategorySchema, ToolkitConnectionStateSchema, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersionSchema, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnumSchema, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersionsSchema, ToolkitsListParamsSchema, TriggerErrorCodes, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatuses, TriggerSubscribeParamSchema, TriggerTypeSchema, TriggersTypeListParamsSchema, TriggersTypeListResponseSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadataSchema, WebhookConnectionStateSchema, WebhookEventSchema, WebhookEventTypes, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookTriggerPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('../buffer-CYf1Z6Sd.cjs');
|
|
2
|
-
const require_Telemetry = require('../Telemetry-
|
|
2
|
+
const require_Telemetry = require('../Telemetry-DBe2oppA.cjs');
|
|
3
3
|
const require_fileUtils_node = require('../fileUtils.node-DLp53qm1.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/models/Files.node.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../chunk-Dx2NuYGI.mjs";
|
|
2
2
|
import "../buffer-BFpVRahf.mjs";
|
|
3
|
-
import { t as telemetry } from "../Telemetry-
|
|
3
|
+
import { t as telemetry } from "../Telemetry-B3HlLpMT.mjs";
|
|
4
4
|
import { n as getFileDataAfterUploadingToS3, t as downloadFileFromS3 } from "../fileUtils.node-MOEGtpnI.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/models/Files.node.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as BaseComposioProvider } from "./BaseProvider-
|
|
2
|
-
import { n as ComposioConfig } from "./composio-
|
|
1
|
+
import { n as BaseComposioProvider } from "./BaseProvider-B_7Qy99Q.mjs";
|
|
2
|
+
import { n as ComposioConfig } from "./composio-ClplAPbl.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/types.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as BaseComposioProvider } from "./BaseProvider-
|
|
2
|
-
import { n as ComposioConfig } from "./composio-
|
|
1
|
+
import { n as BaseComposioProvider } from "./BaseProvider-DF03HAz3.cjs";
|
|
2
|
+
import { n as ComposioConfig } from "./composio-COyITeJf.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/types.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../composio-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-COyITeJf.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-Bib0jIbg.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/ConfigDefaults.node.d.ts
|
|
5
5
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../BaseProvider-
|
|
2
|
-
import "../../composio-
|
|
3
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../BaseProvider-B_7Qy99Q.mjs";
|
|
2
|
+
import "../../composio-ClplAPbl.mjs";
|
|
3
|
+
import { t as ConfigDefaults } from "../../types-BO1Bf2Xz.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/config-defaults/ConfigDefaults.node.d.ts
|
|
6
6
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../composio-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-COyITeJf.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-Bib0jIbg.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
|
|
5
5
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../BaseProvider-
|
|
2
|
-
import "../../composio-
|
|
3
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../BaseProvider-B_7Qy99Q.mjs";
|
|
2
|
+
import "../../composio-ClplAPbl.mjs";
|
|
3
|
+
import { t as ConfigDefaults } from "../../types-BO1Bf2Xz.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
|
|
6
6
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-
|
|
1
|
+
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-DF03HAz3.cjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.node.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-
|
|
1
|
+
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-B_7Qy99Q.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.node.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-
|
|
1
|
+
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-DF03HAz3.cjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.workerd.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-
|
|
1
|
+
import { _n as ToolExecuteResponse, fn as Tool, hn as ToolExecuteParams } from "../../BaseProvider-B_7Qy99Q.mjs";
|
|
2
2
|
import ComposioClient from "@composio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/modifiers/FileToolModifier.workerd.d.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.4",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
7
7
|
"publishConfig": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"zod": "^3.25 || ^4"
|
|
131
131
|
},
|
|
132
132
|
"dependencies": {
|
|
133
|
-
"@composio/client": "0.1.0-alpha.
|
|
133
|
+
"@composio/client": "0.1.0-alpha.60",
|
|
134
134
|
"@types/json-schema": "^7.0.15",
|
|
135
135
|
"chalk": "^4.1.2",
|
|
136
136
|
"openai": "^6.16.0",
|