@composio/core 0.6.11 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{CustomTool-VQMc17af.d.mts → CustomTool-Ba10IhPz.d.mts} +1 -1
- package/dist/{CustomTool-D8cxWvi9.mjs → CustomTool-CVwF_isu.mjs} +1 -1
- package/dist/{CustomTool-Cywkgg64.cjs → CustomTool-DnCSEC6t.cjs} +1 -1
- package/dist/{CustomTool-B1b2MXbO.d.cts → CustomTool-nBE0dlz6.d.cts} +1 -1
- package/dist/{FileModifierErrors-DuKpNYju.cjs → FileModifierErrors-BYJBHiay.cjs} +57 -1
- package/dist/{FileModifierErrors-LQwvd6pa.mjs → FileModifierErrors-C7z16Dfi.mjs} +46 -2
- package/dist/{Telemetry-JZNofztq.cjs → Telemetry-Dm-0sewu.cjs} +1 -1
- package/dist/{Telemetry-BJ2KYlDT.mjs → Telemetry-kgWlkavX.mjs} +1 -1
- package/dist/{composio-ruMDVx1b.d.cts → composio-BzzHNwFB.d.cts} +99 -44
- package/dist/{composio-D8u53qsy.d.mts → composio-CHcG9NOJ.d.mts} +99 -44
- package/dist/{customTool.types-9jJUADW-.d.cts → customTool.types-BJQtw3IG.d.cts} +1 -1
- package/dist/{customTool.types-C6-M75bi.d.mts → customTool.types-qSSvYChT.d.mts} +1 -1
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +3 -3
- package/dist/experimental/index.mjs +2 -2
- package/dist/{fileUtils.node-mlBa5nwX.mjs → fileUtils.node-Dq7ebZPC.mjs} +177 -12
- package/dist/{fileUtils.node-DsDsZfEl.cjs → fileUtils.node-DtnSRMWa.cjs} +177 -12
- package/dist/index.cjs +132 -17
- package/dist/index.d.cts +26 -5
- package/dist/index.d.mts +26 -5
- package/dist/index.mjs +131 -18
- package/dist/models/Files.node.cjs +10 -9
- package/dist/models/Files.node.d.cts +3 -2
- package/dist/models/Files.node.d.mts +3 -2
- package/dist/models/Files.node.mjs +10 -9
- package/dist/platform/node.cjs +6 -0
- package/dist/platform/node.d.cts +1 -1
- package/dist/platform/node.d.mts +1 -1
- package/dist/platform/node.mjs +6 -0
- package/dist/platform/workerd.cjs +6 -0
- package/dist/platform/workerd.d.cts +1 -1
- package/dist/platform/workerd.d.mts +1 -1
- package/dist/platform/workerd.mjs +6 -0
- package/dist/{tool.types-C5DMrBdm.d.cts → tool.types-4f4Ktd2s.d.cts} +23 -6
- package/dist/{tool.types-BGrE7Vqc.d.mts → tool.types-DJxP_6-g.d.mts} +23 -6
- package/dist/{types-WkBTUiQh.d.mts → types-BvGecO9n.d.mts} +3 -3
- package/dist/{types-DiL6FAZi.d.cts → types-HpJQ8K9l.d.mts} +10 -0
- package/dist/{types-DZaf5VcY.d.cts → types-W8Zn17SC.d.cts} +3 -3
- package/dist/{types-CXR6l5Sj.d.mts → types-pDNm1lYs.d.cts} +10 -0
- package/dist/utils/config-defaults/ConfigDefaults.node.cjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.node.mjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.cjs +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.cjs +21 -17
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +2 -2
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +2 -2
- package/dist/utils/modifiers/FileToolModifier.node.mjs +21 -17
- package/dist/utils/modifiers/FileToolModifier.workerd.cjs +3 -3
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +3 -3
- package/generated/ably.ts +20 -0
- package/generated/accelo.ts +8 -0
- package/generated/acculynx.ts +17 -0
- package/generated/active_campaign.ts +30 -0
- package/generated/adobe.ts +8 -0
- package/generated/adyntel.ts +12 -0
- package/generated/aero_workflow.ts +8 -0
- package/generated/affinity.ts +29 -0
- package/generated/agencyzoom.ts +108 -0
- package/generated/ahrefs.ts +49 -0
- package/generated/airtable.ts +26 -0
- package/generated/alchemy.ts +16 -0
- package/generated/algolia.ts +39 -0
- package/generated/altoviz.ts +18 -0
- package/generated/amazon.ts +8 -0
- package/generated/amcards.ts +11 -0
- package/generated/amplitude.ts +25 -0
- package/generated/anthropic_administrator.ts +13 -0
- package/generated/apaleo.ts +38 -0
- package/generated/apollo.ts +40 -0
- package/generated/appdrag.ts +8 -0
- package/generated/appsflyer.ts +8 -0
- package/generated/asana.ts +95 -0
- package/generated/ashby.ts +8 -0
- package/generated/atlassian.ts +8 -0
- package/generated/attio.ts +20 -0
- package/generated/auth0.ts +8 -0
- package/generated/axonaut.ts +8 -0
- package/generated/bamboohr.ts +168 -0
- package/generated/bannerbear.ts +17 -0
- package/generated/baserow.ts +11 -0
- package/generated/battlenet.ts +8 -0
- package/generated/beeminder.ts +14 -0
- package/generated/bigmailer.ts +12 -0
- package/generated/bigml.ts +15 -0
- package/generated/bill.ts +218 -0
- package/generated/bitbucket.ts +25 -0
- package/generated/bitwarden.ts +8 -0
- package/generated/blackbaud.ts +8 -0
- package/generated/blackboard.ts +323 -0
- package/generated/boldsign.ts +8 -0
- package/generated/bolna.ts +24 -0
- package/generated/borneo.ts +162 -0
- package/generated/botbaba.ts +8 -0
- package/generated/box.ts +282 -0
- package/generated/braintree.ts +8 -0
- package/generated/brandfetch.ts +15 -0
- package/generated/breezy_hr.ts +8 -0
- package/generated/brevo.ts +28 -0
- package/generated/brex.ts +8 -0
- package/generated/brex_staging.ts +8 -0
- package/generated/brightpearl.ts +8 -0
- package/generated/brilliant_directories.ts +15 -0
- package/generated/browseai.ts +18 -0
- package/generated/browserbase_tool.ts +10 -0
- package/generated/browserhub.ts +8 -0
- package/generated/browserless.ts +16 -0
- package/generated/bubble.ts +8 -0
- package/generated/bugbug.ts +13 -0
- package/generated/builtwith.ts +21 -0
- package/generated/cal.ts +150 -0
- package/generated/calendly.ts +51 -0
- package/generated/canva.ts +41 -0
- package/generated/canvas.ts +100 -0
- package/generated/chatwork.ts +17 -0
- package/generated/chmeetings.ts +8 -0
- package/generated/clickup.ts +153 -0
- package/generated/clockify.ts +23 -0
- package/generated/close.ts +15 -0
- package/generated/cloudflare.ts +10 -0
- package/generated/coda.ts +115 -0
- package/generated/codeinterpreter.ts +14 -0
- package/generated/coinbase.ts +15 -0
- package/generated/coinmarketcal.ts +8 -0
- package/generated/composio.ts +34 -0
- package/generated/composio_search.ts +22 -0
- package/generated/confluence.ts +199 -0
- package/generated/contentful.ts +12 -0
- package/generated/crustdata.ts +23 -0
- package/generated/customer_io.ts +8 -0
- package/generated/cutt_ly.ts +10 -0
- package/generated/d2lbrightspace.ts +54 -0
- package/generated/dailybot.ts +15 -0
- package/generated/datadog.ts +47 -0
- package/generated/datagma.ts +8 -0
- package/generated/datarobot.ts +8 -0
- package/generated/deel.ts +8 -0
- package/generated/demio.ts +8 -0
- package/generated/dialpad.ts +201 -0
- package/generated/digicert.ts +15 -0
- package/generated/discord.ts +17 -0
- package/generated/discordbot.ts +173 -0
- package/generated/docmosis.ts +8 -0
- package/generated/docusign.ts +351 -0
- package/generated/dropbox.ts +20 -0
- package/generated/dropbox_sign.ts +8 -0
- package/generated/dynamics365.ts +25 -0
- package/generated/echtpost.ts +10 -0
- package/generated/elevenlabs.ts +70 -0
- package/generated/emailoctopus.ts +16 -0
- package/generated/enigma.ts +11 -0
- package/generated/entelligence.ts +11 -0
- package/generated/epic_games.ts +8 -0
- package/generated/eventbrite.ts +12 -0
- package/generated/exa.ts +13 -0
- package/generated/excel.ts +34 -0
- package/generated/exist.ts +8 -0
- package/generated/facebook.ts +8 -0
- package/generated/factorial.ts +8 -0
- package/generated/figma.ts +59 -0
- package/generated/finage.ts +19 -0
- package/generated/firecrawl.ts +16 -0
- package/generated/fireflies.ts +21 -0
- package/generated/fitbit.ts +8 -0
- package/generated/flutterwave.ts +33 -0
- package/generated/fomo.ts +10 -0
- package/generated/formcarry.ts +10 -0
- package/generated/formsite.ts +14 -0
- package/generated/foursquare.ts +14 -0
- package/generated/freshbooks.ts +11 -0
- package/generated/freshdesk.ts +16 -0
- package/generated/front.ts +8 -0
- package/generated/github.ts +967 -0
- package/generated/gitlab.ts +82 -0
- package/generated/gmail.d.ts +86 -0
- package/generated/gmail.js +13 -0
- package/generated/gmail.ts +95 -0
- package/generated/go_to_webinar.ts +8 -0
- package/generated/gong.ts +63 -0
- package/generated/google_analytics.ts +13 -0
- package/generated/google_maps.ts +16 -0
- package/generated/googleads.ts +14 -0
- package/generated/googlebigquery.ts +10 -0
- package/generated/googlecalendar.ts +39 -0
- package/generated/googledocs.ts +41 -0
- package/generated/googledrive.ts +62 -0
- package/generated/googlemeet.ts +18 -0
- package/generated/googlephotos.ts +22 -0
- package/generated/googlesheets.ts +40 -0
- package/generated/googleslides.ts +8 -0
- package/generated/googlesuper.ts +230 -0
- package/generated/googletasks.ts +23 -0
- package/generated/gorgias.ts +41 -0
- package/generated/gumroad.ts +14 -0
- package/generated/guru.ts +8 -0
- package/generated/hackernews.ts +15 -0
- package/generated/hackerrank_work.ts +8 -0
- package/generated/harvest.ts +56 -0
- package/generated/helcim.ts +8 -0
- package/generated/heygen.ts +44 -0
- package/generated/highlevel.ts +8 -0
- package/generated/hubspot.ts +252 -0
- package/generated/humanloop.ts +13 -0
- package/generated/icims_talent_cloud.ts +8 -0
- package/generated/idea_scale.ts +8 -0
- package/generated/index.ts +151 -0
- package/generated/insighto_ai.ts +19 -0
- package/generated/intercom.ts +52 -0
- package/generated/interzoid.ts +8 -0
- package/generated/jira.ts +59 -0
- package/generated/jotform.ts +15 -0
- package/generated/junglescout.ts +15 -0
- package/generated/keap.ts +8 -0
- package/generated/kibana.ts +58 -0
- package/generated/kit.ts +38 -0
- package/generated/klaviyo.ts +240 -0
- package/generated/klipfolio.ts +20 -0
- package/generated/kommo.ts +24 -0
- package/generated/lastpass.ts +8 -0
- package/generated/launch_darkly.ts +16 -0
- package/generated/leadfeeder.ts +13 -0
- package/generated/leadoku.ts +10 -0
- package/generated/lever.ts +8 -0
- package/generated/lever_sandbox.ts +8 -0
- package/generated/lexoffice.ts +8 -0
- package/generated/linear.ts +31 -0
- package/generated/linkedin.ts +13 -0
- package/generated/linkhut.ts +14 -0
- package/generated/linkup.ts +11 -0
- package/generated/listennotes.ts +35 -0
- package/generated/lmnt.ts +16 -0
- package/generated/lodgify.ts +10 -0
- package/generated/mailchimp.ts +285 -0
- package/generated/mailerlite.ts +8 -0
- package/generated/maintainx.ts +20 -0
- package/generated/make.ts +12 -0
- package/generated/mboum.ts +8 -0
- package/generated/mem0.ts +52 -0
- package/generated/metaads.ts +25 -0
- package/generated/metatextai.ts +8 -0
- package/generated/microsoft_clarity.ts +10 -0
- package/generated/microsoft_teams.ts +22 -0
- package/generated/microsoft_tenant.ts +8 -0
- package/generated/miro.ts +23 -0
- package/generated/mixpanel.ts +30 -0
- package/generated/mocean.ts +8 -0
- package/generated/monday.ts +30 -0
- package/generated/mopinion.ts +8 -0
- package/generated/more_trees.ts +10 -0
- package/generated/moxie.ts +8 -0
- package/generated/moz.ts +8 -0
- package/generated/mural.ts +14 -0
- package/generated/nasdaq.ts +15 -0
- package/generated/ncscale.ts +8 -0
- package/generated/neon.ts +78 -0
- package/generated/netsuite.ts +8 -0
- package/generated/nextdns.ts +11 -0
- package/generated/ngrok.ts +18 -0
- package/generated/notion.ts +40 -0
- package/generated/oncehub.ts +8 -0
- package/generated/one_drive.ts +49 -0
- package/generated/onepage.ts +11 -0
- package/generated/open_sea.ts +33 -0
- package/generated/outlook.ts +37 -0
- package/generated/pagerduty.ts +362 -0
- package/generated/pandadoc.ts +23 -0
- package/generated/peopledatalabs.ts +24 -0
- package/generated/perplexityai.ts +10 -0
- package/generated/piggy.ts +8 -0
- package/generated/pipedrive.ts +288 -0
- package/generated/placekey.ts +12 -0
- package/generated/posthog.ts +367 -0
- package/generated/precoro.ts +8 -0
- package/generated/printnode.ts +8 -0
- package/generated/process_street.ts +14 -0
- package/generated/productboard.ts +8 -0
- package/generated/qualaroo.ts +8 -0
- package/generated/quickbooks.ts +22 -0
- package/generated/rafflys.ts +8 -0
- package/generated/ragic.ts +10 -0
- package/generated/ramp.ts +17 -0
- package/generated/ravenseotools.ts +8 -0
- package/generated/recallai.ts +17 -0
- package/generated/reddit.ts +19 -0
- package/generated/resend.ts +27 -0
- package/generated/retellai.ts +19 -0
- package/generated/retently.ts +24 -0
- package/generated/ring_central.ts +8 -0
- package/generated/rippling.ts +8 -0
- package/generated/rocket_reach.ts +8 -0
- package/generated/rocketlane.ts +42 -0
- package/generated/rootly.ts +12 -0
- package/generated/rosette_text_analytics.ts +12 -0
- package/generated/sage.ts +8 -0
- package/generated/salesforce.ts +46 -0
- package/generated/scrape_do.ts +28 -0
- package/generated/scrapingant.ts +14 -0
- package/generated/screenshotone.ts +10 -0
- package/generated/seismic.ts +8 -0
- package/generated/semanticscholar.ts +23 -0
- package/generated/semrush.ts +45 -0
- package/generated/sendgrid.ts +384 -0
- package/generated/sentry.ts +185 -0
- package/generated/serpapi.ts +32 -0
- package/generated/servicem8.ts +37 -0
- package/generated/servicenow.ts +14 -0
- package/generated/share_point.ts +15 -0
- package/generated/shopify.ts +37 -0
- package/generated/shortcut.ts +131 -0
- package/generated/simplesat.ts +11 -0
- package/generated/slack.d.ts +16 -0
- package/generated/slack.js +11 -0
- package/generated/slack.ts +24 -0
- package/generated/slackbot.ts +205 -0
- package/generated/smartrecruiters.ts +8 -0
- package/generated/smugmug.ts +14 -0
- package/generated/snowflake.ts +15 -0
- package/generated/sourcegraph.ts +16 -0
- package/generated/square.ts +8 -0
- package/generated/stack_exchange.ts +17 -0
- package/generated/starton.ts +11 -0
- package/generated/storeganise.ts +12 -0
- package/generated/stripe.ts +50 -0
- package/generated/supabase.ts +86 -0
- package/generated/survey_monkey.ts +8 -0
- package/generated/tally.ts +25 -0
- package/generated/tapfiliate.ts +11 -0
- package/generated/tapform.ts +8 -0
- package/generated/tavily.ts +10 -0
- package/generated/terminus.ts +8 -0
- package/generated/text_to_pdf.ts +10 -0
- package/generated/textrazor.ts +22 -0
- package/generated/timecamp.ts +10 -0
- package/generated/timekit.ts +8 -0
- package/generated/timely.ts +11 -0
- package/generated/tinypng.ts +15 -0
- package/generated/tinyurl.ts +10 -0
- package/generated/tisane.ts +15 -0
- package/generated/todoist.ts +19 -0
- package/generated/toneden.ts +8 -0
- package/generated/tpscheck.ts +10 -0
- package/generated/trello.ts +360 -0
- package/generated/twitch.ts +8 -0
- package/generated/twitter.ts +82 -0
- package/generated/twitter_media.ts +10 -0
- package/generated/typefully.ts +14 -0
- package/generated/venly.ts +8 -0
- package/generated/vero.ts +8 -0
- package/generated/visme.ts +8 -0
- package/generated/waboxapp.ts +8 -0
- package/generated/wakatime.ts +8 -0
- package/generated/wave_accounting.ts +8 -0
- package/generated/weathermap.ts +10 -0
- package/generated/webex.ts +37 -0
- package/generated/webflow.ts +30 -0
- package/generated/whatsapp.ts +14 -0
- package/generated/wiz.ts +8 -0
- package/generated/workiom.ts +12 -0
- package/generated/wrike.ts +47 -0
- package/generated/xero.ts +13 -0
- package/generated/yandex.ts +13 -0
- package/generated/ynab.ts +8 -0
- package/generated/yousearch.ts +10 -0
- package/generated/youtube.ts +26 -0
- package/generated/zendesk.ts +23 -0
- package/generated/zenrows.ts +25 -0
- package/generated/zenserp.ts +20 -0
- package/generated/zoho.ts +33 -0
- package/generated/zoho_bigin.ts +21 -0
- package/generated/zoho_books.ts +8 -0
- package/generated/zoho_desk.ts +8 -0
- package/generated/zoho_inventory.ts +8 -0
- package/generated/zoho_invoice.ts +15 -0
- package/generated/zoho_mail.ts +8 -0
- package/generated/zoom.ts +181 -0
- package/generated/zoominfo.ts +26 -0
- package/package.json +1 -1
- package/src/platform/node.ts +8 -0
- package/src/platform/types.ts +12 -0
- package/src/platform/workerd.ts +12 -0
- /package/dist/{FileToolModifier.utils.neutral-BcIR-cVE.mjs → FileToolModifier.utils.neutral-B7P7wn-b.mjs} +0 -0
- /package/dist/{FileToolModifier.utils.neutral-BdMpiyie.cjs → FileToolModifier.utils.neutral-Dfwqgimk.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $t as UpdateConnectedAccountParams, E as Session, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, Kt as CreateConnectedAccountOptions, Pt as ConnectedAccountRefreshOptions, Tt as ConnectionRequest, c as CustomToolInputParameter, jt as ConnectedAccountListResponse, kt as ConnectedAccountListParams, l as CustomToolOptions } from "./customTool.types-
|
|
1
|
+
import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-DJxP_6-g.mjs";
|
|
2
|
+
import { $t as UpdateConnectedAccountParams, E as Session, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, Kt as CreateConnectedAccountOptions, Pt as ConnectedAccountRefreshOptions, Tt as ConnectionRequest, c as CustomToolInputParameter, jt as ConnectedAccountListResponse, kt as ConnectedAccountListParams, l as CustomToolOptions } from "./customTool.types-qSSvYChT.mjs";
|
|
3
3
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
5
5
|
import { OpenAI } from "openai";
|
|
@@ -22,6 +22,12 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
22
22
|
private autoUploadDownloadFiles;
|
|
23
23
|
private toolkitVersions;
|
|
24
24
|
private fileUploadPathOptions;
|
|
25
|
+
/**
|
|
26
|
+
* Tracks tool slugs we've already warned about to avoid spamming the log when
|
|
27
|
+
* the same file-input tool is executed repeatedly while auto-upload is off.
|
|
28
|
+
* Scoped per-instance so a fresh `Composio` starts with a clean slate.
|
|
29
|
+
*/
|
|
30
|
+
private readonly warnedAutoUploadDisabledForTool;
|
|
25
31
|
constructor(client: ComposioClient, config?: ComposioConfig<TProvider>);
|
|
26
32
|
/**
|
|
27
33
|
* Transforms tool data from snake_case API format to camelCase for internal SDK use.
|
|
@@ -48,7 +54,20 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
48
54
|
*/
|
|
49
55
|
private transformToolExecuteResponse;
|
|
50
56
|
/**
|
|
51
|
-
* Applies the default schema modifiers to the tools
|
|
57
|
+
* Applies the default schema modifiers to the tools.
|
|
58
|
+
*
|
|
59
|
+
* The `file_uploadable` transform (collapsing the backend's internal
|
|
60
|
+
* `{ name, mimetype, s3key }` staging shape to `{ type: 'string',
|
|
61
|
+
* format: 'path' }`) is **gated on `dangerouslyAllowAutoUploadDownloadFiles`**
|
|
62
|
+
* — the collapsed shape is a promise that the SDK will stage local paths
|
|
63
|
+
* on your behalf at execute time, and that's only true when the flag is on.
|
|
64
|
+
*
|
|
65
|
+
* When the flag is off, the raw schema is returned unchanged; callers are
|
|
66
|
+
* expected to stage files themselves via `composio.files.upload()` and pass
|
|
67
|
+
* the resulting descriptor into `tools.execute`. If an LLM ends up calling
|
|
68
|
+
* a file-uploadable tool in this mode, the execute path emits a one-shot
|
|
69
|
+
* warning per tool slug (see `applyBeforeExecuteModifiers`).
|
|
70
|
+
*
|
|
52
71
|
* @param tools - The tools to apply the default schema modifiers to
|
|
53
72
|
* @returns The tools with the default schema modifiers applied
|
|
54
73
|
*/
|
|
@@ -2557,16 +2576,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2557
2576
|
toolkits?: string[] | undefined;
|
|
2558
2577
|
connectedAccountId?: string | undefined;
|
|
2559
2578
|
userId?: string | undefined;
|
|
2560
|
-
triggerId?: string | undefined;
|
|
2561
2579
|
authConfigId?: string | undefined;
|
|
2580
|
+
triggerId?: string | undefined;
|
|
2562
2581
|
triggerSlug?: string[] | undefined;
|
|
2563
2582
|
triggerData?: string | undefined;
|
|
2564
2583
|
}, {
|
|
2565
2584
|
toolkits?: string[] | undefined;
|
|
2566
2585
|
connectedAccountId?: string | undefined;
|
|
2567
2586
|
userId?: string | undefined;
|
|
2568
|
-
triggerId?: string | undefined;
|
|
2569
2587
|
authConfigId?: string | undefined;
|
|
2588
|
+
triggerId?: string | undefined;
|
|
2570
2589
|
triggerSlug?: string[] | undefined;
|
|
2571
2590
|
triggerData?: string | undefined;
|
|
2572
2591
|
}>;
|
|
@@ -2611,8 +2630,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2611
2630
|
connectedAccountId: string;
|
|
2612
2631
|
id: string;
|
|
2613
2632
|
updatedAt: string;
|
|
2614
|
-
disabledAt: string | null;
|
|
2615
2633
|
state: Record<string, unknown>;
|
|
2634
|
+
disabledAt: string | null;
|
|
2616
2635
|
triggerConfig: Record<string, unknown>;
|
|
2617
2636
|
triggerName: string;
|
|
2618
2637
|
uuid?: string | undefined;
|
|
@@ -2621,8 +2640,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2621
2640
|
connectedAccountId: string;
|
|
2622
2641
|
id: string;
|
|
2623
2642
|
updatedAt: string;
|
|
2624
|
-
disabledAt: string | null;
|
|
2625
2643
|
state: Record<string, unknown>;
|
|
2644
|
+
disabledAt: string | null;
|
|
2626
2645
|
triggerConfig: Record<string, unknown>;
|
|
2627
2646
|
triggerName: string;
|
|
2628
2647
|
uuid?: string | undefined;
|
|
@@ -2643,8 +2662,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2643
2662
|
connectedAccountId: string;
|
|
2644
2663
|
id: string;
|
|
2645
2664
|
updatedAt: string;
|
|
2646
|
-
disabledAt: string | null;
|
|
2647
2665
|
state: Record<string, unknown>;
|
|
2666
|
+
disabledAt: string | null;
|
|
2648
2667
|
triggerConfig: Record<string, unknown>;
|
|
2649
2668
|
triggerName: string;
|
|
2650
2669
|
uuid?: string | undefined;
|
|
@@ -2653,8 +2672,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2653
2672
|
connectedAccountId: string;
|
|
2654
2673
|
id: string;
|
|
2655
2674
|
updatedAt: string;
|
|
2656
|
-
disabledAt: string | null;
|
|
2657
2675
|
state: Record<string, unknown>;
|
|
2676
|
+
disabledAt: string | null;
|
|
2658
2677
|
triggerConfig: Record<string, unknown>;
|
|
2659
2678
|
triggerName: string;
|
|
2660
2679
|
uuid?: string | undefined;
|
|
@@ -2667,8 +2686,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2667
2686
|
connectedAccountId: string;
|
|
2668
2687
|
id: string;
|
|
2669
2688
|
updatedAt: string;
|
|
2670
|
-
disabledAt: string | null;
|
|
2671
2689
|
state: Record<string, unknown>;
|
|
2690
|
+
disabledAt: string | null;
|
|
2672
2691
|
triggerConfig: Record<string, unknown>;
|
|
2673
2692
|
triggerName: string;
|
|
2674
2693
|
uuid?: string | undefined;
|
|
@@ -2681,8 +2700,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2681
2700
|
connectedAccountId: string;
|
|
2682
2701
|
id: string;
|
|
2683
2702
|
updatedAt: string;
|
|
2684
|
-
disabledAt: string | null;
|
|
2685
2703
|
state: Record<string, unknown>;
|
|
2704
|
+
disabledAt: string | null;
|
|
2686
2705
|
triggerConfig: Record<string, unknown>;
|
|
2687
2706
|
triggerName: string;
|
|
2688
2707
|
uuid?: string | undefined;
|
|
@@ -2809,7 +2828,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2809
2828
|
userId: string;
|
|
2810
2829
|
id: string;
|
|
2811
2830
|
uuid: string;
|
|
2812
|
-
triggerSlug: string;
|
|
2813
2831
|
metadata: {
|
|
2814
2832
|
toolkitSlug: string;
|
|
2815
2833
|
id: string;
|
|
@@ -2826,6 +2844,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2826
2844
|
triggerConfig: Record<string, unknown>;
|
|
2827
2845
|
triggerData?: string | undefined;
|
|
2828
2846
|
};
|
|
2847
|
+
triggerSlug: string;
|
|
2829
2848
|
payload?: Record<string, unknown> | undefined;
|
|
2830
2849
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2831
2850
|
}, {
|
|
@@ -2833,7 +2852,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2833
2852
|
userId: string;
|
|
2834
2853
|
id: string;
|
|
2835
2854
|
uuid: string;
|
|
2836
|
-
triggerSlug: string;
|
|
2837
2855
|
metadata: {
|
|
2838
2856
|
toolkitSlug: string;
|
|
2839
2857
|
id: string;
|
|
@@ -2850,6 +2868,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2850
2868
|
triggerConfig: Record<string, unknown>;
|
|
2851
2869
|
triggerData?: string | undefined;
|
|
2852
2870
|
};
|
|
2871
|
+
triggerSlug: string;
|
|
2853
2872
|
payload?: Record<string, unknown> | undefined;
|
|
2854
2873
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2855
2874
|
}>;
|
|
@@ -2919,8 +2938,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2919
2938
|
slug: string;
|
|
2920
2939
|
logo: string;
|
|
2921
2940
|
};
|
|
2922
|
-
payload: Record<string, unknown>;
|
|
2923
2941
|
config: Record<string, unknown>;
|
|
2942
|
+
payload: Record<string, unknown>;
|
|
2924
2943
|
version?: string | undefined;
|
|
2925
2944
|
instructions?: string | undefined;
|
|
2926
2945
|
}, {
|
|
@@ -2932,8 +2951,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2932
2951
|
slug: string;
|
|
2933
2952
|
logo: string;
|
|
2934
2953
|
};
|
|
2935
|
-
payload: Record<string, unknown>;
|
|
2936
2954
|
config: Record<string, unknown>;
|
|
2955
|
+
payload: Record<string, unknown>;
|
|
2937
2956
|
version?: string | undefined;
|
|
2938
2957
|
instructions?: string | undefined;
|
|
2939
2958
|
}>;
|
|
@@ -2969,8 +2988,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2969
2988
|
slug: string;
|
|
2970
2989
|
logo: string;
|
|
2971
2990
|
};
|
|
2972
|
-
payload: Record<string, unknown>;
|
|
2973
2991
|
config: Record<string, unknown>;
|
|
2992
|
+
payload: Record<string, unknown>;
|
|
2974
2993
|
version?: string | undefined;
|
|
2975
2994
|
instructions?: string | undefined;
|
|
2976
2995
|
}, {
|
|
@@ -2982,8 +3001,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2982
3001
|
slug: string;
|
|
2983
3002
|
logo: string;
|
|
2984
3003
|
};
|
|
2985
|
-
payload: Record<string, unknown>;
|
|
2986
3004
|
config: Record<string, unknown>;
|
|
3005
|
+
payload: Record<string, unknown>;
|
|
2987
3006
|
version?: string | undefined;
|
|
2988
3007
|
instructions?: string | undefined;
|
|
2989
3008
|
}>, "many">;
|
|
@@ -2999,8 +3018,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2999
3018
|
slug: string;
|
|
3000
3019
|
logo: string;
|
|
3001
3020
|
};
|
|
3002
|
-
payload: Record<string, unknown>;
|
|
3003
3021
|
config: Record<string, unknown>;
|
|
3022
|
+
payload: Record<string, unknown>;
|
|
3004
3023
|
version?: string | undefined;
|
|
3005
3024
|
instructions?: string | undefined;
|
|
3006
3025
|
}[];
|
|
@@ -3016,8 +3035,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3016
3035
|
slug: string;
|
|
3017
3036
|
logo: string;
|
|
3018
3037
|
};
|
|
3019
|
-
payload: Record<string, unknown>;
|
|
3020
3038
|
config: Record<string, unknown>;
|
|
3039
|
+
payload: Record<string, unknown>;
|
|
3021
3040
|
version?: string | undefined;
|
|
3022
3041
|
instructions?: string | undefined;
|
|
3023
3042
|
}[];
|
|
@@ -3096,29 +3115,29 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
3096
3115
|
}, "strip", z$1.ZodTypeAny, {
|
|
3097
3116
|
type: string;
|
|
3098
3117
|
data: {
|
|
3118
|
+
user_id: string;
|
|
3099
3119
|
connection_id: string;
|
|
3100
3120
|
trigger_id: string;
|
|
3101
3121
|
connection_nano_id: string;
|
|
3102
3122
|
trigger_nano_id: string;
|
|
3103
|
-
user_id: string;
|
|
3104
3123
|
} & {
|
|
3105
3124
|
[k: string]: unknown;
|
|
3106
3125
|
};
|
|
3107
|
-
log_id: string;
|
|
3108
3126
|
timestamp: string;
|
|
3127
|
+
log_id: string;
|
|
3109
3128
|
}, {
|
|
3110
3129
|
type: string;
|
|
3111
3130
|
data: {
|
|
3131
|
+
user_id: string;
|
|
3112
3132
|
connection_id: string;
|
|
3113
3133
|
trigger_id: string;
|
|
3114
3134
|
connection_nano_id: string;
|
|
3115
3135
|
trigger_nano_id: string;
|
|
3116
|
-
user_id: string;
|
|
3117
3136
|
} & {
|
|
3118
3137
|
[k: string]: unknown;
|
|
3119
3138
|
};
|
|
3120
|
-
log_id: string;
|
|
3121
3139
|
timestamp: string;
|
|
3140
|
+
log_id: string;
|
|
3122
3141
|
}>;
|
|
3123
3142
|
type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
|
|
3124
3143
|
/** V3 webhook payload - generic envelope for all composio.* events */
|
|
@@ -3132,14 +3151,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
3132
3151
|
type: string;
|
|
3133
3152
|
data: Record<string, unknown>;
|
|
3134
3153
|
id: string;
|
|
3135
|
-
metadata: Record<string, unknown>;
|
|
3136
3154
|
timestamp: string;
|
|
3155
|
+
metadata: Record<string, unknown>;
|
|
3137
3156
|
}, {
|
|
3138
3157
|
type: string;
|
|
3139
3158
|
data: Record<string, unknown>;
|
|
3140
3159
|
id: string;
|
|
3141
|
-
metadata: Record<string, unknown>;
|
|
3142
3160
|
timestamp: string;
|
|
3161
|
+
metadata: Record<string, unknown>;
|
|
3143
3162
|
}>;
|
|
3144
3163
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
3145
3164
|
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
@@ -3174,32 +3193,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3174
3193
|
type: string;
|
|
3175
3194
|
data: Record<string, unknown>;
|
|
3176
3195
|
id: string;
|
|
3196
|
+
timestamp: string;
|
|
3177
3197
|
metadata: {
|
|
3198
|
+
user_id: string;
|
|
3178
3199
|
trigger_id: string;
|
|
3179
3200
|
log_id: string;
|
|
3180
|
-
user_id: string;
|
|
3181
3201
|
trigger_slug: string;
|
|
3182
3202
|
connected_account_id: string;
|
|
3183
3203
|
auth_config_id: string;
|
|
3184
3204
|
} & {
|
|
3185
3205
|
[k: string]: unknown;
|
|
3186
3206
|
};
|
|
3187
|
-
timestamp: string;
|
|
3188
3207
|
}, {
|
|
3189
3208
|
type: string;
|
|
3190
3209
|
data: Record<string, unknown>;
|
|
3191
3210
|
id: string;
|
|
3211
|
+
timestamp: string;
|
|
3192
3212
|
metadata: {
|
|
3213
|
+
user_id: string;
|
|
3193
3214
|
trigger_id: string;
|
|
3194
3215
|
log_id: string;
|
|
3195
|
-
user_id: string;
|
|
3196
3216
|
trigger_slug: string;
|
|
3197
3217
|
connected_account_id: string;
|
|
3198
3218
|
auth_config_id: string;
|
|
3199
3219
|
} & {
|
|
3200
3220
|
[k: string]: unknown;
|
|
3201
3221
|
};
|
|
3202
|
-
timestamp: string;
|
|
3203
3222
|
}>;
|
|
3204
3223
|
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
3205
3224
|
/** Union of all webhook payload versions */
|
|
@@ -3213,14 +3232,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3213
3232
|
type: string;
|
|
3214
3233
|
data: Record<string, unknown>;
|
|
3215
3234
|
id: string;
|
|
3216
|
-
metadata: Record<string, unknown>;
|
|
3217
3235
|
timestamp: string;
|
|
3236
|
+
metadata: Record<string, unknown>;
|
|
3218
3237
|
}, {
|
|
3219
3238
|
type: string;
|
|
3220
3239
|
data: Record<string, unknown>;
|
|
3221
3240
|
id: string;
|
|
3222
|
-
metadata: Record<string, unknown>;
|
|
3223
3241
|
timestamp: string;
|
|
3242
|
+
metadata: Record<string, unknown>;
|
|
3224
3243
|
}>, z$1.ZodObject<{
|
|
3225
3244
|
type: z$1.ZodString;
|
|
3226
3245
|
timestamp: z$1.ZodString;
|
|
@@ -3247,29 +3266,29 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3247
3266
|
}, "strip", z$1.ZodTypeAny, {
|
|
3248
3267
|
type: string;
|
|
3249
3268
|
data: {
|
|
3269
|
+
user_id: string;
|
|
3250
3270
|
connection_id: string;
|
|
3251
3271
|
trigger_id: string;
|
|
3252
3272
|
connection_nano_id: string;
|
|
3253
3273
|
trigger_nano_id: string;
|
|
3254
|
-
user_id: string;
|
|
3255
3274
|
} & {
|
|
3256
3275
|
[k: string]: unknown;
|
|
3257
3276
|
};
|
|
3258
|
-
log_id: string;
|
|
3259
3277
|
timestamp: string;
|
|
3278
|
+
log_id: string;
|
|
3260
3279
|
}, {
|
|
3261
3280
|
type: string;
|
|
3262
3281
|
data: {
|
|
3282
|
+
user_id: string;
|
|
3263
3283
|
connection_id: string;
|
|
3264
3284
|
trigger_id: string;
|
|
3265
3285
|
connection_nano_id: string;
|
|
3266
3286
|
trigger_nano_id: string;
|
|
3267
|
-
user_id: string;
|
|
3268
3287
|
} & {
|
|
3269
3288
|
[k: string]: unknown;
|
|
3270
3289
|
};
|
|
3271
|
-
log_id: string;
|
|
3272
3290
|
timestamp: string;
|
|
3291
|
+
log_id: string;
|
|
3273
3292
|
}>, z$1.ZodObject<{
|
|
3274
3293
|
trigger_name: z$1.ZodString;
|
|
3275
3294
|
connection_id: z$1.ZodString;
|
|
@@ -3329,15 +3348,15 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
3329
3348
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3330
3349
|
}, "strip", z$1.ZodTypeAny, {
|
|
3331
3350
|
id: string;
|
|
3332
|
-
payload: string;
|
|
3333
3351
|
timestamp: string;
|
|
3352
|
+
payload: string;
|
|
3334
3353
|
secret: string;
|
|
3335
3354
|
signature: string;
|
|
3336
3355
|
tolerance: number;
|
|
3337
3356
|
}, {
|
|
3338
3357
|
id: string;
|
|
3339
|
-
payload: string;
|
|
3340
3358
|
timestamp: string;
|
|
3359
|
+
payload: string;
|
|
3341
3360
|
secret: string;
|
|
3342
3361
|
signature: string;
|
|
3343
3362
|
tolerance?: number | undefined;
|
|
@@ -5049,11 +5068,11 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
|
|
|
5049
5068
|
*/
|
|
5050
5069
|
allowTracking?: boolean;
|
|
5051
5070
|
/**
|
|
5052
|
-
*
|
|
5053
|
-
*
|
|
5054
|
-
* @default
|
|
5071
|
+
* Opt in to automatic file upload and download during tool execution (reads local paths
|
|
5072
|
+
* and fetches URLs marked as file-uploadable in tool schemas). Disabled by default.
|
|
5073
|
+
* @default false
|
|
5055
5074
|
*/
|
|
5056
|
-
|
|
5075
|
+
dangerouslyAllowAutoUploadDownloadFiles?: boolean;
|
|
5057
5076
|
/**
|
|
5058
5077
|
* When true, local file paths for auto-upload and `files.upload` are checked against
|
|
5059
5078
|
* a built-in denylist of sensitive path segments (e.g. `.ssh`, `.aws`) and
|
|
@@ -5067,6 +5086,33 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
|
|
|
5067
5086
|
* they appear anywhere in the resolved path. Merged with the built-in list.
|
|
5068
5087
|
*/
|
|
5069
5088
|
fileUploadPathDenySegments?: string[];
|
|
5089
|
+
/**
|
|
5090
|
+
* Allowlist of directories from which the SDK is allowed to read local files
|
|
5091
|
+
* during **automatic** file upload (when
|
|
5092
|
+
* `dangerouslyAllowAutoUploadDownloadFiles: true`). Manual
|
|
5093
|
+
* `composio.files.upload()` calls are NOT subject to this allowlist.
|
|
5094
|
+
*
|
|
5095
|
+
* - `undefined` (default) → `[<home>/.composio/temp]`.
|
|
5096
|
+
* - `false` → reject every local path during auto-upload. URLs
|
|
5097
|
+
* (`http(s)://...`) and `File`/`Blob` objects continue to work.
|
|
5098
|
+
* - `string[]` (non-empty) → use as the allowlist. A file is accepted iff
|
|
5099
|
+
* its symlink-resolved absolute path is inside one of these directories
|
|
5100
|
+
* on a path-component boundary (so `/tmp/foo` allows `/tmp/foo/bar` but
|
|
5101
|
+
* NOT `/tmp/foo-bar`).
|
|
5102
|
+
* - `[]` → behaves like `false` (kept as an alias; prefer `false` for
|
|
5103
|
+
* readability).
|
|
5104
|
+
* - Providing any value **replaces** the default. Include `~/.composio/temp`
|
|
5105
|
+
* in your list if you want the default staging dir to keep working.
|
|
5106
|
+
* - On Windows, entries are compared case-insensitively.
|
|
5107
|
+
*/
|
|
5108
|
+
fileUploadDirs?: string[] | false;
|
|
5109
|
+
/**
|
|
5110
|
+
* Directory where files downloaded during tool execution (and
|
|
5111
|
+
* `composio.files.download()`) are written. Defaults to
|
|
5112
|
+
* `<home>/.composio/files`. Path is expanded at SDK-init time; relative
|
|
5113
|
+
* paths resolve against `process.cwd()`.
|
|
5114
|
+
*/
|
|
5115
|
+
fileDownloadDir?: string;
|
|
5070
5116
|
/**
|
|
5071
5117
|
* The tool provider to use for this Composio instance.
|
|
5072
5118
|
* @example new OpenAIProvider()
|
|
@@ -5243,10 +5289,19 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5243
5289
|
*/
|
|
5244
5290
|
getClient(): ComposioClient;
|
|
5245
5291
|
/**
|
|
5246
|
-
* Get the configuration SDK is initialized with
|
|
5247
|
-
*
|
|
5292
|
+
* Get the configuration SDK is initialized with.
|
|
5293
|
+
*
|
|
5294
|
+
* Returns a frozen shallow clone — the SDK has already snapshotted
|
|
5295
|
+
* configuration values such as `dangerouslyAllowAutoUploadDownloadFiles`,
|
|
5296
|
+
* `fileUploadDirs`, and `fileDownloadDir` into its internal models, so
|
|
5297
|
+
* mutating the live config object would silently no-op. Freezing makes
|
|
5298
|
+
* that contract visible at the call site instead of letting the mutation
|
|
5299
|
+
* appear successful.
|
|
5300
|
+
*
|
|
5301
|
+
* @returns {Readonly<ComposioConfig<TProvider>>} The frozen configuration
|
|
5302
|
+
* the SDK is initialized with.
|
|
5248
5303
|
*/
|
|
5249
|
-
getConfig(): ComposioConfig<TProvider
|
|
5304
|
+
getConfig(): Readonly<ComposioConfig<TProvider>>;
|
|
5250
5305
|
/**
|
|
5251
5306
|
* Creates a new instance of the Composio SDK with custom request options while preserving the existing configuration.
|
|
5252
5307
|
* This method is particularly useful when you need to:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-4f4Ktd2s.cjs";
|
|
2
2
|
import z$1, { z } from "zod/v3";
|
|
3
3
|
import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
4
4
|
import { Composio } from "@composio/client";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as SessionMetaToolOptions, nn as ConnectionDataSchema, o as Tool, q as BaseComposioProvider, tn as ConnectionData, v as ToolProxyParams } from "./tool.types-DJxP_6-g.mjs";
|
|
2
2
|
import { Composio } from "@composio/client";
|
|
3
3
|
import z, { z as z$1 } from "zod/v3";
|
|
4
4
|
import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('../FileModifierErrors-
|
|
2
|
-
const require_CustomTool = require('../CustomTool-
|
|
1
|
+
require('../FileModifierErrors-BYJBHiay.cjs');
|
|
2
|
+
const require_CustomTool = require('../CustomTool-DnCSEC6t.cjs');
|
|
3
3
|
|
|
4
4
|
exports.experimental_createTool = require_CustomTool.createCustomTool;
|
|
5
5
|
exports.experimental_createToolkit = require_CustomTool.createCustomToolkit;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-
|
|
2
|
-
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-
|
|
1
|
+
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-BJQtw3IG.cjs";
|
|
2
|
+
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-nBE0dlz6.cjs";
|
|
3
3
|
export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../tool.types-
|
|
2
|
-
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-
|
|
3
|
-
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-
|
|
1
|
+
import "../tool.types-DJxP_6-g.mjs";
|
|
2
|
+
import { C as SessionContext, a as CustomTool, i as CreateCustomToolkitParams, m as CustomToolkit, n as CreateCustomToolParams, s as CustomToolExecuteFn } from "../customTool.types-qSSvYChT.mjs";
|
|
3
|
+
import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-Ba10IhPz.mjs";
|
|
4
4
|
export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../chunk-CWQeghP5.mjs";
|
|
2
|
-
import "../FileModifierErrors-
|
|
3
|
-
import { n as createCustomTool, r as createCustomToolkit } from "../CustomTool-
|
|
2
|
+
import "../FileModifierErrors-C7z16Dfi.mjs";
|
|
3
|
+
import { n as createCustomTool, r as createCustomToolkit } from "../CustomTool-CVwF_isu.mjs";
|
|
4
4
|
|
|
5
5
|
export { createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
|