@composio/core 0.9.0 → 0.9.1

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./chunk-CWQeghP5.mjs";
2
2
  import { _ as getEnvVariable, a as ComposioSensitiveFilePathBlockedError, c as logger_default, d as DEFAULT_BASE_URL, f as DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID, g as constants_exports, h as USER_DATA_FILE_NAME, i as ComposioFileUploadPathNotAllowedError, l as COMPOSIO_DIR, m as TEMP_FILES_DIRECTORY_NAME, n as ComposioFileUploadAbortedError, o as FileModifierErrorCodes, p as IS_DEVELOPMENT_OR_CI, r as ComposioFileUploadError, s as ComposioError, t as ComposioFileNotFoundError, u as COMPOSIO_LOG_LEVEL, v as getEnvsWithPrefix } from "./FileModifierErrors-C7z16Dfi.mjs";
3
- import { $ as ConnectedAccountErrorCodes, A as ValidationErrorCodes, B as ComposioGlobalExecuteToolFnNotSetError, C as ComposioWebhookSignatureVerificationError, D as JsonSchemaRefResolutionError, E as SDKErrorCodes, F as ConnectionRequestFailedError, G as ComposioToolNotFoundError, H as ComposioInvalidModifierError, I as ConnectionRequestTimeoutError, J as handleToolExecutionError, K as ComposioToolVersionRequiredError, L as AuthConfigErrorCodes, M as ComposioToolkitNotFoundError, N as ToolkitErrorCodes, O as JsonSchemaToZodError, P as ConnectionRequestErrorCodes, Q as ComposioMultipleConnectedAccountsError, R as ComposioAuthConfigNotFoundError, S as ComposioWebhookPayloadError, T as ComposioNoAPIKeyError, U as ComposioProviderNotDefinedError, V as ComposioInvalidExecuteFunctionError, W as ComposioToolExecutionError, X as ComposioFailedToCreateConnectedAccountLink, Y as ComposioConnectedAccountNotFoundError, Z as ComposioLegacyConnectedAccountsEndpointRetiredError, _ as ComposioFailedToCreatePusherClientError, a as createCustomToolkit, b as ComposioFailedToUnsubscribeFromPusherChannelError, c as getPreloadedCustomToolSlugs, d as CreateCustomToolBaseSchema, f as CreateCustomToolkitBaseSchema, g as RemoteFileErrorCodes, h as RemoteFileDownloadError, i as createCustomTool, j as ComposioToolkitFetchError, k as ValidationError, l as serializeCustomToolkits, m as PRELOAD_TOOLS_ALL, n as buildCustomToolsMap, o as findCustomToolMapEntryByFinalSlug, p as CustomToolSlugSchema, q as ToolErrorCodes, r as buildCustomToolsMapFromResponse, s as findCustomToolMapEntryByToolkitAndOriginalSlug, t as assertNoCustomToolSlugsInPreload, u as serializeCustomTools, v as ComposioFailedToGetSDKRealtimeCredentialsError, w as TriggerErrorCodes, x as ComposioTriggerTypeNotFoundError, y as ComposioFailedToSubscribeToPusherChannelError, z as ComposioCustomToolsNotInitializedError } from "./CustomTool-DOE7hgw6.mjs";
3
+ import { $ as ComposioMultipleConnectedAccountsError, A as ValidationErrorCodes, B as ComposioGlobalExecuteToolFnNotSetError, C as ComposioWebhookSignatureVerificationError, D as JsonSchemaRefResolutionError, E as SDKErrorCodes, F as ConnectionRequestFailedError, G as ComposioToolNotFoundError, H as ComposioInvalidModifierError, I as ConnectionRequestTimeoutError, J as handleToolExecutionError, K as ComposioToolVersionRequiredError, L as AuthConfigErrorCodes, M as ComposioToolkitNotFoundError, N as ToolkitErrorCodes, O as JsonSchemaToZodError, P as ConnectionRequestErrorCodes, Q as ComposioLegacyConnectedAccountsEndpointRetiredError, R as ComposioAuthConfigNotFoundError, S as ComposioWebhookPayloadError, T as ComposioNoAPIKeyError, U as ComposioProviderNotDefinedError, V as ComposioInvalidExecuteFunctionError, W as ComposioToolExecutionError, X as ComposioConnectedAccountNotFoundError, Y as ComposioAclOnlyForSharedError, Z as ComposioFailedToCreateConnectedAccountLink, _ as ComposioFailedToCreatePusherClientError, a as createCustomToolkit, b as ComposioFailedToUnsubscribeFromPusherChannelError, c as getPreloadedCustomToolSlugs, d as CreateCustomToolBaseSchema, et as ComposioSharedAccessDeniedError, f as CreateCustomToolkitBaseSchema, g as RemoteFileErrorCodes, h as RemoteFileDownloadError, i as createCustomTool, j as ComposioToolkitFetchError, k as ValidationError, l as serializeCustomToolkits, m as PRELOAD_TOOLS_ALL, n as buildCustomToolsMap, nt as ConnectedAccountErrorCodes, o as findCustomToolMapEntryByFinalSlug, p as CustomToolSlugSchema, q as ToolErrorCodes, r as buildCustomToolsMapFromResponse, s as findCustomToolMapEntryByToolkitAndOriginalSlug, t as assertNoCustomToolSlugsInPreload, tt as ComposioSharedConnectionNotAccessibleError, u as serializeCustomTools, v as ComposioFailedToGetSDKRealtimeCredentialsError, w as TriggerErrorCodes, x as ComposioTriggerTypeNotFoundError, y as ComposioFailedToSubscribeToPusherChannelError, z as ComposioCustomToolsNotInitializedError } from "./CustomTool-IIUhFtP8.mjs";
4
4
  import { t as telemetry } from "./Telemetry-kgWlkavX.mjs";
5
5
  import { i as getRandomShortId, t as arrayBufferToBase64 } from "./buffer-yOtEsT4J.mjs";
6
6
  import { r as schemaHasFileUploadable, t as isPlainObject } from "./FileToolModifier.utils.neutral-B7P7wn-b.mjs";
@@ -1035,6 +1035,59 @@ const ConnectedAccountStatusSchema = z$1.enum([
1035
1035
  ConnectedAccountStatuses.INACTIVE,
1036
1036
  ConnectedAccountStatuses.REVOKED
1037
1037
  ]);
1038
+ /**
1039
+ * Sharing model for a connected account.
1040
+ *
1041
+ * - `PRIVATE` (default): only the owning `userId` can use the connection.
1042
+ * - `SHARED`: can be used by other `userId`s, but only when the connection
1043
+ * is explicitly pinned in a tool-router session's config and only when
1044
+ * the requesting `userId` passes the connection's ACL (see
1045
+ * `allowAllUsers` / `allowedUserIds` / `notAllowedUserIds`).
1046
+ */
1047
+ const ConnectedAccountTypes = {
1048
+ PRIVATE: "PRIVATE",
1049
+ SHARED: "SHARED"
1050
+ };
1051
+ const ConnectedAccountTypeSchema = z$1.enum([ConnectedAccountTypes.PRIVATE, ConnectedAccountTypes.SHARED]);
1052
+ /**
1053
+ * Per-user access control for a SHARED connected account. Ignored for
1054
+ * PRIVATE.
1055
+ *
1056
+ * Pass `aclConfigForShared` on create / PATCH to grant access; omit it
1057
+ * to leave the ACL unchanged (on PATCH) or to keep the default
1058
+ * deny-by-default state (on create). On responses, the field is
1059
+ * `undefined` when the caller isn't authorised to see the ACL —
1060
+ * distinguish that from an empty/default state explicitly.
1061
+ *
1062
+ * Resolution rule (deny wins):
1063
+ * 1. requesting `userId` in `notAllowedUserIds` → DENY
1064
+ * 2. `allowAllUsers === true` → ALLOW
1065
+ * 3. requesting `userId` in `allowedUserIds` → ALLOW
1066
+ * 4. otherwise → DENY (deny-by-default)
1067
+ *
1068
+ * Default state (block omitted or `{}`) means only the connection's
1069
+ * creator can use it. The creator must grant access explicitly.
1070
+ *
1071
+ * Limits: each list accepts up to 1000 entries; each `userId` is
1072
+ * 1..256 characters.
1073
+ */
1074
+ const ACL_LIST_MAX_LENGTH = 1e3;
1075
+ const aclUserIdString = z$1.string().min(1).max(256);
1076
+ const ConnectedAccountAclConfigSchema = z$1.object({
1077
+ allowAllUsers: z$1.boolean().optional().describe("When true, any `userId` may use this SHARED connection (subject to the deny list). Default false."),
1078
+ allowedUserIds: z$1.array(aclUserIdString).max(ACL_LIST_MAX_LENGTH).optional().describe("Explicit list of `userId` strings allowed to use this SHARED connection. Default []."),
1079
+ notAllowedUserIds: z$1.array(aclUserIdString).max(ACL_LIST_MAX_LENGTH).optional().describe("Explicit list of `userId` strings denied access. Wins over allow on conflict. Default [].")
1080
+ });
1081
+ /**
1082
+ * Resolved ACL as it appears on responses. All three fields are populated
1083
+ * when the field is visible; the field itself is `undefined` for callers
1084
+ * not authorised to see it.
1085
+ */
1086
+ const ConnectedAccountAclConfigResponseSchema = z$1.object({
1087
+ allowAllUsers: z$1.boolean(),
1088
+ allowedUserIds: z$1.array(z$1.string()),
1089
+ notAllowedUserIds: z$1.array(z$1.string())
1090
+ });
1038
1091
  const CreateConnectedAccountParamsSchema = z$1.object({
1039
1092
  authConfig: z$1.object({ id: z$1.string() }),
1040
1093
  connection: z$1.object({
@@ -1087,7 +1140,9 @@ const ConnectedAccountRetrieveResponseSchema = z$1.object({
1087
1140
  testRequestEndpoint: z$1.string().optional(),
1088
1141
  isDisabled: z$1.boolean(),
1089
1142
  createdAt: z$1.string(),
1090
- updatedAt: z$1.string()
1143
+ updatedAt: z$1.string(),
1144
+ accountType: ConnectedAccountTypeSchema.optional(),
1145
+ aclConfigForShared: ConnectedAccountAclConfigResponseSchema.optional()
1091
1146
  });
1092
1147
  const ConnectedAccountListParamsSchema = z$1.object({
1093
1148
  authConfigIds: z$1.array(z$1.string()).nullable().optional().describe("The auth config ids of the connected accounts"),
@@ -1106,7 +1161,9 @@ const ConnectedAccountListResponseSchema = z$1.object({
1106
1161
  const CreateConnectedAccountLinkOptionsSchema = z$1.object({
1107
1162
  callbackUrl: z$1.string().optional(),
1108
1163
  alias: z$1.string().optional(),
1109
- allowMultiple: z$1.boolean().optional()
1164
+ allowMultiple: z$1.boolean().optional(),
1165
+ accountType: ConnectedAccountTypeSchema.optional(),
1166
+ aclConfigForShared: ConnectedAccountAclConfigSchema.optional()
1110
1167
  });
1111
1168
  const CreateConnectedAccountLinkResponseSchema = z$1.object({ redirectUrl: z$1.string() });
1112
1169
  const ConnectedAccountRefreshOptionsSchema = z$1.object({
@@ -1114,6 +1171,19 @@ const ConnectedAccountRefreshOptionsSchema = z$1.object({
1114
1171
  validateCredentials: z$1.boolean().optional()
1115
1172
  });
1116
1173
  const UpdateConnectedAccountParamsSchema = z$1.object({ enabled: z$1.boolean() });
1174
+ /**
1175
+ * Params for `composio.connectedAccounts.updateAcl()`. Mirrors the inner
1176
+ * shape of the wire's `acl_config_for_shared` block — the SDK adds the
1177
+ * outer nesting at the boundary, so callers pass the three fields flat.
1178
+ *
1179
+ * PATCH-style semantics — omit a field to leave it unchanged; pass an
1180
+ * empty array to clear an allow/deny list. Raises
1181
+ * `ComposioAclOnlyForSharedError` on a PRIVATE connection.
1182
+ *
1183
+ * Each field is optional, but at least one must be provided — passing an
1184
+ * empty object is rejected as a no-op.
1185
+ */
1186
+ const UpdateConnectedAccountAclParamsSchema = ConnectedAccountAclConfigSchema.refine((acl) => acl.allowAllUsers !== void 0 || acl.allowedUserIds !== void 0 || acl.notAllowedUserIds !== void 0, { message: "At least one of allowAllUsers, allowedUserIds, or notAllowedUserIds must be provided" });
1117
1187
 
1118
1188
  //#endregion
1119
1189
  //#region src/utils/transform.ts
@@ -1175,7 +1245,13 @@ function transformConnectedAccountResponse(response) {
1175
1245
  isDisabled: response$1.is_disabled,
1176
1246
  createdAt: response$1.created_at,
1177
1247
  updatedAt: response$1.updated_at,
1178
- testRequestEndpoint: response$1.test_request_endpoint
1248
+ testRequestEndpoint: response$1.test_request_endpoint,
1249
+ accountType: responseWithLabels.account_type,
1250
+ aclConfigForShared: responseWithLabels.acl_config_for_shared ? {
1251
+ allowAllUsers: responseWithLabels.acl_config_for_shared.allow_all_users,
1252
+ allowedUserIds: responseWithLabels.acl_config_for_shared.allowed_user_ids,
1253
+ notAllowedUserIds: responseWithLabels.acl_config_for_shared.not_allowed_user_ids
1254
+ } : void 0
1179
1255
  }));
1180
1256
  }
1181
1257
  /**
@@ -2791,13 +2867,24 @@ function createConnectionRequest(client, connectedAccountId, status, redirectUrl
2791
2867
  * @date 2025-05-05
2792
2868
  * @module ConnectedAccounts
2793
2869
  */
2794
- const LEGACY_RETIRING_OAUTH_SCHEMES = new Set([
2795
- "OAUTH1",
2796
- "OAUTH2",
2797
- "DCR_OAUTH"
2798
- ]);
2799
2870
  let _legacyInitiateWarningEmitted = false;
2800
2871
  /**
2872
+ * Serialise the SDK's `aclConfigForShared` (camelCase) to the wire's
2873
+ * `acl_config_for_shared` block. Returns `undefined` when the caller
2874
+ * didn't pass anything (PATCH-style "don't touch ACL"); returns `{}`
2875
+ * when the caller passed an explicit empty object — both mean
2876
+ * deny-by-default, but the explicit form preserves the caller's intent
2877
+ * in network traces.
2878
+ */
2879
+ function serializeAclConfigForWire(acl) {
2880
+ if (acl === void 0) return void 0;
2881
+ return {
2882
+ ...acl.allowAllUsers !== void 0 && { allow_all_users: acl.allowAllUsers },
2883
+ ...acl.allowedUserIds !== void 0 && { allowed_user_ids: acl.allowedUserIds },
2884
+ ...acl.notAllowedUserIds !== void 0 && { not_allowed_user_ids: acl.notAllowedUserIds }
2885
+ };
2886
+ }
2887
+ /**
2801
2888
  * ConnectedAccounts class
2802
2889
  *
2803
2890
  * This class is used to manage connected accounts in the Composio SDK.
@@ -2936,16 +3023,21 @@ var ConnectedAccounts = class {
2936
3023
  }
2937
3024
  };
2938
3025
  let response;
3026
+ let httpResponse;
2939
3027
  try {
2940
- response = await this.client.connectedAccounts.create(createParams);
3028
+ const apiCall = this.client.connectedAccounts.create(createParams);
3029
+ if (typeof apiCall.withResponse === "function") {
3030
+ const resolved = await apiCall.withResponse();
3031
+ response = resolved.data;
3032
+ httpResponse = resolved.response;
3033
+ } else response = await apiCall;
2941
3034
  } catch (error) {
2942
3035
  if (error instanceof BadRequestError && typeof error.message === "string" && error.message.includes("no longer supported") && error.message.includes("/api/v3/connected_accounts/link")) throw new ComposioLegacyConnectedAccountsEndpointRetiredError(error.message, { cause: error });
2943
3036
  throw error;
2944
3037
  }
2945
- const responseAuthScheme = response.connectionData?.authScheme;
2946
- if (!_legacyInitiateWarningEmitted && typeof responseAuthScheme === "string" && LEGACY_RETIRING_OAUTH_SCHEMES.has(responseAuthScheme)) {
3038
+ if (!_legacyInitiateWarningEmitted && httpResponse?.headers.get("Deprecation")) {
2947
3039
  _legacyInitiateWarningEmitted = true;
2948
- logger_default.warn("[Deprecation] composio.connectedAccounts.initiate() will stop working for Composio-managed OAuth auth configs on 2026-05-08 (new orgs) and 2026-07-03 (all orgs). If this auth config is Composio-managed, switch to composio.connectedAccounts.link() before then. Custom auth configs are unaffected. See https://docs.composio.dev/docs/changelog/2026/04/24");
3040
+ logger_default.warn("[Deprecation] composio.connectedAccounts.initiate() will stop working for this auth config on or before 2026-07-03 (see Sunset header on the response). Switch to composio.connectedAccounts.link() — same return shape, same allowMultiple semantics. https://docs.composio.dev/docs/changelog/2026/04/24");
2949
3041
  }
2950
3042
  const redirectUrl = typeof response.connectionData?.val?.redirectUrl === "string" ? response.connectionData.val.redirectUrl : null;
2951
3043
  return createConnectionRequest(this.client, response.id, response.connectionData.val.status, redirectUrl);
@@ -2995,15 +3087,21 @@ var ConnectedAccounts = class {
2995
3087
  });
2996
3088
  if (existing.items.length > 0 && !requestOptions.data.allowMultiple) throw new ComposioMultipleConnectedAccountsError(`Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`);
2997
3089
  else if (existing.items.length > 0) logger_default.warn(`[Warn:AllowMultiple] Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`);
3090
+ const opts = requestOptions.data;
3091
+ const aclWire = serializeAclConfigForWire(opts.aclConfigForShared);
3092
+ const body = {
3093
+ auth_config_id: authConfigId,
3094
+ user_id: userId,
3095
+ ...opts.callbackUrl !== void 0 && { callback_url: opts.callbackUrl },
3096
+ ...opts.alias !== void 0 && { alias: opts.alias },
3097
+ ...opts.accountType !== void 0 && { account_type: opts.accountType },
3098
+ ...aclWire !== void 0 && { acl_config_for_shared: aclWire }
3099
+ };
2998
3100
  try {
2999
- const response = await this.client.link.create({
3000
- auth_config_id: authConfigId,
3001
- user_id: userId,
3002
- ...requestOptions?.data.callbackUrl && { callback_url: requestOptions.data.callbackUrl },
3003
- ...requestOptions?.data.alias != null && { alias: requestOptions.data.alias }
3004
- });
3101
+ const response = await this.client.link.create(body);
3005
3102
  return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
3006
3103
  } catch (error) {
3104
+ if (error instanceof BadRequestError && typeof error.message === "string" && error.message.includes("acl_config_for_shared is only valid on SHARED")) throw new ComposioAclOnlyForSharedError(error.message, { cause: error });
3007
3105
  throw new ComposioFailedToCreateConnectedAccountLink("Failed to create connected account link", { cause: error });
3008
3106
  }
3009
3107
  }
@@ -3160,7 +3258,9 @@ var ConnectedAccounts = class {
3160
3258
  return this.client.connectedAccounts.updateStatus(nanoid, { enabled: false });
3161
3259
  }
3162
3260
  /**
3163
- * Update a connected account's alias and/or credentials.
3261
+ * Enable or disable a connected account. Accepts `{ enabled: boolean }`.
3262
+ *
3263
+ * For ACL writes on SHARED connections, see {@link updateAcl}.
3164
3264
  *
3165
3265
  * @param {string} nanoid - The unique identifier of the connected account
3166
3266
  * @param {UpdateConnectedAccountParams} params - The update parameters
@@ -3177,6 +3277,67 @@ var ConnectedAccounts = class {
3177
3277
  if (!parsedParams.success) throw new ValidationError("Failed to parse connected account update params", { cause: parsedParams.error });
3178
3278
  return this.client.connectedAccounts.updateStatus(nanoid, parsedParams.data);
3179
3279
  }
3280
+ /**
3281
+ * Update the per-user ACL on a SHARED connected account.
3282
+ *
3283
+ * Only meaningful for SHARED connections — calling this on a PRIVATE
3284
+ * connection raises `ComposioAclOnlyForSharedError` (400). ACL writes
3285
+ * require the connection's creator or an API key; alias edits via
3286
+ * {@link update} are governed separately.
3287
+ *
3288
+ * PATCH semantics: omit a field to leave it unchanged; pass an empty array
3289
+ * to clear an allow/deny list. At least one field must be provided.
3290
+ *
3291
+ * Resolution rule (deny wins):
3292
+ * 1. requesting `userId` in `notAllowedUserIds` → DENY
3293
+ * 2. `allowAllUsers === true` → ALLOW
3294
+ * 3. requesting `userId` in `allowedUserIds` → ALLOW
3295
+ * 4. otherwise → DENY
3296
+ *
3297
+ * @example
3298
+ * ```typescript
3299
+ * // Allow every userId to use this connection
3300
+ * await composio.connectedAccounts.updateAcl('ca_abc', { allowAllUsers: true });
3301
+ *
3302
+ * // Everyone except a specific user
3303
+ * await composio.connectedAccounts.updateAcl('ca_abc', {
3304
+ * allowAllUsers: true,
3305
+ * notAllowedUserIds: ['user_bob'],
3306
+ * });
3307
+ *
3308
+ * // Targeted allow
3309
+ * await composio.connectedAccounts.updateAcl('ca_abc', {
3310
+ * allowedUserIds: ['user_alice', 'user_bob'],
3311
+ * });
3312
+ *
3313
+ * // Revoke a previously-granted allow list (back to deny-by-default)
3314
+ * await composio.connectedAccounts.updateAcl('ca_abc', { allowedUserIds: [] });
3315
+ * ```
3316
+ *
3317
+ * **Empty-array semantics — read carefully.** Passing `[]` for either
3318
+ * list **replaces** the list, it does not extend it:
3319
+ *
3320
+ * - `allowedUserIds: []` → revoke all previously-granted user IDs (state
3321
+ * reverts to deny-by-default unless `allowAllUsers` is true).
3322
+ * - `notAllowedUserIds: []` → **clears the deny list**, which silently
3323
+ * re-grants access to users you previously blocked. Always pair an
3324
+ * empty deny list with a deliberate audit of the allow side.
3325
+ *
3326
+ * @returns The PATCH response (`{ id, status, success }`). To read the
3327
+ * updated `aclConfigForShared` block, call `get(nanoid)` after the
3328
+ * promise resolves.
3329
+ */
3330
+ async updateAcl(nanoid, params) {
3331
+ const parsedParams = UpdateConnectedAccountAclParamsSchema.safeParse(params);
3332
+ if (!parsedParams.success) throw new ValidationError("Failed to parse connected account ACL update params", { cause: parsedParams.error });
3333
+ const body = { acl_config_for_shared: serializeAclConfigForWire(parsedParams.data) };
3334
+ try {
3335
+ return await this.client.connectedAccounts.patch(nanoid, body);
3336
+ } catch (error) {
3337
+ if (error instanceof BadRequestError && typeof error.message === "string" && error.message.includes("acl_config_for_shared is only valid on SHARED")) throw new ComposioAclOnlyForSharedError(error.message, { cause: error });
3338
+ throw error;
3339
+ }
3340
+ }
3180
3341
  };
3181
3342
 
3182
3343
  //#endregion
@@ -5485,7 +5646,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
5485
5646
 
5486
5647
  //#endregion
5487
5648
  //#region package.json
5488
- var version = "0.9.0";
5649
+ var version = "0.9.1";
5489
5650
 
5490
5651
  //#endregion
5491
5652
  //#region src/utils/session.ts
@@ -6638,6 +6799,20 @@ var SessionContextImpl = class {
6638
6799
  //#region src/models/ToolRouterSession.ts
6639
6800
  const COMPOSIO_MULTI_EXECUTE_TOOL = "COMPOSIO_MULTI_EXECUTE_TOOL";
6640
6801
  const DIRECT_CUSTOM_TOOL_DESCRIPTION_PREFIX = "[Direct tool - call directly, no search needed beforehand.]";
6802
+ /**
6803
+ * Options accepted by {@link ToolRouterSession.authorize}.
6804
+ *
6805
+ * Validated at the SDK boundary so callers get clear `ValidationError`s for
6806
+ * oversized ACL lists or invalid `userId`s — same caps as the equivalent
6807
+ * `composio.connectedAccounts.link()` path (≤1000 entries per list, each
6808
+ * `userId` 1..256 characters).
6809
+ */
6810
+ const AuthorizeOptionsSchema = z$1.object({
6811
+ callbackUrl: z$1.string().optional(),
6812
+ alias: z$1.string().optional(),
6813
+ accountType: ConnectedAccountTypeSchema.optional(),
6814
+ aclConfigForShared: ConnectedAccountAclConfigSchema.optional()
6815
+ });
6641
6816
  var ToolRouterSession = class {
6642
6817
  sessionId;
6643
6818
  mcp;
@@ -6785,13 +6960,39 @@ var ToolRouterSession = class {
6785
6960
  /**
6786
6961
  * Initiate an authorization flow for a toolkit.
6787
6962
  * Returns a ConnectionRequest with a redirect URL for the user.
6963
+ *
6964
+ * Use `accountType` and `aclConfigForShared` to create a SHARED connection
6965
+ * with a per-user ACL in one flow. Default behaviour (omit both) creates
6966
+ * a PRIVATE connection.
6967
+ *
6968
+ * `aclConfigForShared` is validated against the same caps as
6969
+ * `composio.connectedAccounts.link()` (≤1000 entries per list, each
6970
+ * `userId` 1..256 characters). Invalid input throws `ValidationError`
6971
+ * at the SDK boundary.
6788
6972
  */
6789
6973
  async authorize(toolkit, options) {
6790
- const response = await this.client.toolRouter.session.link(this.sessionId, {
6974
+ const requestOptions = AuthorizeOptionsSchema.safeParse(options ?? {});
6975
+ if (!requestOptions.success) throw new ValidationError("Failed to parse tool router authorize options", { cause: requestOptions.error });
6976
+ const opts = requestOptions.data;
6977
+ const aclWire = opts.aclConfigForShared === void 0 ? void 0 : {
6978
+ ...opts.aclConfigForShared.allowAllUsers !== void 0 && { allow_all_users: opts.aclConfigForShared.allowAllUsers },
6979
+ ...opts.aclConfigForShared.allowedUserIds !== void 0 && { allowed_user_ids: opts.aclConfigForShared.allowedUserIds },
6980
+ ...opts.aclConfigForShared.notAllowedUserIds !== void 0 && { not_allowed_user_ids: opts.aclConfigForShared.notAllowedUserIds }
6981
+ };
6982
+ const body = {
6791
6983
  toolkit,
6792
- ...options?.callbackUrl && { callback_url: options.callbackUrl },
6793
- ...options?.alias != null && { alias: options.alias }
6794
- });
6984
+ ...opts.callbackUrl !== void 0 && { callback_url: opts.callbackUrl },
6985
+ ...opts.alias !== void 0 && { alias: opts.alias },
6986
+ ...opts.accountType !== void 0 && { account_type: opts.accountType },
6987
+ ...aclWire !== void 0 && { acl_config_for_shared: aclWire }
6988
+ };
6989
+ let response;
6990
+ try {
6991
+ response = await this.client.toolRouter.session.link(this.sessionId, body);
6992
+ } catch (error) {
6993
+ if (error instanceof BadRequestError && typeof error.message === "string" && error.message.includes("acl_config_for_shared is only valid on SHARED")) throw new ComposioAclOnlyForSharedError(error.message, { cause: error });
6994
+ throw error;
6995
+ }
6795
6996
  return createConnectionRequest(this.client, response.connected_account_id, ConnectedAccountStatuses.INITIATED, response.redirect_url);
6796
6997
  }
6797
6998
  /**
@@ -8106,4 +8307,4 @@ const ComposioMcpUpdateResponseSchema = z$1.object({
8106
8307
  });
8107
8308
 
8108
8309
  //#endregion
8109
- 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, ComposioFileNotFoundError, ComposioFileUploadAbortedError, ComposioFileUploadError, ComposioFileUploadPathNotAllowedError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLegacyConnectedAccountsEndpointRetiredError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioSensitiveFilePathBlockedError, 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, CreateCustomToolBaseSchema, CreateCustomToolkitBaseSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, CustomToolSlugSchema, DefaultCreateConnectedAccountParamsSchema, FileDeleteResponseSchema, FileListResponseSchema, FileModifierErrorCodes, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaRefResolutionError, 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, Oauth2RevokedConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, RemoteFile, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileErrorCodes, SDKErrorCodes, SandboxSizeSchema, SessionPreset, SessionProxyExecuteParamsSchema, SingleConnectedAccountDetailedResponseSchema, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionSearchResponseSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolRouterUpdateSessionConfigSchema, 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, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadataSchema, WebhookConnectionStateSchema, WebhookEventSchema, WebhookEventTypes, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookTriggerPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, dereferenceJsonSchema, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
8310
+ export { AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParamsSchema, AuthConfigListResponseSchema, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigTypes, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeTypes, BaseAgenticProvider, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAclOnlyForSharedError, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioFileNotFoundError, ComposioFileUploadAbortedError, ComposioFileUploadError, ComposioFileUploadPathNotAllowedError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLegacyConnectedAccountsEndpointRetiredError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioSensitiveFilePathBlockedError, ComposioSharedAccessDeniedError, ComposioSharedConnectionNotAccessibleError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParamsSchema, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionDataSchema, ConnectionExpiredEventSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatuses, CreateAuthConfigParamsSchema, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolkitBaseSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, CustomToolSlugSchema, DefaultCreateConnectedAccountParamsSchema, FileDeleteResponseSchema, FileListResponseSchema, FileModifierErrorCodes, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaRefResolutionError, 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, Oauth2RevokedConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, RemoteFile, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileErrorCodes, SDKErrorCodes, SandboxSizeSchema, SessionPreset, SessionProxyExecuteParamsSchema, SingleConnectedAccountDetailedResponseSchema, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionSearchResponseSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolRouterUpdateSessionConfigSchema, 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, UpdateConnectedAccountAclParamsSchema, UpdateConnectedAccountParamsSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadataSchema, WebhookConnectionStateSchema, WebhookEventSchema, WebhookEventTypes, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookTriggerPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, dereferenceJsonSchema, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
@@ -1,5 +1,5 @@
1
1
  import { q as BaseComposioProvider } from "./tool.types-CwbAy9l_.cjs";
2
- import { n as ComposioConfig } from "./composio-DTntXzL-.cjs";
2
+ import { n as ComposioConfig } from "./composio-BnLWW0B6.cjs";
3
3
 
4
4
  //#region src/utils/config-defaults/types.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { q as BaseComposioProvider } from "./tool.types-CB_4JKhV.mjs";
2
- import { n as ComposioConfig } from "./composio-BJW2NaoA.mjs";
2
+ import { n as ComposioConfig } from "./composio-Dzlk0Wj4.mjs";
3
3
 
4
4
  //#region src/utils/config-defaults/types.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
- import "../../composio-DTntXzL-.cjs";
2
- import { t as ConfigDefaults } from "../../types-jsOgjrWN.cjs";
1
+ import "../../composio-BnLWW0B6.cjs";
2
+ import { t as ConfigDefaults } from "../../types-4vkdo_RG.cjs";
3
3
 
4
4
  //#region src/utils/config-defaults/ConfigDefaults.node.d.ts
5
5
  declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,7 +1,7 @@
1
1
  import "../../tool.types-CB_4JKhV.mjs";
2
- import "../../customTool.types-B3HG185y.mjs";
3
- import "../../composio-BJW2NaoA.mjs";
4
- import { t as ConfigDefaults } from "../../types-BClz5lKM.mjs";
2
+ import "../../customTool.types-oV5boR1w.mjs";
3
+ import "../../composio-Dzlk0Wj4.mjs";
4
+ import { t as ConfigDefaults } from "../../types-AcoPzTnm.mjs";
5
5
 
6
6
  //#region src/utils/config-defaults/ConfigDefaults.node.d.ts
7
7
  declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,5 +1,5 @@
1
- import "../../composio-DTntXzL-.cjs";
2
- import { t as ConfigDefaults } from "../../types-jsOgjrWN.cjs";
1
+ import "../../composio-BnLWW0B6.cjs";
2
+ import { t as ConfigDefaults } from "../../types-4vkdo_RG.cjs";
3
3
 
4
4
  //#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
5
5
  declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,7 +1,7 @@
1
1
  import "../../tool.types-CB_4JKhV.mjs";
2
- import "../../customTool.types-B3HG185y.mjs";
3
- import "../../composio-BJW2NaoA.mjs";
4
- import { t as ConfigDefaults } from "../../types-BClz5lKM.mjs";
2
+ import "../../customTool.types-oV5boR1w.mjs";
3
+ import "../../composio-Dzlk0Wj4.mjs";
4
+ import { t as ConfigDefaults } from "../../types-AcoPzTnm.mjs";
5
5
 
6
6
  //#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
7
7
  declare const CONFIG_DEFAULTS: ConfigDefaults;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@composio/core",
3
3
  "type": "module",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "",
6
6
  "main": "dist/index.mjs",
7
7
  "publishConfig": {
@@ -144,7 +144,7 @@
144
144
  "zod": "^3.25 || ^4"
145
145
  },
146
146
  "dependencies": {
147
- "@composio/client": "0.1.0-alpha.70",
147
+ "@composio/client": "0.1.0-alpha.71",
148
148
  "@types/json-schema": "^7.0.15",
149
149
  "chalk": "^4.1.2",
150
150
  "openai": "^6.16.0",