@composio/core 0.6.6 → 0.6.8

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.
Files changed (29) hide show
  1. package/dist/{CustomTool-B3_zC62q.mjs → CustomTool-AYNimqhf.mjs} +10 -0
  2. package/dist/{CustomTool-CrOHWVUC.d.cts → CustomTool-B0B7kvyW.d.cts} +11 -1
  3. package/dist/{CustomTool-CMTb-q46.cjs → CustomTool-Cyo1aJ2l.cjs} +10 -0
  4. package/dist/{CustomTool-Bl7vtddU.d.mts → CustomTool-nLGl-RUg.d.mts} +11 -1
  5. package/dist/{composio-Cgg0LHCQ.d.cts → composio-C9ZY8W1y.d.cts} +180 -180
  6. package/dist/{composio-DyBF5dV-.d.mts → composio-DILWMxRU.d.mts} +180 -180
  7. package/dist/{customTool.types-CA8_4pl5.d.mts → customTool.types-B-4lZeSS.d.mts} +18 -12
  8. package/dist/{customTool.types-C3S5Q0_6.d.cts → customTool.types-CfFdeYee.d.cts} +18 -12
  9. package/dist/experimental/index.cjs +1 -1
  10. package/dist/experimental/index.d.cts +2 -2
  11. package/dist/experimental/index.d.mts +3 -3
  12. package/dist/experimental/index.mjs +1 -1
  13. package/dist/index.cjs +40 -17
  14. package/dist/index.d.cts +5 -5
  15. package/dist/index.d.mts +5 -5
  16. package/dist/index.mjs +40 -17
  17. package/dist/{tool.types-Ci7pnud8.d.cts → tool.types-BWc7GUrD.d.cts} +18 -18
  18. package/dist/{tool.types-G0Kzw_GF.d.mts → tool.types-bencsexi.d.mts} +18 -18
  19. package/dist/{types-CyDYfq9G.d.mts → types-CKcBI3lc.d.mts} +2 -2
  20. package/dist/{types-DStxAk8G.d.cts → types-CpfFMvWX.d.cts} +2 -2
  21. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  23. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  24. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  25. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  26. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  27. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  29. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./chunk-CWQeghP5.mjs";
2
2
  import { a as DEFAULT_BASE_URL, c as TEMP_FILES_DIRECTORY_NAME, d as getEnvVariable, f as getEnvsWithPrefix, i as COMPOSIO_LOG_LEVEL, l as USER_DATA_FILE_NAME, n as logger_default, o as DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID, r as COMPOSIO_DIR, s as IS_DEVELOPMENT_OR_CI, t as ComposioError, u as constants_exports } from "./ComposioError-ChkSdxqU.mjs";
3
- import { A as AuthConfigErrorCodes, B as ToolErrorCodes, C as ValidationErrorCodes, D as ConnectionRequestErrorCodes, E as ToolkitErrorCodes, F as ComposioInvalidModifierError, G as ConnectedAccountErrorCodes, H as ComposioConnectedAccountNotFoundError, I as ComposioProviderNotDefinedError, L as ComposioToolExecutionError, M as ComposioCustomToolsNotInitializedError, N as ComposioGlobalExecuteToolFnNotSetError, O as ConnectionRequestFailedError, P as ComposioInvalidExecuteFunctionError, R as ComposioToolNotFoundError, S as ValidationError, T as ComposioToolkitNotFoundError, U as ComposioFailedToCreateConnectedAccountLink, V as handleToolExecutionError, W as ComposioMultipleConnectedAccountsError, _ as ComposioWebhookSignatureVerificationError, a as serializeCustomTools, b as SDKErrorCodes, c as CustomToolSlugSchema, d as ComposioFailedToCreatePusherClientError, f as ComposioFailedToGetSDKRealtimeCredentialsError, g as ComposioWebhookPayloadError, h as ComposioTriggerTypeNotFoundError, i as serializeCustomToolkits, j as ComposioAuthConfigNotFoundError, k as ConnectionRequestTimeoutError, l as RemoteFileDownloadError, m as ComposioFailedToUnsubscribeFromPusherChannelError, n as createCustomTool, o as CreateCustomToolBaseSchema, p as ComposioFailedToSubscribeToPusherChannelError, r as createCustomToolkit, s as CreateCustomToolkitBaseSchema, t as buildCustomToolsMapFromResponse, u as RemoteFileErrorCodes, v as TriggerErrorCodes, w as ComposioToolkitFetchError, x as JsonSchemaToZodError, y as ComposioNoAPIKeyError, z as ComposioToolVersionRequiredError } from "./CustomTool-B3_zC62q.mjs";
3
+ import { A as AuthConfigErrorCodes, B as ToolErrorCodes, C as ValidationErrorCodes, D as ConnectionRequestErrorCodes, E as ToolkitErrorCodes, F as ComposioInvalidModifierError, G as ConnectedAccountErrorCodes, H as ComposioConnectedAccountNotFoundError, I as ComposioProviderNotDefinedError, L as ComposioToolExecutionError, M as ComposioCustomToolsNotInitializedError, N as ComposioGlobalExecuteToolFnNotSetError, O as ConnectionRequestFailedError, P as ComposioInvalidExecuteFunctionError, R as ComposioToolNotFoundError, S as ValidationError, T as ComposioToolkitNotFoundError, U as ComposioFailedToCreateConnectedAccountLink, V as handleToolExecutionError, W as ComposioMultipleConnectedAccountsError, _ as ComposioWebhookSignatureVerificationError, a as serializeCustomTools, b as SDKErrorCodes, c as CustomToolSlugSchema, d as ComposioFailedToCreatePusherClientError, f as ComposioFailedToGetSDKRealtimeCredentialsError, g as ComposioWebhookPayloadError, h as ComposioTriggerTypeNotFoundError, i as serializeCustomToolkits, j as ComposioAuthConfigNotFoundError, k as ConnectionRequestTimeoutError, l as RemoteFileDownloadError, m as ComposioFailedToUnsubscribeFromPusherChannelError, n as createCustomTool, o as CreateCustomToolBaseSchema, p as ComposioFailedToSubscribeToPusherChannelError, r as createCustomToolkit, s as CreateCustomToolkitBaseSchema, t as buildCustomToolsMapFromResponse, u as RemoteFileErrorCodes, v as TriggerErrorCodes, w as ComposioToolkitFetchError, x as JsonSchemaToZodError, y as ComposioNoAPIKeyError, z as ComposioToolVersionRequiredError } from "./CustomTool-AYNimqhf.mjs";
4
4
  import { t as telemetry } from "./Telemetry-CjVa99gU.mjs";
5
5
  import { i as getRandomShortId, t as arrayBufferToBase64 } from "./buffer-yOtEsT4J.mjs";
6
6
  import ComposioClient, { APIError } from "@composio/client";
@@ -1823,7 +1823,11 @@ var Tools = class {
1823
1823
  const result = await this.client.tools.execute(tool.slug, {
1824
1824
  allow_tracing: body.allowTracing,
1825
1825
  connected_account_id: body.connectedAccountId,
1826
- custom_auth_params: body.customAuthParams,
1826
+ custom_auth_params: body.customAuthParams ? {
1827
+ base_url: body.customAuthParams.baseURL,
1828
+ body: body.customAuthParams.body,
1829
+ parameters: body.customAuthParams.parameters
1830
+ } : void 0,
1827
1831
  custom_connection_data: body.customConnectionData,
1828
1832
  arguments: body.arguments,
1829
1833
  user_id: body.userId,
@@ -5255,7 +5259,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
5255
5259
 
5256
5260
  //#endregion
5257
5261
  //#region package.json
5258
- var version = "0.6.6";
5262
+ var version = "0.6.8";
5259
5263
 
5260
5264
  //#endregion
5261
5265
  //#region src/utils/session.ts
@@ -5372,9 +5376,10 @@ const ToolRouterCreateSessionConfigSchema = z.object({
5372
5376
  connectedAccounts: z.record(z.string(), z.string()).describe("The connected accounts to use in the tool router session. The key is the toolkit slug, the value is the connected account id.").default({}),
5373
5377
  manageConnections: z.union([z.boolean(), ToolRouterConfigManageConnectionsSchema]).optional().default(true).describe("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."),
5374
5378
  workbench: z.object({
5379
+ enable: z.boolean().default(true).describe("Whether to enable the workbench entirely. Defaults to true. When set to false, no code execution tools (COMPOSIO_REMOTE_WORKBENCH, COMPOSIO_REMOTE_BASH_TOOL) are available in the session."),
5375
5380
  enableProxyExecution: z.boolean().optional().describe("Whether to enable proxy execution in the tool router session"),
5376
5381
  autoOffloadThreshold: z.number().optional().describe("The auto offload threshold in characters for the tool execution to be moved into workbench")
5377
- }).optional().describe("The execution config for the tool router session"),
5382
+ }).optional().describe("The workbench config for the tool router session"),
5378
5383
  experimental: z.object({
5379
5384
  assistivePrompt: z.object({ userTimezone: z.string().optional().describe("IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\") for timezone-aware assistive prompts") }).optional().describe("Configuration for assistive prompt generation"),
5380
5385
  customTools: z.array(z.custom()).optional().describe("Custom tools to include in this session. Created via createCustomTool() from @composio/core/experimental."),
@@ -5545,6 +5550,7 @@ const transformToolRouterManageConnectionsParams = (params) => {
5545
5550
  const transformToolRouterWorkbenchParams = (params) => {
5546
5551
  if (!params) return;
5547
5552
  return {
5553
+ enable: params.enable ?? true,
5548
5554
  enable_proxy_execution: params.enableProxyExecution,
5549
5555
  auto_offload_threshold: params.autoOffloadThreshold
5550
5556
  };
@@ -6202,19 +6208,24 @@ var SessionContextImpl = class {
6202
6208
  * Execute any tool from within a custom tool.
6203
6209
  * Routes to sibling local tools in-process when available,
6204
6210
  * otherwise delegates to the backend API.
6211
+ *
6212
+ * Returns the same response shape as session.execute().
6205
6213
  */
6206
6214
  async execute(toolSlug, arguments_) {
6207
6215
  const entry = findCustomTool(this.customToolsMap, toolSlug);
6208
- if (entry) return executeCustomTool(entry, arguments_, this);
6216
+ if (entry) {
6217
+ const result = await executeCustomTool(entry, arguments_, this);
6218
+ return ToolRouterSessionExecuteResponseSchema.parse({
6219
+ data: result.data,
6220
+ error: result.error,
6221
+ logId: ""
6222
+ });
6223
+ }
6209
6224
  const response = await this.client.toolRouter.session.execute(this.sessionId, {
6210
6225
  tool_slug: toolSlug,
6211
6226
  arguments: arguments_
6212
6227
  });
6213
- return {
6214
- data: response.data,
6215
- error: response.error,
6216
- successful: !response.error
6217
- };
6228
+ return ToolRouterSessionExecuteResponseSchema.parse(transformExecuteResponse(response));
6218
6229
  }
6219
6230
  /**
6220
6231
  * Proxy API calls through Composio's auth layer.
@@ -6505,7 +6516,7 @@ var ToolRouterSession = class {
6505
6516
  }
6506
6517
  const [localResults, remoteResult] = await Promise.all([Promise.all(localPromises), remotePromise]);
6507
6518
  if (remoteIndices.length === 0 && localResults.length === 1) return localResults[0].result;
6508
- const remoteData = remoteResult?.data ?? {};
6519
+ const remoteData = remoteResult?.data && typeof remoteResult.data === "object" && !Array.isArray(remoteResult.data) ? remoteResult.data : {};
6509
6520
  const remoteResults = Array.isArray(remoteData.results) ? remoteData.results : [];
6510
6521
  const localEntries = localResults.map(({ index, result }) => ({
6511
6522
  response: {
@@ -6520,13 +6531,25 @@ var ToolRouterSession = class {
6520
6531
  ...entry,
6521
6532
  index: i
6522
6533
  }));
6523
- const hasAnyError = localResults.some((r) => r.result.error) || !!remoteResult?.error;
6534
+ const failedCount = allResults.filter((r) => r.error).length;
6535
+ const mergedData = {
6536
+ ...remoteData,
6537
+ results: allResults
6538
+ };
6539
+ if (localEntries.length > 0 && [
6540
+ "total_count",
6541
+ "success_count",
6542
+ "error_count"
6543
+ ].some((key) => key in remoteData)) {
6544
+ mergedData.total_count = allResults.length;
6545
+ mergedData.success_count = allResults.length - failedCount;
6546
+ mergedData.error_count = failedCount;
6547
+ }
6548
+ const remoteError = typeof remoteResult?.error === "string" ? remoteResult.error : null;
6549
+ const hasAnyError = localResults.some((r) => r.result.error) || !!remoteError;
6524
6550
  return {
6525
- data: {
6526
- ...remoteData,
6527
- results: allResults
6528
- },
6529
- error: hasAnyError ? `${allResults.filter((r) => r.error).length} out of ${allResults.length} tools failed` : null,
6551
+ data: mergedData,
6552
+ error: hasAnyError ? remoteError && failedCount === 0 ? remoteError : `${failedCount} out of ${allResults.length} tools failed` : null,
6530
6553
  successful: !hasAnyError
6531
6554
  };
6532
6555
  }
@@ -22308,12 +22308,12 @@ declare const ToolkitSchema: z.ZodObject<{
22308
22308
  name: z.ZodString;
22309
22309
  logo: z.ZodOptional<z.ZodString>;
22310
22310
  }, "strip", z.ZodTypeAny, {
22311
- name: string;
22312
22311
  slug: string;
22312
+ name: string;
22313
22313
  logo?: string | undefined;
22314
22314
  }, {
22315
- name: string;
22316
22315
  slug: string;
22316
+ name: string;
22317
22317
  logo?: string | undefined;
22318
22318
  }>;
22319
22319
  type Toolkit = z.infer<typeof ToolkitSchema>;
@@ -22415,12 +22415,12 @@ declare const ToolSchema: z.ZodObject<{
22415
22415
  name: z.ZodString;
22416
22416
  logo: z.ZodOptional<z.ZodString>;
22417
22417
  }, "strip", z.ZodTypeAny, {
22418
- name: string;
22419
22418
  slug: string;
22419
+ name: string;
22420
22420
  logo?: string | undefined;
22421
22421
  }, {
22422
- name: string;
22423
22422
  slug: string;
22423
+ name: string;
22424
22424
  logo?: string | undefined;
22425
22425
  }>>;
22426
22426
  version: z.ZodOptional<z.ZodString>;
@@ -22429,8 +22429,8 @@ declare const ToolSchema: z.ZodObject<{
22429
22429
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22430
22430
  isNoAuth: z.ZodOptional<z.ZodBoolean>;
22431
22431
  }, "strip", z.ZodTypeAny, {
22432
- name: string;
22433
22432
  slug: string;
22433
+ name: string;
22434
22434
  description?: string | undefined;
22435
22435
  inputParameters?: {
22436
22436
  type: "object";
@@ -22462,8 +22462,8 @@ declare const ToolSchema: z.ZodObject<{
22462
22462
  } | undefined;
22463
22463
  tags?: string[] | undefined;
22464
22464
  toolkit?: {
22465
- name: string;
22466
22465
  slug: string;
22466
+ name: string;
22467
22467
  logo?: string | undefined;
22468
22468
  } | undefined;
22469
22469
  version?: string | undefined;
@@ -22472,8 +22472,8 @@ declare const ToolSchema: z.ZodObject<{
22472
22472
  scopes?: string[] | undefined;
22473
22473
  isNoAuth?: boolean | undefined;
22474
22474
  }, {
22475
- name: string;
22476
22475
  slug: string;
22476
+ name: string;
22477
22477
  description?: string | undefined;
22478
22478
  inputParameters?: {
22479
22479
  type: "object";
@@ -22505,8 +22505,8 @@ declare const ToolSchema: z.ZodObject<{
22505
22505
  } | undefined;
22506
22506
  tags?: string[] | undefined;
22507
22507
  toolkit?: {
22508
- name: string;
22509
22508
  slug: string;
22509
+ name: string;
22510
22510
  logo?: string | undefined;
22511
22511
  } | undefined;
22512
22512
  version?: string | undefined;
@@ -22610,12 +22610,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
22610
22610
  name: z.ZodString;
22611
22611
  logo: z.ZodOptional<z.ZodString>;
22612
22612
  }, "strip", z.ZodTypeAny, {
22613
- name: string;
22614
22613
  slug: string;
22614
+ name: string;
22615
22615
  logo?: string | undefined;
22616
22616
  }, {
22617
- name: string;
22618
22617
  slug: string;
22618
+ name: string;
22619
22619
  logo?: string | undefined;
22620
22620
  }>>;
22621
22621
  version: z.ZodOptional<z.ZodString>;
@@ -22624,8 +22624,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22624
22624
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22625
22625
  isNoAuth: z.ZodOptional<z.ZodBoolean>;
22626
22626
  }, "strip", z.ZodTypeAny, {
22627
- name: string;
22628
22627
  slug: string;
22628
+ name: string;
22629
22629
  description?: string | undefined;
22630
22630
  inputParameters?: {
22631
22631
  type: "object";
@@ -22657,8 +22657,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22657
22657
  } | undefined;
22658
22658
  tags?: string[] | undefined;
22659
22659
  toolkit?: {
22660
- name: string;
22661
22660
  slug: string;
22661
+ name: string;
22662
22662
  logo?: string | undefined;
22663
22663
  } | undefined;
22664
22664
  version?: string | undefined;
@@ -22667,8 +22667,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22667
22667
  scopes?: string[] | undefined;
22668
22668
  isNoAuth?: boolean | undefined;
22669
22669
  }, {
22670
- name: string;
22671
22670
  slug: string;
22671
+ name: string;
22672
22672
  description?: string | undefined;
22673
22673
  inputParameters?: {
22674
22674
  type: "object";
@@ -22700,8 +22700,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22700
22700
  } | undefined;
22701
22701
  tags?: string[] | undefined;
22702
22702
  toolkit?: {
22703
- name: string;
22704
22703
  slug: string;
22704
+ name: string;
22705
22705
  logo?: string | undefined;
22706
22706
  } | undefined;
22707
22707
  version?: string | undefined;
@@ -22714,8 +22714,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22714
22714
  totalPages: z.ZodNumber;
22715
22715
  }, "strip", z.ZodTypeAny, {
22716
22716
  items: {
22717
- name: string;
22718
22717
  slug: string;
22718
+ name: string;
22719
22719
  description?: string | undefined;
22720
22720
  inputParameters?: {
22721
22721
  type: "object";
@@ -22747,8 +22747,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22747
22747
  } | undefined;
22748
22748
  tags?: string[] | undefined;
22749
22749
  toolkit?: {
22750
- name: string;
22751
22750
  slug: string;
22751
+ name: string;
22752
22752
  logo?: string | undefined;
22753
22753
  } | undefined;
22754
22754
  version?: string | undefined;
@@ -22761,8 +22761,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22761
22761
  nextCursor?: string | null | undefined;
22762
22762
  }, {
22763
22763
  items: {
22764
- name: string;
22765
22764
  slug: string;
22765
+ name: string;
22766
22766
  description?: string | undefined;
22767
22767
  inputParameters?: {
22768
22768
  type: "object";
@@ -22794,8 +22794,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
22794
22794
  } | undefined;
22795
22795
  tags?: string[] | undefined;
22796
22796
  toolkit?: {
22797
- name: string;
22798
22797
  slug: string;
22798
+ name: string;
22799
22799
  logo?: string | undefined;
22800
22800
  } | undefined;
22801
22801
  version?: string | undefined;
@@ -22308,12 +22308,12 @@ declare const ToolkitSchema: z$1.ZodObject<{
22308
22308
  name: z$1.ZodString;
22309
22309
  logo: z$1.ZodOptional<z$1.ZodString>;
22310
22310
  }, "strip", z$1.ZodTypeAny, {
22311
- name: string;
22312
22311
  slug: string;
22312
+ name: string;
22313
22313
  logo?: string | undefined;
22314
22314
  }, {
22315
- name: string;
22316
22315
  slug: string;
22316
+ name: string;
22317
22317
  logo?: string | undefined;
22318
22318
  }>;
22319
22319
  type Toolkit = z$1.infer<typeof ToolkitSchema>;
@@ -22415,12 +22415,12 @@ declare const ToolSchema: z$1.ZodObject<{
22415
22415
  name: z$1.ZodString;
22416
22416
  logo: z$1.ZodOptional<z$1.ZodString>;
22417
22417
  }, "strip", z$1.ZodTypeAny, {
22418
- name: string;
22419
22418
  slug: string;
22419
+ name: string;
22420
22420
  logo?: string | undefined;
22421
22421
  }, {
22422
- name: string;
22423
22422
  slug: string;
22423
+ name: string;
22424
22424
  logo?: string | undefined;
22425
22425
  }>>;
22426
22426
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -22429,8 +22429,8 @@ declare const ToolSchema: z$1.ZodObject<{
22429
22429
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
22430
22430
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
22431
22431
  }, "strip", z$1.ZodTypeAny, {
22432
- name: string;
22433
22432
  slug: string;
22433
+ name: string;
22434
22434
  description?: string | undefined;
22435
22435
  inputParameters?: {
22436
22436
  type: "object";
@@ -22462,8 +22462,8 @@ declare const ToolSchema: z$1.ZodObject<{
22462
22462
  } | undefined;
22463
22463
  tags?: string[] | undefined;
22464
22464
  toolkit?: {
22465
- name: string;
22466
22465
  slug: string;
22466
+ name: string;
22467
22467
  logo?: string | undefined;
22468
22468
  } | undefined;
22469
22469
  version?: string | undefined;
@@ -22472,8 +22472,8 @@ declare const ToolSchema: z$1.ZodObject<{
22472
22472
  scopes?: string[] | undefined;
22473
22473
  isNoAuth?: boolean | undefined;
22474
22474
  }, {
22475
- name: string;
22476
22475
  slug: string;
22476
+ name: string;
22477
22477
  description?: string | undefined;
22478
22478
  inputParameters?: {
22479
22479
  type: "object";
@@ -22505,8 +22505,8 @@ declare const ToolSchema: z$1.ZodObject<{
22505
22505
  } | undefined;
22506
22506
  tags?: string[] | undefined;
22507
22507
  toolkit?: {
22508
- name: string;
22509
22508
  slug: string;
22509
+ name: string;
22510
22510
  logo?: string | undefined;
22511
22511
  } | undefined;
22512
22512
  version?: string | undefined;
@@ -22610,12 +22610,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22610
22610
  name: z$1.ZodString;
22611
22611
  logo: z$1.ZodOptional<z$1.ZodString>;
22612
22612
  }, "strip", z$1.ZodTypeAny, {
22613
- name: string;
22614
22613
  slug: string;
22614
+ name: string;
22615
22615
  logo?: string | undefined;
22616
22616
  }, {
22617
- name: string;
22618
22617
  slug: string;
22618
+ name: string;
22619
22619
  logo?: string | undefined;
22620
22620
  }>>;
22621
22621
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -22624,8 +22624,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22624
22624
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
22625
22625
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
22626
22626
  }, "strip", z$1.ZodTypeAny, {
22627
- name: string;
22628
22627
  slug: string;
22628
+ name: string;
22629
22629
  description?: string | undefined;
22630
22630
  inputParameters?: {
22631
22631
  type: "object";
@@ -22657,8 +22657,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22657
22657
  } | undefined;
22658
22658
  tags?: string[] | undefined;
22659
22659
  toolkit?: {
22660
- name: string;
22661
22660
  slug: string;
22661
+ name: string;
22662
22662
  logo?: string | undefined;
22663
22663
  } | undefined;
22664
22664
  version?: string | undefined;
@@ -22667,8 +22667,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22667
22667
  scopes?: string[] | undefined;
22668
22668
  isNoAuth?: boolean | undefined;
22669
22669
  }, {
22670
- name: string;
22671
22670
  slug: string;
22671
+ name: string;
22672
22672
  description?: string | undefined;
22673
22673
  inputParameters?: {
22674
22674
  type: "object";
@@ -22700,8 +22700,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22700
22700
  } | undefined;
22701
22701
  tags?: string[] | undefined;
22702
22702
  toolkit?: {
22703
- name: string;
22704
22703
  slug: string;
22704
+ name: string;
22705
22705
  logo?: string | undefined;
22706
22706
  } | undefined;
22707
22707
  version?: string | undefined;
@@ -22714,8 +22714,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22714
22714
  totalPages: z$1.ZodNumber;
22715
22715
  }, "strip", z$1.ZodTypeAny, {
22716
22716
  items: {
22717
- name: string;
22718
22717
  slug: string;
22718
+ name: string;
22719
22719
  description?: string | undefined;
22720
22720
  inputParameters?: {
22721
22721
  type: "object";
@@ -22747,8 +22747,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22747
22747
  } | undefined;
22748
22748
  tags?: string[] | undefined;
22749
22749
  toolkit?: {
22750
- name: string;
22751
22750
  slug: string;
22751
+ name: string;
22752
22752
  logo?: string | undefined;
22753
22753
  } | undefined;
22754
22754
  version?: string | undefined;
@@ -22761,8 +22761,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22761
22761
  nextCursor?: string | null | undefined;
22762
22762
  }, {
22763
22763
  items: {
22764
- name: string;
22765
22764
  slug: string;
22765
+ name: string;
22766
22766
  description?: string | undefined;
22767
22767
  inputParameters?: {
22768
22768
  type: "object";
@@ -22794,8 +22794,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
22794
22794
  } | undefined;
22795
22795
  tags?: string[] | undefined;
22796
22796
  toolkit?: {
22797
- name: string;
22798
22797
  slug: string;
22798
+ name: string;
22799
22799
  logo?: string | undefined;
22800
22800
  } | undefined;
22801
22801
  version?: string | undefined;
@@ -1,5 +1,5 @@
1
- import { G as BaseComposioProvider } from "./tool.types-G0Kzw_GF.mjs";
2
- import { n as ComposioConfig } from "./composio-DyBF5dV-.mjs";
1
+ import { G as BaseComposioProvider } from "./tool.types-bencsexi.mjs";
2
+ import { n as ComposioConfig } from "./composio-DILWMxRU.mjs";
3
3
 
4
4
  //#region src/utils/config-defaults/types.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
- import { G as BaseComposioProvider } from "./tool.types-Ci7pnud8.cjs";
2
- import { n as ComposioConfig } from "./composio-Cgg0LHCQ.cjs";
1
+ import { G as BaseComposioProvider } from "./tool.types-BWc7GUrD.cjs";
2
+ import { n as ComposioConfig } from "./composio-C9ZY8W1y.cjs";
3
3
 
4
4
  //#region src/utils/config-defaults/types.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
- import "../../composio-Cgg0LHCQ.cjs";
2
- import { t as ConfigDefaults } from "../../types-DStxAk8G.cjs";
1
+ import "../../composio-C9ZY8W1y.cjs";
2
+ import { t as ConfigDefaults } from "../../types-CpfFMvWX.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
- import "../../tool.types-G0Kzw_GF.mjs";
2
- import "../../customTool.types-CA8_4pl5.mjs";
3
- import "../../composio-DyBF5dV-.mjs";
4
- import { t as ConfigDefaults } from "../../types-CyDYfq9G.mjs";
1
+ import "../../tool.types-bencsexi.mjs";
2
+ import "../../customTool.types-B-4lZeSS.mjs";
3
+ import "../../composio-DILWMxRU.mjs";
4
+ import { t as ConfigDefaults } from "../../types-CKcBI3lc.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-Cgg0LHCQ.cjs";
2
- import { t as ConfigDefaults } from "../../types-DStxAk8G.cjs";
1
+ import "../../composio-C9ZY8W1y.cjs";
2
+ import { t as ConfigDefaults } from "../../types-CpfFMvWX.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
- import "../../tool.types-G0Kzw_GF.mjs";
2
- import "../../customTool.types-CA8_4pl5.mjs";
3
- import "../../composio-DyBF5dV-.mjs";
4
- import { t as ConfigDefaults } from "../../types-CyDYfq9G.mjs";
1
+ import "../../tool.types-bencsexi.mjs";
2
+ import "../../customTool.types-B-4lZeSS.mjs";
3
+ import "../../composio-DILWMxRU.mjs";
4
+ import { t as ConfigDefaults } from "../../types-CKcBI3lc.mjs";
5
5
 
6
6
  //#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
7
7
  declare const CONFIG_DEFAULTS: ConfigDefaults;
@@ -1,4 +1,4 @@
1
- import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-Ci7pnud8.cjs";
1
+ import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-BWc7GUrD.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 { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-G0Kzw_GF.mjs";
1
+ import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-bencsexi.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 { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-Ci7pnud8.cjs";
1
+ import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-BWc7GUrD.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 { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-G0Kzw_GF.mjs";
1
+ import { d as ToolExecuteResponse, l as ToolExecuteParams, o as Tool } from "../../tool.types-bencsexi.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.6",
4
+ "version": "0.6.8",
5
5
  "description": "",
6
6
  "main": "dist/index.mjs",
7
7
  "publishConfig": {