@composio/core 0.6.10 → 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-w_JFqb4t.d.mts → CustomTool-Ba10IhPz.d.mts} +1 -1
- package/dist/{CustomTool-AYNimqhf.mjs → CustomTool-CVwF_isu.mjs} +1 -1
- package/dist/{CustomTool-Cyo1aJ2l.cjs → CustomTool-DnCSEC6t.cjs} +28 -28
- package/dist/{CustomTool-BpjZfEYa.d.cts → CustomTool-nBE0dlz6.d.cts} +1 -1
- package/dist/{ComposioError-CYaI68Mo.cjs → FileModifierErrors-BYJBHiay.cjs} +130 -0
- package/dist/{ComposioError-ChkSdxqU.mjs → FileModifierErrors-C7z16Dfi.mjs} +95 -1
- package/dist/{Telemetry-A89k5RTv.cjs → Telemetry-Dm-0sewu.cjs} +17 -17
- package/dist/{Telemetry-CjVa99gU.mjs → Telemetry-kgWlkavX.mjs} +1 -1
- package/dist/{composio-CQuG4JPT.d.cts → composio-BzzHNwFB.d.cts} +251 -192
- package/dist/{composio-HztGH0kt.d.mts → composio-CHcG9NOJ.d.mts} +251 -192
- package/dist/{customTool.types-BxvwmFDN.d.cts → customTool.types-BJQtw3IG.d.cts} +17 -51
- package/dist/{customTool.types-CBLEoQnI.d.mts → customTool.types-qSSvYChT.d.mts} +17 -51
- 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-Dq7ebZPC.mjs +447 -0
- package/dist/fileUtils.node-DtnSRMWa.cjs +462 -0
- package/dist/index.cjs +220 -111
- package/dist/index.d.cts +52 -7
- package/dist/index.d.mts +52 -7
- package/dist/index.mjs +157 -54
- package/dist/models/Files.node.cjs +11 -6
- package/dist/models/Files.node.d.cts +6 -1
- package/dist/models/Files.node.d.mts +6 -1
- package/dist/models/Files.node.mjs +11 -6
- 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 +13 -7
- 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-BWc7GUrD.d.cts → tool.types-4f4Ktd2s.d.cts} +53 -23
- package/dist/{tool.types-bencsexi.d.mts → tool.types-DJxP_6-g.d.mts} +53 -23
- package/dist/{types-BZc_R1DA.d.mts → types-BvGecO9n.d.mts} +3 -3
- package/dist/{types-DiL6FAZi.d.cts → types-HpJQ8K9l.d.mts} +10 -0
- package/dist/{types-CJQ9IGrf.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 +69 -34
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +4 -3
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +4 -3
- package/dist/utils/modifiers/FileToolModifier.node.mjs +65 -30
- 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/fileUtils.node-BOZnseMe.mjs +0 -220
- package/dist/fileUtils.node-DF-AY0Td.cjs +0 -233
- /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
|
@@ -20884,12 +20884,12 @@ declare const MCPGenerateURLParamsSchema: z.ZodObject<{
|
|
|
20884
20884
|
isChatAuth: z.ZodOptional<z.ZodBoolean>;
|
|
20885
20885
|
}, "strip", z.ZodTypeAny, {
|
|
20886
20886
|
userIds?: string[] | undefined;
|
|
20887
|
-
connectedAccountIds?: string[] | undefined;
|
|
20888
20887
|
isChatAuth?: boolean | undefined;
|
|
20888
|
+
connectedAccountIds?: string[] | undefined;
|
|
20889
20889
|
}, {
|
|
20890
20890
|
userIds?: string[] | undefined;
|
|
20891
|
-
connectedAccountIds?: string[] | undefined;
|
|
20892
20891
|
isChatAuth?: boolean | undefined;
|
|
20892
|
+
connectedAccountIds?: string[] | undefined;
|
|
20893
20893
|
}>;
|
|
20894
20894
|
type MCPGenerateURLParams = z.infer<typeof MCPGenerateURLParamsSchema>;
|
|
20895
20895
|
declare const ComposioGenerateURLParamsSchema: z.ZodObject<{
|
|
@@ -21860,6 +21860,36 @@ type afterExecuteModifier = (context: {
|
|
|
21860
21860
|
toolkitSlug: string;
|
|
21861
21861
|
result: ToolExecuteResponse;
|
|
21862
21862
|
}) => Promise<ToolExecuteResponse> | ToolExecuteResponse;
|
|
21863
|
+
/**
|
|
21864
|
+
* Discriminates what kind of input the hook is seeing:
|
|
21865
|
+
*
|
|
21866
|
+
* - `'path'` — a local filesystem path string.
|
|
21867
|
+
* - `'url'` — an `http(s)://...` URL string.
|
|
21868
|
+
* - `'file'` — a `File` object; `path` holds `file.name` (a filename, NOT a
|
|
21869
|
+
* filesystem path). Returning a string from the hook in this case replaces
|
|
21870
|
+
* the `File` with a local-path upload.
|
|
21871
|
+
*/
|
|
21872
|
+
type BeforeFileUploadSource = 'path' | 'url' | 'file';
|
|
21873
|
+
/**
|
|
21874
|
+
* Called for each `file_uploadable` value before the SDK reads the file and
|
|
21875
|
+
* uploads to storage.
|
|
21876
|
+
*
|
|
21877
|
+
* - `context.path` holds the local path, the URL, or the `File`'s name
|
|
21878
|
+
* depending on `context.source`.
|
|
21879
|
+
* - Return a string to replace the input (e.g. rewrite the path, redirect a
|
|
21880
|
+
* URL, or swap a `File` for a filesystem path).
|
|
21881
|
+
* - Return `false` to abort the upload with `ComposioFileUploadAbortedError`.
|
|
21882
|
+
* - Throwing an error also aborts.
|
|
21883
|
+
*/
|
|
21884
|
+
type beforeFileUploadModifier = (context: {
|
|
21885
|
+
path: string;
|
|
21886
|
+
source: BeforeFileUploadSource;
|
|
21887
|
+
toolSlug: string;
|
|
21888
|
+
toolkitSlug: string;
|
|
21889
|
+
}) => Promise<string | false> | string | false;
|
|
21890
|
+
type BeforeFileUploadHook = {
|
|
21891
|
+
beforeFileUpload?: beforeFileUploadModifier;
|
|
21892
|
+
};
|
|
21863
21893
|
/**
|
|
21864
21894
|
* Modifier for altering the tool schema before it's exposed to consumers.
|
|
21865
21895
|
*
|
|
@@ -22029,7 +22059,7 @@ type ToolOptions = {
|
|
|
22029
22059
|
* This allows customizing input/output parameters, descriptions, and other metadata.
|
|
22030
22060
|
*/
|
|
22031
22061
|
modifySchema?: TransformToolSchemaModifier;
|
|
22032
|
-
};
|
|
22062
|
+
} & BeforeFileUploadHook;
|
|
22033
22063
|
/**
|
|
22034
22064
|
* Options for configuring tool execution behavior.
|
|
22035
22065
|
*
|
|
@@ -22068,7 +22098,7 @@ type ExecuteToolModifiers = {
|
|
|
22068
22098
|
* This allows transforming the response or implementing custom error handling.
|
|
22069
22099
|
*/
|
|
22070
22100
|
afterExecute?: afterExecuteModifier;
|
|
22071
|
-
};
|
|
22101
|
+
} & BeforeFileUploadHook;
|
|
22072
22102
|
/**
|
|
22073
22103
|
* Type alias for meta tool execution arguments.
|
|
22074
22104
|
* Represents the arguments passed to a meta tool during execution.
|
|
@@ -22308,12 +22338,12 @@ declare const ToolkitSchema: z.ZodObject<{
|
|
|
22308
22338
|
name: z.ZodString;
|
|
22309
22339
|
logo: z.ZodOptional<z.ZodString>;
|
|
22310
22340
|
}, "strip", z.ZodTypeAny, {
|
|
22311
|
-
slug: string;
|
|
22312
22341
|
name: string;
|
|
22342
|
+
slug: string;
|
|
22313
22343
|
logo?: string | undefined;
|
|
22314
22344
|
}, {
|
|
22315
|
-
slug: string;
|
|
22316
22345
|
name: string;
|
|
22346
|
+
slug: string;
|
|
22317
22347
|
logo?: string | undefined;
|
|
22318
22348
|
}>;
|
|
22319
22349
|
type Toolkit = z.infer<typeof ToolkitSchema>;
|
|
@@ -22415,12 +22445,12 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
22415
22445
|
name: z.ZodString;
|
|
22416
22446
|
logo: z.ZodOptional<z.ZodString>;
|
|
22417
22447
|
}, "strip", z.ZodTypeAny, {
|
|
22418
|
-
slug: string;
|
|
22419
22448
|
name: string;
|
|
22449
|
+
slug: string;
|
|
22420
22450
|
logo?: string | undefined;
|
|
22421
22451
|
}, {
|
|
22422
|
-
slug: string;
|
|
22423
22452
|
name: string;
|
|
22453
|
+
slug: string;
|
|
22424
22454
|
logo?: string | undefined;
|
|
22425
22455
|
}>>;
|
|
22426
22456
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -22429,8 +22459,8 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
22429
22459
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22430
22460
|
isNoAuth: z.ZodOptional<z.ZodBoolean>;
|
|
22431
22461
|
}, "strip", z.ZodTypeAny, {
|
|
22432
|
-
slug: string;
|
|
22433
22462
|
name: string;
|
|
22463
|
+
slug: string;
|
|
22434
22464
|
description?: string | undefined;
|
|
22435
22465
|
inputParameters?: {
|
|
22436
22466
|
type: "object";
|
|
@@ -22462,8 +22492,8 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
22462
22492
|
} | undefined;
|
|
22463
22493
|
tags?: string[] | undefined;
|
|
22464
22494
|
toolkit?: {
|
|
22465
|
-
slug: string;
|
|
22466
22495
|
name: string;
|
|
22496
|
+
slug: string;
|
|
22467
22497
|
logo?: string | undefined;
|
|
22468
22498
|
} | undefined;
|
|
22469
22499
|
version?: string | undefined;
|
|
@@ -22472,8 +22502,8 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
22472
22502
|
scopes?: string[] | undefined;
|
|
22473
22503
|
isNoAuth?: boolean | undefined;
|
|
22474
22504
|
}, {
|
|
22475
|
-
slug: string;
|
|
22476
22505
|
name: string;
|
|
22506
|
+
slug: string;
|
|
22477
22507
|
description?: string | undefined;
|
|
22478
22508
|
inputParameters?: {
|
|
22479
22509
|
type: "object";
|
|
@@ -22505,8 +22535,8 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
22505
22535
|
} | undefined;
|
|
22506
22536
|
tags?: string[] | undefined;
|
|
22507
22537
|
toolkit?: {
|
|
22508
|
-
slug: string;
|
|
22509
22538
|
name: string;
|
|
22539
|
+
slug: string;
|
|
22510
22540
|
logo?: string | undefined;
|
|
22511
22541
|
} | undefined;
|
|
22512
22542
|
version?: string | undefined;
|
|
@@ -22610,12 +22640,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22610
22640
|
name: z.ZodString;
|
|
22611
22641
|
logo: z.ZodOptional<z.ZodString>;
|
|
22612
22642
|
}, "strip", z.ZodTypeAny, {
|
|
22613
|
-
slug: string;
|
|
22614
22643
|
name: string;
|
|
22644
|
+
slug: string;
|
|
22615
22645
|
logo?: string | undefined;
|
|
22616
22646
|
}, {
|
|
22617
|
-
slug: string;
|
|
22618
22647
|
name: string;
|
|
22648
|
+
slug: string;
|
|
22619
22649
|
logo?: string | undefined;
|
|
22620
22650
|
}>>;
|
|
22621
22651
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -22624,8 +22654,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22624
22654
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22625
22655
|
isNoAuth: z.ZodOptional<z.ZodBoolean>;
|
|
22626
22656
|
}, "strip", z.ZodTypeAny, {
|
|
22627
|
-
slug: string;
|
|
22628
22657
|
name: string;
|
|
22658
|
+
slug: string;
|
|
22629
22659
|
description?: string | undefined;
|
|
22630
22660
|
inputParameters?: {
|
|
22631
22661
|
type: "object";
|
|
@@ -22657,8 +22687,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22657
22687
|
} | undefined;
|
|
22658
22688
|
tags?: string[] | undefined;
|
|
22659
22689
|
toolkit?: {
|
|
22660
|
-
slug: string;
|
|
22661
22690
|
name: string;
|
|
22691
|
+
slug: string;
|
|
22662
22692
|
logo?: string | undefined;
|
|
22663
22693
|
} | undefined;
|
|
22664
22694
|
version?: string | undefined;
|
|
@@ -22667,8 +22697,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22667
22697
|
scopes?: string[] | undefined;
|
|
22668
22698
|
isNoAuth?: boolean | undefined;
|
|
22669
22699
|
}, {
|
|
22670
|
-
slug: string;
|
|
22671
22700
|
name: string;
|
|
22701
|
+
slug: string;
|
|
22672
22702
|
description?: string | undefined;
|
|
22673
22703
|
inputParameters?: {
|
|
22674
22704
|
type: "object";
|
|
@@ -22700,8 +22730,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22700
22730
|
} | undefined;
|
|
22701
22731
|
tags?: string[] | undefined;
|
|
22702
22732
|
toolkit?: {
|
|
22703
|
-
slug: string;
|
|
22704
22733
|
name: string;
|
|
22734
|
+
slug: string;
|
|
22705
22735
|
logo?: string | undefined;
|
|
22706
22736
|
} | undefined;
|
|
22707
22737
|
version?: string | undefined;
|
|
@@ -22714,8 +22744,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22714
22744
|
totalPages: z.ZodNumber;
|
|
22715
22745
|
}, "strip", z.ZodTypeAny, {
|
|
22716
22746
|
items: {
|
|
22717
|
-
slug: string;
|
|
22718
22747
|
name: string;
|
|
22748
|
+
slug: string;
|
|
22719
22749
|
description?: string | undefined;
|
|
22720
22750
|
inputParameters?: {
|
|
22721
22751
|
type: "object";
|
|
@@ -22747,8 +22777,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22747
22777
|
} | undefined;
|
|
22748
22778
|
tags?: string[] | undefined;
|
|
22749
22779
|
toolkit?: {
|
|
22750
|
-
slug: string;
|
|
22751
22780
|
name: string;
|
|
22781
|
+
slug: string;
|
|
22752
22782
|
logo?: string | undefined;
|
|
22753
22783
|
} | undefined;
|
|
22754
22784
|
version?: string | undefined;
|
|
@@ -22761,8 +22791,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22761
22791
|
nextCursor?: string | null | undefined;
|
|
22762
22792
|
}, {
|
|
22763
22793
|
items: {
|
|
22764
|
-
slug: string;
|
|
22765
22794
|
name: string;
|
|
22795
|
+
slug: string;
|
|
22766
22796
|
description?: string | undefined;
|
|
22767
22797
|
inputParameters?: {
|
|
22768
22798
|
type: "object";
|
|
@@ -22794,8 +22824,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
|
|
|
22794
22824
|
} | undefined;
|
|
22795
22825
|
tags?: string[] | undefined;
|
|
22796
22826
|
toolkit?: {
|
|
22797
|
-
slug: string;
|
|
22798
22827
|
name: string;
|
|
22828
|
+
slug: string;
|
|
22799
22829
|
logo?: string | undefined;
|
|
22800
22830
|
} | undefined;
|
|
22801
22831
|
version?: string | undefined;
|
|
@@ -28781,4 +28811,4 @@ type ToolRetrievalOptions = {
|
|
|
28781
28811
|
version?: ToolkitVersion;
|
|
28782
28812
|
};
|
|
28783
28813
|
//#endregion
|
|
28784
|
-
export {
|
|
28814
|
+
export { ComposioMcpListResponseSchema as $, BaseConnectionFields as $t, ToolkitVersions as A, Oauth2ExpiredConnectionDataSchema as An, MCPSingleAppServerSchema as At, TransformToolSchemaModifier as B, McpServerCreateResponse as Bt, ToolkitLatestVersion as C, Oauth1InitiatingConnectionData as Cn, MCPServerCreateResponseSchema as Ct, ToolkitVersionParam as D, Oauth2ConnectionData as Dn, MCPServerUpdateParams as Dt, ToolkitVersion as E, Oauth2ActiveConnectionDataSchema as En, MCPServerSchema as Et, MetaToolArguments as F, Oauth2InitiatedConnectionData as Fn, McpDeleteResponseSchema as Ft, beforeFileUploadModifier as G, McpUpdateResponseSchema as Gt, afterExecuteModifier as H, McpServerUrlInfo as Ht, ProviderOptions as I, Oauth2InitiatedConnectionDataSchema as In, McpListResponse as It, BaseNonAgenticProvider as J, McpUserConnectionStatus as Jt, BaseAgenticProvider as K, McpUrlResponse as Kt, SessionExecuteMetaModifiers as L, Oauth2InitiatingConnectionData as Ln, McpListResponseSchema as Lt, AgenticToolOptions as M, Oauth2FailedConnectionDataSchema as Mn, MCPToolkitConfigSchema as Mt, BeforeFileUploadSource as N, Oauth2InactiveConnectionData as Nn, MCPToolkitConfigsArraySchema as Nt, ToolkitVersionParamSchema as O, Oauth2ConnectionDataSchema as On, MCPServerUpdateParamsSchema as Ot, ExecuteToolModifiers as P, Oauth2InactiveConnectionDataSchema as Pn, McpDeleteResponse as Pt, ComposioMcpDeleteResponseSchema as Q, Provider as Qt, SessionMetaToolOptions as R, Oauth2InitiatingConnectionDataSchema as Rn, McpRetrieveResponse as Rt, Toolkit as S, Oauth1InitiatedConnectionDataSchema as Sn, MCPServerCreateResponse as St, ToolkitSchema as T, Oauth2ActiveConnectionData as Tn, MCPServerListResponseSchema as Tt, beforeExecuteMetaModifier as U, McpToolkitConnectionStatus as Ut, afterExecuteMetaModifier as V, McpServerGetResponse as Vt, beforeExecuteModifier as W, McpUpdateResponse as Wt, ComposioGenerateURLParamsSchema as X, ExecuteToolFnOptions as Xt, ComposioCustomCreateResponseSchema as Y, ExecuteToolFn as Yt, ComposioGenerateURLResponseSchema as Z, GlobalExecuteToolFn as Zt, ToolListResponseSchema as _, Oauth1FailedConnectionData as _n, MCPGetServerParamsSchema as _t, SchemaModifierOptions as a, CustomConnectionData as an, CustomCreateResponseValidated as at, ToolRetrievalOptions as b, Oauth1InactiveConnectionDataSchema as bn, MCPMultiAppServerSchema as bt, ToolExecuteMetaParamsSchema as c, CustomOauth1ConnectionDataSchema as cn, GenerateURLResponse$1 as ct, ToolExecuteResponse as d, Oauth1ActiveConnectionData as dn, MCPAuthOptions as dt, BillcomAuthConnectionDataSchema as en, ComposioMcpRetrieveResponseSchema as et, ToolExecuteResponseSchema as f, Oauth1ActiveConnectionDataSchema as fn, MCPAuthOptionsSchema as ft, ToolListResponse as g, Oauth1ExpiredConnectionDataSchema as gn, MCPGetServerParams as gt, ToolListParamsSchema as h, Oauth1ExpiredConnectionData as hn, MCPGenerateURLParamsSchema as ht, JSONSchemaPropertySchema as i, ConnectionStatuses as in, CustomCreateResponseSchema as it, ToolkitVersionsSchema as j, Oauth2FailedConnectionData as jn, MCPToolkitConfig as jt, ToolkitVersionSchema as k, Oauth2ExpiredConnectionData as kn, MCPSingleAppServer as kt, ToolExecuteParams as l, CustomOauth2ConnectionData as ln, GenerateURLResponseSchema as lt, ToolListParams as m, Oauth1ConnectionDataSchema as mn, MCPGenerateURLParams as mt, CustomAuthParamsSchema as n, ConnectionDataSchema as nn, ConnectionStatus as nt, Tool as o, CustomConnectionDataSchema as on, GenerateURLParams as ot, ToolList as p, Oauth1ConnectionData as pn, MCPCreateMethodResponse as pt, BaseComposioProvider as q, McpUrlResponseCamelCase as qt, JSONSchemaProperty as r, ConnectionStatusEnum as rn, CustomCreateResponse$1 as rt, ToolExecuteMetaParams as s, CustomOauth1ConnectionData as sn, GenerateURLParamsSchema as st, CustomAuthParams as t, ConnectionData as tn, ComposioMcpUpdateResponseSchema as tt, ToolExecuteParamsSchema as u, CustomOauth2ConnectionDataSchema as un, GenerateURLResponseValidated as ut, ToolProxyParams as v, Oauth1FailedConnectionDataSchema as vn, MCPInstanceParams as vt, ToolkitLatestVersionSchema as w, Oauth1InitiatingConnectionDataSchema as wn, MCPServerListResponse as wt, ToolSchema as x, Oauth1InitiatedConnectionData as xn, MCPServer as xt, ToolProxyParamsSchema as y, Oauth1InactiveConnectionData as yn, MCPMultiAppServer as yt, ToolOptions as z, RedirectableAuthSchemeSchema as zn, McpRetrieveResponseSchema as zt };
|
|
@@ -20884,12 +20884,12 @@ declare const MCPGenerateURLParamsSchema: z$1.ZodObject<{
|
|
|
20884
20884
|
isChatAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
20885
20885
|
}, "strip", z$1.ZodTypeAny, {
|
|
20886
20886
|
userIds?: string[] | undefined;
|
|
20887
|
-
connectedAccountIds?: string[] | undefined;
|
|
20888
20887
|
isChatAuth?: boolean | undefined;
|
|
20888
|
+
connectedAccountIds?: string[] | undefined;
|
|
20889
20889
|
}, {
|
|
20890
20890
|
userIds?: string[] | undefined;
|
|
20891
|
-
connectedAccountIds?: string[] | undefined;
|
|
20892
20891
|
isChatAuth?: boolean | undefined;
|
|
20892
|
+
connectedAccountIds?: string[] | undefined;
|
|
20893
20893
|
}>;
|
|
20894
20894
|
type MCPGenerateURLParams = z$1.infer<typeof MCPGenerateURLParamsSchema>;
|
|
20895
20895
|
declare const ComposioGenerateURLParamsSchema: z$1.ZodObject<{
|
|
@@ -21860,6 +21860,36 @@ type afterExecuteModifier = (context: {
|
|
|
21860
21860
|
toolkitSlug: string;
|
|
21861
21861
|
result: ToolExecuteResponse;
|
|
21862
21862
|
}) => Promise<ToolExecuteResponse> | ToolExecuteResponse;
|
|
21863
|
+
/**
|
|
21864
|
+
* Discriminates what kind of input the hook is seeing:
|
|
21865
|
+
*
|
|
21866
|
+
* - `'path'` — a local filesystem path string.
|
|
21867
|
+
* - `'url'` — an `http(s)://...` URL string.
|
|
21868
|
+
* - `'file'` — a `File` object; `path` holds `file.name` (a filename, NOT a
|
|
21869
|
+
* filesystem path). Returning a string from the hook in this case replaces
|
|
21870
|
+
* the `File` with a local-path upload.
|
|
21871
|
+
*/
|
|
21872
|
+
type BeforeFileUploadSource = 'path' | 'url' | 'file';
|
|
21873
|
+
/**
|
|
21874
|
+
* Called for each `file_uploadable` value before the SDK reads the file and
|
|
21875
|
+
* uploads to storage.
|
|
21876
|
+
*
|
|
21877
|
+
* - `context.path` holds the local path, the URL, or the `File`'s name
|
|
21878
|
+
* depending on `context.source`.
|
|
21879
|
+
* - Return a string to replace the input (e.g. rewrite the path, redirect a
|
|
21880
|
+
* URL, or swap a `File` for a filesystem path).
|
|
21881
|
+
* - Return `false` to abort the upload with `ComposioFileUploadAbortedError`.
|
|
21882
|
+
* - Throwing an error also aborts.
|
|
21883
|
+
*/
|
|
21884
|
+
type beforeFileUploadModifier = (context: {
|
|
21885
|
+
path: string;
|
|
21886
|
+
source: BeforeFileUploadSource;
|
|
21887
|
+
toolSlug: string;
|
|
21888
|
+
toolkitSlug: string;
|
|
21889
|
+
}) => Promise<string | false> | string | false;
|
|
21890
|
+
type BeforeFileUploadHook = {
|
|
21891
|
+
beforeFileUpload?: beforeFileUploadModifier;
|
|
21892
|
+
};
|
|
21863
21893
|
/**
|
|
21864
21894
|
* Modifier for altering the tool schema before it's exposed to consumers.
|
|
21865
21895
|
*
|
|
@@ -22029,7 +22059,7 @@ type ToolOptions = {
|
|
|
22029
22059
|
* This allows customizing input/output parameters, descriptions, and other metadata.
|
|
22030
22060
|
*/
|
|
22031
22061
|
modifySchema?: TransformToolSchemaModifier;
|
|
22032
|
-
};
|
|
22062
|
+
} & BeforeFileUploadHook;
|
|
22033
22063
|
/**
|
|
22034
22064
|
* Options for configuring tool execution behavior.
|
|
22035
22065
|
*
|
|
@@ -22068,7 +22098,7 @@ type ExecuteToolModifiers = {
|
|
|
22068
22098
|
* This allows transforming the response or implementing custom error handling.
|
|
22069
22099
|
*/
|
|
22070
22100
|
afterExecute?: afterExecuteModifier;
|
|
22071
|
-
};
|
|
22101
|
+
} & BeforeFileUploadHook;
|
|
22072
22102
|
/**
|
|
22073
22103
|
* Type alias for meta tool execution arguments.
|
|
22074
22104
|
* Represents the arguments passed to a meta tool during execution.
|
|
@@ -22308,12 +22338,12 @@ declare const ToolkitSchema: z$1.ZodObject<{
|
|
|
22308
22338
|
name: z$1.ZodString;
|
|
22309
22339
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
22310
22340
|
}, "strip", z$1.ZodTypeAny, {
|
|
22311
|
-
slug: string;
|
|
22312
22341
|
name: string;
|
|
22342
|
+
slug: string;
|
|
22313
22343
|
logo?: string | undefined;
|
|
22314
22344
|
}, {
|
|
22315
|
-
slug: string;
|
|
22316
22345
|
name: string;
|
|
22346
|
+
slug: string;
|
|
22317
22347
|
logo?: string | undefined;
|
|
22318
22348
|
}>;
|
|
22319
22349
|
type Toolkit = z$1.infer<typeof ToolkitSchema>;
|
|
@@ -22415,12 +22445,12 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
22415
22445
|
name: z$1.ZodString;
|
|
22416
22446
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
22417
22447
|
}, "strip", z$1.ZodTypeAny, {
|
|
22418
|
-
slug: string;
|
|
22419
22448
|
name: string;
|
|
22449
|
+
slug: string;
|
|
22420
22450
|
logo?: string | undefined;
|
|
22421
22451
|
}, {
|
|
22422
|
-
slug: string;
|
|
22423
22452
|
name: string;
|
|
22453
|
+
slug: string;
|
|
22424
22454
|
logo?: string | undefined;
|
|
22425
22455
|
}>>;
|
|
22426
22456
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -22429,8 +22459,8 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
22429
22459
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
22430
22460
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
22431
22461
|
}, "strip", z$1.ZodTypeAny, {
|
|
22432
|
-
slug: string;
|
|
22433
22462
|
name: string;
|
|
22463
|
+
slug: string;
|
|
22434
22464
|
description?: string | undefined;
|
|
22435
22465
|
inputParameters?: {
|
|
22436
22466
|
type: "object";
|
|
@@ -22462,8 +22492,8 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
22462
22492
|
} | undefined;
|
|
22463
22493
|
tags?: string[] | undefined;
|
|
22464
22494
|
toolkit?: {
|
|
22465
|
-
slug: string;
|
|
22466
22495
|
name: string;
|
|
22496
|
+
slug: string;
|
|
22467
22497
|
logo?: string | undefined;
|
|
22468
22498
|
} | undefined;
|
|
22469
22499
|
version?: string | undefined;
|
|
@@ -22472,8 +22502,8 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
22472
22502
|
scopes?: string[] | undefined;
|
|
22473
22503
|
isNoAuth?: boolean | undefined;
|
|
22474
22504
|
}, {
|
|
22475
|
-
slug: string;
|
|
22476
22505
|
name: string;
|
|
22506
|
+
slug: string;
|
|
22477
22507
|
description?: string | undefined;
|
|
22478
22508
|
inputParameters?: {
|
|
22479
22509
|
type: "object";
|
|
@@ -22505,8 +22535,8 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
22505
22535
|
} | undefined;
|
|
22506
22536
|
tags?: string[] | undefined;
|
|
22507
22537
|
toolkit?: {
|
|
22508
|
-
slug: string;
|
|
22509
22538
|
name: string;
|
|
22539
|
+
slug: string;
|
|
22510
22540
|
logo?: string | undefined;
|
|
22511
22541
|
} | undefined;
|
|
22512
22542
|
version?: string | undefined;
|
|
@@ -22610,12 +22640,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22610
22640
|
name: z$1.ZodString;
|
|
22611
22641
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
22612
22642
|
}, "strip", z$1.ZodTypeAny, {
|
|
22613
|
-
slug: string;
|
|
22614
22643
|
name: string;
|
|
22644
|
+
slug: string;
|
|
22615
22645
|
logo?: string | undefined;
|
|
22616
22646
|
}, {
|
|
22617
|
-
slug: string;
|
|
22618
22647
|
name: string;
|
|
22648
|
+
slug: string;
|
|
22619
22649
|
logo?: string | undefined;
|
|
22620
22650
|
}>>;
|
|
22621
22651
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -22624,8 +22654,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22624
22654
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
22625
22655
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
22626
22656
|
}, "strip", z$1.ZodTypeAny, {
|
|
22627
|
-
slug: string;
|
|
22628
22657
|
name: string;
|
|
22658
|
+
slug: string;
|
|
22629
22659
|
description?: string | undefined;
|
|
22630
22660
|
inputParameters?: {
|
|
22631
22661
|
type: "object";
|
|
@@ -22657,8 +22687,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22657
22687
|
} | undefined;
|
|
22658
22688
|
tags?: string[] | undefined;
|
|
22659
22689
|
toolkit?: {
|
|
22660
|
-
slug: string;
|
|
22661
22690
|
name: string;
|
|
22691
|
+
slug: string;
|
|
22662
22692
|
logo?: string | undefined;
|
|
22663
22693
|
} | undefined;
|
|
22664
22694
|
version?: string | undefined;
|
|
@@ -22667,8 +22697,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22667
22697
|
scopes?: string[] | undefined;
|
|
22668
22698
|
isNoAuth?: boolean | undefined;
|
|
22669
22699
|
}, {
|
|
22670
|
-
slug: string;
|
|
22671
22700
|
name: string;
|
|
22701
|
+
slug: string;
|
|
22672
22702
|
description?: string | undefined;
|
|
22673
22703
|
inputParameters?: {
|
|
22674
22704
|
type: "object";
|
|
@@ -22700,8 +22730,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22700
22730
|
} | undefined;
|
|
22701
22731
|
tags?: string[] | undefined;
|
|
22702
22732
|
toolkit?: {
|
|
22703
|
-
slug: string;
|
|
22704
22733
|
name: string;
|
|
22734
|
+
slug: string;
|
|
22705
22735
|
logo?: string | undefined;
|
|
22706
22736
|
} | undefined;
|
|
22707
22737
|
version?: string | undefined;
|
|
@@ -22714,8 +22744,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22714
22744
|
totalPages: z$1.ZodNumber;
|
|
22715
22745
|
}, "strip", z$1.ZodTypeAny, {
|
|
22716
22746
|
items: {
|
|
22717
|
-
slug: string;
|
|
22718
22747
|
name: string;
|
|
22748
|
+
slug: string;
|
|
22719
22749
|
description?: string | undefined;
|
|
22720
22750
|
inputParameters?: {
|
|
22721
22751
|
type: "object";
|
|
@@ -22747,8 +22777,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22747
22777
|
} | undefined;
|
|
22748
22778
|
tags?: string[] | undefined;
|
|
22749
22779
|
toolkit?: {
|
|
22750
|
-
slug: string;
|
|
22751
22780
|
name: string;
|
|
22781
|
+
slug: string;
|
|
22752
22782
|
logo?: string | undefined;
|
|
22753
22783
|
} | undefined;
|
|
22754
22784
|
version?: string | undefined;
|
|
@@ -22761,8 +22791,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22761
22791
|
nextCursor?: string | null | undefined;
|
|
22762
22792
|
}, {
|
|
22763
22793
|
items: {
|
|
22764
|
-
slug: string;
|
|
22765
22794
|
name: string;
|
|
22795
|
+
slug: string;
|
|
22766
22796
|
description?: string | undefined;
|
|
22767
22797
|
inputParameters?: {
|
|
22768
22798
|
type: "object";
|
|
@@ -22794,8 +22824,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
22794
22824
|
} | undefined;
|
|
22795
22825
|
tags?: string[] | undefined;
|
|
22796
22826
|
toolkit?: {
|
|
22797
|
-
slug: string;
|
|
22798
22827
|
name: string;
|
|
22828
|
+
slug: string;
|
|
22799
22829
|
logo?: string | undefined;
|
|
22800
22830
|
} | undefined;
|
|
22801
22831
|
version?: string | undefined;
|
|
@@ -28781,4 +28811,4 @@ type ToolRetrievalOptions = {
|
|
|
28781
28811
|
version?: ToolkitVersion;
|
|
28782
28812
|
};
|
|
28783
28813
|
//#endregion
|
|
28784
|
-
export {
|
|
28814
|
+
export { ComposioMcpListResponseSchema as $, BaseConnectionFields as $t, ToolkitVersions as A, Oauth2ExpiredConnectionDataSchema as An, MCPSingleAppServerSchema as At, TransformToolSchemaModifier as B, McpServerCreateResponse as Bt, ToolkitLatestVersion as C, Oauth1InitiatingConnectionData as Cn, MCPServerCreateResponseSchema as Ct, ToolkitVersionParam as D, Oauth2ConnectionData as Dn, MCPServerUpdateParams as Dt, ToolkitVersion as E, Oauth2ActiveConnectionDataSchema as En, MCPServerSchema as Et, MetaToolArguments as F, Oauth2InitiatedConnectionData as Fn, McpDeleteResponseSchema as Ft, beforeFileUploadModifier as G, McpUpdateResponseSchema as Gt, afterExecuteModifier as H, McpServerUrlInfo as Ht, ProviderOptions as I, Oauth2InitiatedConnectionDataSchema as In, McpListResponse as It, BaseNonAgenticProvider as J, McpUserConnectionStatus as Jt, BaseAgenticProvider as K, McpUrlResponse as Kt, SessionExecuteMetaModifiers as L, Oauth2InitiatingConnectionData as Ln, McpListResponseSchema as Lt, AgenticToolOptions as M, Oauth2FailedConnectionDataSchema as Mn, MCPToolkitConfigSchema as Mt, BeforeFileUploadSource as N, Oauth2InactiveConnectionData as Nn, MCPToolkitConfigsArraySchema as Nt, ToolkitVersionParamSchema as O, Oauth2ConnectionDataSchema as On, MCPServerUpdateParamsSchema as Ot, ExecuteToolModifiers as P, Oauth2InactiveConnectionDataSchema as Pn, McpDeleteResponse as Pt, ComposioMcpDeleteResponseSchema as Q, Provider as Qt, SessionMetaToolOptions as R, Oauth2InitiatingConnectionDataSchema as Rn, McpRetrieveResponse as Rt, Toolkit as S, Oauth1InitiatedConnectionDataSchema as Sn, MCPServerCreateResponse as St, ToolkitSchema as T, Oauth2ActiveConnectionData as Tn, MCPServerListResponseSchema as Tt, beforeExecuteMetaModifier as U, McpToolkitConnectionStatus as Ut, afterExecuteMetaModifier as V, McpServerGetResponse as Vt, beforeExecuteModifier as W, McpUpdateResponse as Wt, ComposioGenerateURLParamsSchema as X, ExecuteToolFnOptions as Xt, ComposioCustomCreateResponseSchema as Y, ExecuteToolFn as Yt, ComposioGenerateURLResponseSchema as Z, GlobalExecuteToolFn as Zt, ToolListResponseSchema as _, Oauth1FailedConnectionData as _n, MCPGetServerParamsSchema as _t, SchemaModifierOptions as a, CustomConnectionData as an, CustomCreateResponseValidated as at, ToolRetrievalOptions as b, Oauth1InactiveConnectionDataSchema as bn, MCPMultiAppServerSchema as bt, ToolExecuteMetaParamsSchema as c, CustomOauth1ConnectionDataSchema as cn, GenerateURLResponse$1 as ct, ToolExecuteResponse as d, Oauth1ActiveConnectionData as dn, MCPAuthOptions as dt, BillcomAuthConnectionDataSchema as en, ComposioMcpRetrieveResponseSchema as et, ToolExecuteResponseSchema as f, Oauth1ActiveConnectionDataSchema as fn, MCPAuthOptionsSchema as ft, ToolListResponse as g, Oauth1ExpiredConnectionDataSchema as gn, MCPGetServerParams as gt, ToolListParamsSchema as h, Oauth1ExpiredConnectionData as hn, MCPGenerateURLParamsSchema as ht, JSONSchemaPropertySchema as i, ConnectionStatuses as in, CustomCreateResponseSchema as it, ToolkitVersionsSchema as j, Oauth2FailedConnectionData as jn, MCPToolkitConfig as jt, ToolkitVersionSchema as k, Oauth2ExpiredConnectionData as kn, MCPSingleAppServer as kt, ToolExecuteParams as l, CustomOauth2ConnectionData as ln, GenerateURLResponseSchema as lt, ToolListParams as m, Oauth1ConnectionDataSchema as mn, MCPGenerateURLParams as mt, CustomAuthParamsSchema as n, ConnectionDataSchema as nn, ConnectionStatus as nt, Tool as o, CustomConnectionDataSchema as on, GenerateURLParams as ot, ToolList as p, Oauth1ConnectionData as pn, MCPCreateMethodResponse as pt, BaseComposioProvider as q, McpUrlResponseCamelCase as qt, JSONSchemaProperty as r, ConnectionStatusEnum as rn, CustomCreateResponse$1 as rt, ToolExecuteMetaParams as s, CustomOauth1ConnectionData as sn, GenerateURLParamsSchema as st, CustomAuthParams as t, ConnectionData as tn, ComposioMcpUpdateResponseSchema as tt, ToolExecuteParamsSchema as u, CustomOauth2ConnectionDataSchema as un, GenerateURLResponseValidated as ut, ToolProxyParams as v, Oauth1FailedConnectionDataSchema as vn, MCPInstanceParams as vt, ToolkitLatestVersionSchema as w, Oauth1InitiatingConnectionDataSchema as wn, MCPServerListResponse as wt, ToolSchema as x, Oauth1InitiatedConnectionData as xn, MCPServer as xt, ToolProxyParamsSchema as y, Oauth1InactiveConnectionData as yn, MCPMultiAppServer as yt, ToolOptions as z, RedirectableAuthSchemeSchema as zn, McpRetrieveResponseSchema as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ComposioConfig } from "./composio-
|
|
1
|
+
import { q as BaseComposioProvider } from "./tool.types-DJxP_6-g.mjs";
|
|
2
|
+
import { n as ComposioConfig } from "./composio-CHcG9NOJ.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/types.d.ts
|
|
5
5
|
|
|
@@ -8,6 +8,6 @@ import { n as ComposioConfig } from "./composio-HztGH0kt.mjs";
|
|
|
8
8
|
* These are the required fields that must have default values.
|
|
9
9
|
* The provider type is set to never since defaults don't include a provider instance.
|
|
10
10
|
*/
|
|
11
|
-
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, '
|
|
11
|
+
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, 'dangerouslyAllowAutoUploadDownloadFiles' | 'allowTracking' | 'toolkitVersions'>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ConfigDefaults as t };
|
|
@@ -15,6 +15,16 @@ interface Platform {
|
|
|
15
15
|
* @returns The joined path.
|
|
16
16
|
*/
|
|
17
17
|
joinPath(...paths: string[]): string;
|
|
18
|
+
/**
|
|
19
|
+
* Resolves a sequence of paths into an absolute path. On Node this is
|
|
20
|
+
* `path.resolve`; on edge runtimes without a working directory it
|
|
21
|
+
* normalizes/joins the segments and returns the result verbatim.
|
|
22
|
+
*/
|
|
23
|
+
resolvePath(...paths: string[]): string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given path is absolute.
|
|
26
|
+
*/
|
|
27
|
+
isAbsolutePath(filePath: string): boolean;
|
|
18
28
|
/**
|
|
19
29
|
* Returns the last portion of a path (the filename).
|
|
20
30
|
* @param filePath - The path to extract the basename from.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ComposioConfig } from "./composio-
|
|
1
|
+
import { q as BaseComposioProvider } from "./tool.types-4f4Ktd2s.cjs";
|
|
2
|
+
import { n as ComposioConfig } from "./composio-BzzHNwFB.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/config-defaults/types.d.ts
|
|
5
5
|
|
|
@@ -8,6 +8,6 @@ import { n as ComposioConfig } from "./composio-CQuG4JPT.cjs";
|
|
|
8
8
|
* These are the required fields that must have default values.
|
|
9
9
|
* The provider type is set to never since defaults don't include a provider instance.
|
|
10
10
|
*/
|
|
11
|
-
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, '
|
|
11
|
+
type ConfigDefaults = Required<Pick<ComposioConfig<BaseComposioProvider<never, never, never>>, 'dangerouslyAllowAutoUploadDownloadFiles' | 'allowTracking' | 'toolkitVersions'>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ConfigDefaults as t };
|
|
@@ -15,6 +15,16 @@ interface Platform {
|
|
|
15
15
|
* @returns The joined path.
|
|
16
16
|
*/
|
|
17
17
|
joinPath(...paths: string[]): string;
|
|
18
|
+
/**
|
|
19
|
+
* Resolves a sequence of paths into an absolute path. On Node this is
|
|
20
|
+
* `path.resolve`; on edge runtimes without a working directory it
|
|
21
|
+
* normalizes/joins the segments and returns the result verbatim.
|
|
22
|
+
*/
|
|
23
|
+
resolvePath(...paths: string[]): string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given path is absolute.
|
|
26
|
+
*/
|
|
27
|
+
isAbsolutePath(filePath: string): boolean;
|
|
18
28
|
/**
|
|
19
29
|
* Returns the last portion of a path (the filename).
|
|
20
30
|
* @param filePath - The path to extract the basename from.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../composio-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-BzzHNwFB.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-W8Zn17SC.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-
|
|
2
|
-
import "../../customTool.types-
|
|
3
|
-
import "../../composio-
|
|
4
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../tool.types-DJxP_6-g.mjs";
|
|
2
|
+
import "../../customTool.types-qSSvYChT.mjs";
|
|
3
|
+
import "../../composio-CHcG9NOJ.mjs";
|
|
4
|
+
import { t as ConfigDefaults } from "../../types-BvGecO9n.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-
|
|
2
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../composio-BzzHNwFB.cjs";
|
|
2
|
+
import { t as ConfigDefaults } from "../../types-W8Zn17SC.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-
|
|
2
|
-
import "../../customTool.types-
|
|
3
|
-
import "../../composio-
|
|
4
|
-
import { t as ConfigDefaults } from "../../types-
|
|
1
|
+
import "../../tool.types-DJxP_6-g.mjs";
|
|
2
|
+
import "../../customTool.types-qSSvYChT.mjs";
|
|
3
|
+
import "../../composio-CHcG9NOJ.mjs";
|
|
4
|
+
import { t as ConfigDefaults } from "../../types-BvGecO9n.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/config-defaults/ConfigDefaults.workerd.d.ts
|
|
7
7
|
declare const CONFIG_DEFAULTS: ConfigDefaults;
|